Я собираю Linux из исходников. Система почти полностью чистая.
Я вроде как настроил работу интерфейсов, но пакеты не уходят. Я пытался пинговать google.com, 8.8.8.8, 192.168.0.1 и 127.0.0.1, выхлоп такой:
~ # ping google.com
ping: bad address 'google.com'
~ # ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
--- 8.8.8.8 ping statistics ---
11 packets transmitted, 0 packets received, 100% packet loss
~ # ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1): 56 data bytes
--- 192.168.0.1 ping statistics ---
12 packets transmitted, 0 packets received, 100% packet loss
~ # ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1): 56 data bytes
--- 127.0.0.1 ping statistics ---
10 packets transmitted, 0 packets received, 100% packet loss
Вывод ip a:
~ # ip a
1: lo: <LOOPBACK> mtu 65536 qdisc noop qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 52:54:00:12:34:56 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.2/24 scope global eth0
valid_lft forever preferred_lft forever
inet6 fec0::5054:ff:fe12:3456/64 scope site dynamic flags 100
valid_lft 86329sec preferred_lft 14329sec
inet6 fe80::5054:ff:fe12:3456/64 scope link
valid_lft forever preferred_lft forever
3: sit0@NONE: <NOARP> mtu 1480 qdisc noop qlen 1000
link/sit 0.0.0.0 brd 0.0.0.0
Содержимое /etc/resolv.conf:
~ # cat /etc/resolv.conf
nameserver 8.8.8.8