maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Jolla Tablet (https://talk.maemo.org/forumdisplay.php?f=60)
-   -   Aigo X86 Wifi connection (https://talk.maemo.org/showthread.php?t=100812)

deutch1976 2019-08-12 08:33

Aigo X86 Wifi connection
 
Hi there. Everytime i restart the tablet i have to mannualy reconnect to my home wifi connection. I'm now on Sailfish 3.1. Is this a known issue? Thanks

aspergerguy 2019-08-12 11:57

Re: Aigo X86 Wifi connection
 
Quote:

Originally Posted by deutch1976 (Post 1559012)
Hi there. Everytime i restart the tablet i have to mannualy reconnect to my home wifi connection. I'm now on Sailfish 3.1. Is this a known issue? Thanks

This issue has been discussed before upon TJC although supposedly addressed in software update, however seemed no such issues with older WLAN:https://together.jolla.com/question/...ord-forgotten/

coderus 2019-08-12 19:41

Re: Aigo X86 Wifi connection
 
Check if wifi mac of your tablet is changing after each reboot or each connect to router

Heik 2019-12-22 11:22

Re: Aigo X86 Wifi connection
 
1 Attachment(s)
I have Aigo with the last OS update.

I have been suffering the changing WLAN MAC address.
I have applied the solution presented in
https://together.jolla.com/question/...nt-static-mac/
Sometimes it works, sometimes not (= in restart tablet may have the given WLAN MAC, sometimes not. It may be connected with the missing of "dhcpcd@wlan0.service" in the tablet.

/etc/systemd/system/changemac@.service
Code:

[Unit]
Description=Change MAC address
Before=dhcpcd@%i.service

[Service]
Type=oneshot
ExecStart=/sbin/ip link set dev %i address 00:09:4c:e5:2b:a9
ExecStart=/sbin/ip link set dev %i up

[Install]
WantedBy=network.target

Code:

# systemctl enable changemac@wlan0
# systemctl start changemac@wlan0

I removed "Before=dhcpcd@%i.service", but wondered when the service would be started then (I am not well enough aware of these things, just testing without proper knowledge).
The behavior was exactly the same as before. Is there a proper "place" in the startup (Before=), so that the change would work?

When there is different WLAN MAC after startup, it will change to given one if wlan is switched off and on. However, it does not connect to the previously worked WLAN connection as the signal strength is zero. You have to add a new connection and give new passcode to connect to wlan,

Any solution?

coderus 2019-12-22 12:56

Re: Aigo X86 Wifi connection
 
i had the same problem on jolla tablet. you have to edit /usr/sbin/serial-from-factory-data

Heik 2019-12-22 15:24

Re: Aigo X86 Wifi connection
 
Quote:

Originally Posted by coderus (Post 1563574)
i had the same problem on jolla tablet. you have to edit /usr/sbin/serial-from-factory-data

So I removed (commented with #) the lines in the WLANMAC section,

As far as I understand, running that file does not now do anything related to WLAN MAC address.

Was that the correct action? No unwanted side effects?

Seems to work now for me.

Thanks

coderus 2019-12-22 20:18

Re: Aigo X86 Wifi connection
 
for myself i just placed static mac in this script instead of WLANMAC section,

deutch1976 2020-03-01 14:14

Re: Aigo X86 Wifi connection
 
Quote:

Originally Posted by coderus (Post 1563606)
for myself i just placed static mac in this script instead of WLANMAC section,

Hi there. Managed to edit file and have mac adress from tablet but where do i put it? Thanks

coderus 2020-03-01 17:03

Re: Aigo X86 Wifi connection
 
just replace /usr/bin/txeireader with following script and make it executable: https://gist.github.com/CODeRUS/178d...43318cbbfbae33

deutch1976 2020-03-01 18:31

Re: Aigo X86 Wifi connection
 
Quote:

Originally Posted by coderus (Post 1565823)
just replace /usr/bin/txeireader with following script and make it executable: https://gist.github.com/CODeRUS/178d...43318cbbfbae33

So there is no need to change the other file? How to turn this one executable?


All times are GMT. The time now is 00:24.

vBulletin® Version 3.8.8