LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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, 06: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, 06:56 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
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, 12:37 PM   #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, 03: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, 06: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, 03: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, 08: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, 01: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, 02: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, 03: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, 04: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, 06: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, 05: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 03:40 AM
eth1 failing on boot, IEEE firewire card driver failing, help jackuss_169 Linux - Laptop and Netbook 5 03-05-2005 08:34 AM
Internet connection failing after ISP login fat_chucky Linux - Newbie 4 09-13-2004 10:46 AM
Failing to connect to Internet myguest Linux - Networking 1 06-22-2004 02:06 PM
internt connection failing on SuSe 9.0 Pro? SamJ Linux - Newbie 2 02-08-2004 06:04 PM


All times are GMT -5. The time now is 08:19 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration