Difference between revisions of "Tricks"

From Maemo Leste Wiki
Jump to navigationJump to search
m (Cleanup)
 
Line 1: Line 1:
__FORCETOC__
= Randomize MAC Address =
= Randomize MAC Address =
Some users may wish to change the MAC address of an interface, for e.g. to prevent wifi networks associating their MAC address with their network usage pattern.
Some users may wish to change the MAC address of an interface, for e.g. to prevent wifi networks associating their MAC address with their network usage pattern.

Latest revision as of 08:48, 5 February 2021


Randomize MAC Address

Some users may wish to change the MAC address of an interface, for e.g. to prevent wifi networks associating their MAC address with their network usage pattern.

The macchanger package addresses this by either automatically or manually changing the MAC address of enabled interfaces.

apt install -y macchanger

During installation, the package configuration allows user to select automatic change of MAC address when interface is brought up. This may interfere with USB networking. As an alternative, user can manually change the wlan0 MAC.

macchanger wlan0 -e -a
ifconfig wlan0 up

Keyboard / Mouse sharing with PC

To use a Leste device while working at desktop it can be convenient to share mouse and keyboard of the host pc with the leste device. The 'barrier' client/server program, forked from 'synergy', allows this.

https://github.com/debauchee/barrier Barrier software-KVM switch

A hildonized Maemo-leste binary of the client is not available at time of this writing. Developers and testers may wish to disable undesired modules included with the barrier source, before compiling.

Touchscreen support in Firefox (firefox-esr)

Add the necessary environment variable:

echo "MOZ_USE_XINPUT2 DEFAULT=1" >> /etc/security/pam_env.conf

Then in firefox, open about:config and set dom.w3c_touch_events.enabled to 1.

You can also set a mobile useragent by creating a string key called general.useragent.override. Then set something like this:

Mozilla/5.0 (Android 9; Mobile; rv:68.0) Gecko/68.0 Firefox/68.0