LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 02-09-2004, 06:22 AM   #1
rdoucet
Member
 
Registered: Mar 2003
Location: Québec, Canada
Posts: 33

Rep: Reputation: 15
Mdk 10 beta 2 network trouble


Hi!
I just installed Mandy 10 beta 2 , and I got the following trouble. I cannot connect to the internet. when I boot up, it looks for a network card and it waits for a long time, and finally gives me a failed status. I looked at my modem lights and they blink sometimes, just as normal in Mandy 9.2 or Win XP.

I checked in harddrake and my network card is there and working properly. I set up my ADSL connection right. Just like I did in Mandy 9.2 but no luck, always a failed status on boot up.

Any idea?

Thanks

Rich
 
Old 02-09-2004, 07:15 AM   #2
courtrrb
Member
 
Registered: Sep 2003
Location: Iowa, US
Distribution: MDK Since V6.5
Posts: 573

Rep: Reputation: 30
I posted a bug report with bugzilla #7316 n this problem. One of 2 thing you can do to get your card to work. First thing try enabling and disabling hot plugging of the network. It seams the hot plug is buggy on install. If that dosn work copy the /etc/sysconfig/network-scripts directory from your 9.2 install. The second is what I did to get mine to work originally. After talking with the MDK team they told me to disable the hot plug but mine was already disabled to I enabled it rebooted and then disabled it rebooted and the network has been working fine since.
 
Old 02-10-2004, 01:14 AM   #3
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 was gonna create a thread about this, but you already have one, so I'll add to it here, since my issue mirrors yours closely.

I have a cable connection that I share with a Linksys router. I connect to the ISP with dhcp (handled by the router) and our computers connect via the router. They each have static IPs, for port forewarding purposes. The network card in my machine is a ‎ADM983 Linksys EtherFast 10/100. This card has a clone of the DEC 2104x chip, so the tulip driver works.

I have since updated my system with the 2.6.2-1mdk kernel (from cooker RPMs) and was wondering if the module was being called by the wrong kernel. I shouldn't have worried.

When I installed, I had networking. When I rebooted, i didn't. The card showed up with lspci. The module did not with lsmod. A quick "modprobe tulip" got me on the net. Or, conversely, I could 'create a new connection' with Mandrake control center and my settings were still there, ready for a few mouse clicks. So, the problem is autoloading of the module. I was about to recompile with it in the damn thing. Screw this module! But, I found the answer to the woes I have (and this may help all you other 2.6'er as well!) in a config file.

With the 2.4.x kernel, if you want to load a module a boot, there's a file in /etc/ that you can insert a module name into and it should load on boot. That file is /etc/modules . The comments inside the file are
Quote:
# /etc/modules: 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.
I tried that. I entered tulip on its own line. Rebooted. Nothing new. Ifconfig gives me no card. I then started looking at the contents of every config file in /etc that looked useful to a module loader. I stumbled upon the solution: /etc/modprobe.preload

I fired up jed (my fave editor for small config stuff):

jed /etc/modprobe.preload

Lo and behold, I found this inside
Quote:
# /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
Below the comments, I typed tulip and saved the file. rebooted, and there was my network. ifconfig came back with a healthy eth0 entry. lsmod proved that the tulip module was indeed loaded. The internet came back to me without extra work.

Despite this, a look at /var/log/dmesg showed that eth0 had failed to load
When booting, the message was plain as the light of day, a big red failed. Regardless, the interface was up. A long read into /var/log messages showed that indeed, the card was probed by ifplugd and came back as unable to load at one point. Another point, after (logged the next second - I guess after it was logged as failed) it was successful. Here are the relavent lines:

Quote:
Feb 10 00:08:45 wilty network: Setting network parameters: succeeded
Feb 10 00:08:45 wilty network: Bringing up loopback interface: succeeded
Feb 10 00:08:45 wilty ifplugd(eth0)[1331]: ifplugd 0.21b initializing.
Feb 10 00:08:45 wilty ifplugd(eth0)[1331]: Using interface eth0/00:04:5A:80:FE:3A with driver <tulip> (version: 1.1.13)
Feb 10 00:08:45 wilty ifplugd(eth0)[1331]: Using detection mode: SIOCGMIIPHY
Feb 10 00:08:45 wilty ifplugd(eth0)[1331]: Initialization complete, link beat not detected.
Feb 10 00:08:45 wilty network: Bringing up interface eth0: failed
but,

Quote:
Feb 10 00:08:52 wilty ifplugd(eth0)[1331]: Program executed successfully.
Without the addition of that one word in the /etc/modprobe.preload I didn't get that part of the message. The interface stayed down until I manually inserted the module.

This is lengthy, but I figured that its an important 2.6 kernel issue, as the file is different. Now I surf like mad! Now for kde...
 
  


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
IDE Raid + MDK 10.1 Beta DJ Tribal Mandriva 2 12-05-2004 07:22 PM
Free (Beta) Linuxant drivers on MDK 10 (2.6 kernel) shenlong Mandriva 3 03-21-2004 01:52 AM
MDK Multi-network-firewall - where are the network logs stored? Avatar Mandriva 5 02-11-2004 08:44 PM
Trouble installing MDK 9.1 Scruff Linux - Software 1 07-06-2003 12:47 PM
Trouble getting Soundblaster live to work with Mandrake 9 beta SilentStrike Linux - Hardware 4 07-30-2002 10:21 PM

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

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