The persist setting will make it try to recon
My ISP seems to work with deflate compression (enabled by default), if you have problems add the option nodeflate. I also added noccp, since my ISP rejects it.
The debug setting is useful to detect problems (pppd will print debugging to syslog, on Debian at /var/log/syslog).
Note the /dev/rfcomm0 setting, pointing to the bluetooth modem.
It basically will configure automatically all network parameters when connected and point to a chat script (explained below).
connect "/usr/sbin/chat -v -f /etc/chatscripts/claro"
set up is quite simple when you already know the parameters… Add something like the following to etc/ppp/peers/claro (change the name of the file claro to one name suitable for you):
Adjust the device and comment to match your phone. This will make /dev/rfcomm0 virtual serial device to automatically connect to the phone when it is opened for reading. So, the modem will just "be there" when you need.
# Description of the connection
# RFCOMM channel for the connection
# Bluetooth address of the device
# Automatically bind the device at startup
Insert something similar to the following to /etc/bluetooth/rfcomm.conf:
To find your phone's MAC. Here is my Nokia, its name is link.
The first thing is to configure a virtual serial port, that will be connected via bluetooth to the phone and work as a GSM modem. After you have your blueooth device working, try:
This configuration worked on my Debian Lenny system, please adjust to your distribution.
After "googling" a lot, I managed to find a working configuration. There are many configurations out there, all hard to find and many do not work… Here is the configuration that works for me. If you have another, feel free to edit this page and add it.
After I bought my phone, I spent some time trying to figure out how to connect my notebook to the Internet through a connection using . All I needed were some initialization strings to the bluetooth modem of my phone and the ppp network configuration of my phone company, . I had no luck on Nokia's manuals and Claro did not even knew what I was talking about (although there is no way I can guess what are their configuration…).
You are here: » »
Connecting Linux to the Internet via Bluetooth and GPRS [Fabio Pugliese Ornellas]
Комментариев нет:
Отправить комментарий