Problems using usb wireless adapter

Erich Dollansky erichfreebsdlist at ovitrap.com
Sun Apr 15 23:52:23 UTC 2012


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


More information about the freebsd-questions mailing list