Page 1 of 1

[SOLVED] Network gets errors while booting.

PostPosted: Jul 11th, '20, 11:49
by nigelc
Hello,
My system gets an error while Bringing up the network.

I have had this before, but don't know what to do.
.

Code: Select all
# systemctl status.network.service
Unknown operation status.network.service.
[root@localhost ~]# systemctl status network.service
● network.service - LSB: Bring up/down networking
   Loaded: loaded (/etc/rc.d/init.d/network; generated)
   Active: failed (Result: exit-code) since Sat 2020-07-11 19:25:33 AEST; 1min >
     Docs: man:systemd-sysv-generator(8)
  Process: 1170 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=1>

Jul 11 19:25:33 localhost systemd[1]: network.service: Control process exited, >
Jul 11 19:25:33 localhost systemd[1]: network.service: Failed with result 'exit>
Jul 11 19:25:33 localhost systemd[1]: Failed to start LSB: Bring up/down networ>
Jul 11 19:25:37 localhost ifplugd(eno1)[2658]: Link beat detected.
Jul 11 19:25:38 localhost ifplugd(eno1)[2658]: Executing '/etc/ifplugd/ifplugd.>
Jul 11 19:25:39 localhost dhclient[4068]: DHCPREQUEST for 192.168.20.2 on eno1 >
Jul 11 19:25:39 localhost dhclient[4068]: DHCPACK of 192.168.20.2 from 192.168.>
Jul 11 19:25:39 localhost dhclient[4068]: bound to 192.168.20.2 -- renewal in 3>
Jul 11 19:25:39 localhost ifplugd(eno1)[2658]: client: Determining IP informati>
Jul 11 19:25:39 localhost ifplugd(eno1)[2658]: Program executed successfully.
[root@localhost ~]# d journalctl -ab --no-pager -u network
ls: unrecognized option '--no-pager'
Try 'ls --help' for more information.
[root@localhost ~]# journalctl -ab --no-pager -u network
-- Logs begin at Sun 2019-08-25 04:46:34 AEST, end at Sat 2020-07-11 19:31:15 AEST. --
Jul 11 19:25:31 localhost systemd[1]: Starting LSB: Bring up/down networking...
Jul 11 19:25:32 localhost network[1170]: Bringing up loopback interface:  [  OK  ]
Jul 11 19:25:32 localhost ifplugd(eno1)[2658]: ifplugd 0.28 initializing.
Jul 11 19:25:32 localhost ifplugd(eno1)[2658]: Using interface eno1/74:D4:35:83:A9:7B with driver <e1000e> (version: 3.2.6-k)
Jul 11 19:25:32 localhost ifplugd(eno1)[2658]: Using detection mode: SIOCETHTOOL
Jul 11 19:25:32 localhost ifplugd(eno1)[2658]: Initialization complete, link beat not detected.
Jul 11 19:25:32 localhost network[1170]: Bringing up interface eno1:  [  OK  ]
Jul 11 19:25:33 localhost network[1170]: Bringing up interface enp0s29u1u2:  ERROR     : [/etc/sysconfig/network-scripts/ifup-eth] Device enp0s29u1u2 does not seem to be present, delaying initialization.
Jul 11 19:25:33 localhost network[1170]: [FAILED]
Jul 11 19:25:33 localhost systemd[1]: network.service: Control process exited, code=exited, status=1/FAILURE
Jul 11 19:25:33 localhost systemd[1]: network.service: Failed with result 'exit-code'.
Jul 11 19:25:33 localhost systemd[1]: Failed to start LSB: Bring up/down networking.
Jul 11 19:25:37 localhost ifplugd(eno1)[2658]: Link beat detected.
Jul 11 19:25:38 localhost ifplugd(eno1)[2658]: Executing '/etc/ifplugd/ifplugd.action eno1 up'.
Jul 11 19:25:39 localhost dhclient[4068]: DHCPREQUEST for 192.168.20.2 on eno1 to 255.255.255.255 port 67
Jul 11 19:25:39 localhost dhclient[4068]: DHCPACK of 192.168.20.2 from 192.168.20.1
Jul 11 19:25:39 localhost dhclient[4068]: bound to 192.168.20.2 -- renewal in 36240 seconds.
Jul 11 19:25:39 localhost ifplugd(eno1)[2658]: client: Determining IP information for eno1... done.
Jul 11 19:25:39 localhost ifplugd(eno1)[2658]: Program executed successfully.
[root@localhost ~]#


What Is device enp0s29u1u2 ?

Thanks in advance.

Re: Network gets errors while booting.

PostPosted: Jul 12th, '20, 09:10
by doktor5000
That is a wired network connection. Please show the output of
Code: Select all
/sbin/ip a
ls -al /etc/sysconfig/network-scripts/ifcfg*


Aprt from that, is there any actual issue with your network except for those messages?

Re: Network gets errors while booting.

PostPosted: Jul 12th, '20, 11:51
by nigelc
Here It is:

Code: Select all
[nigel@localhost Desktop]$
[nigel@localhost Desktop]$ /sbin/ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 74:d4:35:83:a9:7b brd ff:ff:ff:ff:ff:ff
    inet 192.168.20.3/24 brd 192.168.20.255 scope global eno1
       valid_lft forever preferred_lft forever
    inet6 fe80::76d4:35ff:fe83:a97b/64 scope link
       valid_lft forever preferred_lft forever
[nigel@localhost Desktop]$
[nigel@localhost Desktop]$ ls -al /etc/sysconfig/network-scripts/ifcfg*
-rwxr-xr-x 1 root root 294 Jul 11 18:43 /etc/sysconfig/network-scripts/ifcfg-eno1*
-rw-r--r-- 1 root root  45 Jun 23 16:17 /etc/sysconfig/network-scripts/ifcfg-enp0s29u1u2
-rw-r--r-- 1 root root 254 Feb 15  2019 /etc/sysconfig/network-scripts/ifcfg-lo
[nigel@localhost Desktop]$




It' is still working
Nigel

Re: Network gets errors while booting.

PostPosted: Jul 12th, '20, 16:38
by doktor5000
If you want to get rid of the error, then move away / delete or fix /etc/sysconfig/network-scripts/ifcfg-enp0s29u1u2 - this is the config file for that interface.

Re: Network gets errors while booting.

PostPosted: Jul 12th, '20, 23:42
by nigelc
How do I
delete or fix /etc/sysconfig/network-scripts/ifcfg-enp0s29u1u2


thanking you.

Re: Network gets errors while booting.

PostPosted: Jul 13th, '20, 16:50
by doktor5000
If you want to fix it, take a look at the content of it using e.g.
Code: Select all
cat /etc/sysconfig/network-scripts/ifcfg-enp0s29u1u2

and fix what's wrong, or post the content here, along with some context information.

If you want to delete it, simply delete it
Code: Select all
drakconnect --del

or if that interface is not offered there then delete it manually
Code: Select all
rm -f /etc/sysconfig/network-scripts/ifcfg-enp0s29u1u2

Re: [SOLVED] Network gets errors while booting.

PostPosted: Jul 15th, '20, 03:28
by nigelc
Hello,
All Solved now.
Code: Select all

[root@localhost ~]# systemctl status network.service
● network.service - LSB: Bring up/down networking
   Loaded: loaded (/etc/rc.d/init.d/network; generated)
   Active: active (running) since Wed 2020-07-15 11:17:58 AEST; 5min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 1181 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=0>
    Tasks: 2 (limit: 4915)
   Memory: 9.4M
   CGroup: /system.slice/network.service
           ├─2191 /sbin/ifplugd -I -b -i eno1
           └─4039 dhclient -1 -q -lf /var/lib/dhclient/dhclient--eno1.lease -pf>

Jul 15 11:17:58 localhost ifplugd(eno1)[2191]: Initialization complete, link be>
Jul 15 11:17:58 localhost network[1181]: Bringing up interface eno1:  [  OK  ]
Jul 15 11:17:58 localhost systemd[1]: Started LSB: Bring up/down networking.
Jul 15 11:18:03 localhost ifplugd(eno1)[2191]: Link beat detected.
Jul 15 11:18:04 localhost ifplugd(eno1)[2191]: Executing '/etc/ifplugd/ifplugd.>
Jul 15 11:18:04 localhost dhclient[4039]: DHCPREQUEST for 192.168.20.3 on eno1 >
Jul 15 11:18:04 localhost dhclient[4039]: DHCPACK of 192.168.20.3 from 192.168.>
Jul 15 11:18:04 localhost dhclient[4039]: bound to 192.168.20.3 -- renewal in 3>
Jul 15 11:18:04 localhost ifplugd(eno1)[2191]: client: Determining IP informati>
Jul 15 11:18:04 localhost ifplugd(eno1)[2191]: Program executed successfully.
lines 1-21/21 (END)...skipping...
● network.service - LSB: Bring up/down networking
   Loaded: loaded (/etc/rc.d/init.d/network; generated)
   Active: active (running) since Wed 2020-07-15 11:17:58 AEST; 5min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 1181 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=0/SUCCESS)
    Tasks: 2 (limit: 4915)
   Memory: 9.4M
   CGroup: /system.slice/network.service
           ├─2191 /sbin/ifplugd -I -b -i eno1
           └─4039 dhclient -1 -q -lf /var/lib/dhclient/dhclient--eno1.lease -pf /var/run/dhclient-eno1.pid eno1

Jul 15 11:17:58 localhost ifplugd(eno1)[2191]: Initialization complete, link beat not detected.
Jul 15 11:17:58 localhost network[1181]: Bringing up interface eno1:  [  OK  ]
Jul 15 11:17:58 localhost systemd[1]: Started LSB: Bring up/down networking.
Jul 15 11:18:03 localhost ifplugd(eno1)[2191]: Link beat detected.
Jul 15 11:18:04 localhost ifplugd(eno1)[2191]: Executing '/etc/ifplugd/ifplugd.action eno1 up'.
Jul 15 11:18:04 localhost dhclient[4039]: DHCPREQUEST for 192.168.20.3 on eno1 to 255.255.255.255 port 67
Jul 15 11:18:04 localhost dhclient[4039]: DHCPACK of 192.168.20.3 from 192.168.20.1
Jul 15 11:18:04 localhost dhclient[4039]: bound to 192.168.20.3 -- renewal in 39936 seconds.
Jul 15 11:18:04 localhost ifplugd(eno1)[2191]: client: Determining IP information for eno1... done.
Jul 15 11:18:04 localhost ifplugd(eno1)[2191]: Program executed successfully.
~

Re: [SOLVED] Network gets errors while booting.

PostPosted: Jul 15th, '20, 03:31
by nigelc
Thank you.