摘要 |
A solution for automatic reconfiguration of network devices adapted to switch from the role of access point to the role of station and vice versa is described. In order to prepare a first network device (AP, STA1, STA2) for automatic configuration in the network, a profile of a second network device (AP, STA1, STA2) connected to said first network device (AP, STA1, STA2) via a network is received (13, 22). The profile comprises access point credentials of the second network device (AP, STA1, STA2). The received profile is compared (23) with existing profiles stored in a memory (43) of said first network device (AP, STA1, STA2) and is stored (14, 24) in said memory (43), if necessary. In case at a later time a role change of the first network device (AP) is determined (30), the stored profile is retrieved (31) from the memory (43) and used for connecting (32) the first network device (AP) to the second network device (AP(2)). |