Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
cancel
Showing results for 
Search instead for 
Did you mean: 

internet in linux

Basavaraj
Advisor

internet in linux

My PC (HP Pavilion 4563z)has RH Linux 7.2 and Win 98 on the same hard disk. I'm unable to coonect to internet from linux partition. I used wvdial to dial-up. The /var/log/messages file has:
ppp0 initialized
Remote message: ^@
CHAP authentication failed
Connection terminated


Windows has HP EN1207D-TX 100/10 Fast Ethernet Adapter. I tried installing RTL8139 driver for linux. I'm unable to compile this driver in linux with "make" command, get en error 'cannot compile against the same version of kernel.....'

Please help.
Thanks.
Confidence pays
7 REPLIES
John Meissner
Esteemed Contributor

Re: internet in linux

you're dialing up right? not connecting through a network?

when dialing up I have had problems as well....

I have a Dell Latitude C600 running Windows2000 and RedHat 8.0

My modem on my laptop is a: 3com 56k v.90 Mini PCI modem

in windows it uses:
3cwmunst.exe and
wdhabbg.sys
for it's drivers......

since I use highspeed internet at home I've never "had" to connect with a modem before but I tried at a hotel and it didn't work.

I've heard that if you have a winmodem (or a regular modem for that matter) that you need to make sure you have the correct drivers installed. I've just never bothered to fix my problem..... if you do manage to fix it then let us know what you did.
All paths lead to destiny
Bruce Copeland
Trusted Contributor

Re: internet in linux

I don't think you'd be getting these kinds of messages in your log if this was a hardware problem. Check to make sure you have the correct dialup settings for your ISP in wvdial. Does your ISP actually use CHAP for login authentication?. You might even see if your ISP has instructions for setting up a login from Linux (many do).

Bruce
Balaji N
Honored Contributor

Re: internet in linux

hi basavaraj,

who is ur isp. a couple of links below might help in connecting to ur isp.
http://www.hserus.net/dialup.html
http://linuxindia.virtualave.net/vsnlcon.html
both these howto's have been put by members of the hyderabad linux users group in india.

-balaji
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.
Basavaraj
Advisor

Re: internet in linux

I tried to gather info from the above sites. I'm in US and am trying to connect to internet via wvdial using a modem. It connects to the ISP and terminates with a CHAP authentication failed message, notifying that it recieved a bad password. Well, I checked....the uid/passwd are correct. I'm baffled. Any help is appreciated.
Confidence pays
Bruce Copeland
Trusted Contributor

Re: internet in linux

Dialup configuration is actually pretty complex (lots of relevant files in different locations) and a single wrong line or character is sometimes all it takes to make things fail.

I use Redhat 8, so the locations of your files MAY be different. In /etc/ppp I have 2 files named pap-secrets and chap-secrets. Their structure is very similar, so I'll show only the contents of chap-secrets:

# Secrets for authentication using CHAP
# client server secret IP addresses
####### redhat-config-network will overwrite this part!!! (begin) ##########
"bruce" * "XF86working"
####### redhat-config-network will overwrite this part!!! (end) ############

You should have your username in double quotes followed by a space and a tab, then an asterisk a space and a tab, and finally your password in quotes followed by a space.

Then in the /etc/wvdial.conf file there is a section

[Dialer myISP]
Username = bruce
Password = XF86working
Phone = xxxxxxx
Inherits = Modem0

where Modem0 is an earlier configuration section.

Then in /etc/sysconfig/networking/profiles/default there is a file called ifcfg-myISP that has (in addition to many other lines)

PAPNAME='bruce'
WVDIALSECT=myISP

The same file is located at /etc/sysconfig/networking/devices

And finally I have a file /etc/sysconfig/network-scripts/ifcfg-ppp0 that has the same content as the two ifcfg-myISP files above.

Hopefully this is enough to get you started. I presume the other files you need are OK because you wouldn't have gotten as far as you have without them.

Bruce
Basavaraj
Advisor

Re: internet in linux

Thanks Bruce for your tips. Tried that too. Even then I'm getting the same CHAP authentication failed messages?? What else could it be?
Confidence pays
Basavaraj
Advisor

Re: internet in linux

What should the file /etc/ppp/options have in it? This file on my system only has "lock" text, is it right? Any help appreciated.
Confidence pays