How to configure cisco switch for pppoe connection

Configuring a Cisco device (typically a router or layer 3 switch acting as a CPE) for PPPoE involves creating a Dialer interface, setting authentication (CHAP/PAP), enabling encapsulation, and binding it to a physical WAN port. Key steps include defining pppoe-client dial-pool-number, setting mtu 1492, and using ip address negotiated.  Configuration Steps Configure the Physical Interface (e.g., Gig0/0) connected to the… Read More »

How to set Favicon Icon in Codeigniter 4

You can put the favicon.ico file in the web root…./public folder, so the URL would be yourdomain.com/favicon.ico Then you have to add the following line of code into your HTML: I have used this in my code layout.php and its working fine!

Class “MySQLi” not found: in

Class “MySQLi” not found: in /web/system/library/db/mysqli.php on line 29 How to solve “Fatal error: Class ‘MySQLi’ not found”: in? Solution: root@en-03:~# apt install php8.2-mysql

How to upgrade debian 11 to 12

Step-by-Step Guide to Upgrade to Debian 12 from Debian 11 Copy & Paste as below: sed -i ‘s/bullseye/bookworm/g’ /etc/apt/sources.list sed -i ‘s/bullseye/bookworm/g’ /etc/apt/sources.list.d/*.list apt-get update -y && apt-get upgrade –without-new-pkgs -y && apt-get full-upgrade -y reboot lsb_release -a

Whoops! We seem to have hit a snag. Please try again later

After installing CodeIgniter 4 when you run the app then you will get an error like this: Whoops! We seem to have hit a snag. Please try again later And in cmd line when run composer update you see something similar to this output below: Problem 1 – codeigniter4/framework[4.0.0, …, v4.4.4] require ext-intl * ->… Read More »

Debian 12 The system will suspend now!

You have just installed Debian 12. However SSH session receive this unexpected message: Broadcast message from Debian-gdm@en-03 on tty1 (Mon 2024-01-08 09:34:01 SAST): The system will suspend now! The solution: This method works better to prevent SSH disconnecting from client side. Create /etc/systemd/sleep.conf.d/nosuspend.conf as follows: root@en-03:~# mkdir -p /etc/systemd/sleep.conf.d/ root@en-03:~# vi /etc/systemd/sleep.conf.d/nosuspend.conf [Sleep] AllowSuspend=no AllowHibernation=no… Read More »

How to check codeigniter 4 version

If you don’t know what version of CodeIgniter you are currently running, and assuming that Composer was used to install CodeIgniter: you can get it by running the following command line: genie@en-03:/var/www/busylines.co.za/web$composer show | grep codeigniter codeigniter4/framework v4.4.3 The CodeIgniter framework v4 The current version is v4.4.3. All the best of luck.

Dell Laptop Airplane Mode Stuck on

Suddenly my laptop kept disconnecting my wireless connection and turning to off airplane mode. Finally it got stuck in airplane mode off. Resolution: If the Airplane Mode is permanently off …. that means you would have accidentally pushed the on and off switch button on the side of your laptop. To enabled the mode on,… Read More »

Couldn’t agree on host key algorithm

You’re suddenly receiving a “FATAL ERROR: Couldn’t agree a host key algorithm (available: rsa-sha2-512,rsa-sha2-256)” when trying to ssh into your Ubuntu Linx Server Resolution: The Couldn’t agree a key exchange algorithm is expected behavior with older versions of PuTTy or WinSCP. To resolve this issue, upgrade PuTTy to the latest version via the below links.… Read More »