-
Notifications
You must be signed in to change notification settings - Fork 2
Check your /etc/config/network. Maybe you added custom modifications, so the initial piratebox setup messed something up. It should look alike
config interface 'loopback' option ifname 'lo' option proto 'static' option ipaddr '127.0.0.1' option netmask '255.0.0.0' config interface 'lan' option ifname 'eth0' option type 'bridge' option ipaddr '192.168.1.1' option netmask '255.255.255.0' option proto 'static'
If your router have more than one LAN Interface ( or a separate WAN Interface) you config may differ! You should ensure that you entered IP Adresses are not given twice on particular interface ( lan , wan). There should be no "list dns", "gateway" entrys left.
Have a look at the following files:
/opt/piratebox/bin/droopy (Landing-Page) /opt/piratebox/conf/piratebox.conf (Some parts of the landing page (text...etc.)) /opt/piratebox/chat (Stuff for chat, more webserver-like file handling)
After booting the piratebox and trying to upload anything, login and check if your usb device is mounted read-only.
# mount
Find the line with /dev/sda1 , if you can read a "ro" , than look at the last lines in
# dmesg
If you can read something with "vfat" or "EOL", maybe your USB device has a problem on the filesystem. Shutdown the PirateBox, and check the USB Device on your Computer if, the Filesystem is ok.