youth
|
2011-06-19
, 20:34
|
Posts: 48 |
Thanked: 6 times |
Joined on Oct 2009
|
#151
|
|
2011-06-20
, 01:20
|
Posts: 1,425 |
Thanked: 983 times |
Joined on May 2010
@ Hong Kong
|
#152
|
Code:Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.3.0 * 255.255.255.0 U 0 0 0 bnep0
|
2011-06-20
, 02:05
|
Posts: 48 |
Thanked: 6 times |
Joined on Oct 2009
|
#153
|
I don't see any gprs connection there. How does your N900 connect to Internet?
|
2011-06-20
, 02:19
|
Posts: 1,425 |
Thanked: 983 times |
Joined on May 2010
@ Hong Kong
|
#154
|
3g with t-mobile
I use it regularly with my laptop using BT DUN. I was hoping it would be just as easy with these honeycomb tablets.
|
2011-06-20
, 02:50
|
Posts: 48 |
Thanked: 6 times |
Joined on Oct 2009
|
#155
|
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: SIOCGIFFLAGS: No such device + ifconfig bnep0 up ifconfig: SIOCGIFFLAGS: No such device + ifconfig bnep0 192.168.3.1 netmask 255.255.255.0 up ifconfig: SIOCSIFADDR: No such device + 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# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default * 0.0.0.0 U 0 0 0 gprs0 Nokia-N900-42-11:/home/user#
|
2011-06-20
, 04:06
|
Posts: 1,425 |
Thanked: 983 times |
Joined on May 2010
@ Hong Kong
|
#156
|
I tried it again enabling the connection first & this is what I get & it never prompts me for a connection to choose. Internet browsing within the phone works.
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: SIOCGIFFLAGS: No such device + ifconfig bnep0 up ifconfig: SIOCGIFFLAGS: No such device + ifconfig bnep0 192.168.3.1 netmask 255.255.255.0 up ifconfig: SIOCSIFADDR: No such device + 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# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default * 0.0.0.0 U 0 0 0 gprs0 Nokia-N900-42-11:/home/user#
+ ifconfig bnep0 down + ifconfig bnep0 up + ifconfig bnep0 192.168.3.1 netmask 255.255.255.0 up
+ ifconfig bnep0 down ifconfig: SIOCGIFFLAGS: No such device + ifconfig bnep0 up ifconfig: SIOCGIFFLAGS: No such device + ifconfig bnep0 192.168.3.1 netmask 255.255.255.0 up ifconfig: SIOCSIFADDR: No such device
|
2011-06-20
, 04:47
|
Posts: 48 |
Thanked: 6 times |
Joined on Oct 2009
|
#157
|
Now the gprs0 appreas in the routing table while bnep0 is missing.
What have you changed since #149? Say, have you paired up the devices first?
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 /usr/sbin/dnsmasq already running. + 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# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.3.0 * 255.255.255.0 U 0 0 0 bnep0 default * 0.0.0.0 U 0 0 0 gprs0
|
2011-06-20
, 05:49
|
Posts: 1,425 |
Thanked: 983 times |
Joined on May 2010
@ Hong Kong
|
#158
|
Restarted the n900 & started the 3g connection before connecting the tablet.
Trying pair again before connecting.
New output:
Code: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 /usr/sbin/dnsmasq already running. + 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# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.3.0 * 255.255.255.0 U 0 0 0 bnep0 default * 0.0.0.0 U 0 0 0 gprs0
|
2011-06-20
, 06:26
|
Posts: 48 |
Thanked: 6 times |
Joined on Oct 2009
|
#159
|
|
2011-06-20
, 06:38
|
Posts: 1,425 |
Thanked: 983 times |
Joined on May 2010
@ Hong Kong
|
#160
|
Not sure. Most of this linux stuff is above my head so I'm just trying different things following the steps best I can. The tablet is connected but isn't getting an internet connection & has no IP. One of the posters here somehow got it to work with his xoom but it's confusing to follow.
I considered wifi tethering, but n900 only does adhoc & Honeycomb tablets don't even see those networks w/o some workaround. Why did google have to make this so difficult?
The Following User Says Thank You to 9000 For This Useful Post: | ||
Tags |
bluetooth-pan, tethering |
Thread Tools | |
|