Hi , I have a mikrotik with DHCP server configured and working in it.
but when windows clients connect to it and get ip from this router , windows shows the name of the network as unidentified network , or network2 , or network3 .
how should I set this network name in DHCP server settings?
for example on wireless modems , when a client connects to the modem , it gets the ssid of that wireless and shows in the second line of that network card. I want to set a name for the network in which that mikrotik is the gateway and the dhcp server.
Microsoft for some reason designed Win7 (and Win8) to impose the restricted Public network profile for any network that could not be identified - which disables network file sharing. The Network Location Awareness (NLA) service will only allow you to set the network profile to Home or Work if the network has a Default Gateway IP address or SSID recorded for that network adaptor.
The solution proposed in the thread is to set a fake Default Gateway IP address - which causes the NLA service to release the block
which then allows you to select the Home or Work (Private) network profile.
The setting for all Unidentified Networks in Win7/8 is the Public (restricted) profile - and user selection is disabled.
However this default setting can be changed - so that ANY Unidentified Network is set to the Work/Private (unrestricted) profile. This can be done by altering or creating a single registry key - or if you have Win7 Pro (or above) via the secpol.msc (Local Security Policy Editor) utility.
yes I have set a default gateway. but I didn’t set a relay. I think as you said I must somehow set or broadcast a SSID on that gateway which I don’t know how yet.
Indeed. You first need to research how your operating system finds a descriptive name for the network, i.e. where it obtains that information from.
Maybe you can look at a system+network where it works to your liking, and do a trace to see what information it obtains from DHCP or other protocols.
Once you know that, it may be possible to replicate it on your own network and MikroTik.