Where is wlan0, I've only got ethX
Derek Broughton
news at pointerstop.ca
Mon Nov 14 03:43:34 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?
Why do you think you should have one? My ipw2200 is eth1. Many athlon NICs
are ath0. With udev, you could probably make anything you want. So eth0-2
are fine.
>
> Do I need to do something different during installation?
> (Below are outputs from commands I thought you might need to see)
good!
> 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
There's something seriously wrong there - it's clearly the same device as
eth2, but it's (a) not Ethernet and (b) has an odd format for the MAC.
Plus, both eth0 & eth2 are showing way too many dropped packets - 5% on eth0
and more than 70% on eth2!
> 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
So if you didn't think you had an eth2, why configure it?
> jstrauss at ubuntu:~$ iwconfig
> lo no wireless extensions.
>
> eth1 no wireless extensions.
This is your _wired_ NIC. You probably need to load its module
in /etc/modules (or any one of the other possible preload points) to make
sure it is created as eth0 - not really necessary, but we all just expect
eth0 to be wired.
>
> 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.
--
derek
More information about the ubuntu-users
mailing list