Kod: Zaznacz cały
auto eth0
iface eth0 inet dhcp
iface eth5 inet dhcp
auto eth5
iface eth6 inet dhcp
auto eth6
Kod: Zaznacz cały
auto eth0
iface eth0 inet dhcp
iface eth5 inet dhcp
auto eth5
iface eth6 inet dhcp
auto eth6
Kod: Zaznacz cały
ifconfig -a
Kod: Zaznacz cały
eth6 Link encap:Ethernet HWaddr 00:00:6C:11:C8:6A
inet addr:192.168.0.141 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::200:6cff:fe11:c86a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7710 errors:0 dropped:0 overruns:0 frame:0
TX packets:6837 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8277009 (7.8 MiB) TX bytes:1089294 (1.0 MiB)
Interrupt:177 Base address:0xc000
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:16436 Metric:1
RX packets:20 errors:0 dropped:0 overruns:0 frame:0
TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1160 (1.1 KiB) TX bytes:1160 (1.1 KiB)
sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Kod: Zaznacz cały
ethtool eth0
ethtool eth6
Kod: Zaznacz cały
aptitude install ethtool
Kod: Zaznacz cały
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet dhcp
iface eth5 inet dhcp
auto eth5
iface eth6 inet dhcp
auto eth6
Kod: Zaznacz cały
Settings for eth0:
Cannot get device settings: No such device
Cannot get wake-on-lan settings: No such device
Cannot get message level: No such device
Cannot get link status: No such device
No data available
debian:/home/maciekr# ethtool eth6
Settings for eth6:
Supported ports: [ MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: MII
PHYAD: 1
Transceiver: external
Auto-negotiation: on
Supports Wake-on: g
Wake-on: d
Link detected: yes
Kod: Zaznacz cały
auto lo
iface lo inet loopback
auto eth6
iface eth6 inet dhcp
Kod: Zaznacz cały
/etc/init.d/networking restart