|
安装基本的ARCH之后,发现竟然只能ping通内网,我的/etc/rc.conf内容如下:
#
# /etc/rc.conf - Main Configuration for Arch Linux
#
#
# Localization
#
# HARDWARECLOCK: set to "UTC" or "localtime"
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: fount in /usr/share/kbd/consolefonts (only needed for non-us)
# USECOLOR: use ANSI color sequences in startup messages
#
HARDWARECLOCK="localtime"
TIMEZONE=Canada/Pacific
KEYMAP=us
CONSOLEFONT=
USEcolor="yes"
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"
#
# Networking
#
HOSTNAME="zhongyong"
#
# Module to load at boot-up (in this order)
# (prefix a module with a ! to disable it)
#
MODULES=(8139too !usbserial !ide-scsi)
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
# (prefix an interface in INTERFACES with a ! to disable it)
#
# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
#
lo="lo 127.0.0.1"
eth0="eth0 10.196.248.12 netmask 255.255.255.0 broadcast 10.196.248.1"
INTERFACES=(!lo eth0)
#
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# (prefix a route in ROUTES with a ! to disable it)
#
#gateway="default gw 10.196.248.1"
#ROUTES=(gateway)
#
# Daemons to start at boot-up (in this order)
# (prefix a daemon with a ! to disable it)
#
DAEMONS=(syslog-ng !hotplug !pcmcia network netfs crond)
# End of file
这是我的/etc/resolv.conf
#
# /etc/resolv.conf
#
#search yourdomain.tld
#nameserver <ip>
#search zhonggyong.main.tld
nameserver 10.196.8.16
#nameserver 212.77.78.132
# End of file
现在只是装了个基本的系统.急需上网完成系统的安装,还请兄弟们帮忙啊!!!!
先谢了!! |
|