Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: gpulido on March 02, 2014, 11:05:56 AM

Title: Hostapd package
Post by: gpulido on March 02, 2014, 11:05:56 AM
Hello,
It would be possible to have a tcz package for hostapd that includes the compilation from here:
http://learn.adafruit.com/setting-up-a-raspberry-pi-as-a-wifi-access-point/compiling-hostapd ?

I'm using the adafruit binary as it, but I have to add it to the filelist and I don't think this is a good way and a package should be better.

Thank you!

Gabriel
Title: Re: Hostapd package
Post by: gpulido on March 02, 2014, 02:32:22 PM
I've just created an extension for settings to install the hostapd file onto usr/local/bin.
Title: Re: Hostapd package
Post by: bmarkus on March 02, 2014, 10:36:48 PM
I will make hostapd in the next days
Title: Re: Hostapd package
Post by: bmarkus on March 04, 2014, 12:42:45 PM
hostapd posted to the repo
Title: Re: Hostapd package
Post by: gpulido on March 04, 2014, 01:29:51 PM
Hello,
Thank you very much. I will test it asap .
Gabriek
Title: Re: Hostapd package
Post by: gpulido on March 04, 2014, 02:10:48 PM
Hello I've just installed it and when I try to run with the following conf:

interface=wlan0
driver=rtl871xdrv
ssid=Pi_AP
hw_mode=g
channel=6
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_passphrase=Raspberry
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP

Hostapd claims that there is an invalid/unkwon driver 'rtl871xdrv'

The same conf with the binary from adafruit works.
Am I missing anything?

Gabriel
Title: Re: Hostapd package
Post by: bmarkus on March 04, 2014, 02:18:22 PM
Thanks for trying, I will review the build. It is the first try :)
Title: Re: Hostapd package
Post by: tinypoodle on March 04, 2014, 02:48:37 PM
It appears that "driver=rtl871xdrv" would be particular to a patched ancient version of hostapd from Realtek.

http://anarsoul.blogspot.com.es/2013/08/access-point-with-raspberry-pi-and.html?m=1
Title: Re: Hostapd package
Post by: gpulido on March 04, 2014, 02:57:43 PM
It seems so, thanks for sharing the link.

So, in order to make hostapd work with the 8192CU dongle the patched hostapd is the only way, isn't it?
Title: Re: Hostapd package
Post by: tinypoodle on March 04, 2014, 03:14:24 PM
Maybe, hardware is not a direct criterion, but driver in use is, see section "Requirements" here:

http://w1.fi/cgit/hostap/plain/hostapd/README

Title: Re: Hostapd package
Post by: gpulido on March 05, 2014, 12:03:35 AM
It seems that the only solution is to generate two diferent packages one for the normal hostapd and another for the "patched realtek compatible" version.

I can't think on a better solution here :(