public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* network interface names ethX and renaming interfaces
@ 2001-12-06 23:05 Hein Roehrig
  2001-12-10  7:45 ` Neale Banks
  0 siblings, 1 reply; 2+ messages in thread
From: Hein Roehrig @ 2001-12-06 23:05 UTC (permalink / raw)
  To: linux-kernel

Hello *,

in Linux 2.2.20 I have a problem renaming the network interface dummy0
to eth0 and then starting a regular ethernet driver --- I would like
it to come up as eth1 but it comes up as eth0, messing up the dummy0
interface.

Reading the source, it appears that in init_ethernev(), ethernet
drivers claim device names according to the array ethdev_index and
shoot down any device name eth0 claimed by a non-ethernet driver.

Therefore it appears to me that SIOCSIFNAME should either disallow
renaming to ethX or it should adjust ethdev_index.

Thanks in advance for any comment/advice,
Hein



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-12-10  7:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-06 23:05 network interface names ethX and renaming interfaces Hein Roehrig
2001-12-10  7:45 ` Neale Banks

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox