Go to advanced search

by amadeus84
Sat Sep 09, 2017 12:39 am
Forum: Advanced users
Topic: pi0 w wifi problem
Replies: 7
Views: 1709

Re: pi0 w wifi problem

Unfortunately that didn't help.

I noticed in the logs I have the following:

wlan0: CTRL-EVENT-ASSOC-REJECT status_code=16
wlan0: CRTL-EVENT-SSID-TEMP-DISABLED id=0 ssid="myssid" auth_failures=1 duration=10 reason=CONN_FAILED
by amadeus84
Thu Sep 07, 2017 11:34 pm
Forum: Advanced users
Topic: pi0 w wifi problem
Replies: 7
Views: 1709

Re: pi0 w wifi problem

Copying from the pi0 w: # iw wlan0 info Interface wlan0 ifindex 2 wdev 0x1 addr b8:27:eb:8d:41:71 type managed wiphy 0 channel 1 (2412 MHz), width: 20 MHz, center1: 2412 MHz iwlist wlan0 channel wlan0 11 channels in total; available frquencies: Channel 01 : 2.412 GHz Channel 02 : 2.417 GHz Channel 0...
by amadeus84
Thu Sep 07, 2017 11:03 pm
Forum: Advanced users
Topic: pi0 w wifi problem
Replies: 7
Views: 1709

Re: pi0 w wifi problem

The pi0 W sees only my 2.4GHz network, nothing else. The other pis (using the edimax dongle) see my 2.4 and 5GHz networks and a neighbor or two. I know it should choose the channel on its own, but it doesn't seem to be happening. I want to know if other people are able to set it manually. Is this a ...
by amadeus84
Thu Sep 07, 2017 12:42 am
Forum: Advanced users
Topic: pi0 w wifi problem
Replies: 7
Views: 1709

Re: pi0 w wifi problem

So nobody in the advanced users forum knows how to or can try to change the wifi channel on a pi0 w?
by amadeus84
Tue Sep 05, 2017 3:54 am
Forum: Advanced users
Topic: pi0 w wifi problem
Replies: 7
Views: 1709

pi0 w wifi problem

I have a bunch of RPi computers around my house connected wirelessly to my router and usually the connection is pretty spotty for the ones further away from the router. Last week I got a pi0 w and ever since I tried to get wifi to work on it. I tried first stretch and then jessie and I did get it to...
by amadeus84
Sun Apr 12, 2015 5:51 pm
Forum: Troubleshooting
Topic: can't run script at boot
Replies: 3
Views: 401

Re: can't run script at boot

Problem solved!

My script uses gpio, which is in /usr/local/bin, which is not in the path at the time when /etc/rc.local is being run at boot. Adding /usr/local/bin to the path in my script solved the problem.
by amadeus84
Sun Apr 12, 2015 2:35 pm
Forum: Troubleshooting
Topic: can't run script at boot
Replies: 3
Views: 401

Re: can't run script at boot

Thanks for the answer! Following your suggestion to echo to a file from rc.local does show that it runs. My script is a shell script. It uses gpio to read an input pin (from a motion sensor), then if the pin is high, it plays an audio message using espeak and raises an output pin (again with gpio) t...
by amadeus84
Sat Apr 11, 2015 11:56 pm
Forum: Troubleshooting
Topic: can't run script at boot
Replies: 3
Views: 401

can't run script at boot

At boot I need to run a script that uses gpio to read input from a motion sensor in an infinite loop, so I put /home/pi/myscript & in /etc/rc.local, before the exit 0 line. The script does not start though. Any help troubleshooting this?How do I even check that /etc/rc.local is being run? I tried pu...
by amadeus84
Thu Mar 12, 2015 2:42 am
Forum: Troubleshooting
Topic: Raspberry Pi Security Camera
Replies: 1
Views: 422

Re: Raspberry Pi Security Camera

What exactly have you tried, and what doesn't work? On your PC: suppose it's IP = 192.168.1.20 and that you want to receive the video stream on port 56789. 1) Open port 56789 in the firewall. 2) listen with nc on port 56789 and pipe to mplayer nc -k -l 56789 | mplayer -fps 31 -cache 4096 - # note th...
by amadeus84
Wed Mar 04, 2015 5:18 am
Forum: Pidora / Fedora
Topic: sound on Pidora 2014
Replies: 0
Views: 2897

sound on Pidora 2014

I'm trying to get sound out of my RPi model B with Pidora 2014 running on it, using ALSA and the 3.5mm jack. I searched long and hard on how to do this and I saw that I needed to modprobe snd_bcm2835. So, to my surprise I don't even have this anywhere on the system. I download the kernel source rpm ...
by amadeus84
Mon Jul 21, 2014 11:36 am
Forum: Bare metal, Assembly language
Topic: serial usb programming
Replies: 4
Views: 1926

Re: serial usb programming

PeterO wrote:It should be as simple as replacing "/dev/ttyS0" with "/dev/ttyUSB0"

PeterO

That's what I was hoping, but I'm trying this on my pc first, and I don't have /dev/ttyUSB0. I do have /dev/ttyS[0-3].
by amadeus84
Mon Jul 21, 2014 5:38 am
Forum: Bare metal, Assembly language
Topic: serial usb programming
Replies: 4
Views: 1926

serial usb programming

Some time ago I wrote a program that opens the serial port (/dev/ttyS0) on a PC and controls a PTZ camera. Now I want to use that with the Pi, but of course, the Pi has no serial port (RS232). Given the right RS232 to usb converter (perhaps this one http://www.amazon.com/Manhattan-Serial-Converter-C...
by amadeus84
Fri Jul 18, 2014 5:14 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: male rs232 to ttl converter
Replies: 7
Views: 2234

Re: male rs232 to ttl converter

So the difference between ICL3232 and MAX3232 is the manufacturer? They are otherwise equivalent?

About the gender changer, of course, that's always an option. I prefer parsimony though.
by amadeus84
Fri Jul 18, 2014 4:28 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: male rs232 to ttl converter
Replies: 7
Views: 2234

male rs232 to ttl converter

I have this Sony PTZ camera that I can control from my PC via the serial port. The camera serial cable is female. I would like to have the RPi control the camera, rather than my PC. So I need to a TTL to RS232 converter, but the DB9 connector must be male. For reasons I do not understand, there seem...
by amadeus84
Fri Jul 18, 2014 4:02 am
Forum: Automation, sensing and robotics
Topic: Antoher Raspberry Pi Quadcopter
Replies: 6
Views: 2121

Re: Antoher Raspberry Pi Quadcopter

This is the best quad site ever! Complete, yet concise, and very readable.

Now, does it fly? Not being sarcastic, just want to make sure, before I start replicating yours.
by amadeus84
Sat Jul 12, 2014 12:27 pm
Forum: Pidora / Fedora
Topic: usbtv
Replies: 5
Views: 4146

Re: usbtv

Thanks for the reply. The linuxtv wiki is very useful. I did end up recompiling the kernel though (3.14), enabling support for usbtv (CONFIG_VIDEO_USBTV=m) under "webcam devices" and possibly a few other things that this might require (I don't remember off the top of my head). My device is an Easyca...
by amadeus84
Tue Jun 24, 2014 4:12 am
Forum: Pidora / Fedora
Topic: usbtv
Replies: 5
Views: 4146

Re: usbtv

Thank you for the link. That's good to know. Unfortunately, his versions do not have the usbtv module compiled, so this leaves me no choice but compile the kernel.

If I were to make a feature request that Pidora provide the usbtv module in future kernel updates, where would I do that?
by amadeus84
Sun Jun 22, 2014 6:20 pm
Forum: Pidora / Fedora
Topic: usbtv
Replies: 5
Views: 4146

usbtv

I have this usb frame grabber that I want to use with my RPi under Pidora 20. The version I happen to have is UTV007 (Fushicai) so I need the usbtv kernel module. That module does come with the 3.14 kernel on Fedora 20, and works beautifully: 4) amadeus:~> locate usbtv.ko /usr/lib/modules/3.13.10-20...

Go to advanced search