Pastebin
Paste #486: network homer
< previous paste - next paste>
Pasted by tdn
(tdn@homer.) (Sun Apr 01 10:38 ) {P:0 H:402}
(~) ifconfig
eth0 Link encap:Ethernet HWaddr 00:10:A7:05:6D:D5
inet addr:10.0.0.125 Bcast:10.0.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:100 errors:0 dropped:0 overruns:0 frame:0
TX packets:80 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:12723 (12.4 KiB) TX bytes:10360 (10.1 KiB)
Interrupt:11 Base address:0x2000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:37 errors:0 dropped:0 overruns:0 frame:0
TX packets:37 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:19601 (19.1 KiB) TX bytes:19601 (19.1 KiB)
(tdn@homer.) (Sun Apr 01 10:39 ) {P:0 H:403}
(~) cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
auto eth0:0
iface eth0:0 inet static
address 10.0.0.50
netmask 255.0.0.0
network 10.0.0.0
#gateway 10.0.0.254
auto eth1
iface eth1 inet dhcp
auto eth2
iface eth2 inet dhcp
auto ath0
iface ath0 inet dhcp
auto wlan0
iface wlan0 inet dhcp
(tdn@homer.) (Sun Apr 01 10:39 ) {P:0 H:405}
(~) sudo ifup eth0:0
ifup: interface eth0:0 already configured
(tdn@homer.) (Sun Apr 01 10:39 ) {P:0 H:406}
(~)
(tdn@homer.) (Sun Apr 01 10:40 ) {P:0 H:406}
(~) sudo ifdown eth0:0
SIOCSIFFLAGS: Cannot assign requested address
(tdn@homer.) (Sun Apr 01 10:40 ) {P:0 H:407}
(~) sudo ifup eth0:0
SIOCSIFFLAGS: Cannot assign requested address
(tdn@homer.) (Sun Apr 01 10:40 ) {P:0 H:408}
(~)
(tdn@homer.) (Sun Apr 01 10:40 ) {P:0 H:408}
(~) sudo /etc/init.d/networking restart
* Reconfiguring network interfaces...
There is already a pid file /var/run/dhclient.eth0.pid with pid 4937
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/eth0/00:10:a7:05:6d:d5
Sending on LPF/eth0/00:10:a7:05:6d:d5
Sending on Socket/fallback
DHCPRELEASE on eth0 to 10.0.0.254 port 67
SIOCSIFFLAGS: Cannot assign requested address
There is already a pid file /var/run/dhclient.eth0.pid with pid 134993416
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/eth0/00:10:a7:05:6d:d5
Sending on LPF/eth0/00:10:a7:05:6d:d5
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
DHCPOFFER from 10.0.0.254
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 10.0.0.254
bound to 10.0.0.125 -- renewal in 22701 seconds.
SIOCSIFFLAGS: Cannot assign requested address
eth1: ERROR while getting interface flags: No such device
There is already a pid file /var/run/dhclient.eth1.pid with pid 134993416
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
SIOCSIFADDR: No such device
eth1: ERROR while getting interface flags: No such device
eth1: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up eth1.
eth2: ERROR while getting interface flags: No such device
There is already a pid file /var/run/dhclient.eth2.pid with pid 134993416
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
SIOCSIFADDR: No such device
eth2: ERROR while getting interface flags: No such device
eth2: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up eth2.
ath0: ERROR while getting interface flags: No such device
There is already a pid file /var/run/dhclient.ath0.pid with pid 134993416
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
SIOCSIFADDR: No such device
ath0: ERROR while getting interface flags: No such device
ath0: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up ath0.
--------- Here I lost network connectivity, and it did not come up again.
New Paste
Go to most recent paste.