dimanche 8 novembre 2009
Configuration du routeur WIFI Routerboard 532
Ayant sous la main une carte Routerboard 532 (Mikrotik) inutilisée, il m'a semblé intéressant de monter un routeur WIFI basé sur OpenWrt.
Tout d'abord, il faut installer une carte mini-PCI WIFI. J'ai pu en récupérer une d'un routeur Netgear WGT634U. Celui intégre une carte Atheros AR5213 qui est bien supporté par OpenWrt.
L'installation de base de OpenWrt sur la carte RB532 est bien décrit sur le site d'OpenWrt. Le système est installé sur une carte CompactFlash de 1 GB.
Le support de la carte WIFI Atheros est à installer : ipkg install kmod-madwifi
Il faut ensuite éditer les fichiers de configuration.
/etc/config/wireless
config wifi-device wifi0
option type atheros
option channel 5
option hwmode 11g
option disabled 0
config wifi-iface
option device wifi0
option network lan
option mode ap
option ssid you_ssid
option encryption wep
option key your_WEP_key_in_hexa
/etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
config interface lan
option ifname eth1
option type bridge
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
#### WAN configuration
config interface wan
option ifname "eth0"
option proto pppoe
option username "your_ADSL_username"
option password "your_ADSL_password"
option keepalive 10
option mtu 1492
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire