LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-20-2004, 10:50 AM   #1
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833

Rep: Reputation: 90
Connect with static ip & but cpu goes crazy


Hi all,

FINALLY!!! after a weeks struggle, I made it back to the net after upgrading from kernel 2.4.22 via 2.6.2 to 2.6.3!!!

I gave up on DHCP, and decided to put a static ip in /etc/rc.d/rc.inet.conf, as well as adding nameserver addresses in /etc/resolve.conf (tips from other LQ thread, to be found here

BUT: now my cpu is going crazy, up to 100% at times?!

Anyone any idea why and what to do about it?

Here's the changes I made: (Slack9.1 btw)

bash-2.05b$ cat /etc/resolv.conf
nameserver 130.232.1.22
nameserver 130.232.1.1

search utu.fi

bash-2.05b$ cat /etc/rc.d/rc.inet1.conf
# /etc/rc.d/rc.inet1.conf
#
# This file contains the configuration settings for network interfaces.
# If USE_DHCP[interface] is set to "yes", this overrides any other settings.
# If you don't have an interface, leave the settings null ("").

# Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="" # <-- I don't need the onboard card
DHCP_HOSTNAME[0]=""

# Config information for eth1: # <-- this is my ethernet card
IPADDR[1]="130.232.59.57"
NETMASK[1]="255.255.254.0"
USE_DHCP[1]=""
DHCP_HOSTNAME[1]="leon-fyg"

# Config information for eth2:
IPADDR[2]=""
NETMASK[2]=""
USE_DHCP[2]=""
DHCP_HOSTNAME[2]=""

# Config information for eth3:
IPADDR[3]=""
NETMASK[3]=""
USE_DHCP[3]=""
DHCP_HOSTNAME[3]=""

# Default gateway IP address:
GATEWAY="130.232.59.254" # <-- do I need this bit, and if so, for what?

# Change this to "yes" for debugging output to stdout. Unfortunately,
# /sbin/hotplug seems to disable stdout so you'll only see debugging output
# when rc.inet1 is called directly.
DEBUG_ETH_UP="no"

I tried to copy the boot msgs, but in dmesg there isn't that much info. Which log should I access for that? Please let me know which other info I should provide. I'love to!!

Happy Slacking again anyway, be it with a huge cpu overload...

Cheers, Leon.

EDIT: after calming down from this rush of joy (phew back on the net :-) I realise that after all, it works well! So, maybe I should give DHCP another try...

During boot cardmgr starts just fine, and finds my card (D-Link 600+, NE2000 compatable). But whatever I try, I get
"timed out waiting for DHCP response" Is there a way to keep the damn thing maybe waiting a bit longer for DHCP?

Last edited by BroX; 02-20-2004 at 11:06 AM.
 
Old 02-20-2004, 12:03 PM   #2
RobertP
Member
 
Registered: Jan 2004
Location: Manitoba, Canada
Distribution: Debian
Posts: 454

Rep: Reputation: 32
look in one of your network scripts for dhcpcd. Slack has a timeout limit of 10 or so but it needs to be longer, like 30. I had this happen to me.
look in /etc/rc.d/inet1

change /sbin/dhcpcd -t 10 to -t 30 it happens in a couple of places

I'll bet you have a DHCP server using that other OS that thinks a person should have to wait longer than 10s to get an IP address. With Linux is just takes a second.
 
Old 02-20-2004, 12:20 PM   #3
charon79m
Member
 
Registered: Oct 2003
Distribution: Just about anything... so long as it is Debain based.
Posts: 297

Rep: Reputation: 30
processor overload....

Have you run "top" to see what process is eating up your pocessor time?

MrKnisely
 
  


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
Unable to connect to Internet when using static IP on SuSE 9.2 fyhuang Linux - Networking 2 01-26-2005 01:00 PM
static ip mapping:- connect: invalid argument katana Linux - General 1 10-09-2004 08:52 AM
Non executable stack with Linux -- && 64bit CPU needed? lelolas Linux - Security 5 07-25-2004 09:25 PM
mouse going crazy when full CPU martinrp Mandriva 2 07-11-2004 11:38 AM
Connect static and dynamic DHCP with VLANs FatMike Linux - Software 0 11-12-2003 07:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:17 AM.

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