DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

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

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 22nd January 2009
bforest bforest is offline
Port Guard
 
Join Date: Aug 2008
Posts: 16
Thanked 0 Times in 0 Posts
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:]
http://esupport.sony.com/US/perl/mod...?mdl=VGNUX280P

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.

[MSWIN]
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.

[PCBSD]
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]
http://forums.pcbsd.org/viewtopic.php?f=27&t=13073

Quote:
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
Thanked 1 Time in 1 Post
Default

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

if_wpi_load="YES"
legal.intel_wpi.license_ack=1

Also, check that /etc/wpa_supplicant.conf includes

network={
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
Thanked 0 Times in 0 Posts
Default

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
Code:
$ dmesg |less
ath_hal: 0.10.5.6 (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
Code:
$ 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
Code:
$ ifconfig ath0
ath0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
	ether 00:22:b0:5d:19:23
	inet 192.168.0.107 netmask 0xffffff00 broadcast 192.168.0.255
	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
Code:
$ netstat -rn
Routing tables

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

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 07:30 AM.


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