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 #11
- 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 tryCode:
sudo dhclient eth0 -r
See this bug report[/edit]
- 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
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
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 18.104.22.168. What are the results ofCode:
- 01-17-2013 #17
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.
- 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?
sudo dpkg-reconfigure resolvconf