* linux-3.0-rc4, wlan0 device is not showing with ifconfig
@ 2011-06-27 15:42 Stephan Raue
2011-06-27 17:29 ` Eric Dumazet
0 siblings, 1 reply; 2+ messages in thread
From: Stephan Raue @ 2011-06-27 15:42 UTC (permalink / raw)
To: Linux Kernel Mailing List
Hi,
running linux-3.0-rc4 my wlan0 device is not showing with ifconfig, even
if the driver (r8712u) loads successfull.
strace ifconfig shows:
ioctl(3, SIOCGIFFLAGS, {ifr_name="wlan0",
ifr_flags=IFF_BROADCAST|IFF_MULTICAST}) = 0
ioctl(3, SIOCGIFHWADDR, {ifr_name="wlan0",
ifr_hwaddr=80:1f:02:0b:5d:9a}) = 0
ioctl(3, SIOCGIFMETRIC, {ifr_name="wlan0", ifr_metric=0}) = 0
ioctl(3, SIOCGIFMTU, {ifr_name="wlan0", ifr_mtu=1500}) = 0
ioctl(3, SIOCGIFMAP, {ifr_name="wlan0", ifr_map={mem_start=0, mem_end=0,
base_addr=0, irq=0, dma=0, port=0}}) = 0
ioctl(3, SIOCGIFTXQLEN, {ifr_name="wlan0", ifr_qlen=1000}) = 0
ioctl(3, SIOCGIFADDR, {ifr_name="wlan0", ???}) = -1 EADDRNOTAVAIL
(Cannot assign requested address)
close(3) = 0
the interface will be shown after i setup a ipadress manually:
ifconfig wlan0 192.68.0.13
strace ifconfig
ioctl(3, SIOCGIFFLAGS, {ifr_name="wlan0",
ifr_flags=IFF_UP|IFF_BROADCAST|IFF_MULTICAST}) = 0
ioctl(3, SIOCGIFHWADDR, {ifr_name="wlan0",
ifr_hwaddr=80:1f:02:0b:5d:9a}) = 0
ioctl(3, SIOCGIFMETRIC, {ifr_name="wlan0", ifr_metric=0}) = 0
ioctl(3, SIOCGIFMTU, {ifr_name="wlan0", ifr_mtu=1500}) = 0
ioctl(3, SIOCGIFMAP, {ifr_name="wlan0", ifr_map={mem_start=0, mem_end=0,
base_addr=0, irq=0, dma=0, port=0}}) = 0
ioctl(3, SIOCGIFTXQLEN, {ifr_name="wlan0", ifr_qlen=1000}) = 0
ioctl(3, SIOCGIFADDR, {ifr_name="wlan0", ifr_addr={AF_INET,
inet_addr("168.0.0.13")}}) = 0
ioctl(3, SIOCGIFDSTADDR, {ifr_name="wlan0", ifr_dstaddr={AF_INET,
inet_addr("168.0.0.13")}}) = 0
ioctl(3, SIOCGIFBRDADDR, {ifr_name="wlan0", ifr_broadaddr={AF_INET,
inet_addr("168.0.255.255")}}) = 0
ioctl(3, SIOCGIFNETMASK, {ifr_name="wlan0", ifr_netmask={AF_INET,
inet_addr("255.255.0.0")}}) = 0
is this problem known and is there a fix for this?
many thanks
Stephan
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: linux-3.0-rc4, wlan0 device is not showing with ifconfig
2011-06-27 15:42 linux-3.0-rc4, wlan0 device is not showing with ifconfig Stephan Raue
@ 2011-06-27 17:29 ` Eric Dumazet
0 siblings, 0 replies; 2+ messages in thread
From: Eric Dumazet @ 2011-06-27 17:29 UTC (permalink / raw)
To: Stephan Raue; +Cc: Linux Kernel Mailing List
Le lundi 27 juin 2011 à 17:42 +0200, Stephan Raue a écrit :
> Hi,
>
> running linux-3.0-rc4 my wlan0 device is not showing with ifconfig, even
> if the driver (r8712u) loads successfull.
>
> strace ifconfig shows:
>
> ioctl(3, SIOCGIFFLAGS, {ifr_name="wlan0",
> ifr_flags=IFF_BROADCAST|IFF_MULTICAST}) = 0
> ioctl(3, SIOCGIFHWADDR, {ifr_name="wlan0",
> ifr_hwaddr=80:1f:02:0b:5d:9a}) = 0
> ioctl(3, SIOCGIFMETRIC, {ifr_name="wlan0", ifr_metric=0}) = 0
> ioctl(3, SIOCGIFMTU, {ifr_name="wlan0", ifr_mtu=1500}) = 0
> ioctl(3, SIOCGIFMAP, {ifr_name="wlan0", ifr_map={mem_start=0, mem_end=0,
> base_addr=0, irq=0, dma=0, port=0}}) = 0
> ioctl(3, SIOCGIFTXQLEN, {ifr_name="wlan0", ifr_qlen=1000}) = 0
> ioctl(3, SIOCGIFADDR, {ifr_name="wlan0", ???}) = -1 EADDRNOTAVAIL
> (Cannot assign requested address)
> close(3) = 0
>
> the interface will be shown after i setup a ipadress manually:
>
> ifconfig wlan0 192.68.0.13
> strace ifconfig
>
> ioctl(3, SIOCGIFFLAGS, {ifr_name="wlan0",
> ifr_flags=IFF_UP|IFF_BROADCAST|IFF_MULTICAST}) = 0
> ioctl(3, SIOCGIFHWADDR, {ifr_name="wlan0",
> ifr_hwaddr=80:1f:02:0b:5d:9a}) = 0
> ioctl(3, SIOCGIFMETRIC, {ifr_name="wlan0", ifr_metric=0}) = 0
> ioctl(3, SIOCGIFMTU, {ifr_name="wlan0", ifr_mtu=1500}) = 0
> ioctl(3, SIOCGIFMAP, {ifr_name="wlan0", ifr_map={mem_start=0, mem_end=0,
> base_addr=0, irq=0, dma=0, port=0}}) = 0
> ioctl(3, SIOCGIFTXQLEN, {ifr_name="wlan0", ifr_qlen=1000}) = 0
> ioctl(3, SIOCGIFADDR, {ifr_name="wlan0", ifr_addr={AF_INET,
> inet_addr("168.0.0.13")}}) = 0
> ioctl(3, SIOCGIFDSTADDR, {ifr_name="wlan0", ifr_dstaddr={AF_INET,
> inet_addr("168.0.0.13")}}) = 0
> ioctl(3, SIOCGIFBRDADDR, {ifr_name="wlan0", ifr_broadaddr={AF_INET,
> inet_addr("168.0.255.255")}}) = 0
> ioctl(3, SIOCGIFNETMASK, {ifr_name="wlan0", ifr_netmask={AF_INET,
> inet_addr("255.255.0.0")}}) = 0
>
> is this problem known and is there a fix for this?
Pretty normal behavior, if your device is not "UP"
To see all devices, even DOWN ones, use "ifconfig -a"
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-06-27 17:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-27 15:42 linux-3.0-rc4, wlan0 device is not showing with ifconfig Stephan Raue
2011-06-27 17:29 ` Eric Dumazet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®