kernel.randomize_va_space changes led to dead eth0
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
kernel.randomize_va_space changes led to dead eth0
Hello Debianers,
An external GIS software package (Seadas) that runs with IDL apparently needs to have kernel.randomize_va_space set to 0, according to the developers. They recommended doing:
/sbin/sysctl -w kernel.randomize_va_space=0
and reboot if the variable was set to 0 (it was in my case). However, now eth0 is no longer there, since ifconfig only shows the lo interface is running, so I have no internet anymore. I tried setting the variable back to 1 with the same command and reboot, but eth0 (hence internet) are still dead. Any help please? I'm baffled!
What do you mean? I know I'm posting to the Debian category; this is in a Debian unstable system. Anyway, I did check that file and eth1 (I was wrong about it being eth0) was there as it was before. I don't know what exactly /sbin/sysctl -w does, but it messed up my network configuration big time. I tried dpkg-reconfiguring -a (all packages) and still no fix, and I also reinstall the linux-image kernel package 2.6.22-3 amd64 assuming that variable might get reconfigured, but it didn't help. What a nightmare.
You didn't say you're on Sid. :P Anyway, try the ifup command to see if the network comes up. If it fails you have a serious issue. However, running Sid expects from you that you know how to solve a problem when (not if) one occurs. Did you read the man-page for sysctl?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.