Join an existing BSS network (i.e.: connect to an access point):
ifconfig iwi0 inet 192.168.0.20 netmask 0xffffff00
Join a specific BSS network with network name “
my_net”:
ifconfig iwi0 inet 192.168.0.20 netmask 0xffffff00 nwid my_net
Join a specific BSS network with 64 bits WEP encryption:
ifconfig iwi0 inet 192.168.0.20 netmask 0xffffff00 nwid my_net \
nwkey 0x1234567890
Join a specific BSS network with 128bits WEP encryption:
ifconfig iwi0 inet 192.168.0.20 netmask 0xffffff00 nwid my_net \
nwkey 0x01020304050607080910111213