LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   cannot establish dial up connection (https://www.linuxquestions.org/questions/linux-networking-3/cannot-establish-dial-up-connection-189141/)

Mr_C 06-03-2004 02:56 AM

cannot establish dial up connection
 
Ok I had this problem with fedora 2 before and cleared it up (actually it cleared up on reboot; not this time). Having too much frustration at it and hearing the wonders of suse9.1 I finally got it.

fantasitic distro!

1- I have a Conexant modem (will configure later) and a real modem
2- configured serial modem ('query modem' reports alls well)

Situation ; I get to the point where you see 'loggin on to network' and then it immediately drops the connection (timed out as davidphillips said) and redials again; forever

3-I did a 'ln -s /etc/resolv.conf /etc/ppp/resolv.conf
4-I have the resolv.conf cleared up (yes I know I haven't a connection yet)
5- looking at my /var/log/messages....phew that file is huge and I don't understand any of it, so I didn't post it.... If anyone knows where to look I'll post the relevant section.

kbcnetau 06-03-2004 05:35 AM

Diagnostic messages would help!

Try:
cat /var/log/messages | grep pppd

...this should show you the ones relevant to what you're doing. If there's still too much, just grab the last, say, 20 lines of the file by doing:

cat /var/log/messages |grep pppd | tail -20

...then someone should be able to get an idea as to what's what.

Mr_C 06-03-2004 08:42 PM

ok heres the log

Quote:

Jun 1 22:33:54 linux smpppd[8892]: smpppd version 1.16 started
Jun 1 22:40:13 linux pppd[9452]: Plugin passwordfd.so loaded.
Jun 1 22:40:15 linux pppd[9467]: Plugin passwordfd.so loaded.
Jun 1 22:40:15 linux pppd[9467]: pppd 2.4.2 started by root, uid 0
Jun 1 22:40:15 linux pppd[9467]: Failed to open /dev/ttySL0: No such device
Jun 1 22:40:15 linux pppd[9467]: Exit.
Jun 1 22:40:19 linux pppd[9471]: Plugin passwordfd.so loaded.
Jun 1 22:40:19 linux pppd[9471]: pppd 2.4.2 started by root, uid 0
Jun 1 22:40:19 linux pppd[9471]: Failed to open /dev/ttySL0: No such device
Jun 1 22:40:19 linux pppd[9471]: Exit.
Jun 1 22:40:21 linux pppd[9474]: Plugin passwordfd.so loaded.
Jun 1 22:40:21 linux pppd[9474]: pppd 2.4.2 started by root, uid 0
Jun 1 22:40:21 linux pppd[9474]: Failed to open /dev/ttySL0: No such device
Jun 1 22:40:21 linux pppd[9474]: Exit.
Jun 1 23:13:26 linux smpppd[8893]: terminating on signal 15
Jun 2 00:11:51 linux smpppd[1787]: smpppd version 1.16 started
Jun 2 00:18:17 linux smpppd[1783]: smpppd version 1.16 started
Jun 2 00:39:43 linux pppd[3011]: Plugin passwordfd.so loaded.
Jun 2 00:39:44 linux pppd[3011]: pppd 2.4.2 started by root, uid 0
Jun 2 01:03:36 linux smpppd[1558]: smpppd version 1.16 started
Jun 2 01:44:19 linux smpppd[1574]: terminating on signal 15
Jun 2 12:31:09 linux smpppd[1556]: smpppd version 1.16 started
Jun 2 12:45:31 linux smpppd[1576]: terminating on signal 15
Jun 2 12:47:07 linux smpppd[1556]: smpppd version 1.16 started
Jun 2 15:14:10 linux smpppd[1576]: terminating on signal 15
Jun 2 16:52:29 linux smpppd[1561]: smpppd version 1.16 started
Jun 2 17:11:23 linux smpppd[1581]: terminating on signal 15
according to man pppd, its a problem with my isp?????

kbcnetau 06-03-2004 09:37 PM

"Failed to open /dev/ttySL0: No such device" - that give me cause for concern.

This is what I think is happening:

Your modem is plugged into the first serial port, ttyS0 right?

So, you connect to the modem, dial the number, then it tries to make the ppp connection - that is, the actual network connection.

ppp fails - it can't open ttySL0, it gives up.

Conclusion: the device node ttySL0 is missing (I have one on my machine). It's quite likely that this only needs to be a symbolic link to another device, but may need a mknod - getting out of my depth here!

Anybody?

Mr_C 06-03-2004 10:18 PM

true; how come query modem goes throught fine then??????
OK I'm confused.

kbcnetau 06-03-2004 10:32 PM

Query modem goes through ttyS0, ppp is trying to use ttySL0. They have the same PHYSICAL port, but are different devices to the operating system.


All times are GMT -5. The time now is 02:01 AM.