Go to advanced search

by DougieLawson
Sun Nov 03, 2013 10:34 am
Forum: Networking and servers
Topic: Accessing external hard drives remotely?
Replies: 13
Views: 9697

Re: Accessing external hard drives remotely?

Most secure way is OpenVPN. From a remote site I can access my home network as though I'm connected locally. It even lets me get a Windows share. You need to be able to find the public internet address of your server (even if your ISP changes it). I use http://freedns.afraid.org/ for that. You also ...
by DougieLawson
Sun Nov 03, 2013 10:18 am
Forum: General discussion
Topic: [SOLVED] time and date are incorrect
Replies: 17
Views: 109039

Re: time and date are incorrect

Hi community, I am dealing with a time&date problem, I have wheezby installed and since a couple of weeks date is 4 days wrong and time is also wrong. Timezone is correct, Europe/Vienna. I have changed ntp.conf and restarted ntp but nothing happend. How can I solve the poblem? Start by shutting dow...
by DougieLawson
Sun Nov 03, 2013 12:31 am
Forum: Troubleshooting
Topic: NOOBS 1.3.2 Lite not booting Pidora (Raspbian OK). Resolved
Replies: 19
Views: 3899

Re: NOOBS 1.3.2 Lite not booting Pidora (Raspbian OK)

I'd already checked for that and it appears to be there for both the Raspbian and Pidora boot partitions (as shown in my O.P.) Whether Pidora's "start.elf" is being "read properly", however??? Trev. How is your SD Card partitioned? Is everything intact on vfat partition1? Is everything intact on an...
by DougieLawson
Sat Nov 02, 2013 11:55 pm
Forum: General discussion
Topic: Print Server
Replies: 1
Views: 491

Re: Print Server

You're going to have to build the HPlip CUPS device driver from source.
http://prdownloads.sourceforge.net/hpli ... .10.tar.gz
by DougieLawson
Sat Nov 02, 2013 10:42 pm
Forum: Troubleshooting
Topic: Mumble server - Connection refused
Replies: 3
Views: 2582

Re: Mumble server - Connection refused

If the RPi is a server give it a fixed address. You can use x.y.z.2 to x.y.z.254 on your network only a subset of those addresses will be reserved for DHCP by your router. Check the configuration. On my network address x.y.z.1 is the router, x.y.z.4 is my Ubuntu server, x.y.z.5 is my Smart TV, x.y.z...
by DougieLawson
Sat Nov 02, 2013 10:28 pm
Forum: Media centres
Topic: unplugging hdmi cable
Replies: 1
Views: 1148

Re: unplugging hdmi cable

Yes. Is the short answer. My TV has four HDMI sockets so I don't have your problem, but pulling the cable while it is busy isn't a problem.

It's much easier to configure sshd and login to your RPi from a laptop. Leaving it logged on is a security exposure.
by DougieLawson
Sat Nov 02, 2013 6:47 pm
Forum: Troubleshooting
Topic: NOOBS 1.3.2 Lite not booting Pidora (Raspbian OK). Resolved
Replies: 19
Views: 3899

Re: NOOBS 1.3.2 Lite not booting Pidora (Raspbian OK)

http://elinux.org/R-Pi_Troubleshooting# ... ic_pattern

With latest firmware three flashes means start.elf isn't found in the /boot partition.
by DougieLawson
Sat Nov 02, 2013 4:29 pm
Forum: Troubleshooting
Topic: RainbowScreen
Replies: 6
Views: 1208

Re: RainbowScreen

OK so we'll assume the SD card has a good copy of Rasbian or NOOBS on it.

Try adding boot_delay=1 to your config.text file.
by DougieLawson
Sat Nov 02, 2013 4:23 pm
Forum: Python
Topic: Can't import gi.repository modules
Replies: 5
Views: 3062

Re: Can't import gi.repository modules

gtk is a graphical interface it needs to be able to open the display.

Are you running this on the desktop? If not have you exported the DISPLAY correctly.

export DISPLAY=:1
by DougieLawson
Sat Nov 02, 2013 4:16 pm
Forum: Other projects
Topic: RasPi as a Google Voice PBX Server?
Replies: 5
Views: 2208

Re: RasPi as a Google Voice PBX Server?

The 404s point to a problem on mirrordirector.raspbian.org you're either pointing to the wrong server or the server has some sort of transient error.

I'd assume the latter and would try again.
by DougieLawson
Sat Nov 02, 2013 2:31 pm
Forum: Raspberry Pi OS
Topic: Can't enable RSA key login to SSH
Replies: 6
Views: 3086

Re: Can't enable RSA key login to SSH

How are you connecting?

From windows with PuTTY?
Or from another Linux system?

There's two half's to the key, the private key in the client and the public symmetric key stored in the ~/.ssh/authorized_keys on the your Raspberry Pi.
by DougieLawson
Sat Nov 02, 2013 11:12 am
Forum: Raspberry Pi OS
Topic: HDMI control from a script
Replies: 3
Views: 846

Re: HDMI control from a script

How about the simple hardware answer?
Pull the cable from the TV.
by DougieLawson
Sat Nov 02, 2013 11:06 am
Forum: Raspberry Pi OS
Topic: [solved]dd not overridding sd card?
Replies: 4
Views: 1024

Re: Default user/pw changed?

If you can get your RPi into single user mode with a root shell running you can reset any/all passwords. http://www.raspberrypi.org/phpBB3/viewtopic.php?p=109612 Once that is booted you should see # _ on the screen. The passwords won't display when you set them. # passwd Enter new UNIX password: Ret...
by DougieLawson
Sat Nov 02, 2013 10:57 am
Forum: General discussion
Topic: How many usb asic miners can the rPi handle ?
Replies: 7
Views: 2687

Re: How many usb asic miners can the rPi handle ?

One day I'll research this 'manufacturing money out of thin air' thing.... There's no thin air about it. You're turning energy (5v @100mA or 500mA depending on the USB device config) over time into entropy (heat) by running a heavy number crunching workload. As BitCoins get older the complexity and...
by DougieLawson
Sat Nov 02, 2013 10:29 am
Forum: Beginners
Topic: Use htaccess on apache2
Replies: 9
Views: 7796

Re: Use htaccess on apache2

Thank you very much for your answer :D , it works! but now to do a full server I need to connect a switch on the raspberry and I would also put the status LEDs, for example, I would like to put one that lights up when apache2 is going, you know what program I need? Thanks :) To do that you'll first...
by DougieLawson
Sat Nov 02, 2013 10:05 am
Forum: Networking and servers
Topic: Multiple user git server for collaborative academic work
Replies: 5
Views: 7266

Re: Multiple user git server for collaborative academic work

Hello everybody. We are two researchers, who want to use the Raspberry Pi (RPI) as a git server to version control our scientific work using git . We want to have access to the RPI from our laptops via SSH and both, work on our private projects, but also work collaboratively on shared projects toge...
by DougieLawson
Fri Nov 01, 2013 11:00 pm
Forum: Troubleshooting
Topic: RainbowScreen
Replies: 6
Views: 1208

Re: RainbowScreen

Next step I took was formatting the SD card again and tried the whole process again. That didn't help either. What process did you use to do that? Were you using Windows? Or a Mac? Or a Linux system? If you're using Windows get a copy of https://www.sdcard.org/downloads/formatter_4/ to make formatt...
by DougieLawson
Fri Nov 01, 2013 10:44 pm
Forum: Python
Topic: Help : Python to feed MySQL data base
Replies: 6
Views: 3715

Re: Help : Python to feed MySQL data base

Since you've got MySQL command line working can you try this: mysql -u userid -p dbid > show tables; > desc your_python_table; > quit; Here's a table I've got with a date/time stamp (some columns not shown) desc memberlist; +-----------------+--------------+------+-----+-------------------+-------+ ...
by DougieLawson
Fri Nov 01, 2013 7:28 pm
Forum: Beginners
Topic: Hello World !
Replies: 4
Views: 1007

Re: Hello World !

Can you please advise ? Get a 4GB SD card, download a copy of NOOBS. Insert the card in the RPi and connect it to your home hub with an ethernet RJ45 cable, connect the HDMI to a TV and connect your microUSB power. From the NOOBS menu that appears when it boots choose Raspbian. Once Raspbian is run...
by DougieLawson
Fri Nov 01, 2013 7:20 pm
Forum: Troubleshooting
Topic: Permission denied when opening
Replies: 4
Views: 2363

Re: Permission denied when opening

sudo doesn't "make things work". It elevates your privileges so that you're running stuff as the root user. You should NOT use sudo when you don't need it, you're risking compromising your system. To run minecraft login as user: pi password: raspberry (unless you've changed it). Start X windows with...
by DougieLawson
Fri Nov 01, 2013 7:05 pm
Forum: C/C++
Topic: C/C++ Cross Development On PC
Replies: 19
Views: 7083

Re: C/C++ Cross Development On PC

I've already got an Eclipse dev environment on my Win8.1 machine (it's the ADK / ADB for Android).

It is possible to get this RPi stuff as a plugin for that existing Eclipse or do I really have to install a second copy?
by DougieLawson
Fri Nov 01, 2013 9:13 am
Forum: General discussion
Topic: Raspberry Pi slows internet
Replies: 19
Views: 3945

Re: Raspberry Pi slows internet

Usually it's the result of a bad power supply. Can you check the voltage between tp1 and tp2? Why would the power supply on the RPi affect the speed of internet access from another computer? [That's what I think the enquirer asked?] Isn't it more likely that the enquirer has limited internet bandwi...
by DougieLawson
Thu Oct 31, 2013 11:50 pm
Forum: Beginners
Topic: Updating nginx Raspbian
Replies: 4
Views: 2663

Re: Updating nginx Raspbian

hustlerinc wrote:
DougieLawson wrote:...
Oh, that seems more complicated than I'd expected. Is there a reason why we can't get the latest version by default? Is it because of ARM?
It's probably because of Debian Wheezy. It hasn't caught up with Nginx 1.5.6.

It's not that difficult to follow my recipe.
by DougieLawson
Thu Oct 31, 2013 8:00 pm
Forum: Beginners
Topic: Updating nginx Raspbian
Replies: 4
Views: 2663

Re: Updating nginx Raspbian

If you want anything later than nginx 1.2.1-2.2+wheezy1 you're going to have to get the source tarball and build it yourself. cd /tmp wget http://nginx.org/download/nginx-1.5.6.tar.gz tar -xzvf nginx-1.5.6.tar.gz cd nginx-1.5.6 ./configure make sudo make install Then shutdown and restart nginx. You ...
by DougieLawson
Thu Oct 31, 2013 7:39 pm
Forum: Beginners
Topic: Wiring up RGB Sensor to Raspberry Pi
Replies: 1
Views: 536

Re: Wiring up RGB Sensor to Raspberry Pi

It looks OK. It's a 3v3 device so shouldn't do anything bad to the RPi.

So a couple of additional wires from the 3V3 pin on the RPi to VDD on the sensor and RPi GND to sensor GND should should be all you need to get it running.

Go to advanced search