WIFI connection problem DLINK dwa-160 with ar9170 driver

Normand Marion normand.marion at gmail.com
Sat Apr 2 04:29:46 UTC 2011


Hi,

Somebody have a hint for my connection problem with a DLINK dwa-160 with
ar9170 driver

With a dualboot on the same PC on XP=SP3 it works fine but on 10.04LTS it
connects on wlan1 but I cannot reach the network


If I do restart the deamon

> service networking restart

I get

restart: Unknown instance:

and a ping gives me

> ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted

--- 192.168.0.1 ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3023ms


My config is

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.2 LTS"

Linux giboule 2.6.32-30-generic-pae #59-Ubuntu SMP Tue Mar 1 23:01:33 UTC
2011 i686 GNU/Linux

Data and proof of connection here

> lsmod | grep 9170
ar9170usb              51328  0
mac80211              205402  1 ar9170usb
led_class               2864  1 ar9170usb
ath                     7611  1 ar9170usb
cfg80211              126528  3 ar9170usb,mac80211,ath


> ifconfig wlan1
wlan1     Link encap:Ethernet  HWaddr f0:7d:68:11:91:91
          inet adr:192.168.0.101  Bcast:192.168.0.255  Masque:255.255.255.0
          adr inet6: fe80::f27d:68ff:fe11:9191/64 Scope:Lien
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Packets reçus:108 erreurs:0 :0 overruns:0 frame:0
          TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000
          Octets reçus:8801 (8.8 KB) Octets transmis:5250 (5.2 KB)

> iwconfig wlan1
wlan1     IEEE 802.11abg  ESSID:"VO240Z4122"
          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:18:E7:DB:D9:B9
          Bit Rate=1 Mb/s   Tx-Power=27 dBm
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=45/70  Signal level=-65 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

> lshw -C network
  *-network
       description: Ethernet interface
       product: NetXtreme BCM5751 Gigabit Ethernet PCI Express
       vendor: Broadcom Corporation
       physical id: 0
       bus info: pci at 0000:02:00.0
       logical name: eth0
       version: 01
       serial: 00:12:3f:53:ef:9c
       capacity: 1GB/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm vpd msi pciexpress bus_master cap_list ethernet
physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=tg3
driverversion=3.102 firmware=5751-v3.29a latency=0 link=no multicast=yes
port=twisted pair
       resources: irq:16 memory:ddff0000-ddffffff
  *-network
       description: Wireless interface
       physical id: 1
       logical name: wlan1
       serial: f0:7d:68:11:91:91
       capabilities: ethernet physical wireless
       configuration: broadcast=yes ip=192.168.0.101 multicast=yes
wireless=IEEE 802.11abg



> nm-tool

NetworkManager Tool

State: connected

- Device: eth0
-----------------------------------------------------------------
  Type:              Wired
  Driver:            tg3
  State:             unavailable
  Default:           no
  HW Address:        00:12:3F:53:EF:9C

  Capabilities:
    Carrier Detect:  yes

  Wired Properties
    Carrier:         off


- Device: wlan1  [VO240Z4122]
-----------------------------------------------
  Type:              802.11 WiFi
  Driver:            ar9170usb
  State:             connected
  Default:           yes
  HW Address:        F0:7D:68:11:91:91

  Capabilities:
    Speed:           1 Mb/s

  Wireless Properties
    WEP Encryption:  yes
    WPA Encryption:  yes
    WPA2 Encryption: yes

  Wireless Access Points (* = current AP)
    *VO240Z4122:  Infra, 00:18:E7:DB:D9:B9, Freq 2437 MHz, Rate 54 Mb/s,
Strength 64 WPA2
    Nana:            Infra, 00:18:E7:C6:26:D0, Freq 2437 MHz, Rate 54 Mb/s,
Strength 42 WPA

  IPv4 Settings:
    Address:         192.168.0.101
    Prefix:          24 (255.255.255.0)
    Gateway:         192.168.0.1

    DNS:             192.168.0.1

> cat /etc/NetworkManager/system-connections/VO240Z4122

[connection]
id=VO240Z4122
uuid=de3cb514-1e61-4801-9e39-be0a4379f3c9
type=802-11-wireless
autoconnect=true
timestamp=1301711598

[802-11-wireless-security]
key-mgmt=wpa-psk
wep-tx-keyidx=0
psk=ujkquhtgcca
wep-key-type=0

[ipv4]
method=auto
ignore-auto-routes=false
ignore-auto-dns=false
dhcp-send-hostname=false
never-default=false

[ipv6]
method=ignore
ignore-auto-routes=false
ignore-auto-dns=false
never-default=false

[802-11-wireless]
ssid=86;79;50;52;48;90;52;49;50;50;

mode=infrastructure
channel=0
bssid=0:18:e7:db:d9:b9
rate=0
tx-power=0
mac-address=f0:7d:68:11:91:91
mtu=0
seen-bssids=00:18:e7:db:d9:b9;
security=802-11-wireless-security

> cat /etc/network/interfaces
auto lo
iface lo inet loopback

I'll appreciate wour help

Thank you

Norm
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20110401/c28b51dc/attachment.html>


More information about the ubuntu-users mailing list