From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean Tourrilhes Date: Fri, 21 Nov 2003 17:22:11 +0000 Subject: Re: [PATCH] All my Pcmcia cards are 'eth0' Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Thu, Nov 20, 2003 at 07:40:58PM -0800, Randy.Dunlap wrote: > On Thu, 20 Nov 2003 22:28:19 -0500 Bill Nottingham wrote: > > | Jean Tourrilhes (jt@bougret.hpl.hp.com) said: > | > One of the main problem is that they are all assigned 'eth0', > | > and therefore all configured with the same IP address. This is really > | > pathetic. > | > > | > The usual answer is : you should use 'nameif' : > | > http://www.xenotime.net/linux/doc/network-interface-names.txt > | > Well, of course, nobody ever bothered to try it, so it doesn't > | > work. No comments. > | > | Well, no offense, but I'd think comments are necessary about no > | one bothering to try it and it not working. I've had an orinoco_cs > | device 'bob' using nameif for a while. > > Jean, have you given me any feedback on that small howto and it > not working? If so, I've missed it and I apologize for that. I may be real dense, but your Howto only describe using nameif at boot time, which is mostly useless for Pcmcia cards (unless you want to solder Pcmcia cards in their slots). > I use that method both at home and at work all the time, > with no problems, but I haven't tried it with PCMCIA cards, so > that's something that might need some work, as you have discovered. That's the point. If you want it to work with Pcmcia cards (and other dynamic devices such as USB), 'nameif" *must* be called from the hotplug scripts (pretty obvious, isn't it ?). And currently you can't do that properly, which is the reason of my changes. Note that once you add nameif in the hotplug scripts, you no longer need to call it at boot time, so with one bird you kill two stones. > ~Randy Thanks for looking into that. Jean ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel