Yesterday, 01:18 AM | #1 |
Connoisseur
Posts: 65
Karma: 10
Join Date: Jul 2017
Location: Boston
Device: Kobo Libra 2
|
Permanently change MAC address on Libra 2
I've never been able to access WiFi in Marriott hotels from my Libra 2. There is something broken with the portal -- I believe either broken SSL or something with DNS -- that makes it impossible to get through the authentication process. But I've found a workaround -- authenticate with another device, then change the Libra's MAC address to match the other device. I have the following script runnable from Nicklemenu:
Code:
#!/bin/sh ip link set dev wlan0 down ip link set dev wlan0 address (MAC here) ip link set dev wlan0 up I tried adding a similar line to /etc/udhcpc.d/default.script but it's still not "sticking". Does anyone know how to make this change permanent, or at least have it take effect whenever WiFi comes up? |
Yesterday, 03:39 AM | #2 |
Wizard
Posts: 1,228
Karma: 15499948
Join Date: Sep 2022
Device: Kobo Libra 2
|
Maybe you could add a Wi-Fi toggle to NickelMenu that also runs your script?
|
Advert | |
|
Yesterday, 04:07 AM | #3 |
the rook, bossing Never.
Posts: 11,848
Karma: 87663463
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Yes, the local library WiFi doesn't work with any ereader (Kindle and Kobo tried). Probably every library in Ireland is using the same stupid web page where you login in with your browser using your library user ID. It ought to be an anonymous local password for the WiFi point. The browser based Wifi authentications are horrible.
|
Yesterday, 10:28 AM | #4 | |
Connoisseur
Posts: 65
Karma: 10
Join Date: Jul 2017
Location: Boston
Device: Kobo Libra 2
|
Quote:
On a standard Linux box, you could permanently set the interface MAC address, for example, in /etc/network/interfaces, but I don't see how to do that on Kobo. I was hoping there was some hook that was run automatically by the device whenever the network interface is brought online or a configuration file like interfaces where the MAC address could be hard-coded. |
|
Yesterday, 10:32 AM | #5 |
Grand Sorcerer
Posts: 12,369
Karma: 74317822
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
Is it possible to change the device that you've used to do the validation to have the Kobo's MAC address; do the validation with that device and just leave the Kobo's MAC address as is?
Sent from my Pixel 7a using Tapatalk |
Advert | |
|
Yesterday, 11:04 AM | #6 | |
Connoisseur
Posts: 65
Karma: 10
Join Date: Jul 2017
Location: Boston
Device: Kobo Libra 2
|
Quote:
My other device is a Lenovo Carbon X1. You can manually set the MAC address on that, but the NIC forces the first two characters to a certain setting (I think it's 00), I assume to deter improper spoofing, so I can't set it to match the Kobo's default which starts with 58 for me. |
|
Yesterday, 02:53 PM | #7 |
Bibliophagist
Posts: 37,525
Karma: 149856306
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
For what it may be worth, a compliant randomized MAC address will have the first bit set to 0 (group/local) and the second bit set to 1 (locally administered) in the first octet. Looking at this in hex, the permitted values for the 2nd character in first octet of the MAC address will be 2 (0010), 6 (0110), A (1010) and E (1110) using most significant to least significant for the bits.
So a randomized MAC address will start with x2:, x6:, xA: or xE;. Microsoft for some reason insists the first character can't be a 0 but iOS and Android both allow that. |
Today, 12:08 AM | #8 | |
Connoisseur
Posts: 65
Karma: 10
Join Date: Jul 2017
Location: Boston
Device: Kobo Libra 2
|
Quote:
So I'm back to Plan A which is trying to have a persistent manually set MAC address on my Kobo. Does anyone understand the network interface workflow well enough to have an idea about where to insert a script that would set the MAC address every time the interface is turned on? |
|
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 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 |