LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 08-29-2003, 09:25 AM   #1
Bloged
LQ Newbie
 
Registered: Aug 2003
Location: Netherlands, The
Distribution: Ubunty 6.06 (Dapper)
Posts: 9

Rep: Reputation: 0
Start eth0 on boot


Being a real n00b with linux I don't want to mess around in rc.inet1 without some guidiance from you guyss....

What i want to do is to make my eth0 work on boot....

Now I have to do:
modprobe ne io=0x300
dhcpcd eth0

to set it up.....

What lines do I have to change to make it work on boot.....

Thnx in advance

Grtz,

Bloged
 
Old 08-29-2003, 11:54 AM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Add this to your rc.netdevice file in /etc/rc.d:

Code:
# Load module for network device.
# This script is to load your modules for your ethernet or network device.

/sbin/modprobe ne io=0x300
Then make sure you have this in your rc.inet1 file, the part for DHCP:

Code:
# To use DHCP instead of a static IP, set this value to "yes":
DHCP="yes"            # Use DHCP ("yes" or "no")
And make sure you have this in your rc.modules file to load the rc.netdevice file:

Code:
# First, if setup probing found a network card, there may be an 'rc.netdevice'
# file that we should run to load the network module:
if [ -x /etc/rc.d/rc.netdevice ]; then
  . /etc/rc.d/rc.netdevice
fi
You could do all this by hand but its much simpler if you just type netconfig at a console or terminal as root and it should ask to set all this up with easy to do prompts, then attempt to probe your network card for what module it uses... etc.

Hope this helps though.
 
Old 08-30-2003, 01:08 PM   #3
Bloged
LQ Newbie
 
Registered: Aug 2003
Location: Netherlands, The
Distribution: Ubunty 6.06 (Dapper)
Posts: 9

Original Poster
Rep: Reputation: 0
Talking It worked

Thnx for your reply... It worked

I've been a few days to my girlfriend so I couldn't answer any sooner!

Grtz,

Bloged
 
Old 06-11-2009, 11:53 AM   #4
Hasit
LQ Newbie
 
Registered: Jun 2009
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by trickykid View Post
Add this to your rc.netdevice file in /etc/rc.d:

Code:
# Load module for network device.
# This script is to load your modules for your ethernet or network device.

/sbin/modprobe ne io=0x300
Then make sure you have this in your rc.inet1 file, the part for DHCP:

Code:
# To use DHCP instead of a static IP, set this value to "yes":
DHCP="yes"            # Use DHCP ("yes" or "no")
And make sure you have this in your rc.modules file to load the rc.netdevice file:

Code:
# First, if setup probing found a network card, there may be an 'rc.netdevice'
# file that we should run to load the network module:
if [ -x /etc/rc.d/rc.netdevice ]; then
  . /etc/rc.d/rc.netdevice
fi
You could do all this by hand but its much simpler if you just type netconfig at a console or terminal as root and it should ask to set all this up with easy to do prompts, then attempt to probe your network card for what module it uses... etc.

Hope this helps though.
******************

I am facing problem of not booting eth0 at boot.
after booting Ubuntu 9.04, in terminal I have to type sudo dhclietn eth0
then I can connect to internet.
Also I do not have edit commnad on my network connection icon on top panel

What ever you have said above, How to go to such files? I do not know abc of Ubuntu.
This is my first time with LINUX.
PLEASE HELP. In step by step manner. I know nothing.
 
Old 06-11-2009, 12:00 PM   #5
peonuser
Member
 
Registered: Mar 2008
Location: Where ever I am.
Distribution: Various
Posts: 173
Blog Entries: 135

Rep: Reputation: 21
Quote:
Originally Posted by Hasit View Post
******************

I am facing problem of not booting eth0 at boot.
after booting Ubuntu 9.04, in terminal I have to type sudo dhclietn eth0
then I can connect to internet.
Also I do not have edit commnad on my network connection icon on top panel

What ever you have said above, How to go to such files? I do not know abc of Ubuntu.
This is my first time with LINUX.
PLEASE HELP. In step by step manner. I know nothing.
The people at ubuntu are screwing things up. How you boot an interface depends on what you ae using for a network manager. Traditionally all you had to do was edit one file like the following.

$ cat /etc/network/interfaces
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp
 
Old 06-11-2009, 12:09 PM   #6
Hasit
LQ Newbie
 
Registered: Jun 2009
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by peonuser View Post
the people at ubuntu are screwing things up. How you boot an interface depends on what you ae using for a network manager. Traditionally all you had to do was edit one file like the following.

$ cat /etc/network/interfaces
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp
************

from where and how i do above thing?
 
Old 06-15-2009, 04:07 AM   #7
peonuser
Member
 
Registered: Mar 2008
Location: Where ever I am.
Distribution: Various
Posts: 173
Blog Entries: 135

Rep: Reputation: 21
Quote:
Originally Posted by Hasit View Post
************

from where and how i do above thing?
Go to the command line and with your favorite editor with sudo rights

sudo vim /etc/network/interfaces
 
  


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
eth0:1 won't start NRHBasher Red Hat 5 03-13-2005 09:24 PM
Eth0 & Eth1 boot start Up FAILED.. PAOLO_GRS Linux - Networking 1 09-03-2004 07:18 PM
How to (re)start eth0? exitsfunnel Linux - Networking 3 05-18-2004 06:52 PM
eth0 wont start with boot process Splin Linux - Networking 3 04-13-2004 05:55 PM
eth0 just won't start on boot mrsolo Linux - Networking 4 02-10-2004 01:23 PM


All times are GMT -5. The time now is 11:42 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration