Difference between revisions of "Unrecognized NIC"

From LinuxMCE
Jump to: navigation, search
Line 1: Line 1:
 
[[Category: Hardware]]
 
[[Category: Hardware]]
 
[[Category: Networking]]
 
[[Category: Networking]]
 +
[[Category: Troubleshooting]]
 
Every now and then, people come along with NICs that are not directly supported by LinuxMCE. The following information should help to get even those NICs to work. As an example, the ASUS P5K is used, which is using the Attansic L1 NIC.
 
Every now and then, people come along with NICs that are not directly supported by LinuxMCE. The following information should help to get even those NICs to work. As an example, the ASUS P5K is used, which is using the Attansic L1 NIC.
 
== Modify modules on core ==
 
== Modify modules on core ==

Revision as of 21:18, 1 March 2008

Every now and then, people come along with NICs that are not directly supported by LinuxMCE. The following information should help to get even those NICs to work. As an example, the ASUS P5K is used, which is using the Attansic L1 NIC.

Modify modules on core

To get a NIC to work, you have to modify a file.

sudo <editor-of-choice> /etc/initramfs-tools-interactor/modules

and add a single line for your NICs kernel module. In the above case the name of the module is

atl1

After adding the above line, go into the web admin and select Media Orbiter. Click "Setup Diskless MD". This will create a new initial ramdisk for the first boot of new MDs containing the atl1 module. Now, the first boot of the diskless MD will succeed and a new diskless media director will be created.

Modify the media director initial ramdisk

To boot this diskless MD later on, the configuration for this new device has to be modified to include the above line as well. Look in the directory structure under /usr/pluto/diskless. Each media director has a directory named with the ID of the director in here. Go into the /usr/pluto/diskless/<mediadirector-id>/etc and edit the file modules to also contain

atl1

Also, go into /usr/pluto/diskless/<mediadirector-id>/etc/initramfs-tools-interactor and put the line into a file called modules. After this, chroot into the directory of the media directory, and re-create the initial ramdisk.

To create a new initial ram disk the command is

cd /usr/pluto/diskless/
chroot <mediadirector-id>
cd /boot
mkinitramfs -o initrd.img-`uname -r` `uname -r`
exit

Now reboot your media director. Everything should come up, the way it is meant to.

Caveat

Whenever you click Regenerate this media director, you have to redo the step for the initial ramdisk of the media director. The above steps do not work, if the media director and the core utilize two different CPU architectures,ie. one is using AMD64 the other i386 (chroot won't work).