Link to home
Start Free TrialLog in
Avatar of ratboy
ratboy

asked on

Installed REDHAT: How Get Connected To Net??

I just installed RedHat and am interested in getting connected to the net.  I have C source code which will be making use of RAW SOCKETS and so TCP/IP.  Getting connected to the net is imperative.

Tanx.
ASKER CERTIFIED SOLUTION
Avatar of schmox
schmox

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ratboy
ratboy

ASKER

Hey there and thanks for the only reply schmox!  I really got lucky.

Well I want to connect to the Internet via Linux.  I will be using a 33.6K Modem (internal modem on COM Port 2), PPP Protocol, a Dynamic IP is given, 2 DNS addresses are given to me.

I will check NETCONF as you said.  I will just run it from my ~/ area and hopefully it will launch (I've been having some probs with finding programs).  I was just in X and played with Network Configuration.  I tried to fill in all the appopriate values for  the PPP section [login name, password, dial-up phone #, COM port for my modem, etc] but when I selected CONNECT the modem never kicked in to dial up the ISP.  At the command prompt I typed: "pppd" and got back the error message:

This system lacks kernal support for PPP.  This could be because PPP Kernal module is not loaded or because the kernal is not configured for PPP.

Does this have something to do with my modem not kicking in?

And one last thing, I noticed when I was filling in values for X's Network Configuration PPP area, there was a box which said EXPECT and had filled in "ogin:" and another box had filled in "word:". For each EXPECT it would output my login name or password.  Now my ISP never told me about any expect items. They just said "Just tell windows to login with name and password from the Dial Up window. Make sure the login window does not pop up after dialing in", something like that.  So, I don't know if the EXPECT items will find what they're looking for if the ISP never told me any!?

Thanks for any help you can provide!!
Sorry for the late reply...

Well, it seems that you have to re-compile your kernel (that's the core of Linux!) because you don't have PPP support yet. For that, you need to install the linux kernel-source package and the kernel-headers package using the RedHat package manager (rpm), which you should find on your Linux CD. The source code should then be in /usr/src/linux.
Go to that directory and type "make menuinstall". Then you can configure the way the kernel will be compiled. In the section "network", for example, you can say if you want to have PPP installed or not. The whole issue of kernel configuration and compilation is quite complex, so I'd suggest you read some HOWTO's. If you've installed them, you should find them in /usr/doc/howtos (or similar), otherwise on your CD. They're also everywhere on the net, e.g. http://www.linux-howto.com.
You should have a look into the following HOWTO's:

1. Kernel HOWTO
2. PPP HOWTO
3. ISP hookup HOWTO

This should solve your problems.

Cheers,
Schmox