i cant get my static ip network to work.

Ask questions about Arch Linux ARM. Please search before making a new topic.

i cant get my static ip network to work.

Postby fishxz » Tue May 12, 2015 10:23 am

hey,
i setup two raspberrys in two different networks and for the second one my static ip network wont work.

$this->bbcode_second_pass_code('', 'Jan 01 01:00:14 alarmpi systemd[1]: Starting A basic static ethernet connection...
Jan 01 01:00:15 alarmpi network[139]: Starting network profile 'mivitec'...
Jan 01 01:00:15 alarmpi network[139]: The interface of network profile 'mivitec' is already up
Jan 01 01:00:15 alarmpi systemd[1]: netctl@mivitec.service: main process exited, code=exited, status=1/FAILURE
Jan 01 01:00:15 alarmpi systemd[1]: Failed to start A basic static ethernet connection.
Jan 01 01:00:15 alarmpi systemd[1]: Unit netctl@mivitec.service entered failed state.
Jan 01 01:00:15 alarmpi systemd[1]: netctl@mivitec.service failed.
')

$this->bbcode_second_pass_code('', '[root@alarmpi ~]# systemctl --type=service --no-pager
UNIT LOAD ACTIVE SUB DESCRIPTION
avahi-daemon.service loaded active running Avahi mDNS/DNS-SD Stack
avahi-dnsconfd.service loaded active running Avahi DNS Configuration Daemon
cronie.service loaded active running Periodic Command Scheduler
dbus.service loaded active running D-Bus System Message Bus
getty@tty1.service loaded active running Getty on tty1
haveged.service loaded active running Entropy Harvesting Daemon
ip6tables.service loaded active exited IPv6 Packet Filtering Framework
iptables.service loaded active exited Packet Filtering Framework
kmod-static-nodes.service loaded active exited Create list of required static device nodes for the current kernel
lighttpd.service loaded active running A secure, fast, compliant and very flexible web-server
murmur.service loaded active running Mumble Daemon
netctl-ifplugd@eth0.service loaded active running Automatic wired network connection using netctl profiles
* netctl@mivitec.service loaded failed failed A basic static ethernet connection
rngd.service loaded active running Hardware RNG Entropy Gatherer Daemon
serial-getty@ttyAMA0.service loaded active running Serial Getty on ttyAMA0
sshd.service loaded active running OpenSSH Daemon
sshguard.service loaded active running Block hacking attempts
systemd-journal-flush.service loaded active exited Flush Journal to Persistent Storage
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-timesyncd.service loaded active running Network Time Synchronization
systemd-tmpfiles-setup-dev.service loaded active exited Create Static Device Nodes in /dev
systemd-tmpfiles-setup.service loaded active exited Create 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 Boot/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 UID 0
user@1000.service loaded active running User Manager for UID 1000
user@1001.service loaded active running User Manager for UID 1001
vsftpd.service loaded active running vsftpd daemon
')

i assume it is "netctl-ifplugd@eth0.service", but i wonder that my other pi worked fine on my local network. i cant compare anymore, because this pi is no longer running.

edit: as far i remember the working static ip setup was over wlan. i just tried it on my rp2 on my local network and it works fine, but there is no other netctl service running:
$this->bbcode_second_pass_code('', '[root@alarmpi netctl]# systemctl --type=service
UNIT LOAD ACTIVE SUB DESCRIPTION
dbus.service loaded active running D-Bus System Message Bus
getty@tty1.service loaded active running Getty on tty1
haveged.service loaded active running Entropy Harvesting Daemon
kmod-static-nodes.service loaded active exited Create list of required static device nodes for the cu
netctl@wireless\x2dwpa\x2dstatic.service loaded active exited A simple WPA encrypted wireless connection using a sta
serial-getty@ttyAMA0.service loaded active running Serial Getty on ttyAMA0
sshd.service loaded active running OpenSSH Daemon
systemd-journal-flush.service loaded active exited Flush Journal to Persistent Storage
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-networkd.service loaded active running Network Service
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-resolved.service loaded active running Network Name Resolution
systemd-sysctl.service loaded active exited Apply Kernel Variables
systemd-timesyncd.service loaded active running Network Time Synchronization
systemd-tmpfiles-setup-dev.service loaded active exited Create Static Device Nodes in /dev
systemd-tmpfiles-setup.service loaded active exited Create 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 Boot/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 UID 0
')

edit2: i wired my rpi in my local network, installed ifplugd there (i wonder why it was not installed there. i never installed and enabled it on my other pi) and had same problem there. so i assume it is really ifplugd.
fishxz
 
Posts: 11
Joined: Tue Apr 16, 2013 9:03 am

Return to User Questions

Who is online

Users browsing this forum: No registered users and 8 guests