Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Apr 2012 06:52:14 +0700
From:      Erich Dollansky <erichfreebsdlist@ovitrap.com>
To:        freebsd-questions@freebsd.org
Cc:        fake fake <four.troublesome.heads@gmail.com>
Subject:   Re: Problems using usb wireless adapter
Message-ID:  <201204160652.14263.erichfreebsdlist@ovitrap.com>
In-Reply-To: <CA%2BrxiGD2dggApC=NPK13LqcS-nsiM-d=Yy9a6jKfeKTaMexkQA@mail.gmail.com>
References:  <CA%2BrxiGDdoWYhoA9HikKtn4-0YpDLaTWa0YTLv36kr9aSJ9rKeA@mail.gmail.com> <201204152113.09966.erichfreebsdlist@ovitrap.com> <CA%2BrxiGD2dggApC=NPK13LqcS-nsiM-d=Yy9a6jKfeKTaMexkQA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Sunday 15 April 2012 21:44:11 fake fake wrote:
> Yes, I did.
> Here is the result.
> 
> when it plugged out,
> # ugen2.2: <Ralink> at usbus2 (disconnected)
> run0: uhub2, port2, addr2 (disconnected)
> 
> when it plugged in again,
> # ugen2.2: <Ralink> at usbus2
> run0: <1.0> on usbus2
> run0: MAC/BBP RT3370 (rev 0x0201), RF RT3020 (MINO 1T1R), address
> XX:XX:XX:XX:XX:XX
> run0: firmware RT2870 loaded
> wlan0: Ethernet address: XX:XX:XX:XX:XX:XX
> 
> I think driver is working correctly.
> 
looks like.

Let me go the old stuff.

> >>
> >> /boot/loader.conf
> >> if_run_load="YES"
> >> runfw_load="YES"
> >> wlan_wep_load="YES"

I do not have this and it works with the unplugging after a start.
> >>
> >> /etc/rc.conf
> >> wlans_run0="wlan0"
> >> ifconfig_wlan0="DHCP WPA"
> >>

Don't you have to tell here which ssid to use?

I use this one:

wlans_run0="wlan0"
ifconfig_wlan0="inet 192.168.x.c netmask 255.255.255.0 ssid abc WPA"

Do you have the default router set? If not, you machine does not know how to out.

defaultrouter="192.168.x.v"

> >> /etc/wpa_supplicant.conf
> >> network={
> >>   ssid="my_ap's_ssid"

If would be careful here with the ' character if it is in the real ssid.

> >>   key_mgmt=NONE
> >>   wep_key1=my_password
> >>   wep_tx_keyidx=1

I do not have this entry here.

Erich



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204160652.14263.erichfreebsdlist>