PDA

View Full Version : How to connect to internet through LAN on ubuntu 9.04



Yashpal1985
May 21st, 2009, 03:05 PM
Can any one help me out in connecting to internet by using wired network....on ubuntu 9.04

helgman
May 23rd, 2009, 12:18 AM
Might need some more input here, else the quick and dirty is "use a network cable". ;)

Could you be a bit more specific about the problem?

Regards,
Helgman

Iowan
May 23rd, 2009, 01:45 AM
Some of the specifics would be:
Is machine set up for static IP or does (should) it get address via DHCP?
Post results of ifconfig -a.
If machine shows no IP address, post results of lshw -C network.
If machine has IP address, is it 169.254.X.X (avahi assigns this one).

dying4004
May 23rd, 2009, 03:57 PM
what steps to follo if i want to setup an internet connection with static ip in ubuntu 9.04?

i did setup with network connection manager but after entering the ip and dns and gateway it doesnt show its connected.

Iowan
May 23rd, 2009, 06:54 PM
When my DHCP failed, I first set up a static address in /etc/network/interfaces and put my DNS servers in /etc/resolv.conf. That worked, but then I commented out the entries and set up a static address in Network Manager. As I recall, it took a couple of tries to get the info to "stick" for netmask or gateway. I don't think running /etc/init.d/networking restart did much, but I didn't try /etc/init.d/NetworkManager restart - I just rebooted.