arch如何设置上网?
-
- 帖子: 64
- 注册时间: 2008-05-25 11:47
arch如何设置上网?
装好基本,看了n篇介绍摆治多次就是上不了网?求详细设置指导?
- leeaman
- 帖子: 30702
- 注册时间: 2007-02-02 18:14
- 系统: debian sid
不是吧,这个一要看你的上网方式 二是看你安装时候什么搞过那个网络设置吧,我的rc.conf里面的网络配置,路由上网的HuntXu 写了:你用ubuntu时怎么做的现在就怎么做...
# -----------------------------------------------------------------------
# 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(*^_^*)