| How to change the
dial in number
Sometimes your server
fails to connect to your ISP because the particular number you are
dialing is having problems. This is usually the case if you do not hear
the "handshake" after dialing. Changing the phone number may solve the
problem. Find out from your ISP what other numbers you can try. This is
how to change the phone number you are dialing:
For
Redhat Linux servers:
cd
/etc/ppp/ [ENTER]
Look for a file called
pppd-args-chat.zol. That is the phone number file.
vi
pppd-args.chat.zol
Make necessary changes
and save the file.
For
Fedora Core 1:
cd
/etc/ppp/ [ENTER]
vi phonenumber [ENTER]
This command opens up
the file "phonenumber" for editing. You should find a line that says
something like:
ABORT 'NO CARRIER'
ABORT BUSY '' ATZ OK ATDT760400 CONNECT
The number that comes
after the letters ATDT is the current phone number (760400 in the
example)
Press I to get into
insert mode. You should see -- INSERT -- at the bottom left hand corner
of your screen. Move the cursor to the end of the phone number using
the arrow keys, and use the BackSpace key to remove the number. Retype
the new number. When you are done, press Esc to get out of insert mode.
Type :x and press enter ([COLON] x [ENTER]) to save your changes.
If you make a mistake
and want to quit the phonenumber file without saving, press Esc, type
:q! and press Enter ([COLON] q! [ENTER]). This should get you back to
the command prompt and you can retype the vi phonenumber command to
start afresh
For
Fedora Core 3
If your server runs a
graphical interface, you may have a shortcut on the desktop called
"Change Phone Number" which, after double-clicking, should
automatically open the correct file for you to edit. If not, type these
commands at the terminal:
cd
/etc [ENTER]
vi wvdial.conf
[ENTER]
This command opens up
the file "wvdial.conf" for editing. You should find a line that begins:
Phone Number=
The number that comes
after the equals is the current phone number
Press I to get into
insert mode. You should see -- INSERT -- at the bottom left hand corner
of your screen. Move the cursor to the end of the phone number using
the arrow keys, and use the BackSpace key to remove the number. Retype
the new number. When you are done, press Esc to get out of insert mode.
Type :x and press enter ([COLON] x [ENTER]) to save your changes.
If you make a mistake
and want to quit the wvdial.conf file without saving, press Esc, type
:q! and press Enter ([COLON] q! [ENTER]). This should get you back to
the command prompt and you can retype the vi wvdial.conf command to
start afresh.
If you do not find the line mentioned above, follow the instructions
detailed under Fedora Core 1.
|