Pogoplug v2 (Pink/Gray) not always starting

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

Re: Pogoplug v2 (Pink/Gray) not always starting

Postby kitenski » Wed Oct 31, 2018 10:20 am

I think you are onto something here with the fact I'm trying 2 ways of starting it.

Which one should I disable and what's the correct way of disabling it?

ok, so looks like eth0 is loaded from systemctl right?

$this->bbcode_second_pass_code('', '[root@Arch Linux ARM install ~]# systemctl list-units
UNIT LOAD ACTIVE SUB DESCRIPTION
proc-sys-fs-binfmt_misc.automount loaded active running Arbitrary Executabl>
sys-devices-platform-mv643xx_eth_port.0-net-eth0.device loaded active plugged>
')



$this->bbcode_second_pass_code('', '[root@Arch Linux ARM install ~]# 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 Fri 2018-09-14 21:22:15 BST; 1 months 16 days ago
Docs: man:systemd-networkd.service(8)
Main PID: 215 (systemd-network)
Status: "Processing requests..."
Memory: 1.2M
CGroup: /system.slice/systemd-networkd.service
`-215 /usr/lib/systemd/systemd-networkd

Sep 14 21:22:14 Arch Linux ARM install systemd-networkd[215]: Enumeration completed
Sep 14 21:22:15 Arch Linux ARM install systemd[1]: Started Network Service.
Sep 14 21:22:15 Arch Linux ARM install systemd-networkd[215]: lo: Link is not managed by us
Oct 25 20:32:09 Arch Linux ARM install systemd-networkd[215]: eth0: Gained carrier
Oct 25 20:32:09 Arch Linux ARM install systemd-networkd[215]: eth0: Lost carrier
Oct 25 20:32:09 Arch Linux ARM install systemd-networkd[215]: eth0: Could not set route: Network is unreachable
Oct 25 20:32:11 Arch Linux ARM install systemd-networkd[215]: request_name_destroy_callback n_ref=1
Oct 25 20:32:12 Arch Linux ARM install systemd-networkd[215]: eth0: Gained carrier
Oct 25 20:41:01 Arch Linux ARM install systemd-networkd[215]: eth0: Gained IPv6LL
Oct 25 20:41:13 Arch Linux ARM install systemd-networkd[215]: eth0: Configured
')

$this->bbcode_second_pass_code('', '
[root@Arch Linux ARM install ~]# netctl list
eth0
')

So in /etc/systemd/network I have

$this->bbcode_second_pass_code('', '[root@Arch Linux ARM install network]# cat eth0.network
[Match]
Name=eth0

[Network]
Address=192.168.1.12/24
Gateway=192.168.1.1
DNS=192.168.1.1
')

and in /etc/netctl I also have

$this->bbcode_second_pass_code('', '[root@Arch Linux ARM install netctl]# cat eth0
Description='A basic static ethernet connection'
Interface=eth0
Connection=ethernet
IP=static
Address=('192.168.1.12/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'
')
kitenski
 
Posts: 20
Joined: Sat Jul 07, 2012 12:44 pm

Re: Pogoplug v2 (Pink/Gray) not always starting

Postby summers » Wed Oct 31, 2018 10:28 am

Arch gives the user a choice of which to use, you can read up on both here:
https://wiki.archlinux.org/index.php/Netctl
https://wiki.archlinux.org/index.php/Systemd-networkd
Me - I ended up going the systemd direction.

To disable the one not needed, disable it in systemd, so the relevant service isn't enabled or started.

I'd then also remove any configuration file you created in the config directories, this shouldn't be needed - but i think it safest to do this ... (e.g. if I don't I forget that something is switched off, and start editing the wrong config file ...)
summers
 
Posts: 984
Joined: Sat Sep 06, 2014 12:56 pm

Re: Pogoplug v2 (Pink/Gray) not always starting

Postby kitenski » Wed Oct 31, 2018 2:21 pm

cheers, fingers crossed this works...

$this->bbcode_second_pass_code('', '[root@Arch Linux ARM install netctl]# netctl disable eth0
removed '/etc/systemd/system/multi-user.target.wants/netctl@eth0.service'
removed '/etc/systemd/system/netctl@eth0.service.d/profile.conf'
removed directory '/etc/systemd/system/netctl@eth0.service.d'
')
kitenski
 
Posts: 20
Joined: Sat Jul 07, 2012 12:44 pm

Re: Pogoplug v2 (Pink/Gray) not always starting

Postby summers » Wed Oct 31, 2018 3:32 pm

Also try $this->bbcode_second_pass_code('', 'systemctl list-units | grep netctl') there are a few things started there netctl-ifplugd@interface.service and netctl-auto@interface.service I think ...
summers
 
Posts: 984
Joined: Sat Sep 06, 2014 12:56 pm

Re: Pogoplug v2 (Pink/Gray) not always starting

Postby kitenski » Wed Oct 31, 2018 3:57 pm

ok that shows:

$this->bbcode_second_pass_code('', '[root@Arch Linux ARM install network]# systemctl list-units | grep netctl
* netctl@eth0.service masked failed failed netctl@eth0.service
system-netctl.slice loaded active active system-netctl.slice
')
kitenski
 
Posts: 20
Joined: Sat Jul 07, 2012 12:44 pm

Re: Pogoplug v2 (Pink/Gray) not always starting

Postby summers » Wed Oct 31, 2018 5:36 pm

I'd be tempted to use $this->bbcode_second_pass_code('', 'systemctl disable') to ensure they are disabled. But guess you could leave that to try in the current configuration doesn't work.
summers
 
Posts: 984
Joined: Sat Sep 06, 2014 12:56 pm

Previous

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 5 guests