Go to advanced search

by katesfb
Fri Mar 01, 2013 11:01 am
Forum: Beginners
Topic: apt-get not working but internet OK
Replies: 7
Views: 2031

Re: apt-get not working but internet OK

Hi,
Found the problem, on the latest version of wheezy that i have (Feb 2013) it was necessary to set up a small script in /etc/apt/apt.conf.d/01proxy with the proxy info, once that was done all went fine.

Cheers.
by katesfb
Fri Mar 01, 2013 10:51 am
Forum: General discussion
Topic: can the pi do "software serial"?
Replies: 10
Views: 21703

can the pi do "software serial"?

Hi, Is is possible for the pi to do "software serial", i know it can do hardware serial via the dedicated Uart but can it also do software serial in the same way that a microprocessor such as a PIC or AVR can do both hardware and software serial, the software serial being able to use any g...
by katesfb
Tue Feb 26, 2013 8:28 am
Forum: Beginners
Topic: apt-get not working but internet OK
Replies: 7
Views: 2031

Re: apt-get not working but internet OK

Hi SirLagz, Thanks for the reply. Not behind a firewall (i think - i'll check that) but i do have to use a proxy (have to setup an apt.conf file in /etc/apt with a couple of entries in it and add an entry to /home/pi/.bashrc) but this is set up exactly the same as on my first Pi (256 MB one) and thi...
by katesfb
Tue Feb 26, 2013 5:16 am
Forum: Beginners
Topic: apt-get not working but internet OK
Replies: 7
Views: 2031

Re: apt-get not working but internet OK

Hi,
And thanks for the reply. I actually get the error after trying to do an update "sudo apt-get update".

Any ideas?

Cheers.
by katesfb
Mon Feb 25, 2013 11:38 pm
Forum: Beginners
Topic: apt-get not working but internet OK
Replies: 7
Views: 2031

apt-get not working but internet OK

Hi, I seem to be having trouble getting apt-get to work. I get the following error: Could not connect to mirrordirector.raspbian.org:80 (89.16.177.202). - connect (110: Connection timed out). The internet itself seems OK for example searching with midori works fine. There have been some posts that s...
by katesfb
Fri Feb 08, 2013 2:13 am
Forum: Beginners
Topic: autostarting applications
Replies: 5
Views: 1923

Re: autostarting applications

Hi, and thanks for the reply - was very helpful so i think i am very close now - this is what i have done so far: [Desktop Entry] Name=piShutdown Comment=Start a script to shutdown pi when without monitor Path=/home/pi/Documents/Programming/Python/pysource Exec=/home/pi/Documents/Programming/Python/...
by katesfb
Thu Feb 07, 2013 9:00 pm
Forum: Beginners
Topic: autostarting applications
Replies: 5
Views: 1923

Re: autostarting applications

Hi, And thanks for the reply. The OS is wheezy raspian and the desktop is LXDE. I did find some further information in this link (http://pclosmag.com/html/Issues/201009/page10.html) that was quite helpful. This essentially involves setting the desktop to execute a shell script in the /usr/bin direct...
by katesfb
Thu Feb 07, 2013 5:42 am
Forum: Beginners
Topic: autostarting applications
Replies: 5
Views: 1923

autostarting applications

Hi, I have a python file that i need to auto start once the desktop has appeared. However i am running the pi headless and a user (who will not have access to a laptop running vnc) will simply turn on the pi and after booting the python file should execute. The python file creates a GUI and starts a...
by katesfb
Tue Jan 29, 2013 2:17 am
Forum: Beginners
Topic: shutting down rasp pi via I/O port
Replies: 2
Views: 1317

shutting down rasp pi via I/O port

Hi, We have a rasp-pi that is running headlessly and when we want to check whats going on we connect to it with a laptop via VNC. However there are occasions when we want to be able to shut it down when we don't have a laptop present and therefore cant shut it down properly. Is it possible to shut i...
by katesfb
Mon Dec 17, 2012 7:55 pm
Forum: Troubleshooting
Topic: operation not permitted error on USB port
Replies: 3
Views: 1230

Re: operation not permitted error on USB port

Anybody???
by katesfb
Mon Dec 17, 2012 4:46 am
Forum: Troubleshooting
Topic: operation not permitted error on USB port
Replies: 3
Views: 1230

Re: operation not permitted error on USB port

Hi, Some more information; I have just used cutecom to see what is actually coming in the uart rx line and there is a stream of characters that appears every 5s (should be just a few characters indicating the voltage). The string appears as approximately 30 characters in blocks of 4 or 5 separated b...
by katesfb
Mon Dec 17, 2012 4:15 am
Forum: Troubleshooting
Topic: operation not permitted error on USB port
Replies: 3
Views: 1230

Re: operation not permitted error on USB port

Hi, I think the problem was the way i was interacting with the USB ports via python ie opening and closing the port every time i wanted to know what the voltage was (every 5s) i have changed this back to just opening the ports right at the start and leaving them open. Everything seems to working fin...
by katesfb
Wed Dec 12, 2012 10:18 pm
Forum: Troubleshooting
Topic: operation not permitted error on USB port
Replies: 3
Views: 1230

operation not permitted error on USB port

Hi, I have an RPi used as a remote logging application that makes use of three USB inputs via a USB to multi serial cable. The first inputs system voltage serial data, another inputs RFID tag serial data, and the last is connected to a modem for txting purposes. These are all brought together in a p...
by katesfb
Mon Nov 26, 2012 8:05 pm
Forum: Python
Topic: DS1624 i2c temperature sensor
Replies: 4
Views: 2939

Re: DS1624 i2c temperature sensor

Hi Techpaul, I have looked at a few python examples of using smbus with temperature sensors but none seem to show any initialising - so how would i do that? I made use of the i2cget command but it always gives the same value (0x80ff) no matter what temperature the sensor is at (is this becos i haven...
by katesfb
Sun Nov 25, 2012 8:50 pm
Forum: Python
Topic: DS1624 i2c temperature sensor
Replies: 4
Views: 2939

DS1624 i2c temperature sensor

Hi, I have a DS1624 i2c temperature sensor where temperature is read as a 13 bit value (2 byte transfer). I have set up the i2c system which is working fine and have a written a python program to get temperature data from the DS1624 (see below) and this works but is not giving me the correct output....
by katesfb
Fri Oct 12, 2012 2:34 am
Forum: Beginners
Topic: disabling suspend mode
Replies: 1
Views: 979

disabling suspend mode

Hi, I have a RPi running headlessly via VNC and direct cable connection to a laptop and have been testing the RPi with a few logging applications logging serial data coming in through a usb to serial converter and everything runs really well except for 1 small issue in that the RPi seems to go into ...
by katesfb
Tue Sep 18, 2012 11:32 am
Forum: Beginners
Topic: ethernet connection from RPi to laptop
Replies: 10
Views: 18681

Re: ethernet connection from RPi to laptop

HI, And thanks for the replies. I am still having issues getting this direct Ethernet cable connection to work. This is what i have done so far: Setup static IP address in /etc/network/interfaces in RPi; auto lo iface lo inet loopback iface eth0 inet static address 192.168.250.2 netmask 255.255.255....
by katesfb
Wed Aug 29, 2012 10:54 am
Forum: Beginners
Topic: ethernet connection from RPi to laptop
Replies: 10
Views: 18681

Re: ethernet connection from RPi to laptop

Hi,
And thanks for the replies. Since i am connecting directly from the pi to the laptop what do i put for the gateway in /etc/network/interfaces, normally it would be whatever the router is but in this case there is no router or network.

Cheers.
by katesfb
Wed Aug 29, 2012 4:04 am
Forum: Beginners
Topic: ethernet connection from RPi to laptop
Replies: 10
Views: 18681

ethernet connection from RPi to laptop

Hi, Have had the RPi for a couple of weeks now and all is going well. Have written a python logging application (with GUI) that takes serial input from a sensor via a USB serial cable and writes collected data to an external USB flash drive. What we are also hopping to is to setup the pi in remote a...
by katesfb
Tue Aug 14, 2012 4:51 am
Forum: Python
Topic: issue installing RPi.GPIO
Replies: 4
Views: 1543

issue installing RPi.GPIO

Hi, I am having a few issues installing the python module to access the GPIO pins (RPi.GPIO-0.3.1a). During install i get the following error; URLlib2.URLerror: <urlopen error [error -2] name or service not known> The operating system is wheezy raspian and it is the B model Pi. All other modules hav...

Go to advanced search