免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1343 | 回复: 0
打印 上一主题 下一主题

iwconfig [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-04-17 16:48 |只看该作者 |倒序浏览

                #
# Original File
# -------------
#        http://www.Linux-Wireless.org/Install-HOWTO/madwifi.txt
#        http://www.Linux-Wireless.org/Install-HOWTO/Commands.iwconfig.txt ( this file )
#        http://www.Linux-Wireless.org/Install-HOWTO/NetGear.WG311.Install.RedHat.txt
#       
#       
# 20-Apr-04 amo Sepaarate out the commands
# 04-Jun-04 amo Moved to Linux-Wireless.org
# 30-Jun-04 amo Added ESSID, BSSID
#
#
#
# WEP Key Options
# ---------------
#        http://www.Linux-Wireless.org/Install-HOWTO/Commands.iwconfig.key.txt
#
#
# Operation mode : Ad-Hoc, Managed, Master, Repeater, Secondary, auto
# --------------
#        http://kbserver.netgear.com/kb_web_files/N100683.asp
#        Ad-hoc        - uses BSSID = Basic Service Set Identification
#        Managed - uses ESSID = Extended Service Set Identification
#
# # the node is the synchronisation master or act as an Access Point
# MODE="Master"
#
# # Ad-Hoc network composed of only one cell and without Access Point
# MODE="Ad-Hoc"
#
# # Managed node connects to a network composed of many Access Points
# MODE="Managed"
#
# # If yo want to sniff the wireless connections
# MODE="Monitor"
#
# # For wireless clients
# MODE="auto"
#
#
#
# Config Options
# ---------------
#        http://www.sodan.ecc.u-tokyo.ac.jp/~okayama/memo/atheros.shtml
#        http://www.atre.t.u-tokyo.ac.jp/seminars/mech_enshu/wirelesslan.html
#
#         http://www.wlanfr.net/forum.php?op=mess&pid=1336
#          iwconfig ath0 mode ad-hoc
#
#        http://www.sistemistiindipendenti.org/pdf/wireless_dlink.pdf
#
#        http://mtlin.org/blog/archives/000021.html
#          iwlist ath0 scan                list AP's the driver has scanned
#          iwconfig ath0 essid "foo"       set the ssid to foo
#          iwpriv ath0 mode 1              lock operation to 11a only
#          iwpriv ath0 mode 2              lock operation to 11b only
#          iwpriv ath0 mode 3              lock operation to 11g only
#          iwpriv ath0 mode 0              autoselect from 11a/b/g (default)
#
#          echo 1 > /proc/sys/net/ath/debug    enable console msgs from the driver
#          echo 1 > /proc/net/wlan0/debug      enable console msgs from the wlan module
#          echo hal > /proc/sys/net/ath/dump   dump h/w register state to the console
#
#
# Status
# ----------
#        iwconfig
#        iwlist
#        cat /proc/net/wireless
#
#
#
# /etc/modules.conf
# ----------------
#        ...
#        alias wlan0 hostap_pci
#        post-install wlan0 iwconfig wlan0 my-essid supernet mode managed \
#                rate auto auto key XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XX open
#        ...
#
#
#
# Configure the Connection
# ------------------------
#        iwlist ath0 scan
#
#        ifconfig ath0 up
#
#        iwconfig ath0 key XXXXXXXXXX
#
#        iwconfig ath0 ap MAC-Address
#       
#        iwconfig ath0 mode ad-hoc       
#        iwconfig ath0 channel 1               
#        iwconfig ath0 essid your_essid_here
#        iwconfig ath0 rate 54MB
#        ifconfig ath0 192.168.1.11
#
#
#        # iwconfig Options
#        ----------------
#        iwconfig ath0 mode ad-hoc channel 10 rate 54M auto essid special-ID
#               
#
#
# iwconfig
# --------
#        lo        no wireless extensions.
#        eth0      no wireless extensions.
#        ath0      no wireless extensions.
#                ( No wireless extensions ---> is a bad thing --> wireless card is NOT recognized )
#
#
# iwconfig Errors
# -----------------
#
# Error for wireless request "Set Mode" (8B06) :
#    SET failed on device ath0 ; Invalid argument.
# ath0      no private ioctls.
#
# Error for wireless request "Set Encode" (8B2A) :
#    SET failed on device ath0 ; Invalid argument.
#
#
# Find some supported channels
# ----------------------------
#        iwlist eth1 channel
#
#
# Find the local hotspots
# ------------------------
#        iwlist scan
#                lo        Interface doesn't support scanning.
#                eth0      Interface doesn't support scanning.
#                ath0      No scan results
#                        ( No scan results ---> is a bad thing )
#
#
# http://linux-ip.net/html/tools-route.html
#        route commands
#
#
# End of file
               
               
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u3/92500/showart_1902700.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP