| 订阅 | 在线投稿
分享
 
 
 

linux下Intel3945ABG安装无线网卡驱动

来源:互联网网民  宽屏版  评论
2008-05-21 09:45:32

1. 添加 atrpms 源

# gedit /etc/yum.repos.d/atrpms.repo

添加以下内容:

代码:

[atrpms]

Core $releasever - $basearch - ATrpms

baseurl=http://dl.atrpms.net/fc$releasever-$basearch/atrpms/stable

gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms

enabled=0

gpgcheck=1

安装 key:

# rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms

2. 安装驱动

# yum --enablerepo=atrpms install ipw3945-kmdl-`uname -r` ieee80211-kmdl-`uname -r`

3. 打开无线网卡

脚本:

代码:

#!/bin/bash

#

# ipw3945d Load/Unload Intel ipw3945 daemon

#

# chkconfig: 2345 09 90

# description: Load / Unload Intel ipw3945 daemon

#

### BEGIN INIT INFO

# Provides: ipw3945d

### END INIT INFO

# Source function library.

. /etc/init.d/functions

if [ ! -f /etc/sysconfig/network ]; then

exit 0

fi

case "$1" in

start)

echo -n "Starting ipw3945d:"

/sbin/ipw3945d > /dev/null 2>&1

echo

;;

stop)

echo -n "Stopping ipw3945d:"

killproc ipw3945d

echo

;;

status)

status ipw3945d

;;

restart)

cd "$CWD"

$0 stop

$0 start

;;

*)

echo $"Usage: $0 {start|stop|restart|status}"

exit 1

esac

exit 0

把上面的代码保存为 ipw3945d。

# mv ipw3945d /etc/init.d

# chmod +x /etc/init.d/ipw3945d

# chkconfig --level 5 NetworkManager on

# chkconfig --level 5 NetworkManagerDispatcher on

# chkconfig --level 5 ipw3945d on

# service NetworkManager start

# service NetworkManagerDispatcher start

# service ipw3945d start

4. 测试

# ifconfig

# iwlist scanning

完成

 
特别声明:以上内容(如有图片或视频亦包括在内)为网络用户发布,本站仅提供信息存储服务。
 
  1. 添加 atrpms 源   # gedit /etc/yum.repos.d/atrpms.repo   添加以下内容:   代码:   [atrpms]   Core $releasever - $basearch - ATrpms   baseurl=http://dl.atrpms.net/fc$releasever-$basearch/atrpms/stable   gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms   enabled=0   gpgcheck=1   安装 key:   # rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms   2. 安装驱动   # yum --enablerepo=atrpms install ipw3945-kmdl-`uname -r` ieee80211-kmdl-`uname -r`   3. 打开无线网卡   脚本:   代码:   #!/bin/bash   #   # ipw3945d Load/Unload Intel ipw3945 daemon   #   # chkconfig: 2345 09 90   # description: Load / Unload Intel ipw3945 daemon   #   ### BEGIN INIT INFO   # Provides: ipw3945d   ### END INIT INFO   # Source function library.   . /etc/init.d/functions   if [ ! -f /etc/sysconfig/network ]; then   exit 0   fi   case "$1" in   start)   echo -n "Starting ipw3945d:"   /sbin/ipw3945d > /dev/null 2>&1   echo   ;;   stop)   echo -n "Stopping ipw3945d:"   killproc ipw3945d   echo   ;;   status)   status ipw3945d   ;;   restart)   cd "$CWD"   $0 stop   $0 start   ;;   *)   echo $"Usage: $0 {start|stop|restart|status}"   exit 1   esac   exit 0   把上面的代码保存为 ipw3945d。   # mv ipw3945d /etc/init.d   # chmod +x /etc/init.d/ipw3945d   # chkconfig --level 5 NetworkManager on   # chkconfig --level 5 NetworkManagerDispatcher on   # chkconfig --level 5 ipw3945d on   # service NetworkManager start   # service NetworkManagerDispatcher start   # service ipw3945d start   4. 测试   # ifconfig   # iwlist scanning   完成
󰈣󰈤
 
 
 
>>返回首页<<
 
 热帖排行
 
 
 
静静地坐在废墟上,四周的荒凉一望无际,忽然觉得,凄凉也很美
©2005- 王朝网络 版权所有