Results 11 to 20 of 42
Originally Posted by elija
What does the command ifconfig show after refreshing the lease? What's in the file /etc/resolv.conf ?
I just had the exact same thought....
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-16-2013 #11Jay
New users, read this first.
New Member FAQ
Registered Linux User #463940
I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.
- 01-17-2013 #12
It did not list the file name. AND I only had that message returned one time. I have entered the command numerous times since without getting "file exists".
Last edited by Chris43068; 01-17-2013 at 06:31 AM. Reason: Should have read "without getting..."
- 01-17-2013 #13
If you get the file exists error then you can try
assuming that your nic is eth0Code:sudo dhclient eth0 -r
[edit]See this bug report[/edit]If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)
My new blog. It's probably not as good as I think it is.
The Fifth Continent reborn
- 01-17-2013 #14
Jay and Elija:
I run ifconfig and get:
"eth0 Link encap: Ethernet HW addr 00:06:5b:47:a3:1b
inet addr: 192.168.0.5 Bcast: 192.168.0.25 Mask: 255.255.255.0
inet6 addr: fe80: :206:5bff:fe47:a31b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX Packets 58001 errors:0 dropped:0 overruns:1 frame:0
TX packets:23157 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:12004820 (12.0MB) TX bytes 1570932 (1.5MB)
Interrupt:11 Base address:0xec00
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 9068 errors:0 dropped:0 overruns:0 frame:0
TX packets:9068 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:740505 (740.5 KB) TX bytes: 740505 (740.5 KB)"
Of course the "eth0" and the "lo" preceeding each are off to the left.
- 01-17-2013 #15
I tried the code. Still can't connect.
- 01-17-2013 #16
Can you ping an ip address outside of your network, for example google.com at 173.194.67.103. What are the results of
Code:cat /etc/resolv.conf
If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)
My new blog. It's probably not as good as I think it is.
The Fifth Continent reborn
- 01-17-2013 #17
Make sure that you do 'ifconfig -a' as this will display all interfaces, even those that are down.
If your subnet is 255.255.255.0, then your broadcast address should be 192.168.0.255. I'll assume that you typed this by hand and typed it incorrectly?
If the router is handing out addresses, you can ping it, and you can access the Internet with other machines, then my suspicions are on the firewall. Please use the command 'iptables -L -v -n' as root and show us the results.Great GNU/Linux references and resources:
The Linux Documentation Project
Rute User's Tutorial and Exposition
GNU/Linux Man Pages
- 01-17-2013 #18
When i ping Google, I get "network is unreachable". Do I need to type anything prior to "cat /etc/resolv.conf" because i get "no such file or directory". As to the firewall, I disabled it in the router's settings (reached it successfully from the Windows machine) and still had no luck connecting.
- 01-17-2013 #19
- 01-18-2013 #20
Are you able to ping Googles' IP address?
If you're able to get a reply, try this command to populate/create a resolv.conf file:Code:ping 173.194.67.103
Answer YES when it asks to dynamically update.Code:sudo dpkg-reconfigure resolvconf
Jay
New users, read this first.
New Member FAQ
Registered Linux User #463940
I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.



Reply With Quote
