Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a Dell Lattitude CPi 266XT, running fedora core 2. Whenever I boot it up, it never activates my network card which is plugged in to my router. The only way I can get the network interface active (3COM EtherLink III Lan PC Card, model 3C589C) is to delete the profile in the network configuration tool, reboot, then use the internet connection wizard to rediscover it. It will then work and pass traffic, until I reboot. Then it fails to discover it at boot up, and I can't activate it manually. I have to delete it and rediscover it.
What's going on? I always set it to "activate on boot", and it's using DHCP from my router. I even tried swapping ports, cables, and PCMCIA ethernet cards, and I get the same behavior. The device just isn't present, as far as the OS is concerned.
The one thing I'm not sure about is how I configred it when I installed the OS. I inputted a specific host name instead of selecting "get from DHCP". But since I've deleted the profile and rediscovered it multiple times, should that matter? And yes, I have the host name and IP of the laptop in my /etc/hosts file.
Is the driver for the card compiled into the kernel or loaded as a module? If it is a module, you may want to have it loaded at a later run level. If it's in the kernel, you may be able t edit the rc script to have it brought up by ifconfig at a later run level.
I wonder why Fedora is horking on getting a dhcp lease...
After its booted next, open up a terminal and su to root, then try to grab a lease by hand:
su -
(enter password)
dhclient eth0
(lots of giberish, hopefully... )
ping google.com
If it doesn't grab a lease, what's there error? What it looks like is that dhcp is being fired up BEFORE pcmcia is getting started, but that's just silly on FC's part and we would have had about 3000 threads on that by not if it were the case, I wonder what else is going on.
sit0: unknown hardware address type 776
SIOCSIFADDR: No such device
eth0: unknown interface: No such device
eth0: unknown interface: No such device
sit0: unknown hardware address type 776
Bind socket to interface: No such device
blah blah blah about a README, software, blah blah
exiting
prompt)
What gives? And for the record, I watch the boot up sequence in detail and yes, fedora is trying to initialize the ethernet card before it starts pcmcia services. But even if it try and activate it from the GUI after bootup, it says it cannot find the device. Here's a listing of lsmod:
3c589_cs size: 9608 used by: 0
???
Last edited by paperdiesel; 07-04-2004 at 12:25 PM.
basically, I executed "modprobe yenta_socket" as root, and the card came to life, my router gave it an IP, and I'm not up and running. I added that line to my /etc/rc.d/rc.local file, so I should be good to go.
Is there anywhere that I can put this in which will make it happen before rc.local? I'd like to fire it sooner in the boot sequence. Also, do I need to do a "modprobe 3c589_cs" or anything afterwards? Is there a better or more secure way to fire up the pcmcia subsystem?
This is strange. So now that I did a "modprobe yenta_socket", which turned on the NIC, the card will light up at boot up. The normal eth0 startup during boot up fails, but the light comes one when it gets to the line in rc.local which does the modprobe. And I verified that "PCIC=yenta_socket" in that pcmcia file.
So here's the strange part: The light on the NIC turns on, but I still have no internet connection. I try to activate it in the GUI, and it says the device is not found. What gives?
To make it really weird, if I delete the network profile all together in the GUI, then reboot, the card will light up during the normal eth0 startup process during boot (this is the ONLY time this happens). Then, with the card light on, I run the internet connection wizard, and it configures, detects, gets an IP address, and I'm good to go. But as soon as I reboot the box, I lose it. The card will light up (from the modprobe line in the rc.local file), but there's no connection, at least not until I nuke it, reboot, and start over.
???
Last edited by paperdiesel; 07-07-2004 at 02:48 PM.
What do you mean by putting the config into rc.local? What exactly do I put in there? Also, since the IP address is assigned dynamically from the router, do I still put an ip address in rc.local? If so, how do I input it? I have that info in my /etc/hosts file, but I imagine the syntax will be different.
Do I need to do a modprobe for 3c589_cs after I do a modprobe for yenta_socket?
You can't modprobe card services pcmcia drivers manually, cardmgr has to bind them, but it seems to be up and running fine, so no worries there, it listens on the socket and as soon as yenta is loaded as the driver for the socket, cardmgr will see the card there, compare its info to what it finds in /etc/pcmcia/config (take a look at it, just a text file), and then bind whatever it has info for.
There are cardbus cards where you just hand whack their module into place like a good old PCI card. They're the newer standard, the move is slow right now.
rc.local could look as simple as:
modprobe yenta_socket
ifconfig eth0 up
dhclient eth0
Assuming the nic is eth0, and the ifconfig line is voodoo but some cards misbehave if you don't hand them an up first.
Actually, there's the beep method... no kidding, pcmcia is built so that you hear 1 beep if the socket driver is loaded, and another identical beep if the driver for the card loads right. If that doesn't happen, you hear a second low-toned bonk instead. This is not the same with cardbus cards, you'll always get the second beep but hotplugging might not pick up on the card.
I added those lines and rebooted, here's the error:
[root//arsenal /etc/rc.d] modprobe yenta_socket
[root//arsenal /etc/rc.d] ifconfig eth0 up
eth0: unknown interface: No such device
[root//arsenal /etc/rc.d] dhclient eth0
Internet Systems Consortium DHCP Client V3.0.1rc14
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
sit0: unknown hardware address type 776
SIOCSIFADDR: No such device
eth0: unknown interface: No such device
eth0: unknown interface: No such device
sit0: unknown hardware address type 776
Bind socket to interface: No such device
It's also worth noting that after this, I deleted the network config via the GUI, rebooted, and when it was booting, it got stuck in this endless loop of my router trying to give the laptop an IP, and the laptop declining because no device was present. so I rebooted again, this time with the network cable unplugged. once it booted up, I stuck the network cable back in, and the router lit up the port. No internet connectivity, but the router knew the laptop was connected.
I'm so confused. I think that the profile for my nic has an incorrect address in it, so when I use that profile to build a network config, it gets borked. Any ideas? how could I find out the physical address parameters of this nic, and then compare it to what's stored? where do I look for both?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.