Re: Recommended Configuration for PCMCIA Wireless Cards?

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

 



On Thu, 17 Oct 2002, Rob Thorne wrote:

> Keith Winston wrote:
>
> >On Thu, 2002-10-17 at 14:17, Rob Thorne wrote:
> >
> >
> >>No idea, since I don't have any non-Orinoco PCMCIA cards handy.  But I'd
> >>actually be a little surprised if anything else worked, since there is
> >>very little in the scripts that would treat it different than anything
> >>other card (and Orinoco works fine with WEP on 8.0, just not via the
> >>Redhat scripts).
> >>
> >>
> >
> >Works fine for me with the Red Hat scripts.
> >
> I figured out the problem.  It's a bad assumption in one of the scripts.
>   In the file /etc/sysconfig/network-scripts/network-functions,  there's
> a function:
>
>     is_wireless_device ()
>     {
>         [ -x /sbin/iwconfig ] || return 1
>         LC_ALL=C iwconfig $1 2>&1 | grep -q "no wireless extensions" ||
>     return 0
>         return 1
>     }
>
> There are two things wrong with this:
>
> 1) RH 8.0 doesn't install wireless tools on an update install.  Neither
> here nor there, although arguably 'neat' should either check for this,
> or have wireless-tools as a dependency in its RPM.

This sounds like it ought to be in Bugzilla.  OTOH, if you had the
wireless-tools RPM in place before the upgrade, it probably would have
been upgraded and we'd all be none the wiser.

> 2) The location of iwconfig is *hardwired*.  Not so good.

Not so bad.  If the dependency is satisfied, then iwconfig is guaranteed
to be in the right place.  This is how RPM systems ought to work, I think.

> My system had a version of iwconfig in /usr/local/bin.  Once I made a
> symlink to /usr/local/bin/iwconfig at /sbin/iwconfig, the wireless card
> comes up automagically, as it should.

How did iwconfig get into /usr/local/bin?  If you had the wireless-tools
RPM it should be in the right place.

> It's not secure to just assume that iwconfig is in the path, so I'm not
> sure what the best fix would be (perhaps to also check for iwconfig at
> /usr/local/bin/iwconfig as well).  But at least this should be
> documented somewhere, so consider this post documentation.
>
> Thanks to everyone who replied,
> Rob
>
> >
> >Best Regards,
> >Keith
> >
> >
>
>
>

-- 
		Matthew Saltzman

Clemson University Math Sciences
mjs@clemson.edu
http://www.math.clemson.edu/~mjs



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux