LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, Sailfish OS, Replicant, Ubuntu Touch, webOS, and other similar projects and products.

Notices


Reply
  Search this Thread
Old 03-02-2010, 09: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, 09:48 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
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 09:48 PM. Reason: Typos
 
Old 03-03-2010, 06: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, 07:10 PM   #4
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
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, 08: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, 06:33 PM   #6
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
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, 10: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



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 07:36 AM
GPRS Internet Connection Via Bluetooth CrownAmbassador Linux - Hardware 3 01-18-2007 05:50 PM
Help on setting Internet Connection (Gprs via Bluetooth) ashfaq.s Linspire/Freespire 2 10-09-2006 08:31 AM
network/internet share over bluetooth 0pal_t0ad Linux - Wireless Networking 0 12-21-2004 06:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile

All times are GMT -5. The time now is 07:51 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration