Hello everybody, im a new openwrt user, and as such, i am having some trouble setting things up on a MikroTik RouterBoard 532.
Here is the situation. I have installed openwrt without any problem on the rb532, everythhing is working as supposed (including the wireless card) after installing the right kernel modules and drivers, but i need to set the wireless card to act as an access point, but, no matter what i do, when i try to do that, i get the following error:
root@OpenWrt:/# iwconfig eth3 essid TECH mode ap
eth3: New link status: Disconnected (0002)
Error for wireless request "Set Mode" (8B06) :
invalid argument "ap".
root@OpenWrt:/#
If i set mode "ad-hoc" instead, everything just works, and i can connect to the wireless interface from my computer or my PDA without any problem.
Any help would be greatly appreciated, thanks in advance, Diego.
Here are some details of my setup
root@OpenWrt:/# lspci
00:00.0 Non-VGA unclassified device: Integrated Device Technology, Inc. Unknown
device 0000
00:02.0 Ethernet controller: VIA Technologies, Inc. VT6105 [Rhine-III] (rev 86)
00:03.0 Ethernet controller: VIA Technologies, Inc. VT6105 [Rhine-III] (rev 86)
00:04.0 Network controller: Intersil Corporation Prism 2.5 Wavelan chipset (rev 01)
root@OpenWrt:~# ifconfig
eth1 Link encap:Ethernet HWaddr 00:0C:42:09:C8:D7
inet addr:192.168.0.10 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:249 errors:0 dropped:0 overruns:0 frame:0
TX packets:297 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:28388 (27.7 KiB) TX bytes:112669 (110.0 KiB)
Interrupt:142
eth3 Link encap:Ethernet HWaddr 00:02:6F:43:CC:63
inet addr:192.168.0.10 Bcast:192.168.0.255 Mask:255.255.255.0
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)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:24 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:8726 (8.5 KiB) TX bytes:8726 (8.5 KiB)
root@OpenWrt:~# ipkg list_installed
base-files-rb532-2.6 - 10-9078 -
bridge - 1.0.6-1 -
busybox - 1.4.2-2 -
dnsmasq - 2.39-1 -
dropbear - 0.50-2 -
haserl - 0.8.0-2 -
hotplug2 - 0.9+r102-2 -
iptables - 1.3.7-1 -
kernel - 2.6.21.5-rb532-1 -
kmod-crypto - 2.6.21.5-rb532-1 -
kmod-hostap - 2.6.21.5-rb532-1 -
kmod-ieee80211 - 2.6.21.5-rb532-1 -
kmod-net-hermes - 2.6.21.5-rb532-1 -
kmod-net-hermes-pci - 2.6.21.5-rb532-1 -
kmod-net-prism54 - 2.6.21.5-rb532-1 -
kmod-ppp - 2.6.21.5-rb532-1 -
kmod-pppoe - 2.6.21.5-rb532-1 -
libgcc - 4.1.2-10 -
libpthread - 0.9.28-10 -
libupnp - 1.3.1-1 -
linuxigd - 1.0-1 -
mtd - 5 -
pciutils - 2.2.1-1 -
ppp - 2.4.3-8 -
ppp-mod-pppoe - 2.4.3-8 -
uclibc - 0.9.28-10 -
udevtrigger - 106-1 -
webif - 0.3-8 -
wireless-tools - 29-1 -
Done.
root@OpenWrt:~# uname -a
Linux OpenWrt 2.6.21.5 #2 Sun Sep 30 20:56:52 CEST 2007 mips unknown
root@OpenWrt:/# cat /etc/config/network
# Copyright (C) 2006 OpenWrt.org
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 eth3'
option proto static
option ipaddr 192.168.0.10
option netmask 255.255.255.0
option gateway 192.168.0.100
option dns 192.168.0.100