Hari ini gw nyobain install ubuntu netbook 10.10 di lappy gw, ternyata cd masternya error, yah mau gimana lagi dweh. Sebelumnya gw dualboot ubuntu sama jendela, pas masuk ubuntu ngga tau kenapa tiba-tiba error sendiri, abiis kemarin barusan ngebrute ssh pake toolnya gunsinger itu tuh, kepaksa deh install ulang ubuntunya. pas install ulang grubnya error, kebetulan bawa ubuntu server, sementara gw repair n akhirnya beres deh grub loadernya.
Beberapa hari ini gw lagi ngoprek squid+lusca+btrfs di ubuntu,walopun katanya sih masih kalah sama FreeBSD ya gpp lah, mengingat ada projek kedepan buat LTSP, jadi ngga butuh router tersendiri buat billing warnet, cukup modem adsl langsung masuk billing yang osnya ubuntu ini dan sekaligus jadi router, proxy sama service2 yang lainnya, makanya gw install ubuntu di lappy ane.
Nah karena di sini gw koneksinya pake wifi, gw pusing nih gimana caranya konekin ke accesspoint via console, kan gw cuman install ubuntu server cuy. Gw cari-cari di google akhirnya nemu tutorial cara konekin ke accesspoint via console. Pertama-tama install dulu wireless-tools. Sayang banget deh lappy gw kan tadi lum keinstall wireless-toolsnya,simpleaja,masuk ke windows gw dan kebetulan gw install ubuntu di virtual macihne gw, abis itu ambil file *.deb nya di /var/cache/apt/archives terus gw install di ubuntu server ane.
Oke, wireless-tools gw udah keinstall di lappy ane, sekarang cara ngoneksiin ke accesspointnya. Caranya:
- Pastiin dulu wirelessnya sudah terdeteksi ubuntu
jambrong@cache-box:~$ ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:e0:4c:80:15:df
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:26 Base address:0x2000
wlan0 Link encap:Ethernet HWaddr 00:22:43:80:35:16
inet addr:172.18.255.189 Bcast:172.18.255.255 Mask:255.255.0.0
inet6 addr: fe80::222:43ff:fe80:3516/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:46378 errors:0 dropped:0 overruns:0 frame:0
TX packets:43458 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:48156509 (48.1 MB) TX bytes:6642779 (6.6 MB)
2. Install wireless-tools
apt-get install wireless-tools
3. Scan SSID accesspoint yang aktip,
iwlist wlan0 scanning|more
jambrong@cache-box:~$ iwlist wlan0 scanning|more
wlan0 Scan completed :
Cell 01 - Address: 00:0F:3D:34:D9:B3
Channel:2
Frequency:2.417 GHz (Channel 2)
Quality=17/70 Signal level=-93 dBm
Encryption key:off
ESSID:"Free@Hotspot"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 22 Mb/s
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=0000001a2f2af122
Extra: Last beacon: 440ms ago
IE: Unknown: 000F5669636F6E526F6F6D4053696E7573
IE: Unknown: 010582848B962C
IE: Unknown: 030102
IE: Unknown: 0706455520010D14
IE: Unknown: 2A0100
IE: Unknown: 32080C1218243048606C
IE: Unknown: DD0A0800280101000200FF0F
4.Konekkan ke accesspointnya dengan SSID yang terdeteksi tadi. asumsi ssid yang terdeteksi adalah Free@Hotspot
iwconfig wlan0 essid "Free@Hotspot"
5.Kini wireless adapter nya udah konek ke accesspointnya, tinggal setting IP Addressnya. Karena disini hotspot gw udah ada layanan DHCPnya cukup ketikkan
dhclientwlan0
jambrong@cache-box:~$ sudo dhclient wlan0
[sudo] password for jambrong:
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/wlan0/00:22:43:80:35:16
Sending on LPF/wlan0/00:22:43:80:35:16
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15
DHCPOFFER of 172.18.255.189 from 172.18.0.1
DHCPREQUEST of 172.18.255.189 on wlan0 to 255.255.255.255 port 67
DHCPACK of 172.18.255.189 from 172.18.0.1
bound to 172.18.255.189 -- renewal in 1662 seconds.
DONE... :)
0 comments:
Post a Comment