Click to See Complete Forum and Search --> : Modem problems
zchas39
07-09-2002, 12:50 PM
i'm having a problem connecting to the internet with my linux box.
i am using a us robotics 56k modem (serial connection).
when i try and use kinternet, the initialisation process works ok, but then the line
pppd: --> stdin not read/write and $MODEM not set
pppd: Connect script failed
comes up and the connection won't work
can anyone help me?
danrees
07-09-2002, 01:05 PM
Where is your modem connected to? The first serial port is /dev/ttyS0 and the second is /dev/ttyS1. There should usually be a link from one of these to /dev/modem so that applications can find your modem easily.
To see if /dev/modem exists, do:
$ ls -l /dev/modem
This will show where /dev/modem points to if it exists, if not, you'll get a message saying
"ls: /dev/modem: No such file or directory"
If it exists and is pointing to the wrong serial port, just remove the link and set it to the other port:
# rm /dev/modem
# ln -s /dev/ttyS0 /dev/modem <--- for serial port 1
# ln -s /dev/ttyS1 /dev/modem <--- for serial port 2
If it doesn't exist, then you can skip the first bit.
NB. $ means run this command in a shell or console as a normal user and # means run this command as root - this is common notation. To run a command as root, simply type su and enter your password - this will temporarily log you in as root, and you can type exit once you have finished.
HTH.
Originally posted by zchas39
i'm having a problem connecting to the internet with my linux box.
i am using a us robotics 56k modem (serial connection).
when i try and use kinternet, the initialisation process works ok, but then the line
pppd: --> stdin not read/write and $MODEM not set
pppd: Connect script failed
comes up and the connection won't work
can anyone help me?
try kppp. you'll have to set it up but it's not difficult. why are you using kinternet anyway for a hardware modem?