Jaké jsou výstupy:
1. ping ip_tve_gateway
2. ping www.seznam.cz
3. ifconfig
4. routePopř. sem dej výpis nastavení ze souboru:
cat /etc/network/interfaces
tak jsem to zkopiroval:
ping: unknown host
www.seznam.czifconfig:
eth0 Link encap:Ethernet HWaddr 00:11:09:83:5A:BC
inet addr:192.168.12.29 Bcast:192.168.12.255 Mask:255.255.255.0
inet6 addr: fe80::211:9ff:fe83:5abc/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:597 errors:0 dropped:0 overruns:0 frame:0
TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:36289 (35.4 KiB) TX bytes:3643 (3.5 KiB)
Interrupt:17 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:162 errors:0 dropped:0 overruns:0 frame:0
TX packets:162 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:12560 (12.2 KiB) TX bytes:12560 (12.2 KiB)
route:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.12.0 * 255.255.255.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 1000 0 0 eth0
default 192.168.12.1 0.0.0.0 UG 0 0 0 eth0
cat /etc/network/interfaces
auto lo
iface lo inet loopback
iface eth0 inet static
address 192.168.014.035
netmask 255.255.255.000
gateway 192.168.014.001
auto eth1
iface eth1 inet dhcp
auto eth2
iface eth2 inet dhcp
auto ath0
iface ath0 inet dhcp
auto wlan0
iface wlan0 inet dhcp
auto eth0