Vážení, požívám Kubuntu 8.04 2.6.24-21-generic plně updatován. Instalováno na notebooku HP Compaq nc6320 a mám problém s WiFi kartou Broadcom 4311, kterážto je součástí tohoto notebooku.
Po startu karty vše naběhne jak má. Využije se konfigurace z "/etc/network/interfaces" a "/etc/wpa_supplicant.conf" k nastavení správné sítě a autentifikace. Bohužel po nějaké době (a to se velice různí po jaké) dojde o odregistrování WiFi od AP. V dmesg se to projevuje následovně:
dmesg | grep -e wlan
[ 154.123814] wlan0: Initial auth_alg=0
[ 154.123821] wlan0: authenticate with AP 00:0e:83:90:13:70
[ 154.323457] wlan0: authenticate with AP 00:0e:83:90:13:70
[ 154.324623] wlan0: RX authentication from 00:0e:83:90:13:70 (alg=0 transaction=2 status=0)
[ 154.324627] wlan0: authenticated
[ 154.324630] wlan0: associate with AP 00:0e:83:90:13:70
[ 154.327402] wlan0: RX AssocResp from 00:0e:83:90:13:70 (capab=0x431 status=0 aid=36)
[ 154.327407] wlan0: associated
[ 154.327411] wlan0: switched to short barker preamble (BSSID=00:0e:83:90:13:70)
[ 154.327450] wlan0: WMM queue=2 aci=0 acm=0 aifs=3 cWmin=15 cWmax=1023 burst=0
[ 154.327454] wlan0: WMM queue=3 aci=1 acm=0 aifs=7 cWmin=15 cWmax=1023 burst=0
[ 154.327457] wlan0: WMM queue=1 aci=2 acm=0 aifs=2 cWmin=7 cWmax=15 burst=30
[ 154.327460] wlan0: WMM queue=0 aci=3 acm=0 aifs=2 cWmin=3 cWmax=7 burst=15
[ 655.866327] wlan0: RX deauthentication from 00:0e:83:90:13:70 (reason=2)
[ 655.866333] wlan0: deauthenticated
[ 656.861569] wlan0: authenticate with AP 00:0e:83:90:13:70
[ 656.862727] wlan0: RX authentication from 00:0e:83:90:13:70 (alg=0 transaction=2 status=0)
[ 656.862732] wlan0: authenticated
[ 656.862735] wlan0: associate with AP 00:0e:83:90:13:70
[ 656.865556] wlan0: RX ReassocResp from 00:0e:83:90:13:70 (capab=0x431 status=0 aid=37)
[ 656.865561] wlan0: associated
[ 656.865565] wlan0: switched to short barker preamble (BSSID=00:0e:83:90:13:70)
[ 657.668478] wlan0: RX deauthentication from 00:0e:83:90:13:70 (reason=2)
[ 657.668484] wlan0: deauthenticated
[ 658.669850] wlan0: authenticate with AP 00:0e:83:90:13:70
[ 658.676188] wlan0: RX authentication from 00:0e:83:90:13:70 (alg=0 transaction=2 status=0)
[ 658.676193] wlan0: authenticated
Po restartu wlan0 (Ifdown wlan0; ifup wlan0) vše zase naběhne jak má ( na nějakou dobu).
Netuší někdo co s tím? Vše ostatní chodí OK, ale stále restarty wlan0 docela degradují práci se systémem.
Použití ndiswrapperu není možné, neboť se vůbec nespojí na WPA. Jediné trochu funkční řešení co jsem našel je to které mám, resp. na jiné jsem zatím nepřišel.
Díky za navedení či radu už se s tím trápím několik dní.
Jako drivery používám viz lshw -C Network:
lshw -C Network
*-network
description: Network controller
product: BCM4311 802.11b/g WLAN
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:08:00.0
version: 01
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=b43-pci-bridge latency=0 module=ssb
*-network
description: Ethernet interface
product: NetXtreme BCM5788 Gigabit Ethernet
vendor: Broadcom Corporation
physical id: e
bus info: pci@0000:02:0e.0
logical name: eth0
version: 03
serial: 00:17:08:3d:2a:41
size: 100MB/s
capacity: 1GB/s
width: 32 bits
clock: 66MHz
capabilities: pm vpd msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=tg3 driverversion=3.86 duplex=full firmware=5788-v3.26 ip=16.55.206.223 latency=64 link=yes mingnt=64 module=tg3 multicast=yes port=twisted pair speed=100MB/s
*-network
description: Wireless interface
physical id: 1
logical name: wlan0
serial: 00:14:a5:f7:45:93
capabilities: ethernet physical wireless
configuration: broadcast=yes ip=172.20.31.83 multicast=yes wireless=IEEE 802.11g
Nastavení /etc/network/interfaces
cat /etc/network/interfaces
auto lo
#noauto eth0 wlan0
allow-hotplug eth0
iface lo inet loopback
# nastaveni pro eth0
mapping eth0
script guessnet-ifupdown
map default: none
map timeout: 3
map init-time: 5
map verbose: true
map debug: true
# Scan only logical interfaces named eth0-*
map autofilter: true
# nastaveni pro WORK
iface eth0-work inet dhcp
test peer address 16.55.200.58 mac 00:04:75:89:B1:FC
metric 10
#post-up /home/zdenek/eth0-work.sh
post-up route add -net 16.0.0.0 netmask 255.0.0.0 gw 16.55.200.1 dev eth0
post-up route add -net 15.0.0.0 netmask 255.0.0.0 gw 16.55.200.1 dev eth0
post-up route del -net 0.0.0.0 netmask 0.0.0.0 dev eth0
post-up route add -net 0.0.0.0 netmask 0.0.0.0 gw 16.55.200.1 dev eth0 metric 500
#nastaveni pro wlan0
mapping wlan0
script guessnet-ifupdown
map default: anyopen
map timeout: 5
map init-time: 5
map verbose: true
map debug: true
# Scan only logical interfaces named wlan0-*
map autofilter: true
# nastaveni pro WLAN prace
iface wlan0-nsgnam inet dhcp
wireless-essid nsg-nam
# wireless-essid neznama_sit
metric 1
pre-up /sbin/wpa_supplicant -B -w -Dwext -iwlan0 -c /etc/wpa_supplicant.conf -dd
#up /home/zdenek/wlan0-nsgnam.sh
post-down killall -q wpa_supplicant
test wireless mac 00:0e:83:90:13:70
#nastaveni pro doma
iface wlan0-zps54 inet dhcp
wireless-essid zps54
wireless-key xxxxxxxxxxx
#pre-up /sbin/wpa_supplicant -B -w -D wext -iwlan0 -c /etc/wpa_supplicant.conf -dd
post-down killall -q wpa_supplicant
test wireless mac 00:11:2F:22:48:2C
iface eth0-nocable inet static
test missing-cable
iface none inet dhcp
Nastavení /etc/wpa_supplicant.conf
cat /etc/wpa_supplicant.conf
network={
id_str="wlan0-nsgnam"
ssid="nsg-nam"
#scan_ssid=1
proto=WPA RSN
pairwise=TKIP CCMP
group=TKIP CCMP
key_mgmt=WPA-PSK
psk=a9cdd1efee124ce61c9ba683a456347aa39d71e958524892d9331cd05928bb4c
}
Díky