Electrical-Forenics Home ray@RayFranco.com                       601.529.7473
   © Dr. Ray Franco, PhD, PE  -  208 Fairways Dr., Vicksburg, MS 39183

Fedora Asahi Remix

Asahi has partnered with Fedora to run Linux (Fedora Asahi Remix) on M1, M2 and M3 Apple computers.

To install Fedora 40:

curl https://alx.sh | sh

Reference: Introducing Fedora Asahi Remix - The most polished Linux® for Apple Silicon Macs.

Network Attached Storge

Set the setuid flag on "mount.cifs":

sudo chmod u+s /usr/sbin/mount.cifs

Add a mount statement to your /etc/fstab file. For example:

//NAS_IP/Shared_Folder /media/mounting-point-directory cifs username=NAS_user_name,noauto,users,vers=3.0,rw 0 0

Note the "noauto". Hence, you must manually mount the network attached storage:

mount /media/mounting-point-directory

Also note that the password was not included in the fstab statement. Hence, you will be prompted for the password when you manually mount the drive.

SSH

On Fedora 40 - Asahi Remix, the SSH Server (ssh deamon) does not start up at boot. This may be a good thing since this is running on a MacBook Air M2, and you usually do not want someone logging into a laptop. However, for testing purposes, you want it enable

To determine if the SSH Server is currenty running:

sudo systemctl status sshd.service

To enable the SSH Server for the current session:

sudo systemctl start sshd.service

To stop the SSH Server:

sudo systemctl stop sshd.service

References:

  1. Fedora 40 User Docs - OpenSSH
  2. How to install, start and connect to SSH Server on Fedora Linux
  3. Configuring Fedora Linux Remote Access using SSH

Network Mapper - NMap

Install nmap:

sudo apt install nmap

Check installation:

nmap -v

Run common port scan:

nmap IP_Address

My results on my router were:


Starting Nmap 7.93 ( https://nmap.org ) at 2024-05-30 16:36 CDT
Nmap scan report for 104-8-192-182.lightspeed.jcsnms.sbcglobal.net (104.81.191.172)
Host is up (0.024s latency).
Not shown: 995 filtered tcp ports (no-response)
PORT     STATE SERVICE
53/tcp   open  domain
80/tcp   open  http
443/tcp  open  https
5060/tcp open  sip
8080/tcp open  http-proxy

Nmap done: 1 IP address (1 host up) scanned in 4.82 seconds
          

References

  1. How to Use Nmap to Scan for Open Ports

References:

https://builtin.com/articles/nmap-port-scanning