Linux - SoftwareThis 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
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.
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...
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.
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
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.