We have moved to a new Sailfish OS Forum. Please start new discussions there.
1 | initial version | posted 2019-09-27 21:21:06 +0200 |
Nearly (!) every time when I connect my Jolla to the PC over USB (in tethering mode), it generates new MAC addresses for both sides. More specifically, journalctl says that
Sailfish kernel provides a random MAC address;
Sailfish kernel provides the Host MAC address specified in /etc/modprobe.d/g_ether.conf .
The provided MAC address is the one finally assigned to rndis0. The provided Host MAC address has no effect and appears to be replaced by another random address which finally appears on the PC interface. The consequences are:
At the host, the existing record for Jolla connection is no longer used, and a new one is created.
iptables rules appear not to work, despite being present. In particular, DHCP traffic is dropped, thus I have to set the IP address manually at the PC.
Also due to iptables, tethering over USB does not work until the masquerading rule is re-created manually.
Thus,
2 | No.2 Revision |
Nearly (!) every time when I connect my Jolla to the PC over USB (in tethering mode), it generates new MAC addresses for both sides. More specifically, journalctl says that
Sailfish kernel provides a random MAC address;
Sailfish kernel provides the Host MAC address specified in /etc/modprobe.d/g_ether.conf .
The provided MAC address is the one finally assigned to rndis0. The provided Host MAC address has no effect and appears to be replaced by another random address which finally appears on the PC interface. The consequences are:
At the host, the existing record for Jolla connection is no longer used, and a new one is created.
iptables rules appear not to work, despite being present. In particular, DHCP traffic is dropped, thus I have to set the IP address manually at the PC.
Also due to iptables, tethering over USB does not work until the masquerading rule is re-created manually.
Thus,
3 | No.3 Revision |
Nearly (!) every time when I connect my Jolla to the PC over USB (in tethering mode), it generates new MAC addresses for both sides. SFOS 3.1.0.11. More specifically, journalctl says that
Sailfish kernel provides a random MAC address;
Sailfish kernel provides the Host MAC address specified in /etc/modprobe.d/g_ether.conf .
The provided MAC address is the one finally assigned to rndis0. The provided Host MAC address has no effect and appears to be replaced by another random address which finally appears on the PC interface. The consequences are:
At the host, the existing record for Jolla connection is no longer used, and a new one is created.
iptables rules appear not to work, despite being present. In particular, DHCP traffic is dropped, thus I have to set the IP address manually at the PC.
Also due to iptables, tethering over USB does not work until the masquerading rule is re-created manually.
Thus,