You are not logged in.

#1 2008-07-08 06:54:56

BR
Member
From: Australia
Registered: 2008-07-08
Posts: 20

[SOLVED] Setting up network

Hi. I'm new to archlinux and linux in general. However I do have some programming background.

I've successfully installed the core pakage onto my laptop, and currently run a dual boot with windows. I installed the base pakage and made no major configurations.

I've run into a problem with the network. My current setup is a network link from my laptop to my desktop computer, where the desktop has a usb based internet connection. When running windows, the desktop has a set IP (192.168.0.1) and set gateway(255.255.255.0). The laptop simply has dhcp enabled and seems to automatically find an IP. This works fine when windows is running, but I have no idea how to get it working on archlinux.

Any suggestions?

Last edited by BR (2008-07-08 08:41:10)

Offline

#2 2008-07-08 07:54:52

MilosC
Member
From: Serbia
Registered: 2008-06-04
Posts: 79

Re: [SOLVED] Setting up network

Welcome to our community! The main configuration on Archlinux is stored in /etc/rc.conf. You have to append "dhcp" to your interface in this file. To do this type "vi /etc/rc.conf" and find your interface (probably eth0, but you have to check typing command iwconfig), so that line shold be like this:

eth0="dhcp"

After that, press Esc and type :w <Enter>, and :q <Enter>.
If you have any troubles, you can consult wiki: http://wiki.archlinux.org/index.php/Main_Page.

Offline

#3 2008-07-08 08:38:53

BR
Member
From: Australia
Registered: 2008-07-08
Posts: 20

Re: [SOLVED] Setting up network

Cheers mate, got internet connected and updated through pacman. I did as you said before, but never restarted the network module to use the new settings.

Offline

Board footer

Powered by FluxBB