Skip to content

RF MODEM Access POINT

wifiBlocker EUROPE edited this page Jun 29, 2024 · 29 revisions

Prerequsites

Alpine Linux installed, Apache Server installed and CGI enabled

Packets: apk add --no-cache musl-dev apache2

apk add --no-cache openrc perl perl-dev make gcc

apk add --no-cache musl-dev -mandatory for next cpan commands

cpan -i Device::Modem

cpan -i CGI

cpan -i Device::SerialPort

rc-service apache2 start

rc-update add apache2

iBlocker *html and *cgi scripts copied to Alpine Linux, and LTE modem attached via USB cable.

Group

addgroup apache dialout

Reboot


httpd.conf

Add ExecCGI in line "Options Indexes FollowSymLinks ExecCGI" in httpd.conf

Uncomment below lines:

LoadModule cgid_module modules/mod_cgid.so

LoadModule cgi_module modules/mod_cgi.so

ScriptAlias /cgi-bin/ "/var/www/localhost/cgi-bin/"

in httpd.conf


Clone this wiki locally