Go to advanced search

by DougieLawson
Fri Dec 06, 2013 3:00 pm
Forum: Troubleshooting
Topic: Password won't update
Replies: 4
Views: 2842

Re: Password won't update

sudo passwd runs as the root (superuser, uid(0)) and will set it's password. passwd runs as the logged in user and will set it's password but you need the existing password to do that. sudo passwd someusernamehere will use superuser powers to set the password for someusernamehere without needing to ...
by DougieLawson
Fri Dec 06, 2013 2:53 pm
Forum: Python
Topic: How to send a byte through GPIO
Replies: 13
Views: 8866

Re: How to send a byte through GPIO

How do I send a byte through the gpio pins? In parallel you need 9 pins. 8 for the data, 1 to go high on data ready. (Hence the reason why 7-bit ASCII was so popular for printing, that saved a bit and saved a wire.) In serial you need 1 or 2 pins (or more), with 2 pins 1 for the data, 1 clock bit t...
by DougieLawson
Fri Dec 06, 2013 2:43 pm
Forum: Troubleshooting
Topic: no mac address at all
Replies: 9
Views: 2022

Re: no mac address at all

Do you have a Windows machine that works with your router/WiFi? (I'll assume you do since you're posting on this forum.)

Open a windows cmd window and enter ipconfig /all, paste the results of that here.
by DougieLawson
Fri Dec 06, 2013 6:33 am
Forum: Beginners
Topic: Copy
Replies: 6
Views: 935

Re: Copy

I use Win32DiskImager for all my Backups. Its fast and easy. Backups with DD on the RasPi are just too slow, especially when the web server has a 16GB SD card! I prefer to set a DD going last thing at night and leave my RPI running 24*7. To use Win32DiskImager I have to shutdown my RPi. I've got th...
by DougieLawson
Fri Dec 06, 2013 6:28 am
Forum: Off topic discussion
Topic: Samsung S4 or HTC One
Replies: 8
Views: 2390

Re: Samsung S4 or HTC One

They're not an over priced, under specified iPhone so you're good to go. There's an awful lot of "my phone is better than your phone" hype in the world of cell phones. It may be better to look at things like available memory, available flash storage and whether you can stick in a microSD. Than to lo...
by DougieLawson
Fri Dec 06, 2013 6:12 am
Forum: Troubleshooting
Topic: BarracudaDrive and apache running?
Replies: 4
Views: 1359

Re: BarracudaDrive and apache running?

dynamitemedia wrote:i have did this tutorial over and over with no luck when i try to hit submit it doesn't do anything at all...

anyone actually get this working?
What are you trying to achieve?
Proxying?
Reverse proxying?
Virtual hosts?
A simple web server?
by DougieLawson
Fri Dec 06, 2013 6:09 am
Forum: Troubleshooting
Topic: Pin failure
Replies: 8
Views: 3416

Re: Pin failure

I've no cable connected to the GPIO Those pins are died? Probably not. You get stray values if a pin is allowed to float without a pull-up or pull-down resistor. If you attach a wire to an open pin and use a finger on the other end you can get a signal. Pins only die when you send volts over 3V3 do...
by DougieLawson
Fri Dec 06, 2013 5:59 am
Forum: Automation, sensing and robotics
Topic: DHT22, Adafruit DHT Driver... sub-zero issue (SOLVED)
Replies: 8
Views: 5392

Re: DHT22, Adafruit DHT Driver... sub-zero issue

CharlyDelta wrote:Any idea ?
How does it fail? Have you tried running it in a debugger like Adafruit's WebIDE http://learn.adafruit.com/webide

BTW, when you post python you MUST use [code][/code] tags or we lose all of the white space formatting (which is critical for python syntax).
by DougieLawson
Fri Dec 06, 2013 5:53 am
Forum: Automation, sensing and robotics
Topic: Remote access to Raspberry Pi
Replies: 3
Views: 1351

Re: Remote access to Raspberry Pi

Can anybody point me to a resource to show me how the remote access is achieved? You need WiFi hardware, the Edimax EW7811 works with the RPi & Raspbian http://www.amazon.co.uk/Edimax-EW-7811UN-150Mbps-Wireless-Adapter/dp/B003MTTJOY Then as Ivan says it's a case of running a server like sshd, vncse...
by DougieLawson
Fri Dec 06, 2013 5:48 am
Forum: Beginners
Topic: Copy
Replies: 6
Views: 935

Re: Copy

This should copy from your SD card to a USB stick or USB HDD. DD is part of Linux Using a Fuji USB SDCard reader is better, then you get a cloned card that can be used to boot the machine. http://www.play.com/Electronics/Electronics/-/3188/2455/-/28850782/Fujifilm-USB-SD-Card-Reader/Product.html Ev...
by DougieLawson
Fri Dec 06, 2013 5:45 am
Forum: Troubleshooting
Topic: eth0 not working
Replies: 3
Views: 854

Re: eth0 not working

What's in your /etc/network/interfaces file. Here's the way to a) disable wireless and b) set a static address on eth0 auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 192.168.1.200 netmask 255.255.255.0 gateway 192.168.1.1 # Disable the wireless definitions #auto wlan0 #allow...
by DougieLawson
Fri Dec 06, 2013 5:40 am
Forum: C/C++
Topic: ADC driver code for raspberry pi
Replies: 5
Views: 2898

Re: ADC driver code for raspberry pi

kondaveetiarungopal wrote:but i dont want use wiring pi..
totally code will be in c language..
What language do you think WiringPi is written in?
Why not use tried and tested code rather than developing your own?
Code re-use and pre-written libraries are the way of the world.
by DougieLawson
Fri Dec 06, 2013 5:36 am
Forum: Advanced users
Topic: How to connect this 433 m sender with Raspberry
Replies: 5
Views: 2887

Re: How to connect this 433 m sender with Raspberry

Nevertheless, this kind of circuits are not ice cream, where you don't need datasheet/manual to enjoy it... :roll: It should be a crime to sell these things without a data sheet. If we had a high def, well focused photo of the other side of the board we may be able to identify the chip and from tha...
by DougieLawson
Fri Dec 06, 2013 5:32 am
Forum: Beginners
Topic: Facing HUGE disappointment
Replies: 16
Views: 2681

Re: Facing HUGE disappointment

Download NOOBS (1.2GB) or NOOBS lite (200MB) http://raspberrypi.org/downloads NOOBS lite needs a network connection to complete the install. Download the SD Formatter so you can clear your SDCard and get it back to a single partition with a single 8GB FAT partition UNZIP the downloaded file and copy...
by DougieLawson
Fri Dec 06, 2013 4:53 am
Forum: Beginners
Topic: Beginner question
Replies: 13
Views: 2030

Re: Beginner question

We have gotten new breakout kit tonight. We finished setting up the RDP server. Tomorrow we will solder, I have to make sure that the solder does not run between point right? Sorry to ask such basic electronic questions, I have done many different hobbies some that included soldering but never such...
by DougieLawson
Thu Dec 05, 2013 11:50 pm
Forum: General discussion
Topic: keyboard mapping
Replies: 1
Views: 653

Re: keyboard mapping

Raspbian Wheezy defaults to a United Kingdom keyboard layout. ¬!"£$%^&*()_+`1234567890-= QWERTYUIOP{}qwertyuiop[] ASDFGHJKL:@~asdfghjkl;'# |ZXCVBNM<>?\zxcvbnm,./ By running sudo raspi-config you should be able to set the internationalisation options to Turkish and set it to use your Turkish keyboard.
by DougieLawson
Thu Dec 05, 2013 11:27 pm
Forum: Troubleshooting
Topic: External Hard Drive Continually Unmounts
Replies: 12
Views: 5771

Re: External Hard Drive Continually Unmounts

smashbangfusion wrote:What would be the command to get the relevant output?
dmesg | grep 'usb' | less
by DougieLawson
Thu Dec 05, 2013 11:22 pm
Forum: Beginners
Topic: Get started with Pi without any external hardware?
Replies: 26
Views: 4147

Re: Get started with Pi without any external hardware?

Oh thanks, but there is no HDMI monitor in here (nor any monitor, for that matter, except an older TV). Only TV at a friend's home. No intention to buy hardware that will be used only once (including wired mouse and keyboard) You can do the initial install with a yellow RCA cable connected to your ...
by DougieLawson
Thu Dec 05, 2013 11:16 pm
Forum: Troubleshooting
Topic: installing isc-dhcp-server
Replies: 7
Views: 3444

Re: installing isc-dhcp-server

Could it be something to do with the changes made in the previous step in the interfaces file? Here's my working sample /etc/network/interfaces auto lo auto eth0 auto wlan0 iface lo inet loopback iface eth0 inet dhcp allow-hotplug wlan0 iface wlan0 inet dhcp wpa_roam /etc/wpa_supplicant/wpa_supplic...
by DougieLawson
Thu Dec 05, 2013 11:06 pm
Forum: Beginners
Topic: Get started with Pi without any external hardware?
Replies: 26
Views: 4147

Re: Get started with Pi without any external hardware?

You can easily run headless.

You may need a HDMI monitor to get it set-up and get raspi-config run and the network configured. But once that's done running it without a monitor is easy. PuTTY is my preferred SSH client on windows. JuiceSSH is the one on my Android tablet.
by DougieLawson
Thu Dec 05, 2013 10:49 pm
Forum: Troubleshooting
Topic: installing isc-dhcp-server
Replies: 7
Views: 3444

Re: installing isc-dhcp-server

Your RPi isn't connected to your WiFi (and therefore isn't connected to the public Internet).
Or your subnet mask is incorrect.
Or your gateway / routing table is incorrect.
Your WiFi adapter has gone into power saving mode.
Or you cable isn't connected to a live port on your router/switch.
by DougieLawson
Thu Dec 05, 2013 10:46 pm
Forum: Off topic discussion
Topic: A £11.99 Oscilloscope for the Beginner
Replies: 18
Views: 9612

Re: A £11.99 Oscilloscope for the Beginner

joan wrote:A £0.00 oscilloscope for the beginner.

http://abyz.co.uk/rpi/pigpio/piscope.html
Nice. Thank you.
by DougieLawson
Thu Dec 05, 2013 9:43 pm
Forum: Troubleshooting
Topic: Ip Address
Replies: 29
Views: 7181

Re: Ip Address

I also found a note about deleting wlan0 from /etc/udev/rules.d/70-persistent-net.rules to get WiFi working.
by DougieLawson
Thu Dec 05, 2013 9:39 pm
Forum: Troubleshooting
Topic: Ip Address
Replies: 29
Views: 7181

Re: Ip Address

I'd start by connecting with a wire, boot occidentalis then run rpi-update to a) get the latest 3.10.21+ kernel and b) latest device driver modules.
by DougieLawson
Thu Dec 05, 2013 9:26 pm
Forum: Troubleshooting
Topic: Ip Address
Replies: 29
Views: 7181

Re: Ip Address

i am using wifi at the moment. Right now I am using Raspbian on one SD card. The ip address shows up on ifconfig but cant access ssh, internet. On another SD card with Occidentalis installed, no ip address shows up and I still cannot connect to internet, shh etc. This is my situation at the moment....

Go to advanced search