Ad Links

 
 

Latest News

Ad-hoc connection


Ad-hoc is one of the features on a computer network that has a wireless communication device is called regular or wifi.
Ad-hoc itself is very useful if you want to connect the computer with the computer without cables and without the media as a concentrator. Because the media, especially the wireless wifi network, connecting computers to one another on a wireless network (Wifi) usually required a concentrator Access point (wireless router). However, by using ad-hoc features, we can connect several computers together without a concetrator. So that only needed a computer as a concentrator.

Ad-hoc, if at artikan more simple feature is a computer connected to the computer without using a cable and an Access point. Following configuration on a computer using the Linux operating system (here I use Slackware):
Open a terminal (console), enter as root and run the command iwconfiq
root@darkstar:~#iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

eth1 unassociated ESSID:off/any Nickname:”BL4CksL4CK”
Mode:Managed Channel=0 Access Point: Not-Associated
Bit Rate:0 kb/s Tx-Power=20 dBm Sensitivity=8/0
Retry limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

The command above works for menampilakan your wireless device
(appears to detect the wireless device as eth1)
Next, run the command:
root@darkstar:~#iwconfig eth1 mode ad-hoc
root@darkstar:~#iwconfig eth1 essid xray
root@darkstar:~#iwconfig eth1 channel 11
root@darkstar:~#ifconfig eth1 192.168.1.1 netmask 255.255.255.0 up

desc :
iwconfig mode ad-hoc
is the configuration for a wireless ad-hoc mode
ifconfig eth1 essid xray
is a command to give a name of essid
iwconfig eth1 channel 11
is a set of channels on the wifi device channel 11
ifconfig eth1 192.168.1.1 netmask 255.255.255.0 up
set the device eth1 with ip 192.168.1.1 netmask 255.255.255.0

For a client who wants to connect
(on the windows operating system)
1. Set the wifi connection to connect to the ad-hoc network called xray
2. then set the wifi device with ip 192.168.1.2 netmask 255.255.255.0
3. to ascertain whether or not already connected, run the command:
ping 192.168.1.1
if the exit as follows:
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=1.73 ms

then the computer has been connected to each other

(on the linux operating system)
1. Open a terminal console program
2. type:
Iwconfig wlan0 essid xray
ifconfig wlan0 192.168.1.2 netmask 255.255.255.0 up
3. to ensure apaka already connected or not, run the command:
ping 192.168.1.1
if the exit as follows:
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=1.73 ms

Tags: , , , , ,   Posted in Tutorial, computer

Leave a Reply