SkipNoCarrier=yes
TimeoutCarrier=10
I am not using netctl-ifplugd. In fact I dont even have ifplugd installed
I might just end up using dhcpcd@.service, well because it just works. But the curiousness in me still wants to find out as to why netctl stopped working
Edit: Oh, and sorry this doesn't help you solve your actual problem at all. Its just my two cents... maybe just one cent.
]]>The only thing I did was move the cable modem to a different room and pulled a longer ethernet wire through an ethernet-extender to the computer instead of a small ethernet wire before.
I had the profile name with a hyphen before and did not have a problem before (even though the service name showed up as 'ethernet\x2ddhcp'. However I found a couple of threads which mentioned that the hyphen may be the problem so I changed the profile namd to 'wired' and disabled the older systemd file and created a new one for the new 'wired' profile, but it still doesn't work.
I was hoping to use netctl, because I use it for wireless management on another machine...so I thought I would use the same on my desktop too.
I suppose if this doesn't work then I could just enable the dhcpcd.service or the dhcpcd@.service, but I was curious as to why it stopped working.
A few threads I found on this :
https://bbs.archlinux.org/viewtopic.php?pid=1328472
]]>I've used ifplugd from the moment I started using Arch, and to be honest,
I never had a problem so far.
Edit 2: could you try it like this on startup:
sytemctl disable netctl@mynet.service
ip link set enp1s0 up
systemctl enable netctl@mynetservice
**if needed**
systemctl start netctl@mynetservice
Address=('192.168.1.102/24')
#Routes=('192.168.0.0/24 via 192.168.1.2')
not the same as
ip link set enp1s0 up ; ip addr add 192.168.1.102/24 dev enp1s0
Should the ip address in #Routes not be 192.168.1.102?
]]>ip link set enp1s0 up ; ip addr add 192.168.1.102/24 dev enp1s0
so I guess I'll just start the network manually for now.
]]>01:00.0 Ethernet controller: Broadcom Corporation NetLink BCM57780 Gigabit Ethernet PCIe (rev 01)
The drivers appear in lsmod (tg3, broadcom).
I disabled all systemd network stuff and did a system upgrade (pacman -Syu). When I reboot the link light on the switch is on. When I entered "netcfg enp1s0-config" which I've been using for months, the link light goes off and I get the "No connection" message. I removed netcfg and reinstalled netctl, rebooted, and the link light was back on again. When I entered "netctl start mynet" the link light goes off and I get the "No connection on interface 'enp1s0'" message. I'm baffled. I'll look through the wiki pages you mentioned.
It might also be a good step to see if the device is being recognized. Use lspci to see if it shows up (or lsusb if it is a usb device).
]]>Description='My net'
Interface=enp1s0
Connection=ethernet
IP=static
Address=('192.168.1.102/24')
#Routes=('192.168.0.0/24 via 192.168.1.2')
Gateway='192.168.1.1'
DNS=('192.168.1.1')
Results of 'netctl start mynet ; systemctl status netctl@mynet.service:
netctl@mynet.service - My net
Loaded: loaded (/etc/systemd/system/netctl@mynet.service; enabled)
Active: failed (Result: exit-codesder) since Tue 2013-07-02 23:33:03 EAT; 8min ago
Docs: man:netctl.profile(5)
Process: 6726 ExecStart=/usr/lib/network/network start %I (code=exited, status=1/FAILURE)
Jul 02 23:32:58 chanan002 network[6726]: Starting network profile 'mynet'...
Jul 02 23:33:03 chanan002 network[6726]: No connection on interface 'enp1s0'
Jul 02 23:33:03 chanan002 systemd[1]: netctl@mynet.service: main process exited, code=exited, status=1/FAILURE
Jul 02 23:33:03 chanan002 systemd[1]: Failed to start My net.
Jul 02 23:33:03 chanan002 systemd[1]: Unit netctl@mynet.service entered failed state.
Finally, since the wiki mentions possible conflicts, here's the output from 'systemctl list-units'. Hopefully there's nothing confidential in there.
UNIT LOAD ACTIVE SUB DESCRIPTION
proc-sys...misc.automount loaded active waiting Arbitrary Executable File Formats File System Automount Point
sys-devi...d-card0.device loaded active plugged 5 Series/3400 Series Chipset High Definition Audio
sys-devi...-enp1s0.device loaded active plugged NetLink BCM57780 Gigabit Ethernet PCIe
sys-devi...-wlp2s0.device loaded active plugged AR9485 Wireless Network Adapter
sys-devi...\x2d1.2.device loaded active plugged MFC-7420
sys-devi...ttyUSB0.device loaded active plugged E180v
sys-devi...9u1u3i1.device loaded active plugged E180v
sys-devi...ttyUSB1.device loaded active plugged E180v
sys-devi...ttyUSB2.device loaded active plugged E180v
sys-devi...ock-sr1.device loaded active plugged Mass_Storage
sys-devi...ock-sdb.device loaded active plugged SD_Storage
sys-devi...da-sda1.device loaded active plugged WDC_WD3200BPVT-22JJ5T0
sys-devi...da-sda2.device loaded active plugged WDC_WD3200BPVT-22JJ5T0
sys-devi...ock-sda.device loaded active plugged WDC_WD3200BPVT-22JJ5T0
sys-devi...ock-sr0.device loaded active plugged HL-DT-ST_DVDRAM_GT51N
sys-devi...y-ttyS0.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS0
sys-devi...y-ttyS1.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS1
sys-devi...y-ttyS2.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS2
sys-devi...y-ttyS3.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS3
sys-devi...et-ppp0.device loaded active plugged /sys/devices/virtual/net/ppp0
sys-modu...onfigfs.device loaded active plugged /sys/module/configfs
sys-subs...-enp1s0.device loaded active plugged NetLink BCM57780 Gigabit Ethernet PCIe
sys-subs...es-ppp0.device loaded active plugged /sys/subsystem/net/devices/ppp0
sys-subs...-wlp2s0.device loaded active plugged AR9485 Wireless Network Adapter
sys-subs...9u1u3i1.device loaded active plugged E180v
-.mount loaded active mounted /
dev-hugepages.mount loaded active mounted Huge Pages File System
dev-mqueue.mount loaded active mounted POSIX Message Queue File System
sys-kernel-config.mount loaded active mounted Configuration File System
sys-kernel-debug.mount loaded active mounted Debug File System
tmp.mount loaded active mounted Temporary Directory
cups.path loaded active running CUPS Printer Service Spool
systemd-...d-console.path loaded active waiting Dispatch Password Requests to Console Directory Watch
systemd-...word-wall.path loaded active waiting Forward Password Requests to Wall Directory Watch
avahi-daemon.service loaded active running Avahi mDNS/DNS-SD Stack
colord.service loaded active running Manage, Install and Generate Color Profiles
cronie.service loaded active running Periodic Command Scheduler
cups.service loaded active running CUPS Printing Service
dbus.service loaded active running D-Bus System Message Bus
dictd.service loaded active running Dictd Dictionary Server Daemon
getty@tty1.service loaded active running Getty on tty1
iptables.service loaded active exited Packet Filtering Framework
netctl@mynet.service loaded failed failed My net
pacserve.service loaded activating auto-restart Pacserve
systemd-journald.service loaded active running Journal Service
systemd-logind.service loaded active running Login Service
systemd-...s-load.service loaded active exited Load Kernel Modulessystemd-...unt-fs.service loaded active exited Remount Root and Kernel File Systems
systemd-sysctl.service loaded active exited Apply Kernel Variables
systemd-...-setup.service loaded active exited Recreate Volatile Files and Directories
systemd-...rigger.service loaded active exited udev Coldplug all Devices
systemd-udevd.service loaded active running udev Kernel Device Manager
systemd-...e-utmp.service loaded active exited Update UTMP about System Reboot/Shutdown
systemd-...ssions.service loaded active exited Permit User Sessions
systemd-...-setup.service loaded active exited Setup Virtual Console
avahi-daemon.socket loaded active listening Avahi mDNS/DNS-SD Stack Activation Socket
cups.socket loaded active listening CUPS Printing Service Sockets
dbus.socket loaded active running D-Bus System Message Bus Socket
dmeventd.socket loaded active listening Device-mapper event daemon FIFOs
lvmetad.socket loaded active listening LVM2 metadata daemon socket
systemd-initctl.socket loaded active listening /dev/initctl Compatibility Named Pipe
systemd-journald.socket loaded active running Journal Socket
systemd-shutdownd.socket loaded active listening Delayed Shutdown Socket
systemd-...control.socket loaded active listening udev Control Socket
systemd-...-kernel.socket loaded active running udev Kernel Socket
basic.target loaded active active Basic System
cryptsetup.target loaded active active Encrypted Volumes
getty.target loaded active active Login Prompts
graphical.target loaded active active Graphical Interface
local-fs-pre.target loaded active active Local File Systems (Pre)
local-fs.target loaded active active Local File Systems
multi-user.target loaded active active Multi-User System
network.target loaded active active Network
paths.target loaded active active Paths
printer.target loaded active active Printer
remote-fs.target loaded active active Remote File Systems
sockets.target loaded active active Sockets
sound.target loaded active active Sound Card
swap.target loaded active active Swap
sysinit.target loaded active active System Initialization
timers.target loaded active active Timers
systemd-...es-clean.timer loaded active waiting Daily Cleanup of Temporary Directories
As you can see, it's late here and at my age, I turn into a pumpkin at midnight, so I'm off. Any suggestions would be much appreciated.
]]>