56k dialup in console mode
Hello. I'm relatively new to connecting to the Internet over Linux, as this is the first day I've ever connected to the Internet from Linux. I recently bought a 56k serial modem so that I could connect the Internet from Linux. It works perfectly to get me there. I made my connecting with KPPP. Now I would like to know how I can connect to the internet from console mode over the 56k dialup connection to my ISP. Thanks.
|
You should use pppd and chat scripts to connect. Here's my modified setup:
File: /etc/ppp/peers/isp Code:
defaultroute usepeerdns Code:
TIMEOUT 60 Try to dial your ISP using minicom or something like that, if you can log in using your login and password and then the terminal starts to be filled by symbols, this setup will suffice. To dial, use Code:
/usr/sbin/pppd call isp man pppd and man chat would be of great help. |
I tried that and it says there's an error in the first lines of both the script files :(
|
use wvdial
set it up with touch /etc/wvdial.conf && wvdialconf /etc/wvdial.conf then just add phone number username and passwd to /etc/wvdial.conf to dialup type wvdial you might have to dialout as root or use sudo |
Actually the 'isp' file is something like set of options that are parsed by ppp daemon on startup and the chat script (isp.chat) is a dialogue which is performed with your modem (/dev/ttyS0 in that case, if you hve your modem hooked up to anither port, you should change it (/dev/modem is usually set up as a link to the port depending on your distribution). None of them should be processed by shell and they are really working examples taken from my own /etc/ppp dir.
The /etc/ppp/peers directory should have no world rwx permissions . What errors do you get? |
All times are GMT -5. The time now is 10:56 PM. |