Set up the Netgear R6300 as an Access Point

Here are the steps to set up an old Netgear R6300 as access point (AP).

  • Login to the Admin portal (192.168.1.1 or routerlogin.net)
  • Click on the Advanced Tab
  • Click on Advanced Setup
  • Click on Wireless Settings
  • Scroll down on the wireless setting page and click on “Use other operation mode”
    Set up Netgear R6300 as Access Point
    NOTE: These instructions were tested on Firmware Version V1.0.2.80_1.0.59

ImportError: libldap_r-2.4.so.2: cannot open shared object file: No such file or directory

Issue: ImportError: libldap_r-2.4.so.2: cannot open shared object file: No such file or directory
Solution: The latest version of your OS may be missing the libldap_r-2.4.so.2 and your software depends on it. Install libldap_r-2.4.so.2 manually.

Head over to http://security.ubuntu.com/ubuntu/pool/main/o/openldap/

sudo wget http://security.ubuntu.com/ubuntu/pool/main/o/openldap/libldap-2.4-2-dbg_2.4.42+dfsg-2ubuntu3.13_amd64.deb	
sudo apt install libldap-2.4-2-dbg_2.4.42+dfsg-2ubuntu3.13_amd64.deb

OR

Head over to http://http.us.debian.org/debian/pool/main/o/openldap/

sudo wget http://http.us.debian.org/debian/pool/main/o/openldap/libldap-2.4-2_2.4.47+dfsg-3+deb10u7_amd64.deb 
sudo apt install libldap-2.4-2_2.4.47+dfsg-3+deb10u7_amd64.deb

ParseError: syntax error, unexpected ‘|’ module content_export_csv

Error:
“ParseError: syntax error, unexpected ‘|’ , expecting ‘;’ or ‘{‘ in Composer\Autoload\{closure}() (line 76 of modules/contrib/content_export_csv/src/ContentExport.php).”

The issue is related to the PHP version and the module in question.
In this case: content_export_csv. The Union Types “: int|array” caused the issue and it is not supported by your PHP version.

Here the line 76 referenced that is giving the error:
"public function getNodeIds(string $nodeType, int $status = 1) : int|array {"


In my case, I simply removed it and I was able to use the module on PHP7.4.
The function now becomes:
public function getNodeIds(string $nodeType, int $status = 1) {

Makefile sqlsrv.la Error 1 Ubuntu 22.04


If you are getting this error while trying to install Microsoft Drivers for PHP for SQL server

sudo pecl install sqlsrv 
sudo pecl install pdo_sqlsrv

you should do the following:

First:

Inspect this folder /usr/lib/x86_64-linux-gnu/ and verify that the following file exists: libltdl.la

Second:

If the file does not exist, just run the following command to create a blank file:

touch /usr/lib/x86_64-linux-gnu/libltdl.la

Try to run the pecl command again

sudo pecl install sqlsrv
sudo pecl install pdo_sqlsrv

Third:

If the issue still persists, create a new file and copy the following content to it:
https://www.apt-browse.org/browse/debian/jessie/main/amd64/libltdl-dev/2.4.2-1.11+b1/file/usr/lib/x86_64-linux-gnu/libltdl.la
and try to install the sqlsrv and pdo_sqlsrv again.
then verify that you can see the pdo_sqlsrv module by running:

php -m

Reference
Linux and macOS Installation Tutorial for the Microsoft Drivers for PHP for SQL Server

Install the Microsoft ODBC driver for SQL Server (Linux)