Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #235976

Re: Automating tasks on wifi association

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: Automating tasks on wifi association
Date 2021-06-11 06:40 +0200
Message-ID <CoH7z-5f5-5@gated-at.bofh.it> (permalink)
References <CoDnj-2SI-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu 10 Jun 2021 at 17:33:53 (-0700), L L wrote:
> I'm writing a script that generates a randomized valid MAC address and
> assigns it to the wireless card. It would be nice to make it run
> automatically as part of connecting to an access point. What will I have to
> edit to make this happen?

For the MAC address itself, would macchanger help you?

   * set specific MAC address of a network interface
   * set the MAC randomly
   * set a MAC of another vendor
   * set another MAC of the same vendor
   * set a MAC of the same kind (eg: wireless card)
   * display a vendor MAC list (today, 6200 items) to choose from

As for making the connection, most packages supply locations
for placing your scripts, like /etc/network/if-*.d/ and
/etc/wicd/scripts/p*connect/ and so on.

Cheers,
David.

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Automating tasks on wifi association L L <rotgo54321@gmail.com> - 2021-06-11 02:40 +0200
  Re: Automating tasks on wifi association Robbi Nespu <robbinespu@gmail.com> - 2021-06-11 03:10 +0200
  Re: Automating tasks on wifi association David Wright <deblis@lionunicorn.co.uk> - 2021-06-11 06:40 +0200

csiph-web