Ubuntu Linux, ubuntu desktop, Linux operating system, ubuntu guide

How to Connect a Dial Up Modem in Ubuntu jaunty

by on May.29, 2010, under RHEL5, Ubuntu, ubuntu 10.04, ubuntu 7.10, ubuntu 8.10, ubuntu 9.04, Ubuntu 9.10

I have installed a few dial-up modems in Ubuntu 8 and I prefer the external modems because they are usually easier to configure compared to internal Winmodems. But recently I ran into problems while installing a US Robotics 56K USB Modem Model 5637 in Ubuntu 9.04. The connection fails because of missing access permissions. Here is how I worked it out.

Detecting the Modem

First, I installed gnome-ppp because it provides better control of thedial-up connection:

sudo apt-get install gnome-ppp

from a terminal window or through Synaptic Package Manager. This installsautomatically wvdial as the underlying program.
Connect the modem and detect the modem using:

sudo cp -vp /etc/wvdial.conf /etc/wvdial.conf.bak091209 (to save the original version)

sudo wvdialconf

if the modem is detected save this configuration:

sudo cp -vp /etc/wvdial.conf /etc/wvdial.conf.bak091209
Otherwise make sure the modem driver as identified by scanModem is loaded:
sudo modprobe cdc_acm

Check using

ls -l /dev/tty*

The modem should appear as /dev/ttyACM0

See also:

https://help.ubuntu.com/community/DialupModemHowto/ScanModem


Connecting to the Internet

So far so good. Test the connection.

Click on the the red phone ( the gnome-ppp dialer). Enter user name, password and telephone number as defined with the ISP. Check also the Setup tab and make sure the settings agree with those in wvdial.conf: overwrite /dev/modem with /dev/ttyACM0 to identify the modem. Click on the Connect tab.

Alternatively, you can dial directly with wvdial. Edit the settings using:

sudo gedit /etc/wvdial.conf

Enter user name, password and telephone number as defined with the Internet Service provider. Connect:

wvdial

In order to establish the connection successfully, it is necessary to start the dialer as superuser from a terminal window:

sudo wvdia
or
sudo gnome-ppp

For a more convenient start-up icon, add the gnome-ppp icon from the menu to the desktop. Then edit this icon as follows from a terminal
window:

gedit Desktop/gnome-ppp.desktop

and
change only the following line:

Exec=gnome-ppp

to
Exec=gnome-terminal
-x
sudo gnome-ppp

Click on this icon. It will open a terminal window and you will be prompted for your password. Then the gnome-ppp screen will open and you should be able to connect.

The following is a /etc/wvdial.conf file that works with the US Robotics USB modem. It is better to use a lower speed and let the modem negotiate a higher speed with the service provider.

[Dialer Defaults]
New PPPD = yes
Stupid Mode = yes
Modem Type = Analog Modem
ISDN = 0
Auto DNS = 1
Auto Reconnect = 0
Modem = /dev/ttyACM0
Baud = 460800
;Baud = 230400
Init1 = ATZ4
; Phone = <Target PhoneNumber>
Phone = 1234567890
; Username = <Your LoginName>
Username = guesswho
; Password = <Your Password>
Password = guessit

Source:

http://ubuntuforums.org/showthread.php?t=873268

:, , , , , ,

1 Comment for this entry

  • chico seo

    I loved as much as you will receive carried out right here. The sketch is tasteful, your authored subject matter stylish.

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!