Go to advanced search

by DougieLawson
Mon Jan 22, 2018 11:03 pm
Forum: Networking and servers
Topic: web-based filemanager
Replies: 2
Views: 759

Re: web-based filemanager

Don't hold your breath waiting. You're replying to a four year old post by a forum user who hasn't visited since Tue 17 Mar 2015 @ 16:35.
by DougieLawson
Mon Jan 22, 2018 9:16 pm
Forum: General discussion
Topic: Pi3 stuck with wrong DNS server and RO filesystem?
Replies: 9
Views: 216

Re: Pi3 stuck with wrong DNS server and RO filesystem?

Get a new SDCard, download a copy of Raspbian, install a version of Etcher. Use Etcher to write Raspbian to your new SDCard. Stick that in your RPi and boot the system. Get the broken SDCard in a USB reader, mount the USB reader in your RPi. Open a command window and run the following: sudo -i for i...
by DougieLawson
Mon Jan 22, 2018 9:08 pm
Forum: Media centres
Topic: How to access a single website that works on Internet Explorer only
Replies: 3
Views: 88

Re: How to access a single website that works on Internet Explorer only

Ask the manufacturer to support Linux. When they agree to that ask them to support Linux on an ARM based processor. Or search the internets for other Linux users who've met the same problem. Or start writing your own code. You can reverse-engineer the protocol using Wireshark and lots of time. Or se...
by DougieLawson
Mon Jan 22, 2018 8:30 pm
Forum: General discussion
Topic: Pi3 stuck with wrong DNS server and RO filesystem?
Replies: 9
Views: 216

Re: Pi3 stuck with wrong DNS server and RO filesystem?

So that means you've trashed /etc/fstab.
by DougieLawson
Mon Jan 22, 2018 8:11 pm
Forum: Troubleshooting
Topic: wiringPiISR segmentation fault
Replies: 3
Views: 61

Re: wiringPiISR segmentation fault

What version of Gordon Henderson's C/C++ wiringPi library is installed?
What version of the "unofficial" python bindings is installed https://github.com/WiringPi/WiringPi-Python/

What OS (Wheezy? Jessie? or Stretch?), what model of Raspberry?
by DougieLawson
Mon Jan 22, 2018 8:07 pm
Forum: General discussion
Topic: Pi3 stuck with wrong DNS server and RO filesystem?
Replies: 9
Views: 216

Re: Pi3 stuck with wrong DNS server and RO filesystem?

It's impossible for us to tell.

If any part of the filesystem can be mounted as read/write can you write a file there, shutdown, reboot and see if the file and it's contents are intact.

Or if you're willing to trash the SDcard try formatting it in a camera, phone or tablet.
by DougieLawson
Mon Jan 22, 2018 6:41 pm
Forum: Java
Topic: 3'5'' TFT Touch screen doesn't display JavaFX apps
Replies: 2
Views: 64

Re: 3'5'' TFT Touch screen doesn't display JavaFX apps

All of your [IMG]...[/img] tags are broken. You can't insert whitespace between the tag and the URL or between the URL and the closing tag.
by DougieLawson
Mon Jan 22, 2018 6:37 pm
Forum: Beginners
Topic: raspberrypi nfs is mounted as root
Replies: 23
Views: 404

Re: raspberrypi nfs is mounted as root

/media/pi (created by the GUI automounter) is owned by pi:pi. Actually, i think it is created by udisks2 What's udisk2 - never heard of that wee beastie. I find automounters are neither use nor ornament. It's a monster pain to find that device you've just inserted because it needs a forced fsck end...
by DougieLawson
Mon Jan 22, 2018 6:30 pm
Forum: General discussion
Topic: Monochrome LCD 128/64 Display letter selection input?
Replies: 6
Views: 153

Re: Monochrome LCD 128/64 Display letter selection input?

Have you considered a 20x4 LCD HD44780 screen that would give you 80 characters on the screen, also can easily be driven direct from the gpio using just 6 gpio's plus 5v and ground https://i.imgur.com/vAtdafOm.jpg Get an LCD with a PCF8547 backpack and you're down to driving it from 2 GPIOs (I2c SD...
by DougieLawson
Mon Jan 22, 2018 6:19 pm
Forum: Troubleshooting
Topic: pi 3 : camera : OV5647 : ENOMEM - help / advise needed
Replies: 6
Views: 122

Re: pi 3 : camera : OV5647 : ENOMEM - help / advise needed

Look at the photos on https://elinux.org/Rpi_Camera_Module it's not labelled "SUNNY" but it does have a functionally equivalent connector.
by DougieLawson
Mon Jan 22, 2018 5:49 pm
Forum: Weather station
Topic: Error upload Oracle
Replies: 1
Views: 34

Re: Error upload Oracle

Code: Select all

'Name or service not known'
That's the best clue. Is /etc/resolv.conf set up correctly? Can you RPi resolve https://apex.oracle.com/ to 141.146.114.8

Can you try ping -c3 apex.oracle.com?
Can you try ping -c3 141.146.114.8?
Can you try telnet 141.146.114.8 443?
through your firewall?
by DougieLawson
Mon Jan 22, 2018 5:43 pm
Forum: Code Club
Topic: crontab help
Replies: 4
Views: 78

Re: crontab help

Also DISPLAY=:0.0 must be upper case.

It's much better to do this stuff from the GUI autostart process.
by DougieLawson
Mon Jan 22, 2018 9:01 am
Forum: Raspbian
Topic: Networking - Raw Ethernet programming
Replies: 9
Views: 269

Re: Networking - Raw Ethernet programming

If you want raw frames then install tcpdump it reads traffic at layer 2.
by DougieLawson
Mon Jan 22, 2018 8:55 am
Forum: Beginners
Topic: Converting incoming messages to Unicode.
Replies: 5
Views: 135

Re: Converting incoming messages to Unicode.

Those are artifacts of your serial monitor not having any Unicode support.
by DougieLawson
Mon Jan 22, 2018 8:53 am
Forum: Beginners
Topic: raspberrypi nfs is mounted as root
Replies: 23
Views: 404

Re: raspberrypi nfs is mounted as root

/media/pi (created by the GUI automounter) is owned by pi:pi.
by DougieLawson
Mon Jan 22, 2018 8:51 am
Forum: General discussion
Topic: Pi3 stuck with wrong DNS server and RO filesystem?
Replies: 9
Views: 216

Re: Pi3 stuck with wrong DNS server and RO filesystem?

Get a new SDCard, use the card cloning tool to build it from your broken SDCard.
by DougieLawson
Mon Jan 22, 2018 12:31 am
Forum: Troubleshooting
Topic: PHP installed but not working?
Replies: 8
Views: 181

Re: PHP installed but not working?

I like MQTT as it gives you a data source that's versatile for any subscriber.

https://github.com/eclipse/paho.mqtt.android
I hacked a version of that to subscribe to a mosquitto topic I'm publishing from an Arduino.
by DougieLawson
Sun Jan 21, 2018 11:55 pm
Forum: Beginners
Topic: no audio
Replies: 1
Views: 37

Re: no audio

What mode is your monitor running in? DMT doesn't support audio.
Take a look with a tvservice -s command.

Take a look at what modes are available with tvservice -m CEA;tvservice -m DMT command.
by DougieLawson
Sun Jan 21, 2018 11:52 pm
Forum: General discussion
Topic: 'saving' GPIO state on reboot
Replies: 2
Views: 103

Re: 'saving' GPIO state on reboot

No. You'd have to read all the GPIO status and store that in a file or database, then on reboot read the file or database and restore the status. There's no ready-built way to do that stuff. The GPIOs tend to start in a predictable state on a cold restart from power off/power on. On a warm restart (...
by DougieLawson
Sun Jan 21, 2018 11:40 pm
Forum: Media centres
Topic: How to access a single website that works on Internet Explorer only
Replies: 3
Views: 88

Re: How to access a single website that works on Internet Explorer only

You won't ever get something like that working on a Raspberry for two reasons: 1. No browser supports ActiveX 2. Any ActiveX control will be written for X86 or X86_64 processors only and would fail to run on a Raspberry Pi ARM processor. Some folks will tell you that it may be possible with an emula...
by DougieLawson
Sun Jan 21, 2018 11:25 pm
Forum: Beginners
Topic: good beginners resources?
Replies: 5
Views: 139

Re: good beginners resources?

by DougieLawson
Sun Jan 21, 2018 11:22 pm
Forum: Troubleshooting
Topic: PHP installed but not working?
Replies: 8
Views: 181

Re: PHP installed but not working?

So there's a bug in your PHP code.
by DougieLawson
Sun Jan 21, 2018 11:19 pm
Forum: Beginners
Topic: Converting incoming messages to Unicode.
Replies: 5
Views: 135

Re: Converting incoming messages to Unicode.

You probably want to use UTF-8 on the Arduino rather than Unicode.
https://playground.arduino.cc/Code/UTF-8

Go to advanced search