Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Strony: 1
Mam problem z dodaniem do systemu i uruchomieniem jednej z dwóch zintegrowanych kart sieciowej na płycie Intel Atom D2500CC.
[b]# lspci[/b]
00:00.0 Host bridge: Intel Corporation Atom Processor D2xxx/N2xxx DRAM Controller (rev 04) 00:02.0 VGA compatible controller: Intel Corporation Atom Processor D2xxx/N2xxx Integrated Graphics Controller (rev 0b) 00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller (rev 02) 00:1c.0 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 1 (rev 02) 00:1c.1 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 2 (rev 02) 00:1d.0 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #1 (rev 02) 00:1d.1 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #2 (rev 02) 00:1d.2 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #3 (rev 02) 00:1d.3 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #4 (rev 02) 00:1d.7 USB controller: Intel Corporation NM10/ICH7 Family USB2 EHCI Controller (rev 02) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2) 00:1f.0 ISA bridge: Intel Corporation NM10 Family LPC Controller (rev 02) 00:1f.2 SATA controller: Intel Corporation NM10/ICH7 Family SATA Controller [AHCI mode] (rev 02) 00:1f.3 SMBus: Intel Corporation NM10/ICH7 Family SMBus Controller (rev 02) 01:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection 02:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
[b]# lspci -v[/b]
00:00.0 Host bridge: Intel Corporation Atom Processor D2xxx/N2xxx DRAM Controller (rev 04) Subsystem: Intel Corporation Atom Processor D2xxx/N2xxx DRAM Controller Flags: bus master, fast devsel, latency 0 00:02.0 VGA compatible controller: Intel Corporation Atom Processor D2xxx/N2xxx Integrated Graphics Controller (rev 0b) (prog-if 00 [VGA controller]) Subsystem: Intel Corporation Atom Processor D2xxx/N2xxx Integrated Graphics Controller Flags: bus master, fast devsel, latency 0, IRQ 31 Memory at d0300000 (32-bit, non-prefetchable) [size=1M] I/O ports at 30d0 [size=8] [virtual] Expansion ROM at 000c0000 [disabled] [size=128K] Capabilities: [d0] Power Management version 2 Capabilities: [b0] Vendor Specific Information: Len=07 <?> Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit- Kernel driver in use: gma500 Kernel modules: gma500_gfx 00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller (rev 02) Subsystem: Intel Corporation NM10/ICH7 Family High Definition Audio Controller Flags: bus master, fast devsel, latency 0, IRQ 30 Memory at d0500000 (64-bit, non-prefetchable) [size=16K] Capabilities: [50] Power Management version 2 Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+ Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00 Capabilities: [100] Virtual Channel Capabilities: [130] Root Complex Link Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel 00:1c.0 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 1 (rev 02) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0, IRQ 24 Bus: primary=00, secondary=02, subordinate=02, sec-latency=0 I/O behind bridge: 00002000-00002fff Memory behind bridge: d0200000-d02fffff Prefetchable memory behind bridge: 00000000d0600000-00000000d07fffff Capabilities: [40] Express Root Port (Slot+), MSI 00 Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit- Capabilities: [90] Subsystem: Intel Corporation NM10/ICH7 Family PCI Express Port 1 Capabilities: [a0] Power Management version 2 Capabilities: [100] Virtual Channel Capabilities: [180] Root Complex Link Kernel driver in use: pcieport Kernel modules: shpchp 00:1c.1 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 2 (rev 02) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0, IRQ 25 Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 I/O behind bridge: 00001000-00001fff Memory behind bridge: d0000000-d01fffff Prefetchable memory behind bridge: 00000000d0800000-00000000d09fffff Capabilities: [40] Express Root Port (Slot+), MSI 00 Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit- Capabilities: [90] Subsystem: Intel Corporation NM10/ICH7 Family PCI Express Port 2 Capabilities: [a0] Power Management version 2 Capabilities: [100] Virtual Channel Capabilities: [180] Root Complex Link Kernel driver in use: pcieport Kernel modules: shpchp 00:1d.0 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #1 (rev 02) (prog-if 00 [UHCI]) Subsystem: Intel Corporation NM10/ICH7 Family USB UHCI Controller Flags: bus master, medium devsel, latency 0, IRQ 23 I/O ports at 30a0 [size=32] Kernel driver in use: uhci_hcd Kernel modules: uhci_hcd 00:1d.1 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #2 (rev 02) (prog-if 00 [UHCI]) Subsystem: Intel Corporation NM10/ICH7 Family USB UHCI Controller Flags: bus master, medium devsel, latency 0, IRQ 19 I/O ports at 3080 [size=32] Kernel driver in use: uhci_hcd Kernel modules: uhci_hcd 00:1d.2 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #3 (rev 02) (prog-if 00 [UHCI]) Subsystem: Intel Corporation NM10/ICH7 Family USB UHCI Controller Flags: bus master, medium devsel, latency 0, IRQ 18 I/O ports at 3060 [size=32] Kernel driver in use: uhci_hcd Kernel modules: uhci_hcd 00:1d.3 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #4 (rev 02) (prog-if 00 [UHCI]) Subsystem: Intel Corporation NM10/ICH7 Family USB UHCI Controller Flags: bus master, medium devsel, latency 0, IRQ 16 I/O ports at 3040 [size=32] Kernel driver in use: uhci_hcd Kernel modules: uhci_hcd 00:1d.7 USB controller: Intel Corporation NM10/ICH7 Family USB2 EHCI Controller (rev 02) (prog-if 20 [EHCI]) Subsystem: Intel Corporation NM10/ICH7 Family USB2 EHCI Controller Flags: bus master, medium devsel, latency 0, IRQ 23 Memory at d0404400 (32-bit, non-prefetchable) [size=1K] Capabilities: [50] Power Management version 2 Capabilities: [58] Debug port: BAR=1 offset=00a0 Kernel driver in use: ehci-pci Kernel modules: ehci_pci 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2) (prog-if 01 [Subtractive decode]) Flags: fast devsel Bus: primary=00, secondary=03, subordinate=03, sec-latency=32 Capabilities: [50] Subsystem: Intel Corporation 82801 Mobile PCI Bridge 00:1f.0 ISA bridge: Intel Corporation NM10 Family LPC Controller (rev 02) Subsystem: Intel Corporation NM10 Family LPC Controller Flags: bus master, medium devsel, latency 0 Capabilities: [e0] Vendor Specific Information: Len=0c <?> Kernel driver in use: lpc_ich Kernel modules: lpc_ich 00:1f.2 SATA controller: Intel Corporation NM10/ICH7 Family SATA Controller [AHCI mode] (rev 02) (prog-if 01 [AHCI 1.0]) Subsystem: Intel Corporation NM10/ICH7 Family SATA Controller [AHCI mode] Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 29 I/O ports at 30c8 [size=8] I/O ports at 30dc [size=4] I/O ports at 30c0 [size=8] I/O ports at 30d8 [size=4] I/O ports at 3020 [size=16] Memory at d0404000 (32-bit, non-prefetchable) [size=1K] Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit- Capabilities: [70] Power Management version 2 Kernel driver in use: ahci Kernel modules: ahci 00:1f.3 SMBus: Intel Corporation NM10/ICH7 Family SMBus Controller (rev 02) Subsystem: Intel Corporation NM10/ICH7 Family SMBus Controller Flags: medium devsel, IRQ 19 I/O ports at 3000 [size=32] Kernel driver in use: i801_smbus Kernel modules: i2c_i801 01:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection Subsystem: Intel Corporation 82574L Gigabit Network Connection Flags: fast devsel, IRQ 17 Memory at d0100000 (32-bit, non-prefetchable) [size=128K] Memory at d0000000 (32-bit, non-prefetchable) [size=1M] I/O ports at 1000 [size=32] Memory at d0120000 (32-bit, non-prefetchable) [size=16K] Capabilities: [c8] Power Management version 2 Capabilities: [d0] MSI: Enable- Count=1/1 Maskable- 64bit+ Capabilities: [e0] Express Endpoint, MSI 00 Capabilities: [a0] MSI-X: Enable- Count=1 Masked- Capabilities: [100] Advanced Error Reporting Kernel modules: e1000e 02:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection Subsystem: Intel Corporation 82574L Gigabit Network Connection Flags: bus master, fast devsel, latency 0, IRQ 16 Memory at d0220000 (32-bit, non-prefetchable) [size=128K] Memory at d0200000 (32-bit, non-prefetchable) [size=128K] I/O ports at 2000 [size=32] Memory at d0240000 (32-bit, non-prefetchable) [size=16K] Capabilities: [c8] Power Management version 2 Capabilities: [d0] MSI: Enable- Count=1/1 Maskable- 64bit+ Capabilities: [e0] Express Endpoint, MSI 00 Capabilities: [a0] MSI-X: Enable+ Count=5 Masked- Capabilities: [100] Advanced Error Reporting Capabilities: [140] Device Serial Number 00-22-4d-ff-ff-a5-99-bb Kernel driver in use: e1000e Kernel modules: e1000e
[b]# cat /etc/network/interfaces[/b]
# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). source /etc/network/interfaces.d/* # The loopback network interface auto lo iface lo inet loopback # The primary network interface allow-hotplug enp2s0 iface enp2s0 inet static address 192.168.0.3 netmask 255.255.252.0 gateway 192.168.0.1
[b]# ifconfig -a[/b]
enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.0.3 netmask 255.255.252.0 broadcast 192.168.3.255 inet6 fe80::222:4dff:fea5:99bb prefixlen 64 scopeid 0x20<link> ether 00:22:4d:a5:99:bb txqueuelen 1000 (Ethernet) RX packets 2422 bytes 404806 (395.3 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 2386 bytes 294404 (287.5 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 16 memory 0xd0220000-d0240000 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1 (Local Loopback) RX packets 160 bytes 12960 (12.6 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 160 bytes 12960 (12.6 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 tun0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1500 inet 10.8.0.1 netmask 255.255.255.0 destination 10.8.0.1 inet6 fe80::a973:1a04:2b5d:987b prefixlen 64 scopeid 0x20<link> unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 100 (UNSPEC) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 8 bytes 384 (384.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
[b]# uname -a[/b]
Linux SERWER 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u5 (2017-09-19) x86_64 GNU/Linux
[b]# ip addr show[/b]
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether 00:22:4d:a5:99:bb brd ff:ff:ff:ff:ff:ff inet 192.168.0.3/22 brd 192.168.3.255 scope global enp2s0 valid_lft forever preferred_lft forever inet6 fe80::222:4dff:fea5:99bb/64 scope link valid_lft forever preferred_lft forever 3: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 100 link/none inet 10.8.0.1/24 brd 10.8.0.255 scope global tun0 valid_lft forever preferred_lft forever inet6 fe80::a973:1a04:2b5d:987b/64 scope link flags 800 valid_lft forever preferred_lft forever
####################################################
Po dodaniu do wpisów do pliku [b]/etc/network/interfaces[/b]
allow-hotplug enp1s0 iface enp1s0 inet static address 192.168.10.3 netmask 255.255.255.0 gateway 192.168.10.1
[b]# ifup enp1s0[/b]
Cannot find device "enp1s0" ifup: failed to bring up enp1s0
[b]# systemctl status networking.service[/b]
● networking.service - Raise network interfaces Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled) Active: active (exited) since Sat 2017-09-23 18:21:57 CEST; 3min 43s ago Docs: man:interfaces(5) Process: 240 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=0/SUCCESS) Process: 226 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environment --list --exclude=lo)" ] && udevadm settle (code=exited, status=1/FAILURE) Main PID: 240 (code=exited, status=0/SUCCESS) Tasks: 0 (limit: 4915) CGroup: /system.slice/networking.service wrz 23 18:21:55 SERWER systemd[1]: Starting Raise network interfaces... wrz 23 18:21:57 SERWER systemd[1]: Started Raise network interfaces.
enp2s0 zostało skonfigurowane i uruchomione podczas instalacji systemu.
Do jednej karty sieciowej (enp2s0) jest podłączony kabel z routera który dostarcza internet.
Do drugiej karty sieciowej jest podłączony kabel z innego routera, bez dostępu do internetu.
Wyszukałem jeszcze coś takiego:
[b]# dmesg | grep 02:00.0[/b]
[ 0.357431] pci 0000:02:00.0: [8086:10d3] type 00 class 0x020000 [ 0.357470] pci 0000:02:00.0: reg 0x10: [mem 0xd0220000-0xd023ffff] [ 0.357491] pci 0000:02:00.0: reg 0x14: [mem 0xd0200000-0xd021ffff] [ 0.357512] pci 0000:02:00.0: reg 0x18: [io 0x2000-0x201f] [ 0.357534] pci 0000:02:00.0: reg 0x1c: [mem 0xd0240000-0xd0243fff] [ 0.357712] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold [ 0.357799] pci 0000:02:00.0: System wakeup disabled by ACPI [ 1.490139] e1000e 0000:02:00.0: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode [ 1.552633] e1000e 0000:02:00.0 0000:02:00.0 (uninitialized): registered PHC clock [ 1.613549] e1000e 0000:02:00.0 eth0: (PCI Express:2.5GT/s:Width x1) 00:22:4d:a5:99:bb [ 1.613554] e1000e 0000:02:00.0 eth0: Intel(R) PRO/1000 Network Connection [ 1.613570] e1000e 0000:02:00.0 eth0: MAC: 3, PHY: 8, PBA No: FFFFFF-0FF [ 1.698116] e1000e 0000:02:00.0 enp2s0: renamed from eth0
[b]# dmesg | grep 01:00.0[/b]
[ 0.367024] pci 0000:01:00.0: [8086:10d3] type 00 class 0x020000 [ 0.367059] pci 0000:01:00.0: reg 0x10: [mem 0xd0100000-0xd011ffff] [ 0.367081] pci 0000:01:00.0: reg 0x14: [mem 0xd0000000-0xd00fffff] [ 0.367101] pci 0000:01:00.0: reg 0x18: [io 0x1000-0x101f] [ 0.367122] pci 0000:01:00.0: reg 0x1c: [mem 0xd0120000-0xd0123fff] [ 0.367294] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold [ 0.367373] pci 0000:01:00.0: System wakeup disabled by ACPI [ 1.613889] e1000e 0000:01:00.0: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode [ 1.613899] e1000e 0000:01:00.0 0000:01:00.0 (uninitialized): Failed to initialize MSI-X interrupts. Falling back to MSI interrupts. [ 1.672407] e1000e 0000:01:00.0: The NVM Checksum Is Not Valid [ 1.695385] e1000e: probe of 0000:01:00.0 failed with error -5
Ostatnio edytowany przez TeHaX (2017-09-23 19:49:23)
Offline
Strony: 1
Time (s) | Query |
---|---|
0.00007 | SET CHARSET latin2 |
0.00006 | SET NAMES latin2 |
0.00086 | SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='18.188.110.150' WHERE u.id=1 |
0.00064 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '18.188.110.150', 1732702093) |
0.00051 | SELECT * FROM punbb_online WHERE logged<1732701793 |
0.00088 | SELECT topic_id FROM punbb_posts WHERE id=314402 |
0.00075 | SELECT id FROM punbb_posts WHERE topic_id=29926 ORDER BY posted |
0.00085 | SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=29926 AND t.moved_to IS NULL |
0.00008 | SELECT search_for, replace_with FROM punbb_censoring |
0.00930 | SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=29926 ORDER BY p.id LIMIT 0,25 |
0.00076 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=29926 |
Total query time: 0.01476 s |