Thomas Jensen wrote:
> Jeg har haft lidt problemer med et pcmcia wifi netkort jeg har købt. Jeg
> ved ikke rigtig hvor problemet er, men når jeg starter computeren, så er
> der ikke hul igennem.
>
> thomas@x21
$ ifconfig
> 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:36 errors:0 dropped:0 overruns:0 frame:0
> TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:3204 (3.1 KB) TX bytes:3204 (3.1 KB)
>
> wlan0 Link encap:Ethernet HWaddr 00:0F:EA:EB:7F:92
> UP BROADCAST MULTICAST MTU:1500 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:1000
> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
>
> wlan0:ava Link encap:Ethernet HWaddr 00:0F:EA:EB:7F:92
> inet addr:169.254.9.123 Bcast:169.254.255.255 Mask:255.255.0.0
> UP BROADCAST MULTICAST MTU:1500 Metric:1
>
> wmaster0 Link encap:UNSPEC HWaddr 00-0F-EA-
> EB-7F-92-00-00-00-00-00-00-00-00-00-00
> UP BROADCAST RUNNING MULTICAST MTU:1500 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:1000
> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
>
>
> Hvis jeg kører kommandoen "/etc/init.d/networking restart", virker det
> efterfølgende.
>
>
> thomas@x21
$ sudo /etc/init.d/networking restart
> [sudo] password for thomas:
> * Reconfiguring network
> interfaces...
> There is already a pid file /var/run/dhclient.wlan0.pid with pid 4907
> killed old client process, removed PID file
> Internet Systems Consortium DHCP Client V3.0.5
> Copyright 2004-2006 Internet Systems Consortium.
> All rights reserved.
> For info, please visit
http://www.isc.org/sw/dhcp/
> wmaster0: unknown hardware address type 801
> wmaster0: unknown hardware address type 801
> Listening on LPF/wlan0/00:0f:ea:eb:7f:92
> Sending on LPF/wlan0/00:0f:ea:eb:7f:92
> Sending on Socket/fallback
> DHCPRELEASE on wlan0 to 192.168.1.1 port 67
> ioctl[SIOCSIWAUTH]: Operation not supported
> WEXT auth param 4 value 0x0 - ioctl[SIOCSIWAUTH]: Operation not supported
> WEXT auth param 5 value 0x1 - There is already a pid file /var/run/
> dhclient.wlan0.pid with pid 134519120
> Internet Systems Consortium DHCP Client V3.0.5
> Copyright 2004-2006 Internet Systems Consortium.
> All rights reserved.
> For info, please visit
http://www.isc.org/sw/dhcp/
> wmaster0: unknown hardware address type 801
> wmaster0: unknown hardware address type 801
> Listening on LPF/wlan0/00:0f:ea:eb:7f:92
> Sending on LPF/wlan0/00:0f:ea:eb:7f:92
> Sending on Socket/fallback
> DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
> DHCPOFFER from 192.168.1.1
> DHCPREQUEST on wlan0 to 255.255.255.255 port 67
> DHCPACK from 192.168.1.1
> bound to 192.168.1.4 -- renewal in 32698 seconds.
>
>
> Hvis jeg kører ifconfig igen, ser det rigtigt ud igen.
>
> thomas@x21
$ ifconfig
> 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:36 errors:0 dropped:0 overruns:0 frame:0
> TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:3204 (3.1 KB) TX bytes:3204 (3.1 KB)
>
> wlan0 Link encap:Ethernet HWaddr 00:0F:EA:EB:7F:92
> inet addr:192.168.1.4 Bcast:192.168.1.255 Mask:255.255.255.0
> inet6 addr: fe80::20f:eaff:feeb:7f92/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:24 errors:0 dropped:0 overruns:0 frame:0
> TX packets:22 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:4758 (4.6 KB) TX bytes:3915 (3.8 KB)
>
> wmaster0 Link encap:UNSPEC HWaddr 00-0F-EA-
> EB-7F-92-00-00-00-00-00-00-00-00-00-00
> UP BROADCAST RUNNING MULTICAST MTU:1500 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:1000
> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
>
>
> Som sagt, så ved jeg bare ikke hvorfor. Det ville være lidt rart at
> slippe for den her genstart af netværket hver gang...
>
>
> Nogen der har et bud på hvor jeg skal kigge efter problemet?
>
>
Ser ud til at dhcpqueryen fejler af en grund første. Havde samme problem
med trådløse ting engang.
følgende skulle hjælper uden genstart:
sudo dhclient wlan0