SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2011-03-18 16:07:17

new_kid
Member
Registered: 2011-03-04
Posts: 12

Some Network Issues

Hi,

Problem 1

I connect to the internet using a dsl connection, configured via network manager. The problem is everytime log into CrunchBang is asks for my login password again to unlock the keyring after which the adsl connection is established. Sometimes I need to enter my dsl password allover again. I want this connect to be the default one & connect automatically. How I do that ?

Problem 2  

I have observed that the best MTU value for my connection is 1400. I have already set 1400 in network manager but the strange thing is after a connection is established I find that the mtu value of  ppp0 (using ifconfig) is 1492. At 1492 some web sites wont' open. So, I do

sudo ifconfig ppp0 mtu 1400

. But after restarting or reconnecting the dsl connection it again reverts back to 1492.

So, how to set 1400 as the permanent mtu value for ppp0 ?

Offline

Help fund CrunchBang, donate to the project!

#2 2011-03-18 17:30:59

SallyK
Member
Registered: 2010-12-15
Posts: 11

Re: Some Network Issues

For Problem 1: would the solution in this thread (http://crunchbanglinux.org/forums/topic … rs-solved/) help?

I'm sorry, I can't help with Problem 2.

Offline

#3 2011-03-18 19:09:01

new_kid
Member
Registered: 2011-03-04
Posts: 12

Re: Some Network Issues

SallyK wrote:

For Problem 1: would the solution in this thread (http://crunchbanglinux.org/forums/topic … rs-solved/) help?

I'm sorry, I can't help with Problem 2.

Thanks for that link. My first problem is solved.

The  mtu issue remains.

I entered 1400 as root too (ie

sudo nm-connection-editor 

)

But it still reverts back to 1492.

Thanks again.

Offline

#4 2011-03-19 03:34:31

machinebacon
#! unstable
From: China
Registered: 2009-07-02
Posts: 6,825
Website

Re: Some Network Issues

Hello,

open the file named /etc/network/interfaces as root with an editor:

sudo gedit /etc/network/interfaces

as last line add:

mtu 1400

under the section for your eth0/ppp0
save the file, and restart network

sudo  /etc/init.d/networking restart

this should now set the connection manually to 1400.

http://www.debianadmin.com/change-mtu-m … rface.html


Sweaty lads picking up the soap | I love the new "Ignore user" button

Offline

#5 2011-03-19 11:49:44

new_kid
Member
Registered: 2011-03-04
Posts: 12

Re: Some Network Issues

machinebacon wrote:

under the section for your eth0/ppp0

This is how my /etc/network/interfaces looks like

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

I can't find eth0 or ppp0

Where should I add that line ?

Offline

#6 2011-03-19 13:39:23

baylo
New Member
Registered: 2011-03-13
Posts: 4

Re: Some Network Issues

type "ifconfig" in the terminal it may be listed as something else.

Offline

#7 2011-03-19 14:02:34

machinebacon
#! unstable
From: China
Registered: 2009-07-02
Posts: 6,825
Website

Re: Some Network Issues

@new_kid

just add the line to the end of the file, it will be okay.


Sweaty lads picking up the soap | I love the new "Ignore user" button

Offline

#8 2011-03-19 16:40:07

new_kid
Member
Registered: 2011-03-04
Posts: 12

Re: Some Network Issues

machinebacon wrote:

@new_kid

just add the line to the end of the file, it will be okay.

Added. Then did  sudo /etc/init.d/networking restart

Didn't work.

eth0 mtu is 1500 & ppp0's mtu 1492.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo