| Dialer Setup For Linux
|
Method #1
- Step #1 Help Linux find your modem
The first step is to tell Linux exactly where your modem is connected to your computer. Change your current working directory to /dev. Create a soft link to the serial port your modem is attached to by typing ln -s ttySx modem. Replace x using the the following guidelines:
ttyS0 = com1
ttyS1 = com2
ttyS2 = com3
ttyS3 = com4
Notice the pattern set forth by the following example. These guidelines should assist you in selecting the proper settings. But just in case your still not catching on - My modem is on com2, so I would type ln -s ttyS1 modem. You can confirm that Linux has made a link to your modem by typing ls -al modem. If you see something like -
lrwxrwxrwx 1 root 5 Mar 14 14:33 modem -> ttyS1
then you've completed step #1. If there is already a link to modem, but it's not correctly linked to the right serial port, just type rm modem to get rid of it and start over. When you are successful, go to the next step.
Step #2 Change the speed for the serial port your modem is attached to by typing:
stty 115200 < ttySx. Again replacing x as above.
Step #3 Edit and place files
Edit the following files and place them in the proper directories with the correct permissions. Do this only if you already know how to use a unix editor such as vi, joe, pico, or emacs. The following is an example of how to change permissions for a file:
chmod 0644 resolv.conf (enter)
1. /etc/ppp/ppp-on-dialer - Place this file in your /etc/ppp/ directory with the permission set to 0755.
2. etc/ppp/ppp-on - Place this file in your /etc/ppp/ directory with the permission set to 0755.
a. Replace ACCOUNT=username@hex.net with your e-mail address at hex.net.
b. Replace PASSWORD=your password with your actual password at hex.net.
c. Replace TELEPHONE=817-558-2209 with your local access number to hex.net.
3. /etc/ppp/ppp-off - place this file in your /etc/ppp/ directory with the permission set to 0755.
4. You will type /etc/ppp/ppp-on at the system prompt to dial into Hex.Net or ./ppp-on if you are already in the /etc/ppp directory.
5. To disconnect, you must type /etc/ppp/ppp-off at the system prompt or ./ppp-off if you are already in the /etc/ppp directory.
6. If you would like, you can always create an icon on your Xwindows desktop that points to /etc/ppp/ppp-on and /etc/ppp/ppp-off. This will allow access from your desktop.
|
|