Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.48 KB | None | 0 0
  1. osis@projmngsys:~$ sudo systemctl status networking
  2. ● networking.service - Raise network interfaces
  3. Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled)
  4. Drop-In: /run/systemd/generator/networking.service.d
  5. └─50-insserv.conf-$network.conf
  6. Active: failed (Result: exit-code) since Вт 2019-06-18 20:25:45 MSK; 14min ago
  7. Docs: man:interfaces(5)
  8. Process: 794 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=1/FAILURE)
  9. Process: 778 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environment --lis
  10. Main PID: 794 (code=exited, status=1/FAILURE)
  11.  
  12. июн 18 20:25:44 projmngsys systemd[1]: Starting Raise network interfaces...
  13. июн 18 20:25:45 projmngsys ifup[794]: RTNETLINK answers: File exists
  14. июн 18 20:25:45 projmngsys ifup[794]: Failed to bring up eth0.
  15. июн 18 20:25:45 projmngsys systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILURE
  16. июн 18 20:25:45 projmngsys systemd[1]: Failed to start Raise network interfaces.
  17. июн 18 20:25:45 projmngsys systemd[1]: networking.service: Unit entered failed state.
  18. июн 18 20:25:45 projmngsys systemd[1]: networking.service: Failed with result 'exit-code'.
  19.  
  20. [2]+ Stopped sudo systemctl status networking
  21.  
  22. # This file describes the network interfaces available on your system
  23. # and how to activate them. For more information, see interfaces(5).
  24.  
  25. source /etc/network/interfaces.d/*
  26.  
  27. # The loopback network interface
  28. auto lo
  29. iface lo inet loopback
  30.  
  31. # The primary network interface
  32.  
  33. auto eth0
  34. iface eth0 inet static
  35. address 192.168.1.69
  36. #netmask 255.255.0.0
  37. #gateway 192.168.1.254
  38. #dns-nameservers 8.8.8.8 8.8.4.4 192.168.1.254
  39. #dns-search google.com
  40.  
  41. osis@projmngsys:~$ ip link show
  42. 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
  43. link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
  44. 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
  45. link/ether 00:15:5d:64:26:04 brd ff:ff:ff:ff:ff:ff
  46.  
  47. osis@projmngsys:~$ sudo lshw -C network | grep name
  48. logical name: eth0
  49.  
  50. osis@projmngsys:~$ ifconfig -a
  51. eth0 Link encap:Ethernet HWaddr 00:15:5d:64:26:04
  52. inet addr:192.168.1.69 Bcast:192.168.1.255 Mask:255.255.255.0
  53. inet6 addr: 2a00:1370:8125:dfcc:215:5dff:fe64:2604/64 Scope:Global
  54. inet6 addr: fda5:efaf:2260:1:215:5dff:fe64:2604/64 Scope:Global
  55. inet6 addr: fe80::215:5dff:fe64:2604/64 Scope:Link
  56. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  57. RX packets:7082 errors:0 dropped:0 overruns:0 frame:0
  58. TX packets:4055 errors:0 dropped:0 overruns:0 carrier:0
  59. collisions:0 txqueuelen:1000
  60. RX bytes:1053006 (1.0 MB) TX bytes:4096922 (4.0 MB)
  61.  
  62. lo Link encap:Local Loopback
  63. inet addr:127.0.0.1 Mask:255.0.0.0
  64. inet6 addr: ::1/128 Scope:Host
  65. UP LOOPBACK RUNNING MTU:65536 Metric:1
  66. RX packets:203528 errors:0 dropped:0 overruns:0 frame:0
  67. TX packets:203528 errors:0 dropped:0 overruns:0 carrier:0
  68. collisions:0 txqueuelen:1
  69. RX bytes:180782039 (180.7 MB) TX bytes:180782039 (180.7 MB)
  70.  
  71. osis@projmngsys:~$ sudo nano /etc/hosts
  72. 127.0.0.1 localhost
  73.  
  74. # The following lines are desirable for IPv6 capable hosts
  75. ::1 localhost ip6-localhost ip6-loopback
  76. ff02::1 ip6-allnodes
  77. ff02::2 ip6-allrouters
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement