Re: wifi; chiavetta attiva ma non si connette
Inviato: ven 10 feb 2012, 13:11
e il broadcom-wl dopo averlo scompattato non devo dargli il make e make install?
Codice: Seleziona tutto
root@sato:/lib/firmware/b43# dmesg
[ 1195.986355] cfg80211: Calling CRDA to update world regulatory domain
[ 1196.063691] cfg80211: World regulatory domain updated:
[ 1196.063704] (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 1196.063713] (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 1196.063721] (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 1196.063728] (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 1196.063735] (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 1196.063742] (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 1196.129672] b43-pci-bridge 0000:06:02.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[ 1196.137090] ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x0D, vendor 0x4243)
[ 1196.137106] ssb: Core 1 found: IEEE 802.11 (cc 0x812, rev 0x09, vendor 0x4243)
[ 1196.137122] ssb: Core 2 found: PCI (cc 0x804, rev 0x0C, vendor 0x4243)
[ 1196.137131] ssb: Core 3 found: PCMCIA (cc 0x80D, rev 0x07, vendor 0x4243)
[ 1196.156700] ssb: Sonics Silicon Backplane found on PCI device 0000:06:02.0
[ 1196.181521] b43-phy0: Broadcom 4318 WLAN found (core revision 9)
[ 1196.203332] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 1196.203555] Registered led device: b43-phy0::tx
[ 1196.203581] Registered led device: b43-phy0::rx
[ 1196.203605] Registered led device: b43-phy0::radio
[ 1196.203625] Broadcom 43xx driver loaded [ Features: PMLS, Firmware-ID: FW13 ]
[ 1196.540054] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[ 1196.591495] ADDRCONF(NETDEV_UP): wlan0: link is not ready
Codice: Seleziona tutto
root@sato:/lib/firmware/b43# ifconfig wlan0 up
root@sato:/lib/firmware/b43# /etc/rc.d/rc.inet1 wlan0_start
/etc/rc.d/rc.inet1: wlan0 information: 'Any ESSID'
Error for wireless request "Set Nickname" (8B1C) :
SET failed on device wlan0 ; Operation not supported.
Line 22: Invalid PSK 'sj48ddk98f7fg432as5bf8f9g765tgbvd56syd6s94j8fhst34bz7ddm573d'.
Line 22: failed to parse psk 'sj48ddk98f7fg432as5bf8f9g765tgbvd56syd6s94j8fhst34bz7ddm573d'.
Line 24: WPA-PSK accepted for key management, but no PSK configured.
Line 24: failed to parse network block.
Failed to read or parse configuration '/etc/wpa_supplicant.conf'.
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
Codice: Seleziona tutto
# See /usr/doc/wpa_supplicant-0.7.3/wpa_supplicant.conf.sample
# for many more options that you can use in this file.
# This line enables the use of wpa_cli which is used by rc.wireless
# if possible (to check for successful association)
ctrl_interface=/var/run/wpa_supplicant
# By default, only root (group 0) may use wpa_cli
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1
#country=US
# WPA protected network, supply your own ESSID and WPAPSK here:
network={
scan_ssid=0
ssid="mio essid"
proto=WPA RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP WEP104 WEP40
psk=miapskhy6tr5re3edsrt5stt
priority=10
}
# Plaintext connection (no WPA, no IEEE 802.1X),
# nice for hotel/airport types of WiFi network.
network={
key_mgmt=NONE
priority=0
}
Codice: Seleziona tutto
# Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]=""
# Config information for eth1:
IPADDR[1]=""
NETMASK[1]=""
USE_DHCP[1]=""
DHCP_HOSTNAME[1]=""
# Config information for eth2:
IPADDR[2]=""
NETMASK[2]=""
USE_DHCP[2]=""
DHCP_HOSTNAME[2]=""
# Config information for eth3:
IPADDR[3]=""
NETMASK[3]=""
USE_DHCP[3]=""
DHCP_HOSTNAME[3]=""
# Default gateway IP address:
GATEWAY=""
# Change this to "yes" for debugging output to stdout. Unfortunately,
# /sbin/hotplug seems to disable stdout so you'll only see debugging output
# when rc.inet1 is called directly.
DEBUG_ETH_UP="no"
## Example config information for wlan0. Uncomment the lines you need and fill
## in your info. (You may not need all of these for your wireless network)
IFNAME[4]="wlan0"
#IPADDR[4]=""
#NETMASK[4]=""
USE_DHCP[4]="yes"
DHCP_HOSTNAME[4]="sato"
#DHCP_KEEPRESOLV[4]="yes"
#DHCP_KEEPNTP[4]="yes"
#DHCP_KEEPGW[4]="yes"
#DHCP_IPADDR[4]=""
#WLAN_ESSID[4]=BARRIER05
#WLAN_MODE[4]=Managed
##WLAN_RATE[4]="54M auto"
##WLAN_CHANNEL[4]="auto"
##WLAN_KEY[4]="D5AD1F04ACF048EC2D0B1C80C7"
##WLAN_IWPRIV[4]="set AuthMode=WPAPSK | set EncrypType=TKIP | set PAPSK=96389dc66eaf7e6efd5b5523ae43c7925ff4df2f8b7099495192d44a774fda16"
WLAN_WPA[4]="wpa_supplicant"
WLAN_WPADRIVER[4]="wext"
## Some examples of additional network parameters that you can use.
## Config information for wlan0:
#IFNAME[4]="wlan0" # Use a different interface name nstead of
# the default 'eth4'
#HWADDR[4]="00:01:23:45:67:89" # Overrule the card's hardware MAC address
#MTU[4]="" # The default MTU is 1500, but you might need
# 1360 when you use NAT'ed IPSec traffic.
#DHCP_KEEPRESOLV[4]="yes" # If you dont want /etc/resolv.conf overwritten
#DHCP_KEEPNTP[4]="yes" # If you don't want ntp.conf overwritten
#DHCP_KEEPGW[4]="yes" # If you don't want the DHCP server to change
# your default gateway
#DHCP_IPADDR[4]="" # Request a specific IP address from the DHCP
# server
#WLAN_ESSID[4]=DARKSTAR # Here, you can override _any_ parameter
# defined in rc.wireless.conf, by prepending
# 'WLAN_' to the parameter's name. Useful for
# those with multiple wireless interfaces.
#WLAN_IWPRIV[4]="set AuthMode=WPAPSK | set EncrypType=TKIP | set WPAPSK=thekey"
# Some drivers require a private ioctl to be
# set through the iwpriv command. If more than
# one is required, you can place them in the
# IWPRIV parameter (separated with the pipe (|)
# character, see the example).
Codice: Seleziona tutto
lspci -vv -s 06:02.0
iwlist wlan0 s
Codice: Seleziona tutto
root@sato:/lib/firmware/b43# lspci -vv -s 06:02.0
06:02.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)
Subsystem: AMBIT Microsystem Corp. TravelMate 2410
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64
Interrupt: pin A routed to IRQ 22
Region 0: Memory at b0200000 (32-bit, non-prefetchable) [size=8K]
Kernel driver in use: b43-pci-bridge
Kernel modules: ssb
root@sato:/lib/firmware/b43# iwlist wlan0 s
wlan0 Interface doesn't support scanning : Network is down
Codice: Seleziona tutto
modprobe -r ssb
dmesg -c
insmod /lib/modules/2.6.37.6/kernel/drivers/net/wireless/b43/b43.ko
Codice: Seleziona tutto
dmesg
Codice: Seleziona tutto
lspci -vv -s 06:02.0
Codice: Seleziona tutto
root@sato:/lib/firmware/b43# modprobe -r ssb
FATAL: Module ssb is in use.
root@sato:/lib/firmware/b43# dmesg -c
root@sato:/lib/firmware/b43# insmod /lib/modules/2.6.37.6/kernel/drivers/net/wireless/b43/b43.ok
insmod: can't read '/lib/modules/2.6.37.6/kernel/drivers/net/wireless/b43/b43.ok': No such file or directory
root@sato:/lib/firmware/b43#
root@sato:/lib/firmware/b43# dmesg
root@sato:/lib/firmware/b43# lspci -vv -s 06:02.0
06:02.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)
Subsystem: AMBIT Microsystem Corp. TravelMate 2410
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64
Interrupt: pin A routed to IRQ 22
Region 0: Memory at b0200000 (32-bit, non-prefetchable) [size=8K]
Kernel driver in use: b43-pci-bridge
Kernel modules: ssb
Codice: Seleziona tutto
/lib/modules/2.6.37.6-smp/kernel/drivers/net/wireless/b43/b43.ko
Codice: Seleziona tutto
lsmod
Codice: Seleziona tutto
root@sato:/lib/firmware/b43# lsmod
Module Size Used by
rt73usb 21346 0
rt2x00usb 7268 1 rt73usb
rt2x00lib 25498 2 rt73usb,rt2x00usb
b43 159523 0
ssb 39876 1 b43
pcmcia 32650 2 b43,ssb
mac80211 178230 3 rt2x00usb,rt2x00lib,b43
cfg80211 122062 3 rt2x00lib,b43,mac80211
snd_seq_dummy 1111 0
snd_seq_oss 25075 0
snd_seq_midi_event 4560 1 snd_seq_oss
snd_seq 39269 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 4465 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 34555 0
snd_mixer_oss 14750 1 snd_pcm_oss
ipv6 228913 19
cpufreq_ondemand 7088 1
speedstep_lib 2655 0
powernow_k8 11221 0
freq_table 1967 2 cpufreq_ondemand,powernow_k8
mperf 915 1 powernow_k8
lp 7073 0
ppdev 4861 0
parport_pc 18186 0
parport 25111 3 lp,ppdev,parport_pc
fuse 56668 1
radeon 830971 3
ttm 42352 1 radeon
snd_hda_codec_realtek 222994 1
rfkill 12914 2 cfg80211
joydev 7599 0
drm_kms_helper 23887 1 radeon
snd_hda_intel 18021 2
drm 141858 5 radeon,ttm,drm_kms_helper
snd_hda_codec 61720 2 snd_hda_codec_realtek,snd_hda_intel
sdhci_pci 6130 0
yenta_socket 19280 0
sdhci 14583 1 sdhci_pci
ati_agp 4818 0
rtc_cmos 7650 0
i2c_piix4 7036 0
i2c_algo_bit 4279 1 radeon
pcmcia_rsrc 9368 1 yenta_socket
mmc_core 56672 3 b43,ssb,sdhci
8139too 16077 0
processor 20234 2 powernow_k8
rtc_core 11475 1 rtc_cmos
video 10442 0
agpgart 22762 3 ttm,drm,ati_agp
i2c_core 16377 5 radeon,drm_kms_helper,drm,i2c_piix4,i2c_algo_bit
snd_hwdep 4764 1 snd_hda_codec
k8temp 2631 0
battery 8327 0
thermal 6710 0
button 3965 0
pcmcia_core 9933 3 pcmcia,yenta_socket,pcmcia_rsrc
snd_pcm 57713 3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
shpchp 23261 0
output 1448 1 video
sg 20923 0
thermal_sys 11442 3 processor,video,thermal
ac 2457 0
container 1977 0
rtc_lib 1494 1 rtc_core
hwmon 1017 3 radeon,k8temp,thermal_sys
mii 3262 1 8139too
wmi 7121 0
snd_timer 15225 2 snd_seq,snd_pcm
psmouse 40978 0
serio_raw 3502 0
snd 43347 15 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore 4545 1 snd
snd_page_alloc 5917 2 snd_hda_intel,snd_pcm
evdev 7209 14
Codice: Seleziona tutto
modprobe -r rt73usb rt2x00usb rt2x00lib b43 ssb pcmcia mac80211 cfg80211
Codice: Seleziona tutto
dmesg -c
insmod /lib/modules/2.6.37.6-smp/kernel/drivers/net/wireless/b43/b43.ko
Codice: Seleziona tutto
dmesg
lspci -vv -s 06:02.0