Re: Logic for network-scripts?

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

 



Joe Christy <joe@xxxxxxxx> writes:

> I recently replaced a laptop with a removable PCMCIA 802.11 card with 
> one that has its 802.11 built in.
>
> Is there a clever way to have FC2 try to ifup the wireless if, and only 
> if, ifup'ing the fixed ethernet fails?
>
> On my old laptop, I could simply insert the PCMCIA card before I boot 
> w/o the ethernet plugged in and leave it out otherwise. That way one or 
> the other would be guaranteed to fail. Now, when the ethernet is plugged 
> in, both interfaces come up and I have routing conflicts.

Not really what you asked for... that is no test involved but would
setting the ONBOOT parameter on one or the other to `NO' help?

grep ONBOOT /etc/sysconfig/network-scripts/*eth*
/etc/sysconfig/network-scripts/ifcfg-eth0:ONBOOT=no
/etc/sysconfig/network-scripts/ifcfg-eth1:ONBOOT=yes



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

  Powered by Linux