LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile
User Name
Password
Linux - Mobile This forum is for the discussion of all topics relating to Mobile Linux. This includes Android, Tizen, LiMo, Maemo, MeeGo, Openmoko, Ubuntu Mobile, WebOS, Firefox OS, Open Mobile Alliance and other similar projects and products.
A reminder that LQ now has a dedicated Android sister site: AndroidQuestions.org

Notices



Reply
 
Search this Thread
Old 03-02-2010, 10:37 AM   #1
f1r3fl3x
LQ Newbie
 
Registered: Mar 2010
Posts: 9

Rep: Reputation: 0
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/
 
Old 03-02-2010, 10:48 PM   #2
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,512

Rep: Reputation: 1215Reputation: 1215Reputation: 1215Reputation: 1215Reputation: 1215Reputation: 1215Reputation: 1215Reputation: 1215Reputation: 1215
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.

Last edited by evo2; 03-02-2010 at 10:48 PM. Reason: Typos
 
Old 03-03-2010, 07:23 AM   #3
f1r3fl3x
LQ Newbie
 
Registered: Mar 2010
Posts: 9

Original Poster
Rep: Reputation: 0
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
 
Old 03-03-2010, 08:10 PM   #4
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,512

Rep: Reputation: 1215Reputation: 1215Reputation: 1215Reputation: 1215Reputation: 1215Reputation: 1215Reputation: 1215Reputation: 1215Reputation: 1215
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.
 
Old 03-05-2010, 09:04 AM   #5
f1r3fl3x
LQ Newbie
 
Registered: Mar 2010
Posts: 9

Original Poster
Rep: Reputation: 0
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 ?
 
Old 03-07-2010, 07:33 PM   #6
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,512

Rep: Reputation: 1215Reputation: 1215Reputation: 1215Reputation: 1215Reputation: 1215Reputation: 1215Reputation: 1215Reputation: 1215Reputation: 1215
Quote:
Originally Posted by f1r3fl3x View Post
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.
 
Old 03-10-2010, 11:18 AM   #7
f1r3fl3x
LQ Newbie
 
Registered: Mar 2010
Posts: 9

Original Poster
Rep: Reputation: 0
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 :/
 
  


Reply

Tags
bluetooth, connection, internet, share


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
can't share internet connection via bluetooth kuni Linux - Networking 2 05-21-2007 08:36 AM
GPRS Internet Connection Via Bluetooth CrownAmbassador Linux - Hardware 3 01-18-2007 06:50 PM
Help on setting Internet Connection (Gprs via Bluetooth) ashfaq.s Linspire/Freespire 2 10-09-2006 09:31 AM
network/internet share over bluetooth 0pal_t0ad Linux - Wireless Networking 0 12-21-2004 07:29 AM


All times are GMT -5. The time now is 06:53 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration