Kada fizicki povezes to kako treba (imas u onoj knjizici sto si dobio uz ruter kako vezujes kablove) - to se nadam da si odradio kako treba..
Onda digni konzolu, loguj se kao root pa cukaj:
# netconfig
hostname: localhost <ENTER>
domain: localhost.net <ENTER>
static IP <ENTER>
IP: 192.168.1.3 <ENTER>
netask: 255.255.255.0 <ENTER>
gateway: ostaviti_prazno <ENTER>
accessing nameserver: NO <ENTER>
Restaruj masinu.. i treba da sljaka net..
Kao root, treba da imas otprilike ovakav izlaz sledecih komandi:
Citat:
# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
localnet * 255.255.255.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default 192.168.1.1 0.0.0.0 UG 1 0 0 eth0
Citat:
# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0D:88:1C:B9:29
inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::20d:88ff:fe1c:b929/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:138330 errors:0 dropped:0 overruns:0 frame:0
TX packets:105273 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:133674920 (127.4 MiB) TX bytes:14509108 (13.8 MiB)
Interrupt:11 Base address:0xe800
Citat:
# ping -c 5
www.google.com
PING
www.l.google.com (209.85.129.99) 56(84) bytes of data.
64 bytes from fk-in-f99.google.com (209.85.129.99): icmp_seq=1 ttl=240 time=56.7 ms
64 bytes from fk-in-f99.google.com (209.85.129.99): icmp_seq=2 ttl=240 time=57.2 ms
64 bytes from fk-in-f99.google.com (209.85.129.99): icmp_seq=3 ttl=240 time=59.1 ms
64 bytes from fk-in-f99.google.com (209.85.129.99): icmp_seq=4 ttl=240 time=59.1 ms
64 bytes from fk-in-f99.google.com (209.85.129.99): icmp_seq=5 ttl=240 time=58.8 ms
Pozz
All we have to decide is what to do with the time that is given to us. J.R.R.