/l3/users/2014-11-nt-voip/nt-voip/debian6/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 |
|
## hallo
|
#ifconfig
eth0 Link encap:Ethernet HWaddr e0:69:95:2e:da:af inet addr:192.168.12.6 Bcast:192.168.12.255 Mask:255.255.255.0 inet6 addr: fe80::e269:95ff:fe2e:daaf/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:17549 errors:0 dropped:4 overruns:0 frame:0 TX packets:7924 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:11801311 (11.2 MiB) TX bytes:877688 (857.1 KiB) Interrupt:20 Memory:fe600000-fe620000 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:134 errors:0 dropped:0 overruns:0 frame:0 TX packets:134 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:8088 (7.8 KiB) TX bytes:8088 (7.8 KiB) |
#alias exit='echo no exit'
|
#ifconfig
eth0 Link encap:Ethernet HWaddr e0:69:95:2e:da:af inet addr:192.168.12.6 Bcast:192.168.12.255 Mask:255.255.255.0 inet6 addr: fe80::e269:95ff:fe2e:daaf/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:17759 errors:0 dropped:4 overruns:0 frame:0 TX packets:8096 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:11852834 (11.3 MiB) TX bytes:907173 (885.9 KiB) Interrupt:20 Memory:fe600000-fe620000 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:134 errors:0 dropped:0 overruns:0 frame:0 TX packets:134 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:8088 (7.8 KiB) TX bytes:8088 (7.8 KiB) |
#cat /etc/network/interfaces
auto lo iface lo inet loopback # The primary network interface allow-hotplug eth0 iface eth0 inet static address 192.168.12.6 netmask 255.255.255.0 gateway 192.168.12.254 |
#ping 192.168.12..253
![]() ping: unknown host 192.168.12..253 |
#ping 192.168.12.253
PING 192.168.12.253 (192.168.12.253) 56(84) bytes of data. 64 bytes from 192.168.12.253: icmp_req=1 ttl=64 time=1.40 ms 64 bytes from 192.168.12.253: icmp_req=2 ttl=64 time=1.69 ms ^C --- 192.168.12.253 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1001ms rtt min/avg/max/mdev = 1.407/1.553/1.699/0.146 ms |
#clear
|
#ping 192.168.12.254
![]() PING 192.168.12.254 (192.168.12.254) 56(84) bytes of data. 64 bytes from 192.168.12.254: icmp_req=1 ttl=64 time=0.271 ms 64 bytes from 192.168.12.254: icmp_req=2 ttl=64 time=0.271 ms 64 bytes from 192.168.12.254: icmp_req=3 ttl=64 time=0.403 ms 64 bytes from 192.168.12.254: icmp_req=4 ttl=64 time=0.343 ms 64 bytes from 192.168.12.254: icmp_req=5 ttl=64 time=0.372 ms 64 bytes from 192.168.12.254: icmp_req=6 ttl=64 time=0.344 ms 64 bytes from 192.168.12.254: icmp_req=7 ttl=64 time=0.196 ms 64 bytes from 192.168.12.254: icmp_req=8 ttl=64 time=0.326 ms 64 bytes from 192.168.12.254: icmp_req=9 ttl=64 time=0.362 ms ... 64 bytes from 192.168.12.254: icmp_req=21 ttl=64 time=0.419 ms 64 bytes from 192.168.12.254: icmp_req=22 ttl=64 time=0.250 ms 64 bytes from 192.168.12.254: icmp_req=23 ttl=64 time=0.390 ms 64 bytes from 192.168.12.254: icmp_req=24 ttl=64 time=0.217 ms 64 bytes from 192.168.12.254: icmp_req=25 ttl=64 time=0.281 ms 64 bytes from 192.168.12.254: icmp_req=26 ttl=64 time=0.215 ms ^C --- 192.168.12.254 ping statistics --- 26 packets transmitted, 26 received, 0% packet loss, time 24997ms rtt min/avg/max/mdev = 0.140/0.284/0.419/0.079 ms |
#ping 192.168.12.254
PING 192.168.12.254 (192.168.12.254) 56(84) bytes of data. 64 bytes from 192.168.12.254: icmp_req=1 ttl=64 time=0.271 ms 64 bytes from 192.168.12.254: icmp_req=2 ttl=64 time=0.271 ms 64 bytes from 192.168.12.254: icmp_req=3 ttl=64 time=0.403 ms 64 bytes from 192.168.12.254: icmp_req=4 ttl=64 time=0.343 ms 64 bytes from 192.168.12.254: icmp_req=5 ttl=64 time=0.372 ms 64 bytes from 192.168.12.254: icmp_req=6 ttl=64 time=0.344 ms 64 bytes from 192.168.12.254: icmp_req=7 ttl=64 time=0.196 ms 64 bytes from 192.168.12.254: icmp_req=8 ttl=64 time=0.326 ms 64 bytes from 192.168.12.254: icmp_req=9 ttl=64 time=0.362 ms ... 64 bytes from 192.168.12.254: icmp_req=21 ttl=64 time=0.419 ms 64 bytes from 192.168.12.254: icmp_req=22 ttl=64 time=0.250 ms 64 bytes from 192.168.12.254: icmp_req=23 ttl=64 time=0.390 ms 64 bytes from 192.168.12.254: icmp_req=24 ttl=64 time=0.217 ms 64 bytes from 192.168.12.254: icmp_req=25 ttl=64 time=0.281 ms 64 bytes from 192.168.12.254: icmp_req=26 ttl=64 time=0.215 ms ^C --- 192.168.12.254 ping statistics --- 26 packets transmitted, 26 received, 0% packet loss, time 24997ms rtt min/avg/max/mdev = 0.140/0.284/0.419/0.079 ms |
#ping 192.168.12.253
![]() PING 192.168.12.253 (192.168.12.253) 56(84) bytes of data. 64 bytes from 192.168.12.253: icmp_req=1 ttl=64 time=1.40 ms 64 bytes from 192.168.12.253: icmp_req=2 ttl=64 time=0.624 ms 64 bytes from 192.168.12.253: icmp_req=3 ttl=64 time=0.609 ms ^C --- 192.168.12.253 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2001ms rtt min/avg/max/mdev = 0.609/0.877/1.400/0.370 ms |
#ping 192.168.12.253
PING 192.168.12.253 (192.168.12.253) 56(84) bytes of data. 64 bytes from 192.168.12.253: icmp_req=1 ttl=64 time=1.40 ms 64 bytes from 192.168.12.253: icmp_req=2 ttl=64 time=0.624 ms 64 bytes from 192.168.12.253: icmp_req=3 ttl=64 time=0.609 ms ^C --- 192.168.12.253 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2001ms rtt min/avg/max/mdev = 0.609/0.877/1.400/0.370 ms |
#ping 192.168.12.253
![]() PING 192.168.12.253 (192.168.12.253) 56(84) bytes of data. 64 bytes from 192.168.12.253: icmp_req=1 ttl=64 time=0.598 ms 64 bytes from 192.168.12.253: icmp_req=2 ttl=64 time=0.606 ms 64 bytes from 192.168.12.253: icmp_req=3 ttl=64 time=0.627 ms 64 bytes from 192.168.12.253: icmp_req=4 ttl=64 time=0.607 ms 64 bytes from 192.168.12.253: icmp_req=5 ttl=64 time=0.608 ms 64 bytes from 192.168.12.253: icmp_req=6 ttl=64 time=0.605 ms 64 bytes from 192.168.12.253: icmp_req=7 ttl=64 time=0.616 ms 64 bytes from 192.168.12.253: icmp_req=8 ttl=64 time=0.614 ms 64 bytes from 192.168.12.253: icmp_req=9 ttl=64 time=0.729 ms 64 bytes from 192.168.12.253: icmp_req=10 ttl=64 time=0.618 ms 64 bytes from 192.168.12.253: icmp_req=11 ttl=64 time=0.620 ms ^C --- 192.168.12.253 ping statistics --- 11 packets transmitted, 11 received, 0% packet loss, time 9997ms rtt min/avg/max/mdev = 0.598/0.622/0.729/0.043 ms |
#ping 192.168.12.253
PING 192.168.12.253 (192.168.12.253) 56(84) bytes of data. 64 bytes from 192.168.12.253: icmp_req=1 ttl=64 time=0.598 ms 64 bytes from 192.168.12.253: icmp_req=2 ttl=64 time=0.606 ms 64 bytes from 192.168.12.253: icmp_req=3 ttl=64 time=0.627 ms 64 bytes from 192.168.12.253: icmp_req=4 ttl=64 time=0.607 ms 64 bytes from 192.168.12.253: icmp_req=5 ttl=64 time=0.608 ms 64 bytes from 192.168.12.253: icmp_req=6 ttl=64 time=0.605 ms 64 bytes from 192.168.12.253: icmp_req=7 ttl=64 time=0.616 ms 64 bytes from 192.168.12.253: icmp_req=8 ttl=64 time=0.614 ms 64 bytes from 192.168.12.253: icmp_req=9 ttl=64 time=0.729 ms 64 bytes from 192.168.12.253: icmp_req=10 ttl=64 time=0.618 ms 64 bytes from 192.168.12.253: icmp_req=11 ttl=64 time=0.620 ms ^C --- 192.168.12.253 ping statistics --- 11 packets transmitted, 11 received, 0% packet loss, time 9997ms rtt min/avg/max/mdev = 0.598/0.622/0.729/0.043 ms |
#ifconfig
![]() eth0 Link encap:Ethernet HWaddr e0:69:95:2e:da:af inet addr:192.168.12.6 Bcast:192.168.12.255 Mask:255.255.255.0 inet6 addr: fe80::e269:95ff:fe2e:daaf/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:25214 errors:0 dropped:4 overruns:0 frame:0 TX packets:11610 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:13895666 (13.2 MiB) TX bytes:1222354 (1.1 MiB) Interrupt:20 Memory:fe600000-fe620000 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:206 errors:0 dropped:0 overruns:0 frame:0 TX packets:206 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:12408 (12.1 KiB) TX bytes:12408 (12.1 KiB) |
#ifconfig
eth0 Link encap:Ethernet HWaddr e0:69:95:2e:da:af inet addr:192.168.12.6 Bcast:192.168.12.255 Mask:255.255.255.0 inet6 addr: fe80::e269:95ff:fe2e:daaf/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:25214 errors:0 dropped:4 overruns:0 frame:0 TX packets:11610 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:13895666 (13.2 MiB) TX bytes:1222354 (1.1 MiB) Interrupt:20 Memory:fe600000-fe620000 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:206 errors:0 dropped:0 overruns:0 frame:0 TX packets:206 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:12408 (12.1 KiB) TX bytes:12408 (12.1 KiB) |
#sed -i s/192.168.12.6/192.168.60.1 /etc/network/interfaces
![]() sed: -e expression #1, char 27: unterminated `s' command |
#sed -i s/192.168.12.6/192.168.60.1 /etc/network/interfaces
![]() sed: -e expression #1, char 27: unterminated `s' command |