07-14-2024, 01:49 PM | #16 |
Connoisseur
Posts: 76
Karma: 10
Join Date: Jul 2017
Location: Boston
Device: Kobo Libra 2
|
This worked: I added a file /etc/udev/rules.d/98-set-mac.rules:
Code:
KERNEL=="wlan*", ACTION=="add", RUN+="/usr/local/Kobo/udev/fix_net" Code:
#/bin/sh MAC='mac address here' ip link set dev wlan0 down ip link set dev wlan0 address $MAC ip link set dev wlan0 up |
07-15-2024, 11:14 AM | #17 |
Member
Posts: 19
Karma: 147742
Join Date: Nov 2017
Location: Vancouver, BC, Canada
Device: Kobo Touch B/C, Kobo Glo HD, Kobo Clara HD, Kobo Libra 2
|
For what it's worth, a long time ago I had luck adding an exit hook to the DHCP response, as follows:
Code:
# /etc/dhcpcd.exit-hook - sets the host name from DHCP data # In Ubuntu: /lib/dhcpcd/dhcpcd-hooks/30-hostname (dhcpcd5) # Called by: /libexec/dhcpcd-run-hooks if $if_up; then if [ -n "$new_host_name" ]; then hostname "$new_host_name" fi fi |
07-15-2024, 10:39 PM | #18 | |
Connoisseur
Posts: 76
Karma: 10
Join Date: Jul 2017
Location: Boston
Device: Kobo Libra 2
|
Quote:
|
|
07-16-2024, 11:05 AM | #19 | |
Member
Posts: 19
Karma: 147742
Join Date: Nov 2017
Location: Vancouver, BC, Canada
Device: Kobo Touch B/C, Kobo Glo HD, Kobo Clara HD, Kobo Libra 2
|
Quote:
|
|
07-16-2024, 02:49 PM | #20 |
Bibliophagist
Posts: 41,328
Karma: 158182190
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Not to mention that if you change the MAC address after the DHCP address is received, the router will not consider it a valid address when the IP address to MAC address translation is done.
|
Tags |
libra 2, wifi |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Change minimum brightness setting to 1% permanently? | macd | Kobo Reader | 7 | 04-14-2023 04:03 PM |
Change Kindle MAC Address? | ccat526 | Kindle Developer's Corner | 3 | 11-20-2022 04:24 PM |
Is there a way to permanently change the rgb on my kobo aura one, so they don't reset | Griu | Kobo Reader | 0 | 02-23-2022 10:51 PM |
Change K3 serial number and mac address. | seaniko7 | Kindle Developer's Corner | 18 | 06-07-2014 08:17 AM |
SmartQ 7 MAC address | talaivan | Alternative Devices | 3 | 09-11-2009 10:24 AM |