Reply
Thread Tools
Posts: 45 | Thanked: 3 times | Joined on Jun 2010
#31
seems like I won't be able to make it work unless I cut my veins with paper

I will try other things and if one of them is successfull I'll post what made it work.
 
Posts: 1,425 | Thanked: 983 times | Joined on May 2010 @ Hong Kong
#32
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.
Attached Images
 

Last edited by 9000; 2010-08-17 at 01:06.
 
Posts: 45 | Thanked: 3 times | Joined on Jun 2010
#33
as soon as I get home I will try to modify that in the .sh file and post the results.
 
Posts: 45 | Thanked: 3 times | Joined on Jun 2010
#34
now this is something ... new :|

 
Posts: 1,425 | Thanked: 983 times | Joined on May 2010 @ Hong Kong
#35
cat bluetooth-pan.sh to see if there some strange character in the script.

Anyway i modified the scipt for you and attached with this reply.
Attached Files
File Type: tar bluetooth-pan-on-wlan.tar (2.5 KB, 109 views)

Last edited by 9000; 2010-08-17 at 23:38.
 
Posts: 45 | Thanked: 3 times | Joined on Jun 2010
#36
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:

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:
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)
 
Posts: 1,425 | Thanked: 983 times | Joined on May 2010 @ Hong Kong
#37
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.
 
Posts: 45 | Thanked: 3 times | Joined on Jun 2010
#38
it's still the same

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.
 
Posts: 1,425 | Thanked: 983 times | Joined on May 2010 @ Hong Kong
#39
Originally Posted by WorldKaoss View Post
it's still the same
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.
 
Posts: 1,425 | Thanked: 983 times | Joined on May 2010 @ Hong Kong
#40
Originally Posted by WorldKaoss View Post
it's still the same

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.
 
Reply

Tags
bluetooth-pan, tethering


 
Forum Jump


All times are GMT. The time now is 01:20.