[Primipassi] configurazione modem interno

Sauro Niccolai tjago@lillinet.org
Gio 22 Dic 2005 09:15:59 CET


Credo di essere riuscito a configurare il winmodem interno.
io faccio:

root@pantabo:/home/sauro# modprobe snd-via82xx-modem
root@pantabo:/home/sauro# slmodemd --alsa -c YOUR_COUNTRY hw:1 &
[1] 8187

risposta:

root@pantabo:/home/sauro# SmartLink Soft Modem: version 2.9.11 Oct 26 
2005 04:48:29
bad country name `YOUR_COUNTRY', using default by code!
symbolic link `/dev/ttySL0' -> `/dev/pts/2' created.
modem `hw:1' created. TTY is `/dev/pts/2'
Use `/dev/ttySL0' as modem device, Ctrl+C for termination.
symbolic link `/dev/ttySL0' -> `/dev/pts/2' created.

dopodiche:

root@pantabo:/home/sauro#wvdial

risposta:


--> WvDial: Internet dialer version 1.54.0
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 X3
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 X3
OK
--> Modem initialized.
--> Sending: ATDT7022852854
--> Waiting for carrier.
ATDT7022852854
CONNECT 50667
User Access Verification
Username:
--> Carrier detected.  Waiting for prompt.
Username:
--> Looks like a login prompt.
--> Sending: tjago@lillinet.org
tjago@lillinet.org
Password:
--> Looks like a password prompt.
--> Sending: (password)
% Authorization failed.
NO CARRIER
--> Don't know what to do!  Starting pppd and hoping for the best.
--> Starting pppd at Wed Dec 21 00:55:14 2005
--> pid of pppd: 8243
--> Using interface ppp0
--> Using interface ppp0
--> Disconnecting at Wed Dec 21 00:56:11 2005
--> The PPP daemon has died: PPP negotiation failed (exit code = 10)
--> man pppd explains pppd error codes in more detail.
--> I guess that's it for now, exiting
--> The PPP daemon has died. (exit code = 10)


pare che funzioni tutto e che il problema sia sulla password. 
Confermate?

Contenuto di /etc/wvdial.conf


[Dialer Defaults]
Modem = /dev/ttySL0
Baud = 115200
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 X3
ISDN = 0
Carrier Check = no
Modem Type = Analog Modem
Phone = 7022852854
Username = tjago@lillinet.org
Password = (la ometto)

Sono sicuro che la password è giusta. Manca qualche opzione? Cosa non 
va? 




Maggiori informazioni sulla lista primipassi