Hi,

i recently installed Ubuntu server 12.04 on my computer. During the installation process, I could not connect to the internet so I skipped that step and I never established a proper connection (I didn't know I had to connect an ethernet cable so I guess that's why it didn't work). Anyways, now I can't really download or install applications on my server because I don't have a connection. So what do I do now? How can I configure a network connection. My network details:

gateway: 192.168.0.1(lan) / 216.58.60.129(wan)
subnet mask: 255.255.255.0 on my other computer's wireless internet
but it says 255.255.255.224 on router's page for some reason.
primary dns: 209.197.128.2
sec dns: 209.195.95.95

results of ifconfig -a give eth0,eth1, and lo. I think eth0 is wireless and eth1 is ethernet, although i may be wrong.

/etc/resolv.conf:
nameserver 209.197.128.2
nameserver 209.195.95.95

(i added these manually based on dns ip's)

/etc/network/interfaces:
auto lo
iface lo inet loopback

auto eth1
iface eth1 inet dhcp

(i added the latter part)

pinging 192.168.0.1 actually does the ping but none of the packets reach, it says "Destination Host Unreachable" for every ping

(all this with the ethernet cable connected - i connected it after installation completed)

now i'm confused. how should I go about configuring an ethernet connection (i'll worry about wireless later)?

Thank you so much.