On Wed, 2016-08-03 at 18:40 +1100, 'Viktor Goryainov' via Laptop Mode Tools wrote:
The other day I found that after installation of laptop-mode-tools
1.68-3ubuntu1 from Ubuntu repos and the reboot following, I was unable
to use the VPN connection provided by my ISP.
Was your setup working proper, prior to the installation of Laptop Mode Tools ?
I ask, because from your logs, it looks like LMT never touched your ethernet config. That's because, by default, we presume eth0 to be the system device.
In your logs, it shows:
аАаВаГ 02 09:36:30 al-exquemelin-laptop avahi-daemon[2321]: No service file found in /etc/avahi/services.
аАаВаГ 02 09:36:30 al-exquemelin-laptop laptop_mode[2333]: Device "eth0" does not exist.
аАаВаГ 02 09:36:30 al-exquemelin-laptop laptop_mode[2333]: sh: echo: I/O error
аАаВаГ 02 09:36:30 al-exquemelin-laptop laptop_mode[2333]: SETTING OF KERNEL PARAMETER FAILED: echo 1 \> /sys/devices/system/cpu/intel_pstate/no_turbo
аАаВаГ 02 09:36:30 al-exquemelin-laptop kernel: intel_pstate: Turbo disabled by BIOS or unavailable on processor
аАаВаГ 02 09:36:30 al-exquemelin-laptop avahi-daemon[2321]: Network interface enumeration completed.
аАаВаГ 02 09:36:30 al-exquemelin-laptop avahi-daemon[2321]: Server startup complete. Host name is al-exquemelin-laptop.local. Local service cookie is 1134956960.
аАаВаГ 02 09:36:30 al-exquemelin-laptop dbus[2268]: [system] Activating via systemd: service name='org.freedesktop.PolicyKit1' unit='polkitd.service'
аАаВаГ 02 09:36:30 al-exquemelin-laptop systemd[1]: Starting Authenticate and Authorize Users to Run Privileged Tasks...
аАаВаГ 02 09:36:30 al-exquemelin-laptop laptop_mode[2333]: Error for wireless request "Set Power Management" (8B2C) :
аАаВаГ 02 09:36:30 al-exquemelin-laptop laptop_mode[2333]: SET failed on device wlp2s0 ; Operation not supported.
аАаВаГ 02 09:36:30 al-exquemelin-laptop laptop-mode[3087]: Failed.
аАаВаГ 02 09:36:30 al-exquemelin-laptop laptop_mode[2333]: Failed.
аАаВаГ 02 09:36:30 al-exquemelin-laptop kernel: EXT4-fs (sda3): re-mounted. Opts: errors=remount-ro,data=ordered,commit=600
аАаВаГ 02 09:36:30 al-exquemelin-laptop kernel: EXT4-fs (sda4): re-mounted. Opts: data=ordered,commit=600
аАаВаГ 02 09:36:30 al-exquemelin-laptop systemd[1]: Started LSB: Record successful boot for GRUB.
аАаВаГ 02 09:36:30 al-exquemelin-laptop systemd[1]: Received SIGRTMIN+21 from PID 1180 (plymouthd).
аАаВаГ 02 09:36:30 al-exquemelin-laptop systemd[1]: Started Light Display Manager.
The wired connection began taking unusually long time to start, and when
I tried to activate the VPN connection (all this using Network Manager),
I immediately got an error about the VPN service being disabled. I
enclose a log of my laptop booting with the LAN cable plugged in.
Again, in your logs further, it shows that no DHCP lease was offered. Given the network card you have, it could be a known problem. RALink and Realtek cards have been problematic in my experience.
аАаВаГ 02 09:37:09 al-exquemelin-laptop dhclient[3488]: XMT: Solicit on enp3s0, interval 33090ms.
аАаВаГ 02 09:37:11 al-exquemelin-laptop dhclient[3466]: DHCPDISCOVER on enp3s0 to 255.255.255.255 port 67 interval 15 (xid=0x57e3f4f)
аАаВаГ 02 09:37:20 al-exquemelin-laptop NetworkManager[2279]: <warn> [1470091040.3381] dhcp4 (enp3s0): request timed out
аАаВаГ 02 09:37:20 al-exquemelin-laptop NetworkManager[2279]: <info> [1470091040.3382] dhcp4 (enp3s0): state changed unknown -> timeout
аАаВаГ 02 09:37:20 al-exquemelin-laptop NetworkManager[2279]: <info> [1470091040.3548] dhcp4 (enp3s0): canceled DHCP transaction, DHCP client pid 3466
аАаВаГ 02 09:37:20 al-exquemelin-laptop NetworkManager[2279]: <info> [1470091040.3549] dhcp4 (enp3s0): state changed timeout -> done
and
аАаВаГ 02 09:37:23 al-exquemelin-laptop NetworkManager[2279]: <warn> [1470091043.3378] dhcp6 (enp3s0): request timed out
аАаВаГ 02 09:37:23 al-exquemelin-laptop NetworkManager[2279]: <info> [1470091043.3379] dhcp6 (enp3s0): state changed unknown -> timeout
аАаВаГ 02 09:37:23 al-exquemelin-laptop NetworkManager[2279]: <info> [1470091043.3389] dhcp6 (enp3s0): canceled DHCP transaction, DHCP client pid 3488
аАаВаГ 02 09:37:23 al-exquemelin-laptop NetworkManager[2279]: <info> [1470091043.3390] dhcp6 (enp3s0): state changed timeout -> done
аАаВаГ 02 09:37:23 al-exquemelin-laptop NetworkManager[2279]: <info> [1470091043.3405] device (enp3s0): state change: ip-config -> ip-check (reason 'none') [70 80 0]
аАаВаГ 02 09:37:23 al-exquemelin-laptop NetworkManager[2279]: <info> [1470091043.3443] device (enp3s0): state change: ip-check -> secondaries (reason 'none') [80 90 0]
аАаВаГ 02 09:37:23 al-exquemelin-laptop NetworkManager[2279]: <info> [1470091043.3457] device (enp3s0): state change: secondaries -> activated (reason 'none') [90 100 0]
аАаВаГ 02 09:37:23 al-exquemelin-laptop NetworkManager[2279]: <info> [1470091043.3476] manager: NetworkManager state is now CONNECTED_LOCAL
аАаВаГ 02 09:37:23 al-exquemelin-laptop NetworkManager[2279]: <info> [1470091043.4133] manager: NetworkManager state is now CONNECTED_GLOBAL
аАаВаГ 02 09:37:23 al-exquemelin-laptop NetworkManager[2279]: <info> [1470091043.4136] policy: set 'Wired connection 1' (enp3s0) as default for IPv6 routing and DNS
аАаВаГ 02 09:37:23 al-exquemelin-laptop NetworkManager[2279]: <info> [1470091043.4137] device (enp3s0): Activation: successful, device activated.
аАаВаГ 02 09:37:23 al-exquemelin-laptop NetworkManager[2279]: <info> [1470091043.4146] manager: startup complete
Setting CONTROL_ETHERNET="disabled" in ethernet.conf made no difference.
The only ways to get the connection working are either disabling
laptop-mode-tools via laptop-mode.conf or removing the package altogether.
Please set it to 0 to disable the ethernet module.
So, what am I doing wrong? I'm currently using Ubuntu Xenial and Xfce
4.12. The Ethernet controller on my laptop is listed by lspci as a
Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit
Ethernet Controller (rev 06).
This device family is known to have issues. But I'm curious if the issues showed up only after installation of Laptop Mode Tools. Can you please confirm that ?