Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- i3luefire@ubuntu-server:/etc$ cd network
- i3luefire@ubuntu-server:/etc/network$ ls
- if-down.d if-post-down.d if-pre-up.d if-up.d interfaces interfaces~ run
- i3luefire@ubuntu-server:/etc/network$ sudo nano interfaces
- i3luefire@ubuntu-server:/etc/network$ sudo ifup eth1
- RTNETLINK answers: File exists
- Failed to bring up eth1.
- i3luefire@ubuntu-server:/etc/network$ nano run
- i3luefire@ubuntu-server:/etc/network$ cd run
- i3luefire@ubuntu-server:/etc/network/run$ ls
- ifstate ifup.eth1 ifup.lo static-network-up-emitted
- i3luefire@ubuntu-server:/etc/network/run$ nano ifup.eth1
- i3luefire@ubuntu-server:/etc/network/run$ sudo service network restart
- network: unrecognized service
- i3luefire@ubuntu-server:/etc/network/run$ sudo service resolvconf restart
- resolvconf stop/waiting
- resolvconf start/running
- i3luefire@ubuntu-server:/etc/network/run$ sudo ifup eth1
- RTNETLINK answers: File exists
- Failed to bring up eth1.
- i3luefire@ubuntu-server:/etc/network/run$ ifconfig
- eth1 Link encap:Ethernet HWaddr 00:22:4d:9e:82:68
- inet addr:13.67.25.67 Bcast:13.67.25.255 Mask:255.255.255.0
- inet6 addr: fe80::222:4dff:fe9e:8268/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:22273 errors:0 dropped:0 overruns:0 frame:0
- TX packets:19293 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:6127577 (6.1 MB) TX bytes:8728631 (8.7 MB)
- Interrupt:20 Memory:f7f00000-f7f20000
- 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:291 errors:0 dropped:0 overruns:0 frame:0
- TX packets:291 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:15158 (15.1 KB) TX bytes:15158 (15.1 KB)
- i3luefire@ubuntu-server:/etc/network/run$ sudo ifup
- [sudo] password for i3luefire:
- ifup: Use --help for help
- i3luefire@ubuntu-server:/etc/network/run$ sudo ifup eth1
- RTNETLINK answers: File exists
- Failed to bring up eth1.
- i3luefire@ubuntu-server:/etc/network/run$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement