Go to advanced search

by rpdom
Sun Jan 20, 2013 6:49 pm
Forum: Other projects
Topic: Raspberry pi as a Wake on Lan source
Replies: 65
Views: 84681

Re: Raspberry pi as a Wake on Lan source

Yes, remote login in text mode from Windows is easy using an SSH client like PuTTy. Even my wife can cope with that one :lol:

http://www.chiark.greenend.org.uk/~sgta ... nload.html

I don't have a keyboard connected to my Pi at all. I use ssh from my Linux laptop.
by rpdom
Sun Jan 20, 2013 6:26 pm
Forum: Other projects
Topic: Raspberry pi as a Wake on Lan source
Replies: 65
Views: 84681

Re: Raspberry pi as a Wake on Lan source

If I've got a router, computer, and then attach a Raspberry Pi on the router too.... Do I need to be concerned about security for the Raspberry Pi? Unless your router is port forwarding incoming ssh/port 22 to your R Pi, you should be safe. However, it would be a good idea to change the password fo...
by rpdom
Sun Jan 20, 2013 6:23 pm
Forum: Other projects
Topic: Raspberry pi as a Wake on Lan source
Replies: 65
Views: 84681

Re: Raspberry pi as a Wake on Lan source

Extensions like ".bat" have no real significance to Linux other than a handy indication of what type a file is. Usually you would put ".sh" on the end of a Shell Script name (which is what a Window/DOS batch file is). You don't even need a batch file in this case, just an cron entry or two. wakeonla...
by rpdom
Sun Jan 20, 2013 6:06 pm
Forum: General discussion
Topic: Windows on Pi?
Replies: 154
Views: 31852

Re: Windows on Pi?

[quote="jamesh"]The point I was trying to make with Android (and I should have said iOS as well) is that they both give out a message - there is something that isn't Windows./quote] I do hope so (confirmed Linux user here of many years). Some years back, someone I knew asked if I could fix a problem...
by rpdom
Sun Jan 20, 2013 5:57 pm
Forum: Other programming languages
Topic: PHP and MYSQL
Replies: 7
Views: 2227

Re: PHP and MYSQL

Oops ;-)

Oh well, happens to us all :-)
by rpdom
Sun Jan 20, 2013 5:56 pm
Forum: Beginners
Topic: Boot Failure
Replies: 9
Views: 1467

Re: Boot Failure

Maybe it is different on different distributions, but in ArchLinux I cannot get that hour-minutes thing to set a date properly. Instead, I need to find out the date in unix seconds some other way - using the following command on another linux box: date +%s Then I use the results of that command, an...
by rpdom
Sun Jan 20, 2013 3:14 pm
Forum: Other programming languages
Topic: PHP and MYSQL
Replies: 7
Views: 2227

Re: PHP and MYSQL

OK, I just tried your code on a database of mine (with just the column/database/user/password/date range changed to suit), and it works for me.

The column I'm using is defined as "datetime". How is yours defined?

Have you tried the same code on the MySQL cli interface?
by rpdom
Sun Jan 20, 2013 10:35 am
Forum: Other projects
Topic: Raspberry pi as a Wake on Lan source
Replies: 65
Views: 84681

Re: Raspberry pi as a Wake on Lan source

On Raspbian, the package wakeonlan will send the magic packet for you from the command line/script. Easy to use: wakeonlan AA:BB:CC:DD:EE:FF Where AA:BB:CC:DD:EE:FF is the MAC address of the device you want to wake. You can also set up a file /etc/ethers which is like the /etc/hosts file and contain...
by rpdom
Sat Jan 19, 2013 7:09 pm
Forum: Beginners
Topic: Boot Failure
Replies: 9
Views: 1467

Re: Boot Failure

1) Your 4GB card might be ok, but the image on it might be faulty. Loading a new image onto that card will probably work. No harm in trying :) 2) The time and date should be set automatically shortly after booting. The current time is fetched from the internet using NTP (Network Time Protocol), so i...
by rpdom
Sat Jan 19, 2013 4:36 pm
Forum: Beginners
Topic: Boot Failure
Replies: 9
Views: 1467

Re: Bot Failure

Some of the pre-loaded cards seem to have problems. You could try downloading the Raspbian "Wheezy" image from the downloads section http://www.raspberrypi.org/downloads and writing that to your card and give that a go. Basic instructions are on that page along with links to help. Many problems are ...
by rpdom
Sat Jan 19, 2013 6:20 am
Forum: Beginners
Topic: how do i show temps
Replies: 12
Views: 1754

Re: how do i show temps

apt-get update - updates your lists of what versions of packages/programs are available. It will not update any software. apt-get upgrade - Installs any updated versions of packages you have got installed - as long as that does not require installing extra packages or removing any installed packages...
by rpdom
Fri Jan 18, 2013 7:44 pm
Forum: Raspberry Pi Desktop for PC and Mac
Topic: Raspbian for x86 = Debian?!
Replies: 7
Views: 8343

Re: Raspbian for x86?

Raspbian is based on Debian Wheezy (currently also known as 'testing'). Go to debian.org, download the installer and have fun (or the live CD version, which just runs rather than installing anything). Also available for amd64 armel ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 s390x spa...
by rpdom
Thu Jan 17, 2013 10:27 pm
Forum: Beginners
Topic: Making SSH Public
Replies: 2
Views: 633

Re: Making SSH Public

You could look at the denyhosts and fail2ban packages. They block access to systems that try to log in and fail more than a set number of times. Also otpw-bin, which allows access using a set of single-use passwords. I use this on one of my systems where I need remote access, but can't use passphras...
by rpdom
Thu Jan 17, 2013 7:25 am
Forum: Beginners
Topic: HELP WITH APT SOURCE>LIST
Replies: 5
Views: 2333

Re: HELP WITH APT SOURCE>LIST

sudo apt-get update says things about failing to fetch http://archive.raspbian.org.debian/dist ... /InRelease That is because the server name is archive.raspbian.org, no ".debian" on the end. Raspbian is not part of Debian, it is a seperate system built exactly the same way as the Debian system, us...
by rpdom
Wed Jan 16, 2013 9:27 pm
Forum: Graphics, sound and multimedia
Topic: Remove CMD Prompt Decoration
Replies: 11
Views: 3492

Re: Remove CMD Prompt Decoration

Are you saying that you don't need the console login prompt on your screen at all?

If so, you could try changing the line in /etc/inittab that starts with "1:2345:respawn:" to "1:2345:off:" and then reboot. If you find you need a console login you can use Alt-F2 to get to the second virtual console.
by rpdom
Wed Jan 16, 2013 8:31 pm
Forum: Off topic discussion
Topic: Whats wrong with this picture?
Replies: 18
Views: 2707

Re: Whats wrong with this picture?

redhawk wrote:I hope you didn't buy that from Tesco :lol:

Richard S.
Snickers :lol:
by rpdom
Wed Jan 16, 2013 12:53 pm
Forum: Beginners
Topic: Querying Updates
Replies: 5
Views: 904

Re: Querying Updates

You can look at the changelog for the package on the Debian packages site. The package details are at packages.debian.org/wheezy/$PACKAGENAME and a link to the changelog is shown on the right hand side of the page. With libcups2, for example, go to http://packages.debian.org/wheezy/libcups2 and clic...
by rpdom
Wed Jan 16, 2013 9:03 am
Forum: Beginners
Topic: HELP WITH APT SOURCE>LIST
Replies: 5
Views: 2333

Re: HELP WITH APT SOURCE>LIST

AddicusT wrote:The output "E: The method driver /usr/lib/apt/methods/hhtp could not be found."
It looks like you've got a typo in your sources.list. it should read "http", not "hhtp".

Could you check, correct if needed and try again please.
by rpdom
Tue Jan 15, 2013 7:21 am
Forum: General programming discussion
Topic: TeamViewer HowTo/IfTo
Replies: 2
Views: 14559

Re: TeamViewer HowTo/IfTo

Do not attempt to install the files you have downloaded. They will not work on a Pi. They are for PCs running the i386 version of Debian. The Pi uses an ARMv6 processor and Teamviewer has been built for Intel/AMD x86 processors. Code for x86 wil not run on ARM. If the Teamviewer site has a version s...
by rpdom
Mon Jan 14, 2013 7:16 am
Forum: Debian
Topic: Obtain latest Debian soft-float 3.2.27+ kernel/firmware
Replies: 2
Views: 1284

Re: Obtain latest Debian soft-float 3.2.27+ kernel/firmware

I think that you could get away with upgrading the firmware files in /boot, but leave the kernel at the old version. I believe the 512MB memory support is all handled in firmware and nothing to do with the kernel. Having said that, it would be interesting to know why your driver compilation failed, ...
by rpdom
Sat Jan 12, 2013 9:06 pm
Forum: General discussion
Topic: Copy automatically, GUI
Replies: 2
Views: 693

Re: Copy automatically, GUI

Create a simple bash script to do the file copying (a bit like like a Windows .bat file). Add an entry to you user crontab (or the root crontab) to run that script when needed. man crontab to find out what to add. crontab -e to edit the crontab. Forget the gui, command line is pretty simple really.
by rpdom
Sat Jan 12, 2013 3:25 pm
Forum: Beginners
Topic: problem with apache2 configuration
Replies: 3
Views: 744

Re: problem with apache2 configuration

I don't know what files may have been modifed by opencart, but you could try

Code: Select all

grep -R install /etc/apache2
It will throw a few false positives, but may find the file you are looking for.
by rpdom
Sat Jan 12, 2013 3:20 pm
Forum: General discussion
Topic: Attached files
Replies: 2
Views: 490

Re: Attached files

Zipped files are ok
by rpdom
Sat Jan 12, 2013 11:16 am
Forum: Advanced users
Topic: Speed Comparison
Replies: 6
Views: 8596

Re: Speed Comparison

I've tried your code on a few of the devices running Python around my house, and these are my results: |Machine | CPU | OS | ClarkMark | PiPower | | Raspberry Pi | broadcom arm OC'd to 950MHz | LINUX | 0.564 | 0.96 | | Toshiba Tecra M1 | Pentium 4 Mobile 1.6GHz | LINUX | 1.944 | 3.47 | | Custom Desk...
by rpdom
Fri Jan 11, 2013 3:04 pm
Forum: General discussion
Topic: Need a recommendation for a 2.5" hard drive enclosure
Replies: 5
Views: 1184

Re: Need a recommendation for a 2.5" hard drive enclosure

I suspect the problem is'nt with the enclosures themselves, but inadequate power for it and/or the Pi. Texy It was hooked up to the Pi with a powered hub and I also hooked it up to another Linux box and had the same issues, so it does look like the two enclosures that I tried have issues with Linux...

Go to advanced search