Troubleshooting

Cannot open /dev/ttyS0

If when trying to dial-in to a server, you receive the error:

--> WvDial: Internet dialer version 1.41
--> Cannot open /dev/ttyS1: Input/output error

Then your modem is not set up, or is not configured correctly. You may be trying to use a PCMCIA modem without the PCMCIA cardmgr services running.

LCP timeout

If you cannot connect to a server when dialing in, check your /var/log/messages to see if there is any debugging information. If it contains information similar to below:

pppd 2.4.1 started by root, uid 0
Using interface ppp0
Connect: ppp0 <--> /dev/ttyS1
/etc/hotplug/net.agent: assuming ppp0 is already up
LCP: timeout sending Config-Requests
Connection terminated.
Receive serial link is not 8-bit clean:
Problem: all had bit 7 set to 0
Exit.

Or, on the server you see information similar to this in /var/log/messages:

pppd 2.4.1 started by root, uid 0
Using interface ppp0
Connect: ppp0 <--> /dev/pts/0

You need to add the word local to the /etc/ppp/options on the server so it looks like this:

auth +chap -pap crtscts proxyarp lock local

FIXME: Why is this?