netctl profiles fail in spite of wiki and tutorial

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

netctl profiles fail in spite of wiki and tutorial

Postby noobcakes » Fri Oct 11, 2013 11:50 pm

Hello, I am having the same problem as a similarly-named previous therad, and I was wondering if this is a rare or unique problem, or if a workaround/solution has been found.

Basically, I am attempting to set up a static IP on my new rasp-pi. At first I thought it was specifically a problem with static IP, but I have since found that I am completely unable to run any netctl profiles. Even a directly copied dhcp example is still met with:

Job for netctl@[profile].service failed. See 'systemctl status netctl@[profile].service' and 'journalctl -xn' for details.

Consulting these sources just gives me a simple message along the lines of "couldn't start service due to an error"

In the previous thread, somebody asked the user for the content of /proc/cpuinfo so here's mine:

$this->bbcode_second_pass_quote('', 'P')rocessor : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS : 697.95
Features : swp half thumb fastmult vfp edsp java tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xb76
CPU revision : 7

Hardware : BCM2708
Revision : 000e
Serial : 0000000064831d49


I have searched everywhere I can think of to find an answer to the problem. If anybody knows the solution, or has a link to the solution, or even knows what terms I can use to search for the solution, it would be greatly appreciated.

I can provide any other necessary relevant information, if it's helpful to solving the problem

=========EDIT==========
Here is the output of: systemctl --type=service (since I've seen it asked for as well)

(fresh after boot)
$this->bbcode_second_pass_quote('', 'c')ronie.service loaded active running Periodic Command Scheduler
dbus.service loaded active running D-Bus System Message Bus
dhcpcd@eth0.service loaded active running dhcpcd on eth0
getty@tty1.service loaded active running Getty on tty1
kmod-static-nodes.service loaded active exited Create list of required static device nodes for the cu
netctl.service loaded active exited (Re)store the netctl profile state
ntpd.service loaded active running Network Time Service
serial-getty@ttyAMA0.service loaded active running Serial Getty on ttyAMA0
sshd.service loaded active running OpenSSH Daemon
systemd-journald.service loaded active running Journal Service
systemd-logind.service loaded active running Login Service
systemd-modules-load.service loaded active exited Load Kernel Modules
systemd-random-seed.service loaded active exited Load/Save Random Seed
systemd-remount-fs.service loaded active exited Remount Root and Kernel File Systems
systemd-sysctl.service loaded active exited Apply Kernel Variables
systemd-tmpfiles-setup-dev.service loaded active exited Create static device nodes in /dev
systemd-tmpfiles-setup.service loaded active exited Recreate Volatile Files and Directories
systemd-udev-trigger.service loaded active exited udev Coldplug all Devices
systemd-udevd.service loaded active running udev Kernel Device Manager
systemd-update-utmp.service loaded active exited Update UTMP about System Reboot/Shutdown
systemd-user-sessions.service loaded active exited Permit User Sessions
systemd-vconsole-setup.service loaded active exited Setup Virtual Console
user@0.service loaded active running User Manager for 0


(after netctl start staticEth0)
$this->bbcode_second_pass_quote('', 'c')ronie.service loaded active running Periodic Command Scheduler
dbus.service loaded active running D-Bus System Message Bus
dhcpcd@eth0.service loaded active running dhcpcd on eth0
getty@tty1.service loaded active running Getty on tty1
kmod-static-nodes.service loaded active exited Create list of required static device nodes for the cu
netctl.service loaded active exited (Re)store the netctl profile state
netctl@staticEth0.service loaded failed failed Networking for netctl profile staticEth0

ntpd.service loaded active running Network Time Service
serial-getty@ttyAMA0.service loaded active running Serial Getty on ttyAMA0
sshd.service loaded active running OpenSSH Daemon
systemd-journald.service loaded active running Journal Service
systemd-logind.service loaded active running Login Service
systemd-modules-load.service loaded active exited Load Kernel Modules
systemd-random-seed.service loaded active exited Load/Save Random Seed
systemd-remount-fs.service loaded active exited Remount Root and Kernel File Systems
systemd-sysctl.service loaded active exited Apply Kernel Variables
systemd-tmpfiles-setup-dev.service loaded active exited Create static device nodes in /dev
systemd-tmpfiles-setup.service loaded active exited Recreate Volatile Files and Directories
systemd-udev-trigger.service loaded active exited udev Coldplug all Devices
systemd-udevd.service loaded active running udev Kernel Device Manager
systemd-update-utmp.service loaded active exited Update UTMP about System Reboot/Shutdown
systemd-user-sessions.service loaded active exited Permit User Sessions
systemd-vconsole-setup.service loaded active exited Setup Virtual Console
user@0.service loaded active running User Manager for 0


What puzzles me is that I have used 'systemctl disable dhcpcd' previously, so dhcpcd should not be running after a fresh boot, correct? Or is this listing here because netctl has called it? Or instead does it mean I have missed something?
noobcakes
 
Posts: 7
Joined: Sun Jan 13, 2013 3:38 am
Top

Re: netctl profiles fail in spite of wiki and tutorial

Postby WarheadsSE » Sat Oct 12, 2013 12:43 am

systemctl disable dhcpcd@eth0
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: netctl profiles fail in spite of wiki and tutorial

Postby noobcakes » Sat Oct 12, 2013 10:06 am

Interesting... Is this a new(ish) feature of systemctl? I don't remember it being like this when I set up my pogoplug.

Also, does this mean that dhcpcd can be enabled on some interfaces and disabled on others, allowing fallback functionality? I'll have to look into this further.

Thanks for the solution though! I now have a static IP.
noobcakes
 
Posts: 7
Joined: Sun Jan 13, 2013 3:38 am


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 3 guests