Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Internet connection

Status
Not open for further replies.

komyg

Programmer
Dec 13, 2005
68
BR
I have Ubuntu and I'm trying to setup my internet connection.

First I was trying to use DHCP, so I configured eth0 in /etc/network/interfaces as "iface eth0 inet dhcp".
But I have to run dhclient everytime I want the connection to be up and a few minutes later the connection stops working.

Then I tryed to make eth0 a static connection:
iface eth0 inet static
adress 192.168.0.82
netmask 255.255.255.0
gateway 192.168.0.1

But when I run ifup -a get an error message saying:
"Don't seem to have all the variables for eth0/inet.
Failed to bring up eth0."

As my internet connection is shared from a Windows XP computer I have to specify it as the gateway right?

What information is missing?

Thanks,
Komyg
 
Internet Connection" can mean a great deal of possible combinations of technology. Would you consider being a little more specific on the technology and the network you're trying to build. I'm sure we can help.

D.E.R. Management - IT Project Management Consulting
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top