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 01-24-2002, 04:20 PM   #1
Randall
Member
 
Registered: Oct 2001
Location: Ontario, Canada (for now, i'm from NJ )
Distribution: Redhat 7.2
Posts: 106

Rep: Reputation: 15
DHCP?? i think


Hi everyone,
I don't mean to be such a pain in the bum about this but here's the problem. I have Red Hat 7.2 on my laptop i had a Xircom cardbus ethernet card which i could never get to connect to my network with Linux. I have a Linksys router so i can tell when the connection is active, i have a link Act LED and a 100mbps LED and a Full LED, anyway with the Xircom card i never got lights with the router. I got a D link card and i actually got it to connect but it was only a 10mbps card, so i went to the store and i got myself a 10/100 d-link card , now i have lights on the show the presence of a connection and the Link/Act on the led on the Ethernet card but i can't connect to the internet. I think the DHCP isn't switched on but i'm not sure. I don't quite know what else to do , thanks for the help.
 
Old 01-24-2002, 04:39 PM   #2
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 58
Link lights on PCMCIA cards under Linux are rather untrustworthy. The guys that make the drivers for the card rarely ever have the specs for the little proprietary parts like that, and so rarely bother with writing extra code for them, if they even need it, although most don't. Anyway... if you are using any of the auto-config features of RedHat 7.2 for the xircom card, then RH isn't going to automatically apply those same settings to the new Dlink because they work on entirely different kernel modules.

I'm going to guess that the laptop recognized the card and loaded the driver for it. Try this from a command line as root with everything plugged in right:

ifconfig eth0 up
dhcpcd

It should blink for a bit and then you'll get another prompt. You should have a connection then. If that works, then I could help you automate it. If it doesn't, we can track the problem backwards until you get it to work.

Cheers,

Finegan

Last edited by finegan; 01-24-2002 at 04:41 PM.
 
Old 01-24-2002, 05:28 PM   #3
Randall
Member
 
Registered: Oct 2001
Location: Ontario, Canada (for now, i'm from NJ )
Distribution: Redhat 7.2
Posts: 106

Original Poster
Rep: Reputation: 15
Tried it
in response to ifconfig eth0 up
i got the response
eth0: unknown interface : No such device

I was curious when you use the cardctl insert/eject functions are there supposed to be two tones (two different tones) one for packets received and one for packets sent? i only get one and i checked the IRQ list and the o2 Micro, Inc oz6812 Cardbus Controller is on the same IRQ as usb,uhci, so you think this is causing a conflict problem?
or maybe linux just doesn't like these cardbus cards ?
i REALLY appreciate your help.
 
Old 01-24-2002, 05:33 PM   #4
Randall
Member
 
Registered: Oct 2001
Location: Ontario, Canada (for now, i'm from NJ )
Distribution: Redhat 7.2
Posts: 106

Original Poster
Rep: Reputation: 15
i'm beginning to wonder if the right driver is being loaded for this card ......oh and i forgot to mention that the Linux system had no previous knowledge of the Xircom card because i did a clean install.
 
Old 01-24-2002, 05:48 PM   #5
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 58
The first tone is for the card bus manager recognizing the insertion of a card, which means that you have 3 things working right of 4: pcmcia_core, (whichever socket manager, there are 3), and cardmgr.

The last of the four is the card's module itself. If that loads properly then there is another high pitched beep almost identical to the first. If the cardmgr cannot initialize the card, you'll get a low-toned bonk. Yeah, it sounds like voodoo, but its the easiest way to explain it.

To find out what went wrong: 'dmesg' The failure to initialize the card should be at the bottom of the output.

What is the exact make and model of the pcmcia card?

Cheers,

Finegan
 
Old 01-24-2002, 06:20 PM   #6
Randall
Member
 
Registered: Oct 2001
Location: Ontario, Canada (for now, i'm from NJ )
Distribution: Redhat 7.2
Posts: 106

Original Poster
Rep: Reputation: 15
i Believe it's the Yenta socket manager and the exact make is the D-Link DFE-690TXD

i looked in etc/pcmcia/config and i didn't see the card listed
so i added it by editing the file (config)
i used the manfid
and i bound it to the driver all the other D link cards were bound to but no luck with that
it even failed to initialize on start up
 
Old 01-24-2002, 06:46 PM   #7
Randall
Member
 
Registered: Oct 2001
Location: Ontario, Canada (for now, i'm from NJ )
Distribution: Redhat 7.2
Posts: 106

Original Poster
Rep: Reputation: 15
after the dmesg
i see that cs: which i am guessing is card services
said it couldn't allocate a resource
and there is an IRQ routing conflict for 00:03.0, have IRQ10 , want IRQ 11

:smash:
 
Old 01-24-2002, 07:31 PM   #8
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 58
I did some basic googling on the 690 txd. This thing seems to be about 15 minutes old, but also may run on a rather simple chipset. You might want to check the 3.5 it came with and see it has a folder for linux drivers. There's never any in there, usually just a disclaimer README and another brief text file which points you to the site of the open source project that covers whatever chipset they have re-packaged under the name 690 txd.

As far as the conflict for the card services irq, lemme check it out when I get home and can hack on a pcmcia .opts file first hand. There's an easy way to change around the IRQ reservation settings. If you don't feel like waiting, and you more than seem to know how to hack it on your own, you might wish to poke aroundDavid Hind's how-to. He was the maintainer of pcmcia_cs before it all got moved in-kernel (right around the RH release of 7.1... kernel 2.4.3-ish?) and got fudged up. All of the .conf and .opts files still do the same things, its just that the drivers themselves moved from being a seperate package to inside the kernel.

Did the card-services message come first, or after you popped in the Dlink?

Cheers,

Finegan

Whoa...

new development. The DFE-690 seems to be just another pcmcia rtl-8139 clone, but kernel support for the card didn't start until 2.4.14, which no distro ships with...

another one...

Old module: rtl8139_cs (2.4.13! suport started for this one)
Now called: 8139too_cs (2.4.15+ I think... er...)

Basically if you were able to get a brand new kernel, and then the newest set of pcmcia-cs, then the card will run. Er... uhmmm, this might be a raging pain in the arse.

Last edited by finegan; 01-24-2002 at 07:41 PM.
 
Old 01-24-2002, 09:56 PM   #9
Randall
Member
 
Registered: Oct 2001
Location: Ontario, Canada (for now, i'm from NJ )
Distribution: Redhat 7.2
Posts: 106

Original Poster
Rep: Reputation: 15
Here's something interesting that happened
i Took the D link out and popped the Xircom in just out of frustration and i threw the ifconfig eth0 up comand at it and the prompt was returned to me and i then threw the dhcpcd command at it and it paused and it was thiking then it returned the prompt to me but it didn't tell me eth0 : unknown interface: No such device like it did when i used those same two commands with the D Link. Further more it tried to determine an IP address dor the Xircom when i gave it the ifup eth0 command but no such luck with the D link. And i'm sorry to bring up the LED's again but i can't for the life of me understand why i get lights on the router with the D link and it can't find the interface and NO lights with the Xircom when it knows the interface is there!!

It truly is a pain in the behind. I tried updating card services once before with 7.1 and i tried recompiling a new Kernel and boy was that a fiasco. Sound stopped working and it wouldn't recognize vfat as a files system. I'm not sure i can go that route.

Right now we're dealing with a 2.4.7-10 kernel so what i'm thinking is we just return the card and get a not so new one. I don't mid at all fidling aroun in the config files (that's half the fun). something else was strange the xircom-cb.o file was there and for the life of me it looks like the xircom driver but not for anything would that card initialize. If only i could borrow David Hinds for a day! i've read the pcmcia howto so much i think i know it by heart now!
 
Old 01-24-2002, 10:04 PM   #10
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 58
Well if returning the card is an easy option... I recomend the el cheapo Linksys PCM100. I've got one sitting infront of me that has worked with every Linux laptop I've put it into, and that's a lot.

Or,

ANYTHING 3Com, as long as its not a combo card. Modem+NIC=Screaming fits.

Hopefully this isn't a conflict between card services and some aspect of the PCMCIA cardbus device itself. I doubt it. What kind of laptop is this BTW?

Honestly man, I've never had this much trouble since I last fiddled with wireless gear... last weekend.

Cheers,

Finegan
 
Old 01-24-2002, 11:00 PM   #11
Randall
Member
 
Registered: Oct 2001
Location: Ontario, Canada (for now, i'm from NJ )
Distribution: Redhat 7.2
Posts: 106

Original Poster
Rep: Reputation: 15
i tried binding both drivers that you suggested and nada. Linksys eh? i think i'll try that! i'm right now using an ibm thinkpad i series 1200. It's not bad it took a little fiddling to get Linux on because i don't have a floppy and for some odd reason it won't boot form the ' bootable cd's' . I think for now what we'll do is we'll return the card and downscale. I have one question for you, you know how there is an autoboot.bat file that comes with Redhat in dosutils? Is there a way for you to jump start the Mandrake 8.1 installation from a pure dos prompt??

i'll post what happens when we switch card!

Thanks a million for all the help!
 
Old 01-25-2002, 09:18 PM   #12
Randall
Member
 
Registered: Oct 2001
Location: Ontario, Canada (for now, i'm from NJ )
Distribution: Redhat 7.2
Posts: 106

Original Poster
Rep: Reputation: 15
I got a new card a Linksys PCMPC100 ( they didn't have the PCM100) and boy was that ever a fiasco. It says it's linux compatibel on the box but i couldn't get it to work and i couldn't even get it to work in Windows.....so i don't know maybe i am going to change it for another one .
 
  


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
DHCP problems - multiple DHCP servers sat86 Linux - Networking 4 10-02-2005 05:43 AM
ADSL DHCP A-OK, but Mandrake 10.1 to be DHCP for other subnet is a problem turnbui Linux - Networking 2 08-20-2005 09:34 AM
dhcp client not getting IP from dhcp server jkmartha Linux - Networking 2 06-17-2005 08:12 AM
why DHCP client not sending own host name in DHCP request packet? sonika_singhi Linux - Networking 7 05-28-2005 05:18 AM
XP Pro Build 2600/sp1 v.1105 DHCP Client to Redhat 8.0 DHCP Server - Problems atomant Linux - Networking 5 06-28-2003 11:24 AM


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