A method for geolocation of at least one wireless device logged in in a network, wherein the said network comprises a number of wireless devices and a number of network nodes, wherein each network node is realized as a gateway and wherein each wireless device of the network interacts with at least one gateway, comprising following steps: Initiating a geolocation procedure by one of the wireless devices of the network; Determining a moment of time T 0 within a specified time period, at which moment of time T 0 a first uplink message is to be sent to at least one gateway from the wireless device; Choosing a first frequency channel f X from at least one pre-determined frequency band using a random choice of the first frequency channel f X, wherein the random choice obeys the uniform probability distribution P, which first frequency channel is to be used to send the first uplink message to the at least one gateway from the wireless device; Sending the first uplink message to the at least one gateway by means of the wireless device at the moment of time T 0 and at the first frequency channel f X; Receiving a downlink message from the at least one gateway by the wireless device, wherein the downlink message comprises relevant network parameters Z; Determining by the wireless device of a pre-specified time delay dT, after which a second uplink message is to be sent to the at least one gateway from the wireless device after the wireless device has received the downlink message; Specifying a conditional probability distribution Pz(Y | X) for choosing a second frequency channel f Y, which second frequency channel f Y is to be used to send the second uplink message to the at least one gateway from the wireless device, wherein the specification is made depending on the relevant network parameters Z and the first frequency channel f X; Choosing a second frequency channel f Y according to the conditional probability distribution Pz(Y | X); Sending the second uplink message to the least one gateway by means of the wireless device after the time delay dT and at the second frequency channel f Y; Locating the wireless device based on the first and the second uplink messages, which first and second uplink messages were sent at the first frequency channel f X and the second frequency channel f Y; characterized in that there is a finite number of the frequencies or frequency channels allowed for the transmission of the first and the second uplink messages and the downlink message and these frequencies or frequency channels are ordered in a list - a list of specified frequency channels, wherein the conditional probability distribution P Z (Y|X) in Step G is realized as a stochastic matrix D Z with rows and columns, identified by row and column numbers, wherein row and column numbers of the stochastic matrix correspond to the numbers of the first and the second frequency channels in the list of the specified frequency channels respectively. Initiating a geolocation procedure by one of the wireless devices of the network; Determining a moment of time T 0 within a specified time period, at which moment of time T 0 a first uplink message is to be sent to at least one gateway from the wireless device; Choosing a first frequency channel f X from at least one pre-determined frequency band using a random choice of the first frequency channel f X, wherein the random choice obeys the uniform probability distribution P, which first frequency channel is to be used to send the first uplink message to the at least one gateway from the wireless device; Sending the first uplink message to the at least one gateway by means of the wireless device at the moment of time T 0 and at the first frequency channel f X; Receiving a downlink message from the at least one gateway by the wireless device, wherein the downlink message comprises relevant network parameters Z; Determining by the wireless device of a pre-specified time delay dT, after which a second uplink message is to be sent to the at least one gateway from the wireless device after the wireless device has received the downlink message; Specifying a conditional probability distribution Pz(Y | X) for choosing a second frequency channel f Y, which second frequency channel f Y is to be used to send the second uplink message to the at least one gateway from the wireless device, wherein the specification is made depending on the relevant network parameters Z and the first frequency channel f X; Choosing a second frequency channel f Y according to the conditional probability distribution Pz(Y | X); Sending the second uplink message to the least one gateway by means of the wireless device after the time delay dT and at the second frequency channel f Y; Locating the wireless device based on the first and the second uplink messages, which first and second uplink messages were sent at the first frequency channel f X and the second frequency channel f Y;