Go to advanced search

by fsr
Wed Dec 21, 2016 2:08 am
Forum: Advanced users
Topic: How do I make RPi more real-time?
Replies: 4
Views: 1178

Re: How do I make RPi more real-time?

OrangeJello wrote:Is this a HW limitation or OS limitation (or both)?
neither, its a decision of the raspbian maintainers not to develop a real time kernel thats all.
--> preempt_rt

https://www.google.com.au/search?q=rasp ... 32&bih=941
by fsr
Wed Dec 21, 2016 2:03 am
Forum: Automation, sensing and robotics
Topic: 433MHz switch vs GPIO switch
Replies: 4
Views: 640

Re: 433MHz switch vs GPIO switch

What am I missing between these two options? well first of the PI is 3.3v so you need to create something to be able to drive the 5v relay board. But the real issue is safety. 1) Isolation: With a wireless setup your pi is safely isolated from the mains power, with a relay board you will have a box...
by fsr
Wed Dec 21, 2016 1:45 am
Forum: Troubleshooting
Topic: Can't connect to any ssl sites
Replies: 26
Views: 1977

Re: Can't connect to any ssl sites

what is in the local firewall (if anything),

Code: Select all

sudo iptables -L
by fsr
Wed Dec 21, 2016 1:42 am
Forum: Beginners
Topic: Hosting my website on a Pi3
Replies: 5
Views: 740

Re: Hosting my website on a Pi3

I wouldn't use Raspbian, security is too sloppy for direct exposure to the internet (raspbian is all about being easy to use). Use Arch or something else that has been built like a normal linux distro Considering I don't care much about security well if you are putting things on the internet you sho...
by fsr
Wed Dec 21, 2016 1:27 am
Forum: Raspbian
Topic: debian official repos in sources.list on RPi3 ?
Replies: 8
Views: 2149

Re: debian official repos in sources.list on RPi3 ?

Oddly, I saw raspbian as a flavour of debian. what like raspberry flavoured or something? :) its derived from Debian like about 1000 other distributions but that doesn't mean is binary compatible. connecting to foreign sources is asking for trouble. you don't know which packages are incompatible. I...
by fsr
Wed Dec 21, 2016 1:09 am
Forum: Troubleshooting
Topic: Headless SSH Not Initializing Properly
Replies: 37
Views: 4776

Re: Headless SSH Not Initializing Properly

That IS fixed. If you run python3 RPi.GPIO or python3 GPIOzero or C/C++ WiringPi (with the right enviroment variable) then none of those things need sudo. Partially fixed https://pypi.python.org/pypi/RPi.GPIO "Note that the current release does not support SPI, I2C, hardware PWM or serial functiona...
by fsr
Tue Dec 20, 2016 3:10 pm
Forum: Troubleshooting
Topic: Headless SSH Not Initializing Properly
Replies: 37
Views: 4776

Re: Headless SSH Not Initializing Properly

The amount of people who open up their Pi to the outside world is very small Can you put a figure on that or are you just going with a gut feeling there? My gut feeling is there are heaps, and half of them are unintentionally exposed. ;) there were 5,000,000 PIs in 2015, now there are 10,000,000. h...
by fsr
Tue Dec 20, 2016 2:05 pm
Forum: Raspbian
Topic: debian official repos in sources.list on RPi3 ?
Replies: 8
Views: 2149

Re: debian official repos in sources.list on RPi3 ?

raspbian is a different distribution to debian.
by fsr
Tue Dec 20, 2016 1:45 pm
Forum: Troubleshooting
Topic: Headless SSH Not Initializing Properly
Replies: 37
Views: 4776

Re: Headless SSH Not Initializing Properly

They have finally taken a step to fix that, and it's a step in the right direction. Sorry, don't agree with you here. Agree raspbian has a major security problem but disabling ssh does not improve security at all. It is just sweeping the problem under the carpet. The underlying issues are still the...
by fsr
Tue Dec 20, 2016 12:54 pm
Forum: Troubleshooting
Topic: NSLookup and dig not recognized
Replies: 9
Views: 37194

Re: NSLookup and dig not recognized

current jessie raspian is missing dnsutils. pi@raspberrypi:/ $ date Tue 20 Dec 12:52:46 UTC 2016 pi@raspberrypi:/ $ uname -a Linux raspberrypi 4.4.34-v7+ #930 SMP Wed Nov 23 15:20:41 GMT 2016 armv7l GNU/Linux pi@raspberrypi:/ $ nslookup -bash: nslookup: command not found pi@raspberrypi:/ $ dig -bash...
by fsr
Thu May 19, 2016 9:20 am
Forum: Advanced users
Topic: RB Pi 3 fail to load SPI1
Replies: 7
Views: 3936

Re: RB Pi 3 fail to load SPI1

A bit more info, The issue arises when two things are configured * the console is on uart1 (/dev/ttyS0) * SPI1 is enabled. I've found another workaround too: 1) if you don't want bluetooth add 'dtoverlay=pi3-disable-bt' directive to the /boot/config.txt (as per above. disables bluetooth, configures ...
by fsr
Wed May 18, 2016 2:35 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Maximum SPI Devices
Replies: 15
Views: 2565

Re: Maximum SPI Devices

Unfortunately it won't boot with that line. Do you know of any gotyas? Hi Joan, looks like there is a conflict between the Aux Uart (UART1) and Aux SPI (SPI1) on the PI3 B. Still looking into it but disabling the Bluetooth (and therefore reverting the Uart config back to PI1/2) seems to work around...
by fsr
Wed May 18, 2016 2:31 am
Forum: Advanced users
Topic: RB Pi 3 fail to load SPI1
Replies: 7
Views: 3936

Re: RB Pi 3 fail to load SPI1

Disabling the BT solved the problem. I just used: dtoverlay=pi3-disable-bt sudo systemctl disable hciuart Thats good news. the BT and the SPI1 share something on the SOC I suspect its a side affect of the BT. The BT module is connected to UART0 so the console is now UART1 (Aux UART) which shares re...
by fsr
Mon May 16, 2016 2:35 pm
Forum: Advanced users
Topic: RB Pi 3 fail to load SPI1
Replies: 7
Views: 3936

Re: RB Pi 3 fail to load SPI1

When I enable this line the Raspberry Pi 3 stops and starts very slowly (unusable). Hi gchirico, I don't have a PI3 so I can't test this myself but if you have the time perhaps we can work though it. SPI1 (and 2) are part of the 3 auxillary devices on the SoC, and enabling it in linux added two new...
by fsr
Mon May 16, 2016 6:01 am
Forum: General discussion
Topic: CPU fan GPIO pins
Replies: 5
Views: 1127

Re: CPU fan GPIO pins

Can you give me the steps to set it up? Would be mutch appreciated scince Im a bit new to Rasperry coding. 1) set your pi to use digital audio (leaves the PWM free for you to use) sudo raspi-config 2) in your config.txt enable the PWM kernel driver by adding this: dtoverlay=pwm-2chan,pin=12,func=4,...
by fsr
Mon May 16, 2016 5:49 am
Forum: General discussion
Topic: CPU fan GPIO pins
Replies: 5
Views: 1127

Re: CPU fan GPIO pins

6by9 wrote:but means you won't have audio output.
you mean analogue audio.
Digital audio (via hdmi) is independent of the PWM.
by fsr
Tue May 03, 2016 7:54 am
Forum: General discussion
Topic: RASPBERRY + RELAY + WATER PUMP 220V AC = SHORT TIME INTERVAL
Replies: 8
Views: 1283

Re: RASPBERRY + RELAY + WATER PUMP 220V AC = SHORT TIME INTE

You need to be aware of inrush current and design everything to handle it. When an electrical motor starts there in an initial 'inrush' current which is much higher than the rated running current. https://en.wikipedia.org/wiki/Inrush_current There may be better ways to modulate the pump (e.g. someth...
by fsr
Fri Apr 22, 2016 1:42 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: 2 UART at the same time
Replies: 1
Views: 310

Re: 2 UART at the same time

You will have to use additional hardware.
The PI has two serial interfaces, but only one set of header pins are exposed, so you can only use one at a time.
Additional hardware can solve other problems for you anyway so its not as bad as it sounds - i.e. 5v ttl / RS232 compliance.
by fsr
Thu Apr 21, 2016 5:49 am
Forum: Advanced users
Topic: Linux kernel is now 4.4
Replies: 114
Views: 51563

Re: Linux kernel is now 4.4

The newer kernel tree does support more devices (e.g. USB devices like wifi and dvb) Just wanted to mention that the 4.4 kernel also supports the broadcom auxiliary SPI hardware too. SPI1 is available to 40pin header rPis on GPIO 16-21 and SPI2 is available to the compute module on GPIO 40-45. Also...
by fsr
Sun Mar 06, 2016 11:41 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Maximum SPI Devices
Replies: 15
Views: 2565

Re: Maximum SPI Devices

joan wrote:I don't think the auxiliary SPI is currently supported. If not, have you any feel for when it might be supported by the Pi Linux driver?
It was accepted into the next raspbian kernel (4.4.x)
https://github.com/raspberrypi/linux/co ... b239b1fd1f
by fsr
Wed Mar 02, 2016 12:22 am
Forum: Device Tree
Topic: Overlay to remap Pi 3 UART
Replies: 109
Views: 62499

Re: Overlay to remap Pi 3 UART

I want to be able to remap the hardware UART TX and RX the current uart1 overlay allows for the remapping of the pins https://github.com/raspberrypi/linux/blob/rpi-4.1.y/arch/arm/boot/dts/overlays/README https://github.com/raspberrypi/linux/blob/rpi-4.1.y/arch/arm/boot/dts/overlays/uart1-overlay.dt...
by fsr
Tue Mar 01, 2016 6:12 am
Forum: General discussion
Topic: The Raspberry Pi 3 Model B Q&A thread
Replies: 457
Views: 140229

Re: The Raspberry Pi 3 Model B Q&A thread

Greg Erskine wrote:

Code: Select all

Revision        : a22082
Thank-you
by fsr
Tue Mar 01, 2016 4:53 am
Forum: General discussion
Topic: The Raspberry Pi 3 Model B Q&A thread
Replies: 457
Views: 140229

Re: The Raspberry Pi 3 Model B Q&A thread

when someone gets hold of one could you post the revision?

Code: Select all

grep Revision /proc/cpuinfo
thanks!
by fsr
Mon Feb 29, 2016 5:54 am
Forum: Troubleshooting
Topic: Beginner can't SSH into Pi and He's Going Crazy
Replies: 5
Views: 437

Re: Beginner can't SSH into Pi and He's Going Crazy

what does netstat show on the pi, i.e. netstat -a | grep ssh secondly the pi should be able to ssh to itself across both it's network interface and loopback address $ ifconfig | grep 'inet addr' inet addr:10.57.3.25 Bcast:10.57.255.255 Mask:255.255.0.0 inet addr:127.0.0.1 Mask:255.0.0.0 $ ssh 10.57....
by fsr
Sun Feb 28, 2016 11:03 pm
Forum: Advanced users
Topic: PI access point route to different interface
Replies: 5
Views: 493

Re: PI access point route to different interface

Gotcha007 wrote:everything that come from wlan0 must go to tun0
ok and this is 'normal' VPN behaviour. (as the whole point of establishing a VPN tunnel is to send all your traffic through it)
See if you can configure 'split tunnelling' - that allows for some traffic to go onto the LAN

Go to advanced search