LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-24-2007, 02:45 AM   #1
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Rep: Reputation: 30
Unhappy Network card problems


Hi again, I downloaded wine, so that I could use some windows based software. My kernel didn't support wine, so I went for a complete reinstall with a 2.6 kernel slackware 11 huge26.s. My problem as is the same for many, is that my networkcard is not recognized - or should I say networkcards. I have tested four different brands without success. The ifconfig read out is as follows:

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

There is no mention of the card whatsoever?! Is there anyone who has come accross the same type of problem - and can give me a detailed account of what they did to solve the problem.
 
Old 04-24-2007, 02:51 AM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
What type of network cards are you using, Ethernet or WiFi?

It is really hard for me to imagine that 4 separate Ethernet cards you tried weren't detected by the 2.6 kernel in Slackware, as almost every PCI Ethernet card ever made is supported under Linux now.

Are you sure you have the kernel modules package installed? What were the brands/models of these cards?

If you are talking about WiFi cards, then yes I can believe that. In the case of WiFi, you would need to post back with what chipsets the cards are using, and try to make progress from there.
 
Old 04-24-2007, 03:51 AM   #3
SlackDaemon
Member
 
Registered: Mar 2006
Distribution: RedHat, Slackware, Experimenting with FreeBSD
Posts: 222

Rep: Reputation: 30
Quote:
Originally Posted by bookie
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Hi,

Was this the output from ifconfig -a or just a plain ifconfig. ifconfig on its own will show you information on active interfaces only. Type ifconfig -a to get a list of active and unconfigured interfaces.

If you just placed those ethernet cards into the machine, you will also need to make the proper IP configurations in: /etc/rc.d/rc.inet1.conf

Enter the IP address, subnet and gateway then sh /etc/rc.d/rc.inet1
 
Old 04-24-2007, 05:27 AM   #4
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Original Poster
Rep: Reputation: 30
Re - network problems

IThanks guys, I have been a bit busy. My friend gave me several networkcards which didn't have much information on them when I did a search. Anyway, the long and short of it I had to reinstall windows and use Aida32 to find information on the different cards. This took a while and the information is as follows:

Two 3com etherlink xl 10/100 pci tx (3c905b-tx) and (3c905ctx-m)
Intel(R)pro/100 pci fast ethernet adapter
Realtek RTL8139A pci fast ethernet adapter
Accton EN1207d-tx pci fast controller

Well, when I did the install of slackware 11 huge26.s I did the basic install without adding anything along the way. Maybe I missed something that I needed? I must admit that I tested different cards without reprogramming ip info only ip addresses, firewall etc. This hasn't caused me a problem before. Strange thing is I had the old kernel with pportide.i and that found the network card. Going to do a re-install now. Is there any thing I should be aware of when chosing modules and such like. One of the services caused a problem on a fedora 6 install (appletalk) or something like that. It blocked my static ip addresses, so I had to stop that service before getting anywhere. I think it was If you have a Mac computer, which I don't. Bit apprehensive when adding extra modules and serveces.

Your thoughts gentlemen.

bookie
 
Old 04-24-2007, 06:20 AM   #5
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Original Poster
Rep: Reputation: 30
Unhappy Re - network problems

Just a little update. I stated install with test26.s. After logging in from the beginning I wrote in network to see if I could find my cards before install. I searched automatically on everyone of them without success!! Why should the old kernel 2.4.33.3 find my cards but not 2.6?! Of course there were other choices, but isn't it strange that the automatic search didn't find them?
Going ahead with the install on the hope of a solution from you guys.

bookie
 
Old 04-24-2007, 07:42 AM   #6
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Original Poster
Rep: Reputation: 30
Angry Re - network problems

Well, now I have reprogrammed. No network card!! Tried ifconfig -a and got the same information as already posted. I have searched and searched and everyone says 3com are not a problem - then why!!! Thinking of going back to Windows fedup with the wasted hours on everything one does with linux!!! I have a lot of patience and try and try, but this is getting tedious now.

bookie
 
Old 04-24-2007, 07:56 AM   #7
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Original Poster
Rep: Reputation: 30
update

Tried the commands /etc/rc.d/rc.inet1.conf "permision denied" Why is it so hard with basic commands?

Last edited by bookie; 04-24-2007 at 08:32 AM.
 
Old 04-24-2007, 09:51 AM   #8
SlackDaemon
Member
 
Registered: Mar 2006
Distribution: RedHat, Slackware, Experimenting with FreeBSD
Posts: 222

Rep: Reputation: 30
The test kernel you are using may not have the necessay modules installed for those particular network cards. Try installing one of the stable kernels on CD2. These are the specific steps

mount -t iso9660 /dev/cdrom /mnt -o ro
cd /mnt/extra/linux-2.6.17.13
installpkg kernel-headers-2.6.17.13-i386-1.tgz
installpkg kernel-generic-2.6.17.13-i486-1.tgz
installpkg kernel-modules-2.6.17.13-i486-1.tgz
mkinitrd -c -k 2.6.17.13 -m jbd:ext3 -f ext3 -r /dev/hda1

(The mkinitrd command assumes you chose ext3 filesystem and that your root partition is /dev/hda1) If you chose the reiserfs filesystem type this instead:

mkinitrd -c -k 2.6.17.13 -m reiserfs

then finally type lilo and reboot.

The /etc/rc.d/rc.inet1.conf file is a configuration file and is not executable. You have to edit its contents with an editor such as vi or emacs. You can also use the netconfig command to configure the IPs.
 
Old 04-24-2007, 10:04 AM   #9
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Original Poster
Rep: Reputation: 30
update

Thanks for the info SlackDaemon. I will attempt the change of kernel a bit later - little busy at the mo. I will post the results later.
Thanks again for your help

bookie
 
Old 04-24-2007, 10:59 AM   #10
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Original Poster
Rep: Reputation: 30
SlackDaemon help me

Hi SlackDaemon your advice was going alright, but I forgot a piece of info and when I booted there was kernel panic. I'm doing a re-install again again again - not your fault. The fault is entirely mine.Ok the install of packages went without misshap. It was when I was trying to install reiserfs I forgot to add on which hard drive to put it on. Can you please bear with a Newbie and finish off the bit about reiserfs

mkinitrd -c -k 2.6.17.13 -m reiserfs -r /dev/hda1

Is the above info right? If it is I have to admit I didn't add on the info after reiserfs.

Please confirm or re-write this last bit.

Thanks again.

bookie
 
Old 04-24-2007, 12:07 PM   #11
SlackDaemon
Member
 
Registered: Mar 2006
Distribution: RedHat, Slackware, Experimenting with FreeBSD
Posts: 222

Rep: Reputation: 30
Quote:
Originally Posted by bookie
Hi SlackDaemon your advice was going alright, but I forgot a piece of info and when I booted there was kernel panic. I'm doing a re-install again again again - not your fault. The fault is entirely mine.Ok the install of packages went without misshap. It was when I was trying to install reiserfs I forgot to add on which hard drive to put it on. Can you please bear with a Newbie and finish off the bit about reiserfs

mkinitrd -c -k 2.6.17.13 -m reiserfs -r /dev/hda1

Is the above info right? If it is I have to admit I didn't add on the info after reiserfs.

Please confirm or re-write this last bit.

Thanks again.

bookie
Are you by any chance working with a SATA drive? If so can you tell me what your root drive is? It will be mentioned in /etc/lilo.conf.
With IDE drives the root drive parameter was not strictly necessary. Did you also remember to run lilo after making the changes?

This may seem tedious but take it as a learning experience. You'll need to get your hands a bit dirty with Slackware but in the end its a great system.
 
Old 04-24-2007, 02:21 PM   #12
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Original Poster
Rep: Reputation: 30
Crashed again

Well, my luck doesn't seem to be very good at the moment. I re-installed and tried again to change the kernel even adding the info I forgot, but it didn't help. I didn't forget lilo. The last it said after lilo was linux loaded or something like that. I rebooted, but it was the same as before kernel panic. No I am not using sata drives. I am re-installing for the third time today - good fun isn't it.
Have you any more thoughts on the subject. I have changed the format to ext3 now to see if that makes a difference. The root drive is hda1 and the swap hd2 plus the hd1 I made bootable, so I cannot see what the problem is.


bookie
 
Old 04-28-2007, 01:59 AM   #13
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Original Poster
Rep: Reputation: 30
success

Well, I tried using ext3 instead of reiserfs when reprogramming the kernel - and it worked like a dream. I tried a 3com network card first, but eventhough it came up green on installation, I could not come out on the net?! I changed it for another card and it went ok, so I would like to thank you again for your help.

bookie
 
Old 04-28-2007, 02:16 AM   #14
SlackDaemon
Member
 
Registered: Mar 2006
Distribution: RedHat, Slackware, Experimenting with FreeBSD
Posts: 222

Rep: Reputation: 30
Good to hear. A rough start but you seem to have sorted it out.
If you have any more questions you know where to find us
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Network Card problems. duffboygrim Linux - Hardware 5 02-21-2004 04:40 PM
Network card problems WiWa Linux - Networking 16 09-05-2003 12:42 AM
Problems with network card ca9mbu Linux - Networking 2 11-05-2001 04:59 PM
network card problems mkhan Linux - Networking 21 07-06-2001 11:27 AM
Problems With Network Card mkhan Linux - Networking 3 06-30-2001 11:24 PM


All times are GMT -5. The time now is 11:34 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration