|
如题,我安装的是0.7.1版,安装时听信一个网友的教程只装了base系统,结果安装完之后发现网卡无法识别,/dev/下没有eth0,
ping 127.0.0.1 返回是not cacheable
如果不重装,有办法解决么?
我看见 光盘addons目录下有个mods-ethernet.tar.bz2,可以用来安装么?
重装最新的版本后
dmesg | grep eth0
sky2 eth0 : add 00:e0:b0:e2:7b:26
sky2 eth0 : enabling interface
sky2 eth0 : ram buffer 48k
.....link is up at 100M.. full duplex flow control both
应该算是识别了吧
接下来我 按照顶置贴的介绍,设置pacman.conf如下
#--------------------------------------------------------------------------
# /etc/pacman.conf
#
# See the pacman manpage for option directives
#
# GENERAL OPTIONS
#
[options]
LogFile = /var/log/pacman.log
HoldPkg = pacman glibc
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#
# REPOSITORIES
# - can be defined here or included from another file
# - pacman will search repositories in the order defined here
# - local/custom mirrors can be added here or in separate files
# - repositories listed first will take precedence when packages
# have identical names, regardless of version number
#
[current]
Server = http://mirror.bjtu.edu.cn/ArchLinux/current/os/i686
[extra]
Server = http://mirror.bjtu.edu.cn/ArchLinux/extra/os/i686
[testing]
Server = http://mirror.bjtu.edu.cn/ArchLinux/testing/os/i686
[community]
Server = http://mirror.bjtu.edu.cn/ArchLinux/community/os/i686
[unstable]
Server=http://mirror.bjtu.edu.cn/ArchLinux/unstable/os/i686
#[unstable]
# Add your preferred servers here, they will be used first
#Include = /etc/pacman.d/unstable
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#Server = file:///home/custompkgs
#-------------------------------------------------------------------------
然后运行 pacman -Sy 时失败,
failed to .... "*.tar.gz" from .... :Transient resolver failure
好像是DNS的问题
我的/etc/resolv.conf 文件:
#
# /etc/resolv.conf
#
#search <127.0.0.1>
#nameserver <ip>
nameserver 202.112.17.33
nameserver 202.38.193.33
# End of file
应该没有错啊? |
|