Where is wlan0, I've only got ethX
Sarangan Thuraisingham
sarangan.thuraisingham at gmail.com
Mon Nov 14 03:01:26 UTC 2005
Jay Strauss wrote:
> Hi,
>
> I just did a new install of breezy on a Thinkpad A30. It has a wireless card
> (prism 2.x). But when I do ifconfig -a all I have are 'eth' entries. Same
> goes when I do iwconfig
>
> Furthermore I only have 2 NICs in this machine, a 10/100 wired and a wireless
> where is "eth2" coming from?
>
> Why don't I have a wlan0 entry?
>
> Do I need to do something different during installation?
>
> Thanks
> Jay
>
> (Below are outputs from commands I thought you might need to see)
>
> jstrauss at ubuntu:~$ ifconfig -a
> eth0 Link encap:UNSPEC HWaddr
> 00-20-E0-89-8F-E2-00-79-00-00-00-00-00-00-00
> -00
> inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
> BROADCAST MULTICAST MTU:1500 Metric:1
> RX packets:2363 errors:0 dropped:0 overruns:0 frame:0
> TX packets:36 errors:0 dropped:111 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:262887 (256.7 KiB) TX bytes:3805 (3.7 KiB)
> Interrupt:11 Memory:d8ae0000-d8ae1000
>
> eth1 Link encap:Ethernet HWaddr 00:D0:59:83:5F:D2
> inet addr:192.168.1.119 Bcast:192.168.1.255 Mask:255.255.255.0
> inet6 addr: fe80::2d0:59ff:fe83:5fd2/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:10031 errors:0 dropped:0 overruns:0 frame:0
> TX packets:9218 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:5891595 (5.6 MiB) TX bytes:1096907 (1.0 MiB)
>
> eth2 Link encap:Ethernet HWaddr 00:20:E0:89:8F:E2
> inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
> BROADCAST MULTICAST MTU:1500 Metric:1
> RX packets:1140 errors:0 dropped:837 overruns:0 frame:0
> TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:115837 (113.1 KiB) TX bytes:3461 (3.3 KiB)
> Interrupt:11 Memory:d8ae0000-d8ae1000
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> inet6 addr: ::1/128 Scope:Host
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> RX packets:45 errors:0 dropped:0 overruns:0 frame:0
> TX packets:45 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:3904 (3.8 KiB) TX bytes:3904 (3.8 KiB)
>
> sit0 Link encap:IPv6-in-IPv4
> NOARP MTU:1480 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
>
> jstrauss at ubuntu:~$ cat /etc/network/interfaces | grep -v \#
>
> auto lo
> iface lo inet loopback
>
> mapping hotplug
> script grep
> map eth1
>
> iface eth1 inet dhcp
>
> auto eth2
> iface eth2 inet static
> address 192.168.1.2
> network 192.168.1.0
> netmask 255.255.255.0
> broadcast 192.168.1.255
> gateway 192.168.1.1
>
>
> jstrauss at ubuntu:~$ iwconfig
> lo no wireless extensions.
>
> eth1 no wireless extensions.
>
> Warning: Driver for device eth0 recommend version 18 of Wireless Extension,
> but has been compiled with version 17, therefore some driver features
> may not be available...
>
> eth0 IEEE 802.11b ESSID:"StayOffChannelOne"
> Mode:Managed Frequency:2.412 GHz Access Point: 44:44:44:44:44:44
> Bit Rate:11 Mb/s Sensitivity=1/3
> Retry min limit:8 RTS thr:off Fragment thr:off
> Power Management:off
>
> eth2 IEEE 802.11b ESSID:"StayOffChannelOne"
> Mode:Managed Frequency:2.412 GHz Access Point: 44:44:44:44:44:44
> Bit Rate:11 Mb/s Sensitivity=1/3
> Retry min limit:8 RTS thr:off Fragment thr:off
> Power Management:off
> Link Quality=30/70 Signal level=-66 dBm Noise level=-97 dBm
> Rx invalid nwid:0 Rx invalid crypt:743 Rx invalid frag:0
> Tx excessive retries:2 Invalid misc:5856 Missed beacon:0
>
> sit0 no wireless extensions.
>
I have Dell Inspiron with Ethernet 10/100 and Belkin PCMCIA wireless
card. So comparing my ifconfig and iwconfig with yours, it seems that
eth2 is your wireless and eth1 is your ethernet 10/100. I think wlan0
entries are created when you use ndiswrappers. If your card is supported
natively then, I think you just get a normal ethX id.
For some reason, you wireless interface is assigned two eth ids!!!! And
why is the eth0's MAC address(HWADDR) huge?
00-20-E0-89-8F-E2-00-79-00-00-00-00-00-00-00-00
00-20-E0-89-8F-E2 <- this is your wireless card's MAC address, what's
the rest?
I dont know why this is :( May be someone else may be able to shed some
light on this
--
Regards,
------------------------------------
Sarangan Thuraisingham
ECS, University of Southampton, UK
Tux is the Best
Next is the Rest
-----------------------------------
More information about the ubuntu-users
mailing list