LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 03-10-2003, 05:30 PM   #1
taz76
LQ Newbie
 
Registered: Mar 2003
Location: UK
Distribution: Mandrake 9.0
Posts: 27

Rep: Reputation: 15
failing Internet connection


Hi

I installed mandrake 9.0 a few days ago. I am connected to a cable broadband service (modem connected to a NIC). Every time I start the computer i have to go to Control Center and run the wizard to detect the connection. When I reboot it's not there, and I have to run the wizard again. Any suggestions on how to make it connect on boot?

thanks
 
Old 03-10-2003, 05:56 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
check you have a file /etc/sysconfig/network-scripts/ifcfg-eth0 that says:

DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes

should normally be all you need when you reboot. as long as your network card is already set up with the correct driver
 
Old 03-11-2003, 11:37 AM   #3
taz76
LQ Newbie
 
Registered: Mar 2003
Location: UK
Distribution: Mandrake 9.0
Posts: 27

Original Poster
Rep: Reputation: 15
ifcfg-eth0 contains those lines. I am sure the NIC is OK. It's just I have to run Conterol Cener evey time to detect the settings. I don't know why.
 
Old 03-11-2003, 02:42 PM   #4
rickenbacherus
Member
 
Registered: Mar 2003
Location: colorado springs. colorado
Distribution: Debian-Sid 2.6.24-rt1
Posts: 290

Rep: Reputation: 30
Are you using STATIC IP or DHCP. If DHCP is it set to broadcast on boot as well?
 
Old 03-11-2003, 05:54 PM   #5
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
If all else fails, try running netconfig from command line. This should set everything up for you. Make sure you've got all your ISP info (primary and secondary DNS, DHCP server IP address and DHCP server name--if needed). This should get your cable modem connection working for you. Hope this helps.
 
Old 03-12-2003, 02:31 AM   #6
taz76
LQ Newbie
 
Registered: Mar 2003
Location: UK
Distribution: Mandrake 9.0
Posts: 27

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Texicle
If all else fails, try running netconfig from command line. This should set everything up for you.
it says 'command not found'
 
Old 03-12-2003, 07:07 AM   #7
rickenbacherus
Member
 
Registered: Mar 2003
Location: colorado springs. colorado
Distribution: Debian-Sid 2.6.24-rt1
Posts: 290

Rep: Reputation: 30
Are you using STATIC IP or DHCP. If DHCP is it set to run on boot? Go to the control center, run the configurator and ther is a box to check that starts DHCP on boot. Is it already checked?
 
Old 03-12-2003, 12:40 PM   #8
taz76
LQ Newbie
 
Registered: Mar 2003
Location: UK
Distribution: Mandrake 9.0
Posts: 27

Original Poster
Rep: Reputation: 15
I couldn't find it in the Control Center. I went throught he list of services a few times, but I am afraid I can't find it.

I am using DHCP, it's checked in the wizard when I detect the network.
 
Old 03-12-2003, 01:01 PM   #9
tcaptain
LQ Addict
 
Registered: Jul 2002
Location: Montreal
Distribution: Gentoo 2004 from stage 1 baby!
Posts: 1,403

Rep: Reputation: 45
Quote:
Originally posted by taz76
it says 'command not found'
Just checking...

Are you running as root? As a user you may not have the correct permissions or path...
 
Old 03-12-2003, 02:32 PM   #10
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
Quote:
Originally posted by tcaptain
Just checking...

Are you running as root? As a user you may not have the correct permissions or path...
Absolutely correct. I should have stated to run it as root. Sorry about that. If you're logged into the CLI with your user account type the following:

su -
password: <type root password>

netconfig

This should get you going. If you still have problems, let us know.
 
Old 03-13-2003, 03:12 AM   #11
taz76
LQ Newbie
 
Registered: Mar 2003
Location: UK
Distribution: Mandrake 9.0
Posts: 27

Original Poster
Rep: Reputation: 15
beleive it or not, it still says that command is not found I tried it with su, I even logged on as a root just i case, but no, it's not working.
 
Old 03-17-2003, 05:07 PM   #12
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
Quote:
Originally posted by taz76
beleive it or not, it still says that command is not found I tried it with su, I even logged on as a root just i case, but no, it's not working.
Sorry it's been so long since I've replied, but anyway, try typing, as root:

/sbin/netconfig

and see if it works. I don't know why it didn't work as root though. That's weird.

I would also check your /etc/modules.conf file to make sure that you've got an "alias eth0 <modulename>" line in there. Check your /etc/rc.d/rc.modules (might be called something different in Mandrake) and make sure that the line with your module's name is uncommented (no # at beginning of line). There should also be a /etc/rc.d/rc.local (again, could be a different name) in which you can add a line to activate dhcpd to have it run at boot. Dhcpd is your dhcp daemon that will try to grab an IP from your ISPs dhcp server. If I am wrong, please someone correct me here--thanks.

However, it should work in theory. Hopefully this helps.
 
Old 03-25-2003, 04:56 AM   #13
taz76
LQ Newbie
 
Registered: Mar 2003
Location: UK
Distribution: Mandrake 9.0
Posts: 27

Original Poster
Rep: Reputation: 15
thanks for your help, I'll try it in a bit. I noticed this message when I started Mandrake:

Bringing up interface eth0: ne device does not seem to be present, delaying eth0 initialization
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cyberoam connection client is failing to connect! pradeepmenon777 Mandriva 5 12-31-2005 02:40 AM
eth1 failing on boot, IEEE firewire card driver failing, help jackuss_169 Linux - Laptop and Netbook 5 03-05-2005 07:34 AM
Internet connection failing after ISP login fat_chucky Linux - Newbie 4 09-13-2004 09:46 AM
Failing to connect to Internet myguest Linux - Networking 1 06-22-2004 01:06 PM
internt connection failing on SuSe 9.0 Pro? SamJ Linux - Newbie 2 02-08-2004 05:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration