WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Hostapd package  (Read 3763 times)

Offline gpulido

  • Jr. Member
  • **
  • Posts: 57
Hostapd package
« on: March 02, 2014, 02:05:56 PM »
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

Offline gpulido

  • Jr. Member
  • **
  • Posts: 57
Re: Hostapd package
« Reply #1 on: March 02, 2014, 05:32:22 PM »
I've just created an extension for settings to install the hostapd file onto usr/local/bin.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Hostapd package
« Reply #2 on: March 03, 2014, 01:36:48 AM »
I will make hostapd in the next days
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Hostapd package
« Reply #3 on: March 04, 2014, 03:42:45 PM »
hostapd posted to the repo
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline gpulido

  • Jr. Member
  • **
  • Posts: 57
Re: Hostapd package
« Reply #4 on: March 04, 2014, 04:29:51 PM »
Hello,
Thank you very much. I will test it asap .
Gabriek

Offline gpulido

  • Jr. Member
  • **
  • Posts: 57
Re: Hostapd package
« Reply #5 on: March 04, 2014, 05: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

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Hostapd package
« Reply #6 on: March 04, 2014, 05:18:22 PM »
Thanks for trying, I will review the build. It is the first try :)
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Hostapd package
« Reply #7 on: March 04, 2014, 05: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
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline gpulido

  • Jr. Member
  • **
  • Posts: 57
Re: Hostapd package
« Reply #8 on: March 04, 2014, 05: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?

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Hostapd package
« Reply #9 on: March 04, 2014, 06: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

"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline gpulido

  • Jr. Member
  • **
  • Posts: 57
Re: Hostapd package
« Reply #10 on: March 05, 2014, 03: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 :(