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

Re: Windows 8 Connectivity Issues

$
0
0
Hi,
there is not a known issue with windows 8,
but afaik the windows stuff has some sort of troubleshooting tool. Is this tool mentioning something?

regards Matthias

Re: UPnP Media Server

$
0
0
Ok, Cool.

But there is an free alternative for ace player ??
And can we sort files by catégories in folders ??

Thank you for your quick response Matthias

Re: Windows 8 Connectivity Issues

$
0
0
I'm sorry, I worded my post badly. What I meant to say was my laptop will connect to it, but when I open a browser the Welcome page won't show for me. It just gives the normal error saying that it can't load the page I'm visiting because of no Internet access. Well obviously there's no internet access from this thing, but just going to my homepage (Google) is supposed to redirect to the Piratebox Welcome page right? I also tried going directly to Piratebox.lan on another suggestion from Reddit, and that did not work either. Any idea why I could connect, but not get the welcome page?

BTW, I did run the built in diagnostics with Windows and all it told me was there was a problem with the access point, but nothing more, nor did it fix the problem.

NOTE: Interestingly enough, when I connect to the Piratebox Wifi network, I can still connect into the Raspberry Pi via PuTTY and use the terminal for commands. But for some reason I just can't get to the welcome page.

Re: Windows 8 Connectivity Issues

$
0
0
Thanks to help I got from the IRC channel (Matthias I think it was you I talked to, but I'm not sure), I got this working now. Turned out my Wifi adapter's DNS server settings got set to a manual setting. I just turned them back to automatic, and everything works just dandy now!

Thanks!

Re: WiFi AP with Edimax EW-7811Un

$
0
0
Hi, I'm French user so excuse my poor english.

Try this, it will disable to go to sleep :

sudo nano /etc/modprobe.d/8192cu.conf


Add to the end of file :
# Disable wifi sleeping
options 8192cu rtw_power_mgnt=0


Best regard, Fred

Record number of connections

$
0
0
Yo:

Very happy to see the new version of piratebox, works a treat with my setup.
I'd like to know though if there's a way of recording the number of connections you have over a period of time. Obviously recording nothing else, but just out of curiosity to see how many connections I get over a period of a day in a busy area.

Cheers

Re: Mising imageboard files in ArchLinuxARM-2014.10-PirateBox1.0.2_rpi_1.0.1.img.zip

$
0
0
Hi Matthias can you rebuild your image for Raspi Kareha with integrated torrent thank you in advance;)

Issues with shutting down

$
0
0
Hi, I've been using piratebox on my raspberry pi for a long time now, its really useful and I love it! However, there's been an "issue" for a while that's very annoying. To shut the piratebox off and not have to ssh in and set things up again every reboot I have to use a ssh connection to issue the quit command. This sounds like a small issue but it would be really really nice to be able to just shut the pi down by pulling the power. Is there something I've set up wrong? Or some way to change this?

File upload works on wlan but not directly

$
0
0
Hi

I have installed the Arch img of pirate box and got it running successfully, however there are some strange bugs I was wondering if you could help me find out why that is/fix them.

Firstly I am running P-box at work (for a hack day) and it was given an IP through the ethernet.

When I connect to it through the local address it was assigned (192.168.x.x) I can see the home page, the forum works fine, and the chat box works, however the file upload does not work. There is no upload button because it is pointing at piratebox.lan

Also there is another home page running on 192.168.77.1 but no other links work on that page.

When connected to the Wlan I think everything is ok but I would really like to have the option of using the assigned ip address as well.

Any help on this would be appreciated I am a newb to networking and have basic knowledge of linux - enough to follow instructions.

Re: File upload works on wlan but not directly

$
0
0
Also I would like to add that the address pirate box.lan does not work for me, and does not resolve to anything when I do a nslookup.

EDIT: And chat does not update automatically on the Wlan - but does work through the direct ip connection but it takes a long time 1-2minutes to update =/

how to recognize hard drive

$
0
0
I have a problem,
when I enter the third command of the article USB FAT-Storage (mount / mnt / usbdrive)
The console sends me this error message : mount: special device /dev/sda1 does not exist

my hard drive is the Samsung M3 Portable 1TB

Can you help me please ?

Thanks

Re: USB FAT-Storage

$
0
0
My issue that I came across with, when I tried to mount the usb drive following the instructions, it says the device is already mounted or busy.
Being that I thought it was probably already working, I continued with the steps all the way to the end.
It did make a Shared folder on the drive and the two txt files it said it would make, but when I look for the files I moved onto the usb drive through the page, the directory is still aimed at the shared folder on the SD card.

I am not sure what happened, but I can't get the USB drive to be the main drive I want it to be for all the file storage.

Re: USB FAT-Storage

$
0
0
Hi Jeff,
please provide a copy of the following ouput, that I can see what is going on:

cat /etc/fstab
mount
dmesg | grep sd
ls -l /dev/sd*
ls -l /mnt
ls -l /opt/piratebox
ls -l /opt/piratebox/share

Thanks,
best regards Matthias

Re: how to recognize hard drive

$
0
0
Hi,
can you post the output of the following commands please

dmesg | grep sd
mount
ls -l /dev/sd*

thanks and best regards
Matthias

Re: File upload works on wlan but not directly

$
0
0
Hi Jorlebar,

Yes, there is currently the "issue" that the upload box doesn't work in situations out of the normal PirateBox environment. As the Upload box is served by an additional daemon on a different port, we currently need to use an iframe that points to a specific address. This address usually can be resolved during the PirateBox's dns service and everything is fine.
When you run PirateBox in an environment, where the Box is only a dedicated device, the dns name "piratebox.lan" can't be resolved by the normal DNS server on the network. That ends up in the "hostname not found" message inside the iframe. Stupid, I know.
Quote

Also I would like to add that the address pirate box.lan does not work for me, and does not resolve to anything when I do a nslookup.
Yes, that doesn't work, while you are connected to your normal network. It doesn't know anything about the domain name "piratebox.lan"

If you want to access the uploadbox from your non-piratebox-network via ethernet you should enter the IP of the box followed by the Port:
Language: PHP
http://192.168.x.y:8080
That should bring you up the UploadBox
We are working on a new better integrated upload-interface, but in the lack of my JavaScript & HTML skills, there is currently no progress for a nice integration.

Quote

Also there is another home page running on 192.168.77.1 but no other links work on that page.
I don't understand that part. The webserver (lighttpd) is running on each network interface, which is available on the running Pi, and it should serve the same homepage everywhere.
If you connect via WLAN to the PirateBox, you get an IP in the segment 192.168.77.x and the PirateBox deliveres always the IP 192.168.77.1 for the asked domain.

EDIT: And chat does not update automatically on the Wlan - but does work through the direct ip connection but it takes a long time 1-2minutes to update =/
this is something, I understand, but I can't follow it. We already started a thread here. It seems this is a browser specific issue. I can't reproduce it and technically, there is no magic running on the backend.
When you post a message, that message is added to a storage file, which is used for generating a static html page (chat_content.html). This file is re-read by a JavaScript on the Browser.
Feel free to contribute in finding a solution in the other thread, because on every device I tested it, it worked. btw: the chat reload happens every 10 seconds.

Hope that helps a bit,
best regards Matthias

Re: Issues with shutting down

$
0
0
Quote

To shut the piratebox off and not have to ssh in and set things up again every reboot I have to use a ssh connection to issue the quit command.
Mh, what exactly do you need to re-setup?
Some PirateBox commands?
Start the PirateBox after the powerup?

or do you mean you have to login and enter the "halt/shutdown" command to shutdown the box?

Sorry, I'm not entirely clear about your post.

regards Matthias

Re: Record number of connections

$
0
0
Hi,
assuming you box has a configured cron, you can add the following line to your /etc/crontab file

*/5 * * * *     iw dev wlan0 station dump | grep -c Station  | wc -l >> /opt/piratebox/connection.log
That will save the amount current connected clients in the file /opt/piratebox/connection.log
every 5 minutes.

Then you have the values.
if you want to remove that file very startup, then change the path into /opt/piratebox/tmp/connection.log
- that folder is cleaned up every boot.

regards Matthias

Re: how to recognize hard drive

$
0
0
After
dmesg | grep sd

I have it :
[    0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708.boardrev=0x10 bcm2708.serial=0x813a156d smsc95xx.macaddr=B8:27:EB:3A:15:6D bcm2708.disk_led_gpio=47 bcm2708.disk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000  selinux=0 plymouth.enable=0 smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=noop rootwait
[    3.294810] sdhci: Secure Digital Host Controller Interface driver
[    3.302149] sdhci: Copyright(c) Pierre Ossman
[    3.350314] sdhci-pltfm: SDHCI platform and OF driver helper

After
mount

I have it :
/dev/mmcblk0p2 on / type ext4 (rw,relatime,data=ordered)
devtmpfs on /dev type devtmpfs (rw,relatime,size=218384k,nr_inodes=54596,mode=755)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_prio)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=21,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw)
configfs on /sys/kernel/config type configfs (rw,relatime)
/dev/mmcblk0p1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=44524k,mode=700)

And after
ls -l /dev/sd*

ls: cannot access /dev/sd*: No such file or directory

I have try with
ls -l /dev/sd

And with

ls -l /dev/sd

but I have the same error


Thanks

Re: how to recognize hard drive

$
0
0
Hi,
did you run the commands while the hard disk was connected?
Are you sure the hard disk has enough power to cycle up?

Usually some more messages appear on the "dmesg" output about how the device is recognized or partitioned.

regards Matthias

Personalisation

$
0
0
Complete newbie to Raspberry_pi and Piratebox, so forgive my ignorance!
Firstly, I was wondering if you can store an offline version of a website piratebox.
Secondly, is there a way of extracting chat and photos from piratebox to a master device simply?
Viewing all 1863 articles
Browse latest View live