Setting up Linux for your BestWeb Account using PPPD
This documentation may or may not have all the information you
need to connect to BestWeb. If it does not, refer to the PPP HOW-TO included with many Linux
distributions or the documentation included with the pppd program. This document also assumes
you are familiar with using an editor such as vi or pico to edit files.
Setting up /etc/resolv.conf
This is the file Linux uses to know what domain it is in and which
nameservers to use.
Add the following lines to your /etc/resolv.conf file:
/etc/resolv.conf
domain bestweb.net
search bestweb.net
nameserver 209.94.100.100
nameserver 209.94.100.200
Setting up the
/etc/ppp/options
file
This file is the main configuration file for
pppd, the program used to dial you into BestWeb. You can read more
about it in the pppd main page. In most cases, you'll only have to
change two lines in the below file. If your modem is a little
older than most, changing 115200 to a slower baud rate (such as
57600, etc) might fix any problems. If your modem goes by a device
name other than /dev/modem, change it according to the table
below.
| COM1 |
/dev/cua0 |
| COM2 |
/dev/cua1 |
| COM3 |
/dev/cua2 |
| COM4 |
/dev/cua3 |
/etc/ppp/options
connect '/usr/sbin/chat -v -f ~/dial'
/dev/modem
115200
defaultroute
noipdefault
debug
crtscts
lock
modem
Phone number
Decide which access number is right for you
to use in the dialing script. If you do not know your local access
number with BestWeb, please Click
Here, or contact our Technical Support toll-free, 24 hours a
day, @ (914) 271-4500 (Local) -
1-877-777-BWEB (Nationwide)
The dialing script
(~root/dial)
This is the login script that pppd uses to
log you into BestWeb. The only settings you should have to change is
USERNAME which should be your username with BestWeb, PASSWORD
which is your password, and the access number provided to you
when you signed up. If you have connection problems, try
changing the AT&F to the initialization string for your
modem. If you're not sure what that is, contact your modem
manufacturer or look in your modem manual for more information.
If you know what brand and model your modem is, but cannot find
an initialization string you can also contact Technical Support
@ (914) 271-4500 (Local) -
1-877-777-BWEB (Nationwide)
for further information on assigning another
particular string.
~root/dial
TIMEOUT 3
ABORT '\nBUSY\r'
ABORT '\nNO ANSWER\r'
ABORT '\nNO CARRIER\r'
ABORT '\nNO DIALTONE\r'
'' AT
'OK' AT&F
'OK' ATDT32615151 <-- or Your local BestWeb Access Number
TIMEOUT 50
'login:' USERNAME
TIMEOUT 2
'word:' "\qPASSWORD"
All finished!
Whenever you wish to connect to the
Internet, it's as simple as typing "pppd" if the pppd
program is in your path. If your shell gives you a command not
found error, type "whereis pppd" to find the full path
to the pppd program and use that instead. Note:
you must be root to use pppd in most cases. To disconnect, type
"kill -9 `cat /var/run/ppp0.pid`" (without the
quotes). If you're having trouble connecting to BestWeb with
pppd, please consult your Linux documentation.
|