LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-02-2004, 02:24 PM   #1
jburgy
LQ Newbie
 
Registered: Jun 2004
Location: Zurich, Switzerland
Distribution: Mandrake 10 Community
Posts: 2

Rep: Reputation: 0
Problem w/ Mandrake Control Center 10


Hi all y'all,

I am having a really irritating problem with Mandrake 10 Community release: my internet connection parameters are not saved properly and I have to set up a new connection (which I do via the Mandrake Control Center) everytime I boot up! Here is the associated log:

21:11:13 drakconnect[2133]: ### Program is starting ###
21:11:24 drakconnect[2133]: launched command: /sbin/chkconfig --add internet
21:11:24 drakconnect[2133]: modified file /etc/sysconfig/network
21:11:24 drakconnect[2133]: modified file /etc/sysconfig/network-scripts/ifcfg-eth0
21:11:24 drakconnect[2133]: written eth0 interface configuration in /etc/sysconfig/network-scripts/ifcfg-eth0
21:11:24 drakconnect[2133]: writing host information to /etc/hosts
21:11:24 drakconnect[2133]: created file /etc/hosts
21:11:24 drakconnect[2133]: modified file /etc/tmdns.conf
21:11:24 drakconnect[2133]: launched command: /sbin/chkconfig --add internet
21:11:24 drakconnect[2133]: modified file /etc/sysconfig/network
21:11:24 drakconnect[2133]: modified file /etc/sysconfig/network-scripts/ifcfg-eth0
21:11:24 drakconnect[2133]: written eth0 interface configuration in /etc/sysconfig/network-scripts/ifcfg-eth0
21:11:24 drakconnect[2133]: writing host information to /etc/hosts
21:11:24 drakconnect[2133]: created file /etc/hosts
21:11:24 drakconnect[2133]: modified file /etc/tmdns.conf

I was having problems with the files /etc/sysconfig/network-scripts/net_cnx_up and /etc/sysconfig/network-scripts/net_cnx_down (they spat out a "Usage" message) so I installed the latest drakxtools package (version 10-34.2.100mdk). Now the unsightly error messages have disappeared yet it doesn't help...

Cheers,

Jan
 
Old 06-02-2004, 11:11 PM   #2
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
I suspect you have the same common problem as I just answered a minute ago. Probably your NIC module is not being picked up by hotplug and is not loading. When you boot up, look to see if it loads, by hitting "esc" and watching the boot messages. It should have a "bringing up the network" section. When you are booted, you should be able to see the module for your NIC in the results of typing (as root) lsmod. If not,
Code:
modprobe <your NIC module name>
ifup eth0
If that's it, add the name of your module to the config file /etc/modprobe.preload with your favorite text editor (as root) and it should force the module to load at boot. I had the same problem with my card on MDK10 beta2. The IP info, etc was still there, so it was just the hardware recognition. I'll cross my fingers for ya.
 
Old 06-04-2004, 02:07 AM   #3
jburgy
LQ Newbie
 
Registered: Jun 2004
Location: Zurich, Switzerland
Distribution: Mandrake 10 Community
Posts: 2

Original Poster
Rep: Reputation: 0
Corey, you rock

I'm a very happy camper right about now! Following your advice I added the last line below

[root@tux jan]# cat /etc/modprobe.preload
# /etc/modprobe.preload: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line. Comments begin with
# a `#', and everything on the line after them are ignored.
# this file is for module-init-tools (kernel 2.5 and above) ONLY
# for old kernel use /etc/modules

scsi_hostadapter
intel-agp
8139too
[root@tux jan]#

and it works like a charm. In another thread somebody told someone with a related problem to add "alias eth0 8139too' to /etc/modules.conf. I had done it as well but that clearly wasn't enough.

Many thanks again.

Jan
 
Old 06-04-2004, 06:58 AM   #4
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
The comments in this file pretty much tell why that is. Times are a-changin' I think this i s some kind of glitch in the hotplugging system. My card is activated without that line now, but with kernels (the generic MDK one - not recompiled) up to 2.6.3-13mdk, it still showed as "failed" on the bootup messages being echoes to my screen, but with the 2.6.7.0-rc2-1, which I am crazy enough to be running, the message is good now.
 
  


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
Mandrake Control Center and second IP silverbear Linux - General 1 11-28-2004 09:21 PM
Mandrake 9.0 Control Center problem mmg Linux - Newbie 2 09-04-2003 05:09 PM
mandrake control center problem deus_machinarum Mandriva 3 08-25-2003 02:09 PM
Mandrake 9.1 control center egiplus Linux - Distributions 1 05-26-2003 02:22 PM
Mandrake Control Center kingpickle Linux - Hardware 2 10-21-2002 09:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:22 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