You are not logged in.

#1 2010-09-02 05:07:47

theta
Member
From: India
Registered: 2010-01-16
Posts: 174

wvdial doesn't quit

After I use wvdial to establish a ppp link and press "CTRL+C" to make it hang up the connection, the connection reamains active.
Event doing

sudo ifconfig ppp0 down 

doesn't work.
Sometimes even if I take out the modem and reinsert it the connection remains active and to my suprise even works.

[theta@boolean-pc ~]$ sudo wvdial
Password: 
--> WvDial: Internet dialer version 1.61
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT 3600000
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Thu Sep  2 10:33:20 2010
--> Pid of pppd: 10612
--> Using interface ppp0
--> Authentication (PAP) started
--> Authentication (PAP) successful
--> local  IP address 10.18.147.141
--> remote IP address 10.64.64.64
--> primary   DNS address 218.248.240.135
--> secondary DNS address 4.2.2.2
--> Script /etc/ppp/ip-up run successful
--> Default route Ok.
--> Connected... Press Ctrl-C to disconnect
^CCaught signal 2:  Attempting to exit gracefully...
[theta@boolean-pc ~]$ 

Last edited by theta (2010-09-02 05:10:17)

Offline

#2 2010-09-02 09:49:39

Sin.citadel
Member
Registered: 2008-01-22
Posts: 267

Re: wvdial doesn't quit

i think this has to do with the modem being initialized, it needs to be forcefully disconnected by sending an AT command, i dont know what command is used exactly, but you can google it with your modem model to get the commands.

Offline

Board footer

Powered by FluxBB