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
Reply to: