Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My pc is connected to DSL modem using ethernet cable. At present I change eth0 parameters like mtu, txqueuelen using ifconfig at terminal on each boot. I would like to change some parameters of eth0 permanently.How do I do it?

share|improve this question

Why not using the NetworkManager for this? On the other hand, if you are comfortable with command lines you could use /etc/network/interfaces (just google for this).

share|improve this answer
In Network Manager where can we change txqueuelen ? – sriram pandey Jun 11 '12 at 11:01

Unwise txqueuelen mtu is changing by simple mtu statement. Looks like that the only one way to define txqueuelen through the /etc/network/interfaces file is providing post-up statement.

auto eth0
iface eth0 inet static

    mtu 9000

    post-up ifconfig $IFACE txqueuelen 10000
    # or
    post-up ip link set $IFACE txqueuelen 10000
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.