Go to advanced search

by dazz100
Wed Jun 26, 2019 10:21 am
Forum: Troubleshooting
Topic: Updating hostapd fails…
Replies: 9
Views: 5336

Re: Updating hostapd fails…

I have tried downgrading hostapd but that doesn't work either. Here is the screen. [email protected]:/etc/hostapd# apt-cache madison hostapd hostapd | 2:2.6-21~bpo9~rpt1 | http://archive.raspberrypi.org/debian stretch/main armhf Packages hostapd | 2:2.4-1+deb9u4 | http://raspbian.raspberrypi.org/raspbi...
by dazz100
Wed Jun 26, 2019 9:38 am
Forum: Troubleshooting
Topic: Updating hostapd fails…
Replies: 9
Views: 5336

Re: Updating hostapd fails…

Hi I have had the same problem. I have followed the instructions https://www.raspberrypi.org/documentation/configuration/wireless/access-point.md down to, but not including "Add routing and masquerade". This included update and upgrade to: Raspbian GNU/Linux 9 (stretch) Kernel: Linux 4.14.70-v7+ and...
by dazz100
Tue Jan 01, 2019 10:57 am
Forum: Networking and servers
Topic: Pi3 as wireless AP + wireless client controlled with network manager?
Replies: 2
Views: 1138

Re: Pi3 as wireless AP + wireless client controlled with network manager?

Hi I have just tried the peebles solution but failed. The syslog file is below: Jan 1 10:10:24 raspberrypi systemd-udevd[153]: Process '/sbin/iw phy phy0 interface add uap0 type__ap' failed with exit code 1. Jan 1 10:10:24 raspberrypi sh[324]: ifquery: unknown interface uap0 Jan 1 10:10:24 raspberry...
by dazz100
Fri Jul 27, 2018 9:16 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: (solved)pi 3 B+ killing the I2C shield
Replies: 21
Views: 2867

Re: (solved)pi 3 B+ killing the I2C shield

Hi I am using this XBee to Pi shield found here: https://store.ncd.io/product/i2c-shield-for-raspberry-pi-2-3-with-outward-facing-i2c-and-xbee-port/ This works perfectly on a 3B but not a 3B+ When the CE XBee HAT is used on a 3B+ the Pi will not boot. The multi-colour splash screen does not show. Th...
by dazz100
Thu Jul 12, 2018 3:05 am
Forum: Java
Topic: How to get Raspian 3rd party code into Maven repository??
Replies: 1
Views: 1471

How to get Raspian 3rd party code into Maven repository??

Hi I am involved in the development of a Java application running on Raspbian. The code is managed with Maven. There seems to be a problem with code that isn't on the Maven repository. The compiler produces the following error code: [ERROR] Failed to execute goal org.xolstice.maven.plugins:protobuf-...
by dazz100
Mon May 28, 2018 8:34 pm
Forum: Troubleshooting
Topic: cron won't run a perl program
Replies: 6
Views: 675

Re: cron won't run a perl program

Hi It turned out to be a problem with the perl environment and @INC (but not PATH). I installed most perl modules from packages but some were only available from cpan. When I installed them from cpan as user, they were installed into my home directory. cron couldn't find them there. I then installed...
by dazz100
Thu May 24, 2018 11:17 am
Forum: Troubleshooting
Topic: cron won't run a perl program
Replies: 6
Views: 675

Re: cron won't run a perl program

Hi
The problem is that CPAN installed a couple of modules in my home directory. All of the other modules in deb packages were installed in /usr

cron can find the /usr modules but can't find the ones in the home directory.

Dazz
by dazz100
Wed May 23, 2018 10:14 pm
Forum: Troubleshooting
Topic: cron won't run a perl program
Replies: 6
Views: 675

Re: cron won't run a perl program

Hi I tried * * * * * /usr/bin/perl /home/user/upload_image.pl 1 2>&1 | /usr/bin/logger -t test_cron & which sent the perl compiler error messages to syslog with the tag " test_cron" for easy filtering. The error messages told me that the perl compiler couldn't find one of the modules, so compile fai...
by dazz100
Tue May 22, 2018 10:05 am
Forum: Troubleshooting
Topic: cron won't run a perl program
Replies: 6
Views: 675

cron won't run a perl program

Hi I am stuck on a problem with cron. It won't run some of my perl programs. These programs have been running for years under Ubuntu and now Raspbian. Now they don't. These programs run perfectly from the CLI. The crontab looks like this: # Edit this file to introduce tasks to be run by cron. # Tell...
by dazz100
Fri Apr 20, 2018 9:57 am
Forum: Troubleshooting
Topic: Stuck in Emergency Mode Hell
Replies: 2
Views: 403

Re: Stuck in Emergency Mode Hell

Hi
I found the add init=/bin/sh command to the cmdline.txt file.
I then edited fstab and commented out the USB autoload line.

That got me out of a big fire.

Dazz
by dazz100
Fri Apr 20, 2018 5:34 am
Forum: Troubleshooting
Topic: Stuck in Emergency Mode Hell
Replies: 2
Views: 403

Stuck in Emergency Mode Hell

Hi I can't boot my known-to-be good SDcard. The problem seems to be caused by a fstab file that doesn't match the connected or absent USB stick. I formatted the USB stick and it seems that it no longer matches the entry in fstab. I have tried go back to earlier versions of the Raspian /App image but...
by dazz100
Wed Apr 18, 2018 10:44 am
Forum: Advanced users
Topic: Headless system - Post install script
Replies: 21
Views: 5711

Re: Headless system - Post install script

Hi I ended up here because I really want a post script. At present it takes me about a day to manually install Raspian, configure the OS, install, configure and test the applications I run. I want to be able to put an SD card into my PC (Linux or Windows) and write an image that includes the post sc...
by dazz100
Wed Apr 18, 2018 9:06 am
Forum: Raspbian
Topic: mjpg-streamer fails to compile
Replies: 17
Views: 1573

Re: mjpg-streamer fails to compile

Hi
I have done enough Raspian builds to know I haven't done anything to break the c compiler. Right now I have 5 Pi's on my desk and a whole lot more installed. If I sound a bit grumpy it's because it has taken me over 2 days to compile a program and get it running.

I'll raise a bug report.

Dazz
by dazz100
Wed Apr 18, 2018 6:27 am
Forum: Graphics, sound and multimedia
Topic: How To Install Mjpg-Streamer
Replies: 30
Views: 130972

Re: How To Install Mjpg-Streamer

Hi I have installed mjpg-streamer after some trouble. I am using a Logitech C550 webcam. I tried running mjpg-streamer but got the following error messages and no video. The ones that worry me are: UVCIOC_CTRL_MAP - Error at Disable video processing: Inappropriate ioctl for device (25) UVCIOC_CTRL_M...
by dazz100
Wed Apr 18, 2018 4:20 am
Forum: Raspbian
Topic: mjpg-streamer fails to compile
Replies: 17
Views: 1573

Re: mjpg-streamer fails to compile

Hi
I did (another) update/upgrade. The output contained the message:

Code: Select all

ldconfig: /usr/lib/arm-linux-gnueabihf/libbabeltrace.so.1.0.0 is not an ELF file - it has the wrong magic bytes at the start.
by dazz100
Wed Apr 18, 2018 3:29 am
Forum: Raspbian
Topic: mjpg-streamer fails to compile
Replies: 17
Views: 1573

Re: mjpg-streamer fails to compile

Hi Replacing the lib file fixed the problem. mjpg-streamer now compiles. I found and installation script here for a Pi Cam. https://www.raspberrypi.org/forums/viewtopic.php?t=192467 I have adapted this for streaming a Logitech USB webcam. #!/bin/bash # A script to install mjpg-streamer using a Logit...
by dazz100
Tue Apr 17, 2018 10:35 pm
Forum: Raspbian
Topic: mjpg-streamer fails to compile
Replies: 17
Views: 1573

Re: mjpg-streamer fails to compile

Hi I have copied the file: -rw-r--r-- 1 root root 748168 Apr 18 09:39 libbfd-2.28-system.so from the Pi that compiles and placed it in the directory: cd /usr/lib/arm-linux-gnueabihf/ This replaced the file: -rw-r--r-- 1 root root 748168 May 10 2017 libbfd-2.28-system.so Note the different dates but ...
by dazz100
Tue Apr 17, 2018 8:40 pm
Forum: Raspbian
Topic: mjpg-streamer fails to compile
Replies: 17
Views: 1573

Re: mjpg-streamer fails to compile

Hi I tried compiling Hello World from my home directory. #include <stdio.h> main() { printf("Hello World\n"); } The results were: gcc -o hello hello.c hello.c:2:1: warning: return type defaults to ‘int’ [-Wimplicit-int] main() { ^~~~ as: error while loading shared libraries: /usr/lib/arm-linux-gnuea...
by dazz100
Tue Apr 17, 2018 11:42 am
Forum: Raspbian
Topic: mjpg-streamer fails to compile
Replies: 17
Views: 1573

Re: Failed to compile

Works for me, as documented. RPi3 running a recently fully upgraded install of Raspbian Stretch: I note that this differs from your experience right from the outset: [email protected]:~/dazz100/mjpg-streamer/mjpg-streamer-experimental $ make [ -d _build ] || mkdir _build [ -f _build/Makefile ] || (cd _...
by dazz100
Tue Apr 17, 2018 11:37 am
Forum: Raspbian
Topic: mjpg-streamer fails to compile
Replies: 17
Views: 1573

Re: Failed to compile

PeterO wrote:
Tue Apr 17, 2018 10:36 am
What is the output from running "gcc --version" ?
PeterO
$ gcc --version

Code: Select all

gcc (Raspbian 6.3.0-18+rpi1+deb9u1) 6.3.0 20170516

Dazz
by dazz100
Tue Apr 17, 2018 10:19 am
Forum: Raspbian
Topic: mjpg-streamer fails to compile
Replies: 17
Views: 1573

Re: Failed to compile

Hi running make in /tmp/mjpg-streamer/mjpg-streamer-experimental Is that not right?? I don't thing there is a problem with the compiler. The link I included indicated a problem with the symbolic links to get to the compiler. There seems to be a long chain of symbolic links to get to gcc I tried cmak...
by dazz100
Tue Apr 17, 2018 8:43 am
Forum: Raspbian
Topic: mjpg-streamer fails to compile
Replies: 17
Views: 1573

Re: Failed to compile

Hi
I don't think so because the make process doesn't reach the code. It doesn't pass the simple program compile test. I suspect I would see the same problem trying to compile any code.

Dazz
by dazz100
Tue Apr 17, 2018 5:30 am
Forum: Raspbian
Topic: mjpg-streamer fails to compile
Replies: 17
Views: 1573

mjpg-streamer fails to compile

Hi I want to install mjpg-streamer. I followed the building & installation instructions found here: https://github.com/jacksonliam/mjpg-streamer r:/tmp/mjpg-streamer/mjpg-streamer-experimental $ make [ -d _build ] || mkdir _build [ -f _build/Makefile ] || (cd _build && cmake -DCMAKE_BUILD_TYPE=Relea...
by dazz100
Sat Apr 07, 2018 9:58 am
Forum: Java
Topic: How to install Java 8 on Raspbian?
Replies: 19
Views: 198294

Re: How to install Java 8 on Raspbian?

Hi
I have just done a fresh install of the latest version of Raspian Stretch and Java wasn't installed.
I had to install it manually.
by dazz100
Wed Dec 06, 2017 10:49 am
Forum: Raspbian
Topic: ttyAMA0 Missing
Replies: 6
Views: 4106

Re: ttyAMA0 Missing

Hi
I found the solution here viewtopic.php?f=66&t=155434

Go to advanced search