From owner-freebsd-questions@FreeBSD.ORG Thu Dec 8 19:34:26 2005 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E9A9516A41F for ; Thu, 8 Dec 2005 19:34:26 +0000 (GMT) (envelope-from vaaf@broadpark.no) Received: from osl1smout1.broadpark.no (osl1smout1.broadpark.no [80.202.4.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id B765343D66 for ; Thu, 8 Dec 2005 19:34:18 +0000 (GMT) (envelope-from vaaf@broadpark.no) Received: from broadpark.no ([217.13.4.96]) by osl1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0IR7004CG2KC7L80@osl1smout1.broadpark.no> for questions@freebsd.org; Thu, 08 Dec 2005 20:38:36 +0100 (CET) Received: from [80.202.4.61] (Forwarded-For: [213.187.181.70]) by bgo1mstore1.broadpark.no (mshttpd); Thu, 08 Dec 2005 20:34:00 +0100 Date: Thu, 08 Dec 2005 20:34:00 +0100 From: Kristian Vaaf To: questions@freebsd.org Message-id: <8a7d5f782305.439898b8@broadpark.no> MIME-version: 1.0 X-Mailer: Sun Java(tm) System Messenger Express 6.1 HotFix 0.05 (built Oct 21 2004) Content-type: text/plain; charset=us-ascii Content-language: en Content-transfer-encoding: 7BIT Content-disposition: inline X-Accept-Language: en Priority: normal Cc: Subject: Problem with ral wifi driver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2005 19:34:27 -0000 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 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