Two things.
First, ensure you have PPP configured.
Type `pppd' at the command prompt and see if you get garbage on the screen (it stops after a bit). If you do then go to second step, if not you will need to install PPP and recompile the kernel.
Second, I got this from someone after trying to connect unsuccessfully for three days, it worked first try.
This is what I used from my ISP and it worked good. Now all I have to
do is type ppp-on and boom, Im connected!!!
System Requirement : PPP Daemon (pppd-2.1.2 or higher)
You will need to create the following files to
connect to us:
/usr/sbin/ppp-on
/etc/ppp/options
/etc/ppp/ppp-dialer
/etc/ppp/pap-secrets
/usr/sbin/ppp-on:
#!/bin/sh
echo "Enter the number to dial: "
read NUMBER
export NUMBER
/usr/sbin/pppd
/etc/ppp/options:
lock
domain wt.net
ipcp-accept-local
ipcp-accept-remote
connect /etc/ppp/ppp-dialer
crtscts
defaultroute
debug
modem
/dev/ttyS3
#Change /dev/ttyS3 to your modem port
# /dev/ttyS0 is COM1:
# /dev/ttyS1 is COM2:
# /dev/ttyS2 is COM3:
# /dev/ttyS3 is COM4:
38400
noipdefault
#Change bogus to your username
user bogus
/etc/ppp/ppp-dialer:
#!/bin/sh
# Some of the following lines contain
# ' and " for quoting. Please note
# that both are made with the ' symbol
# Please do not use the "Shift
# apostrophe" Key to make the " symbol
# Just hit the ' key twice.
# The OK "ADTD $NUMBER" \ line
# DOES use the Shift apostrophe key
# for the quotes
/usr/sbin/chat -v \
ABORT BUSY \
ABORT 'NO CARRIER' \
TIMEOUT 60 \
'' ATZ \
OK 'AT+FCLASS=0' \
OK 'AT&F&C1&D2' \
OK "ATDT $NUMBER" \
CONNECT
/etc/ppp/pap-secrets:
# Change "bogus" to your username and
# "bogus_password" to your password in clear text
bogus * bogus_passwd
/etc/resolv.conf:
domain wt.net
nameserver 205.230.159.9
nameserver 205.230.159.7
Connecting to us:
Make sure some file permission is set
correctly by executing the following command:
$ chmod a+x /etc/ppp/ppp-dialer /usr/sbin/ppp-on
Make sure you have
/usr/sbin/pppd and
/usr/sbin/chat binary
executables.
Then type in the following:
$ /usr/sbin/ppp-on
Enter the phone number to dial:
713-843-6878
To Check to see if you are connected:
$ tail /var/log/messages
(you will see messages from the pppd)
Goodluck!
Have Fun :-)
Sterling
|
|