LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Mobile (https://www.linuxquestions.org/questions/linux-mobile-81/)
-   -   Share internet connection over Bluetooth (https://www.linuxquestions.org/questions/linux-mobile-81/share-internet-connection-over-bluetooth-792635/)

f1r3fl3x 03-02-2010 09:37 AM

Share internet connection over Bluetooth
 
As you know mobile internet is very expencive and wifi networks don't cover the whole towns. I have a bluetooth adapter and a mobile phone Sony Ericsson P1 (OS UIQ3). How can i access the internet with the connection on my computer using the bluetooth adapter? I have seen some variants for Windows, but never for linux. Is this possible ?
http://www.persian-forums.com/f75/sh...uetooth-16204/

evo2 03-02-2010 09:48 PM

Basically you need to set up a pan interface (network over bluetooth) on your PC and then set up NAT using a firewall (an alternative is to use a bridged ineterface with brctl). Finally you may want to setup a dhcp server on your PC to automatically give your phone an IP address.

There are a number of examples of how to do this on the web. Try googling for something like:

yourdistroname nat bridge bluetooth

While I've not done this with a bluetooth device I have done with ethernet over usb, virtual machines on tap interfaces, and just with two network cards.

Evo2.

f1r3fl3x 03-03-2010 06:23 AM

Thanks @Evo2, but i'm a noob a linux. I've had my fedora for a month or two and i'm still learning. I did some research before i posted this thread but nothing came up. Now i tried fedora nat bridge bluetooth in google, but nothing relevant comes up :/ Can you give me some directions :)

evo2 03-03-2010 07:10 PM

Hi,

I entered the following query:

http://www.google.com/search?q=fedor...idge+bluetooth

And the first hit was this.

http://fedoranews.org/contributors/m...ail/bluetooth/

It looks to be exactly what you want. Try to read and follow it (or one of the other links), and the ask back here when you have any questions about the instructions or don't understand something.

Cheers,

Evo2.

f1r3fl3x 03-05-2010 08:04 AM

Thanks again, i have problems installing the "bridge". I checked and i don't have it installed.
And later on, which commands should i enter? On Server Side or On Client Side ?

evo2 03-07-2010 06:33 PM

Quote:

Originally Posted by f1r3fl3x (Post 3886926)
Thanks again, i have problems installing the "bridge". I checked and i don't have it installed.

Then please install it. For example:
Code:

yum install bridge-utils
Quote:

And later on, which commands should i enter? On Server Side or On Client Side ?
The client is your phone, the server is your computer. For the server, those instructions are in the howtos, for the client, I guess your phone came with some sort of documentation.

Evo2.

f1r3fl3x 03-10-2010 10:18 AM

hmm, after skipped the command "pand ..." i completed all of the other commands and my internet stopped working ... i rebooted and i have internet now. Do you have any suggestions?
BTW, i tried installing bluez-compat (or sth like that, cuz pand was missing...) but it just sayd downloading... and it did nothing :/


All times are GMT -5. The time now is 04:19 PM.