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

Re: Disable Wired Ethernet at Boot



On Sat, Jul 06, 2019 at 01:23:49PM -0700, Patrick Bartek wrote:
> Hi! All,
> 
> It has become necessary to move this box to a different room where a
> wired ethernet connection is impractical.  So, I'm going wireless with
> it.  USB.  No problem with that, but . . .  What's the easiest way to
> prevent the wired ethernet (built-in on motherboard) from starting up?

Just don't "auto eth0" in /etc/network/interfaces (e.g. comment out
that line). Then eth0 will be only brought up manually, i.e. when you
invoke "sudo ifup eth0".

> I was thinking of just commenting its stanza out
> of /etc/network/interfaces. Any other more practical (or proper) way
> that's 100% easily reversable?

Don't do that: Just getting rid of the auto part lets you still use
eth0 on demand, when you need it.

Cheers
-- t

Attachment: signature.asc
Description: Digital signature


Reply to: