network manager + bluetooth GSM/UMTS
marius at pov.lt
Sun Oct 12 00:26:31 UTC 2008
On Sat, Oct 11, 2008 at 12:30:43PM +0200, Ronald van der Pol wrote:
> So network manager supports GSM/UMTS.
> Is this documented somewhere?
/usr/share/doc/network-manager/README.Debian, partially, but that
assumes you've already got ppp configured.
> I want to use a bluetooth GSM/UMTS phone.
That's what I did:
* added an entry for the phone to /etc/bluetooth/rfcomm.conf
# Bluetooth address of the device
# RFCOMM channel for the connection
# Description of the connection
comment "My phone";
* added /etc/ppp/peers/bt
connect "/usr/sbin/chat -v -f /etc/chatscripts/bt"
# my phone rejects CCP; by avoiding the ConfRej chitchat maybe I'll make pon a bit faster
# these seem to be needed to avoid spontaneous automatic disconnects after 2
# ifup ppp0 dislikes pppd going into background when ppp0 is not yet up
* added /etc/chatscripts/bt
ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED
* added the following line to /etc/ppp/pap-secrets
ignored * ignored
* configured dialup on the phone (APN and other stuff)
* tested the connection with 'pon bt'; plog shows you the status from
the pppd log.
* paired the phone with the laptop (first attempt to access the
rfcomm0 device pops up a PIN dialog on both).
* added a line to /etc/network/interfaces
iface ppp0 inet ppp
* restarted network manager
Now I can open network manager and choose my dialup connection from its
menu; however n-m doesn't understand that the connection succeeded and
thinks I'm offline when I'm actually online.
I think all this is needlessly complicated, and I await a version of
network manager that lets me set it up from a nice GUI window listing
all discoverable Bluetooth phones in the vicinity.
America and England are two countries separated by a common language.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: Digital signature
More information about the ubuntu-users