![]() |
#16 |
Connoisseur
![]() Posts: 72
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 |
![]() |
![]() |
![]() |
#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 |
![]() |
![]() |
![]() |
#18 | |
Connoisseur
![]() Posts: 72
Karma: 10
Join Date: Jul 2017
Location: Boston
Device: Kobo Libra 2
|
Quote:
|
|
![]() |
![]() |
![]() |
#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:
|
|
![]() |
![]() |
![]() |
#20 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 38,714
Karma: 152906060
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 |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Change minimum brightness setting to 1% permanently? | macd | Kobo Reader | 7 | 04-14-2023 03:03 PM |
Change Kindle MAC Address? | ccat526 | Kindle Developer's Corner | 3 | 11-20-2022 03: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 09:51 PM |
Change K3 serial number and mac address. | seaniko7 | Kindle Developer's Corner | 18 | 06-07-2014 07:17 AM |
SmartQ 7 MAC address | talaivan | Alternative Devices | 3 | 09-11-2009 09:24 AM |