srd@ubuntu:~/Downloads$ ifconfig lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:3487 errors:0 dropped:0 overruns:0 frame:0 TX packets:3487 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:621148 (621.1 KB) TX bytes:621148 (621.1 KB) p3p1 Link encap:Ethernet HWaddr 28:d2:44:2a:7d:5c inet6 addr: fe80::2ad2:44ff:fe2a:7d5c/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:16351 errors:0 dropped:87 overruns:0 frame:0 TX packets:206 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:98346srd@ubuntu:~/sudo lshw -C network *-network description: Ethernet interface product: QCA8171 Gigabit Ethernet vendor: Qualcomm Atheros physical id: 0 bus info: pci@0000:08:00.0 logical name: p3p1 version: 10 serial: 28:d2:44:2a:7d:5c size: 100Mbit/s capacity: 1Gbit/s width: 64 bits clock: 33MHz capabilities: pm pciexpress msi msix bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation configuration: autonegotiation=on broadcast=yes driver=alx duplex=full latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s resources: irq:50 memory:c2500000-c253ffff ioport:3000(size=128) *-networksrd@ubuntu:~$ modinfo alxfilename: /lib/modules/3.16.0-34-generic/kernel/drivers/net/ethernet/atheros/alx/alx.kolicense: GPLdescription: Qualcomm Atheros(R) AR816x/AR817x PCI-E Ethernet Network Driverauthor: Qualcomm Corporation, author: Johannes Berg srcversion: A8A24DC0B21D72803977AB3alias: pci:v00001969d000010A0sv*sd*bc*sc*i*alias: pci:v00001969d000010A1sv*sd*bc*sc*i*alias: pci:v00001969d00001090sv*sd*bc*sc*i*alias: pci:v00001969d0000E091sv*sd*bc*sc*i*alias: pci:v00001969d00001091sv*sd*bc*sc*i*depends: mdiointree: Yvermagic: 3.16.0-34-generic SMP mod_unload modversions srd@ubuntu:~$ lsmod |grep alxalx 36680 0 mdio 13561 1 alxsrd@ubuntu:~$ cat /etc/network/interfaces# The loopback network interfaceauto loauto p3p1allow-hotplug p3p1#iface p3p1 inet dhcpiface lo inet loopback
srd@ubuntu:~$ sudo dmesg | tail -n 50[ 4.550452] vga_switcheroo: enabled[ 4.550633] [TTM] Zone kernel: Available graphics memory: 8074722 kiB[ 4.550634] [TTM] Zone dma32: Available graphics memory: 2097152 kiB[ 4.550635] [TTM] Initializing pool allocator[ 4.550649] [TTM] Initializing DMA pool allocator[ 4.550657] nouveau [ DRM] VRAM: 2048 MiB[ 4.550657] nouveau [ DRM] GART: 1048576 MiB[ 4.550660] nouveau W[ DRM] Pointer to TMDS table invalid[ 4.550661] nouveau [ DRM] DCB version 4.0[ 4.550662] nouveau W[ DRM] Pointer to flat panel table invalid[ 4.556674] nouveau [ DRM] MM: using COPY for buffer copies[ 4.556679] [drm] Initialized nouveau 1.1.2 20120801 for 0000:01:00.0 on minor 1[ 5.461905] scsi 4:0:0:0: Direct-Access ST1000LM 014-1EJ164 PQ: 0 ANSI: 0[ 5.462169] sd 4:0:0:0: Attached scsi generic sg2 type 0[ 5.462309] sd 4:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)[ 5.462559] sd 4:0:0:0: [sdb] Write Protect is off[ 5.462563] sd 4:0:0:0: [sdb] Mode Sense: 03 00 00 00[ 5.462807] sd 4:0:0:0: [sdb] No Caching mode page found[ 5.462811] sd 4:0:0:0: [sdb] Assuming drive cache: write through[ 5.463965] sdb: sdb1 sdb2[ 5.464769] sd 4:0:0:0: [sdb] Attached SCSI disk[ 6.235407] systemd-logind[958]: Failed to start unit user@104.service: Unknown unit: user@104.service[ 6.235412] systemd-logind[958]: Failed to start user service: Unknown unit: user@104.service[ 6.238271] systemd-logind[958]: New session c1 of user lightdm.[ 6.238284] systemd-logind[958]: Linked /tmp/.X11-unix/X0 to /run/user/104/X11-display.[ 11.846754] ACPI Warning: \\_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)[ 11.846862] ACPI: \\_SB_.PCI0.PEG0.PEGP: failed to evaluate _DSM[ 11.846866] ACPI Warning: \\_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)[ 30.498305] systemd-logind[958]: Failed to start unit user@1000.service: Unknown unit: user@1000.service[ 30.498309] systemd-logind[958]: Failed to start user service: Unknown unit: user@1000.service[ 30.501028] systemd-logind[958]: New session c2 of user srd.[ 30.501039] systemd-logind[958]: Linked /tmp/.X11-unix/X0 to /run/user/1000/X11-display.[ 33.072841] audit_printk_skb: 57 callbacks suppressed[ 33.072843] audit: type=1400 audit(1429831003.015:30): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/cups/backend/cups-pdf" pid=2735 comm="apparmor_parser"[ 33.072848] audit: type=1400 audit(1429831003.015:31): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=2735 comm="apparmor_parser"[ 33.090009] audit: type=1400 audit(1429831003.035:32): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="third_party" pid=2735 comm="apparmor_parser"[ 241.117018] wlan0: deauthenticating from c0:25:5c:23:d5:60 by local choice (Reason: 3=DEAUTH_LEAVING)[ 241.137550] cfg80211: Calling CRDA to update world regulatory domain[ 241.155916] cfg80211: World regulatory domain updated:[ 241.155919] cfg80211: DFS Master region: unset[ 241.155920] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)[ 241.155922] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)[ 241.155924] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)[ 241.155925] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm), (N/A)[ 241.155926] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)[ 241.155928] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)[ 270.709215] alx 0000:08:00.0 p3p1: Link Down[ 273.483091] alx 0000:08:00.0 p3p1: NIC Up: 100 Mbps Full[ 328.630074] alx 0000:08:00.0 p3p1: Link Down[ 340.449809] alx 0000:08:00.0 p3p1: NIC Up: 100 Mbps Full
srd@ubuntu:~$ sudo dmesg | tail -n 50[ 4.550452] vga_switcheroo: enabled[ 4.550633] [TTM] Zone kernel: Available graphics memory: 8074722 kiB[ 4.550634] [TTM] Zone dma32: Available graphics memory: 2097152 kiB[ 4.550635] [TTM] Initializing pool allocator[ 4.550649] [TTM] Initializing DMA pool allocator[ 4.550657] nouveau [ DRM] VRAM: 2048 MiB[ 4.550657] nouveau [ DRM] GART: 1048576 MiB[ 4.550660] nouveau W[ DRM] Pointer to TMDS table invalid[ 4.550661] nouveau [ DRM] DCB version 4.0[ 4.550662] nouveau W[ DRM] Pointer to flat panel table invalid[ 4.556674] nouveau [ DRM] MM: using COPY for buffer copies[ 4.556679] [drm] Initialized nouveau 1.1.2 20120801 for 0000:01:00.0 on minor 1[ 5.461905] scsi 4:0:0:0: Direct-Access ST1000LM 014-1EJ164 PQ: 0 ANSI: 0[ 5.462169] sd 4:0:0:0: Attached scsi generic sg2 type 0[ 5.462309] sd 4:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)[ 5.462559] sd 4:0:0:0: [sdb] Write Protect is off[ 5.462563] sd 4:0:0:0: [sdb] Mode Sense: 03 00 00 00[ 5.462807] sd 4:0:0:0: [sdb] No Caching mode page found[ 5.462811] sd 4:0:0:0: [sdb] Assuming drive cache: write through[ 5.463965] sdb: sdb1 sdb2[ 5.464769] sd 4:0:0:0: [sdb] Attached SCSI disk[ 6.235407] systemd-logind[958]: Failed to start unit user@104.service: Unknown unit: user@104.service[ 6.235412] systemd-logind[958]: Failed to start user service: Unknown unit: user@104.service[ 6.238271] systemd-logind[958]: New session c1 of user lightdm.[ 6.238284] systemd-logind[958]: Linked /tmp/.X11-unix/X0 to /run/user/104/X11-display.[ 11.846754] ACPI Warning: \\_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)[ 11.846862] ACPI: \\_SB_.PCI0.PEG0.PEGP: failed to evaluate _DSM[ 11.846866] ACPI Warning: \\_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)[ 30.498305] systemd-logind[958]: Failed to start unit user@1000.service: Unknown unit: user@1000.service[ 30.498309] systemd-logind[958]: Failed to start user service: Unknown unit: user@1000.service[ 30.501028] systemd-logind[958]: New session c2 of user srd.[ 30.501039] systemd-logind[958]: Linked /tmp/.X11-unix/X0 to /run/user/1000/X11-display.[ 33.072841] audit_printk_skb: 57 callbacks suppressed[ 33.072843] audit: type=1400 audit(1429831003.015:30): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/cups/backend/cups-pdf" pid=2735 comm="apparmor_parser"[ 33.072848] audit: type=1400 audit(1429831003.015:31): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=2735 comm="apparmor_parser"[ 33.090009] audit: type=1400 audit(1429831003.035:32): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="third_party" pid=2735 comm="apparmor_parser"[ 241.117018] wlan0: deauthenticating from c0:25:5c:23:d5:60 by local choice (Reason: 3=DEAUTH_LEAVING)[ 241.137550] cfg80211: Calling CRDA to update world regulatory domain[ 241.155916] cfg80211: World regulatory domain updated:[ 241.155919] cfg80211: DFS Master region: unset[ 241.155920] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)[ 241.155922] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)[ 241.155924] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)[ 241.155925] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm), (N/A)[ 241.155926] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)[ 241.155928] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)[ 270.709215] alx 0000:08:00.0 p3p1: Link Down[ 273.483091] alx 0000:08:00.0 p3p1: NIC Up: 100 Mbps Full[ 328.630074] alx 0000:08:00.0 p3p1: Link Down[ 340.449809] alx 0000:08:00.0 p3p1: NIC Up: 100 Mbps Fullsrd@ubuntu:~$ sudo dmesg | tail -n 50[ 4.550452] vga_switcheroo: enabled[ 4.550633] [TTM] Zone kernel: Available graphics memory: 8074722 kiB[ 4.550634] [TTM] Zone dma32: Available graphics memory: 2097152 kiB[ 4.550635] [TTM] Initializing pool allocator[ 4.550649] [TTM] Initializing DMA pool allocator[ 4.550657] nouveau [ DRM] VRAM: 2048 MiB[ 4.550657] nouveau [ DRM] GART: 1048576 MiB[ 4.550660] nouveau W[ DRM] Pointer to TMDS table invalid[ 4.550661] nouveau [ DRM] DCB version 4.0[ 4.550662] nouveau W[ DRM] Pointer to flat panel table invalid[ 4.556674] nouveau [ DRM] MM: using COPY for buffer copies[ 4.556679] [drm] Initialized nouveau 1.1.2 20120801 for 0000:01:00.0 on minor 1[ 5.461905] scsi 4:0:0:0: Direct-Access ST1000LM 014-1EJ164 PQ: 0 ANSI: 0[ 5.462169] sd 4:0:0:0: Attached scsi generic sg2 type 0[ 5.462309] sd 4:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)[ 5.462559] sd 4:0:0:0: [sdb] Write Protect is off[ 5.462563] sd 4:0:0:0: [sdb] Mode Sense: 03 00 00 00[ 5.462807] sd 4:0:0:0: [sdb] No Caching mode page found[ 5.462811] sd 4:0:0:0: [sdb] Assuming drive cache: write through[ 5.463965] sdb: sdb1 sdb2[ 5.464769] sd 4:0:0:0: [sdb] Attached SCSI disk[ 6.235407] systemd-logind[958]: Failed to start unit user@104.service: Unknown unit: user@104.service[ 6.235412] systemd-logind[958]: Failed to start user service: Unknown unit: user@104.service[ 6.238271] systemd-logind[958]: New session c1 of user lightdm.[ 6.238284] systemd-logind[958]: Linked /tmp/.X11-unix/X0 to /run/user/104/X11-display.[ 11.846754] ACPI Warning: \\_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)[ 11.846862] ACPI: \\_SB_.PCI0.PEG0.PEGP: failed to evaluate _DSM[ 11.846866] ACPI Warning: \\_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)[ 30.498305] systemd-logind[958]: Failed to start unit user@1000.service: Unknown unit: user@1000.service[ 30.498309] systemd-logind[958]: Failed to start user service: Unknown unit: user@1000.service[ 30.501028] systemd-logind[958]: New session c2 of user srd.[ 30.501039] systemd-logind[958]: Linked /tmp/.X11-unix/X0 to /run/user/1000/X11-display.[ 33.072841] audit_printk_skb: 57 callbacks suppressed[ 33.072843] audit: type=1400 audit(1429831003.015:30): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/cups/backend/cups-pdf" pid=2735 comm="apparmor_parser"[ 33.072848] audit: type=1400 audit(1429831003.015:31): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=2735 comm="apparmor_parser"[ 33.090009] audit: type=1400 audit(1429831003.035:32): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="third_party" pid=2735 comm="apparmor_parser"[ 241.117018] wlan0: deauthenticating from c0:25:5c:23:d5:60 by local choice (Reason: 3=DEAUTH_LEAVING)[ 241.137550] cfg80211: Calling CRDA to update world regulatory domain[ 241.155916] cfg80211: World regulatory domain updated:[ 241.155919] cfg80211: DFS Master region: unset[ 241.155920] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)[ 241.155922] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)[ 241.155924] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)[ 241.155925] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm), (N/A)[ 241.155926] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)[ 241.155928] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)[ 270.709215] alx 0000:08:00.0 p3p1: Link Down[ 273.483091] alx 0000:08:00.0 p3p1: NIC Up: 100 Mbps Full[ 328.630074] alx 0000:08:00.0 p3p1: Link Down[ 340.449809] alx 0000:08:00.0 p3p1: NIC Up: 100 Mbps Full
Facepalm... Problemem jest włączanie i wyłączanie wifi, więc logicznym jest, że chodziło mi o logi po włączeniu i po wyłączeniu wifi, nawet jeżeli mają one docelowo dotyczyć miedzi.
cd /etc/udev/rules.dcp 70-persistent-net.rules 70-persistent-net.rules.baknano 70-persistent-net.rules
Name="p3p1"
Name="eth0"
auto eth0 allow-hotplug eth0 iface eth0 inet dhcp
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="TWOJ ADRES SPRZETU ", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
auto lo eth0iface lo inet loopback
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="28:D2:44:2A:7D:5C", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="68:17:29:ee:01:ec", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:505 errors:0 dropped:0 overruns:0 frame:0 TX packets:505 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:52168 (52.1 KB) TX bytes:52168 (52.1 KB)p3p1 Link encap:Ethernet HWaddr 28:d2:44:2a:7d:5c inet6 addr: fe80::2ad2:44ff:fe2a:7d5c/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2517 errors:0 dropped:11 overruns:0 frame:0 TX packets:69 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:152028 (152.0 KB) TX bytes:15115 (15.1 KB) Interrupt:19 wlan0 Link encap:Ethernet HWaddr 68:17:29:ee:01:ec inet addr:192.168.101.107 Bcast:192.168.101.255 Mask:255.255.254.0 inet6 addr: fe80::6a17:29ff:feee:1ec/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:928 errors:0 dropped:0 overruns:0 frame:0 TX packets:608 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:558232 (558.2 KB) TX bytes:103346 (103.3 KB)
auto lo eth0#auto eth0#allow-hotplug eth0#iface eth0 inet dhcp#iface p3p1 inet dhcpiface lo inet loopback
/etc/default/grub
biosdevname=0
sudo update-grub
eth0 Link encap:Ethernet HWaddr 28:d2:44:2a:7d:5c inet6 addr: fe80::2ad2:44ff:fe2a:7d5c/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:652 errors:0 dropped:0 overruns:0 frame:0 TX packets:33 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:49612 (49.6 KB) TX bytes:6023 (6.0 KB) Interrupt:19 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:391 errors:0 dropped:0 overruns:0 frame:0 TX packets:391 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:35434 (35.4 KB) TX bytes:35434 (35.4 KB)