Oto konfig /etc/wvdial.conf:
Code: Select all
tomasz@apofis ~ $ cat /mnt/ntfs/wvdial
tomasz@apofis ~ $ cat /etc/wvdial.conf
[Dialer Defaults]
Modem = /dev/ttyUSB0
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init4 = AT+CGDCONT=1,"IP","internet"
#Init4 = AT+CGDCONT=1,"IP","www.playmobile.pl"
#Init4 = AT+CGDCONT=1,"IP","www.orange.pl"
Stupid Mode = 1
Check DNS = off
Modem Type = Analog Modem
Phone = *99#
ISDN = 0
username = internet
Dial Command = ATDT
Password = internet
Baud = 466600
Code: Select all
tomasz@apofis ~ $ wvdial
--> WvDial: Internet dialer version 1.60
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: AT+CGDCONT=1,"IP","internet"
AT+CGDCONT=1,"IP","internet"
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Sun Feb 28 18:35:20 2010
--> Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
-->
--> PAP (Password Authentication Protocol) may be flaky.
--> Warning: Could not modify /etc/ppp/chap-secrets: Permission denied
-->
--> CHAP (Challenge Handshake) may be flaky.
--> Pid of pppd: 12647
--> Disconnecting at Sun Feb 28 18:35:20 2010
--> The PPP daemon has died: No ppp module error (exit code = 4)
--> man pppd explains pppd error codes in more detail.
--> I guess that's it for now, exiting
--> The PPP daemon has died. (exit code = 4)

