Getting PPP running on Redhat 4.1

I have just installed RedHat Linux 4.1 on a new system, and can't seem to get networking going.  On my previous system, I managed to get it going by trial and error hacking, but would like to do it "right" this time (especially since I can't remember what I did before!).  

My initial kernel build had modules enabled; I got the old favorite problem with incompatible versions and undefined symbols in modules, and finally in disgust, disabled the modular kernel stuff and compiled everything right into the bloody kernel.  

I used RedHat's control panel for network setup and configured a ppp0 device as per instructions.  I made sure I had the loopback device configured, and made sure that networking was enabled in the kernel.  

On my previous system, I used Dip to dial up my ISP;  I am using the exact same script on this system, which dials and connects uneventfully.  However, when it gets to the very last step, switching to PPP mode, it drops the line.  I tried going through the whole procedure manually so I could see the dialog, and all looks normal.  I suspect that Dip is unable to make a socket connection or whtever the kernel uses, and bails out, but that is only a guess.

BTW, I have OS/2 installed in another partition on this system, and it connects happily to the same ISP through the same modem;  therefore, I am quite sure I am dealing with a Linux configuration issue here, not a hardware problem.

Any ideas?  What should I check?


Justin Harlow
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

recompile your kernel with TCP/IP networking enabled,
as well as PPP. BTW, you can make them modules if you
install kerneld and make "make modules; make modules_install"
afterward. Then write a simple script for "chat" (from "pppd")
or send me your email and I'll send you mine as attachemnt,
but this should not be necessary - it's rather simple

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
You can also make a PPP script in the /usr/doc/ppp-...../scripts/ppp-on
Edit this file with the appropiate numbers and launch it with
./ppp-on, check first on what device your modem is !

harlowAuthor Commented:
Thanks to all.  I went back to square 1 and rebuilt the kernel.  This time, I enabled some of the network things (e.g. Ethernet) that I had disabled before, and pretty much let it have its way on defaults.  Now it seems to work fine, although I really don't know which of the changes made the difference.  Oh well...
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.