From owner-freebsd-current@FreeBSD.ORG Sun Oct 5 10:31:31 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83160106568B for ; Sun, 5 Oct 2008 10:31:31 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by mx1.freebsd.org (Postfix) with ESMTP id 121C28FC08 for ; Sun, 5 Oct 2008 10:31:30 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so1522490fgb.35 for ; Sun, 05 Oct 2008 03:31:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=7Bn0o1d3XqdtMhgppfhxaYPGplUiTJZbYhUgJ9ds2mo=; b=CUIRm4TU6ADM9C7/fJVUtH8aPg6u70yY4LTWwlvncIadc5cvqXWTY8l151dHENhneB 3UlcPAxyzTQhIVcMpYragIYXwc+z18YQRXiGVobwGrHgyJFzhku9z76tHWPD32Sq8Fn1 bGqFgynLkCVpHhkAQ7icLf14R/zCa+K57XXEA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=KuMOvaqTJN9GRjV5d7kBkYfRgPZIVhMh6rohI5IQnHHbnguO8ngv/WR9s8iyZ+/ISf chnvvR0TEH/DiV4t75bKNwfpmH8zplbW9Wfi4uqyLxQWdZRy571pIpECNrTkj5eTHIpU IMRCSe84g96sEhn5FY99cfqZn7NDSviyVjTLM= Received: by 10.187.171.8 with SMTP id y8mr829974fao.62.1223200941033; Sun, 05 Oct 2008 03:02:21 -0700 (PDT) Received: by 10.187.216.11 with HTTP; Sun, 5 Oct 2008 03:02:21 -0700 (PDT) Message-ID: <2e77fc10810050302x3b653d2fg412869841442d390@mail.gmail.com> Date: Sun, 5 Oct 2008 13:02:21 +0300 From: "Niki Denev" Sender: ndenev@gmail.com To: Ganbold In-Reply-To: <48E86B55.6080702@micom.mng.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48E86B55.6080702@micom.mng.net> X-Google-Sender-Auth: e61f9cbf4b0f3543 Cc: "freebsd-current@freebsd.org" Subject: Re: ifconfig: SIOCS80211: Invalid argument X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2008 10:31:31 -0000 On Sun, Oct 5, 2008 at 10:23 AM, Ganbold wrote: > Hi, > > I'm having trouble putting IP address in atheros PCMCIA card. > > Did syntax of ifconfig change in CURRENT? It was working before on RELENG_7. > > devil# ifconfig ath0 inet 192.168.2.60 netmask 255.255.255.0 ssid freebsdap > mode 11b mediaopt adhoc > ifconfig: SIOCS80211: Invalid argument > devil# > devil# ifconfig ath0 ssid freebsd inet 192.168.2.60 netmask 255.255.255.0 > ifconfig: SIOCS80211: Invalid argument > devil# ifconfig ath0 ssid freebsd mediaopt adhoc inet 192.168.2.60 netmask > 255.255.255.0 > ifconfig: SIOCS80211: Invalid argument > devil# ifconfig ath0 ssid freebsd mode 11b mediaopt adhoc inet 192.168.2.60 > netmask 255.255.255.0 > ifconfig: SIOCS80211: Invalid argument > devil# ifconfig ath0 inet 192.168.2.60 netmask 255.255.255.0 > ifconfig: ioctl (SIOCAIFADDR): Invalid argument > devil# > > > thanks, > > Ganbold > > -- > Bugs, pl. n.: Small living things that small living boys throw on small > living girls. > In -CURRENT you can't work directly with the underlying wireless card, you must first clone wlanX devices, and use them. See ifconfig manual page and /etc/defaults/rc.conf for examples. Regards, Niki