staging.inyokaproject.org

Lan Verbindung funktioniert nicht

Status: Gelöst | Ubuntu-Version: Xubuntu 22.04 (Jammy Jellyfish)
Antworten |

amp3s

(Themenstarter)
Avatar von amp3s

Anmeldungsdatum:
26. Mai 2014

Beiträge: 192

OK erledigt, geht noch nicht, was jetzt?

lubux

Anmeldungsdatum:
21. November 2012

Beiträge: 13293

amp3s schrieb:

mg@pc7:~$ sudo modprobe -v r8168
[sudo] Passwort für mg: 
modprobe: FATAL: Module r8168 not found in directory /lib/modules/5.19.0-41-generic
mg@pc7:~$ lsmod | grep -i r8168

amp3s schrieb:

Also so wie ich es sehe habe ich den r8168 Treiber ...

Wie sind die Ausgaben von:

modinfo r8168
uname -r

?

amp3s

(Themenstarter)
Avatar von amp3s

Anmeldungsdatum:
26. Mai 2014

Beiträge: 192

mg@pc7:~$ modinfo r8168
modinfo: ERROR: Module r8168 not found.
mg@pc7:~$ uname -r
5.19.0-41-generic

lubux

Anmeldungsdatum:
21. November 2012

Beiträge: 13293

amp3s schrieb:

mg@pc7:~$ modinfo r8168
modinfo: ERROR: Module r8168 not found.
mg@pc7:~$ uname -r
5.19.0-41-generic

Versuch mal:

sudo find /lib/modules -iname '*8168*'

EDIT:

... und:

sudo find /lib/modules -iname '*8169*'

amp3s

(Themenstarter)
Avatar von amp3s

Anmeldungsdatum:
26. Mai 2014

Beiträge: 192

mg@pc7:~$ sudo find /lib/modules -iname '*8168*'
[sudo] Passwort für mg: 
mg@pc7:~$ sudo find /lib/modules -iname '*8169*'
/lib/modules/5.19.0-38-generic/kernel/drivers/net/ethernet/realtek/r8169.ko
/lib/modules/5.15.0-71-generic/kernel/drivers/net/ethernet/realtek/r8169.ko
/lib/modules/5.19.0-41-generic/kernel/drivers/net/ethernet/realtek/r8169.ko

lubux

Anmeldungsdatum:
21. November 2012

Beiträge: 13293

amp3s schrieb:

/lib/modules/5.19.0-41-generic/kernel/drivers/net/ethernet/realtek/r8169.ko

Dann versuch mal:

sudo modprobe -v r8169
ip link

amp3s

(Themenstarter)
Avatar von amp3s

Anmeldungsdatum:
26. Mai 2014

Beiträge: 192

mg@pc7:~$ sudo modprobe -v r8169
[sudo] Passwort für mg: 
insmod /lib/modules/5.19.0-41-generic/kernel/drivers/net/phy/realtek.ko 
insmod /lib/modules/5.19.0-41-generic/kernel/drivers/net/ethernet/realtek/r8169.ko 
mg@pc7:~$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
3: wlx74da38ed15f7: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
    link/ether 74:da:38:ed:15:f7 brd ff:ff:ff:ff:ff:ff
4: enp2s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
    link/ether bc:ae:c5:04:e0:c3 brd ff:ff:ff:ff:ff:ff

lubux

Anmeldungsdatum:
21. November 2012

Beiträge: 13293

amp3s schrieb:

4: enp2s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
    link/ether bc:ae:c5:04:e0:c3 brd ff:ff:ff:ff:ff:ff

Jetzt kannst Du eine Kabelverbindung herstellen und dem Interface eine IP-Adresse (Route) zuweisen.

EDIT:

Kommentiere die Zeile in der blacklist.conf und trage den Treiber (r8169) in die /etc/modules ein.

amp3s

(Themenstarter)
Avatar von amp3s

Anmeldungsdatum:
26. Mai 2014

Beiträge: 192

Kabelverbindung steht, wie dem Interface ein ip-adresse zuweisen?

DJKUhpisse Team-Icon

Supporter, Wikiteam
Avatar von DJKUhpisse

Anmeldungsdatum:
18. Oktober 2016

Beiträge: 16818

amp3s schrieb:

Kabelverbindung steht, wie dem Interface ein ip-adresse zuweisen?

Sollte automatisch passieren per Autokonfiguration und DHCPv4. Starte nun bitte neu und schaue, ob das passiert.

amp3s

(Themenstarter)
Avatar von amp3s

Anmeldungsdatum:
26. Mai 2014

Beiträge: 192

Funktioniert nicht. Und enp2s0 fehlt wieder.

mg@pc7:~$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: wlx74da38ed15f7: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
    link/ether 74:da:38:ed:15:f7 brd ff:ff:ff:ff:ff:ff

DJKUhpisse Team-Icon

Supporter, Wikiteam
Avatar von DJKUhpisse

Anmeldungsdatum:
18. Oktober 2016

Beiträge: 16818

cat /etc/modprobe.d/blacklist.conf
lspci -nnk

amp3s

(Themenstarter)
Avatar von amp3s

Anmeldungsdatum:
26. Mai 2014

Beiträge: 192

mg@pc7:~$ cat /etc/modprobe.d/blacklist.conf
# This file lists those modules which we don't want to be loaded by
# alias expansion, usually so some other driver will be loaded for the
# device instead.

# evbug is a debug tool that should be loaded explicitly
blacklist evbug

# these drivers are very simple, the HID drivers are usually preferred
blacklist usbmouse
blacklist usbkbd

# replaced by e100
blacklist eepro100

# replaced by tulip
blacklist de4x5

# causes no end of confusion by creating unexpected network interfaces
blacklist eth1394

# snd_intel8x0m can interfere with snd_intel8x0, doesn't seem to support much
# hardware on its own (Ubuntu bug #2011, #6810)
blacklist snd_intel8x0m

# Conflicts with dvb driver (which is better for handling this device)
blacklist snd_aw2

# replaced by p54pci
blacklist prism54

# replaced by b43 and ssb.
blacklist bcm43xx

# most apps now use garmin usb driver directly (Ubuntu: #114565)
blacklist garmin_gps

# replaced by asus-laptop (Ubuntu: #184721)
blacklist asus_acpi

# low-quality, just noise when being used for sound playback, causes
# hangs at desktop session start (Ubuntu: #246969)
blacklist snd_pcsp

# ugly and loud noise, getting on everyone's nerves; this should be done by a
# nice pulseaudio bing (Ubuntu: #77010)
blacklist pcspkr

# EDAC driver for amd76x clashes with the agp driver preventing the aperture
# from being initialised (Ubuntu: #297750). Blacklist so that the driver
# continues to build and is installable for the few cases where its
# really needed.
blacklist amd76x_edac
mg@pc7:~$ lspci -nnk
00:00.0 Host bridge [0600]: Intel Corporation Core Processor DRAM Controller [8086:0040] (rev 18)
	Subsystem: ASUSTeK Computer Inc. Core Processor DRAM Controller [1043:8383]
00:01.0 PCI bridge [0604]: Intel Corporation Core Processor PCI Express x16 Root Port [8086:0041] (rev 18)
	Kernel driver in use: pcieport
00:16.0 Communication controller [0780]: Intel Corporation 5 Series/3400 Series Chipset HECI Controller [8086:3b64] (rev 06)
	Subsystem: ASUSTeK Computer Inc. 5 Series/3400 Series Chipset HECI Controller [1043:8383]
	Kernel driver in use: mei_me
	Kernel modules: mei_me
00:1a.0 USB controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b3c] (rev 06)
	Subsystem: ASUSTeK Computer Inc. 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [1043:8383]
	Kernel driver in use: ehci-pci
00:1c.0 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 [8086:3b42] (rev 06)
	Kernel driver in use: pcieport
00:1c.1 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 [8086:3b44] (rev 06)
	Kernel driver in use: pcieport
00:1c.4 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 [8086:3b4a] (rev 06)
	Kernel driver in use: pcieport
00:1d.0 USB controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b34] (rev 06)
	Subsystem: ASUSTeK Computer Inc. 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [1043:8383]
	Kernel driver in use: ehci-pci
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev a6)
00:1f.0 ISA bridge [0601]: Intel Corporation H55 Chipset LPC Interface Controller [8086:3b06] (rev 06)
	Subsystem: ASUSTeK Computer Inc. H55 Chipset LPC Interface Controller [1043:8383]
	Kernel driver in use: lpc_ich
	Kernel modules: lpc_ich
00:1f.2 IDE interface [0101]: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA IDE Controller [8086:3b20] (rev 06)
	Subsystem: ASUSTeK Computer Inc. 5 Series/3400 Series Chipset 4 port SATA IDE Controller [1043:8383]
	Kernel driver in use: ata_piix
	Kernel modules: pata_acpi
00:1f.3 SMBus [0c05]: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller [8086:3b30] (rev 06)
	Subsystem: ASUSTeK Computer Inc. P7P55-M Motherboard [1043:8383]
	Kernel modules: i2c_i801
00:1f.5 IDE interface [0101]: Intel Corporation 5 Series/3400 Series Chipset 2 port SATA IDE Controller [8086:3b26] (rev 06)
	Subsystem: ASUSTeK Computer Inc. 5 Series/3400 Series Chipset 2 port SATA IDE Controller [1043:8383]
	Kernel driver in use: ata_piix
	Kernel modules: pata_acpi
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Whistler [Radeon E6760] [1002:6743]
	Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Whistler [Radeon E6760] [1002:6743]
	Kernel driver in use: radeon
	Kernel modules: radeon, amdgpu
01:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Turks HDMI Audio [Radeon HD 6500/6600 / 6700M Series] [1002:aa90]
	Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Turks HDMI Audio [Radeon HD 6500/6600 / 6700M Series] [1002:aa90]
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 06)
	Subsystem: ASUSTeK Computer Inc. P8P67 and other motherboards [1043:8432]
	Kernel modules: r8168
03:00.0 IDE interface [0101]: VIA Technologies, Inc. VT6415 PATA IDE Host Controller [1106:0415]
	Subsystem: ASUSTeK Computer Inc. Motherboard [1043:838f]
	Kernel driver in use: pata_via
	Kernel modules: pata_via, pata_acpi
3f:00.0 Host bridge [0600]: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers [8086:2c61] (rev 05)
	Subsystem: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers [8086:8086]
3f:00.1 Host bridge [0600]: Intel Corporation Core Processor QuickPath Architecture System Address Decoder [8086:2d01] (rev 05)
	Subsystem: Intel Corporation Core Processor QuickPath Architecture System Address Decoder [8086:8086]
3f:02.0 Host bridge [0600]: Intel Corporation Core Processor QPI Link 0 [8086:2d10] (rev 05)
	Subsystem: Intel Corporation Core Processor QPI Link 0 [8086:8086]
3f:02.1 Host bridge [0600]: Intel Corporation 1st Generation Core i3/5/7 Processor QPI Physical 0 [8086:2d11] (rev 05)
	Subsystem: Intel Corporation 1st Generation Core i3/5/7 Processor QPI Physical 0 [8086:8086]
3f:02.2 Host bridge [0600]: Intel Corporation 1st Generation Core i3/5/7 Processor Reserved [8086:2d12] (rev 05)
	Subsystem: Intel Corporation 1st Generation Core i3/5/7 Processor Reserved [8086:8086]
3f:02.3 Host bridge [0600]: Intel Corporation 1st Generation Core i3/5/7 Processor Reserved [8086:2d13] (rev 05)
	Subsystem: Intel Corporation 1st Generation Core i3/5/7 Processor Reserved [8086:8086]

lubux

Anmeldungsdatum:
21. November 2012

Beiträge: 13293

amp3s schrieb:

mg@pc7:~$ cat /etc/modprobe.d/blacklist.conf
# This file lists those modules which we don't want to be loaded by

Und die Ausgaben von:

cat /etc/modules
lsmod | grep -i r8169

?

amp3s

(Themenstarter)
Avatar von amp3s

Anmeldungsdatum:
26. Mai 2014

Beiträge: 192

Lohnt es sich vielleicht im Bios danach zu suchen, ob da was deaktivert ist, oder ist das schon auszuschließen?

mg@pc7:~$ cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

mg@pc7:~$ lsmod | grep -i r8169
mg@pc7:~$ lsmod | grep -i r8169
mg@pc7:~$ lsmod
Module                  Size  Used by
ccm                    20480  9
binfmt_misc            24576  1
rtl8xxxu              155648  0
mei_pxp                20480  0
rtl8192cu             110592  0
rtl_usb                20480  1 rtl8192cu
snd_hda_codec_hdmi     86016  1
rtl8192c_common        86016  1 rtl8192cu
rtlwifi               122880  3 rtl8192c_common,rtl_usb,rtl8192cu
intel_powerclamp       24576  0
snd_hda_intel          53248  2
snd_intel_dspcfg       36864  1 snd_hda_intel
snd_intel_sdw_acpi     20480  1 snd_intel_dspcfg
mac80211             1314816  4 rtl_usb,rtl8192cu,rtlwifi,rtl8xxxu
snd_hda_codec         176128  2 snd_hda_codec_hdmi,snd_hda_intel
snd_hda_core          114688  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
coretemp               24576  0
kvm_intel             434176  0
snd_hwdep              20480  1 snd_hda_codec
snd_pcm               155648  4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
cfg80211             1044480  3 rtlwifi,mac80211,rtl8xxxu
kvm                  1130496  1 kvm_intel
snd_seq_midi           20480  0
snd_seq_midi_event     16384  1 snd_seq_midi
nls_iso8859_1          16384  1
snd_rawmidi            45056  1 snd_seq_midi
snd_seq                77824  2 snd_seq_midi,snd_seq_midi_event
snd_seq_device         16384  3 snd_seq,snd_seq_midi,snd_rawmidi
libarc4                16384  1 mac80211
intel_cstate           20480  0
serio_raw              20480  0
snd_timer              40960  2 snd_seq,snd_pcm
snd                   114688  13 snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_pcm,snd_rawmidi
i2c_i801               36864  0
lpc_ich                28672  0
soundcore              16384  1 snd
pata_via               20480  0
i2c_smbus              20480  1 i2c_i801
mei_me                 49152  1
asus_atk0110           24576  0
mei                   143360  3 mei_pxp,mei_me
sch_fq_codel           24576  5
msr                    16384  0
parport_pc             53248  1
ppdev                  24576  0
lp                     28672  0
pstore_blk             16384  0
parport                73728  3 parport_pc,lp,ppdev
ramoops                32768  0
pstore_zone            32768  1 pstore_blk
reed_solomon           28672  1 ramoops
efi_pstore             16384  0
ip_tables              32768  0
x_tables               57344  1 ip_tables
autofs4                45056  2
dm_crypt               57344  1
amdgpu              11313152  0
iommu_v2               24576  1 amdgpu
gpu_sched              49152  1 amdgpu
radeon               1867776  28
i2c_algo_bit           16384  2 amdgpu,radeon
drm_ttm_helper         16384  2 amdgpu,radeon
ttm                    98304  3 amdgpu,radeon,drm_ttm_helper
drm_display_helper    184320  2 amdgpu,radeon
input_leds             16384  0
cec                    81920  1 drm_display_helper
rc_core                65536  1 cec
drm_kms_helper        200704  3 drm_display_helper,amdgpu,radeon
syscopyarea            16384  1 drm_kms_helper
sysfillrect            20480  1 drm_kms_helper
sysimgblt              20480  1 drm_kms_helper
fb_sys_fops            16384  1 drm_kms_helper
drm                   581632  21 gpu_sched,drm_kms_helper,drm_display_helper,amdgpu,radeon,drm_ttm_helper,ttm
psmouse               180224  0
pata_acpi              16384  0
mac_hid                16384  0
hid_generic            16384  0
usbhid                 65536  0
hid                   159744  2 usbhid,hid_generic