Antsle Forum
Welcome to our Antsle community! This forum is to connect all Antsle users to post experiences, make user-generated content available for the entire community and more.
Please note: This forum is about discussing one specific issue at a time. No generalizations. No judgments. Please check the Forum Rules before posting. If you have specific questions about your Antsle and expect a response from our team directly, please continue to use the appropriate channels (email: [email protected]) so every inquiry is tracked.
Reconfigure NANO IP
Quote from nwwhouse on May 12, 2021, 8:15 amHi.
So my NANO seems to have lost it's eth0 config and is not picking up an IP from DHCP. How can I reconfigure it via console?
Thanks!
Hi.
So my NANO seems to have lost it's eth0 config and is not picking up an IP from DHCP. How can I reconfigure it via console?
Thanks!
Uploaded files:Quote from daniel.luck on May 12, 2021, 3:08 pmLet's look at your network configuration.
From the SSH Console, use these commands:
cd /etc/sysconfig/network-scripts
more ifcfg-br0
more ifcfg-eth0Let us know the contents of these files.
---
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
You can also send an e-mail to [email protected] to open support ticket.
Please let us know how it goes.
Thanks.
Let's look at your network configuration.
From the SSH Console, use these commands:
cd /etc/sysconfig/network-scripts
more ifcfg-br0
more ifcfg-eth0
Let us know the contents of these files.
---
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
You can also send an e-mail to support@antsle.com to open support ticket.
Please let us know how it goes.
Thanks.
Quote from nwwhouse on May 13, 2021, 6:24 amI can see that the br0 is configured with the static IP I assigned but it is not responding to ping and cannot ping the gateway. I verified the ethernet and switch and checked that my firewall is not blocking it in any way.
Thanks
I can see that the br0 is configured with the static IP I assigned but it is not responding to ping and cannot ping the gateway. I verified the ethernet and switch and checked that my firewall is not blocking it in any way.
Thanks
Uploaded files:Quote from daniel.luck on May 13, 2021, 5:09 pmLet's configure ifcfg-br0 with DHCP.
Edit the /etc/sysconfig/network-scripts/ifcfg-br0 with this:
DEVICE="br0"
ONBOOT="yes"
DEVICETYPE="ovs"
TYPE="OVSBridge"
HOTPLUG="no"
MACADDRESS="dc:a6:32:72:e6:c5"
BOOTPROTO="dhcp"
OVSDHCPINTERFACES="eth0"(For other looking at this post, you'll put your own MAC Address for MACADDRESS=).
Save the file.
Reboot your nano with this command:
reboot
Let's configure ifcfg-br0 with DHCP.
Edit the /etc/sysconfig/network-scripts/ifcfg-br0 with this:
DEVICE="br0"
ONBOOT="yes"
DEVICETYPE="ovs"
TYPE="OVSBridge"
HOTPLUG="no"
MACADDRESS="dc:a6:32:72:e6:c5"
BOOTPROTO="dhcp"
OVSDHCPINTERFACES="eth0"
(For other looking at this post, you'll put your own MAC Address for MACADDRESS=).
Save the file.
Reboot your nano with this command:
reboot
Quote from daniel.luck on May 17, 2021, 5:43 pmCheck the root '/' partition from the antsle's command line with
df -h /
check the 'Use%' column. If the root '/' partition is full we can check for large files with
for f in `find / -xdev -type f -size +300M` ; do ls -lh $f ; done
Check the zpools with
zpool list
The CAP column show the percent full and the FREE column the free space.
Check the root '/' partition from the antsle's command line with
df -h /
check the 'Use%' column. If the root '/' partition is full we can check for large files with
for f in `find / -xdev -type f -size +300M` ; do ls -lh $f ; done
Check the zpools with
zpool list
The CAP column show the percent full and the FREE column the free space.
Quote from nwwhouse on May 18, 2021, 6:08 amThat did it. I found an 11gb log file. once I deleted it I was able to get it back on the network.
Thanks
That did it. I found an 11gb log file. once I deleted it I was able to get it back on the network.
Thanks
Quote from daniel.luck on May 18, 2021, 2:33 pmHi nwhouse:
Thanks for letting us know. Glad to hear that worked.
I'm curious to see what version of antMan that you have on the nano. Go to Settings in antMan to view which version.
Hi nwhouse:
Thanks for letting us know. Glad to hear that worked.
I'm curious to see what version of antMan that you have on the nano. Go to Settings in antMan to view which version.
Quote from maceysingleton on June 30, 2021, 8:33 amQuote from daniel.luck on May 13, 2021, 5:09 pmLet's configure ifcfg-br0 with DHCP.
Edit the /etc/sysconfig/network-scripts/ifcfg-br0 with this:
DEVICE="br0"
ONBOOT="yes"
DEVICETYPE="ovs"
TYPE="OVSBridge"
HOTPLUG="no"
MACADDRESS="dc:a6:32:72:e6:c5"
BOOTPROTO="dhcp"
OVSDHCPINTERFACES="eth0"(For other looking at this post, you'll put your own MAC Address for MACADDRESS=).
Save the file.
Reboot your nano with this command:
reboot
Hello! I need mine to be on Static and I changed it to DHCP so I cannot access my server now. How do you edit this to change it back to static IP?
Quote from daniel.luck on May 13, 2021, 5:09 pmLet's configure ifcfg-br0 with DHCP.
Edit the /etc/sysconfig/network-scripts/ifcfg-br0 with this:
DEVICE="br0"
ONBOOT="yes"
DEVICETYPE="ovs"
TYPE="OVSBridge"
HOTPLUG="no"
MACADDRESS="dc:a6:32:72:e6:c5"
BOOTPROTO="dhcp"
OVSDHCPINTERFACES="eth0"(For other looking at this post, you'll put your own MAC Address for MACADDRESS=).
Save the file.
Reboot your nano with this command:
reboot
Hello! I need mine to be on Static and I changed it to DHCP so I cannot access my server now. How do you edit this to change it back to static IP?
Quote from daniel.luck on July 1, 2021, 2:24 pmHi Macey:
Now that you've got back to DHCP, you should be able to access your nano with antMan.
You can change your network by going to Network in antMan.
Here are some instructions on how to change to static using antMan:
https://docs.antsle.com/networking/configure-ip-addressesFor reference, here's what my ifcfg-br0 file looks like for one of my antsle's with static ip address:
DEVICE="br0"
ONBOOT="yes"
DEVICETYPE="ovs"
TYPE="OVSBridge"
HOTPLUG="no"
MACADDR="00:0c:29:e8:79:c9"
IPADDR=192.168.1.7
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
Hi Macey:
Now that you've got back to DHCP, you should be able to access your nano with antMan.
You can change your network by going to Network in antMan.
Here are some instructions on how to change to static using antMan:
https://docs.antsle.com/networking/configure-ip-addresses
For reference, here's what my ifcfg-br0 file looks like for one of my antsle's with static ip address:
DEVICE="br0"
ONBOOT="yes"
DEVICETYPE="ovs"
TYPE="OVSBridge"
HOTPLUG="no"
MACADDR="00:0c:29:e8:79:c9"
IPADDR=192.168.1.7
NETMASK=255.255.255.0
GATEWAY=192.168.1.1