two identical wireless network interfaces



Hello,

I have Debian Sarge with two network cards. eth0 and eth1, with eth1
being a wireless PCMCIA card. I used "ifrename -i eth1 -n wlan0" but
the problem is that I can't change the name of wlan0 back to eth1.
Additionally an identical to wlan0 interface has been created named as
wifi0. The iwconfig output is:

Warning: Driver for device wifi0 recommend version 18 of Wireless Extension,
but has been compiled with version 16, therefore some driver features
may not be available...

wifi0 IEEE 802.11b ESSID:"test"
Mode:Master Access Point: 00:00:00:00:00:00 Bit Rate:11 Mb/s
Sensitivity=1/3
Retry min limit:8 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

wlan0 IEEE 802.11b ESSID:"test"
Mode:Master Access Point: 00:00:00:00:00:00 Bit Rate:11 Mb/s
Sensitivity=1/3
Retry min limit:8 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

Is there any way to modify this configuration and change back to the
one before the ifrename? I've searched in the /etc but there is
nothing about wifi0 or the wlan0. Where do Debian take the information
about the interface names actually? My /etc/network/interfaces file
is:

# The loopback network interface
auto lo
iface lo inet loopback

auto eth0
#iface eth0 inet static
#address 192.168.10.1
#netmask 255.255.255.0
iface eth0 inet dhcp
name Ethernet LAN card

auto eth1
iface eth1 inet static
address 192.168.106.1
netmask 255.255.255.0
name Wireless LAN card
wireless-mode Ad-Hoc
wireless-essid homenet


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • [SLE] wireless card help
    ... There's also a standard ethernet card in my PC. ... Ethernet is eth0 for local network, and wireless is wlan0 (auto Yast ... eth1 and wlan0. ...
    (SuSE)
  • Re: Network Problems
    ... It might be listed as wlan0, eth1 anything but lo, eth0. ... The strange part is if I hit cancel it lets me see the files I want to. ...
    (Ubuntu)
  • Re: [PATCH 3/3] net: wireless: bcm43xx: big_buffer_sem semaphore to mutex
    ... eth0 no wireless extensions. ... eth1 no wireless extensions. ... Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 ...
    (Linux-Kernel)
  • Cant send packets via WiFi (possibly route issue)
    ... Adding a default route for eth1 doesn't help - still can't ping my ... Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 ...
    (comp.os.linux.networking)
  • speed up my LAN
    ... mii-tool -l -w eth0 ... Sep 25 01:09:01 dave kernel: eth1: Link changed: ... basic mode: autonegotiation enabled ... basic status: autonegotiation complete, link ok ...
    (comp.os.linux.networking)