apakah anda pernah memakai sistem operasi ubuntu? namun mempunyai kesulitan dalam hal setting wireless adhoc di ubuntu?
Mudah kan? selamat mencoba
Dari CLI misal:
=============
root@ITnewbie-Vostro1310:/home/itnewbie# service network-manager stop
root@ITnewbie-Vostro1310:/home/itnewbie# ip link set eth1 down
root@ITnewbie-Vostro1310:/home/itnewbie# iwconfig eth1 mode ad-hoc
===============
selanjutnya kita set nama essid kita:
=======================
root@ITnewbie-Vostro1310:/home/itnewbie# ifconfig eth1 up
misal kita kasih ip addr akses poin 192.168.1.1
========================
root@ITnewbie-Vostro1310:/home/itnewbie# ip addr add 192.168.1.1/24 dev eth1
ok mari kita liat:
root@ITnewbie-Vostro1310:/home/itnewbie# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:1c:23:56:0b:10
inet addr:xxxxxxxxxxxxx Bcast:xxxxxxxxxxxx Mask:255.255.255.0
inet6 addr: xxxxxxxxxxxxxxxxx Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7662 errors:0 dropped:0 overruns:0 frame:0
TX packets:7425 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6360429 (6.3 MB) TX bytes:1056156 (1.0 MB)
Interrupt:44 Base address:0xe000
eth1 Link encap:Ethernet HWaddr 00:1f:e1:46:96:61
inet addr:192.168.1.1 Bcast:0.0.0.0 Mask:255.255.255.0
inet6 addr: fe80::21f:e1ff:fe46:9661/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:3382
TX packets:0 errors:16 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:19
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:720 (720.0 B) TX bytes:720 (720.0 B)
=============
root@ITnewbie-Vostro1310:/home/itnewbie# service network-manager stop
root@ITnewbie-Vostro1310:/home/itnewbie# ip link set eth1 down
root@ITnewbie-Vostro1310:/home/itnewbie# iwconfig eth1 mode ad-hoc
===============
selanjutnya kita set nama essid kita:
=======================
root@ITnewbie-Vostro1310:/home/itnewbie# ifconfig eth1 up
misal kita kasih ip addr akses poin 192.168.1.1
========================
root@ITnewbie-Vostro1310:/home/itnewbie# ip addr add 192.168.1.1/24 dev eth1
ok mari kita liat:
root@ITnewbie-Vostro1310:/home/itnewbie# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:1c:23:56:0b:10
inet addr:xxxxxxxxxxxxx Bcast:xxxxxxxxxxxx Mask:255.255.255.0
inet6 addr: xxxxxxxxxxxxxxxxx Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7662 errors:0 dropped:0 overruns:0 frame:0
TX packets:7425 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6360429 (6.3 MB) TX bytes:1056156 (1.0 MB)
Interrupt:44 Base address:0xe000
eth1 Link encap:Ethernet HWaddr 00:1f:e1:46:96:61
inet addr:192.168.1.1 Bcast:0.0.0.0 Mask:255.255.255.0
inet6 addr: fe80::21f:e1ff:fe46:9661/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:3382
TX packets:0 errors:16 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:19
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:720 (720.0 B) TX bytes:720 (720.0 B)
Ok selanjutnya kita set password dengan menggunakan wpa:
misal kita kasih password: itnewbie123 buat password dengan wpa_passphrase
===========
root@ITnewbie-Vostro1310:/home/itnewbie# wpa_passphrase itnewbie1234567890
network={
ssid="ITnewbie"
#psk="1234567890"
psk=c2d332723db9d5b52c9e269cd55cf029217ab9f14616dcbafcc76c6d55cbfab4
}
=================
===============
root@ITnewbie-Vostro1310:/home/itnewbie# cat adhoc.conf
ap_scan=2
network={
ssid="mywisdom"
mode=1
frequency=2412
proto=WPA
key_mgmt=WPA-NONE
pairwise=NONE
group=TKIP
#psk="1234567890"
psk=c2d332723db9d5b52c9e269cd55cf029217ab9f14616dcbafcc76c6d55cbfab4
}
============
Kemudian jalankan dengan wpa supplicant:
root@ITnewbie-Vostro1310:/home/itnewbie# wpa_supplicant -c adhoc.conf -ieth1 -Dwext
Trying to associate with SSID 'mywisdom'
CTRL-EVENT-CONNECTED - Connection to 00:00:00:00:00:00 completed (auth) [id=-1 id_str=]
Associated with 6a:1f:41:13:25:0d
CTRL-EVENT-CONNECTED - Connection to 6a:1f:41:13:25:0d completed (reauth) [id=0 id_str=]
==============================
misal kita kasih password: itnewbie123 buat password dengan wpa_passphrase
===========
root@ITnewbie-Vostro1310:/home/itnewbie# wpa_passphrase itnewbie1234567890
network={
ssid="ITnewbie"
#psk="1234567890"
psk=c2d332723db9d5b52c9e269cd55cf029217ab9f14616dcbafcc76c6d55cbfab4
}
=================
===============
root@ITnewbie-Vostro1310:/home/itnewbie# cat adhoc.conf
ap_scan=2
network={
ssid="mywisdom"
mode=1
frequency=2412
proto=WPA
key_mgmt=WPA-NONE
pairwise=NONE
group=TKIP
#psk="1234567890"
psk=c2d332723db9d5b52c9e269cd55cf029217ab9f14616dcbafcc76c6d55cbfab4
}
============
Kemudian jalankan dengan wpa supplicant:
root@ITnewbie-Vostro1310:/home/itnewbie# wpa_supplicant -c adhoc.conf -ieth1 -Dwext
Trying to associate with SSID 'mywisdom'
CTRL-EVENT-CONNECTED - Connection to 00:00:00:00:00:00 completed (auth) [id=-1 id_str=]
Associated with 6a:1f:41:13:25:0d
CTRL-EVENT-CONNECTED - Connection to 6a:1f:41:13:25:0d completed (reauth) [id=0 id_str=]
==============================
sumber : http://it-newbie.blogspot.com
0 Comments on Tips Cara Setting Wireless Adhoc di Ubuntu :
:)) :)] ;)) ;;) :D ;) :p :(( :) :( :X =(( :-o :-/ :-* :| 8-} ~x( :-t b-( :-L x( =))
Post a Comment and Don't Spam!
Kalau sudah membaca posting, silakan tinggalkan komentar anda. mohon jangan berkomentar dengan kata - kata kasar dan menghina. berkomentarlah dengan sebaik-baiknya.