Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)

    Reply
    Page 4 of 31 | Prev |   2     3   4   5     6   14 | Next | Last
    WorldKaoss | # 31 | 2010-08-16, 18:50 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    9000 | # 32 | 2010-08-16, 23:21 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks
    Attached Images
     

    Last edited by 9000; 2010-08-17 at 01:06.

     
    WorldKaoss | # 33 | 2010-08-17, 16:19 | Report

    as soon as I get home I will try to modify that in the .sh file and post the results.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    WorldKaoss | # 34 | 2010-08-17, 18:13 | Report

    now this is something ... new :|


    Edit | Forward | Quote | Quick Reply | Thanks

     
    9000 | # 35 | 2010-08-17, 23:31 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks
    Attached Files
    File Type: tar bluetooth-pan-on-wlan.tar (2.5 KB, 116 views)

    Last edited by 9000; 2010-08-17 at 23:38.

     
    WorldKaoss | # 36 | 2010-08-18, 04:09 | Report

    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)

    Edit | Forward | Quote | Quick Reply | Thanks

     
    9000 | # 37 | 2010-08-18, 04:33 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    WorldKaoss | # 38 | 2010-08-18, 04:34 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    9000 | # 39 | 2010-08-18, 04:37 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    9000 | # 40 | 2010-08-18, 04:38 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 4 of 31 | Prev |   2     3   4   5     6   14 | Next | Last
vBulletin® Version 3.8.8
Normal Logout