LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 03-25-2024, 09:05 PM   #1
mw.decavia
Member
 
Registered: Feb 2024
Distribution: Slackware64-15 & Afterstep , oh my
Posts: 80

Rep: Reputation: 9
Is slackware arm64 a mature enough OS for this - ?


Raspberry pi4b w/ 8gb ram - Which I have been trying to configure as a "travel router".

Wan interface wifi using rtl8812au usb-wifi adapter. (Needs to be compiled from github repo)

Lan interface the rpi's built-in ethernet.
Iptables firewall.
Unbound dns server for local caching and DoT to upstream.

That is all it needs to do.

But I have had nothing but trouble trying to configure this in Raspbian Bookworm and in Bullseye.

Because ...
The rtl8812au driver will not compile on Raspbian. Forcing me to use the Pi's built-in wifi which has poor reception.
The network keeps going down (literally) every 2 minutes. Due to iptables firewall suddenly deciding to drop all packets, and needing to be manually flushed and restarted.
Unbound just stopping and eventually unloading it's service for no reason, and needing to be manually restarted.

But I have setup a sff PC to do this task in Slackware15-64, and it works. Except that sff PC is still not small enough for "travel".

Is Slackware arm64 a mature enough OS to do this task I need?
 
Old 03-26-2024, 01:08 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,940

Rep: Reputation: 7324Reputation: 7324Reputation: 7324Reputation: 7324Reputation: 7324Reputation: 7324Reputation: 7324Reputation: 7324Reputation: 7324Reputation: 7324Reputation: 7324
https://github.com/morrownr/8812au-20210820
based on this it is not the OS, but the wifi adapter itself which is unreliable.
I think if it works, it will work with any OS, the setup/configuration is more or less the same.
 
Old 03-26-2024, 05:51 AM   #3
mw.decavia
Member
 
Registered: Feb 2024
Distribution: Slackware64-15 & Afterstep , oh my
Posts: 80

Original Poster
Rep: Reputation: 9
All the severe unreliability problems I have had trying to do it with Raspian, were happening with stock Pi hardware - because the rtl8812au driver would not compile.

My question is, can Slackware arm64 run better with the stock Pi hardware?

The rtl8812au wifi did compile and works ok when connected to a PC with Slackware64-15.

Quote:
Originally Posted by pan64 View Post
https://github.com/morrownr/8812au-20210820
based on this it is not the OS, but the wifi adapter itself which is unreliable.
I think if it works, it will work with any OS, the setup/configuration is more or less the same.
 
Old 03-26-2024, 02:54 PM   #4
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,902

Rep: Reputation: 1052Reputation: 1052Reputation: 1052Reputation: 1052Reputation: 1052Reputation: 1052Reputation: 1052Reputation: 1052
You not need Unbound. Slackware ships with Dnsmasq that is perfect for this type of project you are working on.

Iptables does not cause:
Quote:
The network keeps going down (literally) every 2 minutes... suddenly deciding to drop all packets... manually flushed and restarted.
So that is likely an issue with Rasbperry Pi OS. Unrelated to Slackware.

Slackware ARM 15.0 is a 32 bit OS. It will be much slower and have the limitation to use 4GB of RAM. Not ideal for the Raspberry pi 4 with 8GB of RAM. Slackware Aarch64/Arm64 is still in development. The "current" branch is the development branch of Slackware.

With that said, I have a wireless router I made using a RockPro64 and generic PCIe realtek wireless chipset I bought for 15$. I do not see why the Raspberry Pi 4 would work differently, aside from having the requirement of a USB wireless adapter. Indeed, the built-in wifi on the Pi 4 is lacking. The Pi 4 has a large performance increase with Slackware-current Aarch64.

You should consider using this repository to grab the source code for your Wireless adapter: https://github.com/aircrack-ng/rtl8812au

It builds the 88XXau kernel module out of tree. So keep that in mind.

Build it manually. It works well on Slackware ARM 15.0 and -current. I use it regularly with the hostapd package for a wireless access point in conjunction with dnsmasq. Generally, Slackware-current is very stable and great for projects like this.
 
2 members found this post helpful.
Old 03-27-2024, 10:07 AM   #5
mw.decavia
Member
 
Registered: Feb 2024
Distribution: Slackware64-15 & Afterstep , oh my
Posts: 80

Original Poster
Rep: Reputation: 9
Thank you.

So 32-bit arm is stable but not good for a pi4b with 8gb ram.
And 64-bit arm is still a work under development?

But my user needs are for something that "just works" after I am done configuring it. Other than selecting from available wifi hotspots to connect to.

So I guess Slackware arm/arm64 would not be good for me.

I must wonder why Raspios was so glitchy on my pi4b even with stock hw. If Raspios was this bad for everyone, there would be some popular outcry. My pi4b might have hardware problems. Either the pi4b itself or the usb flash drive it is set to boot from. Flash drives are always going bad.

I will try again with a usb harddrive. If it is still so buggy, then it must be the pi4b itself vs linux, and I would give up trying to run it on linux. There is freebsd pretty stable for the arm64. If that does not work either, then it is the pi4b's hardware gone bad.

There are so many different builds of dnsmasq, with different functionality details, all being called "dnsmasq". Even the version numbers run different between distros. But most of them can not handle DoT encrypted connections to the upstream, and require dnscrypt as a dns proxy. So if I would be using something else anyways, I would rather just keep Unbound. It is a known factor and has good configuration options.


Quote:
Originally Posted by mralk3 View Post
You not need Unbound. Slackware ships with Dnsmasq that is perfect for this type of project you are working on.

Iptables does not cause:


So that is likely an issue with Rasbperry Pi OS. Unrelated to Slackware.

Slackware ARM 15.0 is a 32 bit OS. It will be much slower and have the limitation to use 4GB of RAM. Not ideal for the Raspberry pi 4 with 8GB of RAM. Slackware Aarch64/Arm64 is still in development. The "current" branch is the development branch of Slackware.

With that said, I have a wireless router I made using a RockPro64 and generic PCIe realtek wireless chipset I bought for 15$. I do not see why the Raspberry Pi 4 would work differently, aside from having the requirement of a USB wireless adapter. Indeed, the built-in wifi on the Pi 4 is lacking. The Pi 4 has a large performance increase with Slackware-current Aarch64.

You should consider using this repository to grab the source code for your Wireless adapter: https://github.com/aircrack-ng/rtl8812au

It builds the 88XXau kernel module out of tree. So keep that in mind.

Build it manually. It works well on Slackware ARM 15.0 and -current. I use it regularly with the hostapd package for a wireless access point in conjunction with dnsmasq. Generally, Slackware-current is very stable and great for projects like this.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Is Xen Mature Enough to Replace VMWare? LXer Syndicated Linux News 0 09-11-2009 01:21 AM
LXer: Run Window apps on Linux? It just takes a drop of mature wine LXer Syndicated Linux News 0 06-19-2008 02:50 AM
LXer: Do you have a mature testing process? LXer Syndicated Linux News 0 12-20-2006 06:54 PM
Is matrox driver mature enough? hyapadi Linux - Hardware 1 10-10-2005 03:41 PM
Mandrake is a mature Linux OS clotter Mandriva 6 02-10-2005 03:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 07:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration