30.11.2012 Views

Linux Networking Clearly Explained - lions-wing.net

Linux Networking Clearly Explained - lions-wing.net

Linux Networking Clearly Explained - lions-wing.net

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CHAPTER 1 • CREATING A DIAL-UP INTERNET CONNECTION 35<br />

To change the permissions on pppd, you have to log in as<br />

the superuser or root user. If you are using your ordinary<br />

user account, log in as superuser by doing the follo<strong>wing</strong>:<br />

open a terminal window, type su and press Enter, and type<br />

your password and press Enter. Now type chmod u+s<br />

/usr/sbin/pppd and press Enter.<br />

Testing Your Modem with a Communications Program<br />

Still not working? Let us watch the modem in action and<br />

make sure it is functioning correctly. To do so, you can<br />

use a communications program such as minicom, which is<br />

included with most <strong>Linux</strong> distributions. A communications<br />

program enables your computer to connect to non-<br />

Inter<strong>net</strong> dial-up services, such as bulletin board systems<br />

(BBS). Here, you will use minicom just to see whether<br />

your modem will respond to minicom, get a dial tone, and<br />

connect successfully. If it does, it is a good bet that the<br />

problem lies in the information you have supplied to<br />

KPPP; chances are you made a typing mistake, or your ISP<br />

gave you the wrong information.<br />

To run minicom, do the follo<strong>wing</strong>:<br />

1. Open a terminal window, and see whether<br />

minicom is installed on your system. To do so, type<br />

whereis minicom and press Enter. If it is installed<br />

in /usr/bin, you can start the program by typing<br />

minicom and pressing Enter.<br />

The program immediately attempts to access your<br />

modem. If all goes well, you will see the characters<br />

AT followed by an initialization string (commands<br />

that configure the modem), followed by the<br />

modem’s OK response. If you do not see OK, you

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!