LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-14-2006, 12:31 AM   #1
achtung_linux
Member
 
Registered: May 2006
Posts: 50

Rep: Reputation: 15
Network card install on Fedora Core 1


Hi,
A new Ethernet 10/100 network interface card in a Fedora Core (kernel version 2.4.22-1.2115) 1 box. Linux driver found on the accompanying CD. Following installing directions given in the readme:
#make all =>generate sundance.o
#cp sundance.o /lib/modules/kernel version/kernel/drivers/net/

but after the make command I got the following error message:
make:*** empty variable name. Stop.
What am I doing wrong?
Readme also mentiones a command for loading and configuring at the next boot:
#cp sundance.o /lib/modules/'uname -r'/kernel/drivers/net
but I get the following error message:
cp: cannot stat 'sundance.o': No such file or directory.
What is to be done in order to install the network card driver?
 
Old 06-14-2006, 02:46 AM   #2
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,477

Rep: Reputation: 51
#make all =>generate sundance.o
#cp sundance.o /lib/modules/kernel version/kernel/drivers/net/

Plese post the name of this dirver program so that we can see what kind of file it is. It is more that likely a source code file that looks something like this:

<nameofdriver>-xxx.tar.gz

If so, the normal procedure is:

tar -xfm <nameofdriver>

./configure
cd into new directory
make
su, password
make install

Hope this helps. BTW, you might consider upgrading to FC5 unless you have a specific reason to use such an old distro. Hardware recognition is much better now with the newer kernels and with most ethernet cards you do not even need a driver, it is just recognized and configured.

Bob
 
Old 06-14-2006, 10:42 AM   #3
achtung_linux
Member
 
Registered: May 2006
Posts: 50

Original Poster
Rep: Reputation: 15
The name of the card's model is IC Plus IP100 10/100 Ethernet card. There are no packets of any kind in the directory of Linux drivers. Source code of the driver is in sundance_main.c (according to the readme).
Network card is inactive in the Network Configuration window (where it is recognized as 3Com 3c501). When I click Activate, I get the following message:
"Cannot activate network device eth0! 3c501 device eth0 does not seem to be present, delaying initialization". If this is a proof that card is not supported in the kernel, then I guess I would need to install the driver...
There is an application that I would like to try out under FC1 since it is reported that it has the least amount of issues in FC1 and that is why I haven't upgraded to newer version...
 
Old 06-14-2006, 12:24 PM   #4
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,477

Rep: Reputation: 51
Ok, have you actually installed the driver? You only mention its name from the README file.

Bob
 
Old 06-14-2006, 03:46 PM   #5
achtung_linux
Member
 
Registered: May 2006
Posts: 50

Original Poster
Rep: Reputation: 15
I am trying to install it following directions from readme, as described in the first post...
 
Old 07-11-2006, 02:17 AM   #6
mjilnoir
LQ Newbie
 
Registered: Jul 2006
Posts: 2

Rep: Reputation: 0
Question Same problem here

I am also having the same problem. I am using the onboard Ethernet with my ABit mobo (UL8). I have looked all over the internet and can not find a solution that works. There seems to be a lot of different ways to setup network cards but, unfortunately, I am a raw noob when it comes to Linux. Any help or suggestions are welcome. Please let me know what information is needed (and what application to use to get it for you).

Thanks
 
Old 07-11-2006, 06:19 AM   #7
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,477

Rep: Reputation: 51
Hi mjilnoir

Open a terminal and type (you may have to be root):

lspci

This should give you the output of all your installed hardware. Look for an entry that looks something like this (though not exactly):

Quote:
02:07.0 Ethernet controller: Davicom Semiconductor, Inc. 21x4x DEC-Tulip compatible 10/100 Ethernet (rev 40)
02:08.0 Communication controller: Ambient Technologies Inc HaM controllerless modem (rev 02)
02:0b.0 Ethernet controller: Marvell Technology Group Ltd. 88E8001 Gigabit Ethernet Controller (rev 13
If you see an entry like this, post the results and we can guide you further. Also, please tell us what distro you are using.

Bob
 
Old 07-14-2006, 03:13 PM   #8
mjilnoir
LQ Newbie
 
Registered: Jul 2006
Posts: 2

Rep: Reputation: 0
Here are the stats...

I am currently running SuSE 10.1.

Here are the results of lspci:

00:00.0 Host bridge: ALi Corporation M1689 K8 Northbridge [Super K8 Single Chip]
00:01.0 PCI bridge: ALi Corporation AGP8X Controller
00:02.0 PCI bridge: ALi Corporation M5249 HTT to PCI Bridge
00:03.0 ISA bridge: ALi Corporation M1563 HyperTransport South Bridge (rev 70)
00:03.1 Bridge: ALi Corporation M7101 Power Management Controller [PMU]
00:0e.0 IDE interface: ALi Corporation M5229 IDE (rev c7)
00:0e.1 IDE interface: ALi Corporation ULi 5289 SATA (rev 10)
00:0f.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
00:0f.1 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
00:0f.2 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
00:0f.3 USB Controller: ALi Corporation USB 2.0 Controller (rev 01)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: ATI Technologies Inc RV350 AS [Radeon 9550]
01:00.1 Display controller: ATI Technologies Inc RV350 ?? [Radeon 9550] (Secondary)
02:07.0 Multimedia audio controller: Creative Labs SB Audigy (rev 04)
02:07.1 Input device controller: Creative Labs SB Audigy MIDI/Game port (rev 04)
02:07.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port (rev 04)
02:08.0 IDE interface: Silicon Image, Inc. PCI0680 Ultra ATA-133 Host Controller (rev 01)
02:09.0 Multimedia controller: Philips Semiconductors SAA7130 Video Broadcast Decoder (rev 01)
02:0a.0 Ethernet controller: Sundance Technology Inc / IC Plus Corp IC Plus IP100A Integrated 10/100 Ethernet MAC + PHY (rev 31)

Also, here are the results when I try to "make" the driver I downloaded from the I P website:


linux-zcn8:~/Desktop/IP-100A-driver # make all
make -C /lib/modules/2.6.16.13-4-default/build SUBDIRS=/root/Desktop/IP-100A-driver modules
make[1]: Entering directory `/usr/src/linux-2.6.16.13-4-obj/x86_64/default'
make -C /usr/src/linux-2.6.16.13-4 O=/usr/src/linux-2.6.16.13-4-obj/x86_64/default modules
CC [M] /root/Desktop/IP-100A-driver/sundance_main.o
/root/Desktop/IP-100A-driver/sundance_main.c:228: error: expected ‘)’ before string constant
/root/Desktop/IP-100A-driver/sundance_main.c:229: error: expected ‘)’ before string constant
/root/Desktop/IP-100A-driver/sundance_main.c:230: error: expected ‘)’ before string constant
/root/Desktop/IP-100A-driver/sundance_main.c:231: error: expected ‘)’ before string constant
/root/Desktop/IP-100A-driver/sundance_main.c: In function ‘tx_timeout’:
/root/Desktop/IP-100A-driver/sundance_main.c:1060: warning: format ‘%08x’ expects type ‘unsigned int’, but argument 3 has type ‘long long unsigned int’
/root/Desktop/IP-100A-driver/sundance_main.c: In function ‘netdev_ioctl’:
/root/Desktop/IP-100A-driver/sundance_main.c:1773: warning: format ‘%08x’ expects type ‘unsigned int’, but argument 3 has type ‘long long unsigned int’
/root/Desktop/IP-100A-driver/sundance_main.c: In function ‘netdev_close’:
/root/Desktop/IP-100A-driver/sundance_main.c:1828: warning: suggest parentheses around comparison in operand of &
make[4]: *** [/root/Desktop/IP-100A-driver/sundance_main.o] Error 1
make[3]: *** [_module_/root/Desktop/IP-100A-driver] Error 2
make[2]: *** [modules] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.16.13-4-obj/x86_64/default'
make: *** [all] Error 2

I was able to "make all" using sudo but then I receive the following error messages:



insmod: error inserting './sundance.ko': -1 Unknown symbol in module

I have read many questions regarding this specific on-board LAN on various sites. I have yet to hear of anyone getting it to work. I am thinking of getting a Reatlek add-in card. I would rather learn how to "fix" this problem, though. Thanks for your help.
 
Old 07-25-2006, 08:15 AM   #9
morio
LQ Newbie
 
Registered: Jul 2006
Posts: 1

Rep: Reputation: 0
install successful

I installed with success this card on Ubuntu, kernel 2.6. But it was a real mess.

The driver (from http://www.icplus.com.tw/driver-pp-IP100A.html) works, but the Makefile seem to be full of problems. I followed the procedure in the documentation (/usr/src/linux/Documentation/kbuild/modules.txt on my machine, in the path instead of "linux" you can have "linux-version...").

In short, the command to compile is:

make -C <path-to-kernel> M=`pwd`

you only have to set the right path to the right kernel.. I've lost one day because I was compiling against the wrong kernel (one that I was tweaking). If you do so, the module will not load and you will see the error with dmesg.

To get a good compile, the easier way (in fedoras) is to install the package kernel-headers-2.6-something that will create a directory with the same name under /usr/src. Of course, you need EXACTLY the same 2-6-something as the one you are running (uname -a). You put this instead of <path-to-kernel>, launch the command, and then it's a breeze.

There are a few

Plz let me know if this solves your problem...

Last edited by morio; 07-25-2006 at 08:23 AM.
 
  


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
Cannot install Intel integrated network card in fedora core 4 jonorena Linux - Hardware 2 03-07-2006 07:47 AM
Need Network Card for Fedora Core 4 BladeFireLight Linux - Networking 1 01-08-2006 01:07 PM
Installing Network Card on Fedora Core 2 helenvale Linux - General 1 12-16-2004 05:09 AM
Wireless network card using Fedora Core 2 haroldopaulino Linux - Laptop and Netbook 7 07-12-2004 07:08 PM
Network Card issue on Fedora Core 1 jobless_joe Linux - Newbie 1 04-16-2004 03:06 AM


All times are GMT -5. The time now is 04:49 PM.

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