LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-25-2007, 08:10 PM   #1
patitoconejita
Member
 
Registered: Nov 2004
Location: Winnipeg, MB
Distribution: Debian
Posts: 42

Rep: Reputation: 15
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!
 
Old 11-25-2007, 09:24 PM   #2
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
Presumably, 'cause you're posting in the Debian section, you're on Debian. But Ubuntu and other Debian derivatives are similar.

Check if the file /etc/network/interfaces contains an entry for eth0. Mine (on Etch, for DHCP) looks like this:
Code:
# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
 
Old 11-25-2007, 10:01 PM   #3
patitoconejita
Member
 
Registered: Nov 2004
Location: Winnipeg, MB
Distribution: Debian
Posts: 42

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Dutch Master View Post
Presumably, 'cause you're posting in the Debian section, you're on Debian. But Ubuntu and other Debian derivatives are similar.

Check if the file /etc/network/interfaces contains an entry for eth0. Mine (on Etch, for DHCP) looks like this:
Code:
# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
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.
 
Old 11-26-2007, 07:02 AM   #4
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
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?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Eth0 dead after resume from hibernate greengrocer Linux - Newbie 1 06-02-2007 08:11 AM
eth0 device ok in 2.6, dead in 2.4 (on same machine, both kernels compiled) henryhlc Linux - Networking 2 01-26-2006 12:28 PM
eth0 device ok in 2.6, dead in 2.4 (on same machine, both kernels compiled) henryhlc Slackware 2 01-26-2006 11:25 AM
Eth0 interface dead... for no apparent reason in suse 9.1. any ideas? GD_19 Linux - Networking 1 10-16-2004 02:19 AM
Kernel Upgrade led to RPM Problems -HELP!!!! bfloeagle Linux - Software 5 03-25-2001 09:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration