How to setup ethernet/internet after installation?
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) / 184.108.40.206(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: 220.127.116.11
sec dns: 18.104.22.168
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)
iface lo inet loopback
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.
Tags for this Thread