|
2021-12-26
, 10:18
|
|
Posts: 1,718 |
Thanked: 4,764 times |
Joined on Apr 2018
@ Helsinki, Finland.
|
#2
|
|
2021-12-26
, 10:50
|
Posts: 1,423 |
Thanked: 2,620 times |
Joined on Jan 2011
@ Touring
|
#3
|
|
2021-12-27
, 09:18
|
Posts: 263 |
Thanked: 301 times |
Joined on Oct 2021
@ Poland
|
#4
|
|
2021-12-27
, 09:18
|
Posts: 263 |
Thanked: 301 times |
Joined on Oct 2021
@ Poland
|
#5
|
|
2021-12-27
, 11:13
|
Posts: 1,423 |
Thanked: 2,620 times |
Joined on Jan 2011
@ Touring
|
#6
|
apt-get install iptables
ACTION=="add", SUBSYSTEM=="net", KERNEL=="bnep0", RUN+="/etc/udev/bluenet.sh" ACTION=="remove", SUBSYSTEM=="net", KERNEL=="bnep0", RUN+="/etc/udev/bluenet.sh"
#! /bin/sh if [ $ACTION = "add" ]; then echo 1 > /proc/sys/net/ipv4/ip_forward iptables -t nat -A POSTROUTING ! -o lo -j MASQUERADE ifconfig bnep0 192.168.3.1 ifconfig bnep0 up /usr/sbin/dnsmasq -I lo -z -a 192.168.3.1 -F 192.168.3.64,192.168.3.127 -x /var/run/dnsmasq.pid.bnep0 else iptables -t nat -D POSTROUTING ! -o lo -j MASQUERADE if [ -f /var/run/dnsmasq.pid.bnep0 ]; then DNSMASQ_PID=`cat /var/run/dnsmasq.pid.bnep0` rm -f /var/run/dnsmasq.pid.bnep0 kill $DNSMASQ_PID fi fi
chmod +x /etc/udev/bluenet.sh
The Following 4 Users Say Thank You to biketool For This Useful Post: | ||
|
2021-12-27
, 14:19
|
Posts: 263 |
Thanked: 301 times |
Joined on Oct 2021
@ Poland
|
#7
|
|
2021-12-27
, 20:26
|
Posts: 1,423 |
Thanked: 2,620 times |
Joined on Jan 2011
@ Touring
|
#8
|
|
2021-12-28
, 21:15
|
Community Council |
Posts: 683 |
Thanked: 1,227 times |
Joined on Sep 2010
@ Mbabane
|
#9
|
I recommend bypassing wifi and choose a better solution.
https://wiki.maemo.org/Bluetooth_PAN
Lower power consumption, more secure pairing, same useable bandwidth.
I have used this after moving house until hardwired telephone and data are connected as well as mobile computers, tablets, and other equipment needing wireless internet or data linking.
|
2021-12-29
, 08:11
|
Posts: 263 |
Thanked: 301 times |
Joined on Oct 2021
@ Poland
|
#10
|
I would just mount the drives and then use backupmenu to access the / filesystem, since you dont have clean backups, and delete the two files you made.
/etc/udev/rules.d/98-bnep0.rules
/etc/udev/bluenet.sh
Then try to reboot.
If that doesn't fix the problem then it seems that other files have been edited or deleted.
If the above doesn't work I hope you have clean backups.
If deleting the two files doesn't work then it is something other than the BT tethering that has gone wrong.
I have Nokia N900.
I want to share internet from my N900 to some Android devices (Tab S5e, Cat S61, S5 Active).
I know, there is Mobile HotSpot app. It allows to create hotspot. But unfortunately, only in Ad-Hoc mode. Only Windows 7 and Arch Linux are able to connect to Ad-Hoc for me
Is there any tweak to create AP hotspot on N900?
I really need it!
Thanks in advance, greetings
My Telegram group (Maemo / MeeGo / Sailfish):
https://t.me/linuxmobile_world
Channel for Maemo/MeeGo:
https://t.me/maemomeegoapps