LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-19-2002, 08:02 AM   #1
lea
Member
 
Registered: Jul 2002
Posts: 31

Rep: Reputation: 15
Angry reaching network - no eth0


Hi,

i try to connect to a network via pcmcia (netgear fa411).
I installed pcmcia-cs which shows me a ready pcmcia-socket.

But "ifconfig" doesn't show me eth0.

I loaded a (hopefully) proper driver (modprobe pcnet_cs).

How do I get eth0?
How do I "bind" it to the driver (to "ifconfig eth0 ..ip.. up")?

TIA
 
Old 07-19-2002, 08:51 AM   #2
5amYan
Member
 
Registered: Apr 2002
Location: The District
Distribution: FreeBSD, OBSD maybe Gentoo and Winblech XP
Posts: 291

Rep: Reputation: 30
what does dmesg look like?
 
Old 07-19-2002, 09:36 AM   #3
lea
Member
 
Registered: Jul 2002
Posts: 31

Original Poster
Rep: Reputation: 15
Sorry, but I don't know what you mean with dmesg, but (as mentioned) ifconfig doesn't show eth0.

Trying to "ifconfig eth0 ..." shows
"eth0: Unknown interface: No such a device"

lsmod shows something like socket1 5V [ready]
 
Old 07-19-2002, 07:36 PM   #4
shoot2kill
Member
 
Registered: Jan 2002
Location: California
Distribution: Red Hat
Posts: 402

Rep: Reputation: 30
type dmesg at the command line to see what output it spits and what do you see when you type ifconfig
 
Old 07-20-2002, 10:45 AM   #5
5amYan
Member
 
Registered: Apr 2002
Location: The District
Distribution: FreeBSD, OBSD maybe Gentoo and Winblech XP
Posts: 291

Rep: Reputation: 30
Do you know what kind of card it is?
during boot the screen echoes it's actions is there on that says something like
bringing up eth0: [FAILED]

dmesg |more

and space bar for next page. Read through carefully and see if you can find where the NIC was probed.
here's mine.
Code:
eepro100.c:v1.09j-t 9/29/99 Donald Becker http://www.scyld.com/network/eepro100.html
eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin <saw@saw.sw.com.sg> and others
PCI: Found IRQ 11 for device 02:08.0
eth0: Intel Corp. 82801BA/BAM/CA/CAM Ethernet Controller, 00:02:B3:62:B7:D8, IRQ 11.
  Board assembly a19716-005, Physical connectors present: RJ45
  Primary interface chip i82555 PHY #1.
  General self-test: passed.
  Serial sub-system self-test: passed.
  Internal registers self-test: passed.
  ROM checksum self-test: passed (0x04f4518b).
 
Old 07-20-2002, 01:03 PM   #6
lynch
Member
 
Registered: Nov 2000
Location: A Mid-Atlantic state
Distribution: SuSE 8.1,Knoppix 3.2,Mandrake 9.1
Posts: 388

Rep: Reputation: 30
Type dmesg | less
( unless you're the fastest reader on Earth
lynch
 
Old 07-20-2002, 01:11 PM   #7
5amYan
Member
 
Registered: Apr 2002
Location: The District
Distribution: FreeBSD, OBSD maybe Gentoo and Winblech XP
Posts: 291

Rep: Reputation: 30
more
less
your choice
 
Old 07-23-2002, 02:15 AM   #8
lea
Member
 
Registered: Jul 2002
Posts: 31

Original Poster
Rep: Reputation: 15
Smile

Hi there - thanks for all of your help so far.
I try to answer all of your questions as good as I can:

* Kind of card:
Netgear FA411 10/100 16-bit pcmcia ethernet card (recommended driver: pcnet_cs or 8310 module)

* What shows ifconfig:
loopback device (lo) only - no eth0

* What shows dmesg (thx for assistance for this command) - as there is no eepro or eth0 entry I try to give you hopefully other (strange) relevant boot messages:
...
PCI: PCI BIOS revision 2.10 entry at 0xfd8a0
PCI: Using configuration type 1
PCI: Probing PCI hardware
...
scsi: <fdomain> Detection failed (no card)
NCR53c406a: no available ports found
sym53c416.c: Version 1.0.0
Failed initialization of WD-7000 SCSI card!
IBM MCA SCSI: Version 3.2
IBM MCA SCSI: No Microchannel-bus present --> Aborting.
This machine does not have any IBM MCA-bus
or the MCA-Kernel-support is not enabled!
...
3w-xxxx: tw_findcards(): No cards found.
...
Intel PCIC probe:
Cirrus PD6729 rev 00 PCI-to-PCMCIA at slot 00:13, port 0x3e0
host opts [0]: [ring] [1/6/16] [1/20/16]
host opts [1]: [ring] [1/6/16] [1/20/16]
ISA irqs (default) = 3,4,5,7,9,10,12 polling interval = 1000 ms
cs: IO port probe 0x0c00-0x0cff: excluding 0xcf8-0xcff
cs: IO port probe 0x0800-0x08ff: clean.
cs: IO port probe 0x0100-0x04ff: excluding 0x3b8-0x3e7 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
cs: memory probe 0x0d0000-0x0dffff: clean.

Hope this helps
TIA
 
Old 07-23-2002, 09:58 AM   #9
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Have you checked out any of the howto's at www.tldp.org for any information that help you ?

PCMCIA Howto : http://www.tldp.org/HOWTO/PCMCIA-HOWTO.html

Ethernet Howto: http://www.tldp.org/HOWTO/Ethernet-HOWTO.html
 
Old 07-23-2002, 10:16 AM   #10
Syncrm
Member
 
Registered: Aug 2001
Location: Lansing, Michigan
Distribution: slackware8+
Posts: 472

Rep: Reputation: 30
Quote:
Originally posted by trickykid
Have you checked out any of the howto's at www.tldp.org for any information that help you ?
yeah, cause as far as i know, redhat doesn't like to auto-detect pcmcia nics. i had to set mine up manually back in the days when i used redhat. you might wanna check your sys init scripts in /etc/rc.d
 
Old 07-24-2002, 02:18 AM   #11
lea
Member
 
Registered: Jul 2002
Posts: 31

Original Poster
Rep: Reputation: 15
Yes, I read both HOWTOs many times, but unfortunately I couldn't find help.

Because of the many errors while booting (unfortunately I don't really understand what they mean) I guess that the failure is much closer to thy system (init).

Maybe I should set up my laptop new - with the pcmcia-card plugged in (if there is something like a "autodetect" during setup).

BTW I use Debian

Thanks for any comments
 
Old 07-24-2002, 08:41 AM   #12
shoot2kill
Member
 
Registered: Jan 2002
Location: California
Distribution: Red Hat
Posts: 402

Rep: Reputation: 30
Debian, which I think it still uses 2.2.x kernel. You need to check if your card is supported within the system. If it is not, probably you have to upgrade your current kernel and refer to the pcmcia-howto for more config options.
 
Old 07-25-2002, 02:00 AM   #13
lea
Member
 
Registered: Jul 2002
Posts: 31

Original Poster
Rep: Reputation: 15
This could be true because on one of my 3 laptos I use a 2.0.38 kernel.
But on the other 2 laptops I use 2.2.19 which shouldn't have problems with eth0.
On the other hand a "linux-on-a-floppy-disk" (tomsrtbt) I tried works perfect (eth0, dhcp).
So I guess I have a basic problem (how to define/install the eth0 interface) which most other linux user still have soved.

I'm close to give up to connect a computer to a LAN with linux (and switch after one year playing with linux back to Window$)

TIA
 
Old 07-25-2002, 06:58 PM   #14
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Straight modprobing of a pcmcia module doesn't work as cardmgr needs to know to bind it to pcmcia_core, and through that, the kernel.

If this is Debian 2.2r4 or 5 you're looking at about pcmcia-cs 3.30? right? Also, don't switch to RH or SuSe as they switched to in-kernel pcmcia and yenta_socket doesn't work well (or at all) with those old 16-bit cirrus bridges.

This may sound like voodoo, but after the machine is running, upon card insertion, does the machine make 2 identical beeps, or one beep and a low toned bonk? The first means something is bound to the card, the second means cardmgr saw a card there (there can be silence), but failed to load the right thing.

My guess is you've got a beep-bonk situation and a goofy network card, which probably means we'll just tweak /etc/pcmcia/config or get a newer pcmcia-cs. What is the dmesg right after you insert the card?

Also, what pcmcia-cs are you running now?

Cheers,

Finegan

Also
 
Old 07-26-2002, 07:58 AM   #15
lea
Member
 
Registered: Jul 2002
Posts: 31

Original Poster
Rep: Reputation: 15
Hi Finegan - you are the guide trough my darkness - you give me new hope.

All your guesses are right:
* I have the beep-bonk situation - to say it more accurate I have a silence-bonk tone while inserting my card
* A closer look to my /etc/pcmcia/config doesn't show a Netgear FA411 card
* I run pcmcia-cs-3.1.22 (deb-package) and there is a newer version (3.1.33) in the net

So 3 questions occure:
* Does it mean anything if I have one bonk-tone only (no beep first)?
* How can I "tweak" /etc/pcmcia/config (that for I would need foolproof instructions)
* I tried to install pcmcia-cs-3.1.33 but as it depends on a newer perl-version I have problems to install all necessary deb-packages (the old perl can't be removed) - but this seems to be my weekend-game

Thanks so far and TIA for all instructions.
Lea
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
3c905C network card in docking station. Cannot activate network device eth0. pathelms Linux - Networking 4 04-12-2006 02:55 PM
Network card not working? Cannot activate network device eth0 lifeonitsown Linux - Networking 1 11-17-2005 06:30 AM
reaching runlevel 4 automaticly berrance Slackware 6 02-19-2005 03:44 AM
Wireless network on eth1 diabled Ethernet eth0 and eth0 never comes back tadatoshi Linux - Wireless Networking 4 09-23-2004 05:57 PM
Reaching Computers on Private Network Jason_25 Linux - Networking 2 03-12-2002 01:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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