PDA

View Full Version : [ubuntu] RE: Modem won't connect to my ISP



Dan Flanagan
February 5th, 2010, 01:58 AM
This is what I see when I try to connect...


dflanagan@ubuntu:~$ wvdial
--> WvDial: Internet dialer version 1.60
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Modem initialized.
--> Sending: ATDT4432444055
--> Waiting for carrier.
ATDT4432444055
CONNECT 38666
--> Carrier detected. Waiting for prompt.
--> Connected, but carrier signal lost! Retrying...
--> Sending: ATDT4432444055
--> Waiting for carrier.
User Access Verification
Username:
Username: danflan@isp.com (danflan@isp.com)
% Username: timeout expired!
NO CARRIER
--> No Carrier! Trying again.
--> Sending: ATDT4432444055
--> Waiting for carrier.
ATDT4432444055
NO DIALTONE
--> No dial tone.
--> Disconnecting at Thu Feb 4 19:41:03 2010
dflanagan@ubuntu:~$ danflan@isp.com (danflan@isp.com)
danflan@isp.com (danflan@isp.com): command not found
dflanagan@ubuntu:~$
http://ubuntuforums.org/images/statusicon/user_online.gif http://ubuntuforums.org/images/buttons/report.gif (http://ubuntuforums.org/report.php?p=8775869) http://ubuntuforums.org/images/misc/progress.gif http://ubuntuforums.org/images/buttons/edit.gif (http://ubuntuforums.org/editpost.php?do=editpost&p=8775869) http://ubuntuforums.org/images/buttons/quote.gif (http://ubuntuforums.org/newreply.php?do=newreply&p=8775869) http://ubuntuforums.org/images/buttons/multiquote_off.gif (http://ubuntuforums.org/newreply.php?do=newreply&p=8775869)
Dan FlanaganView Public Profile (http://ubuntuforums.org/member.php?u=1007363)Send a private message to Dan Flanagan (http://ubuntuforums.org/private.php?do=newpm&u=1007363)Send email to Dan Flanagan (http://ubuntuforums.org/sendmessage.php?do=mailmember&u=1007363)Find More Posts by Dan Flanagan (http://ubuntuforums.org/search.php?do=finduser&u=1007363)Add Dan Flanagan to Your Contacts (http://ubuntuforums.org/profile.php?do=addlist&userlist=buddy&u=1007363)





Bookmarks

http://ubuntuforums.org/images/misc/bookmarksite_digg.gif (http://digg.com/submit?phrase=2&url=http%3A%2F%2Fubuntuforums.org%2Fshowthread.php %3Ft%3D1398386&title=Modem+won%27t+connect+to+my+ISP) Digg (http://digg.com/submit?phrase=2&url=http%3A%2F%2Fubuntuforums.org%2Fshowthread.php %3Ft%3D1398386&title=Modem+won%27t+connect+to+my+ISP)
http://ubuntuforums.org/images/misc/bookmarksite_delicious.gif (http://del.icio.us/post?url=http%3A%2F%2Fubuntuforums.org%2Fshowthrea d.php%3Ft%3D1398386&title=Modem+won%27t+connect+to+my+ISP) del.icio.us (http://del.icio.us/post?url=http%3A%2F%2Fubuntuforums.org%2Fshowthrea d.php%3Ft%3D1398386&title=Modem+won%27t+connect+to+my+ISP)

nhasian
February 5th, 2010, 02:13 AM
hmm you could try lowering the speed of the connection to see if you can stay connected. instead of 38666 try 28.8k or 33.6k

lkraemer
February 5th, 2010, 05:38 AM
Will you post the listing for your file: /etc/wvdial.conf


sudo wvdialconf /etc/wvdial.conf

will allow you to edit it. Just cut and paste it in a posting.
If you have more than one wvdial.conf file, delete the extras, or specify
the file with:


wvdial /etc/wvdial.conf


You may need to set up the pap-secrets and/or chap-secrets file by running the following in a Terminal Window:


sudo pppconfig

You will need your userlogin, password, ISP provider information, and
pap or chap information for the connection. (You can set up pap and
then chap, if pap doesn't work.) Basically you just answer the questions
that are presented. You can delete a configurations and start over if
you need to from the menu selections.

For more information try this in a terminal window:


man pppd
man pppconfig


You should have a wvdial configuration file like this at
/etc/wvdial.conf (you may need to add a few things...)

wvdial.conf contains:


[Dialer Defaults]
Auto DNS = yes
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = USB Modem
Baud = 48800
New PPPD = yes
Stupid mode = yes
;carrier check = no
Modem = /dev/ttyACM0
ISDN = 0
Phone = 4460568
Password = yourpassword
Username = yourusername@yourisp.net


Since you are dialing out, getting the carrier and then the connection is
dropped, most likely your ppp configuration is incorrect.

You can also try pon and poff to make a connection.


man pon
man poff

for more information

lk