Thanks for the direction.
SO I copied the ethernet-static file and placed it in /etc/netctl, changed the network info to match with eth0's info.
[root@pogoplug netctl]# more ethernet-static
Description='A basic static ethernet connection'
Interface=eth0
Connection=ethernet
IP=static
Address=('192.168.1.10/24')
#Routes=('192.168.0.0/24 via 192.168.1.2')
Gateway='192.168.1.1'
DNS=('192.168.1.1')
## For IPv6 autoconfiguration
#IP6=stateless
## For IPv6 static address configuration
#IP6=static
#Address6=('1234:5678:9abc:def::1/64' '1234:3456::123/96')
#Routes6=('abcd::1234')
#Gateway6='1234:0:123::abcd'
[root@pogoplug netctl]#
When I tried to start the profile, it errored out...
[root@pogoplug netctl]# netctl start ethernet-static
Job for netctl@ethernet\x2dstatic.service failed. See 'systemctl status netctl@ethernet\x2dstatic.service' and 'journalctl -xn' for details.
[root@pogoplug netctl]#journalctl -xn
.
.
.
Aug 03 22:52:57 pogoplug network[1226]: Starting network profile 'ethernet-static'...
Aug 03 22:52:57 pogoplug network[1226]: The interface of network profile 'ethernet-static' is already up
Aug 03 22:52:57 pogoplug systemd[1]: netctl@ethernet\x2dstatic.service: main process exited, code=exited, status=1/FAIL
Aug 03 22:52:57 pogoplug systemd[1]: Failed to start Networking for netctl profile ethernet-static.
-- Subject: Unit netctl@ethernet\x2dstatic.service has failed
-- Defined-By: systemd
-- Support:
http://lists.freedesktop.org/mailman/li ... temd-devel-- Documentation:
http://www.freedesktop.org/wiki/Softwar ... e9d022f03d--
-- Unit netctl@ethernet\x2dstatic.service has failed.
--
-- The result is failed.
[root@pogoplug netctl]# netctl status ethernet-static
netctl@ethernet\x2dstatic.service - Networking for netctl profile ethernet-static
Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static)
Active: failed (Result: exit-code) since Mon 2015-08-03 22:53:41 EDT; 48s ago
Docs: man:netctl.profile(5)
Process: 1244 ExecStart=/usr/lib/network/network start %I (code=exited, status=1/FAILURE)
Main PID: 1244 (code=exited, status=1/FAILURE)
Aug 03 22:53:41 pogoplug network[1244]: Starting network profile 'ethernet-static'...
Aug 03 22:53:41 pogoplug network[1244]: The interface of network profile 'ethernet-static' is already up
Aug 03 22:53:41 pogoplug systemd[1]: netctl@ethernet\x2dstatic.service: main process exited, code=exited, stat...AILURE
Aug 03 22:53:41 pogoplug systemd[1]: Failed to start Networking for netctl profile ethernet-static.
Aug 03 22:53:41 pogoplug systemd[1]: Unit netctl@ethernet\x2dstatic.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.
[root@pogoplug netctl]#
I also created the
ifplugd@eth0.service file /usr/lib/systemd/system, started and enabled ifplugd. That seems to work no problem.
[root@pogoplug system]# ps -ef |grep ifplug
root 151 1 0 Jul30 ? 00:00:23 /usr/bin/ifplugd -i eth0 -r /etc/ifplugd/netctl.action -bfIns
root 1341 1201 0 22:59 pts/0 00:00:00 grep ifplug
[root@pogoplug system]#
But it seems like the netctl is not working somehow. Sorry I've been trying, but not getting anywhere. Do I have to get both netctl profile to start and ifplugd to start before it can work?
Any other ideas?
Thanks