Thursday, 15 August 2013

Creating Wireless ad-hoc network in Debian/Ubuntu linux


        



Hello frndz....!!!
Today i am going to show you how to create a wireless ad-hoc network in your Debian machine

Step 1: changing wireless interface configuration

login as root :
sudo su root
and type the following commands:


iwconfig wlan0 mode Ad-hoc
iwconfig wlan0 essid your_net_name
 
The network created won't be encrypted,to add the encryption key check manual page for iwconfig:
       man iwconfig

Step 2: Set the IP addresses

ifconfig wlan0 192.168.0.1 netmask 255.255.255.0
 
IP address can be anything,but make sure you have the right subnet mask.
 
 
That's it...enjoy!! 


No comments: