Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Red Hat 9, kppp 2.4.1, Actiontec PM560LKC, which is a PCI hardware modem...Modem dials ISP and connects, I can exchange Username and Password via terminal or script, then I receive the following:
Entering PPP mode.
Async interface address is unnumbered (Loopback0)
Your IP address is 0.0.0.0. MTU is 1500 bytes
Well, that is waiting for the CTRL-]. The 'garbage' comes in sections, each section added 1-2 seconds later. This is the place where, in the terminal, you send the manual accept. Any reason why you are using terminal or script instead of just normal authentication?
RO
I remember that from wayyyy back in Redhat 5.0, with a manual dial script, I would wait for the garbage to start, then CTRL-]
I sure appreciate your response! I tried PAP,CHAP,PAP/CHAP...Red Hat was sure I had a Win Modem, but it worked under Red Hat 8. My Compaq board went south, so I bought a new board, and figured I'd get the latest Linux distro. Everything else works great but it never did log on. When I tried kppp console, I got to where I'm at now. I'll try your suggestion. Thanks again.
That is too weird. Everything seems to be working, but as you said, you tried PAP, CHAP, etc and they didn't autoconnect. Anyway, hopefully, the command works.
No luck! Here's the PPP log from latest attempt (using PAP/CHAP).
May 16 17:37:36 localhost pppd[5284]: pppd 2.4.1 started by root, uid 0
May 16 17:37:36 localhost pppd[5284]: Using interface ppp0
May 16 17:37:36 localhost pppd[5284]: Connect: ppp0 <--> /dev/ttyS4
May 16 17:38:06 localhost pppd[5284]: Terminating on signal 15.
May 16 17:38:12 localhost pppd[5284]: Connection terminated.
May 16 17:38:12 localhost pppd[5284]: Receive serial link is not 8-bit clean:
May 16 17:38:12 localhost pppd[5284]: Problem: all had bit 7 set to 0
May 16 17:38:12 localhost pppd[5284]: Exit.
Actiontec offers these instructions:
# setserial /dev/ttyS3 port 0xXXXX spd_vhi skip_test auto_irq autoconfig
then
# setserial /dev/ttyS3 uart 16550A
I tried that, and lost the modem, so I reinstalled RH9, to make sure I hadn't screwed anything else up, and I am back where I started! Any input is greatly appreciated!
This isn't AOL is it? 15 is
"The link was terminated because the peer is not responding to echo requests."
I have 2 dialups, one for work, one stale that I didn't delete after getting DSL, and both have
PAP/CHAP selected. In kppp, Setup-->Device, what is your flow control set to. Mine is hardware.
Also, you are trying kppp as root, and not sudo on kppp? One last thing, in a console, as root,
tail -f /var/log/messages
There may be more by way of logs than the basic from kppp. I found this, but it didn't give me any ideas on your problem. It explains the 8 bit not serial clean though...
May 16 20:10:59 localhost modprobe: modprobe: Can't locate module ppp
May 16 20:10:59 localhost modprobe: modprobe: Can't locate module ppp0
May 16 20:10:59 localhost kernel: CSLIP: code copyright 1989 Regents of the University of California
May 16 20:10:59 localhost kernel: PPP generic driver version 2.4.2
May 16 20:10:59 localhost pppd[5125]: pppd 2.4.1 started by root, uid
May 16 20:10:59 localhost pppd[5125]: Using interface ppp0
May 16 20:10:59 localhost pppd[5125]: Connect: ppp0 <--> /dev/ttyS4
May 16 20:10:59 localhost /etc/hotplug/net.agent: assuming ppp0 is already up
May 16 20:11:29 localhost pppd[5125]: Terminating on signal 15.
May 16 20:11:35 localhost pppd[5125]: Connection terminated.
May 16 20:11:35 localhost pppd[5125]: Receive serial link is not 8-bit clean:
May 16 20:11:35 localhost pppd[5125]: Problem: all had bit 7 set to 0
May 16 20:11:35 localhost pppd[5125]: Exit.
May 16 20:10:59 localhost modprobe: modprobe: Can't locate module ppp
May 16 20:10:59 localhost modprobe: modprobe: Can't locate module ppp0
and
May 16 20:10:59 localhost /etc/hotplug/net.agent: assuming ppp0 is already up
That 'assuming that ppp0 is already up', after the ppp0 module not located tells me that
pppd is trying to attach to an interface/module that doesn't exist, and therefore, the
dialin fails. I don't know how, but you have to resolve ppp and ppp0 modules. You may
want to try the Redhat mailing lists, or head over to FC1, I would be willing to be that
others have the same problem. Sorry I can't help more.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.