#1866: Pointless warning when running "ifdown" for a manually-configured
interface
--------------------------------------------+-------------------------------
Reporter: [EMAIL PROTECTED] | Owner: [email protected]
Type: task | Status: new
Priority: lowest | Milestone: 6.3
Component: Book | Version: SVN
Severity: normal | Resolution:
Keywords: |
--------------------------------------------+-------------------------------
Comment (by [EMAIL PROTECTED]):
Replying to [comment:7 [EMAIL PROTECTED]:
> Replying to [comment:6 [EMAIL PROTECTED]:
>
> > #get a list of available interfaces
> > interfaces=`ip link show | grep ^[[:digit:]].*,UP | cut -f2 -d:`
>
> I don't think this will always be what we want. On my system, I get:
>
> {{{
> lo
> wifi0
> ath0
> }}}
>
> In this case, I don't want to make any direct changes to wifi0, but I do
use ath0. This is a characteristic of madwifi cards because both
interfaces are for one wireless network card. OTOH, it probably doesn't
make any difference for shutdown.
Yeah, I get similar interfaces listed for my wifi card - wmaster0 and
wlan0. Again, I don't think I should be touching wmaster0 at all, but,
like you, I'm not sure that bringing that interface down will do any harm.
That said, I can't even bring the interface up at the moment so I can't
test this for the time being. I do wonder whether there are similar types
of interface (dial-up modems, isdn stuff, etc.) that might end up with
more than one interface being listed. The above mechanism for detecting
available interfaces might be just too brittle :-(
--
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/1866#comment:8>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page