Go to advanced search

by DougieLawson
Fri Oct 20, 2017 8:38 am
Forum: Troubleshooting
Topic: Ethernet slower than internal wifi?
Replies: 9
Views: 246

Re: Ethernet slower than internal wifi?

Start by looking at which adapter has the route to your gateway router.

Post the output from
ip addr show
ip link show
ip route
by DougieLawson
Fri Oct 20, 2017 8:26 am
Forum: General discussion
Topic: Can't Install PHP / MySQL - php5-mysql : Depends: libmysqlclient18 but it is not installable
Replies: 11
Views: 2847

Re: Can't Install PHP / MySQL - php5-mysql : Depends: libmysqlclient18 but it is not installable

Maybe the Foundation should update its tutorial https://projects.raspberrypi.org/en/projects/lamp-web-server-with-wordpress You can update their tutorial, it's on Github and they will accept pull requests. In this case it looks like ShiftPlusOne has already highighted the deficiencies to the folks ...
by DougieLawson
Fri Oct 20, 2017 8:22 am
Forum: General discussion
Topic: Why do new forum members not come back?
Replies: 42
Views: 2020

Re: Why do new forum members not come back?

One thing that turned me off a bit is that I've helped about 4 or 5 people (I'm not a new user), but when I posted a request for help, it got over 300 views, but not a single response. Since this thread is getting a lot of views (and responses !), I'll use it to point to my question https://www.ras...
by DougieLawson
Fri Oct 20, 2017 8:20 am
Forum: General discussion
Topic: Why do new forum members not come back?
Replies: 42
Views: 2020

Re: Why do new forum members not come back?

asandford wrote:
Thu Oct 19, 2017 11:14 pm
jamesh wrote:
Thu Oct 19, 2017 7:59 pm

The new PHP database seems to be quite slow in some areas.
Yes, looking for new/unread posts takes ages.
Eh? search.php?search_id=unreadposts works OK for me.
by DougieLawson
Thu Oct 19, 2017 8:37 pm
Forum: Advanced users
Topic: ufw and passive ftp?
Replies: 2
Views: 85

Re: ufw and passive ftp?

sudo ufw enable
sudo ufw allow ftp
# this is to and from anywhere
sudo ufw allow ftp from 77.88.99.100
sudo ufw deny ftp from 11.22.33.44
by DougieLawson
Thu Oct 19, 2017 8:33 pm
Forum: General discussion
Topic: Execute JAR file at startup
Replies: 6
Views: 251

Re: Execute JAR file at startup

It depends whether it uses the GUI. 1. systemd service file in /etc/systemd/system [No GUI, runs with any userid and/or group depending what you define] 2. line in /etc/rc.local [no GUI, runs as root] 3. @reboot line in crontab [no GUI, runs a pi] 4. auto start a desktop file in /home/pi/.config/aut...
by DougieLawson
Thu Oct 19, 2017 6:54 pm
Forum: B+ addons
Topic: Raspberry Pi 3 Model B + 2.8'' Resistive TFT Screen + DS3231 RTC Module
Replies: 1
Views: 94

Re: Raspberry Pi 3 Model B + 2.8'' Resistive TFT Screen + DS3231 RTC Module

Not possible. The I²C interface on pin#3 & pin#5 has two resistors to make it 5V tolerant.

The hardware answer is here: https://raspberrypi.stackexchange.com/q ... io-adapter
by DougieLawson
Thu Oct 19, 2017 6:52 pm
Forum: Beginners
Topic: How can I change when unattended-upgrades run on Raspbian Stretch
Replies: 9
Views: 240

Re: How can I change when unattended-upgrades run on Raspbian Stretch

skecher wrote:
Wed Oct 18, 2017 8:22 pm
Yes, I changed the hour from 6 to 23 (I want it to run around midnight) in the line.
Remember, it means everything run from /etc/cron.daily will also run at that time.
by DougieLawson
Thu Oct 19, 2017 6:49 pm
Forum: Beginners
Topic: Feature request: make it easier to customise desktop and start menu shortcuts
Replies: 6
Views: 199

Re: Feature request: make it easier to customise desktop and start menu shortcuts

No-one is interested in learning for its own sake; people want to learn so they can do specific things. If I just wanted to learn, I'd just grab the nearest text book and go through it from start to finish. That's absolute, complete, total nonsense. Some of us have a pressing desire to learn someth...
by DougieLawson
Thu Oct 19, 2017 6:32 pm
Forum: General discussion
Topic: Execute JAR file at startup
Replies: 6
Views: 251

Re: Execute JAR file at startup

That's illogical.
by DougieLawson
Thu Oct 19, 2017 6:32 pm
Forum: General discussion
Topic: Mosquitto installation in Raspberry pi
Replies: 5
Views: 183

Re: Mosquitto installation in Raspberry pi

Post a link or it doesn't exist.
by DougieLawson
Thu Oct 19, 2017 5:26 pm
Forum: Raspbian
Topic: Apache2 and php7.1 on Raspbian Stretch
Replies: 1
Views: 89

Re: Apache2 and php7.1 on Raspbian Stretch

Start with
sudo apt purge -y php5* libapache2-mod-php5
Then
sudo apt install -y libapache2-mod-php7* php7.0-cli
by DougieLawson
Thu Oct 19, 2017 5:18 pm
Forum: Beginners
Topic: Remote Reboot from Windows OS w/o SSH?
Replies: 15
Views: 4640

Re: Remote Reboot from Windows OS w/o SSH?

Change

Code: Select all

print os.popen('reboot').read()
to

Code: Select all

print os.popen('poweroff').read()
by DougieLawson
Thu Oct 19, 2017 5:16 pm
Forum: General discussion
Topic: Raspberry Pi Zero Connection with IBM BLUEMIX
Replies: 8
Views: 426

Re: Raspberry Pi Zero Connection with IBM BLUEMIX

So we've proven you're on the t'internets.

So the next thing is to follow an "official" tutorial for Bluemix.
https://www.ibm.com/blogs/bluemix/2015/ ... o-bluemix/
by DougieLawson
Thu Oct 19, 2017 9:53 am
Forum: Beginners
Topic: Azerty prob
Replies: 3
Views: 119

Re: Azerty prob

How have you set your AZERTY keyboard?

sudo dpkg-reconfigure keyboard-reconfiguration
or
sudo nano /etc/default/keyboard
change

Code: Select all

XKBLAYOUT="gb"
to

Code: Select all

XKBLAYOUT="fr"
Have you rebooted after changing the layout?
by DougieLawson
Thu Oct 19, 2017 9:46 am
Forum: Troubleshooting
Topic: Can't mount raspberry after instalation
Replies: 2
Views: 69

Re: Can't mount raspberry after instalation

The bootable flag isn't used by your Raspberry.

Why not simply download Raspbian, download https://Etcher.io for your laptop OS
Use Etcher to write Raspbian to your SDCard and stop mucking about wasting your time.

https://www.raspberrypi.org/magpi/pi-sd-etcher/
by DougieLawson
Thu Oct 19, 2017 9:43 am
Forum: General discussion
Topic: Mosquitto installation in Raspberry pi
Replies: 5
Views: 183

Re: Mosquitto installation in Raspberry pi

It's a well-known problem.

Read: https://mosquitto.org/2013/01/mosquitto ... epository/ including the comments on that page.
by DougieLawson
Thu Oct 19, 2017 9:39 am
Forum: Raspbian
Topic: Do I need this services to boot ?
Replies: 1
Views: 75

Re: Do I need this services to boot ?

dev-mmcblk0p2 is the filesystem check for your SDCard hciuart is bluetooth. php7.0-fpm is the php handler for NGinx Networking is, kind of, essential or your RPi isn't much more use than a chocolate teapot NGinx is your web server Keyboard-setup is only needed if you're not running headless dphys-sw...
by DougieLawson
Thu Oct 19, 2017 9:28 am
Forum: General discussion
Topic: Raspberry Pi Zero Connection with IBM BLUEMIX
Replies: 8
Views: 426

Re: Raspberry Pi Zero Connection with IBM BLUEMIX

Is your network connected? Can you ping www.IBM.com? pi@viking ~ $ ping -c3 www.ibm.com PING e2874.dscx.akamaiedge.net (23.43.77.145) 56(84) bytes of data. 64 bytes from a23-43-77-145.deploy.static.akamaitechnologies.com (23.43.77.145): icmp_seq=1 ttl=57 time=9.57 ms 64 bytes from a23-43-77-145.depl...
by DougieLawson
Thu Oct 19, 2017 9:25 am
Forum: General discussion
Topic: Execute JAR file at startup
Replies: 6
Views: 251

Re: Execute JAR file at startup

If your jar doesn't run without intervention then it's illogical to try to start it automatically.

You either need to change the Java programs to hard-code the value you're inputting (unless it changes) or you have to accept that it can't be started automatically.
by DougieLawson
Thu Oct 19, 2017 9:14 am
Forum: Troubleshooting
Topic: STICKY: libmysqlclient18 has no installation candidate
Replies: 24
Views: 5136

Re: STICKY: libmysqlclient18 has no installation candidate

Thank you. I think we've now got a "sticky" thread that explains how to make php5 work and how to do it properly with php7.
by DougieLawson
Thu Oct 19, 2017 8:54 am
Forum: The MagPi
Topic: hubpixed vs zero4u
Replies: 4
Views: 210

Re: hubpixed vs zero4u

digger72 wrote:
Tue Oct 17, 2017 10:57 pm
Can I expect a clarification from from the PiMag team ? The details of the Hubpixed kickstarter launch can be found here.
Do you have a patent?

If yes then you should employ a intellectual property lawyer to protect your patent.
If not, then, sorry, you don't have a leg to stand on.
by DougieLawson
Thu Oct 19, 2017 7:49 am
Forum: Troubleshooting
Topic: STICKY: libmysqlclient18 has no installation candidate
Replies: 24
Views: 5136

Re: STICKY: libmysqlclient18 has no installation candidate

So is it possible to disable php5 with some sort of funky apt/deb/whatever package that means when someone tries to install php5-mysql they get php7.0-mysql instead?
by DougieLawson
Wed Oct 18, 2017 9:57 pm
Forum: Beginners
Topic: Please Help ! -- Can I Reformat a Zero and USB Drive via SSH ?
Replies: 22
Views: 423

Re: Please Help ! -- Can I Reformat a Zero and USB Drive via SSH ?

NOOBS is good for folks running a Raspberry Pi first time, never having been near a linux system ever before. Beyond that it's a pita unless you're using it for multibooting. I know nothing about Picademy. I'm not a teacher, I'm a bits & bytes techie with a long history of playing with mainframes. Y...

Go to advanced search