Author Topic: Problems latest firmware  (Read 18743 times)

cam1965

  • Sr. Member
  • ****
  • Posts: 422
    • View Profile
    • http://
Problems latest firmware
« Reply #45 on: June 02, 2019, 04:19:08 pm »
Quote from: cam1965
Quote from: mithrandir
Quote from: cam1965
Changed the file "interfaces" as you said, but no success. The mac address does not reflect that one in /etc/network/interfaces. ( after reboot ). Tried macchanger without success also.
Please show the content of your file.

The original file interfaces  ( without modifications that didn't work )
----------------------------------------------------------
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
----------------------------------------------------------

And inside /etc/network/interfaces.d there isn't any file.

I also saw this :

https://stackoverflow.com/questions/2342189...time-in-android

The contents of answer 1 is :
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
"Not entirely true Raptor. Android WILL generate a MAC address every time WiFi is activated if it doesn't have one. Here's how to tell (and how I fixed it on my Chinese tablet)

    Root the device.
    Open file "/data/nvram/APCFG/APRDEB/WIFI" with a hex editor.
    if bytes 4 thru 9 are 0 then Android will generate a MAC address on-the-fly.

To FIX (hard-code) a MAC address, edit the "WIFI" file above and type a (any) MAC address into those byte locations (in hex notation, as you see it). Save the file. Reboot / restart WIFI and see setting. You should see your new address. And Android will now recognise your new address and won't generate a new one every time.

I did then to persist MAC filtering in my router, else the kids keep abusing my bandwidth by adding new i-devices.

Hope this helps"

 -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

I've tried this in both linux and android without success.

In linux, it regenerates a file "WIFI" identical to the original file when  rebooting ( overwriting all the changes I've made. )
In android it regenerates a file different  from my changes ( I've did a diff ), but with zeros in bytes 4 thru 9 as explained above.

Thank you.
« Last Edit: June 03, 2019, 12:30:26 pm by cam1965 »

flotsam

  • Newbie
  • *
  • Posts: 18
    • View Profile
Problems latest firmware
« Reply #46 on: June 02, 2019, 11:33:33 pm »
See my latest post in the other thread for a workaround to the changing MAC address problem. It should apply to any linux (not just sailfish).

cam1965

  • Sr. Member
  • ****
  • Posts: 422
    • View Profile
    • http://
Problems latest firmware
« Reply #47 on: June 03, 2019, 07:49:17 am »
Quote from: flotsam
See my latest post in the other thread for a workaround to the changing MAC address problem. It should apply to any linux (not just sailfish).


Thank you so much for the tip.
My problem was solved after your tip. My mac address is the same in android and in debian. (and not changed anymore ).
First I've installed from planet images a fresh install ( firmware upgrade ).
Then booted in debian and set the internet ( SSID and password ).
Did a backup of the contents of nvdata.
So, I've removed the contents of nvdata. ( never remove this contents if you already booted first in android , because your sim card will not be detected : see my previous post here).
Then booted again in debian. The network is saved. ( mac address is like 00:09:34:XX:XX:XX )
After this I've booted the first time in android. Checked the mac address . It is the same of debian.
But when I boot again in debian it has changed the mac address. ( 00:08:22:XX:XX:XX )
Copied the contents of the backup I did ( nvdata ) to the correct location of nvdata.
Booted again in debian. Network was saved with the same mac address.( 00:09:34:XX:XX:XX ).
Did what you said : chattr +i /nvdata/APCFG/APRDEB/WIFI
Booted again in debian : everything is fine.
Booted in android : everything is fine.
Booted in debian : everything is fine.

Both mac address in android and in debian are the same -- 00:09:34:XX:XX:XX.

Interesting is that mac address 00:09:34 and 00:08:22 are from different manufaturers.

well, that is it.

cam1965

  • Sr. Member
  • ****
  • Posts: 422
    • View Profile
    • http://
Problems latest firmware
« Reply #48 on: June 03, 2019, 08:33:49 am »
Another problem with latest firmware:

Phone is not working inside linux.
Messaging and cellular data are fine.

In previous version,  Phone are working. ( mic and sound ).
I've also changed input and also profile ( settings )  in pulseaudio volume control without success.
Thank you all.

cam1965

  • Sr. Member
  • ****
  • Posts: 422
    • View Profile
    • http://
Problems latest firmware
« Reply #49 on: June 03, 2019, 08:53:09 am »
Quote from: cam1965
Another problem with latest firmware:

Phone is not working inside linux.
Messaging and cellular data are fine.

In previous version,  Phone are working. ( mic and sound ).
I've also changed input and also profile ( settings )  in pulseaudio volume control without success.
Thank you all.

Also I can receive a call with gemini closed ( it rings ) and answer and hang up with the silver  side button. ( gemini closed ) But no sound in gemini and also in the other people's  phone.
Thank you all.
« Last Edit: June 03, 2019, 09:25:49 am by cam1965 »