LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 01-19-2008, 01:35 AM   #1
Lord Protector
LQ Newbie
 
Registered: Jan 2008
Posts: 1

Rep: Reputation: 0
initrd network support


I've been attempting to add network support to my initrd.

From my attempts, I have been unable to get /dev/eth0 to appear after booting into my initrd (yes, I have made sure /dev is actually mounted).

From what I understood, all that is needed to get a device to appear in /dev is for the appropriate module(s) to be loaded.

Through experimentation, I have determined when booting normally (which networking functions) unloading the module pc32net removes /dev/eth0, and loading the module back reverses the removal of /dev/eth0.

I have ensured that this module (and its dependency 'mii') are loaded when booting into my initrd. I have infact ensured every module that loads during a normal boot loads within my initrd.

I have even unloaded pc32net and mii and loaded back mii then pc32net yet still have not seen /dev/eth0 appear after booting into my initrd.

What else is required to get /dev/eth0 to appear in /dev?

Last edited by Lord Protector; 01-19-2008 at 01:40 AM.
 
Old 01-20-2008, 12:53 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, SolydK 2013
Posts: 7,434

Rep: Reputation: 134Reputation: 134
Quote:
Originally Posted by Lord Protector View Post
I've been attempting to add network support to my initrd.

From my attempts, I have been unable to get /dev/eth0 to appear after booting into my initrd (yes, I have made sure /dev is actually mounted).

From what I understood, all that is needed to get a device to appear in /dev is for the appropriate module(s) to be loaded.

Through experimentation, I have determined when booting normally (which networking functions) unloading the module pc32net removes /dev/eth0, and loading the module back reverses the removal of /dev/eth0.

I have ensured that this module (and its dependency 'mii') are loaded when booting into my initrd. I have infact ensured every module that loads during a normal boot loads within my initrd.

I have even unloaded pc32net and mii and loaded back mii then pc32net yet still have not seen /dev/eth0 appear after booting into my initrd.

What else is required to get /dev/eth0 to appear in /dev?
There is no such thing as /dev/eth0. The network interface is simply called eth0 and it is an integral part of the kernel. You configure eth0 using the ifconfig command. See:

man ifconfig

-----------------------
Steve Stites
 
Old 01-20-2008, 01:40 PM   #3
linux_t_jagadesh
LQ Newbie
 
Registered: Jan 2008
Posts: 2

Rep: Reputation: 0
pls chk with your eth0 file path is /etc/syconfig/network-scripts/ifcfg-eth0
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
network install & initrd help please! Mr_C Slackware 2 05-15-2007 03:42 AM
can anyone post thier .config for kernel without initrd support kushalkoolwal Debian 5 09-24-2006 07:39 PM
compiling kernel without initrd support kushalkoolwal Debian 22 07-03-2006 08:47 PM
needs initrd.img for network installation? linuxozone Fedora - Installation 0 06-21-2004 08:27 AM
initrd support for kernel version 2.4.22 hangover Linux - Newbie 2 12-16-2003 11:49 AM


All times are GMT -5. The time now is 10:45 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