Help - Search - Members - Calendar
Full Version: Changing wifi MAC address and connmanctl in debian?
OESF Portables Forum > Model Specific Forums > Gemini PDA > Gemini PDA - Linux OS
Wormhole
Does anyone experience that the MAC address changes on boot? I use the mac address to bind static ip. But it is maybe better to instruct debian to use a static ip.
Also the connmanctl won't remeber the wifi passpharse, only often. Strange...
Murple2
QUOTE(Wormhole @ Jun 13 2018, 01:48 PM) *
Does anyone experience that the MAC address changes on boot? I use the mac address to bind static ip. But it is maybe better to instruct debian to use a static ip.
Also the connmanctl won't remeber the wifi passpharse, only often. Strange...


Is this with the wifi or the ethernet?

There may be a way to pass the MAC address as a kernel option at boot. If not then you can use the programs ip or macchanger, but you need to do this before the network is brought up - this can be achieved by creating a systemd unit file. See here: https://wiki.archlinux.org/index.php/MAC_ad...ng#systemd_unit

If you know which network driver you are using you can google it and see how MAC address is usually set. Sometimes
there just needs to be a file with the address in that is read when the driver loads.
Adam Boardman
QUOTE(Wormhole @ Jun 13 2018, 01:48 PM) *
Does anyone experience that the MAC address changes on boot?


Once you've done the updates it seems to settle down.
Wormhole
QUOTE(Murple2 @ Jun 13 2018, 05:06 AM) *
QUOTE(Wormhole @ Jun 13 2018, 01:48 PM) *
Does anyone experience that the MAC address changes on boot? I use the mac address to bind static ip. But it is maybe better to instruct debian to use a static ip.
Also the connmanctl won't remeber the wifi passpharse, only often. Strange...


Is this with the wifi or the ethernet?

There may be a way to pass the MAC address as a kernel option at boot. If not then you can use the programs ip or macchanger, but you need to do this before the network is brought up - this can be achieved by creating a systemd unit file. See here: https://wiki.archlinux.org/index.php/MAC_ad...ng#systemd_unit

If you know which network driver you are using you can google it and see how MAC address is usually set. Sometimes
there just needs to be a file with the address in that is read when the driver loads.


It the MAC address for the wifi chip.
Thanks for the tip. I will check it out.
Wormhole
QUOTE(Adam Boardman @ Jun 13 2018, 05:37 AM) *
QUOTE(Wormhole @ Jun 13 2018, 01:48 PM) *
Does anyone experience that the MAC address changes on boot?


Once you've done the updates it seems to settle down.


Which update are you referring to?
Adam Boardman
QUOTE(Wormhole @ Jun 13 2018, 10:51 PM) *
Which update are you referring to?


As per Gemini_Firmware page on support.planetcom.co.uk:

Please note that you will need to update your Debian Linux to enjoy the latest development. See https://github.com/gemian/gemini-keyboard-apps/wiki/DebianTP for further information regarding updating and configuring your Debian system
Wormhole
QUOTE(Adam Boardman @ Jun 14 2018, 03:53 AM) *
QUOTE(Wormhole @ Jun 13 2018, 10:51 PM) *
Which update are you referring to?


As per Gemini_Firmware page on support.planetcom.co.uk:

Please note that you will need to update your Debian Linux to enjoy the latest development. See https://github.com/gemian/gemini-keyboard-apps/wiki/DebianTP for further information regarding updating and configuring your Debian system


No even than, it is still not stable.
Wormhole
QUOTE(Wormhole @ Jun 16 2018, 09:02 PM) *
QUOTE(Adam Boardman @ Jun 14 2018, 03:53 AM) *
QUOTE(Wormhole @ Jun 13 2018, 10:51 PM) *
Which update are you referring to?


As per Gemini_Firmware page on support.planetcom.co.uk:

Please note that you will need to update your Debian Linux to enjoy the latest development. See https://github.com/gemian/gemini-keyboard-apps/wiki/DebianTP for further information regarding updating and configuring your Debian system


No even than, it is still not stable.


For those who experience the same. You can setup connmanctl service inside /var/lib/connman (see also https://www.mankier.com/5/connman-service.config)

Example of a service.example.config):

[service_home]
Type = wifi
Name = my_home_wifi
Security = WPA
Passphrase = password
IPv4 = 192.168.2.2/255.255.255.0/192.168.2.1
Nameservers=8.8.8.8,8.8.4.4

works great.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2019 Invision Power Services, Inc.