Go to advanced search

by DougieLawson
Fri Feb 28, 2020 10:06 pm
Forum: Networking and servers
Topic: Testing website from local network
Replies: 16
Views: 271

Re: Testing website from local network

You can change the two listen directives to a single

Code: Select all

Listen 80
by DougieLawson
Fri Feb 28, 2020 8:54 am
Forum: Networking and servers
Topic: Testing website from local network
Replies: 16
Views: 271

Re: Testing website from local network

I have altered my ports.conf from Listen 80 to Listen stockton.co.za:80 and 192.168.0.100:80 and did a graceful restart but I still get to the router when attempting local connection. Change it back. Do the stockton.co.za stuff in a VirtualHost. <VirtualHost *:80> ServerAdmin [email protected].co....
by DougieLawson
Fri Feb 28, 2020 8:49 am
Forum: Raspbian
Topic: Kernel sources correct version
Replies: 8
Views: 174

Re: Kernel sources correct version

I use Notro's rpi-source tool to get the right kernel source tree. It does everything needed to get a kernel build ready to run.

https://github.com/notro/rpi-source
by DougieLawson
Fri Feb 28, 2020 8:35 am
Forum: General discussion
Topic: Cardboard case for raspberry pi 4 b
Replies: 12
Views: 422

Re: Cardboard case for raspberry pi 4 b

I want to make a case out of cardboard for my raspberry pi 4. Is there a template for that? In my opinion making a case out of cardboard is a bad idea. In confined conditions it is possible for a Pi 4 to reach temperatures of 108C, or equivalently 224F, which does not seem like a safe temperature f...
by DougieLawson
Fri Feb 28, 2020 8:32 am
Forum: Networking and servers
Topic: Testing website from local network
Replies: 16
Views: 271

Re: Testing website from local network

Please tell me how I make it listen to both stockton.co.za:80(which is what it currently does) and 192.168.0.100:80? What "Listen" directive is in your Apache2 config? By default Apache2 should listen to INADDR_ANY (0.0.0.0) and not be bound to a specific interface. https://httpd.apache.org/docs/2....
by DougieLawson
Fri Feb 28, 2020 12:23 am
Forum: Raspbian
Topic: insmod: ERROR: could not insert module ./drivers/i2c/i2c-slave-eeprom.ko: Invalid module format
Replies: 3
Views: 133

Re: insmod: ERROR: could not insert module ./drivers/i2c/i2c-slave-eeprom.ko: Invalid module format

It appears to look alright. Does a dmesg command give you anything extra when you try to modprobe it to load it?
by DougieLawson
Thu Feb 27, 2020 12:59 am
Forum: Troubleshooting
Topic: Wifi stopped working on my raspberry pi
Replies: 6
Views: 133

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: 69

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: 4
Views: 112

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: 187

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: 174

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: 95

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: 3499

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: 248

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: 174

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: 204

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: 158

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: 44

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: 399609

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: 1083

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: 94

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: 204

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: 204

Re: Compiling Loadable Kernel Module

https://GitHub.com/notro/rpi-source gets you the matching source & headers for the running kernel

Go to advanced search