Tuesday, August 16, 2011

Ubuntu 11.04 as a VLAN

how to configure ubuntu 11.04 as a VLAN

this step by step instruction
apt-get install vlan

sudo modprobe 8021q

vconfig add eth0 100

nano /etc/network/interface

auto eth0.100
iface eth0.100 inet static
address 172.10.10.21
netmask 255.255.255.240

sudo ifup eth0.100

check configuration

ifconfig

the result is
root@kodok:/etc# ifconfig
eth0 Link encap:Ethernet HWaddr 00:1c:23:fa:a2:87
inet addr:172.20.20.162 Bcast:172.20.20.163 Mask:255.255.255.252
inet6 addr: fe80::21c:23ff:fefa:a287/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:87 errors:0 dropped:0 overruns:0 frame:0
TX packets:190 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9331 (9.3 KB) TX bytes:27504 (27.5 KB)
Interrupt:17

eth0.100 Link encap:Ethernet HWaddr 00:1c:23:fa:a2:87
inet addr:172.10.10.21 Bcast:172.10.10.31 Mask:255.255.255.240
inet6 addr: fe80::21c:23ff:fefa:a287/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:88 errors:0 dropped:0 overruns:0 frame:0
TX packets:136 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:7463 (7.4 KB) TX bytes:13686 (13.6 KB)

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:228 errors:0 dropped:0 overruns:0 frame:0
TX packets:228 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:17960 (17.9 KB) TX bytes:17960 (17.9 KB)

test connection

ping from pc to device
ping 172.10.10.23

root@kodok:/etc# ping 172.10.10.23
PING 172.10.10.23 (172.10.10.23) 56(84) bytes of data.
64 bytes from 172.10.10.23: icmp_req=2 ttl=255 time=1.57 ms
64 bytes from 172.10.10.23: icmp_req=3 ttl=255 time=1.52 ms
64 bytes from 172.10.10.23: icmp_req=4 ttl=255 time=1.47 ms
64 bytes from 172.10.10.23: icmp_req=5 ttl=255 time=1.62 ms
64 bytes from 172.10.10.23: icmp_req=6 ttl=255 time=1.58 ms
64 bytes from 172.10.10.23: icmp_req=7 ttl=255 time=1.61 ms
64 bytes from 172.10.10.23: icmp_req=8 ttl=255 time=1.50 ms
64 bytes from 172.10.10.23: icmp_req=9 ttl=255 time=1.52 ms
64 bytes from 172.10.10.23: icmp_req=10 ttl=255 time=1.56 ms

Sunday, December 19, 2010

Friday, March 19, 2010

Bingung Setting Wireless di Slackware 13

Slackware 13 sudah release, tapi kenapa ini wireless kok gak bisa searching AP ?
padahal udah di tambahin di /etc/rc.d/rc.inet1.conf wlano dgn ssid "wedus", eh kenapa gak mau keliatan juga ini AP.

Kalo di ubuntu khan ada gui yang bisa config langsung network. wah kalo dislackware pake apa yah.

eh ternyata ada kok itu aplikasi buat wifi under gui.
coba cek di dvd slackware di dibagian extra dan lihat folder wicd

dari console yang ada biasa gunakan

cd /media/SlackDVD/extra/wicd
kemudian installpaket tersebut dgn cara installpkg wicd.txz

bila aplikasi berhasil akan masuk ke menu Internet.
nah tinggal anda sesuaikan AP dan password nya

sekian dulu dah.

yoncrew

Sunday, October 18, 2009

Teach Me How To Dream

Robbie McAuley

I only see things black and white
Never shades of gray
My eye don`t work that way, no
I can`t imagine fantasies
They never cross my mind
Could be why I`m lonely time to time
Only you
Only you can reach me now
Can you teach me how

Teach me how to dream
Help me make a wish
If I wish for you
Will you make my wish come true
I`m a stranger here
Strange as it may seem
Take me by the heart
Teach me how to dream

You lift me up and give me hope
every single day
I never dreamed that I
Could feel this way
When I`m down
I know where I am gonna turn
I`ve got so much to learn

Teach me how to dream
Help me make a wish
If I wish for you
Will you make my wish come true
I`m a stranger here
Strange as it may seem
Take me by the heart
Teach me how to dream

And when I turn out the lights
I turn to you for my inspiration
Long as we`re together
You and me
We`re gonna dream forever

Teach me how to dream
Help me make a wish
If I wish for you
Will you make my wish come true
I`m a stranger here
Strange as it may seem
Take me by the heart
Teach me how to dream

Saturday, September 05, 2009

Tuesday, September 01, 2009

[hardware] Reset Factory Default Linksys WAP54G


Untuk Reset Factory Default Linksys WAP54G
1. Teken Tombol Reset sekitar 1 menit
2. Cabut Power Adaptor
3. Tombol Reset Masih di tekan
4. Colokan kembali power adaptor ke perangkat
5. default ip perangkat 192.168.1.245/24
6. pc / laptop di beri ip misal 192.168.1.200/24
7. coba lakukan ping ke 192.168.1.245 jika ada respone seperti di bawah ini berarti linksys sudah terreset
C:\Documents and Settings\yoncrew>ping 192.168.1.245
Pinging 192.168.1.245 with 32 bytes of data:
Reply from 192.168.1.245: bytes=32 time=28ms TTL=64
Reply from 192.168.1.245: bytes=32 time=1ms TTL=64
Ping statistics for 192.168.1.245:
Packets: Sent = 2, Received = 2, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 1ms, Maximum = 28ms, Average = 14ms

8. Gunakan IE or Firefox dan aksess ke http://192.168.1.245, user di kosongkan dan password diisi "admin"
9. Lalu edit sesuai configurasi yang anda inginkan

semoga dapat membantu anda

yoncrew

Wednesday, August 19, 2009

"YOU'RE THE STAR"


By ROD STEWART
dedicated to my lovely "uway"

You give me hope
When all around was lost
And I could see no point in trying
For I saw love passing by me
You came into my life
You came into my life

I look around
And what I had is gone
Now, I've finally found
What I've been missing
The road I travel is so clear
Since you came into my life
You came into my life

*(And)You're the star
My shinin' light
The mornin' dawnin'
When the sun comes up so bright
And the closer I get
Yes, it's true
You're the star
Above the storm
I wanna wrap you in my arms
And keep you warm
No, I don't wanna live without you
No, I've never found nothin' like you

You give me faith
The kind I though had gone
Somewhere down the line
I think I lost it
Now, I've found changes in my heart
Your faith in me is strong
Your faith in me is strong

(*Repeat 2 times)

You're the star
You're the star
You're the star, oh yeah
I've never found nothin' like you
No, I've never found nothin' like you ...