Path: csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod From: Joe Pfeiffer Newsgroups: linux.debian.user Subject: Re: [SOLVED] Re: Migrating Debian installation to a new motherboard Date: Fri, 02 Nov 2018 05:00:01 +0100 Message-ID: References: X-Original-To: debian-user@lists.debian.org X-Mailbox-Line: From debian-user-request@lists.debian.org Fri Nov 2 03:57:10 2018 Old-Return-Path: X-Amavis-Spam-Status: No, score=-0.651 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DIGITS_LETTERS=1, FOURLA=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no autolearn_force=no X-Policyd-Weight: using cached result; rate: -8.1 Organization: A noiseless patient Spider MIME-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) Cancel-Lock: sha1:F/g79Ka9Og0jPO3EQdGiwvY/gaw= sha1:S+yhYCoIAydDzAeRUj8UuNCa35o= X-Auth-Sender: U2FsdGVkX1+NWvzmJczMNUCLQGBPZjw+XeNuVIiVY+adLpVAUzrkgo/i/RY74D7O Sender: robomod@news.nic.it X-Original-Newsgroups: linux.debian.user X-Original-References: <20181101161729.rpddrs7pl5hir5kq@randomstring.org> <4c00a6ae-ddff-11e8-9b6a-00163eeb5320@msgid.mathom.us> <1br2g4kzhi.fsf@pfeifferfamily.net> <20181102031236.gdkby232ornsrepc@wren.corp> X-Mailing-List: archive/latest/741942 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/1bmuqskv0j.fsf@pfeifferfamily.net Approved: robomod@news.nic.it Lines: 43 X-Original-Date: Thu, 01 Nov 2018 21:39:40 -0600 X-Original-Message-ID: <1bmuqskv0j.fsf@pfeifferfamily.net> X-Original-Sender: robomod@news.nic.it Xref: csiph.com linux.debian.user:201981 David Wright writes: > On Thu 01 Nov 2018 at 20:03:05 (-0600), Joe Pfeiffer wrote: >> local10 writes: >> > Nov 1, 2018, 1:57 PM by mstone@debian.org: >> >> On Thu, Nov 01, 2018 at 05:43:56PM +0100, local10 wrote: >> >> >> >> That means it's down. Note that you said enp3so above, that should >> >> be enp3s0 (zero); which did you put in interfaces? Also, there >> >> should be either "auto enp3s0" or "allow-hotplug enp3s0". Assuming >> >> that's all right, try manually running "ifup -v enp3s0". >> > >> > That was it. I did have "allow-hotplug" but it was still pointing >> > to enp2s0, not paying attention obviously. After changing >> > "allow-hotplug enp3s0" the network came back, everything works. >> > >> > So my experience indicates that it is quite possible to replace the >> > motherboard, stick the old hard disk in and the only change that's >> > required (in my case) was to change "/etc/network/interfaces" to >> > reflect the new interface name from enp2s0 to enp3s0 . No need to >> > change NIC MAC address. >> > >> > Thanks to everyone who responded. >> >> For what it's worth, I'm running network-manager and my ethernet port >> (enp4s0 in my case) isn't listed in /etc/network/interfaces at all. All >> that's in there is lo (the loopback interface). > > FWIW if it were listed in /e/n/i, then nm would not manage it, would it. > > I expect you've got the interface name stored in nm's connection > profile instead. > > BTW in a network set up like my own, the place where the MAC would be > relevant is in the DHCP server (here, the router) because that is how > the IP number is assigned. An unassigned MAC will get given an IP > address 192.168.1.200+, and it will conect to the Internet, but other > machines on the LAN would not recognise it. (Although the router can > hand out IP numbers, it doesn't run a nameserver.) Though in my case my DHCP server is dnsmasq on another machine, which happily associates hostnames with the IP addresses so my machines can indeed find each other.