ifconfig

  1. B

    Solved ip - ifconfig - netplan - interfaces file

    Hi! I'm struggling to configure a quite simple network using Debian. I can't see the difference between using the following commands to set the networking parameters. ip ifconfig netplan /etc/network/interfaces file When to use one or another? Why so many tools for the same purpose? Does any...
  2. I

    Does Linux count dropped packets in rx_packets and tx_packets?

    Good morning, I'm doing some network measurements with a program that collects data from the folder /sys/class/net/<if>/statistics. In my measurement program, I have a line of code stating that, in a 1 second reading, the rx_dropped and tx_dropped values cannot be higher than the rx_packets and...
  3. L

    Problem with MAC spoofing

    Hi everyone, I'm writing because I'm a rookie with GNU Linux and I got this problem: If i write this commands: sudo ifconfig <interface> down sudo macchanger -r <interface> sudo ifconfig <interface> up then, I can't surf the net... If anyone could help me with this problem, I'd be very...
  4. M

    Changing MAC "permanently"?

    I have an Ubuntu 14 and have to change the MAC address but with: sudo ifconfig eth0 down sudo ifconfig eth0 hw ether xx:xx:xx:xx:xx:xx sudo ifconfig eth0 up it changes back when I restart (or power goes off and starts itself back). Is there an easy way to change it permanently by console?
Top