The Following User Says Thank You to jschan For This Useful Post: | ||
|
2011-06-21
, 05:02
|
Posts: 48 |
Thanked: 6 times |
Joined on Oct 2009
|
#162
|
|
2011-06-21
, 05:11
|
Posts: 1,425 |
Thanked: 983 times |
Joined on May 2010
@ Hong Kong
|
#163
|
|
2011-06-23
, 11:39
|
Posts: 12 |
Thanked: 5 times |
Joined on Mar 2011
@ Paris
|
#164
|
|
2011-06-23
, 18:45
|
Posts: 48 |
Thanked: 6 times |
Joined on Oct 2009
|
#165
|
|
2011-06-24
, 03:25
|
Posts: 1,425 |
Thanked: 983 times |
Joined on May 2010
@ Hong Kong
|
#166
|
hi,
@9000
i tried your howto to share my n900 connection with my eeepad transformer (android honeycomb), but it doesn't work.
could you help me to debug ?
i followed the howto, and the script didn't reported any errors into the terminal.
i installed kernel power for user v47, iptables and pc connectivity manager from extras-devel pr1-3.
i don't know what to do with the options in pc-connectivity-manager...
@youth
i saw in the pic bluetooth tethered, i don't have this on mine !
have you done something special to get this message ?
thanks for helping me
ps:sorry for my english
root ifconfig bnep0 route ps ax | grep dnsmasq
|
2011-06-24
, 08:44
|
Posts: 12 |
Thanked: 5 times |
Joined on Mar 2011
@ Paris
|
#167
|
|
2011-06-24
, 14:19
|
Posts: 12 |
Thanked: 5 times |
Joined on Mar 2011
@ Paris
|
#168
|
bnep0 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:XX inet addr:192.168.3.1 Bcast:192.168.3.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:10 errors:0 dropped:0 overruns:0 frame:0 TX packets:5 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1978 (1.9 KiB) TX bytes:128 (128.0 B) gprs0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet addr:xx.32.xx.1 P-t-P:xx.32.xx.1 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MTU:1400 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:10 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:98 errors:0 dropped:0 overruns:0 frame:0 TX packets:98 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:6346 (6.1 KiB) TX bytes:6346 (6.1 KiB) phonet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 UP POINTOPOINT RUNNING NOARP MTU:4000 Metric:1 RX packets:5769 errors:0 dropped:0 overruns:0 frame:0 TX packets:1487 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:1488024 (1.4 MiB) TX bytes:72787 (71.0 KiB)
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
1151 nobody 2160 S /usr/sbin/dnsmasq -k -i lo -a 127.0.0.1 -z 1625 nobody 4292 S /usr/sbin/dnsmasq -k -I lo -z -a 192.168.3.1 -F 192.1
|
2011-06-24
, 16:34
|
Posts: 1,425 |
Thanked: 983 times |
Joined on May 2010
@ Hong Kong
|
#169
|
|
2011-06-24
, 16:43
|
Posts: 12 |
Thanked: 5 times |
Joined on Mar 2011
@ Paris
|
#170
|
Nokia-N900:/home/user# ./bluetooth-pan-tethering.sh + 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
Tags |
bluetooth-pan, tethering |
Thread Tools | |
|
In terms of getting a bluetooth symbol but not the tethering symbol showing: when you pair the n900, are you seeing tethering on the Xoom's n900 bluetooth profile? If so, you might be running into the same problem I *think* I did. I did this all in somewhat of a hurry, but I believe the fix was to make sure the n900 was setting the Xoom's dns values in the dnsmasq run settings. See the script I posted a while ago for the commands and just try adding the dns values to the end of 9000's dnsmasq run command.