Helpdesk


Lonestar Home

Search Lonestar


Webmail

Texas.Net (Business)

Contact Info

Account Info
Change Password
Add Popmail
Spam Filter

Internet Alerts
Virus Alerts
Security Alerts
Hoax Alerts
Spam Email

Helpdesk
General Settings
Windows Setup
Macintosh Setup
Other OS Setup
Internet Software
Email Setup
Usenet News Setup
Web Page Setup
Modem Tips

E-mail Support
Trouble Ticket
Billing Ticket

Software

Parental Controls

Disclaimers
Terms & Conditions
Acceptable Use
Privacy Policy
Legal Text
English Text

Customer Pages

Internet Basics
World-Wide Web
E-mail
USENET News
FTP

Links
Staff Picks
Games
Windows 98
Macintosh
Kids' Links


Linux Setup Instructions

These 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.

/etc/ppp/options

Your /etc/ppp/options file sets your maximum send and receive units, locks the modem so that no other process may use it while online, sets a default route to the PPP connection once you're online, and sets your username. Make sure to replace ' username' with your login name before you try to log on.

Your /etc/ppp/options file should read as follows:

# Global PPP Options File
mtu 1500
mru 1500
lock
crtscts
modem
defaultroute
user username
# end of PPP Options File

/etc/ppp/chatscript

Your /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 chatscript
ABORT 'NO CARRIER'
ABORT 'BUSY'
"" "AT&F"
"OK" ATDT5550000
"CONNECT"
#end chatscript
NOTE: 5550000 is an example number. Click here for our contact numbers

/etc/ppp/pap-secrets

Your /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
# client server secret IP addresses
* * password
# End of Secrets File

/etc/resolv.conf

Your /etc/resolv.conf sets your DNS.

Your /etc/resolv.conf file should read as follows:

nameserver 207.207.0.3
nameserver 206.127.0.3
search texas.net

Connect

Your 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'

Disconnect

Your disconnect file simply kills the pppd process.

Your >disconnect> file should read as follows (all one line):

kill `cat /var/run/ppp0.pid`

Last Notes

The 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.