Tag Info

Hot answers tagged

27

"Knowing the current minute" requires having an accurate clock. "Knowing the current hour" requires having an accurate clock and knowledge of which time zone currently contains the device. So, getting the minute right is easier than getting the minute and the hour. Set the time zone to where you're currently located. The device doesn't contain a GPS, so ...


7

No, it doesn't. But the Raspberry Pi draws about 2 watts at idle and with a little effort can be reduced even lower than that. So there's really not much point. As long as you run your car every ten days, you can keep the Pi on all the time with no issues. It might be worth the effort to rig a device to shut the Pi off if it remains on for a week without ...


7

Filesystem Size Used Avail Use% Mounted on rootfs 3.7G 1.6G 1.9G 46% / Mine has a few packages added, but roughly around 1.6gb - which is why a 2gb card is recommended as a minimum.


7

Bridges made easy: There is a project on sourceforge made just for your situation. http://sourceforge.net/projects/bridger/ It even comes as a deb package. With regard to 'dropping' packets: Did you check to see if iptables is set to default drop? sudo iptables --list should say "allow, allow, allow" for a box of this type. If that's the issue turn it ...


7

I assume you are using a PC linux or mac computer to perform the copy, not the raspberry pi itself. You will probably need to add a block size. I have seen one and four megs used for Raspberry pi disks by specifying bs=1M or bs=4M. I think block size is more important when writing the disk as large transfers are quicker than smaller ones. This does not set ...


7

You can do a chmod after you mounted the partition, but that wouldn't be persistent accross reboots. You should try this fstab line: /dev/sda1 /media/josiah vfat user,umask=0000 0 0 Or this mount options: mount -t vfat -ouser,umask=0000 /dev/sda1 /media/josiah That will make the mounted partition world readable and writable. If you need a ...


6

You should be able to add the two flags --disable-translate and --incognito chromium-browser --disable-translate --kiosk --incognito http://192.168.1.23/monitor.html Incognito mode is a funny way to make Chromium not worry about the last session when it restores from a crash. References: Disable Google Chrome session restore functionality Chrome command ...


6

Actually, you can decode MPEG2 on a Raspberry Pi without the decryption key. The difference is that without the key, you can only use software decoding, which makes real-time playback of HD content very challenging considering the Raspberry Pi's hardware (I've noted some dropped frames on mine). As per the Raspberry Pi Website, purchasing the license will ...


5

A systemd service file would look like this: (required parts in bold) [Unit] Description=Foo service [Service] ExecStart=/path/to/script.py # "Type=forking" or "Type=oneshot" may also be needed [Install] WantedBy=multi-user.target You can also make it start as a specified user, restart on crash, and so on. See systemd.exec(5) and systemd.service(5) for ...


5

People have built OpenVPN for BeagleBoard, so, in the worst case, you should be able to do something similar. The Raspberry has a lot of press, so it's possible there'll be pre-compiled packages available in the near future, also. I see this Fedora ARM package. I'm unfamiliar with the naming conventions for non-Intel builds, so I'm not sure if that fits, ...


5

Basically USB protocol requires one device to act as a Master, and others as Slaves. Master-master connections are not supported. Master devices typically have A-type connectors: computers, photo frames that support external USB media, etc. Slaves are your typical USB sticks, mice, etc. Master supplies power to slave over USB bus. To cloud the water, USB ...


5

You should still be able to boot up the Pi in Single User mode to get access to root. Using another computer, modify cmdline.txt and add single to the end of the line Then when you boot up the Pi from the SD card, it should automatically dump you to a root prompt which well allow you to update /etc/sudoers


4

Yes, you can. Put your SD card in another machine and don't mount it, then do dd if=/dev/sdX of=/path/to/some/file.img (where sdX is your card device) Just flip the parameters around if you want to restore.


4

I have not run into this problem myself, but I can venture to form an educated guess as to why this is happening: from the look of it, it appears xauth does not extend to the child process. In fact, I was unable to locate XAUTHORITY in the output of export -p on a Raspberry running Raspian. I was unable to establish for sure, by Googling around, ...


4

Incidentally, I was facing the same problem at the same time. Also wanted to run a headless server with Xvfb and VNC, not on RPi though. I found a working solution doing the following steps... apt-get install lubuntu-core xvfb x11vnc I figured out that all configuration options of lightdm.conf are documented in /usr/share/doc/lightdm/lightdm.conf.gz. So ...


4

anything in the /etc/bash.bashrc is run when a shell starts up (which doesnt have an xdisplay) - see What is .bashrc file? for more info. Try adding that line into the file that your desktop enviroment uses when it logs in the user. If you are using lxde, which I assume, http://wiki.lxde.org/en/Autostart and edit it to your specifiacitons: so it should ...


4

I had the same problem setting up openvpn over wifi on my raspberrypi. It turned out, that the flaw was wpa-roam. The wlan0 section in /etc/network/interfaces had to be changed to: allow-hotplug wlan0 iface wlan0 inet dhcp wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf The important part was replacing wpa-roam by wpa-conf. Background In my ...


4

According to Raspberry PI Power_Supply You are looking at a MicroUSB type B port. The image here would also support that point.


4

Usually when something doesn't behave according to plan when running through cron, but runs fine when you try it in a terminal, the problems are caused by one of two possible things: cron doesn't have the $PATH (or more generally, environment) that you are used to or expect. This can be solved to some degree by simply specifying the full path to ...


4

Edit the permissions for the mount directory. In your case, chmod 777 /media/josiah ought to do the trick quite nicely.


4

If you are using Debian on Raspberry Pi, then you need to edit /etc/resolv.conf nano /etc/resolv.conf then add the server IP of the openDNS nameserver 208.67.222.222 nameserver 208.67.220.220 Btw, if you have any concern about speed of the DNS you may want to take a look at this post


3

It is a low cost computer, you do whatever you want with it that you could with a low cost computer. If you need a new low cost computer, then buy it. Just as if you bought a new motherboard, you will likely need to a case for it too.


3

I believe that the default run level for the Raspberry Pi is 2, so the default settings should be OK. You can check if that's indeed the case by invoking who -r. The sequence number that you used (01) is quite low. This could be reason enough for the service not to start, if it depends on other services that have higher sequence numbers. I suggest that ...


3

Basic Email: Yes (though browser load is slow) Google Docs: Yes (though browser load is slow) Youtube: Kindof, but I wouldn't suggest it often Any Actual Games: No, unless you can compile Steam from Source, I don't think it supports ARM. Snake would work fine... The Raspberry Pi isn't really fit for use as a computer for those used to decent ...


3

I'd point you along the lines of Munin, but that's probably overkill for you. Instead, I'd suggest generating a ssh key-pair (if you do not have one already -- have a look in ~/.ssh/ for id_*.pub): SSH way You may monitor your Raspberry Pi's without typing a password every time by generating a ssh key pair and copying the public key to each of your ...


3

This hacked together script works for me for now: import string from evdev import InputDevice from select import select keys = "X^1234567890XXXXqwertzuiopXXXXasdfghjklXXXXXyxcvbnmXXXXXXXXXXXXXXXXXXXXXXX" dev = InputDevice('/dev/input/by-id/usb-HID_OMNIKEY_5127_CK_01010053423438303000835748112531-event-kbd') while True: r,w,x = select([dev], [], []) ...


3

You talk about it slowing the entire network and then just reference a ping to Google. There is a big difference between LAN and WAN. Assuming you are just having slowness over your WAN to external sites, have you ruled out that the Pi is downloading anything? It tends to download updates/install packages on a fresh install of many applications.


3

On your home router you should check for port forwarding There will be a table that has entries for host, port and some description. to just get it done : 1. check your IP address by looking at your router's WAN address. on the router config/port forwarding, forward all requests to port 22 ssh to your RPI' IP address. To test this just ssh to the ...


3

You seem to need ip forwarding. try cat /proc/sys/net/ipv4/ip_forward If it's 0 issue: echo 1 > /proc/sys/net/ipv4/ip_forward



Only top voted, non community-wiki answers of a minimum length are eligible