About those modifications:
piratebox.conf:
DO_IFCONFIG="yes"
DO_IW="no"
USE_APN="no"
# The following can be set to no, too. Depends if the device shouldn't be a DHCP & DNS Server (no redirect to piratebox.lan)
USE_DNSMASQ="yes"
INTERFACE="eth0"
DNSMASQ_INTERFACE="eth0"
/etc/network/interfaces:
auto lo
iface lo inet loopback
iface eth0 inet **manual**
iface wlan0 inet manual
### disalbed for PirateBox
#allow-hotplug wlan0
#wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
#iface default inet dhcp
piratebox.conf:
DO_IFCONFIG="yes"
DO_IW="no"
USE_APN="no"
# The following can be set to no, too. Depends if the device shouldn't be a DHCP & DNS Server (no redirect to piratebox.lan)
USE_DNSMASQ="yes"
INTERFACE="eth0"
DNSMASQ_INTERFACE="eth0"
/etc/network/interfaces:
auto lo
iface lo inet loopback
iface eth0 inet **manual**
iface wlan0 inet manual
### disalbed for PirateBox
#allow-hotplug wlan0
#wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
#iface default inet dhcp