|
2011-06-08
, 13:37
|
Posts: 13 |
Thanked: 0 times |
Joined on Mar 2010
|
#142
|
echo "/home/user/bluetooth-pan.sh" | sudo gainroot
|
2011-06-08
, 14:34
|
Posts: 1,425 |
Thanked: 983 times |
Joined on May 2010
@ Hong Kong
|
#143
|
Was just coming back to post that I'd just done that...
Question:
How do I get thecommand to run in Xterm as I can't figure out how to create the | symbol.Code:echo "/home/user/bluetooth-pan.sh" | sudo gainroot
|
2011-06-10
, 04:46
|
Posts: 166 |
Thanked: 74 times |
Joined on May 2010
|
#144
|
The wiki doesn't actually mention anything about maemo-pan.
It just says if you remove "network" from the disabled plugins list in the bluetooth main.conf then PAN will work.
I'm going to install iptables and use your script and manually configure the network on both sides and see where that gets me.
Changing the subject totally, I lived in HK from 1977 until the early '90s!
Awesome place!
|
2011-06-12
, 11:18
|
Posts: 13 |
Thanked: 0 times |
Joined on Mar 2010
|
#145
|
|
2011-06-16
, 23:12
|
Posts: 48 |
Thanked: 6 times |
Joined on Oct 2009
|
#146
|
|
2011-06-17
, 00:17
|
Posts: 1,425 |
Thanked: 983 times |
Joined on May 2010
@ Hong Kong
|
#147
|
Are there special steps to making this work with an Android Honeycomb tablet? I've been trying the steps in the 1st post, but it hasn't been working. I'm not too familiar with Linux (got far enough to get the PAN tethering has been turned on msg but no net connection) so if there are special steps can they be listed complete in one post.
|
2011-06-18
, 18:06
|
Posts: 1,425 |
Thanked: 983 times |
Joined on May 2010
@ Hong Kong
|
#148
|
|
2011-06-19
, 16:48
|
Posts: 48 |
Thanked: 6 times |
Joined on Oct 2009
|
#149
|
@youth I just come across it. The second part about Xoom might help you find where to open tethering - provided that the N900 script is running fine which I expected you to show me for diagnosis.
http://www.droid-life.com/2011/03/01...riginal-droid/
Hope this helps.
Nokia-N900-42-11:/home/user# echo "/home/user/bluetooth-pan-tethering.sh" | gainroot Root shell enabled + IP_ADDR=192.168.3.1 + NETMASK=255.255.255.0 + DHCP_RANGE=192.168.3.100,192.168.3.127 + RUNFILE=/var/run/btpan_tethering.pid + DNSMASQ=/usr/sbin/dnsmasq + modprobe ipt_MASQUERADE + iptables -F + iptables -t nat -F + iptables -t nat -A POSTROUTING -o gprs0 -j MASQUERADE + echo 1 + ifconfig bnep0 down + ifconfig bnep0 up + ifconfig bnep0 192.168.3.1 netmask 255.255.255.0 up + start-stop-daemon -S -p /var/run/btpan_tethering.pid -m -b -x /usr/sbin/dnsmasq -- -k -I lo -z -a 192.168.3.1 -F 192.168.3.100,192.168.3.127 -b + run-standalone.sh dbus-send --type=method_call --dest=org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications.SystemNoteInfoprint string:Bluetooth PAN Activated Nokia-N900-42-11:/home/user#
|
2011-06-19
, 18:11
|
Posts: 1,425 |
Thanked: 983 times |
Joined on May 2010
@ Hong Kong
|
#150
|
I can pair the devices & open tethering but no net connection.
Here is what shows in xterminal.
Code:Nokia-N900-42-11:/home/user# echo "/home/user/bluetooth-pan-tethering.sh" | gainroot Root shell enabled + IP_ADDR=192.168.3.1 + NETMASK=255.255.255.0 + DHCP_RANGE=192.168.3.100,192.168.3.127 + RUNFILE=/var/run/btpan_tethering.pid + DNSMASQ=/usr/sbin/dnsmasq + modprobe ipt_MASQUERADE + iptables -F + iptables -t nat -F + iptables -t nat -A POSTROUTING -o gprs0 -j MASQUERADE + echo 1 + ifconfig bnep0 down + ifconfig bnep0 up + ifconfig bnep0 192.168.3.1 netmask 255.255.255.0 up + start-stop-daemon -S -p /var/run/btpan_tethering.pid -m -b -x /usr/sbin/dnsmasq -- -k -I lo -z -a 192.168.3.1 -F 192.168.3.100,192.168.3.127 -b + run-standalone.sh dbus-send --type=method_call --dest=org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications.SystemNoteInfoprint string:Bluetooth PAN Activated Nokia-N900-42-11:/home/user#
root route
Tags |
bluetooth-pan, tethering |
Thread Tools | |
|
[HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
[HOWTO] N900 WiFi Hotspot (shell script version)
N900: Useful Tips (a summary)