Re: Is there an easy way to bring my wifi card at boot / init 3?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chris Bradford wrote:
> OK looking at this further I reckon there never was a file
> ifdown-wireless.

Correct.  I added that file.  What's handy about using a diff is that
the patch program can do all the hard work for you.  If you wanted to
apply those changes to your files, you could cd to
/etc/sysconfig/network-scripts and run

    $ patch -p1 -b --suffix=.wpa < /path/to/saved/diff

See the patch man page for details. :)

> Therefore I created it and proceeded with the rest of the config.
> However my card still will not connect on startup. I have attached
> the config files for anyone to look at maybe you can see where I am
> going wrong!

Your ifcfg-eth1 has this at the end:

> #NEW
> WPA='YES'
> WPADRIVER='-Dwext'
> #END NEW

The tests added to if{up,down}-wireless include:

"$WPA" = "yes"

This will result in the test being "YES" = "yes" which will fail.  The
case is different.  Also, the wpa_supplicant line already has the -D,
so adding it to $WPADRIVER results in -D-Dwext, which is probably not
what you want. :)

I have this in mine:

WPA=yes
WPADRIVER=wext
RADIOCTRL=yes

I'm not sure if that's the only problem or not.  Add some echos to the
scripts at various places to see where it's reaching, or add set -x
near the top of them so make them spew out a lot of info.  Get it
working so that ifup eth1 and ifdown eth1 work after you've logged in.
Once you get there, it should work on boot as well (but it'll save the
hassle of rebooting constantly while you work it out).

- -- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
======================================================================
You're not drunk if you can lie on the floor without holding on.
    -- Dean Martin

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iQFDBAEBAgAtBQJE46KMJhhodHRwOi8vd3d3LnBvYm94LmNvbS9+dG16L3BncC90
bXouYXNjAAoJEEMlk4u+rwzjne8H/jEemY/b9CSOwZd38uulTsYdCuzWDWujZrWA
t6hDwTvqkSGWtNEluG62HW/Sddw7UcjaTk0xG3Ez750EJOmUMy9ZI+jiOGQDViNj
uiSrvwfGg6/h86B5BXQrouoRXLWJXw5BiOSdsXVLtcahp0LjlvOPglBo4nESpzWq
tkmU/4HjvBZIDos6XalBjpJPEtw1jp2WVBNL13DyRgPxC0M0LRfJIiUyXRfeAHti
Wp0wJjeHVzDMX8g10CjbyTKQRkjCYCKg/yTmlXG7jgB6fGDKu6Ak2JvJbKJui1OZ
Aya4f2erg3Y6lGeAwELhjDceoLKAbbaTBe8FPsTOf7U6T5hePCs=
=+sNp
-----END PGP SIGNATURE-----


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux