Re: dlink dwl-122g e1 on 9-stable, working only partially? (or not at all?)

2012-05-15 Thread PseudoCylon
-

 Message: 8
 Date: Mon, 14 May 2012 19:14:42 +0200
 From: Christopher J. Ruwe c...@cruwe.de
 Subject: Re: dlink dwl-122g e1 on 9-stable, working only partially?
        (or not at all?)
 To: freebsd-questions@freebsd.org
 Message-ID: 20120514191442.505a0...@dijkstra.cruwe.de
 Content-Type: text/plain; charset=UTF-8

 On Sun, 13 May 2012 23:09:34 -0600
 PseudoCylon moonlightak...@yahoo.ca wrote:

  --
 
  Message: 11
  Date: Sun, 13 May 2012 01:21:30 +0200
  From: Christopher J. Ruwe c...@cruwe.de
  Subject: Re: dlink dwl-122g e1 on 9-stable, working only partially?
         (or not at all?)
  To: freebsd-questions@freebsd.org
  Message-ID: 20120513012130.64d78...@dijkstra.cruwe.de
  Content-Type: text/plain; charset=US-ASCII
 
  On Sat, 12 May 2012 14:49:18 +0200
  Christopher J. Ruwe c...@cruwe.de wrote:
 
  Currently I am fighting with (against?) a dlink dwl-g122 usb wlan
  dongle. The casing is claiming the thing to be of H/W-version E1,
  F/W-version 5.00, which I interpret as hardware and firmware.
 
  I am running 9-stable (FreeBSD ritchie.cruwe.de 9.0-STABLE FreeBSD
  9.0-STABLE #8 r235064: Fri May 11 21:32:52 CEST 2012
  c...@ritchie.cruwe.de:/usr/obj/usr/src/sys/RITCHIE  amd64) and
  admittedly, dwl-g122 is not included in the hw-compatibility list
  for 9.0.
 
  I am also aware that others have been unsuccessful, though some
  time back, to get dlw-g122 e running
  (http://forums.freebsd.org/showthread.php?t=27123).
 
  However, I am somewhat successful in getting the dongle recognized
  by if_run.ko, though not to work as I would like to:
 
  dmesg gives then
 
  [...]
  ugen0.3: Ralink at usbus0
  run0: Ralink 11g Adapter, class 0/0, rev 2.00/1.01, addr 3 on
  usbus0 run0: MAC/BBP RT3070 (rev 0x0201), RF RT2020 (MIMO 1T1R),
  address b8:a3:86:97:c1:ec ieee80211_load_module: load the
  wlan_amrr module by hand for now. wlan0: Ethernet address:
  b8:a3:86:97:c1:ec run0: firmware RT2870 ver. 0.236 loaded
  ieee80211_load_module: load the wlan_amrr module by hand for now.
  wlan0: Ethernet address: b8:a3:86:97:c1:ec
  I have no explanation for the multiple occurrences, I have been
  trying for some time now, though.
 

 Was wlan_amrr compiled into kernel?

 Nope, using the module. BTW, loading the if_run module gives

 ieee80211_load_module: load the wlan_amrr module by hand for now.

 Did exactly that, i.e., loaded the wlam_amrr by hand. Do you think I
 might fare better by using in-kernel drivers instead of modules?


 
  sudo ifconfig wlan0 create wlandev run0 wlanmode hostap
  sudo ifconfig wlan0 inet 192.168.3.1 netmask 255.255.255.0 ssid
  bsdap channel -
 

 If you want to use WPA, you need to run
 # /etc/rc.d/hostapd onestart

 Amongst other things, I also did that.


  OK, update on the situation: I can get wlan to work in AP-mode, I
  must not enable WPA, though. Having enabled hostapd for one time
  kills my wlan and requires a complete reboot.
 

 Did it panic? Can you post back trace?


 No, it did not panic. After trying to enable wpa, the systems becomes
 very sluggish on the network side and recovers upon pulling the dongle.
 I interpret that as some kind of crashing the driver.

 I would be happy to provide a back trace, I do not know how,
 though. Where do I need to look to learn that?

 Thanks and cheers, Christopher



I saw you have submitted PR. I have replied to it. Please check that out.
http://www.freebsd.org/cgi/query-pr.cgi?pr=167847


AK
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: dlink dwl-122g e1 on 9-stable, working only partially? (or not at all?)

2012-05-14 Thread Christopher J. Ruwe
On Sun, 13 May 2012 23:09:34 -0600
PseudoCylon moonlightak...@yahoo.ca wrote:

  --
 
  Message: 11
  Date: Sun, 13 May 2012 01:21:30 +0200
  From: Christopher J. Ruwe c...@cruwe.de
  Subject: Re: dlink dwl-122g e1 on 9-stable, working only partially?
         (or not at all?)
  To: freebsd-questions@freebsd.org
  Message-ID: 20120513012130.64d78...@dijkstra.cruwe.de
  Content-Type: text/plain; charset=US-ASCII
 
  On Sat, 12 May 2012 14:49:18 +0200
  Christopher J. Ruwe c...@cruwe.de wrote:
 
  Currently I am fighting with (against?) a dlink dwl-g122 usb wlan
  dongle. The casing is claiming the thing to be of H/W-version E1,
  F/W-version 5.00, which I interpret as hardware and firmware.
 
  I am running 9-stable (FreeBSD ritchie.cruwe.de 9.0-STABLE FreeBSD
  9.0-STABLE #8 r235064: Fri May 11 21:32:52 CEST 2012
  c...@ritchie.cruwe.de:/usr/obj/usr/src/sys/RITCHIE  amd64) and
  admittedly, dwl-g122 is not included in the hw-compatibility list
  for 9.0.
 
  I am also aware that others have been unsuccessful, though some
  time back, to get dlw-g122 e running
  (http://forums.freebsd.org/showthread.php?t=27123).
 
  However, I am somewhat successful in getting the dongle recognized
  by if_run.ko, though not to work as I would like to:
 
  dmesg gives then
 
  [...]
  ugen0.3: Ralink at usbus0
  run0: Ralink 11g Adapter, class 0/0, rev 2.00/1.01, addr 3 on
  usbus0 run0: MAC/BBP RT3070 (rev 0x0201), RF RT2020 (MIMO 1T1R),
  address b8:a3:86:97:c1:ec ieee80211_load_module: load the
  wlan_amrr module by hand for now. wlan0: Ethernet address:
  b8:a3:86:97:c1:ec run0: firmware RT2870 ver. 0.236 loaded
  ieee80211_load_module: load the wlan_amrr module by hand for now.
  wlan0: Ethernet address: b8:a3:86:97:c1:ec
  I have no explanation for the multiple occurrences, I have been
  trying for some time now, though.
 
 
 Was wlan_amrr compiled into kernel?

Nope, using the module. BTW, loading the if_run module gives

ieee80211_load_module: load the wlan_amrr module by hand for now.

Did exactly that, i.e., loaded the wlam_amrr by hand. Do you think I
might fare better by using in-kernel drivers instead of modules?

 
 
  sudo ifconfig wlan0 create wlandev run0 wlanmode hostap
  sudo ifconfig wlan0 inet 192.168.3.1 netmask 255.255.255.0 ssid
  bsdap channel -
 
 
 If you want to use WPA, you need to run
 # /etc/rc.d/hostapd onestart

Amongst other things, I also did that.

 
  OK, update on the situation: I can get wlan to work in AP-mode, I
  must not enable WPA, though. Having enabled hostapd for one time
  kills my wlan and requires a complete reboot.
 
 
 Did it panic? Can you post back trace?


No, it did not panic. After trying to enable wpa, the systems becomes
very sluggish on the network side and recovers upon pulling the dongle.
I interpret that as some kind of crashing the driver.

I would be happy to provide a back trace, I do not know how,
though. Where do I need to look to learn that?

Thanks and cheers, Christopher
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: dlink dwl-122g e1 on 9-stable, working only partially? (or not at all?)

2012-05-13 Thread PseudoCylon
 --

 Message: 11
 Date: Sun, 13 May 2012 01:21:30 +0200
 From: Christopher J. Ruwe c...@cruwe.de
 Subject: Re: dlink dwl-122g e1 on 9-stable, working only partially?
        (or not at all?)
 To: freebsd-questions@freebsd.org
 Message-ID: 20120513012130.64d78...@dijkstra.cruwe.de
 Content-Type: text/plain; charset=US-ASCII

 On Sat, 12 May 2012 14:49:18 +0200
 Christopher J. Ruwe c...@cruwe.de wrote:

 Currently I am fighting with (against?) a dlink dwl-g122 usb wlan
 dongle. The casing is claiming the thing to be of H/W-version E1,
 F/W-version 5.00, which I interpret as hardware and firmware.

 I am running 9-stable (FreeBSD ritchie.cruwe.de 9.0-STABLE FreeBSD
 9.0-STABLE #8 r235064: Fri May 11 21:32:52 CEST 2012
 c...@ritchie.cruwe.de:/usr/obj/usr/src/sys/RITCHIE  amd64) and
 admittedly, dwl-g122 is not included in the hw-compatibility list for
 9.0.

 I am also aware that others have been unsuccessful, though some time
 back, to get dlw-g122 e running
 (http://forums.freebsd.org/showthread.php?t=27123).

 However, I am somewhat successful in getting the dongle recognized by
 if_run.ko, though not to work as I would like to:

 dmesg gives then

 [...]
 ugen0.3: Ralink at usbus0
 run0: Ralink 11g Adapter, class 0/0, rev 2.00/1.01, addr 3 on usbus0
 run0: MAC/BBP RT3070 (rev 0x0201), RF RT2020 (MIMO 1T1R), address
 b8:a3:86:97:c1:ec ieee80211_load_module: load the wlan_amrr module by
 hand for now. wlan0: Ethernet address: b8:a3:86:97:c1:ec
 run0: firmware RT2870 ver. 0.236 loaded
 ieee80211_load_module: load the wlan_amrr module by hand for now.
 wlan0: Ethernet address: b8:a3:86:97:c1:ec
 I have no explanation for the multiple occurrences, I have been trying
 for some time now, though.


Was wlan_amrr compiled into kernel?


 sudo ifconfig wlan0 create wlandev run0 wlanmode hostap
 sudo ifconfig wlan0 inet 192.168.3.1 netmask 255.255.255.0 ssid bsdap
 channel -


If you want to use WPA, you need to run
# /etc/rc.d/hostapd onestart

 OK, update on the situation: I can get wlan to work in AP-mode, I must
 not enable WPA, though. Having enabled hostapd for one time kills my
 wlan and requires a complete reboot.


Did it panic? Can you post back trace?


AK
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


dlink dwl-122g e1 on 9-stable, working only partially? (or not at all?)

2012-05-12 Thread Christopher J. Ruwe
Currently I am fighting with (against?) a dlink dwl-g122 usb wlan
dongle. The casing is claiming the thing to be of H/W-version E1,
F/W-version 5.00, which I interpret as hardware and firmware.

I am running 9-stable (FreeBSD ritchie.cruwe.de 9.0-STABLE FreeBSD
9.0-STABLE #8 r235064: Fri May 11 21:32:52 CEST 2012
c...@ritchie.cruwe.de:/usr/obj/usr/src/sys/RITCHIE  amd64) and
admittedly, dwl-g122 is not included in the hw-compatibility list for
9.0. 

I am also aware that others have been unsuccessful, though some time
back, to get dlw-g122 e running
(http://forums.freebsd.org/showthread.php?t=27123).

However, I am somewhat successful in getting the dongle recognized by
if_run.ko, though not to work as I would like to:

dmesg gives then 

[...]
ugen0.3: Ralink at usbus0
run0: Ralink 11g Adapter, class 0/0, rev 2.00/1.01, addr 3 on usbus0
run0: MAC/BBP RT3070 (rev 0x0201), RF RT2020 (MIMO 1T1R), address 
b8:a3:86:97:c1:ec
ieee80211_load_module: load the wlan_amrr module by hand for now.
wlan0: Ethernet address: b8:a3:86:97:c1:ec
run0: firmware RT2870 ver. 0.236 loaded
ieee80211_load_module: load the wlan_amrr module by hand for now.
wlan0: Ethernet address: b8:a3:86:97:c1:ec
run0: firmware RT2870 ver. 0.236 loaded
run0: firmware RT2870 ver. 0.236 loaded
ieee80211_load_module: load the wlan_amrr module by hand for now.
wlan0: Ethernet address: b8:a3:86:97:c1:ec
run0: firmware RT2870 ver. 0.236 loaded
ieee80211_load_module: load the wlan_amrr module by hand for now.
wlan0: Ethernet address: b8:a3:86:97:c1:ec
run0: firmware RT2870 ver. 0.236 loaded
run0: firmware RT2870 ver. 0.236 loaded
ieee80211_load_module: load the wlan_amrr module by hand for now.
wlan0: Ethernet address: b8:a3:86:97:c1:ec
ieee80211_load_module: load the wlan_amrr module by hand for now.
wlan0: Ethernet address: b8:a3:86:97:c1:ec
run0: firmware RT2870 ver. 0.236 loaded
ieee80211_load_module: load the wlan_amrr module by hand for now.
wlan0: Ethernet address: b8:a3:86:97:c1:ec
run0: firmware RT2870 ver. 0.236 loaded
wlan0: ieee80211_new_state_locked: pending RUN - SCAN transition lost
wlan: mac acl policy registered

I have no explanation for the multiple occurrences, I have been trying
for some time now, though.

After

sudo ifconfig wlan0 create wlandev run0 wlanmode hostap
sudo ifconfig wlan0 inet 192.168.3.1 netmask 255.255.255.0 ssid bsdap
channel - 

I get

run0: flags=8a43UP,BROADCAST,RUNNING,ALLMULTI,SIMPLEX,MULTICAST metric
0 mtu 2290 
ether b8:a3:86:97:c1:ec
nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g hostap
status: running
wlan0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
ether b8:a3:86:97:c1:ec
inet6 fe80::baa3:86ff:fe97:c1ec%wlan0 prefixlen 64 scopeid 0xb 
inet 192.168.3.1 netmask 0xff00 broadcast 192.168.3.255
nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g hostap
status: running
ssid bsdap channel 1 (2412 MHz 11g) bssid b8:a3:86:97:c1:ec
regdomain ETSI country DE authmode OPEN privacy OFF deftxkey 2
TKIP 2:128-bit TKIP 3:128-bit txpower 30 scanvalid 60 protmode
CTS wme 
dtimperiod 1 -dfs


This looks quite reasonable to me, however, I have been unsuccessful so
far to get the ssid bsdap to appear on any scan done from the
prospective clients (one 9-stable notebook, two Linux notebooks and one
Nexus S android).

Does anyone have an idea what is left to try or should I give up and
look for another solution to build a wireless-capable router?

Thanks in advance, cheers and have a nice weekend,
--
Christopher
TZ GMT + 2h
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: dlink dwl-122g e1 on 9-stable, working only partially? (or not at all?)

2012-05-12 Thread Christopher J. Ruwe
On Sat, 12 May 2012 14:49:18 +0200
Christopher J. Ruwe c...@cruwe.de wrote:

 Currently I am fighting with (against?) a dlink dwl-g122 usb wlan
 dongle. The casing is claiming the thing to be of H/W-version E1,
 F/W-version 5.00, which I interpret as hardware and firmware.
 
 I am running 9-stable (FreeBSD ritchie.cruwe.de 9.0-STABLE FreeBSD
 9.0-STABLE #8 r235064: Fri May 11 21:32:52 CEST 2012
 c...@ritchie.cruwe.de:/usr/obj/usr/src/sys/RITCHIE  amd64) and
 admittedly, dwl-g122 is not included in the hw-compatibility list for
 9.0. 
 
 I am also aware that others have been unsuccessful, though some time
 back, to get dlw-g122 e running
 (http://forums.freebsd.org/showthread.php?t=27123).
 
 However, I am somewhat successful in getting the dongle recognized by
 if_run.ko, though not to work as I would like to:
 
 dmesg gives then 
 
 [...]
 ugen0.3: Ralink at usbus0
 run0: Ralink 11g Adapter, class 0/0, rev 2.00/1.01, addr 3 on usbus0
 run0: MAC/BBP RT3070 (rev 0x0201), RF RT2020 (MIMO 1T1R), address
 b8:a3:86:97:c1:ec ieee80211_load_module: load the wlan_amrr module by
 hand for now. wlan0: Ethernet address: b8:a3:86:97:c1:ec
 run0: firmware RT2870 ver. 0.236 loaded
 ieee80211_load_module: load the wlan_amrr module by hand for now.
 wlan0: Ethernet address: b8:a3:86:97:c1:ec
 run0: firmware RT2870 ver. 0.236 loaded
 run0: firmware RT2870 ver. 0.236 loaded
 ieee80211_load_module: load the wlan_amrr module by hand for now.
 wlan0: Ethernet address: b8:a3:86:97:c1:ec
 run0: firmware RT2870 ver. 0.236 loaded
 ieee80211_load_module: load the wlan_amrr module by hand for now.
 wlan0: Ethernet address: b8:a3:86:97:c1:ec
 run0: firmware RT2870 ver. 0.236 loaded
 run0: firmware RT2870 ver. 0.236 loaded
 ieee80211_load_module: load the wlan_amrr module by hand for now.
 wlan0: Ethernet address: b8:a3:86:97:c1:ec
 ieee80211_load_module: load the wlan_amrr module by hand for now.
 wlan0: Ethernet address: b8:a3:86:97:c1:ec
 run0: firmware RT2870 ver. 0.236 loaded
 ieee80211_load_module: load the wlan_amrr module by hand for now.
 wlan0: Ethernet address: b8:a3:86:97:c1:ec
 run0: firmware RT2870 ver. 0.236 loaded
 wlan0: ieee80211_new_state_locked: pending RUN - SCAN transition lost
 wlan: mac acl policy registered
 
 I have no explanation for the multiple occurrences, I have been trying
 for some time now, though.
 
 After
 
 sudo ifconfig wlan0 create wlandev run0 wlanmode hostap
 sudo ifconfig wlan0 inet 192.168.3.1 netmask 255.255.255.0 ssid bsdap
 channel - 
 
 I get
 
 run0: flags=8a43UP,BROADCAST,RUNNING,ALLMULTI,SIMPLEX,MULTICAST
 metric 0 mtu 2290 
 ether b8:a3:86:97:c1:ec
 nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL
 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
 hostap status: running
 wlan0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0
 mtu 1500 ether b8:a3:86:97:c1:ec
 inet6 fe80::baa3:86ff:fe97:c1ec%wlan0 prefixlen 64 scopeid
 0xb inet 192.168.3.1 netmask 0xff00 broadcast 192.168.3.255
 nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL
 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
 hostap status: running
 ssid bsdap channel 1 (2412 MHz 11g) bssid b8:a3:86:97:c1:ec
 regdomain ETSI country DE authmode OPEN privacy OFF deftxkey 2
 TKIP 2:128-bit TKIP 3:128-bit txpower 30 scanvalid 60 protmode
 CTS wme 
 dtimperiod 1 -dfs
 
 
 This looks quite reasonable to me, however, I have been unsuccessful
 so far to get the ssid bsdap to appear on any scan done from the
 prospective clients (one 9-stable notebook, two Linux notebooks and
 one Nexus S android).
 
 Does anyone have an idea what is left to try or should I give up and
 look for another solution to build a wireless-capable router?
 
 Thanks in advance, cheers and have a nice weekend,
 --
 Christopher
 TZ GMT + 2h
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org


OK, update on the situation: I can get wlan to work in AP-mode, I must
not enable WPA, though. Having enabled hostapd for one time kills my
wlan and requires a complete reboot. 

This situation is somewhat better than what I thought before, i.e.,
if_run supports dlink dwl-122 e1. However, I really need to secure my
wireless network. Can anybody point me in a direction where to look for
that hostapd issue?

Thanks, cheers, Christopher
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org