Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Dec 2005 20:34:00 +0100
From:      Kristian Vaaf <vaaf@broadpark.no>
To:        questions@freebsd.org
Subject:   Problem with ral wifi driver
Message-ID:  <8a7d5f782305.439898b8@broadpark.no>

next in thread | raw e-mail | index | archive | help

You're here, great!

I am new to this, so please bear with me ...

I've been trying to set up this Ralink Technology RT2500, identifying as ral0 on my server so that
my laptop can connect to it and the internet. My gateway and firewall (pf) settings are all OK, so we can
skip those, because my setup worked with regular network interfaces before I bought the wireless one.
I know the Prism chipsets are preferred over the Ralink ones, but I am currently out of cash.

On my server, rl0 goes to my DHCP ADSL router whereas ral0 is suppose to be 192.168.0.1 and
connect to my laptop, 192.168.0.2. This is how I tried setting it up:

# ifconfig ral0inet 192.168.0.1 netmask 0xffffff00 \
mode 11b mediaopt adhoc ssid jah wepmode on wepkey 0x316e347465

The hex key here is correct, for 1n4te.
I did a echo 1n4te | hexdump -C to get it.

But when doing:

# ifconfig ral0 wepmode on wepkey 0x316e347465
ifconfig: SIOCS80211: Invalid argument.

The same goes for:

# ifconfig ral0 wepmode on wepkey 12345
ifconfig: SIOCS80211: Invalid argument.

When doing:

ifconfig ral0 wepmode off

Then my laptop can finally see my wireless network and ping my server. But that's it.

# ifconfig ral0
ral0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::214:85ff:fe1b:cbdf%ral0 prefixlen 64 scopeid 0x2
        ether 00:14:85:1b:cb:df
        media: IEEE 802.11 Wireless Ethernet autoselect (DS/1Mbps)
        status: no carrier
        ssid jah channel 14
        authmode OPEN privacy ON deftxkey UNDEF txpowmax 100 protmode CTS
        bintval 100

# ifconfig ral0 list scan
SSID BSSID CHAN RATE S:N INT CAPS
belkin54g 00:11:50:1a:1b:6d 11 54M 49:0 100 E
default  00:13:46:3e:5e:58 6 54M 39:0 100 EPSB

I've added if_ral_load="YES" to /boot/loader.conf.
The wlan module has also been loaded.

This thing here works in Windows.

And apparently also in OpenBSD. That's reason for me not to give up.
Please, somebody who knows what's going on, please get in touch!

All the best,
K. Vaar





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8a7d5f782305.439898b8>