Go to advanced search

by stockton
Fri Feb 28, 2020 2:04 pm
Forum: Networking and servers
Topic: Testing website from local network
Replies: 16
Views: 271

Re: Testing website from local network

It now appears to be working for me. If I am correct in that, the solution on my machine is as follows:- I am running Rasbian and therefore the Apache configuration follows the Debian way. Apache needs to listen to port 80 both as an external link(DNS) & internal link(IP). I achieved this after much...
by stockton
Fri Feb 28, 2020 9:14 am
Forum: Networking and servers
Topic: Testing website from local network
Replies: 16
Views: 271

Re: Testing website from local network

Dougie I fail to understand your recommendations. I have <VirtualHost stockton.co.za:80 ServerName www.stockton.co.za ServerAdmin [email protected].co.za DocumentRoot /var/www/html/stockton ServerAlias stockton.co.za ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined Inc...
by stockton
Fri Feb 28, 2020 8:51 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 on the next line Listen 192.168.0.100:80 and did a graceful restart but I still get to the router when attempting local connection.
by stockton
Fri Feb 28, 2020 7:16 am
Forum: Networking and servers
Topic: Testing website from local network
Replies: 16
Views: 271

Re: Testing website from local network

Thank you, I tried that but that just gets me to the router not the server. I set up sites-available and sites-enabled and ran a2ensite and /etc/init.d/apache2 restart
by stockton
Fri Feb 28, 2020 7:08 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?
by stockton
Thu Feb 27, 2020 5:08 pm
Forum: Networking and servers
Topic: Testing website from local network
Replies: 16
Views: 271

Re: Testing website from local network

stockton.co.za should now work correctly.
by stockton
Thu Feb 27, 2020 4:32 pm
Forum: Networking and servers
Topic: Testing website from local network
Replies: 16
Views: 271

Re: Testing website from local network

That is interesting as stockton.co.za/lcars should have asked for authorization and if you clicked on the right of that screen you should have got further.
On the other hand another test has successfully got to stockton.co.za but not stockton.co.za/lcars
by stockton
Thu Feb 27, 2020 3:46 pm
Forum: Networking and servers
Topic: Testing website from local network
Replies: 16
Views: 271

Re: Testing website from local network

Were you using http://stockton.co.za ? or http://stockton.co.za/lcars ? The shtml does exist.
by stockton
Thu Feb 27, 2020 12:51 pm
Forum: Networking and servers
Topic: Testing website from local network
Replies: 16
Views: 271

Testing website from local network

I have a website www.stockton.co.za working fine from the internet but as I am altering it I wish to access it from my internal network but cannot. If, from my development machine, I browse to 192.168.0.100/stockton I get a 404 496 error whereas I am sure if you try you can access it. /var/www/html/...
by stockton
Tue Feb 25, 2020 12:50 pm
Forum: Python
Topic: Python crc16 AttributeError: 'int' object has no attribute 'to_bytes'
Replies: 5
Views: 107

Re: Python crc16 AttributeError: 'int' object has no attribute 'to_bytes'

After reinstalling crc16 as python3 when I python3 solar2.py I get #!/usr/bin/env python3Traceback (most recent call last): File "solar2.py", line 28, in <module> sendCommand(getCommand('QPI')) File "solar2.py", line 12, in sendCommand dev.ctrl_transfer(0x21, 0x9, 0x200, 0, cmd) NameError: name 'dev...
by stockton
Tue Feb 25, 2020 10:50 am
Forum: Python
Topic: Python crc16 AttributeError: 'int' object has no attribute 'to_bytes'
Replies: 5
Views: 107

Python crc16 AttributeError: 'int' object has no attribute 'to_bytes'

I am attempting to implement python scrip to read my solar inverter. I am not a python programmer so please forgive silly questions. When I attempt code I get the following replies:- Traceback (most recent call last): File "solar2.py", line 28, in <module> sendCommand(getCommand('QPI')) File "solar2...
by stockton
Fri Feb 07, 2020 8:22 am
Forum: General discussion
Topic: Squirrelmail
Replies: 1
Views: 78

Re: Squirrelmail

However in squirrelmail.conf I see
$squirrelmail_default_language = 'en_US';
$default_charset = 'iso-8859-1';
Which is different to what I have in the OS.
Which is correct?
by stockton
Fri Feb 07, 2020 7:25 am
Forum: General discussion
Topic: Squirrelmail
Replies: 1
Views: 78

Squirrelmail

I am running Squirrelmail 1.4.23 on a raspberry pi, PHP7.0.33-0+deb9u6 and every now and again have to revert to Thunderbird because a message cannot be seen in whole or in part on Squirrelmail.
Could this have anything to do with the Locale setting, namely en_ZA.UTF-8 UTF-8 ?
by stockton
Sun Jan 19, 2020 9:06 am
Forum: C/C++
Topic: C to read and write USB
Replies: 2
Views: 476

C to read and write USB

I am currently writing some code to send a command to the inverter on my solar system and retrieve the current status. Looking at wiringpi examples and using part of those examples I am attempting to understand how "/dev/hidraw0" relates to the two USB devices I have connected to that machine. Those...
by stockton
Fri Jan 03, 2020 6:54 am
Forum: General discussion
Topic: Unable to browse intranet website
Replies: 4
Views: 318

Re: Unable to browse intranet website

wget -S -O /dev/null http://192.168.0.100/ --2020-01-03 08:36:54-- http://192.168.0.100/ Connecting to 192.168.0.100:80... connected. HTTP request sent, awaiting response... HTTP/1.1 200 OK Date: Fri, 03 Jan 2020 06:36:54 GMT Server: Apache/2.4.25 (Raspbian) Last-Modified: Wed, 18 Oct 2017 07:18:40 ...
by stockton
Fri Jan 03, 2020 5:25 am
Forum: General discussion
Topic: Unable to browse intranet website
Replies: 4
Views: 318

Re: Unable to browse intranet website

Thank you for your reply but I do not understand how that helps me fix the problem.
by stockton
Thu Jan 02, 2020 8:35 am
Forum: General discussion
Topic: Unable to browse intranet website
Replies: 4
Views: 318

Unable to browse intranet website

I have created a website on my local network of four Raspberries. HTTP not HTTPS as it is Intranet When I attempt to connect from my development raspberry to my website raspberry, irrespective of whether I use Chrome or Firefox, I get told that the site is insecure and get connected to my router. Al...
by stockton
Tue Nov 12, 2019 9:14 am
Forum: Troubleshooting
Topic: HDMI TV configuration
Replies: 3
Views: 163

Re: HDMI TV configuration

Use the other HDMI connection on the Raspberry Pi
by stockton
Thu Nov 07, 2019 10:18 am
Forum: Troubleshooting
Topic: HDMI TV configuration
Replies: 3
Views: 163

HDMI TV configuration

I have just installed a Raspberry Pi 4 with raspbian buster connected via HDMI cable to my TV & find the screen vertically challenged.
Please tell me where do I start to resolve this issue.
by stockton
Mon Nov 04, 2019 11:55 am
Forum: General discussion
Topic: Raspberry 4 DHCPCD running continually
Replies: 2
Views: 569

Re: Raspberry 4 DHCPCD running continually

Thank you
by stockton
Mon Nov 04, 2019 8:59 am
Forum: General discussion
Topic: Raspberry 4 DHCPCD running continually
Replies: 2
Views: 569

Raspberry 4 DHCPCD running continually

I am implementing my 1st Raspberry Pi 4 running raspbian buster and am a little concerned to see when I do a top command that dhcpcd is running all the time using neraly 100% of a cpu. top - 10:56:29 up 1 day, 1:12, 3 users, load average: 1.24, 1.05, 1.02 Tasks: 150 total, 2 running, 148 sleeping, 0...
by stockton
Sat Sep 14, 2019 2:24 pm
Forum: Graphics, sound and multimedia
Topic: Web camera
Replies: 2
Views: 404

Re: Web camera

Thank you
by stockton
Sat Sep 14, 2019 1:43 pm
Forum: Graphics, sound and multimedia
Topic: Web camera
Replies: 2
Views: 404

Web camera

I have been given a HIKVISION C4061 web camera which I wish to connect to my Raspberry Pi system.

This camera has a TV cable output. How does one go about connecting it to said Raspberry?
by stockton
Mon Aug 12, 2019 8:55 am
Forum: Troubleshooting
Topic: squirrelmail blank lines and bodies
Replies: 5
Views: 251

Re: squirrelmail blank lines and bodies

Thank you. I am sure that they will work with my own Raspberry Pi webserver.
by stockton
Mon Aug 12, 2019 8:30 am
Forum: Troubleshooting
Topic: squirrelmail blank lines and bodies
Replies: 5
Views: 251

Re: squirrelmail blank lines and bodies

Thank you for your reply.
I find using webmail suits me so if you are able please suggest alternatives.

Go to advanced search