Re: USB modem, wvdial does not redial

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

 



Umesh,

1-Why do you use Stupid Modem = 1 ? If you need it to start your connection, Ok, but if you did not, that may be the reason.
2-Why Ask Passowrd = 0 ?
3-Most important: how long did you wait between stopping wvdial and starting it again? I ask this because it seems that when you start the second attempt tyour and the other side modems are still connected!

Jacques

umesh b wrote:
Hi,

I have a USB modem EVDO (AC8700). I am using wvdial to as the dial
program. Below is my wvdial.conf

=====================================
[Dialer Defaults]
Modem = /dev/ttyUSB0
Baud = 921600
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2
Init3 =
Area Code =
Phone = #555
Username = 20111111
Password = 20111111
Ask Password = 0
Dial Command = ATDT
Stupid Mode = 1
Compuserve = 0
Force Address =
Idle Seconds =
DialMessage1 =
DialMessage2 =
ISDN = 0
Auto DNS = 1
=====================================

The problem is i am not able to redial after i have disconnected
wvdial. Below is the trace from wvdial:
=====================================
linux-wl4r:~ # wvdial
--> WvDial: Internet dialer version 1.56 (abuild@mandelbrot)
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2
ATQ0 V1 E1 S0=0 &C1 &D2
OK
--> Modem initialized.
--> Sending: ATDT#555
--> Waiting for carrier.
ATDT#555
CONNECT
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Tue Jan 29 22:53:08 2008
--> Pid of pppd: 4034
--> Using interface ppp0
--> pppd: [08][17][06][08]
--> pppd: [08][17][06][08]
--> pppd: [08][17][06][08]
--> pppd: [08][17][06][08]
--> pppd: [08][17][06][08]
--> local  IP address 10.1.0.9
--> pppd: [08][17][06][08]
--> remote IP address 10.64.64.64
--> pppd: [08][17][06][08]
--> primary   DNS address 203.90.87.125
--> pppd: [08][17][06][08]
--> secondary DNS address 218.248.240.22
--> pppd: [08][17][06][08]
--> Script /etc/ppp/ip-up run successful
--> Default route Ok.
--> Nameserver (DNS) Ok.
--> Connected... Press Ctrl-C to disconnect
--> pppd: [08][17][06][08]
l
l
l
l
Caught signal 2:  Attempting to exit gracefully...
--> Terminating on signal 15
--> pppd: [08][17][06][08]
--> Connect time 83.2 minutes.
--> pppd: [08][17][06][08]
--> pppd: [08][17][06][08]
--> Disconnecting at Wed Jan 30 00:16:21 2008
linux-wl4r:~ # wvdial
--> WvDial: Internet dialer version 1.56 (abuild@mandelbrot)
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
~[7f]}#@!}!}2} }9}"}&} } } } }#}%B#}%}%}&}
};[[0f]}'}"}(}"qj~~[7f]}#@!}!}3} }9}"}&} } } } }#}%B#}%}%}&} };2
}'}"}(}"}:[19]~~[7f]}#@!}!}4} }9}"}&} } } } }#}%B#}%}%}&}
};u0}'}"}(}"B1~~[7f]}#@!}!}5} }9}"}&} } } } }#}%B#}%}%}&}
};HW}'}"}(}"3[03]~~[7f]}#@!}!}6} }9}"}&} } } } }#}%B#}%}%}&}
};E!}'}"}(}"[1e][7f]~~[7f]}#@!}!}7} }9}"}&} } } } }#}%B#}%}%}&} }:
d}'}"}(}"+`~~[7f]}#@!}!}8} }9}"}&} } } } }#}%B#}%}%}&}
};wl}'}"}(}"E[14]~~[7f]}#@!}!}9} }9}"}&} } } } }#}%B#}%}%}&}
};6y}'}"}(}":Q~~[7f]}#@!}!}:} }9}"}&} } } } }#}%B#}%}%}&}
}:[12]C}'}"}(}"4+~

--> Sending: ATQ0
--> Re-Sending: ATZ~[7f]}#@!}!}0} }9}"}&} } } } }#}%B#}%}%}&}
};RT}'}"}(}"QA~~[7f]}#@!}!}1} }9}"}&} } } } }#}%B#}%}%}&}
}:'k}'}"}(}"}<e~~[7f]}#@!}!}2} }9}"}&}} } } }#}%B#}%}%}&}
};V)}'}"}(}"'}$~~[7f]}#@!}!}3} }9}"}&} } } } }#}%B#}%}%}&}
};}2b}'}"}(}"[05]A~~[7f]}#@!}!}4} }9}"}&} } } } }#}%B#}%}%}&}
};}0]}'}"}(}"fu~~[7f]}#@!}!}5} }9}"}&} } } } }#}%B#}%}%}&}
};#[1f]}'}"}(}"%2~~[7f]}#@!}!}6} }9}"}&} } } } }#}%B#}%}%}&}
};w]}'}"}(}"[R~~[7f]}#@!}!}7} }9}"}&} } } } }#}%B#}%}%}&}
};>U}'}"}(}"}=t~~[7f]}#@!}!}8} }9}"}&} } } } }#}%B#}%}%}&}
};[c}'}"}(}"-J~

--> Modem not responding.
linux-wl4r:~ #
=====================================

Below is my var/log/messages trace
=====================================
linux-wl4r:~ # modprobe -v usbserial vendor=0x05c6 product=0x6000
insmod /lib/modules/2.6.22.5-31-default/kernel/drivers/usb/serial/usbserial.ko
vendor=0x05c6 product=0x6000
linux-wl4r:~ # smpppd -d
linux-wl4r:~ # tail -f /var/log/messages
Jan 29 22:52:43 linux-wl4r kernel: drivers/usb/serial/usb-serial.c:
USB Serial support registered for generic
Jan 29 22:52:43 linux-wl4r kernel: usbserial_generic 3-2:1.0: generic
converter detected
Jan 29 22:52:43 linux-wl4r kernel: usb 3-2: generic converter now
attached to ttyUSB0
Jan 29 22:52:43 linux-wl4r kernel: usbserial_generic 3-2:1.1: generic
converter detected
Jan 29 22:52:43 linux-wl4r kernel: usb 3-2: generic converter now
attached to ttyUSB1
Jan 29 22:52:43 linux-wl4r kernel: usbserial_generic 3-2:1.2: generic
converter detected
Jan 29 22:52:43 linux-wl4r kernel: usb 3-2: generic converter now
attached to ttyUSB2
Jan 29 22:52:43 linux-wl4r kernel: usbcore: registered new interface
driver usbserial_generic
Jan 29 22:52:43 linux-wl4r kernel: drivers/usb/serial/usb-serial.c:
USB Serial Driver core
Jan 29 22:52:46 linux-wl4r smpppd[4012]: smpppd version 1.59 started
l
l
l
Jan 29 22:53:08 linux-wl4r pppd[4034]: Plugin passwordfd.so loaded.
Jan 29 22:53:08 linux-wl4r kernel: PPP generic driver version 2.4.2
Jan 29 22:53:08 linux-wl4r pppd[4034]: pppd 2.4.4 started by root, uid 0
Jan 29 22:53:08 linux-wl4r pppd[4034]: Using interface ppp0
Jan 29 22:53:08 linux-wl4r pppd[4034]: Connect: ppp0 <--> /dev/ttyUSB0
Jan 29 22:53:11 linux-wl4r pppd[4034]: CHAP authentication succeeded
Jan 29 22:53:11 linux-wl4r pppd[4034]: CHAP authentication succeeded
Jan 29 22:53:11 linux-wl4r kernel: PPP BSD Compression module registered
Jan 29 22:53:11 linux-wl4r kernel: PPP Deflate Compression module registered
Jan 29 22:53:12 linux-wl4r pppd[4034]: Could not determine remote IP
address: defaulting to 10.64.64.64
Jan 29 22:53:12 linux-wl4r pppd[4034]: local  IP address 10.1.0.9
Jan 29 22:53:12 linux-wl4r pppd[4034]: remote IP address 10.64.64.64
Jan 29 22:53:12 linux-wl4r pppd[4034]: primary   DNS address 203.90.87.121
Jan 29 22:53:12 linux-wl4r pppd[4034]: secondary DNS address 218.248.240.23
Jan 29 22:53:12 linux-wl4r modify_resolvconf: Service pppd modified
/etc/resolv.conf. See info block in this file
Jan 29 22:53:12 linux-wl4r SuSEfirewall2: Setting up rules from
/etc/sysconfig/SuSEfirewall2 ...
Jan 29 22:53:12 linux-wl4r SuSEfirewall2: using default zone 'ext' for
interface ppp0
Jan 29 22:53:12 linux-wl4r SuSEfirewall2: batch committing...
Jan 29 22:53:12 linux-wl4r SuSEfirewall2: Firewall rules successfully set
Jan 29 22:53:12 linux-wl4r pppd[4034]: Script /etc/ppp/ip-up finished
(pid 4070), status = 0x0
Jan 29 22:53:36 linux-wl4r kernel: NET: Registered protocol family 17
Jan 29 22:53:37 linux-wl4r kernel: device eth0 entered promiscuous mode
Jan 29 22:53:37 linux-wl4r kernel: device ppp0 entered promiscuous mode
Jan 29 22:53:37 linux-wl4r kernel: device lo entered promiscuous mode
Jan 29 22:53:44 linux-wl4r kernel: device eth0 left promiscuous mode
Jan 29 22:53:44 linux-wl4r kernel: device ppp0 left promiscuous mode
Jan 29 22:53:44 linux-wl4r kernel: device lo left promiscuous mode
Jan 29 22:53:44 linux-wl4r kernel: device ppp0 entered promiscuous mode
Jan 29 22:54:24 linux-wl4r gconfd (root-4293): starting (version
2.20.0), pid 4293 user 'root'
Jan 29 22:54:24 linux-wl4r gconfd (root-4293): Resolved address
"xml:readonly:/etc/gconf/gconf.xml.mandatory" to a read-only
configuration s
ource at position 0
Jan 29 22:54:24 linux-wl4r gconfd (root-4293): Resolved address
"xml:readwrite:/root/.gconf" to a writable configuration source at
position1
Jan 29 22:54:24 linux-wl4r gconfd (root-4293): Resolved address
"xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only
configuration source at position 2
Jan 29 22:54:24 linux-wl4r gconfd (root-4293): Resolved address
"xml:readonly:/etc/gconf/gconf.xml.schemas" to a read-only
configuration source at position 3
Jan 29 22:57:07 linux-wl4r kernel: device ppp0 left promiscuous modelll
Jan 29 23:20:03 linux-wl4r su: (to root) root on /dev/pts/4
Jan 29 23:21:52 linux-wl4r smartd[3529]: Device: /dev/sda, SMART Usage
Attribute: 194 Temperature_Celsius changed from 130 to 137
Jan 29 23:35:27 linux-wl4r kernel: ata2.00: 16 bytes trailing data
Jan 29 23:37:18 linux-wl4r kernel: ISO 9660 Extensions: Microsoft Joliet Level 1
Jan 29 23:37:18 linux-wl4r kernel: ISOFS: changing to secondary root
Jan 29 23:37:18 linux-wl4r hald: mounted /dev/sr0 on behalf of uid 0
Jan 29 23:51:36 linux-wl4r syslog-ng[2463]: STATS: dropped 0
Jan 29 23:51:52 linux-wl4r smartd[3529]: Device: /dev/sda, SMART Usage
Attribute: 194 Temperature_Celsius changed from 137 to 141lll
Jan 30 00:16:21 linux-wl4r pppd[4034]: Terminating on signal 15
Jan 30 00:16:21 linux-wl4r pppd[4034]: Connect time 83.2 minutes.
Jan 30 00:16:21 linux-wl4r pppd[4034]: Sent 1093442 bytes, received
6868181 bytes.
Jan 30 00:16:21 linux-wl4r modify_resolvconf: restored
/etc/resolv.conf.saved.by.pppd.ppp0 to /etc/resolv.conf
Jan 30 00:16:21 linux-wl4r SuSEfirewall2: Setting up rules from
/etc/sysconfig/SuSEfirewall2 ...
Jan 30 00:16:21 linux-wl4r SuSEfirewall2: batch committing...
Jan 30 00:16:21 linux-wl4r SuSEfirewall2: Firewall rules successfully setllll
=====================================


Any ideas why this is happening???


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

  Powered by Linux