Open suntong opened 3 years ago
The ip a s
can show the eth0
but there is no IP address for it.
Using dhclient
was able to bring up network. Weird that it was not started by default.
Changed title because I've just booted my Lenovo with grml64-full 2021.07 and I got the exact same problem as reported above --
No IP unless using dhclient
to bring up the network.
Again, booting grml64-full 2021.07 with my ASUS does not have such problem.
Please retry with grml64-full 2021.07. Issues to look into if the problem still persists:
dmesg
output and in /var/log/syslog
?Already done that --
Changed title because I've just booted my Lenovo with grml64-full 2021.07 and I got the exact same problem as reported above...
Anyway, I reboot my Lenovo into grml64-full 2021.07 again, and have tried all the following:
dmesg | grep -Ei 'dhcp|dns|client'
cat /var/log/syslog | grep -Ei 'dhcp|dns|client'
ps -eaf | grep -Ei 'dhcp|dns|client'
but there was no relevant output.
and dhclient
was not able to start even after 20~30 minutes.
Alright, but if you run dhclient eth0
manually, it works as expected?
If so, what's the output of the following commands:
ethtool -i eth0
lshw -C net -short
journalctl | grep -i eth
dmesg | grep eth
OK,
grml@grml ~ % sudo su -
root@grml ~ # ethtool -i eth0
driver: r8152
version: v1.11.11
firmware-version: rtl8153a-3 v2 02/07/20
expansion-rom-version:
bus-info: usb-0000:2c:00.0-1
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no
root@grml ~ # lshw -C net -short
H/W path Device Class Description
==============================================================
/0/100/14.3 wlan0 network Comet Lake PCH CNVi WiFi
/2 eth0 network Ethernet interface
root@grml ~ # journalctl| grep -i eth
Oct 18 13:07:06 grml kernel: VGA switcheroo: detected Optimus DSM method \_SB_.PCI0.PEG0.PEGP handle
Oct 18 13:07:06 grml kernel: nouveau 0000:01:00.0: firmware: direct-loading firmware nvidia/tu117/gr/sw_method_init.bin
Oct 18 13:07:08 grml kernel: r8152 4-1:1.0 eth0: v1.11.11
Oct 18 13:07:08 grml kernel: usbcore: registered new interface driver cdc_ether
Oct 18 13:07:09 grml systemd-udevd[670]: ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable.
Oct 18 13:07:09 grml systemd-udevd[642]: ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable.
Oct 18 13:07:09 grml systemd-udevd[673]: ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable.
Oct 18 13:07:09 grml alsactl[2394]: Hardware is initialized using a generic met od
root@grml ~ # dmesg | grep -i eth
[ 2.953706] VGA switcheroo: detected Optimus DSM method \_SB_.PCI0.PEG0.PEGP handle
[ 3.042494] nouveau 0000:01:00.0: firmware: direct-loading firmware nvidia/tu117/gr/sw_method_init.bin
[ 12.537324] r8152 4-1:1.0 eth0: v1.11.11
[ 12.550521] usbcore: registered new interface driver cdc_ether
root@grml ~ # journalctl| grep -i warning
Oct 18 13:07:06 grml kernel: ACPI Warning: \_SB.PCI0.GFX0._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20200925/nsarguments-61)
Oct 18 13:07:06 grml kernel: ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20200925/nsarguments-61)
root@grml ~ # journalctl| grep -i error
Oct 18 13:07:09 grml alsactl[2394]: alsa-lib main.c:1014:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -2
Oct 18 13:07:10 grml kernel: sof-audio-pci 0000:00:1f.3: Direct firmware load for intel/sof/sof-cml.ri failed with error -2
Oct 18 13:07:10 grml kernel: sof-audio-pci 0000:00:1f.3: error: request firmware intel/sof/sof-cml.ri failed err: -2
Oct 18 13:07:10 grml kernel: sof-audio-pci 0000:00:1f.3: error: failed to load DSP firmware -2
Oct 18 13:07:10 grml kernel: sof-audio-pci 0000:00:1f.3: error: sof_probe_work failed err: -2
Oct 18 13:07:18 grml systemd[3032]: gpgconf: error running '/usr/lib/gnupg/scdaemon': probably not installed
Also, check your PM via email as well pls.
Here is what happened after I do sudo dhclient
(which PM contains as well):
$ journalctl | grep -i eth
Oct 18 13:07:06 grml kernel: VGA switcheroo: detected Optimus DSM method \_SB_.PCI0.PEG0.PEGP handle
Oct 18 13:07:06 grml kernel: nouveau 0000:01:00.0: firmware: direct-loading firmware nvidia/tu117/gr/sw_method_init.bin
Oct 18 13:07:08 grml kernel: r8152 4-1:1.0 eth0: v1.11.11
Oct 18 13:07:08 grml kernel: usbcore: registered new interface driver cdc_ether
Oct 18 13:07:09 grml systemd-udevd[670]: ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable.
Oct 18 13:07:09 grml systemd-udevd[642]: ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable.
Oct 18 13:07:09 grml systemd-udevd[673]: ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable.
Oct 18 13:07:09 grml alsactl[2394]: Hardware is initialized using a generic met od
Oct 18 13:12:25 grml kernel: r8152 4-1:1.0 eth0: carrier on
Oct 18 13:12:25 grml kernel: IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Oct 18 13:12:25 grml dhclient[3425]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
Oct 18 13:12:25 grml dhclient[3425]: DHCPREQUEST for 192.168.0.55 on eth0 to 255.255.255.255 port 67
$ dmesg | grep -i eth
[ 2.953706] VGA switcheroo: detected Optimus DSM method \_SB_.PCI0.PEG0.PEGP handle
[ 3.042494] nouveau 0000:01:00.0: firmware: direct-loading firmware nvidia/tu117/gr/sw_method_init.bin
[ 12.537324] r8152 4-1:1.0 eth0: v1.11.11
[ 12.550521] usbcore: registered new interface driver cdc_ether
[ 328.997074] r8152 4-1:1.0 eth0: carrier on
[ 328.997091] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Describe the bug grml64-full_2020.06 boot up without network for Lenovo type 20TH
https://pcsupport.lenovo.com/ca/en/products/laptops-and-netbooks/thinkpad-p-series-laptops/thinkpad-p1-gen-3-type-20th-20tj/20th/20th000xus
Steps To Reproduce Steps to reproduce the behavior:
grml64-full_2020.06
to usbgrml64-full_2020.06
from usb (and choose advanced > start x)Expected behavior
network
eth0
is up.In which Grml Version did the bug occur?
grml64-full_2020.06
I wanted to use the latest Grml, but am blocked by #182
Additional context
The same USB, when booting my ASUS, the network
eth0
is up as expected.