What happend to "70-persistent-net.rules" in EVE

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

Post Reply
badgerdog
Posts: 41
Joined: Tue Apr 11, 2017 2:03 am

What happend to "70-persistent-net.rules" in EVE

Post by badgerdog » Tue Apr 11, 2017 5:12 pm

Subject says it all. I have a problem with Cisco's ACS in QEMU where the NIC is not working after each reboot. The temporary fix is to remove and replace the "ip default-gateway" command in the ACS CLI. I sawa post on this board that the permanent solution is to use "guestfish" to mount the guest ACS image and modify the "70-persistent-net.rules" of that image. That files exist in the image, but it's empty. The I recalled that back in UNL days that there was a problem with this file on the UNL host when running UNL in VMWare Workstation and the fix was to delete the file and reboot UNL; this was related to UNL not grabbing or losing it's ip address in VMWare workstation. Noting that, I decide to take a look for that EVE host file and to my surprise, that file no longer exist in EVE's /etc/udev/rules.d/ directory.

All just an observation, but I'm still trying to find a permanent solution to fixing the NIC problem with the Cisco ACS image.

Thanks

2600
Posts: 36
Joined: Mon Mar 20, 2017 7:45 pm

Re: What happend to "70-persistent-net.rules" in EVE

Post by 2600 » Thu May 11, 2017 9:26 am

Thanks! This is an annoying issue.

ecze
Posts: 534
Joined: Wed Mar 15, 2017 1:54 pm

Re: What happend to "70-persistent-net.rules" in EVE

Post by ecze » Thu May 11, 2017 11:27 am

check with guestfish

guestfish -a hda.qcow2
run
mount /dev/sda3 /
vi /startup-config-XXXXXXXXX/etc/sysconfig/network ( Where XXXXXXX is a unique number created on first install / setup )

and change to :
GATEWAYDEV=""

E.

jiggamaine
Posts: 8
Joined: Mon Mar 20, 2017 2:50 pm

Re: What happend to "70-persistent-net.rules" in EVE

Post by jiggamaine » Tue May 16, 2017 3:10 am

how do i find the startup-config from the first install?

ecze
Posts: 534
Joined: Wed Mar 15, 2017 1:54 pm

Re: What happend to "70-persistent-net.rules" in EVE

Post by ecze » Tue May 16, 2017 1:50 pm

see previuos post...

E.

badgerdog
Posts: 41
Joined: Tue Apr 11, 2017 2:03 am

Re: What happend to "70-persistent-net.rules" in EVE

Post by badgerdog » Tue May 16, 2017 11:25 pm

Above guestfish solution isn't working. Everything happens properly, but still , after reboot of the ACS, I have to go into ACS cli and first remove gateway configuration, then configure gateway again. So in effect, I'm back where I started. :cry:

badgerdog
Posts: 41
Joined: Tue Apr 11, 2017 2:03 am

Re: What happend to "70-persistent-net.rules" in EVE

Post by badgerdog » Wed May 17, 2017 3:14 am

Anyone know of a solution for this? The posted Guestfish solution above does not fix the problem, after every reboot of the ACS I need to remove and re-apply the default gateway from the CLI of ACS to get IP connectivity.

Running latest EVE and Qemu: EVE-NG version: 2.0.3-60, QEMU version: 2.4.0

Thanks

Post Reply