View Single Post
  #3   (View Single Post)  
Old 30th January 2009
kasse kasse is offline
Fdisk Soldier
 
Join Date: Jun 2008
Posts: 67
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