Many consumer devices (wireless routers to connect your internal LAN to the Internet for example) are shipped with security features such as encryption turned off. We recommend that you enable encryption in these devices rather than turn off encryption when creating a wireless network.
To connect using no encryption or authentication, type:
ifconfig abc0 ssid "network name" -nwkey
The -nwkey option disables WEP encryption and also deletes the temporary WEP key.
Once you've entered the network name, the 802.11 network should be active. You can verify this with ifconfig. In the case of ad hoc networks, the status will be shown as active only if there's at least one other peer on the (SSID) network:
ifconfig abc0 abc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500%% ssid "network name" %% powersave off %% bssid 00:11:22:33:44:55 chan 11%% address: 11:44:88:44:88:44%% media: IEEE802.11 autoselect (OFDM36 mode 11g) %% status: active%%
Once the network status is active, you can send and receive packets on the wireless link.
You can also use wpa_supplicant to associate with a security-disabled Wi-Fi network. For example, if your /etc/wpa_supplicant.conf file can contain a network block as follows:
network = { ssid = "network name" key_mgmt = NONE }
you can then run:
wpa_supplicant -i abc0 -c/etc/wpa_supplicant.conf
You may also use wpa_cli to tell wpa_supplicant what you want to do. You can use either ifconfig or wpa_cli to check the status of the network. To complete your network configuration, see "Client in infrastructure or ad hoc mode" in the section on TCP/IP interface configuration.