I figured that your default routing in N900 is pointing to WiFi. That means the N900 is connecting to Internet via WiFi instead of GPRS.
Since the script is made for routing traffic via gprs0, the PAN could not enable your client to access to Internet via N900.
Therefore, in this case the script must be modified from:
Code:
iptables -t nat -A POSTROUTING -o gprs0 -j MASQUERADE
To:
Code:
iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE
WorldKaoss, though you've already given up on further investigation, I hope someone else who wants to setup Bluetooth-PAN would be benefited from our conversations and discoveries.
It fixed those errors however it's still the same.
I took the liberty to ping the bluetooth IP of the phone while in PAN:
Originally Posted by
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\WorldKaoss>ping 192.168.1.1
Pinging 192.168.1.1 with 32 bytes of data:
Reply from 192.168.1.2: Destination host unreachable.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 192.168.1.1:
Packets: Sent = 4, Received = 1, Lost = 3 (75% loss),
C:\Users\WorldKaoss>
also, if I ping from the phone the IP of the pc's bluetooth it says:
Originally Posted by
PING 192.168.1.2 (PING 192.168.1.2): 56 data bytes
and it remains that way.. no errors, no lost packets .. nothing.
I just woke up and I saw your message, if I don't fall asleep I'm going to reboot the device and try then, else I'll do this when I wake up for a long period of time (maybe in 3 hours)
Show me the ipconfig, route print, ifconfig and route just like you did before would help me in the investigation.
Also, you must run the script after pairing up and joining PAN. No reboot is necessary as far as I concern. The bluetooth chip in N900 is quite stable, the PAN could stop and restart multiple times fine without reboot.
let's say I pop in a Ubuntu CD (just using the Live CD)
what should I do there to setup bluetooth for tethering.
it may be a windows problem, so if it works in Ubuntu then I will have to reinstall the windows.
Show me the ipconfig, route print, ifconfig and route just like you did before. If you've paired them up and joint PAN, the only thing left is the networking.
let's say I pop in a Ubuntu CD (just using the Live CD)
what should I do there to setup bluetooth for tethering.
it may be a windows problem, so if it works in Ubuntu then I will have to reinstall the windows.
Could be Windows problem, but I really want to help you figure out the root of the problem before trying other platform. Like I said before, I suspected it's just networking issue.