Код: Выделить всё
root@SERVER:~# cat /etc/network/interfaces
# 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 eth1
iface eth1 inet dhcp
auto ra0
iface ra0 inet dhcp
wpa-ssid "Cartoon network"
wpa-psk *****************
#auto br0
#iface br0 inet dhcp
#bridge_ports eth1 ra0Код: Выделить всё
root@SERVER:~# ifconfig
eth1 Link encap:Ethernet HWaddr 00:1d:7d:5c:e3:db
inet6 addr: fe80::21d:7dff:fe5c:e3db/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:190 errors:0 dropped:0 overruns:0 frame:0
TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:28751 (28.0 KiB) TX bytes:14328 (13.9 KiB)
Interrupt:40 Base address:0x6000
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: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)
ra0 Link encap:Ethernet HWaddr 30:85:a9:38:b9:e7
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::3285:a9ff:fe38:b9e7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:52626 errors:0 dropped:0 overruns:0 frame:0
TX packets:396 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:13688501 (13.0 MiB) TX bytes:19930 (19.4 KiB)
Interrupt:16