LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1615|回复: 12

安装时只装了base系统,发现网卡无法识别如何解决?【问题解决,新问题又来了】

[复制链接]
发表于 2007-12-12 23:08:14 | 显示全部楼层 |阅读模式
如题,我安装的是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

应该没有错啊?
发表于 2007-12-13 03:50:40 | 显示全部楼层
驱动一般内核带了。。。和你装不装其他东西无关,
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-12-13 09:19:00 | 显示全部楼层
可是我在qemu里面装也好像找不到网卡,不知道为什么?难道什么网卡都不支持么?
回复 支持 反对

使用道具 举报

发表于 2007-12-13 09:37:01 | 显示全部楼层
换新版试试。
回复 支持 反对

使用道具 举报

发表于 2007-12-13 09:50:59 | 显示全部楼层
用modprobe手动加载网卡驱动模块。
如果不知道用什么模块,google it,或者用一个能够识别的livecd启动,用lsmod察看。
实在不行的话,还是换新版吧。。。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-12-13 10:07:56 | 显示全部楼层
modprobe?启动时的cheatcode么?还是在安装好的系统里面的命令?
其实我也想啊,可是教育网...嗨...
回复 支持 反对

使用道具 举报

发表于 2007-12-13 10:17:08 | 显示全部楼层
进入系统之后的命令
想要在启动时自动加载,编辑rc.conf,把模块添加进去
回复 支持 反对

使用道具 举报

发表于 2007-12-13 10:21:37 | 显示全部楼层
下载个内核源码自己编译……
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-12-13 10:23:23 | 显示全部楼层
那么在光盘addons/目录下的那个貌似和网卡有关的bz2包是用来做什么的呢?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-12-13 10:43:47 | 显示全部楼层
Post by xsam;1795077
下载个内核源码自己编译……

编译?说的是简单哦。我不会啊




另外,我用的是nforce 520l芯片的主板,网卡是Marvell Yukon 88E8053 PCI-E Gigabit Ethernet Controller
应该没有问题的啊,好像用ubuntu的livecd引导都可以找到网卡。难道大家安装的时候都没有遇到过这样的问题么?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表