Network Scripts (简体中文)
From ArchWiki
i18n |
---|
English |
简体中文 |
这个脚本任然在开发中随时都可能改变.
取得它们:
http://src.iphitus.org/netcfg-release/
或从[testing]仓库:
# pacman -Sy netcfg
Contents |
新特性
- 无线扫描 & 侦查
- Better scriptability
- 全部的WPA 和 WEP 支持
- More reliable wireless support
- Easier troubleshooting of network problems
- Ability to run commands, before/after the up and down of an interface
- PPP profiles support - Implemented, totally untested
-
Multiple profiles under one support -
Interface bonding - Persistent naming of network interfaces based on various criterion
- Easier expansion for future network setups due to modular design
- Improved suspend and resume support
- More verbose
- 更多的BUG被修正
Many of these features are not limited just to the profiles, as this is an overhaul of most of the network codebase.
例子
例子在 /etc/network.d/examples/
文档
文档正在写. Currently there exists basic man pages for netcfg, wireless and ethernet. Examples aplenty are also in /etc/network.d/examples/ and below.
Documentation to be written
Man Pages
- netcfg done
- netlib
- netcfg-menu
- wireless done
- ethernet done
- ppp
Tutorial/Guide
Testing
Theoretically these scripts should work for all cards, but due to driver implementation differences some hardware needs some assistance. To ensure that this is configured correctly, we will need to test the various hardware under at least two different configurations. One requiring a wpa network, the other a wep network.
If you have comments please include them below. If there's any drivers I've missed, please add them.
Test Case 1
Any WEP encrypted network should suffice. If a usable connection can be made successfully, then mark with a Y.
Test Case 2
Any WPA encrypted network should suffice. If a usable connection can be made successfully, then mark with a Y.
Results
Driver | wep | wpa |
---|---|---|
ipw2x00 | Y | Y |
ipw3945 | Y | Y |
iwl3945 | Y | Y |
iwl4965 | Y | Y |
rt2x00 (mac80211 based) | Y | Y |
rt2400, rt2500 (vendor) | Y | X* |
bcm43xx | Y | Y |
zd1211rw | Y | Y |
rtl8187 | Y | ? |
prism54 | Y | ? |
madwifi | Y | Y |
at76c503a | ? | ? |
acx | Y | ? |
hostap | ? | Y |
ndiswrapper* | Y | Y |
- rt2400/rt2500 use a custom WPA interface. As these are superceded by those of the rt2x00 project, this interface will not be implemented.
- at76c503a, rtl8187, acx, zd1211rw are uncommon and should not be considered blocking for release.
- ndiswrapper: Please state chipset & windows driver involved.
Comments
ipw2x00
iphitus: All works fine, no issues.
iwl3945
thayer: WPA1+TKIP is working fine, as is unencrypted WEP access (haven't tested encrypted WEP yet)
zenlord: Encrypted WEP is working fine
iwl4965
edubarr: WPA1+TKIP works perfectly. Unencrypted and 64-bit WEP also work fine, but 128-bit WEP fails.
smartcat99s: Unencrypted works perfectly. 128-bit WEP works, but I have to connect twice before the association happens.
ipw3945
renjith: worked well on WEP encrypted network (laptop nc6400)
MAC!EK: PS. ipw3945 works well with WPA, tested on two networks (http://bbs.archlinux.org/viewtopic.php?pid=297917#p297917)
diamondmind: works with WPA DHCP and static IP .. also works with unsecured/open networks by removing KEY= line from the config file forum link
rt2x00
iphitus: will test tomorrow, though other reports are always welcome.
madwifi
phydeaux: I don't have the time to reconfigure the network for wep, but wpa is working fine with madwifi
whitemagic: Works well with wpa, wep and no encryption on different networks
hyperwired: Works with wpa+dhcp on a TP-link TL-WN551G
bcm43xx
iphitus: Works beautifully with the native kernel driver! WPA and WEP both work without any problems. The exact model I tested with is BCM4310.
prism54
Blind: WEP works nicely, cannot test WPA.
rtl8187
kipi: WEP works fine. Will test WPA later... Tested with Netgear WG-111.
ndiswrapper
jansson: works nicely with Broadcom 4311 using the bcmwl5 driver. (only able to test wep at the moment)
nonorganon: everything functional with the ar5007eg, wpa, wep, open networks.
mighelone: works perfectly with D-Link DWL-G650+ with WEP, It can't works with WPA!
zd1211rw
wpa works: http://bbs.archlinux.org/viewtopic.php?pid=303135#p303135 wep works: http://bbs.archlinux.org/viewtopic.php?pid=306534#p306534
Contributing
Patches against latest svn are welcome at iphitus@gmail.com