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

Re: Files gets removed after reboot

$
0
0
It seems that it is a bug from upload out of an android device.
The file is renames from tmp... to the original filename after everything is uploaded.

Re: WiFi AP with Edimax EW-7811Un

Re: Rasperry WiFi wont work after restart and won't find any external HDD’s or Flash Drives

$
0
0
Hello

So I at long last got my Raspberry PirateBox to work and boot up thanks to this post [forum.piratebox.cc]. Thanks Matthias!

My problem now is.

I think I have my USB 1tb HDD mounted.

My question is how to I get my file moved over from my 16gb SD cards which the OS is running off of now. and get the Raspberry to boot of the 1tb

I'm not very clued up on Linux but I got this far so can follow instructions.

Thanks

Re: Is there an Easy way to ADD (usb)-storage?

$
0
0
What I meant is this: - my sd card is 16GB. Used is ca. 2GB. I also have a 16 GB usb stick plugged in as vfat. But how can I take advantage of the 14 GB left - unused now - on the sd card?
O.K. the original subject contained the words usb-storage. I put that in between parenthesis now for the subject line.
I was thinking of this. Suppose it is possible to install the raspicam on the PirateBox and have it make a photo every 10 minutes or seconds. Then I would like to leave the photo's somewhere shared.

Tia,
pablok

install RSYNC (archlinux)

$
0
0
Today I tried this several times while the Pibox was connected by cable. And that was after the stupid mistake to try this while it worked as the PirateBox and then it has of course no internet connection....Although the viewable information in really not very clear about that.
Please advise how to install Rsync on the archlinux PirateBox.

pacman -S rsync
resolving dependencies...
looking for inter-conflicts...

Packages (1): rsync-3.1.0-2

Total Download Size: 0.22 MiB
Total Installed Size: 0.47 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages ...
error: failed retrieving file 'rsync-3.1.0-2-armv6h.pkg.tar.xz' from mirror.archlinuxarm.org : The requested URL returned error: 404 Not Found

Re: install RSYNC (archlinux)

$
0
0
Hi,
that has nothing todo with having not internet.
You need to update the package repository. run

pacman -Sy
then
pacman -S rsync

Matthias

Re: install RSYNC (archlinux)

$
0
0
Dear Matthias,
Thank you for your answer that pointed me in the right direction.

But I have to say I definitely needed a cable connection with my router to install rsync.
Below is the output in the terminal. The first part, before the ======= is without cable connection. The second part is with a cable connected.
-- Terminal output --
[root@alarmpi ~]# pacman -Sy
:: Synchronizing package databases...
error: failed retrieving file 'core.db' from mirror.archlinuxarm.org : Could not resolve host: mirror.archlinuxarm.org
error: failed to update core (download library error)
error: failed retrieving file 'extra.db' from mirror.archlinuxarm.org : Could not resolve host: mirror.archlinuxarm.org
error: failed to update extra (download library error)
error: failed retrieving file 'community.db' from mirror.archlinuxarm.org : Could not resolve host: mirror.archlinuxarm.org
error: failed to update community (download library error)
error: failed retrieving file 'alarm.db' from mirror.archlinuxarm.org : Could not resolve host: mirror.archlinuxarm.org
error: failed to update alarm (download library error)
error: failed retrieving file 'aur.db' from mirror.archlinuxarm.org : Could not resolve host: mirror.archlinuxarm.org
error: failed to update aur (download library error)
error: failed to synchronize any databases
error: failed to init transaction (download library error)
[root@alarmpi ~]# pacman -S rsync
resolving dependencies...
looking for inter-conflicts...

Packages (1): rsync-3.1.0-2

Total Download Size: 0.22 MiB
Total Installed Size: 0.47 MiB

:: Proceed with installation? [Y/n] Y
:: Retrieving packages ...
error: failed retrieving file 'rsync-3.1.0-2-armv6h.pkg.tar.xz' from mirror.archlinuxarm.org : Could not resolve host: mirror.archlinuxarm.org
warning: failed to retrieve some files
error: failed to commit transaction (download library error)
Errors occurred, no packages were upgraded.
synchronizing filesystem...
============================================
==== Met kabelverbinding/ with cable connected ======
[root@alarmpi ~]# pacman -Sy
:: Synchronizing package databases...
core 159.0 KiB 552K/s 00:00 [######################] 100%
extra 2.2 MiB 942K/s 00:02 [######################] 100%
community 2.4 MiB 949K/s 00:03 [######################] 100%
alarm 29.0 KiB 234K/s 00:00 [######################] 100%
aur 61.8 KiB 351K/s 00:00 [######################] 100%
[root@alarmpi ~]# pacman -S rsync
resolving dependencies...
looking for inter-conflicts...

Packages (1): rsync-3.1.1-2

Total Download Size: 0.24 MiB
Total Installed Size: 0.51 MiB

:: Proceed with installation? [Y/n] Y
:: Retrieving packages ...
rsync-3.1.1-2-armv6h 250.0 KiB 638K/s 00:00 [######################] 100%
(1/1) checking keys in keyring [######################] 100%
(1/1) checking package integrity [######################] 100%
(1/1) loading package files [######################] 100%
(1/1) checking for file conflicts [######################] 100%
(1/1) checking available disk space [######################] 100%
(1/1) installing rsync [######################] 100%
synchronizing filesystem...

Re: install RSYNC (archlinux)

$
0
0
Looks like it worked, when you have internet ;)

Re: WLAN with D-Link DWA-131

$
0
0
I have an Edimax 2.4 GHz USB 2.0 Wireless Adapter (EW-7811UN) and I used the above to enable my Wifi. All is now working as expected.

Thanks for the post!

Pi Vessel on the Raspberry

$
0
0
Hi! Pi Vessel is a new project based on the Raspberry platform.

This device is a small entry-level computer or an entertainment computer for people who don't want a lot of hassle to get up and running fast. It's great for kids or for people who want to watch TV and movies without a long setup time, downloading software, putting together a console, reading instructions, or fussing about with complex cables and gadgets. The Pi Vessel is simple, affordable, and kid proof.

All information about this device is on Kickstarter.
[www.kickstarter.com]

Re: Pi Vessel on the Raspberry

$
0
0
Interesting project, but why is it "Made in Germany" while the company is an american company and I only see eastern-europe names as team members?

Matthias

Upload issue using a USB flash pen

$
0
0
Hello,

I'm getting used to the Raspberry Pi(rate)Box (Raspberry B Rev. 2.0 or 2.1)

So as it is, it's everything ok.

Then I tried to use an USB flash drive. After having browsed this forum, I made the following changes.

In /opt/piratebox/share:

mv /opt/piratebox/share/Shared /opt/piratebox/share/Shared_old
ln -s /mnt/usb /opt/piratebox/share/Shared

The USB is mounted at boot since in /etc/fstab I added the following line:

/dev/sda1 /mnt/usb vfat user 0 0

And it's working fine except for the upload: it allows me to choose a file and, apparently, it is showing the upload process, but it is declaring that "There has been a problem".

I checked that in /opt/piratebox/conf/piratebox.conf

UPLOADFOLDER="$SHARE_FOLDER/Shared"

and in /etc/minidlna.conf

media_dir=/opt/piratebox/share/Shared

Since these variables point to the correct items, which may be the problem? Perhaps a permission problem? I don't believe so:

[root@alarmpi ~]# ls -l /mnt/
total 16
drwxr-xr-x 7 root root 16384 Dec 31  1969 usb


[root@alarmpi ~]# ls -l /opt/piratebox/share/
total 16
lrwxrwxrwx  1 root   root       9 Oct  8 08:23 Shared -> /mnt/usb/
drwxr-xr-x  2 nobody nogroup 4096 Oct  8 08:07 Shared_old
drwxr-xr-x 11 nobody nogroup 4096 Oct  8 06:49 board
-rw-rw-rw-  1 root   root      13 Oct  8 09:45 timesave_file
drwxr-xr-x  2 nobody nogroup 4096 Jun  5 06:34 tmp

At the moment I have no useful ideas...

Re: Upload issue using a USB flash pen

$
0
0
Hi,
yes it is.

exchange
user
with that
umask=0,noatime,rw,user

Then reboot and it should work.

Matthias

Re: Upload issue using a USB flash pen

$
0
0
Uh... yes, it's working :-)
Thanks Matthias
Andreas

USB FAT-Storage


All work, thanks

$
0
0
Hi I am Moor

Thanks for you help in the IRC, all work :D

Re: USB FAT-Storage

$
0
0
Builded a couple of boxes - it works perfectly :-)
Thanks
Andreas

Re: WiFi AP with Edimax EW-7811Un

$
0
0
I got my EW-7811Un working with this tutorial, however after about 20 mins, the system kicks the USB wifi dongle offline. Rebooting solves it. Does anyone know a fix for this, or if it is a driver problem?

Re: WiFi AP with Edimax EW-7811Un

$
0
0
jbtorras, plug it in any of the USB ports, the lower works fine for me.

wiretap, I'm sorry, I don't have that issue... however, I'll leave it on for some time to see what happens

Re: Is there an Easy way to ADD usb-storage?

$
0
0
Well, you can use those 14 GB in any way you see fit - put photos on it/have you raspicam take photos to a directory on the SD card and symlink that directory to a subfolder of you shared folder (which is placed on the USB i guess) - is that what you want?
Viewing all 1863 articles
Browse latest View live