این استفاده از دستور
pon
بدون نام است
atie@atie-desktop:~$ pon
atie@atie-desktop:~$ plog -f
May 22 05:21:16 atie-desktop chat[4880]: alarm
May 22 05:21:16 atie-desktop chat[4880]: send (AT^M)
May 22 05:21:16 atie-desktop chat[4880]: expect (OK)
May 22 05:21:33 atie-desktop pppd[5838]: pppd 2.4.4 started by atie, uid 1000
May 22 05:21:34 atie-desktop pppd[5838]: Connect script failed
May 22 05:22:06 atie-desktop pppd[5838]: Connect script failed
May 22 05:22:16 atie-desktop chat[4880]: alarm
May 22 05:22:16 atie-desktop chat[4880]: Failed
May 22 05:22:16 atie-desktop pppd[4421]: Connect script failed
May 22 05:22:38 atie-desktop pppd[5838]: Connect script failed
May 22 05:23:10 atie-desktop pppd[5838]: Connect script failed
این دستور با نام است
atie@atie-desktop:~$ pon ati[/color]
atie@atie-desktop:~$ plog -f
May 22 05:36:48 atie-desktop pppd[6340]: pppd 2.4.4 started by atie, uid 1000
May 22 05:36:48 atie-desktop pppd[6340]: Device ttyS0 is locked by pid 4421
May 22 05:36:48 atie-desktop pppd[6340]: Exit.
[/color]
atie@atie-desktop:~$ sudo wvdialconf
[sudo] password for atie:
Editing `/etc/wvdial.conf'.
Scanning your serial ports for a modem.
ttyS0<Info>: Device or resource busy
Modem Port Scan<*1>: S0
ttyS1<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS1<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS1<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Modem Port Scan<*1>: S2 S3
WvModem<*1>: Cannot get information for serial port.
ttySL0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttySL0<*1>: ATQ0 V1 E1 -- AT
ttySL0<*1>: failed with 9600 baud, next try: 115200 baud
ttySL0<*1>: ATQ0 V1 E1 -- OK
ttySL0<*1>: ATQ0 V1 E1 Z -- OK
ttySL0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttySL0<*1>: Modem Identifier: ATI -- SmartLink Soft Modem
ttySL0<*1>: Speed 230400: AT -- OK
ttySL0<*1>: Speed 460800: AT -- OK
ttySL0<*1>: Max speed is 460800; that should be safe.
ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
Found a modem on /dev/ttySL0.
Modem configuration written to /etc/wvdial.conf.
ttySL0<Info>: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
atie@atie-desktop:~$ sudo gedit /etc/wvdial.conf
atie@atie-desktop:~$ sudo wvdial
--> WvDial: Internet dialer version 1.60
--> 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.
atie@atie-desktop:~$