Go to advanced search

by DBryant
Sun Jun 05, 2016 1:48 pm
Forum: Beginners
Topic: Error writing files : permission denied
Replies: 10
Views: 64399

Re: Error writing files : permission denied

A few more details might be helpful here. What is your current directory? You state its ./vars, who exactly created this directory and what's the full path, ownership and permissions expected to be? What is the output of 'ls -la' for example. Have you enabled the root account? And are you sure that ...
by DBryant
Sun Oct 26, 2014 10:11 am
Forum: Beginners
Topic: OMXPlayer Black Screen
Replies: 13
Views: 11884

Re: OMXPlayer Black Screen

Open a text editor of your choice and type in the lines of the commands you wish to run. The first line, aka as hash-bang, indicates the shell interpreter in which those commands will run. Note it is incorrect in the cut 'n' paste job entered, it should be (with a ! included): #!/bin/bash The bang b...
by DBryant
Thu Jan 16, 2014 9:23 am
Forum: Troubleshooting
Topic: VLC Camera Streaming with cron job
Replies: 2
Views: 2407

Re: VLC Camera Streaming with cron job

There is no guaranteed graphical environment or TTY when the cron job is executed. After a quick Google (running vlc in cron) using vlc with "-I http" is required. You could see if this is indeed the case. There are numerous other thoughts on the subject like setting a DISPLAY but the outcome is rar...
by DBryant
Thu Jan 16, 2014 8:55 am
Forum: Troubleshooting
Topic: Crontabs not working
Replies: 25
Views: 8994

Re: Crontabs not working

The script appears to be a note in a forum - nothing wrong with that per se but are you sure you've copied it correctly? Have you set the permissions for the script to be execuable? Have you tried running the script from the command line? As the user you are attempting to run under cron? So if you u...
by DBryant
Wed Jan 15, 2014 4:41 pm
Forum: Troubleshooting
Topic: Crontabs not working
Replies: 25
Views: 8994

Re: Crontabs not working

It would be good if you give some background to what you have installed and what measures you have already carried out to get things functioning. For example, you could list your crontab. Have you verified that this is functioning? Have you replaced the script with something simpler to ensure that c...
by DBryant
Thu Jan 09, 2014 9:30 am
Forum: Beginners
Topic: Can't run pygame script before starting x.
Replies: 6
Views: 1232

Re: Can't run pygame script before starting x.

The key point is that a graphical environment is required. This could be X11, Qt or whatever but a library of graphical primitives will be required to write into the framestore for that graphical interface. Any program, be it Python, C/C++ as examples, may have one or more bindings of these graphica...
by DBryant
Wed Jan 08, 2014 4:30 pm
Forum: Java
Topic: STICKY: Integrating NetBeans for RPi Java Development
Replies: 23
Views: 36082

Re: Integrating NetBeans for Raspberry Pi Java Development

From the command line the .ssh directory would be created when you create the keys for the user, for example with the command: ssh-keygen -t rsa This will create the .ssh directory and create public and private keys. All permissions will be set appropriately. Or you could: cd ~ mkdir .ssh chmod 700 ...
by DBryant
Tue Jan 07, 2014 9:15 am
Forum: Beginners
Topic: Can the pi output on this tft
Replies: 3
Views: 454

Re: Can the pi output on this tft

Presumably you forgot to add a link to the display you are thinking of using!
by DBryant
Tue Jan 07, 2014 9:01 am
Forum: Beginners
Topic: Where are newly installed packages downloaded
Replies: 10
Views: 1205

Re: Where are newly installed packages downloaded

You might be also try using the dpkg command to determine details of the contents of any package. For example (I've abbreviated to output): dpkg -c curl_7.19.7-1ubuntu1.5_i386.deb drwxr-xr-x root/root 0 2013-12-06 13:37 ./ drwxr-xr-x root/root 0 2013-12-06 13:37 ./usr/ drwxr-xr-x root/root 0 2013-12...
by DBryant
Mon Jan 06, 2014 9:52 am
Forum: Beginners
Topic: Camera Module
Replies: 1
Views: 3274

Re: Camera Module

The library in question is a shareable and will be sought by the dynamic loader when the program that used it is executed. The loader has a list of paths in the file /etc/ld.so.conf; this is a text file so you can 'cat' to view is you feel the urge. You can add the path to any shareable library with...
by DBryant
Sat Jan 04, 2014 3:57 pm
Forum: Troubleshooting
Topic: help with minidlna error
Replies: 2
Views: 800

Re: help with minidlna error

What version are you running? You can run 'minidlna -V' from the command line. For what its worth, I'm currently running 1.0.16.3 on a non-Raspberry, Ubuntu based system without problem. You (obviously) have a dynamic memory allocation failure when one or more of your files is being processed. You c...
by DBryant
Fri Jan 03, 2014 9:29 am
Forum: Beginners
Topic: Question about operating systems...
Replies: 3
Views: 517

Re: Question about operating systems...

From the Squeezeplug site: The installation is based on the Raspbian Installer as a minimal installation from scratch. The kernel and all packages are up to date. There is no X-Server or other graphic things installed. The intention of SqueezePlug is to run a headless Media-Server and Player. So SSH...
by DBryant
Fri Jan 03, 2014 8:45 am
Forum: Beginners
Topic: Installing a remote Controller
Replies: 1
Views: 507

Re: Installing a remote Controller

You may well find that your TV remote will control XBMC, your mileage will depend upon the HDMI features of your TV and cable.

What are the contents of this folder? Without details its difficult to over any advice. Is there a Make file? A README file?
by DBryant
Fri Jan 03, 2014 8:37 am
Forum: Beginners
Topic: Can't run pygame script before starting x.
Replies: 6
Views: 1232

Re: Can't run pygame script before starting x.

The startx command runs X11 and established a graphical environment for your system. Without this, or any other graphical system running, then you won't be able to draw circles and the like.
by DBryant
Fri Jan 03, 2014 8:30 am
Forum: Beginners
Topic: Rapberry Pi Newbie
Replies: 1
Views: 540

Re: Rapberry Pi Newbie

Depends on what your interests are I guess. You could start by playing with a few different distros and become familiar with the environment. It means the kids can then have their own set-ups simply be re-booting with a different SD card. XBMC will give a media player and expose you to less Unix and...
by DBryant
Fri Jan 03, 2014 8:09 am
Forum: Beginners
Topic: wiringPi.h not found
Replies: 4
Views: 10213

Re: wiringPi.h not found

Use the -L option of gcc to add the path to the required file (see its man page or got to http://linux.die.net/man/1/gcc). Alternatively you could also define LIBRARY_PATH such that there was a common search list for all your software development.
by DBryant
Fri Jan 03, 2014 7:58 am
Forum: Beginners
Topic: In context of i2c devices, What is the sampling rate ?
Replies: 1
Views: 356

Re: In context of i2c devices, What is the sampling rate ?

It's the frequency at which you can get a measurement from the device. It will take a finite time for a measurement to be realised in any device and could be to any number of physical reasons: the time the device to reach temperature or pressure, any period for the device to clear down and set its r...
by DBryant
Mon Dec 02, 2013 1:35 pm
Forum: Troubleshooting
Topic: ssh-keygen -R problems
Replies: 3
Views: 1222

Re: ssh-keygen -R problems

From the command line the .ssh directory would be created when you create the keys for the user, for example with the command: ssh-keygen -t rsa Note this is not sudo-ed , you are creating the keys for yourself i.e. the account you logged into. That will create the directory with the required permis...
by DBryant
Mon Dec 02, 2013 12:08 pm
Forum: Troubleshooting
Topic: ssh-keygen -R problems
Replies: 3
Views: 1222

Re: ssh-keygen -R problems

Are you sure the .ssh directory actually exists for the user account in question?
If it doesn't, then you will get "fopen: No such file or directory"
by DBryant
Mon Dec 02, 2013 12:00 pm
Forum: Beginners
Topic: Moving Files
Replies: 1
Views: 399

Re: Moving Files

You're not explicit about what comand you actually execute, the following should do it, where we're running the mv command as the superuser: sudo mv newemail.wav /var/lib/mpd/music This assumes newemail.wav is in your current directory and /var/lib/mpd/music is a directory (if it's a file, then musi...
by DBryant
Sun Dec 01, 2013 11:00 am
Forum: Beginners
Topic: Posting data on Apache web site
Replies: 2
Views: 503

Re: Posting data on Apache web site

Not really a Pi specific post is it? There would be several ways to do this. You might consider a (bash) shell script that reads the data from the USB device and writes it to a file in a comma-separated format (for example). This script might be executed at system start-up, run periodically as a cro...
by DBryant
Tue Nov 19, 2013 8:48 am
Forum: Beginners
Topic: Auto mount unmount of MULTIPLE usb hard drives
Replies: 12
Views: 6206

Re: Auto mount unmount of MULTIPLE usb hard drives

The command you are using to mount (e.g. mount -t auto /dev/sda1 /media/1) is not using the UUID is it? It's using the device name (sda1) which as we know will change through re-boots, system re-configurations and so on. You need to mount with something like: mount -U 0ef96300-36c0-4575-8a1d-2d36ff4...
by DBryant
Mon Nov 11, 2013 4:36 pm
Forum: Beginners
Topic: Backing up Raspbian setup
Replies: 2
Views: 455

Re: Backing up Raspbian setup

Physically remove the SD card, place in your PC and carry out a block by block copy into that system's filesystem. If your OS is Linux then that might be dd but you will find similar for Windows (try http://sourceforge.net/projects/win32diskimager/ ), MacOS and the like. Once completed you are then ...
by DBryant
Tue May 07, 2013 10:24 am
Forum: Beginners
Topic: Rasberry Pi Wireless Adapter
Replies: 2
Views: 9294

Re: Rasberry Pi Wireless Adapter

Wireless adapters seem to be hungry devices so attaching to the hub might prove to be better. I purchased an adapter that stated it would run plugged directly into the Pi, but not a bit of it. And now its configured and fully functional in the hub it still won't function in the Pi itself. Do you hav...
by DBryant
Wed Mar 27, 2013 6:48 am
Forum: Troubleshooting
Topic: Tried to install gnash - file not found (version mismatch)
Replies: 4
Views: 5310

Re: Tried to install gnash - file not found (version mismatc

Yep. Higher-level package management tools usually provide a little more added functionality than just a GUI.

Go to advanced search