From owner-freebsd-doc@FreeBSD.ORG Sun Oct 23 01:20:18 2005 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C571916A41F for ; Sun, 23 Oct 2005 01:20:18 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A0B043D46 for ; Sun, 23 Oct 2005 01:20:18 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9N1KIJd047445 for ; Sun, 23 Oct 2005 01:20:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9N1KI46047444; Sun, 23 Oct 2005 01:20:18 GMT (envelope-from gnats) Resent-Date: Sun, 23 Oct 2005 01:20:18 GMT Resent-Message-Id: <200510230120.j9N1KI46047444@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, joćo Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8192816A41F for ; Sun, 23 Oct 2005 01:10:37 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FE7043D46 for ; Sun, 23 Oct 2005 01:10:37 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j9N1AauH097261 for ; Sun, 23 Oct 2005 01:10:36 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j9N1Aa12097260; Sun, 23 Oct 2005 01:10:36 GMT (envelope-from nobody) Message-Id: <200510230110.j9N1Aa12097260@www.freebsd.org> Date: Sun, 23 Oct 2005 01:10:36 GMT From: joćo To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: docs/87857: ifconfig wireless options order matters X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Oct 2005 01:20:18 -0000 >Number: 87857 >Category: docs >Synopsis: ifconfig wireless options order matters >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Oct 23 01:20:17 GMT 2005 >Closed-Date: >Last-Modified: >Originator: joćo >Release: 6.0-RC1 >Organization: Infomatik >Environment: FreeBSD ap6.matik.com.br 6.0-RC1 FreeBSD 6.0-RC1 #4: Sat Oct 22 11:25:28 UTC 2005 hmm@ap6.matik.com.br:/usr/src/sys/i386/compile/ap6.0.kernel i386 >Description: I have a 6.0-RC1 hostap, one senao pcmcia and one DWL-AG530 pci-card, the clients are using broadcom as ndis or orinoco as wi or senao as wi when not chosing the correct ifconfig options sequence either on the client or the hostap the wireless card is not configured correctly, example, this sequence appears to be correct: ifconfig ath0 inet 192.168.2.1/29 media OFDM/54Mbps mediaopt hostap mode 11g ssid casa11g up when I do ifconfig ath0 inet 192.168.2.1/29 mode 11g media OFDM/54Mbps mediaopt hostap ssid casa11g up i get an error: ifconfig: SIOCSIFMEDIA (media): Invalid argument I could get the same results for ath, wi(prism) and ndis as hostap or client on the client I get for example media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps (DS/11Mbps) status: associated ssid casa channel 1 bssid or this media: IEEE 802.11 Wireless Ethernet DS/11Mbps mode 11b (OFDM/54Mbps) status: associated ssid casa11g channel 1 bssid >How-To-Repeat: >Fix: using the correct ifconfig sequence >Release-Note: >Audit-Trail: >Unformatted: