wvdialconf /etc/wvdial.conf
Phone = #777Password = ITUsername = IT
wvdial
dmesg | grep tty
Після встановлення wvdial я прописав параметри в wvdial.conf (номер телефону, ім'я та пароль), і просто запускав wvdial !
cat /etc/wvdial.conf
pkg:/etc# cat wvdial.conf[Dialer Defaults]Phone =Username =Password =New PPPD =
Editing `/etc/wvdial.conf'.Scanning your serial ports for a modem.ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baudttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baudttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.Modem Port Scan<*1>: S1 S2 S3Sorry, no modem was detected! Is it in use by another program?Did you configure it properly with setserial?Please read the FAQ at http://open.nit.ca/wiki/?WvDialIf you still have problems, send mail to <wvdial-list@lists.nit.ca>.
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 0.004000] console [tty0] enabled[ 1.046389] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A[ 1.046943] 00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A[ 16.933297] cdc_acm 3-1:1.0: ttyACM0: USB ACM device
debian:/# cat /etc/wvdial.conf[Dialer Defaults]Init1 = ATZInit2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0Modem Type = USB ModemBaud = 460800New PPPD = yesModem = /dev/ttyACM0ISDN = 0Phone = #777Password = ITUsername = IT
[Modem0]Modem=/dev/ttyUSB0Baud=115200SetVolume=0Dial Command =ATDTinit1=ATZinit2=AT+CRM=1FlowControl=Hardware (CRTSCTS)[Dialer IT]Username=ITPassword=ITPhone=#777Stupid Mode=1Inherits=Modem0Check Def Route