Return-path: Received: from smtp1.spirent.com ([38.111.148.215]:45660 "EHLO webmail.spirent.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752062AbaDCNia convert rfc822-to-8bit (ORCPT ); Thu, 3 Apr 2014 09:38:30 -0400 From: "Shu, Nick" To: Matthias May , "linux-wireless@vger.kernel.org" Subject: RE: iw scan command failed Date: Thu, 3 Apr 2014 13:38:29 +0000 Message-ID: <153F35912E69C446A72CF7D6417EBADE7CF209@SPCCOREXCMBX01.AD.SPIRENTCOM.COM> (sfid-20140403_153834_059010_7C56AAED) References: <153F35912E69C446A72CF7D6417EBADE7CF1C4@SPCCOREXCMBX01.AD.SPIRENTCOM.COM> <533D17C0.3020808@neratec.com> In-Reply-To: <533D17C0.3020808@neratec.com> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: Yes, Matthias: I figured it out later by doing: ip link set wlan0 up and it works. Some people said to use "ifconfig wlan0 up" and it also work. But it seems that I can do it without from root and it still works. Thank you all for the help! Nick -----Original Message----- From: Matthias May [mailto:matthias.may@neratec.com] Sent: Thursday, April 03, 2014 3:12 AM To: Shu, Nick; linux-wireless@vger.kernel.org Subject: Re: iw scan command failed Well exactly what it says: your interface is down ;) Set it up with: ip link set wlan0 up Regards Matthias On 02/04/14 23:26, Shu, Nick wrote: > Hi, All: > Got an issue when using "iw" to configure my WIFI card. > Issued a scan command and got a "command failed, operation not permitted" > Then changed to root as somebody suggested to do it again, it got worse and said network down. See below for screen capture: > > spirent@coast198:~$ iw dev wlan0 scan > command failed: Operation not permitted (-1) spirent@coast198:~$ su > Password: > root@coast198:/home/spirent# iw dev wlan0 scan command failed: Network > is down (-100) > > System set up: > Running Ubuntu 13.10 server version, using a mini PCIe card with QCA9880 chip (ath10k driver should be in 3.11 kernel release). > > Can somebody tell me what's wrong? > > Thank you! > > Nick Shu > > > > E-mail confidentiality. > -------------------------------- > This e-mail contains confidential and / or privileged information belonging to Spirent Communications plc, its affiliates and / or subsidiaries. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution and / or the taking of any action based upon reliance on the contents of this transmission is strictly forbidden. If you have received this message in error please notify the sender by return e-mail and delete it from your system. > > Spirent Communications plc > Northwood Park, Gatwick Road, Crawley, West Sussex, RH10 9XN, United Kingdom. > Tel No. +44 (0) 1293 767676 > Fax No. +44 (0) 1293 767677 > > Registered in England Number 470893 > Registered at Northwood Park, Gatwick Road, Crawley, West Sussex, RH10 9XN, United Kingdom. > > Or if within the US, > > Spirent Communications, > 26750 Agoura Road, Calabasas, CA, 91302, USA. > Tel No. 1-818-676- 2300 > -- > To unsubscribe from this list: send the line "unsubscribe > linux-wireless" in the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Matthias May Software Engineer Neratec Solutions AG Postfach 83, CH-8608 Bubikon, Switzerland Direct: +41 55 253 2074 Office: +41 55 253 2000 Fax: +41 55 253 2070 email: matthias.may@neratec.com Web: www.neratec.com