LINUX.ORG.RU

История изменений

Исправление ZenitharChampion, (текущая версия) :

Попробуй через chat. Вот руководство: https://help.ubuntu.com/community/BluetoothDialup

/etc/ppp/peers/BluetoothDialup

debug
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/BluetoothDialup"
usepeerdns
/dev/rfcomm0 115200
defaultroute
crtscts
lcp-echo-failure 0

/etc/chatscripts/BluetoothDialup

TIMEOUT 35
ECHO    ON
ABORT   '\nBUSY\r'
ABORT   '\nERROR\r'
ABORT   '\nNO ANSWER\r'
ABORT   '\nNO CARRIER\r'
ABORT   '\nNO DIALTONE\r'
ABORT   '\nRINGING\r\n\r\nRINGING\r'
''      \rAT
OK      'AT+CGDCONT=1,"IP","internet.mts.ru"'
OK      ATD*99***1#
CONNECT ""

Проблемы:

1). Возможно, понадобится добавить пользователя в группу dip.
2). Я не нашёл как туда добавить username и password. Некоторые операторы связи не хотят без них.

Включать командой pon BluetoothDialup, выключать poff BluetoothDialup.

Исправление ZenitharChampion, :

Попробуй через chat. Вот руководство: https://help.ubuntu.com/community/BluetoothDialup

/etc/ppp/peers/BluetoothDialup

debug
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/BluetoothDialup"
usepeerdns
/dev/rfcomm0 115200
defaultroute
crtscts
lcp-echo-failure 0

/etc/chatscripts/BluetoothDialup

TIMEOUT 35
ECHO    ON
ABORT   '\nBUSY\r'
ABORT   '\nERROR\r'
ABORT   '\nNO ANSWER\r'
ABORT   '\nNO CARRIER\r'
ABORT   '\nNO DIALTONE\r'
ABORT   '\nRINGING\r\n\r\nRINGING\r'
''      \rAT
OK      'AT+CGDCONT=1,"IP","internet.mts.ru"'
OK      ATD*99***1#
CONNECT ""

Проблемы:

1). Возможно, понадобится добавить пользователя в группу dip.
2). Я не нашёл как туда добавить username и password. Некоторые операторы связи не хотят без них.

Включать командой pon BluetoothDialup, выключать poff BluetoothDialup

Исходная версия ZenitharChampion, :

Попробуй через chat. Вот руководство: https://help.ubuntu.com/community/BluetoothDialup

/etc/ppp/peers/BluetoothDialup:

debug
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/BluetoothDialup"
usepeerdns
/dev/rfcomm0 115200
defaultroute
crtscts
lcp-echo-failure 0

/etc/chatscripts/BluetoothDialup

TIMEOUT 35
ECHO    ON
ABORT   '\nBUSY\r'
ABORT   '\nERROR\r'
ABORT   '\nNO ANSWER\r'
ABORT   '\nNO CARRIER\r'
ABORT   '\nNO DIALTONE\r'
ABORT   '\nRINGING\r\n\r\nRINGING\r'
''      \rAT
OK      'AT+CGDCONT=1,"IP","internet.mts.ru"'
OK      ATD*99***1#
CONNECT ""

Проблемы:

1). Возможно, понадобится добавить пользователя в группу dip.
2). Я не нашёл как туда добавить username и password. Некоторые операторы связи не хотят без них.

Включать командой pon BluetoothDialup, выключать poff BluetoothDialup