Problem: Network interfaces
|
10th Aug, 2016, 03:24 AM
Post: #1
|
|||
|
|||
Network interfaces
Last week I built a box with xbian-latest for a RPi 3. Configured it with all the skins, addons, NFS mount points for my environment. I dd'd (copied) the sdhc card & made 2 copies. The copies in Kodi System->xbian config show the network interfaces as eth1 & wlan1. Neither will come 'up' on reboot, I have to go thru the ssid & enter the passphrase to get the wlan1 to come up. I realize that the MAC addresses from the orig RPi3 are probably being reserved for eth0 & wlan0 in a network config file somewhere, and that the eth0 & wlan0 interfaces are probably the only interfaces that are by default to come up on boot.
How can I either... 1. Change eth0 & wlan0 do be down by default & eth1 & wlan1 to be up by default? 2. Update the MAC addresses info for eth0 & wlan0 to be the new RPi's so it'll work like I did a fresh install? --Andrew |
|||
10th Aug, 2016, 07:41 AM
Post: #2
|
|||
|
|||
RE: Network interfaces | |||
10th Aug, 2016, 07:55 AM
Post: #3
|
|||
|
|||
RE: Network interfaces
(10th Aug, 2016 07:41 AM)Nachteule Wrote:(10th Aug, 2016 03:24 AM)meadrocks Wrote: 2. Update the MAC addresses info for eth0 & wlan0 to be the new RPi's so it'll work like I did a fresh install? Perfect, just like a Fedora / Red Hat / CentOS box. I've been supporting FreeBSD @ my work for 2.5 years, my Linux is getting a little rusty. I'll try it tonight. Thanks. Next question... If the ethernet port sees a carrier will it automatically try & get a DHCP IP address? |
|||
10th Aug, 2016, 08:06 AM
Post: #4
|
|||
|
|||
RE: Network interfaces
(10th Aug, 2016 07:55 AM)meadrocks Wrote: Next question... I should, yes. Usually I'm using WLAN only here with static addresses, but when I test a fresh image and forget to plug in network cable before booting, system will get ip address after plugging cable in |
|||
11th Aug, 2016, 01:39 AM
Post: #5
|
|||
|
|||
RE: Network interfaces
(10th Aug, 2016 07:41 AM)Nachteule Wrote:(10th Aug, 2016 03:24 AM)meadrocks Wrote: 2. Update the MAC addresses info for eth0 & wlan0 to be the new RPi's so it'll work like I did a fresh install? That did it, I also cleaned up /etc/network/interfaces a little too. |
|||
« Next Oldest | Next Newest »
|