Gentoo/Bluetooth Modem
Bluetooth Modem
Bluetooth modems are very common, especially common when cellular phone is bluetooth enabled.
Configuration
First setup core bluetooth.
Linux Kernel Configuration: |
[*] Networking support ---> <M> Bluetooth subsystem support ---> <M> RFCOMM protocol support [*] RFCOMM TTY support |
Add:
modules="${modules} bluethooth"
Device Attach
Attach you modem as any regular device see Gentoo/Bluetooth.
Setup rfcomm
Assuming device address is 00:24:7C:2F:92:7C, add entry:
rfcomm0 { bind yes; device 00:24:7C:2F:92:7C; channel 4; comment "My phone"; }
The tricky is to find the channel number, if you don't have documentation of device, simply start of 0 and increment while testing.
Restart bluetooth:
Test
Test using net-misc/taylor-uucp
Simply enter "AT" and expect for "OK", to exit use "~." sequence.
# cu -l /dev/rfcomm0 Connected. AT OK !.
Network
Now you can configure ppp to be used with modem.
Maintainer
Authors
Originally written by: Alon Bar-Lev - 2011-11-17
Authors are people who have worked on this document and have made significant changes to its content. If you have edited this article and wish to add yourself to the authors list please read "Who are Authors".