You are not logged in.
Pages: 1
Hi,
I am trying to connect to a LAN. It works on another laptop running some Ubuntu variant without any hassle.
When I plug in the cable and observe using journalctl -f I get
Oct 31 14:53:06 seb-laptop NetworkManager[385]: <info> [1477921986.4739] device (enp3s0): Activation: starting connection 'Wired connection 1' (4587f03a-0819-3275-bd3c-bf05d3e0590e)
Oct 31 14:53:06 seb-laptop NetworkManager[385]: <info> [1477921986.4740] audit: op="connection-activate" uuid="4587f03a-0819-3275-bd3c-bf05d3e0590e" name="Wired connection 1" pid=670 uid=1000 result="success"
Oct 31 14:53:06 seb-laptop NetworkManager[385]: <info> [1477921986.4742] device (enp3s0): state change: disconnected -> prepare (reason 'none') [30 40 0]
Oct 31 14:53:06 seb-laptop NetworkManager[385]: <info> [1477921986.4750] device (enp3s0): state change: prepare -> config (reason 'none') [40 50 0]
Oct 31 14:53:06 seb-laptop NetworkManager[385]: <info> [1477921986.4760] device (enp3s0): state change: config -> ip-config (reason 'none') [50 70 0]
Oct 31 14:53:06 seb-laptop NetworkManager[385]: <info> [1477921986.4765] dhcp4 (enp3s0): activation: beginning transaction (timeout in 45 seconds)
Oct 31 14:53:51 seb-laptop NetworkManager[385]: <warn> [1477922031.3282] dhcp4 (enp3s0): request timed out
Oct 31 14:53:51 seb-laptop NetworkManager[385]: <info> [1477922031.3283] dhcp4 (enp3s0): state changed unknown -> timeout
Oct 31 14:53:51 seb-laptop NetworkManager[385]: <info> [1477922031.3475] dhcp4 (enp3s0): canceled DHCP transaction
Oct 31 14:53:51 seb-laptop NetworkManager[385]: <info> [1477922031.3476] dhcp4 (enp3s0): state changed timeout -> done
Oct 31 14:53:51 seb-laptop NetworkManager[385]: <info> [1477922031.3478] device (enp3s0): state change: ip-config -> failed (reason 'ip-config-unavailable') [70 120 5]
Oct 31 14:53:51 seb-laptop NetworkManager[385]: <warn> [1477922031.3482] device (enp3s0): Activation: failed for connection 'Wired connection 1'
Oct 31 14:53:51 seb-laptop NetworkManager[385]: <info> [1477922031.3488] device (enp3s0): state change: failed -> disconnected (reason 'none') [120 30 0]ip link shows that the enp3s0 interface is UP:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
link/ether 54:ee:75:59:35:11 brd ff:ff:ff:ff:ff:ff
3: wlp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
link/ether e4:f8:9c:6a:0d:24 brd ff:ff:ff:ff:ff:ffsystemctl --type=service shows that no other network services are running:
UNIT LOAD ACTIVE SUB DESCRIPTION
accounts-daemon.service loaded active running Accounts Service
alsa-restore.service loaded active exited Save/Restore Sound Card State
colord.service loaded active running Manage, Install and Generate Color Profiles
dbus.service loaded active running D-Bus System Message Bus
gdm.service loaded active running GNOME Display Manager
kmod-static-nodes.service loaded active exited Create list of required static device nodes for the current kernel
NetworkManager.service loaded active running Network Manager
packagekit.service loaded active running PackageKit Daemon
polkit.service loaded active running Authorization Manager
rtkit-daemon.service loaded active running RealtimeKit Scheduling Policy Service
systemd-backlight@backlight:intel_backlight.service loaded active exited Load/Save Screen Backlight Brightness of backlight:intel_backlight
systemd-fsck@dev-disk-by\x2duuid-f4c0b294\x2d9aaa\x2d4afe\x2dac8e\x2d2d2a589f6448.service loaded active exited File System Check on /dev/disk/by-uuid/f4c0b294-9aaa-4afe-ac8e-2d2a589f6448
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
udisks2.service loaded active running Disk Manager
upower.service loaded active running Daemon for power management
user@1000.service loaded active running User Manager for UID 1000
user@120.service loaded active running User Manager for UID 120
wpa_supplicant.service loaded active running WPA supplicant
LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.
32 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.I tried googling for a while now. I have removed what it remembers about the connection using
rm /etc/NetworkManager/system-connections/'Wired connection 1'
What could be the problem, what could I try? Apparently it fails at state change: ip-config -> failed (reason 'ip-config-unavailable'). Why would ip-config not be available?
EDIT
As one would guess setting the IP address manually gets things to work. This is a small dev network at my uni with exactly 4 machines, so this solution works for me. I would still be interested in finding out why auto-assigning the IP addresses doesn't work, especially since another distro has no problems with it.
Last edited by kunterbunt (2016-10-31 14:33:20)
Offline
Pages: 1