Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old Yesterday, 12:49 PM   #16
ajkessel
Connoisseur
ajkessel began at the beginning.
 
Posts: 70
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"
and then fix_net is:
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
So the final workflow is to authenticate with an Apple device using its built-in hardware MAC address; then switch the Apple device to randomize MAC (to avoid duplication); then when the Kobo boots up it can access the network using the previously-authenticated MAC address.
ajkessel is offline   Reply With Quote
Old Today, 10:14 AM   #17
jgneff
Member
jgneff brings flavor and color to the partyjgneff brings flavor and color to the partyjgneff brings flavor and color to the partyjgneff brings flavor and color to the partyjgneff brings flavor and color to the partyjgneff brings flavor and color to the partyjgneff brings flavor and color to the partyjgneff brings flavor and color to the partyjgneff brings flavor and color to the partyjgneff brings flavor and color to the partyjgneff brings flavor and color to the party
 
jgneff's Avatar
 
Posts: 18
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
I wanted to set the host name as provided by my router in the DHCP response, but perhaps you could set the MAC address here instead.
jgneff is offline   Reply With Quote
Reply

Tags
libra 2, wifi


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 02:19 PM.


MobileRead.com is a privately owned, operated and funded community.