Monday, October 28, 2024

Kali Linux

 Activate Root:

sudo apt -y install kali-root-login

===============================

Change boot order (Easily Change GRUB Boot Order in Kali Linux):

 1. Turn on the computer and wait for the GRUB menu to appear.
2. In the GRUB menu, count from top to bottom the list of available boot options starting from 0. Note the number of your Windows operating system. In our example, it is 6. We will need this info in step 6.
3. Boot into Kali Linux and log in as root.
4. Launch a terminal window. (Applications | Accessories | Terminal)
5. In terminal, run nano /etc/default/grub to edit the grub configuration file.
6. Change GRUB_DEFAULT=0 (around line 6) to equal the number of the Windows operating system in the list found in step 2. In our example, GRUB_DEFAULT=0 becomes GRUB_DEFAULT=6.
7. Save the GRUB file (Ctrl+O and Enter). Exit the file editor (Ctrl+X).
8. Run update-grub to apply the changes.
9. Reboot the machine (reboot).

Source:

https://itomation.ca/easily-change-grub-boot-order-kali-linux/

Notes:

When Windows is installed on top of Kali Linux, the Linux GRUB has Kali configured as the default boot operating system. This can get quite bothersome for those of us who boot into Windows more than 50% of the time and consider Windows their “main” operating system in a dual boot configuration. After all, no one likes to sit through a boot sequence, waiting for a window of opportunity to select the correct operating system to boot into. And when that window of opportunity is missed, we usually end up hard-resetting the computer. Let’s be honest – we’ve all done it. In short, manually having to select the boot OS should not be the rule, but rather the exception. In this post, we are going to demonstrate how to easily change GRUB boot order in Kali Linux to make Windows our default boot operating system.

===================================


Wednesday, October 23, 2024

Windows 11 setup without internet

 

Windows 11 setup without internet, bypass Win11 setting internet during setup

Bypass Out-of-the-Box-Experience (OOBE) Internet Requirement

  • In the "Let's connect you to a network" screen, press Shift+F10 to launch cmd;
  • Type the following command: OOBE\BYPASSNRO
  • After successful execution, the system will restart and restart the OOBE session box, when you reach the "Let's connect you to a network" screen, click "I don't have Internet", continue to click "limited setup", accept the license agreement and continue to create a local user account.

Monday, October 7, 2024

Print server ports

 Print server (Windows server service) requires the following ports to access the network printer:

-TCP 9100

TCP 515

TCP 3910

SNMP (TCP 161)


you should allow the mentioned ports on your firewall to allow access from the server as a source to the network printers as a destination.


Configuration:

Source: Print server IP

Destination: Network printer (or network printers group)

Ports: 9100, 515, 3910 & 161

You can create a custom service including all the mentioned ports instead of creating a separate service for each port.

Kali Linux

  Activate Root: sudo apt -y install kali-root-login =============================== Change boot order ( Easily Change GRUB Boot Order in Ka...