arch如何设置上网?

其他Linux/Unix/BSD/OSX等发行版讨论
回复
wuzi66832
帖子: 64
注册时间: 2008-05-25 11:47

arch如何设置上网?

#1

帖子 wuzi66832 » 2008-08-08 10:05

装好基本,看了n篇介绍摆治多次就是上不了网?求详细设置指导?
头像
HuntXu
帖子: 5776
注册时间: 2007-09-29 3:09

#2

帖子 HuntXu » 2008-08-08 17:16

你用ubuntu时怎么做的现在就怎么做...
HUNT Unfortunately No Talent...
头像
leeaman
帖子: 30702
注册时间: 2007-02-02 18:14
系统: debian sid

#3

帖子 leeaman » 2008-08-08 17:30

HuntXu 写了:你用ubuntu时怎么做的现在就怎么做...
不是吧,这个一要看你的上网方式 二是看你安装时候什么搞过那个网络设置吧,我的rc.conf里面的网络配置,路由上网的
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="ArchFei"

# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
NTERFACES=(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.0.1"
# ROUTES=(!gateway)
# # 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
#
# DHCP: Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#
eth0="dhcp"
INTERFACES=(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.0.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.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)
上次由 leeaman 在 2008-08-08 17:33,总共编辑 1 次。
醉了星星,醉月亮●●●●●The Long Way To Go(*^_^*)
头像
HuntXu
帖子: 5776
注册时间: 2007-09-29 3:09

#4

帖子 HuntXu » 2008-08-08 17:33

leeaman 写了:
HuntXu 写了:你用ubuntu时怎么做的现在就怎么做...
不是吧,这个一要看你的上网方式 二是看你安装时候什么搞过那个网络设置吧
我的意思是配置网络的方式是一样的... :oops:

不过我都是路由的,开了dhcp就直接上去了...建议lz多看看arch的文档...
HUNT Unfortunately No Talent...
回复