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)

9000 2011-06-24 17:22

Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
 
Everything seems to be running fine on N900 side. Would you please show us with photos how you connect to N900 in eeePad? Thanks.

Cowboy 2011-06-24 19:38

Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
 
1
http://img4.hostingpics.net/pics/315219scst1.png

2
http://img4.hostingpics.net/pics/290952scst35.png

3
http://img4.hostingpics.net/pics/784918scst4.png

4
http://img4.hostingpics.net/pics/498057scst5.png

5 bnep0 only appear on n900 (ifconfig) when i click here
http://img4.hostingpics.net/pics/696227scst6.png


I tried Youth solution: start the script then start gprs connection but it doesn't work.
I also tried gprs connection first then the script same result as before.
http://img4.hostingpics.net/pics/349478scst7.png

http://img4.hostingpics.net/pics/507910scst9.png

I think it's an asus eee pad transformer problem i will try your script on ubuntu.
thanks for your help.

http://hpics.li/9999c3f

9000 2011-06-24 20:11

Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
 
Let's see if you've followed the correct sequence:

1) Pair up the devices (bnep0 will be created)
2) Start the Internet connection on N900 (gprs0 will be created)
3) Start the script on N900 (the forwarding, routing and DHCP established)
4) Press "Acces Internet" (It's call "Tethering" in English version, the Android will attempt to request N900 for IP address and DNS by DHCP request)

The problem usually arises in step 4, because it'd timeout before your android getting the DHCP reply. If this happen, try running the script again. The script is reentranable such that it can be run as many time as you like.

Oh btw, can you show me the screenshot after you've done step 4? It should have some signal.

Cowboy 2011-06-26 15:13

Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
 
i done exactly in this order but got no results:

1) Pair up the devices (bnep0 will be created) = ifconfig doesn't show bnep0 !?
2) Start the Internet connection on N900 (gprs0 will be created) = ok
3) Start the script on N900 (the forwarding, routing and DHCP established) = ok
4) Press "Acces Internet" = on the previous screenshot it' number 5

so i tried to tether from ubuntu 10.04 (lts) (blueman + NMPANSupport plugin) to asus eeepad and it works (screenshot below)

and i tried to tether from n900 (with your script) to ubuntu and it also works !!

It gets frustrating not to understand what is happening.
The only thing that may seem problematic to me, is the point of creating a bnep0 when pairing.
bnep0 only appears when I press on the "Use internet access eeepad" screenshot 5 in the previous post.

ubuntu sharing its connection on asus eee pad transformer = lagging but works
http://img4.hostingpics.net/pics/381...0626155757.png


9000:
Quote:

Oh btw, can you show me the screenshot after you've done step 4? It should have some signal.
it's the last screenshot on my previous post. And it's says no network.

9000 2011-06-26 17:07

Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
 
@Cowboy Can you setup the IP on eeePad manually? It seems that it can't get the IP address from DHCP server in N900.

Cowboy 2011-06-26 17:28

Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
 
i got it work i can tether from n900 to asus eee pad transformer.

@9000 i don't see any option to set manually ip address, only on wifi options.

i started the script and at the same time pressed "connect" on eeepad

9000 2011-06-26 17:30

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

Originally Posted by Cowboy (Post 1039502)
i got it work i can tether from n900 to asus eee pad transformer.

@9000 i don't see any option to set manually ip address, only on wifi options.

i connect eeepad on the same time i run the script ...

How did you get it work, can you share?

Cowboy 2011-06-26 17:38

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

How did you get it work, can you share?
here's what i did:
1) pairing devices
2) making a gprs connection n900
3) open a terminal on n900 and logging as root
4) on eeepad going in bluetooth options
5) n900 starting the script and at the same time clicking on eeepad connect to n900

tethering works pretty well. Thanks again 9000 for your script and trying helping me with this.
http://img4.hostingpics.net/pics/822...6261915151.png

9000 2011-06-26 17:48

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

Originally Posted by Cowboy (Post 1039507)
9000: here's what i did:
1) pairing devices
2) making a gprs connection n900
3) open a terminal on n900 and logging as root
4) on eeepad going in bluetooth options
5) n900 starting the script and at the same time clicking on eeepad connect to n900

tethering works pretty well. Thanks again 9000 for your script and trying helping me with this.
http://img4.hostingpics.net/pics/822...6261915151.png

Just as I thought, the eeePad has pretty short timeout period for DHCP request, so timing is very crucial. Thanks for your sharing. One more device confirmed to work. ;)

youth 2011-06-26 19:57

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

Originally Posted by Cowboy (Post 1039507)
9000: here's what i did:

5) n900 starting the script and at the same time clicking on eeepad connect to n900

tethering works pretty well. Thanks again 9000 for your script and trying helping me with this.
http://img4.hostingpics.net/pics/822...6261915151.png

Thank you too! I was having problems reliably connecting my Galaxy Tab but your step #5 seems to have done the trick. Kind of odd since timing seemed more lenient on the transformer I had.


All times are GMT. The time now is 15:26.

vBulletin® Version 3.8.8