Wifi with Mikrotik routerboard

Hi! :slight_smile:
I’ve a Raspberry Pi B+, with realtek wifi dongle and a problem.

I tried to configure wifi connection with no luck, I’ve a Mikrotik routerboard as access point, i connected to it a Raspbian with no problem, but with Volumio same parameters doesn’t works.

If I connect to a “standard” wifi router all works fine.

This is my interfaces file

[code]auto lo
iface lo inet loopback

auto wlan0
iface wlan0 inet dhcp
wireless-power off
wpa-ssid “myssid”
wpa-psk “mypassword”

auto eth0
iface eth0 inet dhcp[/code]

when I try ifup wlan0 I’ve this results

[code]octl[SIOCSIWAP]: Operation not permitted
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlan0/80:1f:02:af:2f:ad
Sending on LPF/wlan0/80:1f:02:af:2f:ad
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 18
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 16
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
No DHCPOFFERS received.
No working leases in persistent database - sleeping.[/code]

If I make a scan I see all my wifi networks

There are my wifi parameters on the router

  • Frequency: 2472 MHz
  • Band: 2GHz-B/G/N
  • Channel width: 20/40MHz Ce
  • Security: WPA2
  • Encryprion: aes ccm and tkip

Thanks for help… :slight_smile: