Pogo E02 no eth0 static IP address after upgrade (-Syu)

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Pogo E02 no eth0 static IP address after upgrade (-Syu)

Postby jeajea » Fri May 22, 2015 9:07 pm

Executed pacman –Syu and restarted the Pogoplug.

$this->bbcode_second_pass_code('', 'login as: root
root@172.30.30.251's password:
Last login: Wed Dec 31 19:06:45 1969 from 172.30.30.203
[root@PL251 ~]# ip add
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:25:31:00:ba:97 brd ff:ff:ff:ff:ff:ff
inet6 2001:470:ffff:1:225:31ff:fe00:ba97/64 scope global dynamic
valid_lft 2591605sec preferred_lft 604405sec
inet6 fe80::225:31ff:fe00:ba97/64 scope link
valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1492 qdisc pfifo_fast state UNKNOWN group default qlen 1000
link/ether 80:3f:5d:08:67:2e brd ff:ff:ff:ff:ff:ff
inet 172.30.30.251/24 brd 172.30.30.255 scope global eth1
inet 172.27.27.251/24 brd 172.27.27.255 scope global eth1
inet6 2001:470:ffff:2::251/64 scope global nodad
valid_lft forever preferred_lft forever
inet6 fe80::823f:5dff:fe08:672e/64 scope link
valid_lft forever preferred_lft forever
[root@PL251 ~]# netctl restart eth0
Job for netctl@eth0.service failed. See "systemctl status netctl@eth0.service" and "journalctl -xe" for details.
[root@PL251 ~]# systemctl status netctl@eth0.service -l
â netctl@eth0.service - A basic static ethernet connection
Loaded: loaded (/etc/systemd/system/netctl@eth0.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 1969-12-31 19:18:56 EST; 1min 22s ago
Docs: man:netctl.profile(5)
Process: 315 ExecStart=/usr/lib/network/network start %I (code=exited, status=1/FAILURE)
Main PID: 315 (code=exited, status=1/FAILURE)

Dec 31 19:18:56 PL251 systemd[1]: Starting A basic static ethernet connection...
Dec 31 19:18:56 PL251 network[315]: Starting network profile 'eth0'...
Dec 31 19:18:56 PL251 network[315]: The interface of network profile 'eth0' is already up
Dec 31 19:18:56 PL251 systemd[1]: netctl@eth0.service: main process exited, code=exited, status=1/FAILURE
Dec 31 19:18:56 PL251 systemd[1]: Failed to start A basic static ethernet connection.
Dec 31 19:18:56 PL251 systemd[1]: Unit netctl@eth0.service entered failed state.
Dec 31 19:18:56 PL251 systemd[1]: netctl@eth0.service failed.
[root@PL251 ~]#')

My eth0 profile

$this->bbcode_second_pass_code('', 'cat eth0
Description='A basic static ethernet connection'
TimeoutDAD=60
Interface=eth0
Connection=ethernet
IP=static
Address=('192.168.1.251/24' '192.168.17.251/24')
#Routes=('192.168.0.0/24 via 192.168.1.2')
Gateway='192.168.1.1'
# DNS=('192.168.1.1')
ExecUpPost='/usr/local/bin/vl-10 || true'
# ExecUpPost='/usr/bin/ntpd -gq || true'
## For IPv6 static address configuration
IP6=static
Address6=('2001:470:ffff:1::251/64')
Gateway6='2001:470:fffff:1::1'
#Gateway6='1234:0:123::abcd'
## for DHCPv6
# IP6=dhcp
# ExecUpPost='/usr/bin/ntpd -gq || true'
## For IPv6 autoconfiguration
#IP6=stateless
SkipNoCarrier=yes
#')[root@PL251 netctl]#

Without the upgrade when I try to install p910nd I get this

$this->bbcode_second_pass_code('', 'login as: root
root@192.168.1.251's password:
Last login: Fri May 22 15:01:07 2015 from htpc5.home.test
[root@PL251 ~]# pacman -S p910nd
resolving dependencies...
looking for conflicting packages...

Packages (1) p910nd-0.95-7

Total Installed Size: 0.07 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring [######################] 100%
(1/1) checking package integrity [######################] 100%
(1/1) loading package files [######################] 100%
(1/1) checking for file conflicts [######################] 100%
error: failed to commit transaction (conflicting files)
p910nd: /usr/sbin exists in filesystem
p910nd: /var/lock exists in filesystem
Errors occurred, no packages were upgraded.
[root@PL251 ~]#')

This is the output from the upgrade


$this->bbcode_second_pass_code('', 'alsa-lib-1.0.29-1-arm 346.7 KiB 846K/s 00:00 [######################] 100%
avahi-0.6.31-15-arm 376.6 KiB 837K/s 00:00 [######################] 100%
bind-9.10.2-1-arm 1490.6 KiB 937K/s 00:02 [######################] 100%
talloc-2.1.2-1-arm 52.3 KiB 5.11M/s 00:00 [######################] 100%
libwbclient-4.2.1-1-arm 27.3 KiB 0.00B/s 00:00 [######################] 100%
cifs-utils-6.4-1-arm 68.0 KiB 6.64M/s 00:00 [######################] 100%
elfutils-0.161-3-arm 630.5 KiB 563K/s 00:01 [######################] 100%
harfbuzz-0.9.40-2-arm 210.6 KiB 726K/s 00:00 [######################] 100%
libass-0.12.2-1-arm 64.0 KiB 800K/s 00:00 [######################] 100%
kbproto-1.0.7-1-any 124.9 KiB 480K/s 00:00 [######################] 100%
libxdmcp-1.1.2-1-arm 23.6 KiB 2.31M/s 00:00 [######################] 100%
libx11-1.6.3-1-arm 1995.5 KiB 887K/s 00:02 [######################] 100%
libvdpau-1.1-1-arm 49.9 KiB 84.6K/s 00:01 [######################] 100%
libbluray-0.8.1-1-arm 655.7 KiB 244K/s 00:03 [######################] 100%
libvorbis-1.3.5-1-arm 276.7 KiB 522K/s 00:01 [######################] 100%
libpulse-6.0-2-arm 306.1 KiB 510K/s 00:01 [######################] 100%
libpciaccess-0.13.4... 16.5 KiB 206K/s 00:00 [######################] 100%
libdrm-2.4.61-1-arm 103.1 KiB 295K/s 00:00 [######################] 100%
wayland-1.7.0-1-arm 145.2 KiB 538K/s 00:00 [######################] 100%
libxxf86vm-1.1.4-1-arm 15.0 KiB 0.00B/s 00:00 [######################] 100%
libtxc_dxtn-1.0.1-6-arm 9.3 KiB 0.00B/s 00:00 [######################] 100%
llvm-libs-3.6.0-5-arm 6.9 MiB 886K/s 00:08 [######################] 100%
mesa-10.5.5-1-arm 3.0 MiB 1270K/s 00:02 [######################] 100%
mesa-libgl-10.5.5-1-arm 4.0 KiB 0.00B/s 00:00 [######################] 100%
libva-1.5.1-1-arm 129.8 KiB 1623K/s 00:00 [######################] 100%
speexdsp-1.2rc3-1-arm 445.8 KiB 1486K/s 00:00 [######################] 100%
speex-1.2rc2-1-arm 474.2 KiB 1186K/s 00:00 [######################] 100%
v4l-utils-1.6.3-1-arm 550.4 KiB 1411K/s 00:00 [######################] 100%
libssh-0.7.0-1-arm 152.7 KiB 1696K/s 00:00 [######################] 100%
libvpx-1.4.0-2-arm 540.1 KiB 684K/s 00:01 [######################] 100%
libx264-2:144.20150... 292.8 KiB 412K/s 00:01 [######################] 100%
x265-1.6-1-arm 312.0 KiB 867K/s 00:00 [######################] 100%
libxrender-0.9.9-1-arm 20.9 KiB 67.5K/s 00:00 [######################] 100%
ffmpeg-1:2.6.3-1-arm 6.0 MiB 610K/s 00:10 [######################] 100%
fuse-2.9.3-2.1-arm 93.9 KiB 522K/s 00:00 [######################] 100%
haveged-1.9.1-2-arm 37.2 KiB 3.64M/s 00:00 [######################] 100%
iniparser-4.0-1-arm 10.2 KiB 0.00B/s 00:00 [######################] 100%
tevent-0.9.24-1-arm 32.1 KiB 1606K/s 00:00 [######################] 100%
tdb-1.3.4-1-arm 56.6 KiB 109K/s 00:01 [######################] 100%
ldb-1.1.20-1-arm 131.0 KiB 132K/s 00:01 [######################] 100%
libcups-2.0.2-4-arm 260.0 KiB 222K/s 00:01 [######################] 100%
libmariadbclient-10... 3.7 MiB 655K/s 00:06 [######################] 100%
ntfs-3g-2015.3.14-1-arm 446.7 KiB 638K/s 00:01 [######################] 100%
ntp-4.2.8.p2-1-arm 1638.1 KiB 1280K/s 00:01 [######################] 100%
perl-net-ssleay-1.6... 184.2 KiB 439K/s 00:00 [######################] 100%
perl-uri-1.67-1-any 82.7 KiB 827K/s 00:00 [######################] 100%
perl-io-socket-ssl-... 112.4 KiB 1249K/s 00:00 [######################] 100%
icu-55.1-1-arm 7.7 MiB 988K/s 00:08 [######################] 100%
postgresql-libs-9.4... 883.8 KiB 762K/s 00:01 [######################] 100%
postfix-3.0.1-1-arm 1135.5 KiB 1042K/s 00:01 [######################] 100%
rsync-3.1.1-4-arm 247.9 KiB 800K/s 00:00 [######################] 100%
smbclient-4.2.1-1-arm 4.5 MiB 1116K/s 00:04 [######################] 100%
samba-4.2.1-1-arm 4.3 MiB 1458K/s 00:03 [######################] 100%
tcpdump-4.7.4-1-arm 290.2 KiB 806K/s 00:00 [######################] 100%
x264-2:144.20150223... 444.3 KiB 1346K/s 00:00 [######################] 100%
autofs-5.1.1-1-arm 396.5 KiB 1133K/s 00:00 [######################] 100%
minidlna-1.1.4-5-arm 113.5 KiB 1135K/s 00:00 [######################] 100%
(137/137) checking keys in keyring [######################] 100%
(137/137) checking package integrity [######################] 100%
(137/137) loading package files [######################] 100%
(137/137) checking for file conflicts [######################] 100%
(137/137) checking available disk space [######################] 100%
( 1/137) upgrading linux-api-headers [######################] 100%
( 2/137) upgrading tzdata [######################] 100%
( 3/137) upgrading iana-etc [######################] 100%
( 4/137) upgrading filesystem [######################] 100%
warning: /etc/group installed as /etc/group.pacnew
warning: /etc/gshadow installed as /etc/gshadow.pacnew
warning: directory permissions differ on /sys/
filesystem: 755 package: 555
warning: directory ownership differs on /var/games/
filesystem: 0:60 package: 0:50
( 5/137) upgrading glibc [######################] 100%
warning: /etc/locale.gen installed as /etc/locale.gen.pacnew
( 6/137) upgrading alsa-lib [######################] 100%
( 7/137) upgrading gcc-libs [######################] 100%
( 8/137) upgrading readline [######################] 100%
( 9/137) upgrading xz [######################] 100%
( 10/137) upgrading autofs [######################] 100%
( 11/137) upgrading pcre [######################] 100%
( 12/137) upgrading glib2 [######################] 100%
( 13/137) upgrading libdbus [######################] 100%
( 14/137) upgrading dbus [######################] 100%
( 15/137) upgrading avahi [######################] 100%
( 16/137) upgrading perl [######################] 100%
( 17/137) upgrading openssl [######################] 100%
( 18/137) upgrading libutil-linux [######################] 100%
( 19/137) upgrading e2fsprogs [######################] 100%
( 20/137) upgrading krb5 [######################] 100%
( 21/137) upgrading bind [######################] 100%
( 22/137) upgrading libtasn1 [######################] 100%
( 23/137) upgrading p11-kit [######################] 100%
( 24/137) upgrading cracklib [######################] 100%
( 25/137) upgrading libtirpc [######################] 100%
( 26/137) upgrading pam [######################] 100%
( 27/137) upgrading gmp [######################] 100%
( 28/137) upgrading ca-certificates-utils [######################] 100%
( 29/137) upgrading ca-certificates-mozilla [######################] 100%
( 30/137) upgrading ca-certificates [######################] 100%
( 31/137) upgrading talloc [######################] 100%
( 32/137) upgrading libwbclient [######################] 100%
( 33/137) upgrading cifs-utils [######################] 100%
( 34/137) upgrading libssh2 [######################] 100%
( 35/137) upgrading libidn [######################] 100%
( 36/137) upgrading curl [######################] 100%
( 37/137) upgrading iptables [######################] 100%
( 38/137) upgrading kmod [######################] 100%
( 39/137) upgrading hwids [######################] 100%
( 40/137) upgrading libgpg-error [######################] 100%
( 41/137) upgrading libgcrypt [######################] 100%
( 42/137) upgrading lz4 [######################] 100%
( 43/137) upgrading libsystemd [######################] 100%
( 44/137) upgrading libseccomp [######################] 100%
( 45/137) upgrading shadow [######################] 100%
( 46/137) upgrading util-linux [######################] 100%
( 47/137) upgrading systemd [######################] 100%
( 48/137) upgrading device-mapper [######################] 100%
( 49/137) upgrading dhcpcd [######################] 100%
( 50/137) upgrading dnssec-anchors [######################] 100%
( 51/137) upgrading elfutils [######################] 100%
( 52/137) upgrading nettle [######################] 100%
( 53/137) upgrading gnutls [######################] 100%
New optional dependencies for gnutls
guile: for use with Guile bindings
( 54/137) upgrading harfbuzz [######################] 100%
( 55/137) upgrading libass [######################] 100%
( 56/137) upgrading kbproto [######################] 100%
( 57/137) upgrading libxdmcp [######################] 100%
( 58/137) upgrading libx11 [######################] 100%
( 59/137) upgrading libvdpau [######################] 100%
( 60/137) upgrading libbluray [######################] 100%
New optional dependencies for libbluray
java-environment: for BD-J library
( 61/137) upgrading libvorbis [######################] 100%
( 62/137) upgrading libpulse [######################] 100%
( 63/137) upgrading libpciaccess [######################] 100%
( 64/137) upgrading libdrm [######################] 100%
( 65/137) upgrading wayland [######################] 100%
( 66/137) upgrading libxxf86vm [######################] 100%
( 67/137) upgrading libtxc_dxtn [######################] 100%
( 68/137) upgrading libedit [######################] 100%
( 69/137) upgrading llvm-libs [######################] 100%
( 70/137) upgrading mesa [######################] 100%
( 71/137) upgrading mesa-libgl [######################] 100%
( 72/137) upgrading libva [######################] 100%
( 73/137) installing speexdsp [######################] 100%
( 74/137) upgrading speex [######################] 100%
( 75/137) upgrading v4l-utils [######################] 100%
( 76/137) installing libssh [######################] 100%
( 77/137) upgrading libvpx [######################] 100%
( 78/137) upgrading libx264 [######################] 100%
( 79/137) upgrading x265 [######################] 100%
( 80/137) upgrading libxrender [######################] 100%
( 81/137) upgrading ffmpeg [######################] 100%
( 82/137) upgrading file [######################] 100%
( 83/137) upgrading fuse [######################] 100%
( 84/137) upgrading gawk [######################] 100%
( 85/137) upgrading libunistring [######################] 100%
( 86/137) upgrading gettext [######################] 100%
( 87/137) upgrading npth [######################] 100%
( 88/137) upgrading libksba [######################] 100%
( 89/137) upgrading libassuan [######################] 100%
( 90/137) upgrading pinentry [######################] 100%
( 91/137) upgrading gnupg [######################] 100%
( 92/137) upgrading gpgme [######################] 100%
( 93/137) upgrading grep [######################] 100%
( 94/137) upgrading groff [######################] 100%
( 95/137) upgrading haveged [######################] 100%
( 96/137) upgrading iniparser [######################] 100%
( 97/137) upgrading iproute2 [######################] 100%
( 98/137) upgrading iputils [######################] 100%
( 99/137) upgrading tevent [######################] 100%
(100/137) upgrading tdb [######################] 100%
(101/137) upgrading ldb [######################] 100%
(102/137) upgrading libcups [######################] 100%
(103/137) upgrading libmariadbclient [######################] 100%
(104/137) upgrading linux-firmware [######################] 100%
(105/137) upgrading lzo [######################] 100%
(106/137) upgrading linux [######################] 100%
>>> Updating module dependencies. Please wait ...
(107/137) upgrading logrotate [######################] 100%
(108/137) upgrading lvm2 [######################] 100%
(109/137) upgrading man-pages [######################] 100%
(110/137) upgrading mdadm [######################] 100%
(111/137) upgrading sqlite [######################] 100%
(112/137) upgrading minidlna [######################] 100%
warning: /etc/minidlna.conf installed as /etc/minidlna.conf.pacnew
-- minidlna uses minidlna/minidlna user/group now,
-- needs manual intervention in /var/cache/minidlna and /run/minidlna!
(113/137) upgrading nano [######################] 100%
(114/137) upgrading openresolv [######################] 100%
(115/137) upgrading netctl [######################] 100%
New optional dependencies for netctl
openvswitch: for Open vSwitch connections
ppp: for PPP connections
(116/137) upgrading ntfs-3g [######################] 100%
(117/137) upgrading ntp [######################] 100%
(118/137) upgrading openssh [######################] 100%
(119/137) upgrading pacman-mirrorlist [######################] 100%
(120/137) upgrading pacman [######################] 100%
(121/137) upgrading pciutils [######################] 100%
(122/137) upgrading perl-net-ssleay [######################] 100%
(123/137) upgrading perl-uri [######################] 100%
(124/137) upgrading perl-io-socket-ssl [######################] 100%
(125/137) installing icu [######################] 100%
(126/137) upgrading postgresql-libs [######################] 100%
(127/137) upgrading postfix [######################] 100%
warning: /etc/postfix/main.cf installed as /etc/postfix/main.cf.pacnew
==> The postfix daemon binaries have moved.
==> Please restart postfix as soon as possible.
(128/137) upgrading procps-ng [######################] 100%
(129/137) upgrading rsync [######################] 100%
(130/137) upgrading s-nail [######################] 100%
(131/137) upgrading smbclient [######################] 100%
(132/137) upgrading samba [######################] 100%
(133/137) upgrading systemd-sysvcompat [######################] 100%
(134/137) upgrading tcpdump [######################] 100%
(135/137) upgrading which [######################] 100%
(136/137) upgrading wpa_supplicant [######################] 100%
(137/137) upgrading x264 [######################] 100%
[root@PL251 ~]# uname -a
Linux PL251 3.1.10-34-ARCH #1 PREEMPT Thu Jul 31 01:56:14 MDT 2014 armv5tel GNU/Linux
[root@PL251 ~]#')
Jim Anderson
3 Dockstars, 3 Pogoplug V2 and a Zyxel NSA325
Treasure Island, Fl
jeajea
 
Posts: 121
Joined: Wed Aug 25, 2010 4:00 pm

Re: Pogo E02 no eth0 static IP address after upgrade (-Syu)

Postby jeajea » Mon Jun 22, 2015 12:30 am

I had some time to try to upgrade again and found the cause of the problem.
At some point Arch has switched from netctl to systemd-networkd to start eth0.

https://wiki.archlinux.org/index.php/Sy ... _static_IP

I created a profile in /etc/systemd/network.
I enabled and started
systemd-networkd.service
systemd-resolved.service
Eth0 comes up but with no IPv4 address
My profile for eth0
$this->bbcode_second_pass_code('', '
[Match]
Name=eth0

[Network]

[Address]
Address=192.168.1.250/24

[Route]
Gateway=192.168.1.1
')

I don’t know what else I need to do to set a static address on eth0.
Help please
Jim Anderson
3 Dockstars, 3 Pogoplug V2 and a Zyxel NSA325
Treasure Island, Fl
jeajea
 
Posts: 121
Joined: Wed Aug 25, 2010 4:00 pm

Re: Pogo E02 no eth0 static IP address after upgrade (-Syu)

Postby WarheadsSE » Mon Jun 22, 2015 12:29 pm

If you had an existing installation, we didn't make the switch for you.

https://wiki.archlinux.org/index.php/Sy ... _static_IP

It is possible that you made this switch manually, configured the network, but did not enable & start systemd-networkd
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Pogo E02 no eth0 static IP address after upgrade (-Syu)

Postby jeajea » Mon Jun 22, 2015 3:44 pm

After I found the part about disabling DHCPCD I think I am getting closer.
However, systemd-networkd.service gets an error on boot and eth0 doesn’t get an IPv4 address.
If I manually restart the service then eth0 gets the address in the profile.


$this->bbcode_second_pass_code('', '
login as: root
root@172.30.30.250's password:
Last login: Mon Jun 22 11:15:18 2015 from 172.30.30.89
[root@PL250 ~]# systemctl status systemd-networkd.service
â systemd-networkd.service - Network Service
Loaded: loaded (/usr/lib/systemd/system/systemd-networkd.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 1969-12-31 19:00:25 EST; 45 years 5 months ago
Docs: man:systemd-networkd.service(8)
Main PID: 139 (systemd-network)
Status: "Processing requests..."
CGroup: /system.slice/systemd-networkd.service
ââ139 /usr/lib/systemd/systemd-networkd

Jun 22 11:26:52 PL250 systemd-networkd[139]: rtnl: received address for nonexistent link (2), ignoring
Jun 22 11:27:01 PL250 systemd-networkd[139]: rtnl: received address for nonexistent link (2), ignoring
Jun 22 11:27:08 PL250 systemd-networkd[139]: rtnl: received address for nonexistent link (2), ignoring
Jun 22 11:27:17 PL250 systemd-networkd[139]: rtnl: received address for nonexistent link (2), ignoring
Jun 22 11:27:26 PL250 systemd-networkd[139]: rtnl: received address for nonexistent link (2), ignoring
Jun 22 11:27:35 PL250 systemd-networkd[139]: rtnl: received address for nonexistent link (2), ignoring
Jun 22 11:27:43 PL250 systemd-networkd[139]: rtnl: received address for nonexistent link (2), ignoring
Jun 22 11:27:51 PL250 systemd-networkd[139]: rtnl: received address for nonexistent link (2), ignoring
Jun 22 11:28:00 PL250 systemd-networkd[139]: rtnl: received address for nonexistent link (2), ignoring
Jun 22 11:28:07 PL250 systemd-networkd[139]: rtnl: received address for nonexistent link (2), ignoring
[root@PL250 ~]# systemctl restart systemd-networkd.service
[root@PL250 ~]# systemctl status systemd-networkd.service
â systemd-networkd.service - Network Service
Loaded: loaded (/usr/lib/systemd/system/systemd-networkd.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2015-06-22 11:29:04 EDT; 7s ago
Docs: man:systemd-networkd.service(8)
Main PID: 220 (systemd-network)
Status: "Processing requests..."
CGroup: /system.slice/systemd-networkd.service
ââ220 /usr/lib/systemd/systemd-networkd

Jun 22 11:29:03 PL250 systemd[1]: Starting Network Service...
Jun 22 11:29:04 PL250 systemd-networkd[220]: Enumeration completed
Jun 22 11:29:04 PL250 systemd[1]: Started Network Service.
Jun 22 11:29:04 PL250 systemd-networkd[220]: eth0 : link configured
[root@PL250 ~]# ip add
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:25:31:00:c6:3a brd ff:ff:ff:ff:ff:ff
inet 192.168.1.250/24 brd 192.168.1.255 scope global eth0
inet6 2001:470:xxxx:1:225:31ff:fe00:c63a/64 scope global dynamic
valid_lft 595sec preferred_lft 595sec
inet6 fe80::225:31ff:fe00:c63a/64 scope link
valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1492 qdisc pfifo_fast state UNKNOWN group default qlen 1000
link/ether 80:3f:5d:08:66:10 brd ff:ff:ff:ff:ff:ff
inet 172.30.30.250/24 brd 172.30.30.255 scope global eth1
inet 172.31.31.250/24 brd 172.31.31.255 scope global eth1
inet6 2001:470:xxxx:2::250/64 scope global nodad
valid_lft forever preferred_lft forever
inet6 fe80::823f:5dff:fe08:6610/64 scope link
valid_lft forever preferred_lft forever
[root@PL250 ~]#
')
Jim Anderson
3 Dockstars, 3 Pogoplug V2 and a Zyxel NSA325
Treasure Island, Fl
jeajea
 
Posts: 121
Joined: Wed Aug 25, 2010 4:00 pm

Re: Pogo E02 no eth0 static IP address after upgrade (-Syu)

Postby jeajea » Tue Jun 23, 2015 7:14 pm

Neither netctl nor systemd-networkd.service correctly start eth0 with a static IPv4 address
on my Pogoplug v2 (POGO-E02) after I updated it (pacman –Syu).
However, netctl does start eth1 which is on USB.

$this->bbcode_second_pass_code('', '
lsusb
Bus 001 Device 005: ID 154b:005b PNY
Bus 001 Device 004: ID 0424:7500 Standard Microsystems Corp. LAN7500 Ethernet 10/100/1000 Adapter
Bus 001 Device 003: ID 2d42:0916
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[root@PL250 system]#
')

This allowed me to manually restart “systemd-networkd.service” which successfully starts eth0.
This suggests that there is a timing problem with the latest software and a POGO v2.
I was able to create a workaround.

https://wiki.archlinux.org/index.php/Sy ... process.3F

First I created the shell script jims-eth-0.sh in /usr/local/bin.

$this->bbcode_second_pass_code('', '
#!/bin/sh
sleep 2
# restart eth0
systemctl restart systemd-networkd.service
touch /tmp/ran
exit
')

The "touch /tmp/ran" is for debugging.
Then I created the service stjim.service in /etc/systemd/system

$this->bbcode_second_pass_code('', '
[root@PL250 system]# cat stjim.service
[Unit]
Description=My script

[Service]
ExecStart=/usr/local/bin/jims-eth-0.sh

[Install]
WantedBy=multi-user.target
')

Next I enabled the service
Finally I restarted the POGO

$this->bbcode_second_pass_code('', '
[root@PL250 system]# systemctl status systemd-networkd.service
â systemd-networkd.service - Network Service
Loaded: loaded (/usr/lib/systemd/system/systemd-networkd.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Wed 1969-12-31 19:00:59 EST; 45 years 5 months ago
Docs: man:systemd-networkd.service(8)
Process: 163 ExecStart=/usr/lib/systemd/systemd-networkd (code=exited, status=0/SUCCESS)
Main PID: 163 (code=exited, status=0/SUCCESS)
Status: "Shutting down..."

Dec 31 19:00:29 PL250 systemd[1]: Starting Network Service...
Dec 31 19:00:29 PL250 systemd-networkd[163]: Enumeration completed
Dec 31 19:00:29 PL250 systemd-networkd[163]: eth0 : link configured
Dec 31 19:00:29 PL250 systemd[1]: Started Network Service.
[root@PL250 system]# systemctl status stjim.service
â stjim.service - My script
Loaded: loaded (/etc/systemd/system/stjim.service; enabled; vendor preset: disabled)
Active: inactive (dead) since Wed 1969-12-31 19:00:29 EST; 45 years 5 months ago
Process: 116 ExecStart=/usr/local/bin/jims-eth-0.sh (code=exited, status=0/SUCCESS)
Main PID: 116 (code=exited, status=0/SUCCESS)

Dec 31 19:00:26 PL250 systemd[1]: Started My script.
Dec 31 19:00:26 PL250 systemd[1]: Starting My script...
')

$this->bbcode_second_pass_code('', '
[root@PL250 system]# ip add
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:25:31:00:c6:3a brd ff:ff:ff:ff:ff:ff
inet 172.30.30.250/24 brd 172.30.30.255 scope global eth0
inet6 fe80::225:31ff:fe00:c63a/64 scope link
valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1492 qdisc pfifo_fast state UNKNOWN group default qlen 1000
link/ether 80:3f:5d:08:66:10 brd ff:ff:ff:ff:ff:ff
inet 172.31.31.250/24 brd 172.31.31.255 scope global eth1
inet 192.168.1.250/24 brd 192.168.1.255 scope global eth1
inet6 2001:470:xxxx:1::250/64 scope global nodad
valid_lft forever preferred_lft forever
inet6 fe80::823f:5dff:fe08:6610/64 scope link
valid_lft forever preferred_lft forever
[root@PL250 system]#
')
Jim Anderson
3 Dockstars, 3 Pogoplug V2 and a Zyxel NSA325
Treasure Island, Fl
jeajea
 
Posts: 121
Joined: Wed Aug 25, 2010 4:00 pm

Re: Pogo E02 no eth0 static IP address after upgrade (-Syu)

Postby WarheadsSE » Tue Jun 23, 2015 7:36 pm

This should be sorted with the latest systemd+kernel packages (systemd 221+)
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Pogo E02 no eth0 static IP address after upgrade (-Syu)

Postby jeajea » Tue Jun 23, 2015 7:55 pm

Let me know when it is available and I will test it. My upgrade procedure is.
Shutdown the POGO
Take the boot USB drive to a Ubuntu workstation
Copy the boot drive to another USB drive
Boot the POGO from the copy
Pacman –Syu
This allows me to fall back very easily.
Jim Anderson
3 Dockstars, 3 Pogoplug V2 and a Zyxel NSA325
Treasure Island, Fl
jeajea
 
Posts: 121
Joined: Wed Aug 25, 2010 4:00 pm

Re: Pogo E02 no eth0 static IP address after upgrade (-Syu)

Postby jeajea » Thu Jun 25, 2015 6:03 pm

A better work around
My new .network for eth0
$this->bbcode_second_pass_code('', '
[root@PL250 bin]# cd /etc/systemd/network
[root@PL250 network]# ls
eth0.network
[root@PL250 network]# cat eth0.network
[Match]
Name=eth0

[Network]
DHCP=yes
')

My new shell script

$this->bbcode_second_pass_code('', '
cd /usr/local/bin
[root@PL250 bin]# cat jims-eth-0.sh
#!/bin/sh
sleep 1
# set eth0 address
ip addr add 192.168.1.250/24 broadcast 192.168.1.255 dev eth0
ip route add default via 192.168.1.1
ip addr add 2001:470:xxxx:1::250/64 dev eth0
exit
')

With this setup eth0 gets two IPv4 addresses if DHCPCD is running (which works fine).
If you want only the static addresses disable DHCPCD.

$this->bbcode_second_pass_code('', '
[root@PL250 network]# ip add
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:25:31:00:c6:3a brd ff:ff:ff:ff:ff:ff
inet 192.168.1.250/24 brd 192.168.1.255 scope global eth0
inet 192.168.1.41/24 brd 192.168.1.255 scope global secondary eth0
inet6 2001:470:xxxx:1::250/64 scope global
valid_lft forever preferred_lft forever
inet6 2001:470:xxxx:1:225:31ff:fe00:c63a/64 scope global dynamic
valid_lft 2586691sec preferred_lft 599491sec
inet6 fe80::225:31ff:fe00:c63a/64 scope link
valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1492 qdisc pfifo_fast state UNKNOWN group default qlen 1000
link/ether 80:3f:5d:08:67:2e brd ff:ff:ff:ff:ff:ff
inet 172.30.30.250/24 brd 172.30.30.255 scope global eth1
inet 172.30.30.38/24 brd 172.30.30.255 scope global secondary eth1
inet6 2001:470:xxxx:2::250/64 scope global nodad
valid_lft forever preferred_lft forever
inet6 fe80::823f:5dff:fe08:672e/64 scope link
valid_lft forever preferred_lft forever
inet6 fe80::b70d:42a3:8973:5945/64 scope link
valid_lft forever preferred_lft forever
[root@PL250 network]#
')
Jim Anderson
3 Dockstars, 3 Pogoplug V2 and a Zyxel NSA325
Treasure Island, Fl
jeajea
 
Posts: 121
Joined: Wed Aug 25, 2010 4:00 pm

Re: Pogo E02 no eth0 static IP address after upgrade (-Syu)

Postby WarheadsSE » Thu Jun 25, 2015 8:25 pm

It should be sorted _now_ actually...
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Pogo E02 no eth0 static IP address after upgrade (-Syu)

Postby jeajea » Thu Jun 25, 2015 10:37 pm

Maybe I will try it tomorrow
Jim Anderson
3 Dockstars, 3 Pogoplug V2 and a Zyxel NSA325
Treasure Island, Fl
jeajea
 
Posts: 121
Joined: Wed Aug 25, 2010 4:00 pm

Next

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 9 guests