Preparations for PirateBox 1.1.4

Posted by Matthias 
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
Now, this forum is in read-only mode. You find details Details hereContinue on /r/PirateBox
Preparations for PirateBox 1.1.4
February 20, 2018 12:16PM
Hi folks,
beside the work on the PirateBox 1.2 release, I collected a bunch of minor fixes for a intermediate 1.1.4 release.
I am currently working on the build process for the RPi, which contains fixes as well and will hopefully release 1.1.4 next week.

If someone is interested in a beta test, please reply to this post.

best regards Matthias
Re: Preparations for PirateBox 1.1.4
February 20, 2018 05:41PM
If it'd be possible to get the wireless device I mentioned earlier to work I wouldn't mind testing it for you.
Re: Preparations for PirateBox 1.1.4
February 20, 2018 05:45PM
Hi,

the current CHANGELOG is

=== 1.1.4 ===
* [New] Removed legacy redirect.html, use /index.html only
* [New] install_piratebox.sh, avoid distribution of index files, if turned off.
* [New] mime.types: Adding gpx mime-type
* [New] [i8n] Spanish and Basque
* [New] [i8n] Russian translation
* [New] [RPi] Add all needed things to create a simple on/off button
* [Changed] [RPi] MotD generation reworked and more dynamically
* [Changed] [RPi] Run timesave-save function during shutdown
* [Changed] [RPi] Work with en_US.UTF-8 per default
* [Fix] diskusage: Fix wrong error message
* [Fix] lang-de ; fix grammar
* [Fix] [RPi] Fix wrong path in wifi client helper script
* [Fix] [RPi] Fix issue with diskusage generation & usb share
* [Fix] [RPi] Enable cronie for startup, which was missing
* [Fix] initd: minircd startup fix setuid
* [Fix] initd: Fix radvd path to an absolute path
* [Fix] WWW-Content, fix a syntax error which broke jQuery
* [Fix] Refresh kareha download URL, which changed in year 2015
* [Fix] diskusage: Adding missing </head> tag

The images for OpenWrt are located at [beta.openwrt.piratebox.de]
and those are the RPi images for testing:

piratebox_rpi_1.1.4-beta1-20-02-2018.img.zip
piratebox_rpi2_1.1.4-beta1-20-02-2018.img.zip

I already did a first test on OpenWrt. The freshly built images for RPi are currently copied over to the SD Card for testing.

Looking forward to some feedback,
best regards Matthias
Re: Preparations for PirateBox 1.1.4
February 20, 2018 05:47PM
Specific wifi adapter needs a lot of additional work- I have such ones for my own as well (WN722). I tried it several days without success... that is the reason why we have a wifi adapter recommendation list.

I can have look at the WN722v2, if I find extra time tomorrow

best regards Matthias
Re: Preparations for PirateBox 1.1.4
February 22, 2018 05:28PM
[www.raspberrypi.org] - apparently it uses a crappy realtek chipset which can be used with the rtl8188eu driver I'll test in a bit and see if I can get it working.
Please add support for the RTL8192EU chipset, because it's in the only version I could find of the TL-WN822N
Re: Preparations for PirateBox 1.1.4
February 24, 2018 03:26PM
I am trying to add the dkms based driver..
Thank you. It would be nice if we could use both the integrated WLAN adapter and a USB one at the same time, but that's not essential.
Re: Preparations for PirateBox 1.1.4
February 26, 2018 11:01AM
Hi,
well. I tried to get the adapter working as a AP for about one working day now:

- Tested the stageing driver in linux-raspberrpi kernel
$ uname -a
Linux alarmpi 4.14.21-1-ARCH #1 SMP Sat Feb 24 02:25:08 UTC 2018 armv6l GNU/Linux
=> Module does not provide the nl80211 compatible driver . Extra hostapd is needed
- Running with
=> /prebuild/hostapd/hostapd-8188eu-0.8-1-armv6h.pkg.tar.xz
- AP Starts, but shows no SSID , Power is set to 0 , then stops
- Default hostapd does not work.

- AUR Package 8188eu [aur.archlinux.org] does not build with the
RPi kernel

-- Next try:

[nikunjlahoti.wordpress.com]

using this driver [github.com]

- git clone [github.com]
- sudo dkms add rtl8188eu/
- sudo dkms build 8188eu/1.0
- sudo dkms install 8188eu/1.0

* Driver loads
- Tried default, hostapd-rtl871xdrv & hostapd-8188eu-0.8-1-armv6h.pkg.tar.xz without success

And I tried the recommended version of hostap here:
[github.com]

And I tested it with the staging driver at my notebook.



This realtek chip 8188eu based wifi adapters are absolutely worse in driver support. REALTEK gives sh*** about bringing the drivers in shape. The driver does not support the default Linux-WiFi interface, which makes you to install special hacked/work-around hostapd versions. And those like to not work quite well.

I can only recommend to stay away from 8188eu wifi adapters. Really.
Use google to find out which chip is inside that particular adapter, or simply send it back and get another one.

So, Sorry guys, no WN722N v2 Support

best regards Matthias

edit: I will edit the usb wifi adapter recommendation list



Edited 1 time(s). Last edit at 02/26/2018 11:01AM by Matthias.
Re: Preparations for PirateBox 1.1.4
February 26, 2018 11:58AM
An alternative is, that we are looking into the newer AC adapters .. and make use of one of them.

BTW: The other adapter listed in our "compatible wifi adpater" list, are still all available on amazon.com.


Anyway. I found some other smaller issues during reviewing the changes around the image creation & WiFi support. I have to rebuilt the complete set of RPi images..



best regards Matthias



Edited 1 time(s). Last edit at 02/26/2018 12:12PM by Matthias.
What about the 8192eu?
Still, an AC adapter would be cool, keep us updated
Re: Preparations for PirateBox 1.1.4
February 26, 2018 05:34PM
Try to avoid 8192eu as well.
The 8192cu will likely work out.

But the AC usb support won't come with 1.1.4 , which is already finished. I am doing the final tests for now.
Driver for 8188eu
May 15, 2018 09:58AM
The adapter is TP-LINK WN722N v3 (same as v2)
The driver from [github.com] is not working on recent linux kernels.
But my situation is a litle bit different. I run OpenWRT in virtualbox and I need this adapter to work in AP mode (for now no success).
I have downloaded official driver from TP-LINK
[www.tp-link.com]
I have edited Makefile to add WIFI_MONITOR to be 'y' and hostapd.conf : device_type=1-0050F204-1 to be "6-0050F204-1"
In this way under Debian with kernel 3.16 I was able to successfully compile and install the driver. Then on host machine hostapd works well and brings the adapter in AP mode.
What I need is help to compile this driver to be used in openwrt which is x86_64 variant running in virtualbox.
I have tested to compile the driver with kernel 4.9.0 in debian driver compiles, but modprobe gives error when insert module (insmod is working, but not survive reboot)
I have tested to compile the driver with kernel 4.14.0 in debian driver compiles, but modprobe gives error when insert module (insmod is working, but not survive reboot)
I have tested to compile the driver with kernel 4.15.0 in debian driver didn't compile.