Hi Joel HATSCH, Joel HATSCH wrote: > Hi * > > habe folgendes Problem : > auf meinem Laptop habe ich *entweder* eine Ethernet PCMCIA Karte dran, > oder eine PCMCIA Wlan-Karte. > nun wollte ich die eine als eth0 und die andere als eth1 im > /etc/network/interfaces konfigurieren, leider scheint das hotplug (oder > was auch immer) die vorhandene Karte als eth0 ifup'en zu wollen. > > wie kann ich das ändern ? Die Namen kommen direkt vom Kernel. Umbenennen kann man sie mit ifrename. Ich empfehle dir aber "man interfaces" Sektion "KNOWN BUGS/LIMITATIONS". |The ifup and ifdown programs work with so-called "physical" interface names. These names are assigned to hard- |ware by the kernel. Unfortunately it can happen that the kernel assigns different physical interface names to |the same hardware at different times; for example, what was called "eth0" last time you booted is now called |"eth1" and vice versa. This creates a problem if you want to configure the interfaces appropriately. A way to |deal with this problem is to use mapping scripts that choose logical interface names according to the properties |of the interface hardware. See the get-mac-address.sh script in the examples directory for an example of such a |mapping script. See also Debian bug #101728. Da siehst du, wie man mit einem Skript ein Mapping realisiert. Du könntest damit dann eth0 (Ethernet oder Wlan) nach eth0-ethernet und eth0-wlan mappen. Gruß Martin -- Martin Theiß <mtheiss@neo.wh-stutgart.de> GPG-Fingerprint: EC80 53A2 F0A2 6E6C 74D2 CB6E 002A F6D3 E78B 7F45 The box said 'Requires Windows 95 or better', so I installed Linux - TKK 5
Attachment:
signature.asc
Description: Digital signature