Home > Old Post dari Unilanet > Atheros WLAN PCI Card On FreeBSD

Atheros WLAN PCI Card On FreeBSD


Ngoprek WLAN PCI Card Atheros di FreeBSD.

Image

  • Pastikan WLAN PCI Atheros sudah terpasang dengan baik
  • By Default untuk BSD 5.xxx keatas anda sudah tidak perlu konfigurasi ulang Kernel# Wireless NIC cards

device          wlan                # 802.11 support
device          wlan_wep        # 802.11 WEP support
device          wlan_ccmp       # 802.11 CCMP support
device          wlan_tkip         # 802.11 TKIP support
device          an                  # Aironet 4500/4800 802.11 wireless NICs.
device          ath                 # Atheros pci/cardbus NIC’s
device          ath_hal            # Atheros HAL (Hardware Access Layer)
device          ath_rate_sample # SampleRate tx rate control for ath
device          awi                 # BayStack 660 and others
device          ral                  # Ralink Technology RT2500 wireless NICs.
device          wi                   # WaveLAN/Intersil/Symbol 802.11 wireless NICs.
#device         wl                  # Older non 802.11 Wavelan wireless NIC.

  • Tambahkan statement berikut pada /boot/loader.conf
  • radius# more /boot/loader.conf
    loader_logo=”beastiebw”
    wlan_wep_load=”YES”
    wlan_tkip_load=”YES”
    wlan_ccmp_load=”YES”
    wlan_xauth_load=”YES”
    wlan_acl_load=”YES”
    radius#
  • Reboott Mesin Anda

 

Setelah di reboot, pastikan kernel telah membaca hardware anda dengan mengetikkan

  • radius#dmesg

Perhatikan Tulisan yang tercetak tebal, menunjukkan hardware sudah dikenali dengan baik

Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-BETA3 #0: Mon Oct 30 22:15:05 UTC 2006
// <![CDATA[

var prefix = 'ma' + 'il' + 'to';
var path = 'hr' + 'ef' + '=';
var addy4040 = 'root' + '@';
addy4040 = addy4040 + 'opus' + '.' + 'cse' + '.' + 'buffalo' + '.' + 'edu';
document.write( '‘ );
document.write( addy4040 );
document.write( ” );
// ]]>
root@opus.cse.buffalo.edu
This email address is being protected from spam bots, you need Javascript enabled to view it
:/usr/obj/usr/src/sys/SMP
ACPI APIC Table: <PTLTD  Custom  >
Timecounter “i8254” frequency 1193182 Hz quality 0
CPU: Pentium III/Pentium III Xeon/Celeron (497.84-MHz 686-class CPU)
Origin = “GenuineIntel”  Id = 0x673  Stepping = 3
Features=0x387fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE>
real memory  = 268435456 (256 MB)
avail memory = 252960768 (241 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID:  1
cpu1 (AP): APIC ID:  0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:90:27:95:63:b9

rl0: <D-Link DFE-530TX+ 10/100BaseTX> port 0x1000-0x10ff mem 0xf4010000-0xf40100ff irq 17 at device 14.0 on pci0
miibus1: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus1
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:11:95:63:4e:f9
ath0: <Atheros 5212> mem 0xf4000000-0xf400ffff irq 16 at device 17.0 on pci0
ath0: Ethernet address: 00:0f:a3:73:84:9f          <<<———  Device WLAN PCI

 

Mustinya setelah masuk ke system anda telah dapat mengkonfigurasi interface WLAN;

 

radius# ifconfig
fxp0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
options=8<VLAN_MTU>
inet6 fe80::290:27ff:fe95:63b9%fxp0 prefixlen 64 scopeid 0x1
inet 192.168.1.20 netmask 0xffffff00 broadcast 192.168.1.255
inet6 3ffe:501:ffff:2::1 prefixlen 64
inet6 2001:ffff:0:2::2 prefixlen 64
ether 00:90:27:95:63:b9
media: Ethernet autoselect (none)
status: no carrier
rl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
options=8<VLAN_MTU>
inet6 fe80::211:95ff:fe63:4ef9%rl0 prefixlen 64 scopeid 0x2
ether 00:11:95:63:4e:f9
media: Ethernet autoselect (10baseT/UTP <full-duplex>)
status: active
ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet6 fe80::20f:a3ff:fe73:849f%ath0 prefixlen 64 scopeid 0x3
ether 00:0f:a3:73:84:9f
media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/54Mbps)
status: associated
ssid UNILANET channel 6 bssid 00:14:bf:bb:96:8b
authmode OPEN privacy OFF txpowmax 36 bmiss 7 protmode CTS burst
bintval 100

lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
inet 127.0.0.1 netmask 0xff000000
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ether a2:78:77:5a:79:34
priority 32768 hellotime 2 fwddelay 15 maxage 20
member: rl0 flags=3<LEARNING,DISCOVER>
member: fxp0 flags=3<LEARNING,DISCOVER>
radius#

 

Done

  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: