![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
|
|
Networking & Wireless Having problems getting connected to the internet or getting your wireless card to work? Ask here. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Spilled the Beans
![]() Join Date: Aug 2007
Beans: 14
|
Access internet via phone using Bluetooth PAN: 'modprobe bnep' has no effect?
Using Ubunty Feisty I want to access the internet via my 3G phone using bluetooth. I've been struggling with this issue for quite a while now and would like to get it working so I don't have to switch to Windows when I'm on the road.
Here are the steps I've taken: - pair the laptop and phone (windows mobile 5) - phone: turn on 'internet sharing' - For the laptop I follow the steps as described here: http://ubuntuforums.org/showthread.p...bluetooth+pand - 'hcitool scan' works fine and shows list of BT devices - Edit '/etc/bluetooth/hcid.conf' and set: autoinit yes security auto pairing multi passkey "0000" - But then: 'sudo modprobe bnep' gives no output. As if nothing happens. -- 'iwconfig' shows no bnep0, -- so doing 'sudo ifconfig bnep0' throws an error saying 'bnep0: error fetching interface information: Device not found' - What I've also tried: -- set 'PAND_ENABLED=1' in '/etc/init.d/bluetooth' -- What's discussed here (second half): http://news.softpedia.com/news/Conne...on-50670.shtml I'm at a loss, I have no idea what I'm doing wrong and where I should be looking for a solution. Some relevant links that I found but didn't solve my issue: Other way around (laptop/desktop as internet proxy for phone) http://ubuntuforums.org/showthread.p...bluetooth+pand General: http://bluez.sourceforge.net/contrib/HOWTO-PAN In Gentoo: http://gentoo-wiki.com/HOWTO_The_host-to-host_Bluetooth Dialup networking: http://www.howtoforge.com/bluetooth_pand_debian_etch |
|
|
|
|
|
#2 |
|
5 Cups of Ubuntu
![]() Join Date: Dec 2005
Beans: 15
|
Re: Access internet via phone using Bluetooth PAN: 'modprobe bnep' has no effect?
Try calling pand manually, and see if bnep0 is created:
Code:
# pand --listen -c <macid> --role=NAP -n --persist pand[11406]: Bluetooth PAN daemon version 3.9 pand[11406]: Connecting to <macid> pand[11406]: bnep0 connected |
|
|
|
|
|
#3 | |
|
Spilled the Beans
![]() Join Date: Aug 2007
Beans: 14
|
Re: Access internet via phone using Bluetooth PAN: 'modprobe bnep' has no effect?
Quote:
So the steps I now take are: Code:
sudo pand --listen -c 00:17:83:11:AB:F9 --role=NAP -n --persist Code:
sudo ifconfig bnep0 sudo ifup bnep0 |
|
|
|
|
|
|
#4 |
|
5 Cups of Ubuntu
![]() Join Date: Dec 2005
Beans: 15
|
Re: Access internet via phone using Bluetooth PAN: 'modprobe bnep' has no effect?
Just evoke pand without -n and --persist, you won't need to spawn another terminal.
pand man page: Code:
--nodetach -n
Do not become a daemon
--persist -p[interval]
Persist mode
|
|
|
|
|
|
#5 | |
|
Way Too Much Ubuntu
![]() Join Date: Sep 2007
Beans: 207
Ubuntu 8.04 Hardy Heron
|
Re: Access internet via phone using Bluetooth PAN: 'modprobe bnep' has no effect?
Quote:
SIOCSIFADDR: No such device bnep0: unknown interface: No such device SIOCSIFNETMASK: No such device I would appreciate any help. |
|
|
|
|
|
|
#6 | |
|
Spilled the Beans
![]() Join Date: Aug 2007
Beans: 14
|
Re: Access internet via phone using Bluetooth PAN: 'modprobe bnep' has no effect?
Quote:
http://www.ibm.com/developerworks/li...-enable.html#2 it looks as if your 'BNEP (Bluetooth Network Encapsulation Protocol)' doesn't 'register itself with the Linux networking layer as an Ethernet device'. It should show up when issuing 'ifconfig'. I'm sorry I can't help you any further than that, but I hope it helps. |
|
|
|
|
|
|
#7 |
|
First Cup of Ubuntu
![]() Join Date: May 2008
Beans: 1
|
Re: Access internet via phone using Bluetooth PAN: 'modprobe bnep' has no effect?
Hi,
Can anyone explain me what can be the cause for pand[3947]: Connecting to <macid> pand[3947]: Connect to <macid> failed. Connection refused(111) I want to note, also that I have pan0 device and I can assign an IP on it. I don't really know where this device came from I hope that someone will help me with this |
|
|
|
|
|
#8 | |
|
First Cup of Ubuntu
![]() |
Re: Access internet via phone using Bluetooth PAN: 'modprobe bnep' has no effect?
Quote:
Code:
modprobe bnep pand --listen --role GN ifconfig bnep0 10.0.0.1 Code:
# pand --listen -c 00:09:D0:50:0F:44 --role NAP -n pand[6521]: Bluetooth PAN daemon version 3.19 pand[6521]: Connecting to 00:09:D0:50:0F:44 pand[6521]: Connect to 00:09:D0:50:0F:44 failed. No route to host(113) Code:
# pand --listen --role NAP -n pand[6518]: Bluetooth PAN daemon version 3.19 // now it hangs... there are no bnep0 in output of ifconfig. PS: trouble came after Vista connected to Ubuntu, any ideas? |
|
|
|
|
|
|
#9 |
|
Way Too Much Ubuntu
![]() Join Date: May 2008
Location: other side of screen
Beans: 223
|
Re: Access internet via phone using Bluetooth PAN: 'modprobe bnep' has no effect?
may i ask why? are you rich? have you any idea how much phone companies charge for that kind of connection? i am in england and on o2 if i acces the internet on my pc through my mobile its like 5 quid a MB. the guy in the shop looked horrified when i inquired as to the tarrif for that kind of thing..
__________________
|
|
|
|
|
|
#10 |
|
First Cup of Ubuntu
![]() |
Re: Access internet via phone using Bluetooth PAN: 'modprobe bnep' has no effect?
actually, i don't need an internet via phone )) my point is to connect my PC with my notebook with PAN, but i have a same problem as posted in #1
P.S. sometimes it's useful to have inet via phone. f.e. when u're on study Last edited by 3gun; June 28th, 2008 at 10:31 AM.. |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|