Go to advanced search

by rpdom
Sat Mar 15, 2014 5:16 am
Forum: Networking and servers
Topic: Connect Raspberry pi to Apache server
Replies: 8
Views: 2168

Re: Connect Raspberry pi to Apache server

If you have the Pi access a page on your Apache server when it starts up, then Apache can detect the IP address and a simple CGI script can store that in a file.
by rpdom
Sat Mar 15, 2014 5:13 am
Forum: Raspberry Pi OS
Topic: Replicating SDCard images
Replies: 2
Views: 736

Re: Replicating SDCard images

If you haven't expanded the file system, then you can use an older version of Win32DiskImager and it will write the image to the card, only "failing" when it reaches the end of the card. As you haven't used the whole of the larger card that should be sufficient. Otherwise it is easiest to clone the ...
by rpdom
Thu Mar 13, 2014 7:57 pm
Forum: Troubleshooting
Topic: Unable to mount / into rw
Replies: 6
Views: 5766

Re: Unable to mount / into rw

Which OS are you using? The reason I ask is that you said that / is "squashfs", which indicates two things: 1) This isn't raspbian - or any Pi OS I'm familiar with. Is it RaspBMC or something like that? I'm using Openelec 3.2.4 So, yeah. Not really possible to mount / as rw (even with the remount o...
by rpdom
Wed Mar 12, 2014 6:23 pm
Forum: Beginners
Topic: Intern time keeping
Replies: 19
Views: 2818

Re: Intern time keeping

Without fake-hwclock it would reset to 0:0:0 on reboot, without an NTP connection. Does the OP mean the time/date resets as soon as a running system loses connection, or after a reboot without connection? Not clear. I agree it's not totally clear. I initially assumed they meant that the time reset ...
by rpdom
Wed Mar 12, 2014 6:00 pm
Forum: Beginners
Topic: Intern time keeping
Replies: 19
Views: 2818

Re: Intern time keeping

TBH I though Raspbian had fake-hwclock set-up out of the box The OP said that they are running RaspBMC. I don't know if that has fakehwclock installed. Even so, once set the system clock should keep running as long as the system is up and not reset to 01:00:00 for any reason. Also, OP said that the...
by rpdom
Wed Mar 12, 2014 6:55 am
Forum: Troubleshooting
Topic: 16x2 LCD Wiring
Replies: 9
Views: 3045

Re: 16x2 LCD Wiring

I think Trev means that the RW pin should be connected to something (0V, I believe) to hold the display in Write mode, so it will never try and return a 5V status on the data lines.
by rpdom
Wed Mar 12, 2014 6:50 am
Forum: General discussion
Topic: advanced bash command for identificate and open folder
Replies: 13
Views: 2038

Re: advanced bash command for identificate and open folder

Yes, quite easy to code. sudo mount -t vfat -o uid=pi,gid=pi /dev/sda1 /data dir="NONE" if [ -d /data/831_Data ] then dir="831_Data" fi if [ -d /data/LxT_Data ] then dir="LxT_Data" fi if [ "$dir" != "NONE" ] then # rest of script here, I can't be bothered to type it in fi There are other ways to do ...
by rpdom
Wed Mar 12, 2014 6:43 am
Forum: Networking and servers
Topic: Connect Raspberry pi to Apache server
Replies: 8
Views: 2168

Re: Connect Raspberry pi to Apache server

You could set up an NFS share on the Linux box and have the Raspi mount it locally. Then your Apache page could create a file in that area to signify action is required. The Raspi could check that directory every second or so for a file, perform the required action and then delete the file to show i...
by rpdom
Tue Mar 11, 2014 8:01 am
Forum: Troubleshooting
Topic: Cannot install OpenVPN
Replies: 7
Views: 4190

Re: Cannot install OpenVPN

I've tried many things I've seen online, like messing with the sources and whatnot In that case, the first thing we need to do is to check your sources are set correctly. Please post the contents of your /etc/apt/sources.list and any other files from /etc/apt/sources.list.d/ Also, have you tried do...
by rpdom
Tue Mar 11, 2014 7:45 am
Forum: Raspberry Pi OS
Topic: Shut down and reboot
Replies: 5
Views: 1799

Re: Shut down and reboot

I don't think that is possible in software. However, if it is only MySQL that complains when the drive is offline, you could always stop the MySQL server, unmount the drive(s), display a message saying to swap them now - press Enter to continue, then mount the drives again and restart the server sof...
by rpdom
Mon Mar 10, 2014 9:53 pm
Forum: Troubleshooting
Topic: Usb on rpi doesn't have power what to do?
Replies: 66
Views: 6773

Re: Usb on rpi doesn't have power what to do?

Haswellpi wrote:My usb ports are 4.8 volts is it bad or good do you know what is my problem.? Thanks for all
4.8V is close to borderline low voltage.

It might be worth checking your power supply and power cable.
by rpdom
Mon Mar 10, 2014 9:51 pm
Forum: Troubleshooting
Topic: Is one of my brand new RPi's Faulty?
Replies: 8
Views: 1555

Re: Is one of my brand new RPi's Faulty?

Are you using the latest NOOBS? The earlier versions may have old versions of firmware that may not support the memory chip on one of your Raspis.

What make of RAM chip is on each Pi? What are the markings on the top chip on the IC2 stack?
by rpdom
Mon Mar 10, 2014 6:57 pm
Forum: Troubleshooting
Topic: SOLVED:bad video resolution on boot but changes after reboot
Replies: 3
Views: 2170

Re: bad video resolution on boot but changes after reboot

You can download the monitor settings using sudo tvservice -d /boot/edid.dat Then edit the /boot/config.txt and add (or uncomment if it exists) the line hdmi_edid_file=1 When you next boot your Pi will use the settings from the data file instead of looking for the monitor. Very handy if the monitor ...
by rpdom
Mon Mar 10, 2014 5:32 pm
Forum: Troubleshooting
Topic: Can't Transfer files to SD card!
Replies: 2
Views: 621

Re: Can't Transfer files to SD card!

Try putting a \ in front of the ' and the space, as in Sean\'s\ Projects This will stop the shell (command line) trying to match the ' with another (missing) ' and treating the space as a separator. Also your teacher doesn't know the Pi that well. The "switch" on the side of the SD card doesn't have...
by rpdom
Sun Mar 09, 2014 5:15 pm
Forum: Beginners
Topic: Multiple LEDS from single GPIO pin
Replies: 9
Views: 17467

Re: Multiple LEDS from single GPIO pin

The best that you can do with just one pin is to have two LEDs. Connect one LED (and resistor) from the pin to ground. That LED will come on when the pin is set high (1). Connect the other LED (and resistor) from the pin to +3.3V. That LED will come on when the pin is set low (0). But you can't have...
by rpdom
Sun Mar 09, 2014 1:16 pm
Forum: Beginners
Topic: Is >5.25V power supply good if voltage drops while in use?
Replies: 3
Views: 786

Re: Is >5.25V power supply good if voltage drops while in us

The slightly too high voltage may damage some of the components on the Pi, but I'd be more worried about any USB peripherals connected that will expect 5.25V max. Also, if the voltage reads that high, but drops a fair bit under load I'd not trust the regulation on that "no-name" PSU. Will it drop to...
by rpdom
Sun Mar 09, 2014 7:47 am
Forum: Beginners
Topic: Beyond setup
Replies: 4
Views: 811

Re: Beyond setup

Most commands are stored in /bin or /usr/bin. Each of those has a manual page associated with it. There are also other commands that are built-in to the shell (command line interpreter) that you are using in the terminal. You can list the commands with ls /bin # or ls /usr/bin There are quite a lot ...
by rpdom
Sat Mar 08, 2014 4:48 am
Forum: Raspberry Pi OS
Topic: Rootfs and /dev/root full
Replies: 10
Views: 57178

Re: Rootfs and /dev/root full

I wonder what is using up all that space???

Try

Code: Select all

sudo du -xh / | grep -P "G\t"
to look for files/directories that are using a lot of space on the card.
by rpdom
Fri Mar 07, 2014 7:48 pm
Forum: Troubleshooting
Topic: RS new Pi: Fried SD card :-(
Replies: 8
Views: 2710

Re: RS new Pi: Fried SD card :-(

My model A Pi's have a small black splotch in that position. I suspect the colour is just whatever paint/marking pen/nail varnish is to hand when they are tested. No mark = not tested or passed.
by rpdom
Fri Mar 07, 2014 7:45 pm
Forum: Advanced users
Topic: FAT32 partition on SD Card
Replies: 2
Views: 4590

Re: FAT32 partition on SD Card

Windows is stupidly programmed to only believe there can be one partition on an SD card, and that must be FATxx. It gets confused otherwise. I believe there is some third-party software that can get it to access an alternate FAT partition, but as I don't use windows I have no need for it and don't k...
by rpdom
Fri Mar 07, 2014 6:52 am
Forum: Raspberry Pi OS
Topic: Need to disable USB, but not network
Replies: 11
Views: 3129

Re: Need to disable USB, but not network

The blacklist option won't work as the usb_storage and usbhid (keyboard/mouse) drivers are built into the kernel instead of being loadable modules. (This is essential if you are to have the ability to have your root filesystem on USB). You could build your own kernel without USB storage and USB HID ...
by rpdom
Thu Mar 06, 2014 9:11 am
Forum: Gaming
Topic: Scummvm troubles
Replies: 2
Views: 949

Re: Scummvm troubles

despite people in #raspbian saying 1.6.0 is indeed on wheezy and Jessy's repo well bs it's not! getting it off the repo only pulls ScummVM 1.4.1 You must be doing something wrong. pi@raspi2 ~ $ cat /etc/debian_version jessie/sid pi@raspi2 ~ $ apt-cache show scummvm | grep Version Version: 1.6.0+dfs...
by rpdom
Thu Mar 06, 2014 8:00 am
Forum: General discussion
Topic: Cooling the pi
Replies: 36
Views: 17265

Re: Cooling the pi

And with semicondutor devices the picture gets even more complex, an increase in temperature means an increase in "minority carriers", an increase in minority carriers means your diodes and transistors get leakier and in general you don't want your devices to be leaky. So we don't need heatsinks, b...
by rpdom
Thu Mar 06, 2014 7:59 am
Forum: Networking and servers
Topic: Internet Speed Limits...
Replies: 13
Views: 4157

Re: Internet Speed Limits...

Has the Ethernet port negotiated it's speed correctly? 10/100/1000 ports default to 10Mb half duplex if they cannot agree a speed. sudo apt-get install ethtool Then look here http://www.cyberciti.biz/faq/howto-determine-ethernet-connection-speed/ Or you could just look at the network LEDs on the Pi...
by rpdom
Thu Mar 06, 2014 7:43 am
Forum: Advanced users
Topic: alternative version isc-dhcp-server
Replies: 18
Views: 5875

Re: alternative version isc-dhcp-server

It is possible that apt-get upgrade didn't upgrade ssh due to dependencies added since the older version. apt-get upgrade will refuse to upgrade anything that requires extra software (not later versions of installed software) to be installed. It will usually say something like: x packages will be up...

Go to advanced search