| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 61484 | 2005-09-06 09:11:00 | PCMCIA network card + Linux + Laptop = SOS! | bob_doe_nz (92) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 386416 | 2005-09-06 09:11:00 | I am trying to get my network card a Realtek 8139 PCMCIA card to work in Xandros Desktop 3 OCE on a laptop. So I can access the internet via ADSL router. What happens is that it installs fine. Now when I try to set the IP address via Control Centre it mentions that it cannot be restarted. I made sure before powering on that the N/W card was plugged into a Router. The Link lights were on so thats ok. Under Network Connection / Interfaces ... I click Enable Network and use a static IP which is configured correctly. As soon as I click Apply the following error pops up. "The following interface failed to restart: eth0" Oh, I also configured DNS servers as per my ISP Laptop is a Toshiba Satellite Pro 4300 I dont know my Linux commands to a little leniency(sic?) would help |
bob_doe_nz (92) | ||
| 386417 | 2005-09-06 09:52:00 | As root user go to a shell and type these comands in and let us know the results lsmod do you see the realtech card listed there ifconfig should give a lot of information including an ip is the ip listed the one you assigned ifconfig eth0 up no error message is good here ping <router ip> did you get a reply |
beama (111) | ||
| 386418 | 2005-09-07 02:14:00 | Sorry for not replying until now... I cannot see the network card anywhere... I assume I need drivers then? and how do I go about installing those? |
bob_doe_nz (92) | ||
| 386419 | 2005-09-07 02:22:00 | I have an idea that there are problems with the PC Card version of the 8139. It may be to do with the "Card Services" handling. There are a few modules for the different types of 8139 NIC, and sometimes the wrong one gets loaded. A PCI driver doesn't work well with a PC Card. :( I think you need the 8139cp module rather than 8139too, but try "8139 xandros" and "8139 linux", and 8139 "pcmcia linux" to Google (google.co.nz) for some opinions. I suppose you haven't got the .o /.ko problem (a module with the .o extension is for kernel version 2.4 and earlier; .ko is for 2.6). Se what lsmod shows. I've got one of those cards, but I think I didn't have much luck with it in Mandrake or RedHat. I've got 3Com 589b PCMCIA cards in two laptops and they work well in either Windows or Linux. |
Graham L (2) | ||
| 386420 | 2005-09-07 02:40:00 | I see that 8139too file. And I just checked the driver disk and drivers for linux but dont know how to install it... I got 4 files on the disk Makefile Copying.txt (Preamble license) kern_compat.h rtl8139.c funny thing is that this N/W card is supposedly supported fully according to Xandros website |
bob_doe_nz (92) | ||
| 386421 | 2005-09-07 03:07:00 | Before you do anything else, have a look for what you have got. (Any driver modules provided with the OS might be later than the ones with the card). find /lib/modules -name 8139* will tell you what you have got. If you have got 8139cp.o as well as 8139too.o (or 8139.ko ...) do modprobe 8139cp to load it. If that works (after doing IP setting, restarting eth0, etc) you are nearly there. Add a line alias eth0 8139cp to the /etc/modules.conf file. (Of course, Xandros might not have modules.conf, in which case look for conf.modules. ;)) Compiling the one opn the floppy is a different can of worms. If you've got the compiler and the kernel headers, it's just a matter of putting the files into a directory of their own and in it doing make and make install. It sometimes even works. ;) |
Graham L (2) | ||
| 386422 | 2005-09-07 03:31:00 | I got 8139too and no other files. I did modprobe 8129too (and assumed it works). Now when I enter the Network configuration and activate it. I get the same error I got before. If I disable the interface its already down but if i enable it I get the erroe SIOCSIFFLAGS: Device or resource busy SIOCSIFFLAGS: Device or resource busy bugger bugger bugger bugger bugger bugger |
bob_doe_nz (92) | ||
| 386423 | 2005-09-07 03:49:00 | I think 8139too is for the chip when it's incorporated on the motherboard, or maybe on a PCI card . So that probably explains the problem . rmmod 8139too might fix that . You can't lose by trying a compile . mkdir ~/8139 cd ~/8139 mcopy a:* . * . / make make install(mcopy uses "DOS syntax" for copies from floppies --- you might need to give it a path following the "a:" if the Linux stuff is in a subdirectory . ) If you've got the compiler and the other essential gubbinses, you might get a working module . It might want "make all" instead of just "make" . |
Graham L (2) | ||
| 386424 | 2005-09-07 06:42:00 | well i might as well give up on using Xandros... I'm currently typing this from Slax-Live edition and all I had to do was setup the DNS Servers... IP addresses were done automatically :D BURN IN HECK XANDROS :p | bob_doe_nz (92) | ||
| 386425 | 2005-09-07 06:47:00 | It does seem to be a tricky chip when it's on a PCMCIA card. Xandros aren't the only distribution to have problems with it. | Graham L (2) | ||
| 1 2 | |||||