For running these routing protocols we need to configure our wireless card in ad-hoc mode. It must be a compulsory step for every running of routing protocol. The configuration steps were given below.
- Ensure that network manager has been stopped and then bring the interface down.
# /etc/init.d/Network-Manager stop
# ifconfig wlan0 down - Switch the card into ad hoc mode
# iwconfig wlan0 mode ad-hoc - Set the channel/frequency that you want to use.
# iwconfig wlan0 channel 11 - Bring the interface back up
# ifconfig wlan0 up - Add the name (ssid) for the network you want to create/join. Use single quotes if there is a space in the name.
# iwconfig wlan0 essid 'name' - Add a WEP encryption key
#iwconfig wlan0 key 1234567890 - If you want to do it manually, you will have to make up an IP address.
# ifconfig wlan0 10.0.0.1 netmask 255.255.255.0
No comments:
Post a Comment