LinuxSir.cn,穿越时空的Linuxsir!

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

ifconfig 可以关掉网卡,却不能打开

[复制链接]
发表于 2009-3-3 18:16:09 | 显示全部楼层 |阅读模式
如题,
ifconfig eth0 down 网不能用了
ifconfig eth0 up 网还是不能用

另,ifup ifdown 要 emerge  什么 ebuild  呢?还是习惯这个。谢谢各位了先。
发表于 2009-3-3 18:24:59 | 显示全部楼层
试试/etc/init.d/net.eth0 restart
回复 支持 反对

使用道具 举报

发表于 2009-3-3 19:35:33 | 显示全部楼层
出现这样问题,可以看看 dmesg | tail 的内容,会对排除问题有很大帮助.

---
LS的兄弟,在用32位还是64位系统?
回复 支持 反对

使用道具 举报

发表于 2009-3-3 20:44:21 | 显示全部楼层
Post by SCys;1955794
出现这样问题,可以看看 dmesg | tail 的内容,会对排除问题有很大帮助.

---
LS的兄弟,在用32位还是64位系统?


32位的
以前试过64位的,可惜无线网卡用不了,虽然驱动装好能识别,但是连不上网~~
回复 支持 反对

使用道具 举报

发表于 2009-3-4 09:07:04 | 显示全部楼层
Post by whitelilis;1955741
如题,
ifconfig eth0 down 网不能用了
ifconfig eth0 up 网还是不能用

另,ifup ifdown 要 emerge  什么 ebuild  呢?还是习惯这个。谢谢各位了先。


还要用ifconfig eth0 xx.xx.xx.xx/xx,route add default gateway xxxxxxx来配置。
Post by whitelilis;1955741
32位的
以前试过64位的,可惜无线网卡用不了,虽然驱动装好能识别,但是连不上网~~  

PS:把你的无线网卡列出来看看?
我的网卡是Atheros 2xxx的,在64位下用madwifi-hal就可以了。
回复 支持 反对

使用道具 举报

发表于 2009-3-4 10:08:31 | 显示全部楼层
Post by arch686;1955979


PS:把你的无线网卡列出来看看?
我的网卡是Atheros 2xxx的,在64位下用madwifi-hal就可以了。

ms是Athores ar5007eg,用的是ndiswrapper+xp驱动
曾经试过一次madwifi,驱动不了
  1. Just as I suspected, an AR5007EG*, I have the same card, it isn't supported by the normal madwifi builds at the moment. There is experimental support in the developmental versions, but I didn't have any luck with it. I had good luck with ndiswrapper and the Windows XP driver found here: http://www.atheros.cz/
  2. *It doesn't identify properly, the [168c:001c] tells me what it really is.
复制代码
http://203.208.39.99/search?q=ca ... oFL3t7P_E5OX2_d5Bgg
回复 支持 反对

使用道具 举报

发表于 2009-3-4 10:13:33 | 显示全部楼层
ifconfig eth0 down 网不能用了
ifconfig eth0 up 网还是不能用
加句 dhclient eth0 / dhcpcd? eth0
(我用dhclient,虽然手册不推荐这个,可惜我的wifi只能用这个才能链接:(    )


athores 5008可以用 5007好像也是用11n的?如果是用ath9k那个驱动
回复 支持 反对

使用道具 举报

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

本版积分规则

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