Categories
Kali Linux

NAS mount

Kali Linux live system does not have any persistent file system as default. If you would like to store the data on the live system, you may need external storage such as NAS(Network Attached Storage). The following mount.cifs command mounts a NAS file system to /mnt directory.

where //192.168.0.10/home is the NAS IP address and shared directory, /mnt is the mounting point, and “share-user” is the NAS account name.

Since kali account does not have the write permission to /mnt, The write access to mounted directory requires sudo.

To unmount the mounted NAS shared directory, use the umount command.

Categories
Kali Linux

Kali Linux network routing priority

When Wi-Fi and Ethernet are both connected and Wi-Fi is the only way to to access the internet, kali linux default routing cannot access the internet. To access the internet on this system, Wi-Fi metric value should have lower value than Ethernet metric value.

The metric value of the network devices can be modified by nmcli command.

The following commands change Wi-Fi metric value from 600 to 50. After changing the metric value , Wi-Fi has lower metric value and the system can access the internet.