Go to advanced search

by DougieLawson
Thu Feb 27, 2020 12:59 am
Forum: Troubleshooting
Topic: Wifi stopped working on my raspberry pi
Replies: 6
Views: 121

Re: Wifi stopped working on my raspberry pi

Your system doesn't have a valid IPv4 address, it's got a globally unique IPv6 address.

Have you been mucking about in /etc/network/interfaces? Have you been mucking about in /etc/dhcpcd.conf? You may want to restore those files to the versions supplied in plain Raspbian.
by DougieLawson
Thu Feb 27, 2020 12:56 am
Forum: Raspbian
Topic: install driver for BrosTrend AC1200
Replies: 2
Views: 55

Re: install driver for BrosTrend AC1200

"Aucun fichier ou dossier de ce type. Arrêt." - No such file or folder.
sudo mkdir -p /lib/modules/4.19.75-v7l+/build
by DougieLawson
Wed Feb 26, 2020 10:42 pm
Forum: General discussion
Topic: Maria DB, PHP My admin
Replies: 3
Views: 89

Re: Maria DB, PHP My admin

sudo apt install mariadb-client mariadb-server apache2 phpmyadmin php7.*
should get you started.
by DougieLawson
Wed Feb 26, 2020 4:00 pm
Forum: Raspbian
Topic: Is it possible to unset a mime type?
Replies: 8
Views: 171

Re: Is it possible to unset a mime type?

How about lynx. That's a fully-fledged text browser which sometimes works until the site you're visiting needs javascript to work properly. Lynx has support for cookies and can store them in a cookie jar.
by DougieLawson
Wed Feb 26, 2020 3:42 pm
Forum: Networking and servers
Topic: Can't ping google or any external hostnames from Pi
Replies: 8
Views: 158

Re: Can't ping google or any external hostnames from Pi

Is it a firewall issue? Ping traffic (ICMP/IP) gets out to 8.8.8.8 OK, but UDP/IP traffic to 8.8.8.8:53 isn't being allowed. Also it's a mystery why nameserver 192.168.0.1 in /etc/resolv.conf isn't working. On the RPi. Is the resolvconf process updating /etc/resolv.conf when you're not looking? I'd ...
by DougieLawson
Wed Feb 26, 2020 2:12 pm
Forum: General discussion
Topic: parrot pi drone
Replies: 2
Views: 92

Re: parrot pi drone

I would like to make a drone using lithium-ion batteries. I have a rpi2 b+ and a frame with motor/controller and gearing from a parrot ar 2.0.. Just wondering what else i need to get this project off the ground? https://www.amazon.com/gp/registry/wishlist/2LWHVDQ0KHJHU/ref=cm_wl_huc_view It depends...
by DougieLawson
Wed Feb 26, 2020 12:26 pm
Forum: General discussion
Topic: Shut down rpi with a keyboard key combo
Replies: 21
Views: 3471

Re: Shut down rpi with a keyboard key combo

The RPF kernel does have magic sysrq set.

[R][E][I][S][U][B]
is the magic password.
by DougieLawson
Wed Feb 26, 2020 12:08 pm
Forum: Beginners
Topic: How to transmit data trough an access point without protocol
Replies: 11
Views: 247

Re: How to transmit data trough an access point without protocol

1) What actually i wants is once the RPi access point is connected with any device suddenly i want to sent success message to that device in that message i want to broadcast my RPi ip address. 2) Once RPi access point connected to any device i want to generate an interrupt . how to do this You can'...
by DougieLawson
Wed Feb 26, 2020 11:59 am
Forum: Networking and servers
Topic: Can't ping google or any external hostnames from Pi
Replies: 8
Views: 158

Re: Can't ping google or any external hostnames from Pi

have you tried changing DNS server? try also: $ dig google.com you have internet but not hostname, is that right? dig isn't installed by default (and it's difficult to remedy that if you can't access the internets). The normal set of commands to check where your networking is broken is: ip addr sho...
by DougieLawson
Wed Feb 26, 2020 11:54 am
Forum: Linux Kernel
Topic: Compiling Loadable Kernel Module
Replies: 7
Views: 201

Re: Compiling Loadable Kernel Module

rlev wrote:
Wed Feb 26, 2020 10:56 am
I was able to compile driver to .ko file
Thank you very much Dougie.
No problem. I though I was going to have to run my own kernel build to help you out. You've saved me a job.
by DougieLawson
Wed Feb 26, 2020 11:51 am
Forum: Français
Topic: recherche applications en texte UI
Replies: 8
Views: 155

Re: recherche applications en texte UI

totoharibo wrote:
Wed Feb 26, 2020 11:05 am
il y a aussi cowsay
Is there a "vachedit" version that emits its phrases in French? :mrgreen: :mrgreen:
by DougieLawson
Wed Feb 26, 2020 11:47 am
Forum: Other programming languages
Topic: Linux shell script to control pi motor hat
Replies: 2
Views: 41

Re: Linux shell script to control pi motor hat

If I want to avoid python, are there any commands usable in a linux shell script to control a stepper hat on a pi4? You, wholeheartedly, should avoid python as it's is dead in favour of python3. Could you explain what your objection to python3 is and where it stems from? Since you get a massive lib...
by DougieLawson
Wed Feb 26, 2020 11:12 am
Forum: Raspbian
Topic: Improved forked-daapd (iTunes server)
Replies: 1541
Views: 399359

Re: Improved forked-daapd (iTunes server)

The issue is this: "Could not VACUUM database: attempt to write a readonly database" So you have probably configured forked-daapd to run as a user that does not have write access to /var/cache/forked-daapd Welcome to SQLite3 hell. It's so easy to get your database broken (usually by having two conc...
by DougieLawson
Wed Feb 26, 2020 11:07 am
Forum: For sale
Topic: Free Monitors
Replies: 5
Views: 1034

Re: Free Monitors

This is a perfect example of why folks should visit ucp.php?i=173 and fill in the "location" box in their forum profile.
by DougieLawson
Wed Feb 26, 2020 11:01 am
Forum: Troubleshooting
Topic: Screen going off then back on every minute
Replies: 6
Views: 90

Re: Screen going off then back on every minute

phill391 wrote:
Wed Feb 26, 2020 10:34 am
I have tried all of the above. Still no good.
Have you tried a fresh SDCard with a new copy of Raspbian 2020-02-13?
by DougieLawson
Tue Feb 25, 2020 1:00 pm
Forum: Linux Kernel
Topic: Compiling Loadable Kernel Module
Replies: 7
Views: 201

Re: Compiling Loadable Kernel Module

When I run rpi-source I stick the downloaded stuff in /usr/local/src I then make a link from linux-<commit id> to /usr/local/src/linux and use that as my base directory. modprobe configs; zcat /proc/config.gz /usr/local/src/linux/.config; make oldconfig; make -j 4; make -j 4 modules That gets me a c...
by DougieLawson
Tue Feb 25, 2020 7:33 am
Forum: Linux Kernel
Topic: Compiling Loadable Kernel Module
Replies: 7
Views: 201

Re: Compiling Loadable Kernel Module

https://GitHub.com/notro/rpi-source gets you the matching source & headers for the running kernel
by DougieLawson
Mon Feb 24, 2020 8:32 pm
Forum: Beginners
Topic: Firewall (ufw) and SSH don't work together
Replies: 9
Views: 152

Re: Firewall (ufw) and SSH don't work together

As for IPv6, I'm leery about it on my home network - every device has its own IPv6 address, so I'm not sure that the router "firewall" (NAT) would work. My router doesn't support IPv6, anyway. For my network, my TP-Link router does a 6to4 tunnel (because PlusNet still don't support IPv6 unlike thei...
by DougieLawson
Mon Feb 24, 2020 8:24 pm
Forum: Beginners
Topic: Boot Menu
Replies: 10
Views: 205

Re: Boot Menu

PINN may not have quite the interface you are looking for, but it will allow you to install multiple OSes and switch between them. It also supports XBOX like gamepad controllers. It will also let you install multiple versions of the same OS, back them up, replace or restore them, Why would you need...
by DougieLawson
Mon Feb 24, 2020 8:21 pm
Forum: Beginners
Topic: Reading variables from a text file into Bash variables
Replies: 10
Views: 245

Re: Reading variables from a text file into Bash variables

Code: Select all

#!/bin/bash

while IFS="," read -r f1 f2
do
        printf 'Sunrise: %s to sunset: %s\n' "$f1" "$f2"
done << EOF
05:37, 19:37
07:00, 18:14
EOF
by DougieLawson
Mon Feb 24, 2020 7:05 pm
Forum: Beginners
Topic: Firewall (ufw) and SSH don't work together
Replies: 9
Views: 152

Re: Firewall (ufw) and SSH don't work together

The v6 pieces do mean IPv6 (a twenty one year old improvement to IPv4 that is becomimg more widely used).

I don't know what LIMIT does with ufw, I've never used it. My rules are "deny" or "allow" only.
by DougieLawson
Mon Feb 24, 2020 7:00 pm
Forum: Troubleshooting
Topic: Pi Zero W - Problem with antenna
Replies: 8
Views: 198

Re: Pi Zero W - Problem with antenna

Now look at your power supply. Is it still producing 5.1V at 250mA or better?
by DougieLawson
Mon Feb 24, 2020 6:36 pm
Forum: Troubleshooting
Topic: Micro SD not accessible
Replies: 5
Views: 140

Re: Micro SD not accessible

Thank you for your quick answer, Windows is not able to see any partition and doesn't even detect that a sd card has been plugged. I'll try with an other SD card. Is there any refund policy from RasberryPi because the "dead" sd card is part of their Rasberry Pi 3B+ kit? In that case your SDCard has...

Go to advanced search