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

Re: Was: Ric Moore



On Sun, Jan 18, 2015 at 06:29:46AM -0500, Gene Heskett wrote:
> On Sunday 18 January 2015 05:40:43 Andrew M.A. Cater did opine
> [Gene]
> Oh it usually does, until the initial reboot, at which time network 
> mangler steps in and destroys your work. 
... stuff snipped by Andy ... 
> 
> But no, thats too damned simple so it will never be done.

>From the README.Debian on a system that has network-manager installed [in
/usr/share/doc/README.Debian]

--

unmanaged devices and /etc/network/interfaces
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Network devices which are configured in /etc/network/interfaces will typically
be managed by ifupdown. Such devices will by default be marked as "unmanaged"
in NetworkManager.

You can tell NetworkManager to read and use the network configuration from
/etc/network/interfaces by editing /etc/NetworkManager/NetworkManager.conf
and changing the configuration as follows:

  [ifupdown]
  managed=true

After modifying /etc/NetworkManager/NetworkManager.conf or
/etc/network/interfaces you need to restart the NetworkManager service via
"service network-manager restart".

It needs to be considered though that the network interface will also still be
managed by ifupdown. This can lead to unexpected behaviour if two network
configuration systems manage the same device.

If you want to have a network interface managed by NetworkManager it is thus
recommended to manually remove any configuration for that interface from
/etc/network/interfaces.

--

An expert install in which you force the network addresses as I suggest should
write /etc/network/interfaces correctly - which will effectively disable NM.

> [Andy]
> > The key if you've stuff that's non standard is to do an Expert install.
> 
> What is "non-standard" about an /etc/hosts file based network?  Nothing. I 
> dare say it was invented long before dhcp.  And dns servers.

These days a lot of people pick up addresses via DHCP from wireless access points
/ 3G GSM dongles / a pool of addresses from a wired network - or just an ISP 
modem/router (though that will normally give you a very long lease so, effectively,
a static address). That's for IPV4. IPV6 may give you effectively, a static address,
automagically generated and based on machine characteristics. 

In that sense, a network of static addresses is now more unusual.

> 
> > The other disks will be useful if you ever have to bootstrap a complete
> > machine without access to a network: apt-cdrom add is then used to add
> > the disks to your machine so that the package management system
> > understands whtihc packages are on which disk.
> > 
> > Hope this helps,
> > 
> > All the best,
> > 
> > AndyC
> 
> 
> It would help immensely AndyC, IF that is how it actually worked.
> Sadly, it has not. IIRC the last install where it worked was mandrake on 
> my now ancient lappy about a dozen years back.  Before network mangler?  
> Maybe...

I've explained this in a few various posts over the years: if you have no
network at all and have to install on a completely isolated machine, that's when 
you may need the 10 or more DVDs. Install a bare base system from the first one,
add each disk via loop mount and apt-cdrom add. 

After that, you can add packages and apt-get will prompt you for disk changes 
... that's about the _only_ time that you need all the disk images rather than 
the first DVD. If you need to generate DVDs after DVD3, use jigdo to build them 
from your nearest mirror.

Me, I much prefer to use the netinst install. I do have fast broadband which
really helps: there's also the fact that the install itself does a check on line
so that all the latest base system updates are included by the time you reboot.

> 
> But, in the unlikely event it might, I will try that when I go to do the 
> next install, probably some time in the coming week as the weather people 
> are telling us to bring in our brass monkeys again.  Hopefully I can get 
> some machining done on 2 big slabs of Mahogany before then, but the cnc 
> milling machine is located in an un-insulated outbuilding with hopefully 
> enough electrical heat to keep it above the dew point.

Good luck: be safe - electricity, even at 110V, and water / damp don't mix.
Happy to help someone who's prepared to _do_ stuff so well.

All the very best,

AndyC 

[amacater@galactic.demon.co.uk / amacater@debian.org - I've been a
Debian developer for a while now :) ]

> 
> Cheers, Gene Heskett
> -- 
> "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author)
> Genes Web page <http://geneslinuxbox.net:6309/gene>
> US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS
> 


Reply to: