Unable to resolve address with DHCP enabled
I am a Nu B to Linux and have chosen Slackware 12 as OS. My problem is DHCP is not pulling the DNS IP resolution address from my Linksys router.
I have just installed the OS and am using DHCP option for NIC. I have ran Netconfig using the following options attempting to fix issue:
address scheme: DHCP
Upon restart of the OS I login as root and run IFCONFIG:
eth0 gets HWaddr 00:01:..ETC. IPaddress 192.168.1.12 Bcast 192.168.1.255 Mask 255.255.255.0 UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
lo local loopback inet addre:127.0.0.1 Mask: 255.0.0.0
inet6 addr: ::1/128 scope host. up loopback running mtu:1500 Metric:1
I have verified USE_DHCP(0)="yes" in /etc/rc.d/rc.inet1.conf.
/etc/resolv.conf shows BegTech.com and nothing else. I have checked the etc/dhcpc/dhcpcd-eth0.info and it contains all the proper information for my network so i know it is pulling it but I am not able to ping anylocations except 127.0.0.1.
Any input would be greatly appreciated. Thank you.
PS Should I change the domain to the IP of the routers LAN IP?
One thing you could do is manually enter the DNS servers (look on your router for these) in /etc/resolv.conf and then set DHCP_KEEPRESOLV[x]="yes" in rc.inet1.conf.
Hm, not being able to resolve any IP address AND not able to ping anything else but 127.0.0.1 ? Can't you even ping the IP address that your eth0 received from the dhcp server (192.168.1.12)?
To me it sounds like your default route is not set. Try
If the default route is not set, the DHCP Server is not relaying this piece of information to your DHCP client.
Thank you for your reply any other help will be greatly appreciated.
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
I did notice that when I use route during the destination default listing the system hangs as though it is waiting for something and then reports appropriately. Still I not able to ping past the eht0 Iface. when I ping an IP outside the network or ping the Gateway I get Destination Host Unreachable.
I have installed Slack12 on my laptop now and it runs wonderfully run under root but am not able to get user to see the network infact I am not able to do ifconfig either under user, but I will tackle that after getting the desktop system to work.
Thank you, any other ideas will be greatly appreciated and since I have now gotten one computer up and running in Slack I will be able to better convince the family members to changeUp :)
|All times are GMT -5. The time now is 06:56 PM.|