Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Script started on Tue 08 Jul 2014 10:22:37 PM EDT
- root@mymachine:~# ifconfig
- eth2 Link encap:Ethernet HWaddr 00:11:85:ee:08:05
- inet6 addr: myhwaddress/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:0 errors:136021419 dropped:0 overruns:0 frame:1
- TX packets:1340 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:0 (0.0 B) TX bytes:333436 (325.6 KiB)
- Interrupt:17
- 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:1053 errors:0 dropped:0 overruns:0 frame:0
- TX packets:1053 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:326557 (318.9 KiB) TX bytes:326557 (318.9 KiB)
- root@mymachine:~# dhclient -v eth2
- Internet Systems Consortium DHCP Client 4.2.2
- Copyright 2004-2011 Internet Systems Consortium.
- All rights reserved.
- For info, please visit https://www.isc.org/software/dhcp/
- Listening on LPF/eth2/00:11:85:ee:08:05
- Sending on LPF/eth2/routeraddr?
- Sending on Socket/fallback
- DHCPDISCOVER on eth2 to 255.255.255.255 port 67 interval 6
- DHCPDISCOVER on eth2 to 255.255.255.255 port 67 interval 15
- DHCPDISCOVER on eth2 to 255.255.255.255 port 67 interval 10
- DHCPDISCOVER on eth2 to 255.255.255.255 port 67 interval 18
- DHCPDISCOVER on eth2 to 255.255.255.255 port 67 interval 12
- No DHCPOFFERS received.
- No working leases in persistent database - sleeping.
- root@mymachine:~# service --status--[Kall |grep `+``[K[K[K[K+b[K[1@^[1@`[1@&[1P[1P[1P[1@&[1@
- [ + ] acpid
- [ + ] atd
- [ + ] avahi-daemon
- [ + ] cron
- [ + ] dbus
- [ + ] dovecot
- [ + ] fail2ban
- [ + ] minissdpd
- [ + ] network-manager
- [ + ] nfs-common
- [ + ] nginx
- [ + ] openbsd-inetd
- [ + ] php5-fpm
- [ + ] postfix
- [ + ] postgresql
- [ + ] pulseaudio
- [ + ] rpcbind
- [ + ] rsyslog
- [ + ] saned
- [ + ] spamassassin
- [ + ] ssh
- [ + ] udev
- root@mymachine:~# service networking s[Krestart
- [....] Running /etc/init.d/networking restart is deprecated because it may not re-enable some interfaces ...[?25l7[1G[[33mwarn[39;49m8[?12l[?25h [33m(warning).[39;49m
- [....] Reconfiguring network interfaces...[?25l7[1G[[32m ok [39;49m8[?12l[?25hdone.
- root@mymachine:~#
- [9@(reverse-i-search)`':[Cd': dhclient -v eth2[1@h[C[C[C[1@c[C[C[C
- [12Proot@mymachine:~#[C
- Internet Systems Consortium DHCP Client 4.2.2
- Copyright 2004-2011 Internet Systems Consortium.
- All rights reserved.
- For info, please visit https://www.isc.org/software/dhcp/
- Listening on LPF/eth2/routeraddr?
- Sending on LPF/eth2/routeraddr?
- Sending on Socket/fallback
- DHCPDISCOVER on eth2 to 255.255.255.255 port 67 interval 5
- ^[[15~`DHCPDISCOVER on eth2 to 255.255.255.255 port 67 interval 10
- DHCPDISCOVER on eth2 to 255.255.255.255 port 67 interval 7
- DHCPDISCOVER on eth2 to 255.255.255.255 port 67 interval 13
- DHCPDISCOVER on eth2 to 255.255.255.255 port 67 interval 15
- DHCPDISCOVER on eth2 to 255.255.255.255 port 67 interval 9
- DHCPDISCOVER on eth2 to 255.255.255.255 port 67 interval 2
- No DHCPOFFERS received.
- No working leases in persistent database - sleeping.
- root@mymachine:~# cat /etc/network/interfaces
- # This file describes the network interfaces available on your system
- # and how to activate them. For more information, see interfaces(5).
- # The loopback network interface
- auto lo
- iface lo inet loopback
- # The primary network interface
- allow-hotplug eth0
- iface eth0 inet dhcp
- root@mymachine:~# exit
- exit
- Script done on Tue 08 Jul 2014 10:27:55 PM EDT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement