You are not logged in.

#1 2005-02-13 08:43:11

XDelusion
Member
Registered: 2005-02-13
Posts: 17

The basics

I have a computer running WinXP which shares its connection, and gives out IP adresses to the computers on the network via DHCP, etc.

I'd tested the connection on my XBOX, but when I install Arch Linux, I seem to be defaulted to a static IP of 192.168.0.2 and I don't have an internet connection.

I'm somewhat new to linux, and have not touched it in ages. I remember the command ifconfig, but I don't recall what to do with it. smile

Offline

#2 2005-02-13 08:53:35

skoal
Member
From: Frequent Flyer Underworld
Registered: 2004-03-23
Posts: 612
Website

Re: The basics

XDelusion wrote:

[...]I seem to be defaulted to a static IP of 192.168.0.2 and I don't have an internet connection.

That's right, you are using a static IP there, a local one at that.

Do the following in a terminal:

/etc/rc.d/network stop

Edit your "/etc/rc.conf" and make the following changes as root:

eth0="dhcp"

* that will get rid of that local IP you're using now and use "dhcp" instead.

Then, do the following:

/etc/rc.d/network start

You should be using "dhcp" now.  You can run "ifconfig" and see that your IP has changed, more than likely matching those on Xbox or WinXP.

Offline

#3 2005-02-13 10:00:07

XDelusion
Member
Registered: 2005-02-13
Posts: 17

Re: The basics

you rock!

Offline

#4 2005-02-13 10:01:47

skoal
Member
From: Frequent Flyer Underworld
Registered: 2004-03-23
Posts: 612
Website

Re: The basics

XDelusion wrote:

you rock!

you roll!

Offline

Board footer

Powered by FluxBB