Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Neil Sands

Pages: [1]
Gemini PDA - Linux / Unsigned repository
« on: January 16, 2020, 06:17:54 pm »
Quote from: mithrandir
The key has been renewed recently.

wget -O /tmp/archive-key.asc
apt-key add /tmp/archive-key.asc

Wonderful, that's worked very nicely. Thanks.

Gemini PDA - Linux / Unsigned repository
« on: January 15, 2020, 04:51:00 pm »
I have Android and Gemian TP3 on my Gemini.

If I do sudo apt-get update, I get an error message, not always exactly the same but this one is typical.

W: GPG error: stretch InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6669378035F4918C
W: The repository ' stretch InRelease' is not signed.

I don't fully understand the implications of this. Can I force the upgrade to work with an unsigned repository somehow, and if so is it wise to do so?

Is anyone else getting this? Or am I special?


Thanks very much, that's given me enough clues to have worked it out.

ifconfig gave me a big dump of stuff which contained a fair few mac address candidates. The one I picked to try was the bottom one, in the wlan0 section of the output but next to the word 'ether' or 'ethernet', which confused me a bit.

It didn't work the first few times I tried it. That's normal for me. After a while though I checked and found the WIFI file wasn't retaining my mac address. Each time I tried afresh I had to chattr -i unlock it, and then +i lock it again afterwards. Then I had the idea to check the file immediately after editing it, and lo and behold it wasn't retaining my changes at all. So I dug further and found that ctrl C on hexedit cancels the changes. To actually save them is ctrl X.

So it's done, and thanks for your help. I'm hopefully a bit more clued up now, but I do find this sort of thing terribly arcane. And it's not because I'm thick because I'm a competent Java programmer.

Quote from: mifritscher
Just change the 5th bytes onwards from the 00  to your current mac (use e.g. ifconfig for this), than press ctrl+c to save and exit.

I wonder if I can ask for some clarification about this. I'm finding my Gemini is forgetting my wifi settings on Debian between sessions, and I understand from what I read here that it is caused by the Gemini's boot firmware resetting the mac address. I have dual boot Android 8 and Debian.

I have got hold of hexedit and done this:

Quote from: Vincent
What i did is:
1) hexedit /nvdata/APCFG/APRDEB/WIFI and set the mac address in bytes 04-09 (mind that the base is 0, so it starts at the 5th byte) of the first row (0).

When I run that command I see a grid of numbers, which I assume is right. But I don't understand how to set the mac address using that tool, so if anyone can fill in the blanks I'd be very grateful. Also, any hints about what I should set it to would be gratefully received.

I only roughly know what a mac address is, and I've never had to get involved with one before. I have used a hex editor before but it was a long time ago and I can''t remember why!

Sorry to be so needy but some spoonfeeding would be appreciated. Thanks.

Pages: [1]