ImmortalRealms Link Xchange
A link depository for the ImmortalRealms.
Friday, February 24, 2006
Apt-cache and MTU Issue
:..:

E: Dynamic MMap ran out of room



You may find that you receive an error like the following:



E: Dynamic MMap ran out of room

E: Error occured while processing sqlrelay-sqlite (NewPackage)

E: Problem with MergeList

/var/lib/apt/lists/ftp.us.debian.org_debian_dists_woody_contrib_binary-i386_Packages

E: The package lists or status file could not be parsed or opened.



This is caused because apt's cache is too small to handle all of the packages that are included with stable, testing, and unstable. This is also very easy to fix. Add the following line to /etc/apt/apt.conf



APT::Cache-Limit "18388608";





MTU Issue Solution

HOWTO Change the MTU of an interface on Debian



* Jérôme Warnier

* 2005-12-08 14:15



To change the MTU of an interface on GNU/Linux, you just need to tell ifconfig to do so, like this for example:



/sbin/ifconfig eth0 mtu 1492


To change it permanently on Debian, put it in the /etc/network/interfaces, where almost all network parameters are found. To do this, just add a line mtu to the definition of your interface. Example:


iface eth0 inet static

address 192.168.0.1

network 192.168.0.0

gateway 192.168.0.254

netmask 255.255.255.0

mtu 1492



There is an exception, though.


Warning: the following is mostly obsolete in Sid and Etch
It seems that the dhcp clients are not configured by default to do the same for dynamically-assigned configurations [1]. So, you need to use a tweak to achieve the same. We're going to use the pre-up feature of /etc/network/interfaces like this:


iface eth0 inet dhcp

hostname "mymachine"

name LAN Interface

pre-up /sbin/ifconfig $IFACE mtu 1492



:.:

deb http://ftp.iinet.net.au/debian/debian/ stable main
deb-src http://ftp.iinet.net.au/debian/debian/ stable main

deb http://security.debian.org/ stable/updates main

deb http://ftp.iinet.net.au/debian/debian/ unstable main
deb-src http://ftp.iinet.net.au/debian/debian/ unstable main

Labels:

posted by Dark Shadow @ 11:04 PM  
0 Comments:
Post a Comment
<< Home
 

Name: Dark Shadow
Home:
Raison d'être:
See my complete profile
Previous Post
Labels
Links
Powered by

Free Blogger Templates

BLOGGER