Linux Setup InstructionsThese instructions are provided 'as is' and are for information purposes only. We hope they will help you setup your Linux box to dial in and create a PPP connection with Texas.Net. This document is not fully supported by the Texas.Net technical support staff. If you have any questions, you may fill out a trouble ticket, and we will assist as far as our limited experience with Linux will allow.
There are 4 files that are necessary to connect to Texas.Net. They are /etc/ppp/options, /etc/ppp/pap-secrets, /etc/ppp/chatscript, and /etc/resolv.conf.
As well as the files listed above, we suggest creating two more files to simplify connecting and disconnecting. They are 'connect' and 'disconnect', and we would suggest putting them in your home directory so that they are easy to get to.
Your /etc/ppp/options file should read as follows:
# Global PPP Options File
/etc/ppp/chatscriptYour /etc/ppp/chatscript file sets the modem abort signals (No Carrier and Busy), sets your init string (AT&F), the phone number (ATDT5550000 where 5550000 is an example number), and what it should expect on a successful connection (Connect). You should change the init string and phone number to the ones that are correct for your modem and location. If you're not sure what they are, give our technical support a call and they can provide you with them.
Your /etc/ppp/chatscript file should read as follows:
#Begin chatscriptNOTE: 5550000 is an example number. Click here for our contact numbers
/etc/ppp/pap-secretsYour /etc/ppp/pap-secrets file simply sets your password. Make sure that you replace 'password' with your password before you try to connect.
Your /etc/ppp/pap-secrets file should read as follows:
# Secrets for authentication using PAP
Your /etc/resolv.conf sets your DNS.
Your /etc/resolv.conf file should read as follows:
ConnectYour connect file starts pppd and tells it to connect using the chatscript file. It also sets the com port your modem is on (/dev/cua1) and the speed at which your modem communicates with your computer (115200). You should set these to match the modem you are using. (Most modems communicate at 115200) To set the com port, use /dev/cua0 for COM1, /dev/cua1 for COM2, /dev/cua2 for COM3, etc.
Your connect file should read as follows (all one line):
/usr/sbin/pppd /dev/cua1 115200 connect 'usr/sbin/chat -f /etc/ppp/chatscript'
DisconnectYour disconnect file simply kills the pppd process.
Your >disconnect> file should read as follows (all one line):
kill `cat /var/run/ppp0.pid`
Last NotesThe last thing you will need to do is set the connect and disconnect files so that they can be executed. At a prompt, type 'chmod o+x connect' and then 'chmod o+x disconnect'. This will set the two files executable by only the owner. You might want to use 'a+x' instead of 'o+x' so that anyone can execute them, but we would suggest using extreme caution in doing so. Another suggestion might be to move the connect and disconnect files into a directory such as '/usr/local/bin', or somewhere in your path so that they can be easily executed.
|©1994-2005, Texas.Net, Inc. All rights reserved.|