No internet no samba?

try connecting the server pc to your dlink switch port directly this should let you work even if internet goes down

for more information on setup follow this guide SambaPOS Server, Workstation & RDP Setup Guide