Go to advanced search

by terrycarlin
Fri Apr 12, 2013 4:56 pm
Forum: Networking and servers
Topic: [HOWTO] Rasberry Pi as a wired router with webmin as web ui.
Replies: 9
Views: 32985

Re: [HOWTO] Rasberry Pi as a wired router with webmin as web

Did you set up your default gateway? Your routing table only has an entry for your internal network.
by terrycarlin
Wed Mar 27, 2013 4:46 pm
Forum: General discussion
Topic: Led not working
Replies: 9
Views: 1181

Re: Led not working

Can you post a

Code: Select all

ls -la
listing while in the Desktop directory?
by terrycarlin
Mon Mar 25, 2013 9:13 pm
Forum: General discussion
Topic: Hard drive not full but no free space
Replies: 26
Views: 5331

Re: Hard drive not full but no free space

This sounds like it might be a permissions problem. Try this out: touch /home/pi/Main/testit This will create a zero length file called testit in /home/pi/Main If this doesn't work, then try this: sudo touch /home/pi/Main/testit You could also post the output from the mount command because the permi...
by terrycarlin
Mon Mar 25, 2013 4:23 pm
Forum: General discussion
Topic: Display hits per day php-mysql question.
Replies: 22
Views: 3621

Re: Display hits per day php-mysql question.

Seems to me you could just do:

Code: Select all

select date, count(*) from table group by date order by date asc
Then you could use the code that malakai provided above.
by terrycarlin
Fri Mar 22, 2013 4:35 pm
Forum: General discussion
Topic: Led not working
Replies: 9
Views: 1181

Re: Led not working

You should not be using cd \Desktop. That command will actually work in this context, but the \ is not required here. The \ character in Unix/Linux/os-x command line indicates the next character should be taken literally. You should just do a cd Desktop if you are in the directory where the Desktop ...
by terrycarlin
Thu Mar 21, 2013 9:48 pm
Forum: Networking and servers
Topic: dns entry for internal webserver
Replies: 1
Views: 577

Re: dns entry for internal webserver

Google avahi-daemon. This will give you a Zeroconf service. When it is running on your Pi, any computer on your internal network can reference your Pi by "hostname.local". So if your Pi's hostname is raspberrypi, you could enter "http://raspberrypi.local/index.html" into a browser and it would autom...
by terrycarlin
Wed Mar 20, 2013 8:55 pm
Forum: Troubleshooting
Topic: --solved--SD CARD by OSX: raspbian,raspbmc OK, siriproxy NOK
Replies: 6
Views: 2877

Re: SD CARD by OSX: raspbian,raspbmc OK, siriproxy NOK

I wonder if the SiriProxy img release is out of date? I saw some posts that talked about a new kind of memory chip that is in some of the latest 512MB Pis. That chip set requires the latest Raspbian “wheezy”. See http://www.raspberrypi.org/archives/3534 It is much better to start as elatllat stated....
by terrycarlin
Wed Mar 20, 2013 7:59 pm
Forum: General discussion
Topic: Public key for ssh works, but rsync still askes for password
Replies: 3
Views: 931

Re: Public key for ssh works, but rsync still askes for pass

Might be the "sudo" command. That says run as root. Did you put root's public key in the destination machines ~/.ssh/authorized_key ?

First question should be: Do you need to run the rsync as root? If not, don't. It is not a good practice.
by terrycarlin
Tue Mar 19, 2013 10:01 pm
Forum: General discussion
Topic: Data recovery
Replies: 4
Views: 1753

Re: Data recovery

The Mac does not support ext4 (the file system type on a Pi) natively. You will need to put the sdcard into a linux machine and run the fsck (File System Check) program. It may recover your data.
by terrycarlin
Tue Mar 19, 2013 4:01 pm
Forum: Automation, sensing and robotics
Topic: remote control for Lego NXT running NXT-G
Replies: 5
Views: 1233

Re: remote control for Lego NXT running NXT-G

Lots of people post their projects up on github.com.
by terrycarlin
Mon Mar 18, 2013 10:35 pm
Forum: Troubleshooting
Topic: .profile not being read on login
Replies: 10
Views: 4120

Re: .profile not being read on login

Try adding your code to ~/.bashrc and see if that works.
by terrycarlin
Mon Mar 18, 2013 10:23 pm
Forum: Troubleshooting
Topic: How do I clone an SD Card on MAC?
Replies: 5
Views: 8235

Re: How do I clone an SD Card on MAC?

I think your problem may be using the diskutil to create dmg images. To create a clone of an sdcard, you need to use dd. dd bs=128m if=/dev/rdisk1 of=~/Desktop/Bob.img after doing a diskutil umount /dev/disk1 I don't have to do a "sudo" when I create my images or using the diskutil umount command. Y...
by terrycarlin
Mon Mar 18, 2013 9:10 pm
Forum: Troubleshooting
Topic: .profile not being read on login
Replies: 10
Views: 4120

Re: .profile not being read on login

The PATH variable is used for searching for executable programs, and shell scripts and usually not for searching libraries. If you are using the standard GNU c++ compiler, then the include library path is built in. Do a g++ -v to see where they are located. If you want to include external include li...
by terrycarlin
Tue Mar 12, 2013 9:06 pm
Forum: Automation, sensing and robotics
Topic: UniversalGcodeSender on Hard Float raspbian
Replies: 6
Views: 8683

Re: UniversalGcodeSender on Hard Float raspbian

Check out "screen". It allows you to do several interesting things, one of which is to let you run a command line command and if the ssh session drops, you can reconnect and your job will still be running.
by terrycarlin
Tue Feb 26, 2013 11:40 pm
Forum: Troubleshooting
Topic: Old Pi, no network
Replies: 15
Views: 1602

Re: Old Pi, no network

Do you have another computer that can you can plug that cable into and see if it will connect?
The only time I have seen those kind of errors was when either the cable was bad, the network card (chip) or the hub/switch port was bad. But I haven't see everything possible yet. :D
by terrycarlin
Wed Feb 20, 2013 11:24 pm
Forum: General discussion
Topic: install gvim
Replies: 2
Views: 6055

Re: install gvim

Code: Select all

sudo apt-get install vim-gtk
by terrycarlin
Thu Feb 14, 2013 9:31 pm
Forum: Troubleshooting
Topic: Project Temp sensor - Pi not installing new Modules
Replies: 4
Views: 868

Re: Project Temp sensor - Pi not installing new Modules

Did you do a

Code: Select all

sudo apt-get update
before your

Code: Select all

sudo apt-get install package
?
The update is pretty much required before each session of installing packages.
It is also wise to do a

Code: Select all

sudo apt-get upgrade
after the update just to keep everything current.
by terrycarlin
Tue Feb 12, 2013 10:26 pm
Forum: Python
Topic: Led grio and Python
Replies: 36
Views: 4332

Re: Led grio and Python

gpio -v gives you the version number of the gpio command and the rev of the RPi board. When we talk about "distro" we mean the disk image that you copied to your SD Card in order to boot the RPi. Examples of distros include Raspbian, Arch, Raspbmc and others. See the "Download" section of this forum.
by terrycarlin
Tue Feb 12, 2013 5:00 pm
Forum: Python
Topic: Led grio and Python
Replies: 36
Views: 4332

Re: Led grio and Python

You never said what distro you are using. Raspbian? Arch? There were issues with GPIO and python early on IIRR. If you have not updated your distro, that may be the cause of your problem. Not sure just doing a sudo apt-get update sudo apt-get upgrade will fix everything if your distro is too old. Tr...
by terrycarlin
Sat Feb 09, 2013 3:44 am
Forum: General discussion
Topic: Raspberry Pi formats 64GB mini SD to 55.7MB size?
Replies: 9
Views: 2877

Re: Raspberry Pi formats 64GB mini SD to 55.7MB size?

Also, there are two partitions in the SD drive. One is a DOS partition that is the boot disk and the other partition is the Linux system partition. You won't be able to see this partition in Windows or OS-X unless you have a driver that lets you see ext type partitions. You will need boot from the S...
by terrycarlin
Thu Feb 07, 2013 5:03 pm
Forum: General discussion
Topic: Deluge InitScript for RaspPi
Replies: 4
Views: 1484

Re: Deluge InitScript for RaspPi

What is the path name of deluge-daemon?

The invoke-rc.d command expects it to be /etc/init.d/deluge-daemon.
by terrycarlin
Tue Feb 05, 2013 5:59 pm
Forum: General discussion
Topic: An interesting little difference in file handling ...
Replies: 7
Views: 1593

Re: An interesting little difference in file handling ...

Found some info that may help with understanding this. Keep in mind when reading this article that when files are created in Unix/Linux directories that the file names are stored in the first available directory entry. http://www.linuxquestions.org/questions/linux-general-1/samba-file-list-ordering-...
by terrycarlin
Mon Feb 04, 2013 9:59 pm
Forum: General discussion
Topic: An interesting little difference in file handling ...
Replies: 7
Views: 1593

Re: An interesting little difference in file handling ...

Your method of retrieval does not guarantee an order. The files would be retrieved in the order that they appear in the directory structure, not in date or name order. Files are not automatically put in the directory in any order. To force a specific order to the files you can use a change to your s...
by terrycarlin
Mon Feb 04, 2013 9:36 pm
Forum: General discussion
Topic: RPi as Android accessory
Replies: 10
Views: 8022

Re: RPi as Android accessory

You could really simplify things by using this android app.
I have it. Really nice app.

https://play.google.com/store/apps/deta ... rque&hl=en

Go to advanced search