From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NroYZ-0005GM-Ix for garchives@archives.gentoo.org; Wed, 17 Mar 2010 08:24:48 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EEE74E0B06; Wed, 17 Mar 2010 08:24:07 +0000 (UTC) Received: from mail-gy0-f181.google.com (mail-gy0-f181.google.com [209.85.160.181]) by pigeon.gentoo.org (Postfix) with ESMTP id C38ABE0B06 for ; Wed, 17 Mar 2010 08:24:07 +0000 (UTC) Received: by gyh20 with SMTP id 20so362814gyh.40 for ; Wed, 17 Mar 2010 01:24:07 -0700 (PDT) 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 :date:message-id:subject:from:to:content-type; bh=xHdE1D4xU3gz2LpovVfc6ZMbBy9pd4t7+mlRQ6c61x4=; b=XhaiCpGRAF9n6XyO3V3YuMkq/k8DRxO/IGuvJWpmZ5U+LHY6xXUTYGpIFGY/AePFZH BDFNfWLspH1H8Nd83LG0GKpuW6Gu7sGWu4c5/A2gN3QKGq/uvDK2OAtIKrpwjhq8Cg2S 6HXdGsf8qW+dUaaqozAlBLlDN9iNIOngIH08Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=rCOYVlBnioN6Uwv9koVQZ98GFZT+nExJKOlVboG45GUEgbgopOaBJeDTTqgFaT6c6a Wk9JyzaraCn6ttzwwdAqH7uwjjNyjvRrL1gMqIDJHrt6v6XW7EbppsQly0xnqGycjaSG A7rDXcwrPjhe9LzRnYvbAiAKkUBlbHYjN31L0= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.150.119.42 with SMTP id r42mr435295ybc.325.1268814247340; Wed, 17 Mar 2010 01:24:07 -0700 (PDT) In-Reply-To: References: <201003120655.05681.michaelkintzios@gmail.com> Date: Wed, 17 Mar 2010 01:24:07 -0700 Message-ID: Subject: Re: [gentoo-user] /etc/init.d/net.ra0 is not bringing up the interface? From: Tony Miller To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary=000e0cd71a5a7fbed60481fad680 X-Archives-Salt: e57d7bc9-0d22-4f26-a431-8459eea67187 X-Archives-Hash: 3e105ebc8d42ce765cec3700c21dab9c --000e0cd71a5a7fbed60481fad680 Content-Type: text/plain; charset=ISO-8859-1 Well it was working, then I wanted to add this to my /etc/conf.d/net: essid_ra0=( "my essid" ) Now the same problem is happening again, any advice? Nothing else in my /etc/conf.d/net except for this: sleep_scan_ra0="5" config_ra0=( "dhcp" ) On Fri, Mar 12, 2010 at 12:59 PM, Tony Miller wrote: > That was just it! Thank you so much. > > > On Thu, Mar 11, 2010 at 10:54 PM, Mick wrote: > >> On Friday 12 March 2010 06:12:55 Tony Miller wrote: >> > I have added /etc/init.d/net.ra0 (my wireless interface is called ra0 >> > instead of wlan0) to the default runlevel. It starts the script at boot, >> > but it acts like the device has not been brought up(i.e. with ifconfig >> ra0 >> > up). For instance the boot log will say: >> > >> > * Starting ra0 >> > * Configuring wireless network for ra0 >> > Error for wireless request "Set Mode" (8B06) : >> > SET failed on device ra0; Network is down >> > Error for wireless request "Set encode" (8B2A) : >> > SET failed on device ra0; Network is down >> > Error for wireless request "Set essid" (8B1A) : >> > SET failed on device ra0; Network is down >> > >> > And so on and so on for all the different settings, until it finally >> gives >> > up. >> > >> > I can do ifconfig ra0 up, iwconfig ra0 essid any, dhcpcd ra0 and connect >> to >> > the network just fine! Of course I would like it to start at boot >> however. >> > >> > Any ideas? The init script is broken? The actual init script is very >> > complicated, and even if it were easy to just add "ifconfig ra0 up" >> > somewhere to it, I'm not sure if that's the "best" solution. >> >> Look at /etc/conf.d/wireless.example to see how you are meant to configure >> /etc/conf.d/net to manage your wireless card either using iwconfig, or >> using >> wpa_supplicant. You probably need something like: >> >> sleep_scan_ra0="3" #where "3" is three seconds >> >> HTH. >> -- >> Regards, >> Mick >> > > --000e0cd71a5a7fbed60481fad680 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Well it was working, then I wanted to add this to my /etc/conf.d/net:
<= br>
essid_ra0=3D( "my essid" )

Now the same problem is happening again, any advice?

Nothing else in my /etc/conf.d/net except for this:

sleep_scan_ra0=3D"5"
config_ra0=3D( "d= hcp" )


On Fri, Mar = 12, 2010 at 12:59 PM, Tony Miller <mcfiredrill@gmail.com> wrote:
That was just it! Thank you so much.


On Thu, Mar 1= 1, 2010 at 10:54 PM, Mick <michaelkintzios@gmail.com> wrote:
On Friday 12 March 2010= 06:12:55 Tony Miller wrote:
> I have added /etc/init.d/net.ra0 (my wireless interface is called ra0<= br> > instead of wlan0) to the default runlevel. It starts the script at boo= t,
> =A0but it acts like the device has not been brought up(i.e. with ifcon= fig ra0
> =A0up). For instance the boot log will say:
>
> * Starting ra0
> * =A0Configuring wireless network for ra0
> Error for wireless request "Set Mode" (8B06) :
> =A0 =A0 SET failed on device ra0; Network is down
> Error for wireless request "Set encode" (8B2A) :
> =A0 =A0 SET failed on device ra0; Network is down
> Error for wireless request "Set essid" (8B1A) :
> =A0 =A0 SET failed on device ra0; Network is down
>
> And so on and so on for all the different settings, until it finally g= ives
> up.
>
> I can do ifconfig ra0 up, iwconfig ra0 essid any, dhcpcd ra0 and conne= ct to
> the network just fine! Of course I would like it to start at boot howe= ver.
>
> Any ideas? The init script is broken? The actual init script is very > complicated, and even if it were easy to just add "ifconfig ra0 u= p"
> somewhere to it, I'm not sure if that's the "best" s= olution.

Look at /etc/conf.d/wireless.example to see how you are meant t= o configure
/etc/conf.d/net to manage your wireless card either using iwconfig, or usin= g
wpa_supplicant. =A0You probably need something like:

sleep_scan_ra0=3D"3" #where "3" is three seconds

HTH.
--
Regards,
Mick


--000e0cd71a5a7fbed60481fad680--