I just released Solaris Atheros driver
ath 0.7(source and binary) to
OpenSolaris laptop community. The notable feature of this new version
is ad-hoc(IBSS) mode support. The released package consists of two
parts:
- net80211 module - 802.11 protocol kernel support
- ath v0.7 driver - Atheros driver
With ad-hoc mode support, now you can connect two laptops(PCs) together directly via wireless connection.
What's Ad-Hoc Network
Ad-hoc network is also referred to as Independent BSS(IBSS). Stations
in IBSS network communicate with each other directly. It's in contrast
to Infrastructure BSS (sometimes briefly called BSS), in which a
special node known as access point(AP) manages communication among
other nodes. Below is an illustration.
Figure 1 Independent and Infrastructure BSSMinimal configuration, flexibility and quick deployment make ad-hoc
networks suitable for emergency solution. One typical use is to create
an ad-hoc network for sharing data in a conference room to support the
meeting. When the meeting ends, the ad-hoc network is dissolved.
How to Configure
Ath 0.7 requires OpenSolaris build 68 or later version.
Firstly, download and install ath 0.7.
On the first laptop, create an IBSS with specific ESSID(wireless
network name) and WEP encryption. Even WEP is proved to be unsafe, it's
better than none.
# ifconfig ath0 plumb
# wificonfig -i ath0 setparam createibss=yes essid=mywifi encryption=wep wepkey1=1234567890
Currently,
dladm doesn't support IBSS mode. So please use
wificonfig to create and connect to an ad-hoc network.
On the second laptop, you'll find previously created ad-hoc network in scan results. connect to it as below.
# wificonfig scan
# wificonfig -i ath0 setparam essid=mywifi bsstype=ibss encryption=wep wepkey1=1234567890
Now the two computers are connected via ad-hoc network.
To get these two computers communicated with each other, manually setup IP address for each one as below:
# ifconfig ath0 192.168.xxx.xxx netmask + up
Ok, here you go.
Known Issue
Solaris IBSS doesn't support WPA yet. Also it's not on our todo list.
If it's an important feature for you, please drop a note to OpenSolaris
laptop community.
无线局域网(Wireless Local Area Network)指的是利用无线射频(RF)技术组建局域网。它包括红外(IrDA)、蓝牙(BlueTooth)、IEEE802.11等技术。IEEE802.11也常常被称为Wi-Fi(Wireless Fidelity)。本文将主要介绍Solaris对IEEE802.11的支持。
相比Solaris 10而言。OpenSolaris的一个新增特性就是添加了对WLAN的支持。这包括:
- 核心中添加了对IEEE802.11协议的支持
- 一组足以覆盖当前流行的IEEE802.11无线网卡的驱动程序
- GUI及命令行配置工具
[
Read More]