If I remember correctly, you have to hit http://[yourRPi]/board/admin.pl - you should then be asked for your password and can delete stuff ;-)
↧
Re: Kareha management
↧
Re: Raspbian howto?
I don't know of any tutorial, but you can download the stuff and extract the /opt/piratebox directory. You will need all the dependencies (lighttpd, hostapd, etc.) and you'll have to get them to start by themselves with the correct config files (located at /opt/piratebox/conf)... I think it's possible if you are willing to put some work in it, and if you're familiar with raspbian ;-)
Good Luck!
Good Luck!
↧
↧
Re: Raspbian howto?
Hi,
this is the old howto for 0.6 [piratebox.aod-rpg.de] (out of my history of the wiki)
it applies to 95% to the PirateBox 1.0, but in the current PBx 1.0.0 release are some bugs that may cause some trouble.
Matthias
this is the old howto for 0.6 [piratebox.aod-rpg.de] (out of my history of the wiki)
it applies to 95% to the PirateBox 1.0, but in the current PBx 1.0.0 release are some bugs that may cause some trouble.
Matthias
↧
Re: Solving the bootup issue
Thanks for your time.
I get this response below after pi start up.
Running
Tried increasing probe time to no avail.
Using approved TP-Link TL-WN722N wireless adapter and followed setup instructions exactly, numerous times.
Any help or advise much appreciated. Keep up the awesome work BTW.
I get this response below after pi start up.
* piratebox.service - PirateBox Service Loaded: loaded (/etc/systemd/system/piratebox.service; enabled) Active: failed (Result: exit-code) since Wed 1969-12-31 17:00:10 MST; 44 years 6 months ago Process: 109 ExecStart=/opt/piratebox/init.d/piratebox_alt start (code=exited, status=255) Dec 31 17:00:10 alarmpi piratebox_alt[109]: Starting hostap... Dec 31 17:00:10 alarmpi piratebox_alt[109]: 0 Dec 31 17:00:10 alarmpi piratebox_alt[109]: Setting up wlan Dec 31 17:00:10 alarmpi piratebox_alt[109]: Bringing up wifi interface wlan0 Dec 31 17:00:10 alarmpi piratebox_alt[109]: wlan0: ERROR while getting interface flags: No such device Dec 31 17:00:10 alarmpi systemd[1]: piratebox.service: control process exited, code=exited status=255 Dec 31 17:00:10 alarmpi piratebox_alt[109]: ..failed Dec 31 17:00:10 alarmpi piratebox_alt[109]: failed setting up Interface Dec 31 17:00:10 alarmpi systemd[1]: Failed to start PirateBox Service. Dec 31 17:00:10 alarmpi systemd[1]: Unit piratebox.service entered failed state.
Running
systemctl start pirateboxand
systemctl enable pirateboxworks only until next start.
Tried increasing probe time to no avail.
Using approved TP-Link TL-WN722N wireless adapter and followed setup instructions exactly, numerous times.
Any help or advise much appreciated. Keep up the awesome work BTW.
↧
Re: Kareha management
hey i found the login site but i dont know the password is there a default one?
↧
↧
Re: Kareha management
ok i logged in by changint the password but i cant find any of the files on that site
↧
Really don't get how to set up the USB
Hey guys
I'm a massive amateur at anything to do with computers and managed to set up the piratebox but I want to be able to load all files on my 8GB usb and be able to edit what is on there by putting it in my computer after.
Can I even do this? If so how?
Thanks in advance
LifeHacker
I'm a massive amateur at anything to do with computers and managed to set up the piratebox but I want to be able to load all files on my 8GB usb and be able to edit what is on there by putting it in my computer after.
Can I even do this? If so how?
Thanks in advance
LifeHacker
↧
Re: Really don't get how to set up the USB
i cant even mount the usb cos i have no idea how or where to mount it to
↧
Re: Solving the bootup issue
Hi,
thanks for your feedback.
Can you please edit the file /opt/piratebox/conf/hostapd.conf
and add the following lines at the end:
After that, please power you raspberry off (using the command "halt"),
and then boot it and post again the output of
Those two lines should enable the debug output of hostapd and hopefully systemd catches that (and shows it later on)
Thanks,
Matthias
thanks for your feedback.
Can you please edit the file /opt/piratebox/conf/hostapd.conf
and add the following lines at the end:
logger_syslog=-1 logger_syslog_level=2
After that, please power you raspberry off (using the command "halt"),
and then boot it and post again the output of
systemctl status piratebox
Those two lines should enable the debug output of hostapd and hopefully systemd catches that (and shows it later on)
Thanks,
Matthias
↧
↧
Re: WiFi AP with Edimax EW-7811Un
Thanks for this!!!
I had some trouble at first, took me a couple hours. (Im not really a linux guru)
My problem was the last step of the tutorial, it said to edit /etc/default/hostapd and update a line. the file was empty for me but i added the line anyway. It said it would make it start on boot. It didnt work. after a lot of trial and error i ended up using systemd to get the wifi dongle to work at startup.
If anyone is as dumb as me and needs help hese how i did it.
Execute this command:
Add the following:
Execute these commands:
Thanks.
I had some trouble at first, took me a couple hours. (Im not really a linux guru)
My problem was the last step of the tutorial, it said to edit /etc/default/hostapd and update a line. the file was empty for me but i added the line anyway. It said it would make it start on boot. It didnt work. after a lot of trial and error i ended up using systemd to get the wifi dongle to work at startup.
If anyone is as dumb as me and needs help hese how i did it.
Execute this command:
nano /etc/systemd/system/wifi.service
Add the following:
[Unit] Description=Starts Wifi [Service] ExecStart=/usr/bin/hostapd -dd /etc/hostapd/hostapd/conf [Install] WantedBy=multi-user.target
Execute these commands:
systemctl start wifi systemctl enable wifi
Thanks.
↧
Re: WiFi AP with Edimax EW-7811Un
Okay sorry I forgot something. This is probobly a really terrible way of doing this but its all i could think of.
I forgot to mention that you need to set the service on a timer or else it wont work, im assuming this is because the os is not ready at the point it executes.
So assuming you did the steps above:
Execute the following:
Enter the following:
Execute the following:
Reboot and it should work. Sorry if this is a really backwards way of doing things, its all i could think of. Feel free to provide a better solution.
I forgot to mention that you need to set the service on a timer or else it wont work, im assuming this is because the os is not ready at the point it executes.
So assuming you did the steps above:
Execute the following:
systemctl disable wifi.service nano /etc/systemd/system/wifi.timer
Enter the following:
[Unit] Description=wifi timer [Timer] OnBootSec=1min Unit=wifi.service [Install] WantedBy=multi-user.target
Execute the following:
systemctl enable wifi.timer
Reboot and it should work. Sorry if this is a really backwards way of doing things, its all i could think of. Feel free to provide a better solution.
↧
Re: Solving the bootup issue
[root@alarmpi ~]# systemctl status piratebox
* piratebox.service - PirateBox Service
Loaded: loaded (/etc/systemd/system/piratebox.service; enabled)
Active: failed (Result: exit-code) since Wed 1969-12-31 17:00:10 MST; 44 years 6 months ago
Process: 114 ExecStart=/opt/piratebox/init.d/piratebox_alt start (code=exited, status=255)
Dec 31 17:00:09 alarmpi piratebox_alt[114]: Starting hostap...
Dec 31 17:00:09 alarmpi piratebox_alt[114]: 0
Dec 31 17:00:09 alarmpi piratebox_alt[114]: Setting up wlan
Dec 31 17:00:10 alarmpi piratebox_alt[114]: Bringing up wifi interface wlan0
Dec 31 17:00:10 alarmpi piratebox_alt[114]: wlan0: ERROR while getting interface flags: No such device
Dec 31 17:00:10 alarmpi piratebox_alt[114]: ..failed
Dec 31 17:00:10 alarmpi systemd[1]: piratebox.service: control process exited, code=exited status=255
Dec 31 17:00:10 alarmpi piratebox_alt[114]: failed setting up Interface
Dec 31 17:00:10 alarmpi systemd[1]: Failed to start PirateBox Service.
Dec 31 17:00:10 alarmpi systemd[1]: Unit piratebox.service entered failed state.
* piratebox.service - PirateBox Service
Loaded: loaded (/etc/systemd/system/piratebox.service; enabled)
Active: failed (Result: exit-code) since Wed 1969-12-31 17:00:10 MST; 44 years 6 months ago
Process: 114 ExecStart=/opt/piratebox/init.d/piratebox_alt start (code=exited, status=255)
Dec 31 17:00:09 alarmpi piratebox_alt[114]: Starting hostap...
Dec 31 17:00:09 alarmpi piratebox_alt[114]: 0
Dec 31 17:00:09 alarmpi piratebox_alt[114]: Setting up wlan
Dec 31 17:00:10 alarmpi piratebox_alt[114]: Bringing up wifi interface wlan0
Dec 31 17:00:10 alarmpi piratebox_alt[114]: wlan0: ERROR while getting interface flags: No such device
Dec 31 17:00:10 alarmpi piratebox_alt[114]: ..failed
Dec 31 17:00:10 alarmpi systemd[1]: piratebox.service: control process exited, code=exited status=255
Dec 31 17:00:10 alarmpi piratebox_alt[114]: failed setting up Interface
Dec 31 17:00:10 alarmpi systemd[1]: Failed to start PirateBox Service.
Dec 31 17:00:10 alarmpi systemd[1]: Unit piratebox.service entered failed state.
↧
Re: Solving the bootup issue
Hi Peter,
thank you... too bad, I hoped that would give more information on the first try.
Can you modfiy/add the lines & test again please. Now the snipped would be:
Thanks Matthias
thank you... too bad, I hoped that would give more information on the first try.
Can you modfiy/add the lines & test again please. Now the snipped would be:
logger_syslog=-1 logger_syslog_level=1 logger_stdout=-1 logger_stdout_level=1
Thanks Matthias
↧
↧
Re: Solving the bootup issue
[root@alarmpi ~]# systemctl status piratebox
* piratebox.service - PirateBox Service
Loaded: loaded (/etc/systemd/system/piratebox.service; enabled)
Active: failed (Result: exit-code) since Wed 1969-12-31 17:00:10 MST; 44 years 6 months ago
Process: 114 ExecStart=/opt/piratebox/init.d/piratebox_alt start (code=exited, status=255)
Dec 31 17:00:09 alarmpi piratebox_alt[114]: Starting hostap...
Dec 31 17:00:09 alarmpi piratebox_alt[114]: 0
Dec 31 17:00:09 alarmpi piratebox_alt[114]: Setting up wlan
Dec 31 17:00:09 alarmpi piratebox_alt[114]: Bringing up wifi interface wlan0
Dec 31 17:00:10 alarmpi piratebox_alt[114]: wlan0: ERROR while getting interface flags: No such device
Dec 31 17:00:10 alarmpi piratebox_alt[114]: ..failed
Dec 31 17:00:10 alarmpi systemd[1]: piratebox.service: control process exited, code=exited status=255
Dec 31 17:00:10 alarmpi piratebox_alt[114]: failed setting up Interface
Dec 31 17:00:10 alarmpi systemd[1]: Failed to start PirateBox Service.
Dec 31 17:00:10 alarmpi systemd[1]: Unit piratebox.service entered failed state.
* piratebox.service - PirateBox Service
Loaded: loaded (/etc/systemd/system/piratebox.service; enabled)
Active: failed (Result: exit-code) since Wed 1969-12-31 17:00:10 MST; 44 years 6 months ago
Process: 114 ExecStart=/opt/piratebox/init.d/piratebox_alt start (code=exited, status=255)
Dec 31 17:00:09 alarmpi piratebox_alt[114]: Starting hostap...
Dec 31 17:00:09 alarmpi piratebox_alt[114]: 0
Dec 31 17:00:09 alarmpi piratebox_alt[114]: Setting up wlan
Dec 31 17:00:09 alarmpi piratebox_alt[114]: Bringing up wifi interface wlan0
Dec 31 17:00:10 alarmpi piratebox_alt[114]: wlan0: ERROR while getting interface flags: No such device
Dec 31 17:00:10 alarmpi piratebox_alt[114]: ..failed
Dec 31 17:00:10 alarmpi systemd[1]: piratebox.service: control process exited, code=exited status=255
Dec 31 17:00:10 alarmpi piratebox_alt[114]: failed setting up Interface
Dec 31 17:00:10 alarmpi systemd[1]: Failed to start PirateBox Service.
Dec 31 17:00:10 alarmpi systemd[1]: Unit piratebox.service entered failed state.
↧
Re: Solving the bootup issue
Thanks.
I applied the same changes and get the same feedback as Peter (above).
For the record I get the same response with not only the TP-Link TL-WN722N but also the WIPI (FCC ID: OYR-COMFAST88). Both are listed as known to be working. I just wondered what might be different in our cases here where the setup is working.
I applied the same changes and get the same feedback as Peter (above).
[root@alarmpi ~]# systemctl status piratebox * piratebox.service - PirateBox Service Loaded: loaded (/etc/systemd/system/piratebox.service; enabled) Active: failed (Result: exit-code) since Wed 1969-12-31 17:00:10 MST; 44 years 6 months ago Process: 107 ExecStart=/opt/piratebox/init.d/piratebox_alt start (code=exited, status=255) Dec 31 17:00:10 alarmpi piratebox_alt[107]: Starting hostap... Dec 31 17:00:10 alarmpi piratebox_alt[107]: 0 Dec 31 17:00:10 alarmpi piratebox_alt[107]: Setting up wlan Dec 31 17:00:10 alarmpi piratebox_alt[107]: Bringing up wifi interface wlan0 Dec 31 17:00:10 alarmpi piratebox_alt[107]: wlan0: ERROR while getting interface flags: No such device Dec 31 17:00:10 alarmpi piratebox_alt[107]: ..failed Dec 31 17:00:10 alarmpi systemd[1]: piratebox.service: control process exited, code=exited status=255 Dec 31 17:00:10 alarmpi piratebox_alt[107]: failed setting up Interface Dec 31 17:00:10 alarmpi systemd[1]: Failed to start PirateBox Service. Dec 31 17:00:10 alarmpi systemd[1]: Unit piratebox.service entered failed state.
For the record I get the same response with not only the TP-Link TL-WN722N but also the WIPI (FCC ID: OYR-COMFAST88). Both are listed as known to be working. I just wondered what might be different in our cases here where the setup is working.
↧
Re: New Raspberry Pi(rate)Box - image is available
I am more than happy to provide you with unlimited hosting from my account. Let me know if this is ok and I'll provide you with the link.
↧
Re: Kareha management
You have to configure some stuff in the config.pl file (in the same directory as all the other board stuff)
- What files do you mean?
- What files do you mean?
↧
↧
Re: Really don't get how to set up the USB
Basically, you'll have to:
1. Plug in the USB device
2. Wait a few seconds
3. Enter the command
4. Enter the command
5. Mount it using (something like)
You might have to change the syntax on any of those commands, or google "how to mount usb flash on arch linux" or alike
Good luck! ;-)
1. Plug in the USB device
2. Wait a few seconds
3. Enter the command
lsusbAnd see if your device is listed, if yes, go to 4, if no...well, that's another problem
4. Enter the command
dmesg | tailAnd find the device name associated with the usb (something like /dev/sda1)
5. Mount it using (something like)
mkdir /mnt/usb mount /dev/sda1 /mnt/usb
You might have to change the syntax on any of those commands, or google "how to mount usb flash on arch linux" or alike
Good luck! ;-)
↧
Re: WiFi AP with Edimax EW-7811Un
Oh, thanks for this!
I guess that /etc/default/hostapd is not in use, if it's some kind of configuration file you'll need to edit the /opt/piratebox/conf/hostapd.conf, because that's the one in use ;-)
I'll add that in my post, thanks a lot!
Edit: Took a look at the tutorial - What they are doing is getting hostapd to start at bootup with the correct config, we don't need to do that because it will be started by the piratebox service with /opt/piratebox/conf/hostapd.conf as config file ;-)
I guess that /etc/default/hostapd is not in use, if it's some kind of configuration file you'll need to edit the /opt/piratebox/conf/hostapd.conf, because that's the one in use ;-)
I'll add that in my post, thanks a lot!
Edit: Took a look at the tutorial - What they are doing is getting hostapd to start at bootup with the correct config, we don't need to do that because it will be started by the piratebox service with /opt/piratebox/conf/hostapd.conf as config file ;-)
↧
Re: Really don't get how to set up the USB
How can I connect a usb flash drive and use my 16gb sd card (os sd card) for the piratebox file sharing instead? Because I would need to expand the file system before I do that right? And I don't even know how to cd to the flash drive and cope the directory anyways.
↧