pceconf -lvcb
bwi0@pci0:3:0:0: class=0x028000 card=0x04221468 chip=0x431114e4 rev=0x01 hdr=0x00
vendor = 'Broadcom Corporation'
device = 'Dell Wireless 1390 WLAN Mini-PCI Card'
class = network
bar [10] = type Memory, range 32, base 0xd0100000, size 16384, enabled
cap 01[40] = powerspec 2 supports D0 D1 D2 D3 current D0
cap 05[58] = MSI supports 1 message
cap 10[d0] = PCI-Express 1 legacy endpoint
dmesg
bwi0: <Broadcom BCM4311 802.11 Wireless Lan> mem 0xd0100000-0xd0103fff irq 16 at device 0.0 on pci3
bwi0: [GIANT-LOCKED]
bwi0: [ITHREAD]
bwi0: regwin: chipcommon (0x800), rev 17, vendor 0x4243
bwi0: BBP: id 0x4311, rev 0x1, pkg 0
bwi0: nregwin 4, cap 0x0064000d
bwi0: regwin: 802.11 MAC (0x812), rev 10, vendor 0x4243
bwi0: MAC: rev 10
bwi0: regwin: usb 1.1 host (0x817), rev 3, vendor 0x4243
bwi0: regwin: pci express (0x820), rev 1, vendor 0x4243
bwi0: clksrc CS_OSC
bwi0: clkfreq min 990000, max 1010000
bwi0: power on delay 3
bwi0: bus rev 1
bwi0: pci express is enabled
bwi0: card flags 0x4a49
bwi0: 0th led, act 2, lowact 0
bwi0: 1th led, act 5, lowact 0
bwi0: 2th led, act 4, lowact 0
bwi0: 3th led, act 0, lowact 0
bwi0: 802.11 MAC was already disabled
bwi0: PHY is linked
bwi0: PHY: type 2, rev 8, ver 4
bwi0: PHY: 802.11G attach
bwi0: RF: manu 0x17f, type 0x2050, rev 2
bwi0: bus rev 1
bwi0: PHY is linked
bwi0: 32bit bus space
bwi0: max txpower from sprom: 74 dBm
bwi0: invalid antenna gain in sprom
bwi0: ant gain 8 dBm
bwi0: region/domain max txpower 76 dBm
bwi0: max txpower 74 dBm
bwi0: sprom idle tssi: 0xff3e
bwi0: TSSI-TX power map:
85 85 84 84 84 83 83 83
82 82 81 81 80 80 79 79
78 78 77 77 77 76 76 74
74 73 73 72 71 70 70 69
68 67 66 65 64 63 62 61
60 59 57 56 54 53 51 50
48 46 44 42 39 37 35 32
30 26 23 19 15 11 6 1
bwi0: idle tssi0: 62
bwi0: bus rev 1
bwi0: locale: 0
bwi0: WARNING: using obsoleted if_watchdog interface
bwi0: Ethernet address: 00:19:7e:5e:8c:a3
ifconfig bwi0
ifconfig bwi0
bwi0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:19:7e:5e:8c:a3
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier
ssid "" channel 1 (2412 Mhz 11b)
authmode OPEN privacy OFF bmiss 7 scanvalid 60 bintval 0
FreeBSD gusiport 8.0-BETA3 FreeBSD 8.0-BETA3 #9: Mon Aug 24 22:14:53 UTC 2009 gus@gusiport:/usr/obj/usr/src/sys/CUSTOM i386
bwi0@pci0:12:0:0: class=0x028000 card=0x00071028 chip=0x431214e4 rev=0x01 hdr=0x00
vendor = 'Broadcom Corporation'
device = 'BCM4310 UART (Wireless Ethernet Adapter)'
class = network
bar [10] = type Memory, range 32, base 0xf1ffc000, size 16384, enabled
cap 01[40] = powerspec 2 supports D0 D1 D2 D3 current D0
cap 05[58] = MSI supports 1 message
cap 10[d0] = PCI-Express 1 legacy endpoint max data 128(128) link x1(x1)
bwi0: bwi_intr: intr PHY TX error
bwi0: bwi_restart begin, help!
bwi0: firmware rev 0x0127, patch level 0x000e
# ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL_MAGIC>
ether 00:23:5a:d1:70:84
inet 192.168.1.107 netmask 0xffffff00 broadcast 192.168.1.255
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=3<RXCSUM,TXCSUM>
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
pciconf -lvcb
bwi0@pci0:2:0:0: class=0x028000 card=0x04b514e4 chip=0x431514e4 rev=0x01 hdr=0x00
vendor = 'Broadcom Corporation'
device = 'Broadcom Wireless b/g (BCM4315/BCM22062000)'
class = network
cap 01[40] = powerspec 3 supports D0 D1 D2 D3 current D0
cap 09[58] = vendor (length 120)
cap 05[e8] = MSI supports 1 message, 64 bit
cap 10[d0] = PCI-Express 1 endpoint max data 128(128) link x1(x1)
re0@pci0:3:0:0: class=0x020000 card=0x389e17aa chip=0x813610ec rev=0x02 hdr=0x00
vendor = 'Realtek Semiconductor'
device = 'RTL8100E/RTL8101E/RTL8102E-GR (RTL8100-8101E-8102E-PCIEXPRESS)'
class = network
subclass = ethernet
bar [10] = type I/O Port, range 32, base 0x2000, size 256, enabled
bar [18] = type Prefetchable Memory, range 64, base 0x92010000, size 4096, enabled
bar [20] = type Prefetchable Memory, range 64, base 0x92000000, size 65536, enabled
cap 01[40] = powerspec 3 supports D0 D1 D2 D3 current D0
cap 05[50] = MSI supports 1 message, 64 bit enabled with 1 message
cap 10[70] = PCI-Express 2 endpoint IRQ 2 max data 128(256) link x1(x1)
cap 11[ac] = MSI-X supports 2 messages in map 0x20
cap 03[cc] = VPD
dmesg
bwi0: PHY: type 5, rev 1, ver 6
phy_att 4
phy_att 5
bwi0: RF: manu 0x17f, type 0x2062, rev 2
bwi0: unsupported 11LP PHY, rev 1
att fa 4
device_attach: bwi0 attach returned 6
re0: link state changed to DOWN
re0: link state changed to UP
gnemmi said:I just did a fresh BETA3 install.
Installed devel/ccache and net/bwi-firmware-kmod,...........
My card is a 0x431514e4 too .. but in case you are interested, I can post my dmesg.
Best regards
Gonzalo
Hi Paradox,paradox said:not yet
# pwd
/usr/src/sys/modules/if_ndis
# ls
Makefile if_ndis.ko opt_usb.h
bcmwl5.inf if_ndis.o pccarddevs.h
bcmwl5.inf.ascii if_ndis_pccard.o pci_if.h
bcmwl5.sys if_ndis_pci.o usb_if.h
bcmwl5_sys.ko if_ndis_usb.o usbdevs.h
card_if.h ndis_driver_data.h
if_ndis.kld opt_bus.h
# kldload ndis
#kldload if_ndis
# kldload bcmwl5_sys.ko
[B]kldload: bcmwl5_sys.ko is not in the module path[/B]
# kldstat
Id Refs Address Size Name
1 47 0xc0400000 d01484 kernel
2 1 0xc1102000 a63c if_re.ko
3 1 0xc110d000 362e0 if_bwi.ko
4 1 0xc637c000 9000 i915.ko
5 1 0xc6385000 14000 drm.ko
6 2 0xc7c66000 27000 linux.ko
7 1 0xca070000 8000 linprocfs.ko
8 1 0xcb0eb000 19000 snd_hda.ko
9 1 0xcb104000 57000 sound.ko
10 1 0xcbae9000 d000 if_ndis.ko
11 1 0xcc0ee000 19000 ndis.ko
try to put .ko module in the dir /boot/modules/# kldload bcmwl5_sys.ko
kldload: bcmwl5_sys.ko is not in the module
---------------------------------------------------------paradox said:try to put .ko module in the dir /boot/modules/
ifconfig
ndis0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 2290
ether 00:21:00:f7:46:35
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: [color="Red"][B]no carrier[/B][/color]
kldstat
Id Refs Address Size Name
1 49 0xc0400000 d01484 kernel
2 1 0xc1102000 a63c if_re.ko
3 1 0xc110d000 1acb4 snd_hda.ko
4 2 0xc1128000 62018 sound.ko
5 1 0xc118b000 5a90 acpi_video.ko
6 2 0xc1191000 f590 [B]if_ndis.ko[/B]
7 3 0xc11a1000 1e030 [B]ndis.ko[/B]
8 1 0xc11c0000 362e0 [B]if_bwi.ko[/B]
9 1 0xc11f7000 1afc78 [B]bcmwl5_sys.ko[/B]
10 1 0xc6271000 27000 linux.ko
11 1 0xc643d000 9000 i915.ko
12 1 0xc6446000 14000 drm.ko
ifconfig_bwi0="WPA DHCP"
ifconfig_ndis0="WPA DHCP"
if_ndis_load="YES"
if_bwi_load="YES"
if_re_load="YES"
snd_hda_load="YES"
bcmwl5_sys_load="YES"
acpi_video_load="YES"
Thanks a lot.paradox said:
wpa_supplicant -B -c /etc/wpa_supplicant.conf -i ndis0
ioctl[SIOCG80211, op 98, len 32]: Invalid argument
Failed to initialize driver interface
ELOOP: remaining socket: sock=4 eloop_data=0x28406140 user_data=0x2840d040 handler=0x8069f40
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
#eapol_version=1
#ap_scan=1
network={
scan_ssid=1
ssid="myid"
proto=WPA
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
psk="mypassword"
priority=2
}
wpa_supplicant -Dndis -c /etc/wpa_supplicant.conf -i ndis0
paradox@hosting[10:44:02]~> wpa_supplicant
usage:
wpa_supplicant [-BddhKLqqstuvwW] [-P<pid file>] [-g<global ctrl>] \
-i<ifname> -c<config file> [-C<ctrl>] [-D<driver>] [-p<driver_param>] \
[-b<br_ifname>] [-f<debug file>] \
[-N -i<ifname> -c<conf> [-C<ctrl>] [-D<driver>] \
[-p<driver_param>] [-b<br_ifname>] ...]
drivers:
bsd = BSD 802.11 support (Atheros, etc.)
ndis = Windows NDIS driver
wired = wpa_supplicant wired Ethernet driver
options:
-b = optional bridge interface name
-B = run daemon in the background
-c = Configuration file
-C = ctrl_interface parameter (only used if -c is not)
-i = interface name
-d = increase debugging verbosity (-dd even more)
-D = driver name
-g = global ctrl_interface
-K = include keys (passwords, etc.) in debug output
-t = include timestamp in debug messages
-h = show this help text
-L = show license (GPL and BSD)
-p = driver parameters
-P = PID file
-q = decrease debugging verbosity (-qq even less)
-s = log output to syslog instead of stdout
-v = show version
-w = wait for interface to be added, if needed
-W = wait for a control interface monitor before starting
-N = start describing new interface
example:
wpa_supplicant -Dbsd -iwlan0 -c/etc/wpa_supplicant.conf
paradox said:Code:wpa_supplicant -Dndis -c /etc/wpa_supplicant.conf -i ndis0
ifconfig
[B]ndis0[/B]:
flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST>metric 0 mtu 2290
ether 00:21:00:f7:46:35
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
status: [B]associated[/B]
[B]wlan0[/B]:
flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:21:00:f7:46:35
media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11g
status: associated
ssid myid channel 6 (2437 Mhz 11g) bssid 00:18:e7:30:72:5c
country US authmode WPA privacy OFF txpower 0 bmiss 7 mcastrate 6
mgmtrate 6 scanvalid 60 protmode CTS roaming MANUAL bintval 0
# ifconfig ndis0 up scan
ifconfig: unable to get scan results
#ifconfig wlan0 up scan
SSID/MESH ID BSSID CHAN RATE S:N INT CAPS
07FX10069425 00:12:0e:71:0f:9a 6 54M -83:-96 100 EP
myid 00:18:e7:30:72:5c 6 54M -46:-96 100 EPS
Mikeys WiFi... 00:18:f8:a7:06:1f 6 54M -55:-96 100 EPS
........
ifconfig_bwi0="WPA DHCP"
ifconfig_ndis0="WPA DHCP"
ifconfig_wlan0="WPA DHCP"
wpa_supplicant_enable="YES"
wlans_ndis0="wlan0"
# dhclient wlan0
As I understand this lineeverypot said:One last question: anyone know how to run dhclient wlan0 at boot time?
ifconfig_wlan0="WPA DHCP"
try to look at
ps ax|grep dhclient
# dhclient wlan0
paradox said:try to look atbefore run from consoleCode:ps ax|grep dhclient
Code:# dhclient wlan0
ps ax|grep dhclient
1383 0 S+ 0:00.01 grep dhclient
grocha said:As I understand this linein /etc/rc.conf shoul'd do that. At least it does for meCode:ifconfig_wlan0="WPA DHCP"
paradox said:should be enoughCode:wpa_supplicant_enable="YES" wlans_ndis0="wlan0" ifconfig_wlan0="WPA DHCP"
remove another unused line