From owner-freebsd-questions@FreeBSD.ORG Thu Nov 24 12:45:27 2005 Return-Path: X-Original-To: freebsd-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 470E616A429 for ; Thu, 24 Nov 2005 12:45:27 +0000 (GMT) (envelope-from paulh@bdug.org.au) Received: from mail.bdug.org.au (mail.bdug.org.au [202.72.170.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37B9C43DC8 for ; Thu, 24 Nov 2005 12:44:31 +0000 (GMT) (envelope-from paulh@bdug.org.au) Received: from localhost (localhost.bdug.org.au [127.0.0.1]) by mail.bdug.org.au (Postfix) with ESMTP id BADF14D for ; Thu, 24 Nov 2005 20:44:18 +0800 (WST) Received: from mail.bdug.org.au ([127.0.0.1]) by localhost (ant.bdug.org.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 07467-05 for ; Thu, 24 Nov 2005 20:44:16 +0800 (WST) Received: from w2k2 (unknown [192.168.0.102]) by mail.bdug.org.au (Postfix) with ESMTP id 4563422 for ; Thu, 24 Nov 2005 20:44:15 +0800 (WST) From: "Paul Hamilton" To: Date: Thu, 24 Nov 2005 20:44:22 +0800 Message-ID: <010601c5f0f4$cb2df3c0$6600a8c0@w2k2> MIME-Version: 1.0 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 X-Virus-Scanned: amavisd-new at bdug.org.au Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Using ifconfig to change channels using FreeBSD 6.0 on a Netgear WG311v3 wireless NIC 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, 24 Nov 2005 12:45:28 -0000 Hi, I have compiled the FreeBSD driver from the Windows 2000 files by running: ndisgen WG311v3.INF WG311v3.sys After working through the simple wizard and selecting the defaults, I ended up with a kernel module called: WG311v3_sys.ko Then I loaded it by running: kldload ndis kldload WG311v3_sys.ko I could then run: wicontrol -i ndis0 to see the following: NIC serial number: [ ] Station name: [ asc1 ] SSID for IBSS creation: [ my_net ] Current netname (SSID): [ ] Desired netname (SSID): [ my_net ] Current BSSID: [ 00:00:00:00:00:00 ] Channel list: [ 3fff ] IBSS channel: [ 3 ] Current channel: [ 1 ] Comms quality/signal/noise: [ 0 0 0 ] Promiscuous mode: [ Off ] Intersil-Prism2 based card: [ 1 ] Port type (1=BSS, 3=ad-hoc): [ 1 ] MAC address: [ 00:0f:b5:85:87:f0 ] TX rate (selection): [ 0 ] TX rate (actual speed): [ 1 ] RTS/CTS handshake threshold: [ 2346 ] Create IBSS: [ Off ] Access point density: [ 1 ] Power Mgmt (1=on, 0=off): [ 0 ] Max sleep time: [ 100 ] WEP encryption: [ Off ] TX encryption key: [ 0 ] Encryption keys: [ ][ ][ ][ ] Now, if I try changing the current channel by using this command: ifconfig ndis0 channel 11 All this does is change the IBSS channel to 11, not the current channel. What am I missing here? Cheers, Paul Hamilton