Live data from Hacker News

Airpass – Easily overcome WiFi time limits

airpass.tiagoalves.me

31–40 of 278 posts

Re: Airpass – Easily overcome WiFi time limits

#31
post #9

Alternatively, if you don't want to run the whole Electron app, the money is this line: sudo.exec("/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport en0 -z && ifconfig en0 ether `openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//'`",

Why does a Mac-only app that shows a menu bar icon and a notification popup need to be Electron…? That’s 30 lines of Swift, max.

If you don't know Swift, but do know Electron, it's easier to do it in 30 lines of Javascript.

People who don't like the developers work can always write and publish their own application, of course.

Re: Airpass – Easily overcome WiFi time limits

#32
post #7

Glad this feature is built into most modern operating systems these days. For MacOS (Sequoia+) you can just forget the network and reconnect to get a new MAC address [1]. Android's documentation for if it decides to generate a new address per connection is a little vague [2], but I'm guessing forgetting and reconnecting works as well, you may also need to flip the "Wi-Fi non-persistent MAC randomization" bit in devel…

Yeah I had to flip the developer setting toggle, but worked flawlessly for my flight (American Airlines has a watch an ad for 20 minutes of free internet that only works once per MAC)

Re: Airpass – Easily overcome WiFi time limits

#35
post #30

Earlier quoted context omitted.

It just resets the MAC address, making the router believe it's a new device, thus not subject to the "x minute" free WiFi.

That won't circumvent the sms code requirement most free wifi services use.

I have never seen this before

Re: Airpass – Easily overcome WiFi time limits

#36
post #29
post #9

Earlier quoted context omitted.

Why does a Mac-only app that shows a menu bar icon and a notification popup need to be Electron…? That’s 30 lines of Swift, max.

If you want a frontend for you app, you probably just use Electron and get it over with in a few minutes instead of digging through the docs for Qt or some other framework. Is it worth it? Probably not, since this is a single-platform app to start with, but JS+HTML are easy to theme and customize, and Qt is... not quite as simple.

Now that you can build such an app with AI in under 20 minutes with a manageable codebase you can properly understand and control, I don't think that's a good excuse anymore

Re: Airpass – Easily overcome WiFi time limits

#38
post #9

Earlier quoted context omitted.

Why does a Mac-only app that shows a menu bar icon and a notification popup need to be Electron…? That’s 30 lines of Swift, max.

If you don't know Swift, but do know Electron, it's easier to do it in 30 lines of Javascript. People who don't like the developers work can always write and publish their own application, of course.

It's hard work writing free stuff for others, much easier to criticise stuff instead of getting your hands dirty.

Re: Airpass – Easily overcome WiFi time limits

#39
post #29

Earlier quoted context omitted.

If you want a frontend for you app, you probably just use Electron and get it over with in a few minutes instead of digging through the docs for Qt or some other framework. Is it worth it? Probably not, since this is a single-platform app to start with, but JS+HTML are easy to theme and customize, and Qt is... not quite as simple.

Now that you can build such an app with AI in under 20 minutes with a manageable codebase you can properly understand and control, I don't think that's a good excuse anymore

> with a manageable codebase you can properly understand and control

Yeah, that definitely describes every AI codebase I have seen..

Re: Airpass – Easily overcome WiFi time limits

#40
post #29

Earlier quoted context omitted.

If you want a frontend for you app, you probably just use Electron and get it over with in a few minutes instead of digging through the docs for Qt or some other framework. Is it worth it? Probably not, since this is a single-platform app to start with, but JS+HTML are easy to theme and customize, and Qt is... not quite as simple.

Now that you can build such an app with AI in under 20 minutes with a manageable codebase you can properly understand and control, I don't think that's a good excuse anymore

If you don't know the language, how can you properly understand and control it?
Post reply on HN