LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 10-03-2004, 08:14 AM   #16
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

does /ect/sysconfig/network-scripts/ifcfg-eth0 have a line "BOOTPROTO=dhcp"? Or "IPADDR=xxx.xxx.xxx.xxx" <---replace with your assigned IP? (that's for static setup)
 
Old 10-03-2004, 08:22 AM   #17
Birgi
Member
 
Registered: Oct 2004
Distribution: Mandrake 10.1
Posts: 40

Original Poster
Rep: Reputation: 15
vectordrake;

there is a line as

'BOOTPROTO=static' and another line as
'IPADDR=139.179.217.2'
 
Old 10-03-2004, 08:54 AM   #18
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
BTW, /lib/modules/2.4.21-0.31mdk/kernel/drivers/net is likely where you'd find the network drivers.

That card is supposed to be hotpluggable. Can you try an experiment and boot without the card in and then insert it? Have you done such a thing before?
 
Old 10-03-2004, 09:27 AM   #19
Birgi
Member
 
Registered: Oct 2004
Distribution: Mandrake 10.1
Posts: 40

Original Poster
Rep: Reputation: 15
vectordrake;

yes there is '8139too.o.gz' in /lib/modules/2.4.21-0.13mdk/kernel/drivers/net.

there is also '8139cp.o.gz' (i don't know if this information is helpful or not)

and did the experiment. After booting i tried ifconfig eth0 but it could not find it. After inserting i tried the same command and it found the eth0...
 
Old 10-03-2004, 10:32 AM   #20
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
Since the card is reading as version C, which is a special chipset, I guess, try modprobe 8139cp and see if you can get online.
 
Old 10-03-2004, 10:45 AM   #21
Birgi
Member
 
Registered: Oct 2004
Distribution: Mandrake 10.1
Posts: 40

Original Poster
Rep: Reputation: 15
vectordrake;

modprobe 8139cp gave an error...
it says;

/lib/modules/2.4.21-0.31mdk/kernel/drivers/net/8139cp.o.gz: init_module : No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.

modprobe: insmod /lib/modules/2.4.21-0.31mdk/kernel/drivers/net/8139cp.o.gz failed
modprobe: insmod 8139cp failed


Last edited by Birgi; 10-03-2004 at 01:18 PM.
 
Old 10-03-2004, 08:15 PM   #22
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
Okay, how old is your laptop? The yenta_socket mocule is a lot newer than the i82092 and i82365 modules. Perhaps you may have better luck with one of those instead of yenta_socket. If you boot without the card in, does Mandrake get excited and say "the card is gone!"? If you you then plug it back in, what modules load? Can you list them? I know you just did, but there's got to be something to this (perhaps a polite but insistant email to the manufacturer, who clearly states linux is supported, may yeild results).
 
Old 10-04-2004, 12:40 AM   #23
cyrus_the_yrus
LQ Newbie
 
Registered: Apr 2004
Distribution: Red Hat ES 2.1
Posts: 20

Rep: Reputation: 0
****
there is also '8139cp.o.gz' (i don't know if this information is helpful or not)
***


extract that .gz file in the same folder which will give you the .o file .and then try a modprobe and insmod.
tar - zxvf 8139cp.o.gz

thats whats really you should have done a long time back. but i thought you said that a folder like that does not exist ??

once this is done make sure you add the line

alias eth1 8139cp

in modules.conf.

should have you up and running
 
Old 10-04-2004, 12:43 AM   #24
cyrus_the_yrus
LQ Newbie
 
Registered: Apr 2004
Distribution: Red Hat ES 2.1
Posts: 20

Rep: Reputation: 0
and like vector said . try the cp version coz thats the chipset you seem to be using which would give you 8139cp.o instead of 8139too.o
 
Old 10-04-2004, 12:18 PM   #25
Birgi
Member
 
Registered: Oct 2004
Distribution: Mandrake 10.1
Posts: 40

Original Poster
Rep: Reputation: 15
vectordrake;

i am using an Compaq Armada 2333 and it is quite an old laptop (maybe more than 4 years old). I will write a mail to Compaq and inform you about the reply...

--- post again after i do the other things you and cyrus_the_yrus told...
 
Old 10-04-2004, 03:25 PM   #26
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
Try unloading yenta_socket and replacing it with one of the other pcmcia bridges instead (do a lspci to find out which one it is)
 
Old 10-04-2004, 03:25 PM   #27
Birgi
Member
 
Registered: Oct 2004
Distribution: Mandrake 10.1
Posts: 40

Original Poster
Rep: Reputation: 15
vectordrake;

- i could not understand what you mean by saying "The yenta_socket mocule is a lot newer than the i82092 and i82365 modules. Perhaps you may have better luck with one of those instead of yenta_socket". Where am i using yenta_socket? how can i change it?

- after inserting the card two new modules are loaded. They are 8139too and mii.


cyrus_the_yrus;

-tar - zxvf 8139cp.o.gz does not work... The error message is as the following...

tar: This does not look like a tar archive
tar: Skipping to next header
tar: Error exit delayed from previous errors

and i want to ask something!!!

I am trying to compile 8139too.c ... write the command "make" and it gives this error, what does this mean?

make: *** No rule to make target '/usr/include/linux/version.h', needed by '8139too'. Stop.


Thanks A LOT
 
Old 10-04-2004, 03:29 PM   #28
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
When you make kernel modules, you need all of the kernel source to compile against. Do you have a kernel source?
Code:
/usr/src/linux
ls -l should show a symbolic link from that to tour actual kernel source version. You already have the module. Don't bother compiling it again.
 
Old 10-04-2004, 03:38 PM   #29
Birgi
Member
 
Registered: Oct 2004
Distribution: Mandrake 10.1
Posts: 40

Original Poster
Rep: Reputation: 15
vectordrake;

i dont have /usr/src/linux...


what i have is...

/usr/src/RPM/RPMS/ and in this location there are 7 directories which are...

athlon
i386
i486
i586
i686
k6
and noarch

all of these directories are empty...
 
Old 10-04-2004, 06:35 PM   #30
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
Therefore you can't compile a kernel module. You need a kernel to compile against.
 
  


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
bringing up interface eth0 [FAILED] 0ver12ide Linux - Newbie 3 06-27-2004 02:31 PM
Bringing up interface eth0... failed Commish66 Linux - Networking 10 02-19-2004 11:27 PM
Bringing up interface eth0: failed Commish66 Mandriva 11 02-17-2004 07:15 PM
Bringing up interface eth0: determining ip information for eth0... failed ralphethomas Linux - Networking 0 01-24-2004 05:33 PM
Bringing up interface eth0.... failed synecdoche Linux - Hardware 2 08-20-2003 12:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:17 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
Open Source Consulting | Domain Registration