You are not logged in.
Hi Guys,
Tried again to move to systemd, everything boots ok but I have no eth0
lspci shows it can see the Ethernet controller but /dev/net/ only contains tun
If I remove the init line for systemd from grub and then reboot using the standard archinit eth0 is available and works.
I have followed the arch wiki for systemd, I don't get it?
Do I need to reinstall any packages?
Any ideas/advice much appreciated.
Thanks in advance for your help.
*UPDATE*
It's now working. Basically I tried to setup a static ethernet ip using the details here https://wiki.archlinux.org/index.php/Sy … et_network and this left the system without eth0
To get it working, I removed the network.service I had created using the directions above and instead installed netcfg and then followed the wiki advice here https://wiki.archlinux.org/index.php/Ne … md_support
Hope this helps someone else who runs into a similar issue.
Last edited by adr3nal1n (2012-08-15 20:31:32)
Offline
Just realised why the the instructions here https://wiki.archlinux.org/index.php/Sy … et_network didn't work for me.
Problem was, I was a total idiot and forgot to 'systemctl enable network.service' after I had created it and put it in /etc/systemd/system/
Sorry for wasting anyones time on this.
I'll go and hide in shame now!
Offline
Sorry for wasting anyones time on this.
I'll go and hide in shame now!
lack of replies indicates no-ones time was wasted, and learning more about your system is never a bad thing.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
After long trials this worked best for me;
[Unit]
Description=Network Connectivity
Requires=sys-devices-pci0000:00-0000:00:04.0-0000:01:06.0-net-eth0.device
After=sys-devices-pci0000:00-0000:00:04.0-0000:01:06.0-net-eth0.device
Wants=network.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/sbin/ip link set eth0 up ; /sbin/ip addr add 192.168.1.251/24 dev eth0 ; /sbin/ip route add default via 192.168.1.250
ExecStop=/sbin/ip link set eth0 down
[Install]
WantedBy=multi-user.target
Offline