You are not logged in.

#1 2007-04-04 01:58:27

cmveas
Member
Registered: 2007-04-04
Posts: 2

network settings dont work on Arch

Hello My name is Claudio Veas Im from Mendoza, Argentina. This is my first time in Archlinux but not my first time with linux. I needed help because I have a DSL connection. I have never had much problems to configure it in other linux distributions but this is the first time I have done it with the console (please excuse my english). This settings worked just fine on my debian installation so the data is confirmed but i cant make it work on Arch.

Settings
IP 192.168.1.5
mask 255.255.255.0
gateway 192.168.1.1

DNS 200.51.212.7
DNS 200.51.211.7

This is the part of rc.conf that contains some of this data


#
# /etc/rc.conf - Main Configuration for Arch Linux
#


#
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
HOSTNAME="archer1"
#
# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available
# interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
#
# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
#
lo="lo 127.0.0.1"
eth0="192.168.1.5 netmask 255.255.255.0 broadcast 192.168.1.255"
INTERFACES=(lo eth0)
#
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.1.1"
ROUTES=(!gateway)
#
# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network-profiles
#
#NET_PROFILES=(main)

And resolv.conf

nameserver 200.51.212.7
nameserver 200.51.211.7

I really hope you can help me. Anything you need to help me please ask.
Thanks on advance
Claudio Veas

Offline

#2 2007-04-04 02:54:28

Echo
Member
From: Ohio, United States
Registered: 2006-05-16
Posts: 239

Re: network settings dont work on Arch

Try removing the bang (!) from in front of gateway.

ROUTES=(gateway)

Offline

#3 2007-04-04 22:20:26

cmveas
Member
Registered: 2007-04-04
Posts: 2

Re: network settings dont work on Arch

Thanks for the help it worked perfectly

Offline

Board footer

Powered by FluxBB