Autofs for connecting router with pi through smb

Hello there,

I’m having some problems with configuring autofs. I want it to write and read from/to my smb server on my asus router. Did much research on the web but i can’t figure out how it works.
I’ve successfully installed autofs.
Changed auto.master:

sudo nano /etc/auto.master

and put this line in at the end:

/cifs /etc/auto.smb --timeout=300

Now i have to change something in the auto.smb file but i don’t know what.
I know i got something to do with this line:

key="$1"
opts="-fstype=cifs"

On the autofs wiki it says i have to pt this in:
server -fstype=nfs4 server:/

And then replacing nfs4 with smb.
Where do i have to put the server name of my smb server?

Maybe those are all weird questions but i’m new to this so excuse me for that…

Search for fstab and how to mount smb/samba shares.
You do not need autofs at all.