OESF Portal | OESF Forum | OESF Wiki | LinuxPDA | #planetgemini chat on matrix.org | #gemini-pda chat on Freenode | #zaurus and #alarmz chat on Freenode | ELSI (coming soon) | Ibiblio

IPB

Welcome Guest ( Log In | Register )

4 Pages V  « < 2 3 4  
Reply to this topicStart new topic
> Problems latest firmware
cam1965
post Jun 2 2019, 12:19 PM
Post #46





Group: Members
Posts: 58
Joined: 28-May 19
Member No.: 848,911



QUOTE(cam1965 @ Jun 2 2019, 11:33 AM) *
QUOTE(mithrandir @ Jun 2 2019, 09:49 AM) *
QUOTE(cam1965 @ Jun 2 2019, 08:54 AM) *
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.


Go to the top of the page
 
+Quote Post
flotsam
post Jun 2 2019, 07:33 PM
Post #47





Group: Members
Posts: 18
Joined: 30-May 18
Member No.: 823,505



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).
Go to the top of the page
 
+Quote Post
cam1965
post Jun 3 2019, 03:49 AM
Post #48





Group: Members
Posts: 58
Joined: 28-May 19
Member No.: 848,911



QUOTE(flotsam @ Jun 2 2019, 07: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).



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.
Go to the top of the page
 
+Quote Post
cam1965
post Jun 3 2019, 04:33 AM
Post #49





Group: Members
Posts: 58
Joined: 28-May 19
Member No.: 848,911



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.
Go to the top of the page
 
+Quote Post
cam1965
post Jun 3 2019, 04:53 AM
Post #50





Group: Members
Posts: 58
Joined: 28-May 19
Member No.: 848,911



QUOTE(cam1965 @ Jun 3 2019, 04:33 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.


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.
Go to the top of the page
 
+Quote Post

4 Pages V  « < 2 3 4
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 10th December 2019 - 02:28 AM