usb modem connect/auto-disconnect problem

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

 



Can dial out with wvdial from terminal but from apps> internet> gnome ppp 
does not work. Is there a connection that has to be made between wvdial and 
gnome ppp that I am missing? Not able to get firefox running, it is 
installed. Can firefox run from the terminal and if so how? Disconnects and 
reconnects approx. every 30 seconds. Thankful for any help Reid



Using ext. usb modem



wvdial from terminal window

--> WvDial: Internet dialer version 1.60

--> Cannot get information for serial port.

--> Initializing modem.

--> Sending: ATZ

OK

--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0

ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0

OK

--> Modem initialized.

--> Sending: ATDT<number>

--> Waiting for carrier.

ATDT<number>

CONNECT 9600

--> Carrier detected.  Waiting for prompt.

Level 3 Comm nas45.det1 UQKT2

Username:/login:/Login:

--> Looks like a login prompt.

--> Sending: <provider>

<provider> (as in preceding line)

Password:

--> Looks like a password prompt.

--> Sending: (password)

    Entering PPP Session.

    IP address is 4.229.132.159

    MTU is 1524.

--> Looks like a welcome message.

--> Starting pppd at Tue Feb 24 09:02:48 2009

--> Pid of pppd: 6212

--> pppd: ?

--> Disconnecting at Tue Feb 24 09:03:34 2009

 (disconnected itself)

--> The PPP daemon has died: Connect script failed (exit code = 8)

--> man pppd explains pppd error codes in more detail.

--> Try again and look into /var/log/messages and the wvdial and pppd man 
pages for more information.

--> Auto Reconnect will be attempted in 5 seconds

--> 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.

--> 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.

--> Sending: ATDT<number>

--> Waiting for carrier.

ATDT<number>

CONNECT 9600

--> Carrier detected.  Waiting for prompt.

Level 3 Comm nas45.det1 UQKT2

Username:/login:/Login:

--> Looks like a login prompt.

--> Sending: <provider>

<provider> (as in preceding line)

Password:

--> Looks like a password prompt.

--> Sending: (password)

    Entering PPP Session.

    IP address is 4.229.132.167

    MTU is 1524.

--> Looks like a welcome message.

--> Starting pppd at Tue Feb 24 09:04:02 2009

--> Pid of pppd: 6297

(I disconnected it)

^CCaught signal 2:  Attempting to exit gracefully...

--> pppd: ?

--> Disconnecting at Tue Feb 24 09:04:07 2009



wvdial.conf

[Dialer Defaults]

Init1 = ATZ

Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0

Modem type = USB Modem

ISDN = 0 New PPPD = yes

Phone = <number>

Modem = /dev/ttyACM0

Username = <username>

Password = <password>

Baud = 460800



/ppp/peers/provider

# example configuration for a dialup connection authenticated with PAP or 
CHAP

#

# This is the default configuration used by pon(1) and poff(1).

# See the manual page pppd(8) for information on all the options.

pppd call isp



# MUST CHANGE: replace myusername@realm with the PPP login name given to

# your by your provider.

# There should be a matching entry with the password in /etc/ppp/pap-secrets

# and/or /etc/ppp/chap-secrets.

user <provider>



# MUST CHANGE: replace ******** with the phone number of your provider.

# The /etc/chatscripts/pap chat script may be modified to change the

# modem initialization string.

connect "/usr/sbin/chat -v -f /etc/chatscripts/pap -T <number>"



# Serial device to which the modem is connected.

/dev/ttySDGC



# Speed of the serial line.

115200

# Assumes that your IP address is allocated dynamically by the ISP.

noipdefault

# Try to get the name server addresses from the ISP.

usepeerdns

# Use this connection as the default route.

defaultroute

# Makes pppd "dial again" when the connection is lost.

persist

# Do not ask the remote to authenticate.

Noauth

/ppp/peers/provider<provider.net>

# This optionfile was generated by pppconfig 2.3.18.

#

#

hide-password

noauth

connect "/usr/sbin/chat -f /etc/chatscripts/providerEarthlink.net"

/dev/ttyACM0

115200

defaultroute

noipdefault

user <username>"

ipparam provider<provider.net>

persist

remotename provider<provider.net>



/ppp/peers/wvdial

connect "/usr/sbin/chat -v -f /etc/chatscripts/pap -T P<number>"

user <username>

noauth

noauth

name wvdial

usepeerdns



 apps> internet> gnome ppp> connection dialog box> connect> log

--> Ignoring malformed input line: ";Do NOT edit this file by hand!"

--> 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 &D1 +FCLASS=0

ATQ0 V1 E1 S0=0 &C1 &D1 +FCLASS=0

OK

--> Modem initialized.

--> Please enter password (or empty password to stop):

does not continue past this point



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

  Powered by Linux