No. When I attempted to Ping Google's IP, I received "network unreachable".
No. When I attempted to Ping Google's IP, I received "network unreachable".
I think you've misunderstood me. I wasn't asking about the firewall on your router: every GNU/Linux client comes with a firewall built into the kernel called netfilter, and to control those rules we use a program called iptables. It's these rules on the client that I am interested in, and I would still like to see the results of 'iptables -L -v -n'. While we're at it, could you also post the results of 'route'. These commands need to be run as root.
Here are the results of iptables:
"chris@chris-desktop:~$ iptables -L
FATAL: Error inserting ip_tables (/lib/modules/3.2.0-34-generic/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.12: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
chris@chris-desktop:~$ iptables -v
iptables v1.4.12: no command specified
Try `iptables -h' or 'iptables --help' for more information.
chris@chris-desktop:~$ iptables -n
iptables v1.4.12: no command specified
Try `iptables -h' or 'iptables --help' for more information.
chris@chris-desktop:~$ "
I tried running "root" with no success. Please keep in mind that I am pulling all of the use of terminal from my experience with DOS 400 million years ago...
But here is what I get when I run "route":
"chris@chris-desktop:~$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
chris@chris-desktop:~$ "
To run a command as the root user in Ubuntu you prefix it with sudo so that would be
You will be asked for the password of the first user created during installation but when you enter it, nothing will appear to happen. It is being entered though.Code:sudo iptables -L -v -n
sudo route
It appears to me that the problem is a missing /etc/resolv.conf file. Try this command and post the output please.
Code:sudo cat /etc/resolv.conf
If the problem is a lack of a /etc/resolv.conf, then the ping should simply say something like 'unknown host'. 'Network unreachable' tells me that the system doesn't know how to get the data to the destination, and since there is no routing information this is why.
Chris, what happens if you run 'sudo /sbin/dhcpcd eth0' and then run 'sudo /sbin/route'? If these commands aren't in /sbin then try /usr/sbin.
Ok-I took all of your suggestions and this was the result:
"chris@chris-desktop:~$ sudo iptables -L
[sudo] password for chris:
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
chris@chris-desktop:~$
chris@chris-desktop:~$ sudo iptables -L -v -n
Chain INPUT (policy ACCEPT 49 packets, 3592 bytes)
pkts bytes target prot opt in out source destination
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 48 packets, 3264 bytes)
pkts bytes target prot opt in out source destination
chris@chris-desktop:~$
chris@chris-desktop:~$ sudo route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
chris@chris-desktop:~$
chris@chris-desktop:~$ sudo route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
chris@chris-desktop:~$ sudo cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf( 8 )
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.0.1
chris@chris-desktop:~$
(nothing seems to happen)
chris@chris-desktop:~$ sudo /sbin/dhcpcd eth0
sudo: /sbin/dhcpcd: command not found
chris@chris-desktop:~$ sudo usr/sbin/dhcpcd eth0
sudo: usr/sbin/dhcpcd: command not found
chris@chris-desktop:~$
chris@chris-desktop:~$ sudo /sbin/route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
chris@chris-desktop:~$ "
I can't thank each of you enough for baby sitting me through this process. I just wish i could make it work!
sudo usr/sbin/dhcpcd eth0
Should be
sudo /usr/sbin/dhcpcd eth0
Don't know if it will help or not. I'm beginning to wonder if you have a bad install or something. Did you verify the ISO and or the CD/DVD/USB that you installed from?
EDIT:
Try this.
Code:whereis dhcpcd
Code:sudo whereis dhcpcd
This isn't a new install. The only thing that has changed is the router for the purposes of upgrading the Internet connection. The Linux box worked fine with the old router, this issue did not exist in the least. The new router was plugged in and instantly I no longer had an Internet connection.