question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Assumption of ifconfig for Linux

See original GitHub issue

Wasn’t able to play with this due to its reliance on ifconfig, where I use iproute2. The equivalent commands to randomize your MAC using iproute2:

ip link set dev eth0 down
ip link set dev eth0 address `hexdump -n3 -e'/3 "00:60:2F" 3/1 ":%02X"' /dev/urandom`
ip link set dev eth0 up

Up to you if this information is useful or not, just putting it out there for others.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ferosscommented, Jan 7, 2017

I’ll just add a note to the readme that this package requires ifconfig on Linux. If someone wants to send a PR later, that’s always welcome.

1reaction
akivacommented, Sep 18, 2016

+1 on this point, if I get the chance in the next week or two, I will offer a PR.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Where is the statement of deprecation of ifconfig (on linux)?
A lot of people is stating that the ifconfig command is deprecated in favor of the ip one (on linux at least). This...
Read more >
All about Linux: Ifconfig Command - Explained in Detail
ifconfig is a command line tool used to configure a network interface in Linux.It can be used to set-up any/all the network interfaces...
Read more >
ifconfig Command - IBM
The ifconfig function displays the current configuration for a network interface when no optional parameters are supplied. If a protocol family is specified, ......
Read more >
Monitoring the Interface Configuration With the ifconfig ...
Use the ifconfig command to determine basic information about the interfaces of a particular system. For example, a simple ifconfig query can tell...
Read more >
Linux ifconfig Command Explained With 19 Practical Examples
The ifconfig command prints an output when executed without arguments or with the interface name only. If used with arguments, there is no ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found