maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Bluetooth PAN: Tethering N900 from another phone (https://talk.maemo.org/showthread.php?t=37710)

Bingley Joe 2010-01-05 23:20

Re: Bluetooth PAN: Tethering N900 from another phone
 
Ok, this really is great once you get it going -- many many thanks to all who helped figure out the process.

Because I'm essentially a complete Linux noob, I thought I'd write up a more verbose description of how I got this working on OS X (10.6.2).

YMMV, and I take no responsibility for any trouble you get yourself into, but I hope this helps:


- Go into OS X's Bluetooth preferences and make sure Bluetooth is "On", and "Discoverable". Then click "Advanced", and select "Share my Internet connection with other Bluetooth devices". Click "OK" and close System Preferences.


- Download the most recent 'host-pc-connectivity' installer file from HERE. Currently (as of Jan 5, 2010):

https://garage.maemo.org/frs/downloa...vity-0.9.1.dmg

Run the installer PKG and follow whatever instructions it gives.


- visit the link provided by qwerty12 to obtain your own key for downloading the network dummy file in the next step


- visit the link provided by dmg and paste the key you obtained earlier into the URL where the wiki has 'mangled' it (aka: replaced it with asterisks)

If successful, the .deb file should download for you


- connect to the phone via Bluetooth and copy that file somewhere you'll be able to find it later via X-Terminal. I put it in Documents, so the rest of my instructions will assume that's where you put it as well. I also assume you've already got the root-shell enabled if you're monkeying around with this kind of thing (if not, you'll need to go get that package installed first)


- open X-Terminal and type the following:

Code:

sudo gainroot
dpkg -i /home/user/MyDocs/.documents/libicd-network-dummy_0.12+0m5_armel.deb

If all goes well, the package will install.

Execute the three commands listed in the installation's output (for adding the dummy network and getting autoconnect to work).

Reboot the phone.


EDIT:
- Install BlueTooth DUN using Application Manager
/EDIT


- Install 'maemo-pc-connectivity' using Application Manager and configure it according to the instructions HERE.

The important settings in my case were:

Bluetooth -- Enable, all other settings default
Bluetooth address -- click search and select appropriate computer
Internet -- Connect using Bluetooth, DNS: [enter your preferred primary DNS here]

Save your settings and exit back to the desktop.


- Open OS X's System Preferences and go into "Network"


- Select "Bluetooth PAN" from the list of network interfaces on the left (add it using the "+" symbol if it's not there).


- Click "Advanced..." and select "Manually" from the "Configure IPv4" dropdown


- Set "IPv4 Address" to "192.168.3.14", and "Subnet Mask" to "255.255.255.0". Leave "Router" empty. Click "OK" to return to Network prefs. Click "Apply".


- Go into OS X's "Sharing" preferences, select Internet Sharing, and enable "Bluetooth PAN" in the options there. Click "Start" to turn on internet sharing.


That's it! (or at least it was in my case, again YMMV) Now go to the Connection Switcher in the notification area of the N900 and select the Environment you created in the step above. If all goes well, after a second or two the phone will connect to the computer via Bluetooth, select the dummy network as its internet connection (you may need to go tell it to use the dummy connection the first time), and begin to pull data from the computer.

Very VERY cool.

:)

karatestarfish 2010-04-15 04:00

Re: Bluetooth PAN: Tethering N900 from another phone
 
Hi all. Sorry to revive an old thread, but I'm having problems with the setup.

The steps above were really useful, but when I apply the environment I created in the pc-connectivity manager, the bluetooth pairs with the PC no problems, but the network isn't setup.

Should there be a bnep0 interface at that point? The PC seems to set up a bluetooth network interface ok (using static IP), but nothing doing on the N900 side. Any suggestions?


EDIT: Ok, solved the issue well enough for now.

Connection switcher still doesn't work for me (except it does change the interface and DNS options properly). But if I initiate the network connection on the PC side, then run 'ifup bnep0', it will set up the network properly.

On an aside note, Windows 2000 networking sucks. I've had to use ssh as a socks proxy and a little utility called udpfwd to forward network requests properly. Nevertheless, I now have a successful bluetooth network connection!

Thanks to everyone who was helping me by PM, I appreciate the effort =)

igorgomes 2010-04-24 13:30

Re: Bluetooth PAN: Tethering N900 from another phone
 
Anybody got succeeded on this lately? I've tried yesterday but I couldn't install the connectivity because the upstart isn't installable. I've done the trick of disable one of the repos and tried, but no success.

I'm eager to use my laptop's internet connection with my N900 via bluetooth! Unfortunately I can't do it using the wireless because I use it to get the signal...

Any hints?

Thanks!

tirtawn 2010-04-25 00:07

Re: Bluetooth PAN: Tethering N900 from another phone
 
Another simple way: Buy another wireless Card (USB) then you have 2 wireless where the other one can be used to share internet. (Dumb approach but definitely works)

crasbelize 2010-06-05 09:21

Re: Bluetooth PAN: Tethering N900 from another phone
 
is there an app for this yet????

I tried several steps and got frustrated..... maemo-pan won't install because I am missing a 'blue-utilz'

Help???

Bingley Joe 2010-06-05 15:40

Re: Bluetooth PAN: Tethering N900 from another phone
 
I've gone through the procedure two more times now since PR1.2 was released (re-flashing -- don't ask :p), and it's worked every time on the first try, so I'm at a loss as to where the problem exists for others..

I guess it could be an OS issue.. what operating systems are people using?

crasbelize 2010-06-06 05:42

Re: Bluetooth PAN: Tethering N900 from another phone
 
Quote:

Originally Posted by Bingley Joe (Post 701201)
I've gone through the procedure two more times now since PR1.2 was released (re-flashing -- don't ask :p), and it's worked every time on the first try, so I'm at a loss as to where the problem exists for others..

I guess it could be an OS issue.. what operating systems are people using?

Maemo 5 - 10.2010.19-1.002

i just need help installing something 'bluez-utiliz'

Bingley Joe 2010-06-06 05:57

Re: Bluetooth PAN: Tethering N900 from another phone
 
Quote:

Originally Posted by crasbelize (Post 701901)
Maemo 5 - 10.2010.19-1.002

i just need help installing something 'bluez-utiliz'

Ah, OK. I was wondering more if it was a problem on the computer side.

I'm not familiar at all with bluez-utilz -- what's it do?

TiagoTiago 2010-09-18 02:11

Re: Bluetooth PAN: Tethering N900 from another phone
 
I'm a bit lost, i got the Dummy showing in the connections list, but i'm stuck now, what is the next step? (I'm intending to use a N73 as the modem btw)

Matan 2010-09-18 11:54

Re: Bluetooth PAN: Tethering N900 from another phone
 
Why not use DUN? It is the default method for using a phone as a modem. According to the manual, N73 has DUN, but not PAN.

Instructions for using a BT DUN modem are here:

http://talk.maemo.org/showthread.php?t=37198


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

vBulletin® Version 3.8.8