What I did for transferring wlan data from a XA2 to a 10-III:
-
Establish a wlan connection with Putty and WinSCP
first with XA2 logged in as nemo on WinSCP an nemo/devel-su on Putty,
later on for 10-III logged in as defaultuser on WinSCP an defaultuser/devel-su on Putty
-
On XA2:
mkdir /home/nemo/Downloads/TEMP
cp -R /home/nemo/.local/share/system/privileged/connman/* /home/nemo/Downloads/TEMP
Copy the content of /home/nemo/Downloads/TEMP to a PC
-
On PC:
In this folder there are a lot of folders each for every wlan. Looks like
wifi_38786264bb0a_756c46_managed_psk
…
38:78:62:64:bb:0a is the mac address of XA2, 756c46 represents the SSID
In such a folder there exists a settings file.
Now one has to change the mac address part in the foldername to the mac address of the 10-III. In settings there is also an entry with the foldername. Change there the mac also.
Do this for all wifi folders and their settings file.
-
On 10-III:
mkdir /home/defaultuser/Downloads/TEMP
With WinSCP copy all changed wifi folders from the PC to this folder.
cd /home/defaultuser/.local/share/system/privileged/connman/
cp -R /home/defaultuser/Downloads/TEMP/wifi* . (don’t forget the dot)
chmod 700 wifi*
check with mit ls -l. Result looks like:
…
drwx------ 2 root root 4096 Jun 27 16:42 wifi_3c01efab11cd_756c46_managed_psk
…
In every wifi folder we now set the rights to 600:
[root@Xperia10III connman]# chmod 600 wifi_3c01efab11cd_756c46_managed_psk/*
…
Check (if you like) with: ls -l 3c01efab11cd_756c46/*
-rw------- 1 root root 72 Jun 27 10:09 wifi_3c01efab11cd_756c46_managed_psk/history.home.day
-rw------- 1 root root 600 Jun 27 16:00 wifi_3c01efab11cd_756c46_managed_psk/history.home.hour
-rw------- 1 root root 279 Jun 27 10:09 wifi_3c01efab11cd_756c46_managed_psk/settings
-rw------- 1 root root 208 Jun 27 16:19 wifi_3c01efab11cd_756c46_managed_psk/stats.home
Finish with a reboot of the 10-III.
Best regards, Uwe.