Problems with WLAN access point

Placement, modules, components and accessories; the ones that exist and the the nice-to-be's
Post Reply
patrick
Posts: 10
Joined: Thu Jul 10, 2014 3:31 pm
Contact:

Problems with WLAN access point

Post by patrick » Sun Nov 16, 2014 8:04 pm

Hi,

I am trying to follow instructions to use RedPitaya as WLAN access point, but not sure why it does not work. Currently the output from

minicom -D /dev/ttyUSB0
Starting kernel ...

console [ttyPS0] enabled, bootconsole disabled
e0001000.serial: ttyPS1 at MMIO 0xe0001000 (irq = 82) is a xuartps
xdevcfg f8007000.ps7-dev-cfg: ioremap f8007000 to e0864000 with size 100
brd: module loaded
loop: module loaded
xspips e0006000.ps7-spi: master is unqueued, this is deprecated
xspips e0006000.ps7-spi: at 0xE0006000 mapped to 0xE0866000, irq=58
xspips e0007000.ps7-spi: master is unqueued, this is deprecated
xspips e0007000.ps7-spi: at 0xE0007000 mapped to 0xE0868000, irq=81
xqspips e000d000.ps7-qspi: master is unqueued, this is deprecated
xqspips e000d000.ps7-qspi: at 0xE000D000 mapped to 0xE086A000, irq=51
e1000e: Intel(R) PRO/1000 Network Driver - 2.2.14-k
e1000e: Copyright(c) 1999 - 2013 Intel Corporation.
libphy: XEMACPS mii bus: probed
xemacps e000b000.ps7-ethernet: pdev->id -1, baseaddr 0xe000b000, irq 54
usbcore: registered new interface driver rtl8192cu
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
ULPI transceiver vendor/product ID 0x0424/0x0007
Found SMSC USB3320 ULPI transceiver.
ULPI integrity check: passed.
xusbps-ehci xusbps-ehci.0: Xilinx PS USB EHCI Host Controller
xusbps-ehci xusbps-ehci.0: new USB bus registered, assigned bus number 1
xusbps-ehci xusbps-ehci.0: irq 53, io mem 0x00000000
xusbps-ehci xusbps-ehci.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
mousedev: PS/2 mouse device common for all mice
i2c /dev entries driver
at24 0-0050: 8192 byte 24c64 EEPROM, writable, 32 bytes/write
at24 0-0051: 8192 byte 24c64 EEPROM, writable, 32 bytes/write
xi2cps e0004000.ps7-i2c: 400 kHz mmio e0004000 irq 57
zynq-edac f8006000.ps7-ddrc: ecc not enabled
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
mmc0: SDHCI controller on e0100000.ps7-sdio [e0100000.ps7-sdio] using ADMA
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
TCP: cubic registered
NET: Registered protocol family 17
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
Registering SWP/SWPB emulation handler
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
Freeing init memory: 168K
mmc0: new high speed SDHC card at address e624
Starting rcS...
++ Mounting filesystems
mmcblk0: mmc0:e624 SU08G 7.40 GiB
mmcblk0: p1
++ Bringing up lo
usb 1-1: new high-speed USB device number 2 using xusbps-ehci
++ Bringing up wlan0
Successfully initialized wpa_supplicant
rfkill: Cannot open RFKILL control device
ioctl[SIOCSIWAP]: Operation not permitted
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
udhcpc (v1.22.1) started
Sending discover...
Sending discover...
Sending discover...
Sending discover...
Sending discover...
Sending discover...
Sending discover...
using static IP 192.168.1.100 netmask 255.255.255.0
No lease, failing
++ Bringing up eth0
udhcpc (v1.22.1) started
Sending discover...
Sending discover...
Sending discover...
Sending discover...
Sending discover...
Sending discover...
Sending discover...
using static IP 192.168.1.100 netmask 255.255.255.0
No lease, failing
++ Running all startup scripts
Starting logging: OK
Starting mdev...
Initializing random number generator... done.
Starting system message bus: done
Starting network...
ifup: interface lo already configured
Successfully initialized wpa_supplicant
rfkill: Cannot open RFKILL control device
ioctl[SIOCSIWAP]: Operation not permitted
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ctrl_iface exists and seems to be in use - cannot override it
Delete '/var/run/wpa_supplicant/wlan0' manually if it is not used anymore
Failed to initialize control interface '/var/run/wpa_supplicant'.
You may have another wpa_supplicant process already running or the file was
left by an unclean termination of wpa_supplicant in which case you will need
to manually remove this file before starting wpa_supplicant again.

ioctl[SIOCSIWAP]: Operation not permitted
Starting sshd: OK
Starting nginx ... done.
++ Starting Red Pitaya IP discovery
/opt/sbin/discovery version 0.92-378-d3751f9
Cannot access http://discovery.redpitaya.com/update.
Running user script from SD card ...
Feel free to add custom initialization commands here.

Red Pitaya GNU/Linux/Ecosystem version 0.92-378

redpitaya>
is

Nils Roos
Posts: 1441
Joined: Sat Jun 07, 2014 12:49 pm
Location: Königswinter

Re: Problems with WLAN access point

Post by Nils Roos » Sun Nov 16, 2014 8:16 pm

Hi Patrick
for AP support you need at least ecosystem version 0.92-388 (available for download and manual install here, instructions here).

patrick
Posts: 10
Joined: Thu Jul 10, 2014 3:31 pm
Contact:

Re: Problems with WLAN access point

Post by patrick » Mon Nov 17, 2014 9:47 am

Thanks! Ok, now I see, i took the latest spectrum package instead of the latest ecosystem zip file. Will retry later today.

patrick
Posts: 10
Joined: Thu Jul 10, 2014 3:31 pm
Contact:

Re: Problems with WLAN access point

Post by patrick » Thu Nov 20, 2014 8:46 pm

indeed works great with the latest ecosystem tarball

Post Reply
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie

Who is online

Users browsing this forum: No registered users and 23 guests