After I create a new connection (lan) by connecting to my router, this is what I did:
[root@localhost eikeland]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:90:00:04
E:3E
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::290:ff:fe04:de3e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:710 (710.0 b) TX bytes:1278 (1.2 Kb)
Interrupt:11 Base address:0xd800
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:292 errors:0 dropped:0 overruns:0 frame:0
TX packets:292 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:25972 (25.3 Kb) TX bytes:25972 (25.3 Kb)
I tried 'dhcpcd -k', but this is what I got:
[root@localhost eikeland]# dhcpcd -k
bash: dhcpcd: command not found
I tried this instead (I think this does the same thing):
[root@localhost sbin]# /sbin/dhclient
Internet Systems Consortium DHCP Client V3.0.1
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit
http://www.isc.org/products/DHCP
sit0: unknown hardware address type 776
eth1: unknown hardware address type 24
/sbin/dhclient-script: configuration for sit0 not found.
/sbin/dhclient-script: configuration for eth1 not found.
sit0: unknown hardware address type 776
eth1: unknown hardware address type 24
Listening on LPF/sit0/
Sending on LPF/sit0/
Listening on LPF/eth1/
Sending on LPF/eth1/
Listening on LPF/lo/
Sending on LPF/lo/
Listening on LPF/eth0/00:90:00:04:de:3e
Sending on LPF/eth0/00:90:00:04:de:3e
Sending on Socket/fallback
receive_packet failed on sit0: Network is down
receive_packet failed on eth1: Network is down
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 3
send_packet: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPOFFER from 192.168.1.1
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPDISCOVER on sit0 to 255.255.255.255 port 67 interval 8
send_packet: Network is down
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 5
DHCPACK from 192.168.1.1
bound to 192.168.1.100 -- renewal in 38731 seconds.