Quantcast
Channel: PirateBox Forum - Raspberry Pi(rate)Box
Viewing all articles
Browse latest Browse all 1863

Re: raspberry pi connected to a wireless router using ethernet

$
0
0
This is possible, but the upload box may need adjustments. I also recommend to setup a fixed IP & hostname in your router for your Pi.

As the default configuration relies on wifi, you need to change some things in /opt/piratebox/conf/piratebox.conf:

DO_IFCONFIG="yes" => DO_IFCONFIG="no"
USE_APN="yes" => USE_APN="no"
USE_DNSMASQ="yes" => USE_DNSMASQ="no"

The quick CLI command to make all the changes in piratebox.conf is:
sed -e 's|DO_IFCONFIG="yes"|DO_IFCONFIG="no|g' \
 -e 's|USE_APN="yes"|USE_APN="no"|g' \
 -e 's|USE_DNSMASQ="yes"|USE_DNSMASQ="no"|g' \
 -i  /opt/piratebox/conf/piratebox.conf

After this, the Box should start with its normal services, even without a wifi adapter (possible, that a RPi config is neede, but I don't think so).

Give it a try, hope this helps.

Matthias

Viewing all articles
Browse latest Browse all 1863

Trending Articles