Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

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
    address 10.0.0.1
    netmask 255.255.255.255

    mtu 9000

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

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
1  
In Network Manager where can we change txqueuelen ? – sriram pandey Jun 11 '12 at 11:01

Your Answer

 
discard

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.