Page 1 of 1
What happend to "70-persistent-net.rules" in EVE
Posted: Tue Apr 11, 2017 5:12 pm
by badgerdog
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
Re: What happend to "70-persistent-net.rules" in EVE
Posted: Thu May 11, 2017 9:26 am
by 2600
Thanks! This is an annoying issue.
Re: What happend to "70-persistent-net.rules" in EVE
Posted: Thu May 11, 2017 11:27 am
by ecze
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.
Re: What happend to "70-persistent-net.rules" in EVE
Posted: Tue May 16, 2017 3:10 am
by jiggamaine
how do i find the startup-config from the first install?
Re: What happend to "70-persistent-net.rules" in EVE
Posted: Tue May 16, 2017 1:50 pm
by ecze
see previuos post...
E.
Re: What happend to "70-persistent-net.rules" in EVE
Posted: Tue May 16, 2017 11:25 pm
by badgerdog
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.

Re: What happend to "70-persistent-net.rules" in EVE
Posted: Wed May 17, 2017 3:14 am
by badgerdog
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