[lkml]   [1996]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: arbitrary ethernet devices?
"Michael K. Johnson" <> wrote: 

> Erik Troan and I just noticed that with kerneld (at least),
> ethernet devices (at least) have to be accessed in order and be
> consecutive. That is, say that you have an /etc/conf.modules file
> containing alias eth5 3c509 kerneld will not load the module when
> you run "ifconfig eth5 <ip_address>", and so ifconfig will
> respond "SIOCSIFADDR: No such device".

> This appears to mean that interfaces must be brought up in order.

> Is there any particular reason for this?

When you insert an ethernet module, it is named in order. That is,
when you ifconfig eth5, kerneld loads the 3c509 module, but it gets
named as eth0. Thus eth5 is not present and you get SIOCSIFADDR. Do
a lsmod after the ifconfig, and you should have 3c509 loaded (but
configured as eth0).


GM/CS/S d? a-- C++(+++) UL++(+++)>++++ P++>+++ L+++>++++ E---
W-(+) N+(++) w--- O M-(--) V-(--) PGP(--) b++(+++) G++ e>++++

 \ /
  Last update: 2005-03-22 13:38    [W:0.018 / U:0.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site