From owner-freebsd-questions@FreeBSD.ORG Mon Nov 23 14:13:22 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86FAE106566B for ; Mon, 23 Nov 2009 14:13:22 +0000 (UTC) (envelope-from faust64@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by mx1.freebsd.org (Postfix) with ESMTP id 125048FC15 for ; Mon, 23 Nov 2009 14:13:21 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id d23so2165544fga.13 for ; Mon, 23 Nov 2009 06:13:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=Y69UWnQRv4r2+Le0S4pN9PyDiVZpJxRMrFrGkBM+Luo=; b=R0XWtav8ot81eMUMeqst+OXp2LmpxCXXLuqZ+j+mMQS6f1BIVZPNbFwUooOA1mWfRt OpPyexata6GJtAA87xthLMZEb7fC5Lq5ceI18IFKd6KDl5u5ZLaES4ISsbLXveyYQYXk GGxe23ZuFdYpkvbpyK75nR45mitAgMdUKPTZw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=ReU34oRSBg49MvatMZ5ksW4Q7tU/JpkaURUiHNGk61zFHvWn6QtpncPbyb+R0Nt4fT 1cxaIEBub0Gu1VvwrvA7W+BThHozolPQwnQkLN58r5Hm8+I29azBxbaJZ2af2SP+jU7T FbmJp2p+bZbvBa1r+2VF3DskaTWv2p7GO97iY= MIME-Version: 1.0 Received: by 10.86.108.19 with SMTP id g19mr4130895fgc.16.1258985599161; Mon, 23 Nov 2009 06:13:19 -0800 (PST) In-Reply-To: References: From: =?ISO-8859-1?Q?Samuel_Mart=EDn_Moro?= Date: Mon, 23 Nov 2009 15:12:59 +0100 Message-ID: To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: WiFi interface - scanning ssid 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: Mon, 23 Nov 2009 14:13:22 -0000 OK... ifconfig $itf -mediaopt hostap removes from options scan/list scan are back... sorry for wasting your time... but it still doesn't answer to my other question: how can you reset an interface configuration ? Samuel Mart=EDn Moro CamTrace {EPITECH.} tek4 | "Nobody wants to say how this works. | | Maybe nobody knows ..." | | Xorg.conf(5) | On Mon, Nov 23, 2009 at 2:37 PM, Samuel Mart=EDn Moro wr= ote: > that may help: > > my uname: > FreeBSD devel.axis.fr 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Wed Oct 14 > 15:26:50 CEST 2009 root@h2g2.axis.fr:/usr/obj/usr/src/sys/GENERIC > i386 > > in rc.conf: > hostapd/dhcpd/ifconfig_rum0 are commented > > wlan_xauth is loaded > > ~# ifconfig rum0 down > ~# ifconfig rum0 delete > ifconfig: ioctl (SIOCDIFADDR): Can't assign requested address > ~# ifconfig rum0 destroy > ifconfig: SIOCIFDESTROY: Invalid argument > ~# ifconfig rum0 > rum0: flags=3D108802 metric 0 mtu > 1500 > ether 00:18:1a:0c:65:2f > media: IEEE 802.11 Wireless Ethernet autoselect mode 11g > status: no carrier > ssid 1921680452 channel 2 (2417 Mhz 11g) > authmode AUTO privacy OFF txpower 50 scanvalid 60 bgscan > bgscanintvl 300 bgscanidle 250 roam:rssi11g 7 roam:rate11g 5 > protmode CTS dtimperiod 1 > > before, my card was listed by pciconf (but isn't anymore), as noneX > now, I can view it using usbdevs: > [...] > port 4 addr 2: high speed, power 300 mA, config 1, 802.11 bg WLAN(0x2573)= , > Ralink(0x148f), rev 0.01 > [...] > > I used to test WIFI with two different chipset. > I generated the first driver using ndisgen, and compiled back the kernel > (adding some lines into headers) to deal with the second one. > I don't remember which one I use here. But my problem might come from a b= ad > driver. (but most likely: PEBKAC) > > > > Thanks for your help > > > > Samuel Mart=EDn Moro > CamTrace > {EPITECH.} tek4 > > | "Nobody wants to say how this works. | > | Maybe nobody knows ..." | > | Xorg.conf(5) | > > > On Mon, Nov 23, 2009 at 12:33 PM, Samuel Mart=EDn Moro wrote: > >> >> Hi >> >> I'm trying to list ssid neighborhood. >> doing ifconfig rum0 scan or ifconfig rum0 list scan, there isn't any >> returned row. >> >> it perfectly works a few days ago, when I was working on a script to >> configure WIFI interfaces as client. >> more recently, I tried to do a script to configure WIFI interfaces as >> access points. since that, all my scan/list scan are empty. >> >> by the way, while testing, I wasn't able to reset interface configuratio= n >> (and maybe it's my list/scan) problem. >> I tried with delete, ... It still keeps the old conf, when I'ld like to >> drop it. How should I do ? >> >> Thanks! >> >> >> Samuel Mart=EDn Moro >> CamTrace >> {EPITECH.} tek4 >> >> | "Nobody wants to say how this works. | >> | Maybe nobody knows ..." | >> | Xorg.conf(5) | >> > >