Re: How to disable a network interface

2009-02-03 Thread Eduardo M KALINOWSKI
Nagy Daniel wrote:
 2009/2/3 Eduardo M KALINOWSKI edua...@kalinowski.com.br:
 Nagy Daniel wrote:
 I commented out he:

 allow-hotplug eth0
 iface eth0 inet dhcp

 and all I have in the /etc/network/interfaces-file is:

 auto lo
 iface lo inet loopback

 and after reboot I still have network connection, how come? :(

 Do you have NetworkManager installed?

 yes

Then either remove NetworkManager if you are not going to use it, or
configure it not to automatically enable that interface.

And please reply to the list (and only the list), not me, and please do
not top post, it interferes with the usual flow of reading (from top to
bottom).

-- 
I'm a lucky guy, and I'm happy to be with the Yankees.  And I want to
thank everyone for making this night necessary.
-- Yogi Berra at a dinner in his honor

Eduardo M KALINOWSKI
edua...@kalinowski.com.br
http://move.to/hpkb



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: How to disable a network interface

2009-02-03 Thread Eduardo M KALINOWSKI
Nagy Daniel wrote:
 I commented out he:

 allow-hotplug eth0
 iface eth0 inet dhcp

 and all I have in the /etc/network/interfaces-file is:

 auto lo
 iface lo inet loopback

 and after reboot I still have network connection, how come? :(
   

Do you have NetworkManager installed?

-- 
Eduardo M KALINOWSKI
edua...@kalinowski.com.br
http://move.to/hpkb


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



How to disable a network interface

2009-02-02 Thread Nagy Daniel
What is the -_offical_- way, for disabling an on-board LAN [like
eth0], I mean it stays disabled after reboot too?

Thank you in anticipation


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: How to disable a network interface

2009-02-02 Thread subscriptions
On Mon, 2009-02-02 at 22:31 +0100, Nagy Daniel wrote:
 What is the -_offical_- way, for disabling an on-board LAN [like
 eth0], I mean it stays disabled after reboot too?
 
 Thank you in anticipation

in /etc/network/interfaces, there is a line, which brings up the
networks on boot:

---snip---
auto lo eth0
---snip---

When the LAN is on eth0, simply remove it:

---snip---
auto lo
---snip---


Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: How to disable a network interface

2009-02-02 Thread Ron Johnson

On 02/02/2009 03:31 PM, Nagy Daniel wrote:

What is the -_offical_- way, for disabling an on-board LAN [like
eth0], I mean it stays disabled after reboot too?

Thank you in anticipation


1) Go into the BIOS and disable it.

2) Edit /etc/udev/rules.d/70-persistent-net.rules to remove the
   relevant line, based on it's MAC address.

--
Ron Johnson, Jr.
Jefferson LA  USA

I am not surprised, for we live long and are celebrated poopers.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: How to disable a network interface

2009-02-02 Thread Andy Hawkins
Hi,

In article 49876864.4050...@cox.net,
   Ron Johnsonron.l.john...@cox.net wrote:
 2) Edit /etc/udev/rules.d/70-persistent-net.rules to remove the
 relevant line, based on it's MAC address.

It'll just get recreated won't it?

Andy


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: How to disable a network interface

2009-02-02 Thread Nagy Daniel
I commented out he:

allow-hotplug eth0
iface eth0 inet dhcp

and all I have in the /etc/network/interfaces-file is:

auto lo
iface lo inet loopback

and after reboot I still have network connection, how come? :(


2009/2/2 subscriptions subscripti...@rdegraaf.nl:
 On Mon, 2009-02-02 at 22:31 +0100, Nagy Daniel wrote:
 What is the -_offical_- way, for disabling an on-board LAN [like
 eth0], I mean it stays disabled after reboot too?

 Thank you in anticipation

 in /etc/network/interfaces, there is a line, which brings up the
 networks on boot:

 ---snip---
 auto lo eth0
 ---snip---

 When the LAN is on eth0, simply remove it:

 ---snip---
 auto lo
 ---snip---


 Rob


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: How to disable a network interface

2009-02-02 Thread Ron Johnson

On 02/02/2009 04:09 PM, Andy Hawkins wrote:

Hi,

In article 49876864.4050...@cox.net,
   Ron Johnsonron.l.john...@cox.net wrote:

2) Edit /etc/udev/rules.d/70-persistent-net.rules to remove the
relevant line, based on it's MAC address.


It'll just get recreated won't it?


That's what step (1) is for: disable the NIC in the BIOS.

(My mobo has two NICs.  Disabling one of them from the BIOS means 
that Linux doesn't see it.)


--
Ron Johnson, Jr.
Jefferson LA  USA

I am not surprised, for we live long and are celebrated poopers.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org