LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-02-2004, 08:00 PM   #1
veritas
Member
 
Registered: Aug 2003
Location: Dallas,TX
Distribution: Ubuntu Server, Slackware, Red Hat 6.1
Posts: 241

Rep: Reputation: 30
lspci detects network card, but ifconfig cannot recognize it


Hi, i recently upgraded to linux-2.6.3 and I have had a few problems with graphics drivers, sound, and connecting to the net, but here's my problem with my net card:

I do the command lspci to see if it detects that my network card is present.. it's there.

So then i tried to setup dhcp with..

ifconfig eth0 down
ifconfig eth0 -dynamic up
dhcpcd -B


The first command returns something like: can not find eth0 device (I'm not sure of the exact error message because i had to switch to XP to get to this website). How would I fix this? Also, if there is a way to fix this, how would I get the DHCP client to automatically grab my ip at boot up? It used to do it before I upgraded.

btw: netconfig completes sucessfully, but it doesnt really change anything(probably because of the kernel version)

If i need to post anymore info please ask.

Thanks,
Wes
 
Old 03-03-2004, 05:38 AM   #2
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
first make sure u have compiled your kernel with support of your hardware. then u may try to load ethernet and sound card driver by "modprobe" command. i didnt try modprobe command for ethernet card but it certainly works for soundcards
like this:
#modprobe soundcard-driver-name
#modprobe networkcard-driver-name
u should know the names of your net and sound driver.. u may check it in /lib/modules/2.6.3/kernel/drivers/net and /lib/modules/2.6.3/kernel/drivers/sound

if it works then u can edit "/etc/modules.conf" and "/etc/modprobe.conf"

if your vga card is nvdia based u may download drivers for 2.6 kernel at www.nvidia.com


u may edit /etc/sysconfig/network-scripts/ifcfg-eth0 to configure network for eth0 card.
add or change this lines.. your eth0 card will search ip from dhcp.
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes

u may use "ifup" and "ifdown" command.. its shorter then ifconfig like this
ifup eth0
ifdown eth0
 
  


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
Slackware won't recognize network card!! bmccorm2 Linux - Networking 9 10-16-2005 01:29 PM
Slackware does not recognize network card!! bmccorm2 Linux - Newbie 1 10-14-2005 03:36 PM
3com network card not listed by /sbin/lspci lixy Linux - Hardware 7 02-12-2005 01:11 PM
ethO reads as failed, but Suse detects my network card jooper317 Linux - Hardware 1 01-05-2004 05:39 AM
RH 7.1 does not recognize network card dkochan Linux - Software 2 08-02-2001 08:41 PM


All times are GMT -5. The time now is 10:24 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration