maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC) (https://talk.maemo.org/showthread.php?t=58570)

verrnum 2011-07-10 22:14

Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
 
Hi,

I am very interested by N900 bluetooth-PAN not for internet connection shared.

I just want a remote connection connection via SSH on N900 using BT.

I installed the needed package and i successfully pairing the N900 (Windows Seven - ad hoc network).

Now i am just looking for the N900 ip address to connect on with putty.

Is someone can help me ?

Best Regards

verrnum 2011-07-10 22:18

Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
 
And another quqestion :

"Setup IP network for server (N900)" ??

How ?

Best Regards

jschan 2011-07-10 22:22

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

Originally Posted by verrnum (Post 1048513)
Hi,

I am very interested by N900 bluetooth-PAN not for internet connection shared.

I just want a remote connection connection via SSH on N900 using BT.

I installed the needed package and i successfully pairing the N900 (Windows Seven - ad hoc network).

Now i am just looking for the N900 ip address to connect on with putty.

Is someone can help me ?

Best Regards

Yeah, that should work fine too. Just open up an xterm and run ifconfig as root.

verrnum 2011-07-10 22:31

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

Originally Posted by jschan (Post 1048522)
Yeah, that should work fine too. Just open up an xterm and run ifconfig as root.

Hi,

Thanks for response.

I don't see the BT ip address :

bnep0 Link encap:Ethernet HWaddr
inet6 addr: fe80::ee9b:5bff:fe58:d8ac/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:207 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:57851 (56.4 KiB) TX bytes:172 (172.0 B)


Any ideas ?

I have an ip address for my PC :

Ethernet adapter Bluetooth Network Connection:

Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::c92e:cbc6:80a9:20ec%15
Autoconfiguration IPv4 Address. . : 169.254.32.236
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :

Thanks for help

verrnum 2011-07-10 22:45

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

Originally Posted by jschan (Post 1048522)
Yeah, that should work fine too. Just open up an xterm and run ifconfig as root.

I forgot the ip value when i up the bnet0 interface !!

It works thanks a lot !

khuong 2011-08-01 19:28

Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
 
Hi, thank you all for your contribution to this helpful thread. I finally got my new gtab 10.1 connected to my n900 and able to use its internet connection. It's a little tricky at first but once I understood the whole process it seems simple enough.

The only tricky part is when to press the "use for Internet connection" under Bluetooth setting [ Profiles ] in my GTab,

It need to be pressed before the script is activated, and then there's only like 1 or maybe 2 sec window to activate the script on n900 before it times out. If successful, the big bluetooth icon on the lower right coner of my GTab task bar should popup in bright blue color, otherwise, the whole process has to be done again.

I will create a small program in QT to simplify the whole process.

Here's what i have in mind for the program.

1. Click Program Icon to initiate the connection:
  • Program will turn on the bluetooth if it's not on and then connect to dbus to listen to device connection signal from GTab.
2. User click "user Internet connection" on GTab:
  • Program will run "tether.sh start", and continue to monitor the dbus signal for disconnection then run "tether.sh stop" and maybe turn bluetooth off as well then quit itself until user click on the icon again.

What do you guys think, simple enough?

Hell, Maybe I just write the whole thing without using tether.sh script.:) or maybe not because some command has be run as root. :mad:

jschan 2011-08-02 02:35

Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
 
There's already dbus support and with the blue switch widget, I think we already have support for what you are proposing. I'm sure I'm misunderstanding in some way though...

alphalux 2011-08-02 05:04

Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
 
This is fantastic, and eliminated the need for me to use the wifi hotspot method. It did seem that I had to pair the device AFTER I ran the script the first time for the device to recognize the PAN profile. Thanks a thousand, 9000.

9000 2011-08-02 10:37

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

Originally Posted by alphalux (Post 1062633)
This is fantastic, and eliminated the need for me to use the wifi hotspot method. It did seem that I had to pair the device AFTER I ran the script the first time for the device to recognize the PAN profile. Thanks a thousand, 9000.

NP. That is interesting. What device are you pairing with N900?

ToniA 2011-08-03 06:16

Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
 
If you are wondering why your Xoom only tethers once... There's a bug in the latest system upgrade (Android 3.2), now it requires a reboot before you can tether again.


All times are GMT. The time now is 09:55.

vBulletin® Version 3.8.8