![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Group: Members Posts: 1 Joined: 2-July 18 Member No.: 825,380 ![]() |
Hello all,
Possibly clueless newbie question spoiler alert... I have flashed my wifi-only Gemini to dual-boot and am generally loving it. One niggle is that Conmann doesn't remember my network and passphrase/password after I reboot, meaning I need to enable network access, find my network and type in my passphrase whenever I switch from Android to Debian. How can I make Connman remember my network and passphrase and, ideally, reconnect whenever I reboot? Thanks for your patience with a new user. |
|
|
![]()
Post
#2
|
|
Group: Members Posts: 24 Joined: 26-June 18 Member No.: 825,047 ![]() |
Well, strangely enough I had the same problem while I had my Gemini flashed without a proper NVRAM (as described in https://www.oesf.org/forum/index.php?showto...p;#entry288378). When I reflashed with my backed up NVRAM passwords got saved correctly again.
Most likely that is not your issue, though. But I thought it worth mentioning anyway... |
|
|
![]()
Post
#3
|
|
Group: Members Posts: 106 Joined: 14-June 04 From: Cincinnati, OH, USA Member No.: 3,682 ![]() |
Mine keeps my WiFi password, etc. and other setups, EXCEPT every time I switch to Debian it doesn't retain the time zone..
|
|
|
![]()
Post
#4
|
|
Group: Members Posts: 7 Joined: 11-July 18 Member No.: 825,907 ![]() |
Did anybody figure out how to solve it? Where is the data supposed to be stored? It happens to me both with Connman and with Synergy. Did anybody found a workaround? Having to activate Wifi, choose Wifi spot and Passphrase makes the system little usable.
|
|
|
![]()
Post
#5
|
|
Group: Members Posts: 173 Joined: 29-December 17 Member No.: 815,489 ![]() |
I only ever had issues with connman storing passwords with the very first DebianTP1 and after an apt upgrade etc it has since worked fine. Whilst it was refusing to remember anything it was also getting a new IP address from my router via DHCP which indicates that its reading/setting of the MAC address was also confused.
|
|
|
![]()
Post
#6
|
|
Group: Members Posts: 45 Joined: 18-February 18 Member No.: 817,984 ![]() |
Same issue with Connman forgetting my WiFi network and passphrase everytime I reboot.
Have a Gemini WiFi flashed with Flashtool and images from 2019-06. Gemian is up-to-date, no other sources added than Debian backports (problem pre-existed). |
|
|
![]()
Post
#7
|
|
Group: Members Posts: 125 Joined: 7-January 18 Member No.: 815,997 ![]() |
Recently there has been reported an issue with the new firmware. The mac id changed on reboot. Conman stores the keys per mac id, thus the saved one from the boot before is not being used. @see: https://www.oesf.org/forum/index.php?showto...35793&st=45 The chattr +i /nvdata/APCFG/APRDEB/WIFI part seems to have done the trick. |
|
|
![]()
Post
#8
|
|
Group: Members Posts: 3 Joined: 20-July 19 From: Austria Member No.: 852,409 ![]() |
Since Android is generating a new mac address for your wifi interface at every reboot and Connman is storing the mac address in its services you would need to enter your wifi passwords every time you reboot.
Fortunately there is a way to lock the mac address. 1) install hexedit: CODE sudo apt install hexedit 2) CODE sudo hexedit /nvdata/APCFG/APRDEB/WIFI and set a mac address in bytes 04-09 (mind that the base is 0, so it starts at the 5th byte) of the first row (0)3) set the i attr on the file: CODE sudo chattr +i /nvdata/APCFG/APRDEB/WIFI This will lock down the mac address. I've updated DebianTP3 Wiki and other wiki entries. |
|
|
![]()
Post
#9
|
|
Group: Members Posts: 11 Joined: 20-July 19 Member No.: 852,376 ![]() |
2) CODE sudo hexedit /nvdata/APCFG/APRDEB/WIFI and set a mac address in bytes 04-09 (mind that the base is 0, so it starts at the 5th byte) of the first row (0)It doesn't let me write to the file, even on root. I tried changing permissions but it also failed: CODE sudo chmod +w /nvdata/APCFG/APRDEB/WIFI chmod: changing permissions of '/nvdata/APCFG/APRDEB/WIFI': Operation not permitted |
|
|
![]()
Post
#10
|
|
Group: Members Posts: 27 Joined: 25-June 18 Member No.: 825,020 ![]() |
any idea where or what the file name is in sailfish ? trying to run sailfish only .
|
|
|
![]()
Post
#11
|
|
Group: Members Posts: 1 Joined: 5-October 19 Member No.: 856,737 ![]() |
Fortunately there is a way to lock the mac address. 1) install hexedit: CODE sudo apt install hexedit 2) CODE sudo hexedit /nvdata/APCFG/APRDEB/WIFI and set a mac address in bytes 04-09 (mind that the base is 0, so it starts at the 5th byte) of the first row (0)3) set the i attr on the file: CODE sudo chattr +i /nvdata/APCFG/APRDEB/WIFI Hello. I have executed these steps several times with hexedit and the i attr, but unfortunately they have no effect. Every time I reboot, the mac address in the file /nvdata/APCFG/APRDEB/WIFI is changed back to the old one and I need to reconnect the wireless network. What am I doing wrong? Did I miss something? I'm not sure if I made the correct input, so I added a picture. My Gemini PDA runs Android 8.1 and Debian. |
|
|
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 8th December 2019 - 12:38 PM |