|
楼主 |
发表于 2005-7-2 11:24:26
|
显示全部楼层
lspci都都能检测到是intel 536ep modem啊,
用wvdialconf自动创建.conf文件.会自动检测modem
[root@localhost bin]# wvdialconf /etc/wvdial.conf
Scanning your serial ports for a modem.
###自动创建是到USB15就停至了.
[root@localhost root]# wvdialconf /etc/wvdial.conf
Scanning your serial ports for a modem.
ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 4800 baud
ttyS0<*1>: ATQ0 V1 E1 -- failed with 4800 baud, next try: 9600 baud
ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 19200 baud
ttyS0<*1>: ATQ0 V1 E1 -- failed with 19200 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
ttyS1<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 4800 baud
ttyS1<*1>: ATQ0 V1 E1 -- failed with 4800 baud, next try: 9600 baud
ttyS1<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 19200 baud
ttyS1<*1>: ATQ0 V1 E1 -- failed with 19200 baud, next try: 115200 baud
ttyS1<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Port Scan<*1>: S2 S3 S4 S5 S6 S7 S8 S9
Port Scan<*1>: S10 S11 S12 S13 S14 S15 S16 S17
Port Scan<*1>: S18 S19 S20 S21 S22 S23 S24 S25
Port Scan<*1>: S26 S27 S28 S29 S30 S31 SA0 SA1
Port Scan<*1>: SA2 SC0 SC1 SC2 SC3 SI0 SI1 SI2
Port Scan<*1>: SI3 SI4 SI5 SI6 SI7 SI8 SI9 SI10
Port Scan<*1>: SI11 SI12 SI13 SI14 SI15 SR0 SR1 SR2
Port Scan<*1>: SR3 SR4 SR5 SR6 SR7 SR8 SR9 SR10
Port Scan<*1>: SR11 SR12 SR13 SR14 SR15 SR16 SR17 SR18
Port Scan<*1>: SR19 SR20 SR21 SR22 SR23 SR24 SR25 SR26
Port Scan<*1>: SR27 SR28 SR29 SR30 SR31 SR256 SR257 SR258
Port Scan<*1>: SR259 SR260 SR261 SR262 SR263 SR264 SR265 SR266
Port Scan<*1>: SR267 SR268 SR269 SR270 SR271 SR272 SR273 SR274
Port Scan<*1>: SR275 SR276 SR277 SR278 SR279 SR280 SR281 SR282
Port Scan<*1>: SR283 SR284 SR285 SR286 SR287 USB0 USB1 USB2
Port Scan<*1>: USB3 USB4 USB5 USB6 USB7 USB8 USB9 USB10
Port Scan<*1>: USB11 USB12 USB13 USB14 USB15
自己加个conf文件如下,结果出现没有拨号音.
#wvdial.conf文件
[Dialer Defaults]
Modem = /dev/modem
Baud = 115200
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+GCI=20
Dial Command = ATDT
Phone = 95788
Username = 95788
Password = 95788
#Ask Password = 1
Stupid Mode = 0
#############
[root@localhost root]# wvdial
--> WvDial: Internet dialer version 1.53
--> 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
--> Sending: AT+GCI=20
AT+GCI=20
OK
--> Modem initialized.
--> Sending: ATDT95788a
--> Waiting for carrier.
ATDT95788
NO DIALTONE
--> No dial tone.
--> Disconnecting at Sat Jul 2 10:06:17 2005
[root@localhost root]#
###################配置向导激活时出错(如图),无法激活,能听见嘀的一声响然后有嘀的一声响,前一声与windows下拨号声音同,后一声与挂断声音相同.
Failed to activate ppp0 with error 8
[root@localhost dev]# /usr/bin/wvdial --chat bellsouth
也可以执行一下步骤,显示Intel536模块已加载
[root@localhost root]# lsmod
Module Size Used by Tainted: PF
Intel536 1040516 0
再执行一下# dmesg命令,查看硬件及相关信息.
[root@localhost dev]# dmesg | grep tty
ttyS0 at 0x03f8 (irq = 4) is a 16550A
ttyS1 at 0x02f8 (irq = 3) is a 16550A
[root@localhost dev]# dmesg
PCI: Found IRQ 5 for device 02:01.0
PCI: Found IRQ 5 for device 02:01.0
要查看/dev/modem指向了何处
[root@localhost sbin]# file /dev/modem
/dev/modem: symbolic link to /dev/536ep |
|