For next step : about wvdialconf and wvdial

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[philippe@victor ~]$ ls /dev/ttyS*
/dev/ttyS0  /dev/ttyS1  /dev/ttyS2  /dev/ttyS3
[philippe@victor ~]$ ls -l /dev/modem
lrwxrwxrwx. 1 root root 10 Jun 23 18:11 /dev/modem -> /dev/536ep
[philippe@victor ~]$ ls -l /dev/536*
crw-rw-rw-. 1 root root 240, 1 Jun 23 18:51 /dev/536ep
crw-------. 1 root root 240, 1 Jun 23 18:11 /dev/536ep0
[philippe@victor ~]$ sudo ln -s /dev/536ep0 /dev/ttyS4
[philippe@victor ~]$ sudo wvdialconf
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Modem Port Scan<*1>: S1   S2   S3
WvModem<*1>: Cannot get information for serial port.
ttyS4<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS4<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS4<*1>: ATQ0 V1 E1 -- OK
ttyS4<*1>: ATQ0 V1 E1 Z -- OK
ttyS4<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyS4<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyS4<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyS4<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyS4<*1>: Modem Identifier: ATI -- OK
ttyS4<*1>: Speed 230400: AT -- OK
ttyS4<*1>: Speed 460800: AT -- OK
ttyS4<*1>: Max speed is 460800; that should be safe.
ttyS4<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK

Found a modem on /dev/ttyS4.
Modem configuration written to /etc/wvdial.conf.
ttyS4<Info>: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
[philippe@victor ~]$ ls -l /dev/ttyS*
crw-rw----. 1 root dialout 4, 64 Jun 23 19:18 /dev/ttyS0
crw-rw----. 1 root dialout 4, 65 Jun 20 21:54 /dev/ttyS1
crw-rw----. 1 root dialout 4, 66 Jun 20 21:54 /dev/ttyS2
crw-rw----. 1 root dialout 4, 67 Jun 20 21:54 /dev/ttyS3
lrwxrwxrwx. 1 root root       11 Jun 23 19:18 /dev/ttyS4 -> /dev/536ep0
[philippe@victor ~]$ sudo chown root:dialout /dev/ttyS4
[philippe@victor ~]$ sudo wvdial
--> WvDial: Internet dialer version 1.61
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Configuration does not specify a valid phone number.
--> Configuration does not specify a valid login name.
--> Configuration does not specify a valid password.

--
Philippe Vouters (Fontainebleau/France)
URL: http://vouters.dyndns.org/
SIP: sip:Vouters@xxxxxxxxxxxxxxxx



[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux