LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-14-2008, 01:55 PM   #1
Sysop1911
Member
 
Registered: Dec 2007
Posts: 30

Rep: Reputation: 15
Problems with dial-up connection with Ubuntu


We have a machine with Ubuntu 7.10 loaded on it. We've got a Diamond "SupraMax" 56K external modem (V.92) attached that connects with a serial cable. We are trying to dial in to our ISP (Earthlink), but are having problems getting connected. When we do a "subo pppconfig" everything looks okay, but when I go to the terminal and type in "sudo wvdial", I get an error that says "Configuration does not specify a valid login name". We check our user name for the ISP and that is correct, but I think it's actually looking for some other kind of user name.

I also tried the "pon # connect to the ISP configured as "provider" " command. Usually it just does nothing after I enter this command in. It'll just go to another prompt. Sometimes I hear the modem make noises like it's trying to connect but it the noises don't stop for a while and it still won't connect. Only 1 time did it actually work and I got to the internet, Google's homepage came up. I can't figure out why it only worked that one time. I am pretty new to Linux, so can someone help me out here? How do I get the external modem to dial-in to our ISP with Ubuntu? Thanks.

More details:
The COM port is set to /dev/ttyS0 which is the correct port linux detected. The authentication method is set to 'PAP'. The modem init string looks fine when I use the 'sudo wvdial' command.
 
Old 06-14-2008, 02:14 PM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
1) Choose either pppconf or vwdial, don't use both as they're two different ways of doing the job. Pick up your favourite; I like wvdial because it's straightforward to configure (just edit wvdial.conf found in /etc/ if I'm right; fill in the needed information, save and run wvdial). If you use pppconf, then you should probably use 'pon' to connect (and 'poff' to disconnect).

2) Usually if a command does not print output it means "good". Typically output is given if there's some information the program wants to give to the user, if there were errors or something else that the user should know. In case of a simple "connect to the configured provider" command the program needs not print anything if things went ok; you simply get a new command prompt. After this you should be able to surf the web, or at least ping some sites (provided that you got all the needed information trough dhcp or something similar, or configured DNS servers manually).

So, if you use pppconf, use pon/poff. If you use wvdial, see
Code:
man wvdial
and if wvdial.conf has it's own manpage, that too. Then edit wvdial.conf, which basically means "add in dial number, username and password and save", then try running wvdial.

There are graphical ppp programs too, if you prefer them; such as kppp (for KDE; there are similar programs for Gnome desktop too).
 
Old 06-15-2008, 12:10 AM   #3
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Quote:
when I go to the terminal and type in "sudo wvdial", I get an error that says "Configuration does not specify a valid login name".
The best way to set up wvdial is to issue the command: sudo wvdialconf /etc/wvdial.conf and it will look at all the ports and may find your modem if it's turned on, then write a /etc/wvdial.conf file with the right technical information. You'll still have to edit the /etc/wvdial.conf file to include your user name, password and ISP phone number after it finds your modem.

Wvdial usually has a couple semicolons or something at the beginning of those three lines for your user name, password and phone number, those semicolons have to be removed. Below is a sample of what the contents of the file should look like.
Code:
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
Baud = 460800
New PPPD = yes
Modem = /dev/modem
ISDN = 0
Phone = 555-5555
Password = password
Username = username
To edit the /etc/wvdial.conf file, issue command: sudo gedit /etc/wvdial.conf, make the changes and save the file. Then try to dial out.

Last edited by Junior Hacker; 06-15-2008 at 12:15 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dial modem connection in ubuntu 8.04 j d Linux - Networking 2 05-24-2008 07:40 PM
Dial Up connection for ubuntu nthillaiarasu Linux - Networking 4 04-03-2008 09:02 PM
How do I dial an internet connection on Ubuntu? spirobulldog2004 Linux - Newbie 1 11-05-2007 04:11 AM
Bluetooth dial-up connection with nokia 6600 in ubuntu 7.04 kaykay.mudgle Linux - Newbie 1 09-19-2007 04:18 PM
how do i connect to the net in ubuntu hoary thru dial-up connection??? akshay_jp Linux - Networking 1 09-17-2005 05:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration