Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Thread Tools Display Modes
  #1   (View Single Post)  
Old 22nd January 2009
bforest bforest is offline
Port Guard
Join Date: Aug 2008
Location: East Coast, USA
Posts: 32
Unhappy HOW do I ENABLE the wireless device??

Hello and thanks in advance for any assistance!

I currently have FreeBSD (PCBSD) installed on this Laptop

[LAPTOP Info:]

This Laptop has only the one WiFi switch on "bottom left". It is turned on.

THIS Wireless NIC WAS working in PCBSD about two weeks ago until I somehow disabled it.

If I boot into Windows the WLAN led comes on before the Log IN screen appears and the device connects to my Wireless router. When I Shutdown Windows, as soon at the shutdown screen goes away the Wireless LED on the PC goes out. Reboot starts and the LED stays out.

If I boot into PC-BSD the WLAN led does NOT come on. The Wireless network indicator in the "KDE Panel system tray" shows the Wireless Network as Not Connected.

[Link to discussion in other forum]

user@pcbsd% uname -a
FreeBSD pcbsd 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Mon Nov 24 20:22:16 EST 2008
root@pcbsdx32-7:/usr/obj/pcbsd-build/cvs/7.0.2-src/sys/PCBSD i386

user@pcbsd% ifconfig wpi0
wpi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:18:de:10:33:29
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier
ssid "" channel 1 (2412 Mhz 11b)
authmode WPA1+WPA2/802.11i privacy ON deftxkey UNDEF txpower 50
bmiss 7 scanvalid 60 roaming MANUAL bintval 0

user@pcbsd% sysctl -a | grep wpi
net.wlan.0.%parent: wpi0
debug.wpi: 0
dev.wpi.0.%desc: Intel(R) PRO/Wireless 3945ABG
dev.wpi.0.%driver: wpi
dev.wpi.0.%location: slot=0 function=0 handle=\_SB_.PCI0.RP01.WLAN
dev.wpi.0.%pnpinfo: vendor=0x8086 device=0x4222 subvendor=0x8086
subdevice=0x1050 class=0x028000
dev.wpi.0.%parent: pci2
dev.wpi.0.wake: 0
Reply With Quote
  #2   (View Single Post)  
Old 23rd January 2009
tano tano is offline
Port Guard
Join Date: Jul 2008
Posts: 16

Check that the following lines are present in /boot/loader.conf
(you will need root privileges to edit the file)


Also, check that /etc/wpa_supplicant.conf includes

ssid="your network name"
key_mgmt=WPA-PSK (you are using WPA right?)
psk="your secret password"

Then in /etc/rc.conf you should have

ifconfig_wpi0="WPA DHCP"

assuming you use WPA and DHCP...

Happy wireless!
Reply With Quote
  #3   (View Single Post)  
Old 30th January 2009
kasse kasse is offline
Fdisk Soldier
Join Date: Jun 2008
Posts: 67

I have a wireless problem with d-link g520. (I hope I have not missed anyting obvious in the handbook)
From what I understand this device is supported. The card is does not transmit anything. I get not arp tables, my pings do not go out etc nothing...
The card works on the same computer with debian and netbsd.

Card: D-Link DWL-G520, H/W Ver: B4, F/W Ver 4.40

The data are: Freebsd 7.1-release
$ dmesg |less
ath_hal: (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, RF2425, RF2417)

ath0: <Atheros 5212> mem 0xff8f0000-0xff8fffff irq 19 at device 10.0 on pci1
ath0: [ITHREAD]
ath0: WARNING: using obsoleted if_watchdog interface
ath0: Ethernet address: 00:22:b0:5d:19:23
ath0: mac 7.9 phy 4.5 radio 5.6
$ kldstat -v | grep ath
		62 ath_hal
		63 ath_rate
		64 cardbus/if_ath
		65 pci/if_ath
$ kldstat -v | grep wlan
		212 wlan_amrr
		213 wlan_ccmp
		214 wlan_tkip
		215 wlan_wep
		216 wlan
		217 wlan_scan_ap
		218 wlan_scan_sta
$ ifconfig ath0
ath0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
	ether 00:22:b0:5d:19:23
	inet netmask 0xffffff00 broadcast
	media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/36Mbps)
	status: associated
	ssid locnet channel 6 (2437 Mhz 11g) bssid 00:13:46:42:6e:10
	authmode OPEN privacy ON deftxkey UNDEF wepkey 1:104-bit txpower 31.5
	bmiss 7 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250
	roam:rssi11g 7 roam:rate11g 5 protmode CTS burst
$ netstat -rn
Routing tables

Destination        Gateway            Flags    Refs      Use  Netif Expire
default          UGS         0   182043   ath0          UH          0        2    lo0     link#1             UC          0        0   ath0
$ ifconfig ath0 scan
SSID            BSSID              CHAN RATE   S:N     INT CAPS
locnet          00:13:46:42:6e:10    6   54M -86:-96  100 EPS
$ arp -a
if i try to ping the router:
$ sudo tcpdump -vvv -i ath0
tcpdump: listening on ath0, link-type EN10MB (Ethernet), capture size 96 bytes
18:40:26.659886 arp who-has tell
18:40:27.368581 arp who-has tell
18:40:32.368859 arp who-has tell
18:40:42.369852 arp who-has tell
18:40:47.370458 arp who-has tell
18:41:01.353691 arp who-has tell
18:41:06.353947 arp who-has tell
$ sysctl -a |grep ath

net.wlan.0.%parent: ath0

dev.ath.0.%desc: Atheros 5212
dev.ath.0.%driver: ath
dev.ath.0.%location: slot=10 function=0
dev.ath.0.%pnpinfo: vendor=0x168c device=0x0013 subvendor=0x1186 subdevice=0x3a13 class=0x020000
dev.ath.0.%parent: pci1
dev.ath.0.smoothing_rate: 95
dev.ath.0.sample_rate: 10
dev.ath.0.countrycode: 0
dev.ath.0.regdomain: 48
dev.ath.0.slottime: 9
dev.ath.0.acktimeout: 48
dev.ath.0.ctstimeout: 48
dev.ath.0.softled: 0
dev.ath.0.ledpin: 0
dev.ath.0.ledon: 0
dev.ath.0.ledidle: 2700
dev.ath.0.txantenna: 0
dev.ath.0.rxantenna: 1
dev.ath.0.diversity: 0
dev.ath.0.txintrperiod: 5
dev.ath.0.diag: 0
dev.ath.0.tpscale: 0
dev.ath.0.tpc: 0
dev.ath.0.tpack: 63
dev.ath.0.tpcts: 63
dev.ath.0.fftxqmin: 2
dev.ath.0.fftxqmax: 50
dev.ath.0.monpass: 24
from /var/log/messages
Feb  1 16:29:08 Dell sudo:   viktor : TTY=ttyp0 ; PWD=/var/log ; USER=root ; COMMAND=/sbin/route change default
 -ifp ath0
Feb  1 16:29:25 Dell sudo:   viktor : TTY=ttyp0 ; PWD=/var/log ; USER=root ; COMMAND=/sbin/route change -net 19 -interface ath0 -ifp ath0
Feb  1 16:29:50 Dell kernel: ath0: can't handle af18
Feb  1 16:29:51 Dell kernel: ath0: can't handle af18
Other computers in the network does not see my pings, but when they ping me I get their arp entries. But even after this I cannot transmit anything.

Last edited by kasse; 1st February 2009 at 04:26 PM.
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
enable shutdown/reboot xfce4 rex FreeBSD General 16 17th October 2008 02:19 PM
enable telnet access c0mrade Other BSD and UNIX/UNIX-like 3 28th September 2008 10:56 PM
identifying device associated with USB device? spiderpig OpenBSD General 2 7th July 2008 05:18 AM
Enable jumbo frames Seb74 OpenBSD General 10 30th June 2008 05:10 PM
boot bug with USB enable nORKy FreeBSD Installation and Upgrading 5 12th June 2008 04:56 PM

All times are GMT. The time now is 02:41 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick