Solaris OpenSolaris
Judy Chen's Blog
星期一 一月 07, 2008
Creating ad-hoc wireless connection with Solaris
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:

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.

ibss & bss
Figure 1 Independent and Infrastructure BSS

Minimal 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.

# wget http://opensolaris.org/os/community/laptop/downloads/ath-0.7-pkg.tar.gz
# gunzip -c ath-0.7-pkg.tar.gz | tar xf -
# pkgadd -d ./SUNWatheros SUNWatheros

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.


Posted at 01:44下午 一月 07, 2008 by judy in Wireless  |  评论[0]

星期一 十一月 26, 2007
什么是802.11n
802.11n简介[Read More]
Posted at 11:30上午 十一月 26, 2007 by judy in Wireless  |  评论[0]

星期二 九月 11, 2007
Solaris无线局域网(WLAN)
无线局域网(Wireless Local Area Network)指的是利用无线射频(RF)技术组建局域网。它包括红外(IrDA)、蓝牙(BlueTooth)、IEEE802.11等技术。IEEE802.11也常常被称为Wi-Fi(Wireless Fidelity)。本文将主要介绍Solaris对IEEE802.11的支持。

相比Solaris 10而言。OpenSolaris的一个新增特性就是添加了对WLAN的支持。这包括:
[Read More]
Posted at 09:48下午 九月 11, 2007 by judy in Wireless  |  评论[1]