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: /
subnet mask: on my other computer's wireless internet
but it says on router's page for some reason.
primary dns:
sec dns:

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


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

auto lo
iface lo inet loopback

auto eth1
iface eth1 inet dhcp

(i added the latter part)

pinging 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.