我的无线网卡的默认驱动名字为ath0,我希望给他换个名字比如adm1

icwin 2008-11-14 08:22:12
但是怎么也无法成功,怎么做了,谢谢了。
...全文
149 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
icwin 2008-11-15
  • 打赏
  • 举报
回复
这样能够编译,但是不能加载模块,为什么了
icwin 2008-11-15
  • 打赏
  • 举报
回复
#!/bin/sh

./wlanconfig adm1 destroy
./wlanconfig adm1 create wlandev wifi0 wlanmode adhoc
#./wlanconfig adm1 create wlandev wifi0 wlanmode ap
#./wlanconfig adm1 create wlandev wifi0 wlanmode sta
iwconfig adm1 ESSID "adm5120"
#iwconfig adm1 ESSID "TP-LINK"
iwconfig adm1 freq 2.4g
iwconfig adm1 channel 11
iwconfig adm1 rate 54M auto
ifconfig adm1 172.168.1.1 netmask 255.255.0.0
iwconfig adm1 txpower 15
love514425 2008-11-15
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 bshawk 的回复:]
找到ifcfg-ath0 配置文件,修改其中DEVICE=adm1即可!

Fedora中,ifcfg-xxx位于/etc/sysconfig/network-scripts下!

good luck!
[/Quote]
这个不错!
jufeng2309 2008-11-15
  • 打赏
  • 举报
回复
http://www.diybl.com/course/6_system/linux/Linuxjs/20071210/91309.html
jufeng2309 2008-11-15
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 bshawk 的回复:]
找到ifcfg-ath0 配置文件,修改其中DEVICE=adm1即可!

Fedora中,ifcfg-xxx位于/etc/sysconfig/network-scripts下!

[/Quote]

这种方法就可以。
icwin 2008-11-15
  • 打赏
  • 举报
回复
我的是在uclinux下配置的,没有这个配置文件啊
bshawk 2008-11-14
  • 打赏
  • 举报
回复
找到ifcfg-ath0 配置文件,修改其中DEVICE=adm1即可!

Fedora中,ifcfg-xxx位于/etc/sysconfig/network-scripts下!

good luck!
Atheros AR8131 网卡驱动下载地址:(包括windows 驱动 和 Linux驱动) http://partner.atheros.com/Drivers.aspx Atheros AR9285无线网卡驱动,由开源项目MadWifi支持 在sourceforge搜索MadWifi可以找到: http://sourceforge.net/projects/madwifi/ 最新的Atheros无线网卡驱动主页: http://madwifi-project.org/ 对于新版本linux kernel 2.6.25之后(现在都是这个以上的内核),要用新的current版本。 http://snapshots.madwifi-project.org/madwifi-0.9.4-current.tar.gz In case you use kernel 2.6.25 or newer, you need to get this snapshot of the madwifi-0.9.4 branch instead of the v0.9.4 release! That snapshot is basically v0.9.4 plus compilation fixes for recent kernels. Atheros无线网卡驱动介绍: http://wireless.kernel.org/en/users/Drivers/Atheros AR9285无线网卡驱动 http://wireless.kernel.org/en/users/Drivers/ath9k Any distribution shipping a kernel >= 2.6.27 will have ath9k present but the ath9k driver on 2.6.32 is the oldest one recommended, anything older than that is completely unsupported. Below is a list of the minimal distribution requirements to either use ath9k from 2.6.27 or from compat-wireless, which lets you install newer drivers on older kernels. Ubuntu Intrepid (8.10) Fedora Core 10 openSUSE 11.1 Mandriva Linux 2009.0 (formally known as Mandrake Linux) ARCH Linux Gentoo Linux Red Flag Linux 7.0 (based on Fedora 10) RHEL5 2.6.18 kernel being tested When it went in ath9k was announced to have been merged into Linux-2.6.27-rc3 by Linus on Tue, 12 Aug 2008 19:33:16 -0700 (PDT), and consisted of 58.8% of the entire rc3 patch. Early distributions which picked it up OpenWrt became the first distribution to pick up ath9k and contribute to it.

4,436

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 内核源代码研究区
社区管理员
  • 内核源代码研究区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧