Antske nano on new network

1 reply
dbenham
1 post

Antsle nano ran a ton of config scripts on first boot up. I have moved my nano to another network. I could certainly try to manually reconfigure tic the new network, but is there a script that re does the network setup?

daniel.luckStaff
551 posts

Hi dbenham:

We can manually edit files under /etc/sysconfig/network-scripts for ifcfg-br0 and ifcfg-eth0.

---
Here's what mine looks like.

ifcfg-br0:

DEVICE="br0"
ONBOOT="yes"
DEVICETYPE="ovs"
TYPE="OVSBridge"
HOTPLUG="no"
MACADDRESS="dc:a6:32:67:bf:cf"
BOOTPROTO="dhcp"
OVSDHCPINTERFACES="eth0"

ifcfg-eth0:

DEVICE="eth0"
ONBOOT="yes"
DEVICETYPE="ovs"
TYPE="OVSPort"
OVS_BRIDGE="br0"
BOOTPROTO="none"
HOTPLUG="no"
HWADDRESS="dc:a6:32:67:bf:cf"

You can copy and paste the contents but you'll need to change the MACADDRESS for ifg-br0 and HWADDRESS for ifcfg-eth0 so that they match.

You can find your MAC Address by typing this command:

ip addr show br0

Log in to reply. New here? It takes a minute.