pcmia Netzwerkarte unter Knoppix installieren?

Nico 77

Lt. Commander
Registriert
Feb. 2002
Beiträge
1.107
Ich habe gerade angefangen mich mit Linux zu beschäftigen, habe aber folgendes Problem, bevor ich mich einarbeite würde ich gerne meine Netzwerkkarte installieren.

Das Betriebsystem wäre Knoppix 3.2 vom 26.07., wie kriege ich den Treiber für die Karte installiert? Werde nämlich aus der Readme nicht ganz schlau?:(

Code:
          NETGEAR FA511 CardBus Mobile Adapter
          ----------------------------------------
          
  Contents of the Subdirectory:
  -----------------------------

      redhatx.x\tulip.c       The linux driver source code file
      redhatx.x\pci-scan.h    The linux driver header file
      redhatx.x\kerncomp.h    The linux driver header file
      redhatx.x\tulip_cb.o    The linux dirver 
      redhatx.x\makefile      Makefile for generating driver object file
                  

  Installation Procedure:
  -----------------------
           
  1.  During installation of Linux, make sure that the "Development" 
      selectionare  (or C Development and Development Libraries for 
      Redhat 6.0) and "Kernel Development" selectionare and "Workstation" 
      selectionare choosen under "Component to Install" window. This 
      will copy the C compiler and kernel development component into 
      the system for compiling the driver. For RedHat 6.0, 6.1, 6.2, please 
      upgrade PCMCIA-CS to version 3.1.19 (Please see note at the bottom
      for how to upgrade to version 3.1.19). For RedHat 6.0, 6.1 user, We 
      recommend you to upgrade your system to 6.2 or 7.0, because it is robust.

  2.  Also in the Network Configuration window during installation, you
      will be asked if you want to configure LAN (not dailup) networking
      for your installed system.  Answer YES.

  3.  Login as root.

  4.  Insert the Installation CDROM, and mount the disk into the system with 
      the following command: mount -t iso9660 /dev/cdrom /mnt/cdrom

  5.  Copy the linux drivers from the CDROM into the system harddrive with the
      following command. Five files will be copied: tulip.c, pci-scan.h, kerncomp.h,
      tulip_cb.o, makefile.
      Command: cp /mnt/cdrom/linux/redhatx.x/* .

  6.  Compile tulip.c by executing "make" command at the prompt.
      The following command will be executed.
     
      for redhat 6.x
      gcc -DCARDBUS -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c tulip.c \
          -o tulip_cb.o -I/usr/src/linux/pcmcia-cs-3.1.19/include
          
      for redhat 7.0
      gcc -DCARDBUS -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c tulip.c \
          -o tulip_cb.o -I/usr/src/linux/pcmcia-cs-3.1.19/include \
          -I/usr/src/linux/include
          
   
  7.  Find the names of the files in the /lib/modules directory. you might see the 
      following directory. eg "2.2.14"...

  8.  Copy the newly compiled tulip.o into the latest kernel's modules.

      for redhat 6.0
      cp tulip_cb.o /lib/modules/2.2.5-15/net/tulip_cb.o
      cp tulip_cb.o /lib/modules/2.2.5-15/pcmcia/tulip_cb.o
      
      for redhat 6.1
      cp tulip_cb.o /lib/modules/2.2.12-20/net/tulip_cb.o
      cp tulip_cb.o /lib/modules/2.2.12-20/pcmcia/tulip_cb.o
      
      for redhat 6.2
      cp tulip_cb.o /lib/modules/2.2.14-5.0/net/tulip_cb.o
      cp tulip_cb.o /lib/modules/2.2.14-5.0/pcmcia/tulip_cb.o

      for redhat 7.0
      cp tulip_cb.o /lib/modules/2.2.16-22/net/tulip_cb.o
      cp tulip_cb.o /lib/modules/2.2.16-22/pcmcia/tulip_cb.o

  9.  Use vi or emac editor to append the following line into 
      /etc/pcmcia/config

      card "NETGEAR FA511 CardBus Mobile Adapter"
      manfid 0x022d, 0x511A
      bind "tulip_cb"
 
  10. reboot system.

  11. You can check if the driver is properly activating the card using
      the "dmesg" command right after system bootup.


  ***Note***

  How to upgrade to PCMCIA-CS-3.1.19 from old version on RedHat 6.0    

  1. Find the PCMCIA-CS-3.1.19 package pcmcia-cs-3.1.19.tar.gz on
     CD-ROM, you can also find it from website [url]ftp://ftp.tux.org/util/pcmcia[/url] . 

  2. Copy pcmcia-cs-3.1.19.tar.gz to the directory /usr/src/linux

  3. Uncompress the package using the following command
         tar xvfz pcmcia-cs-3.1.19.tar.gz
     this will generate the directory ./pcmcia-cs-3.1.19
  
  4. Change to the directory pcmcia-cs-3.1.19

  5. Execute the following commands
         make clean
         make config
         make all
         make install
     these will upgrade PCMCIA-CS to version 3.1.19
  
  6. Execute the following commands to restart PCMCIA service
         /etc/rc.d/init.d/pcmcia stop
         /etc/rc.d/init.d/pcmcia start
 
Ich bin im Fach Gedankenlesen durchgefallen :(.

Also sage uns doch bitte mit welchen Punkt der SEHR ausführlichen Anleitung du Probleme hast.

Die Anleitung ist auch spezifisch für die RedHat Distribution. Vielleicht ist das dein Problem, da du ja Knoppix hast (wieder muss ich vermuten: auf Platte installiert?).

Und warum hat Knoppix den Tulip-Treiber nicht schon mitgeliefert?
Hast du da schon gesucht?
 
Ja habe das auf Platte.

Habe den Tulib in die Verzeichnisse kopiert.

cp tulip_cb.o /lib/modules/.../net/tulip_cb.o
cp tulip_cb.o /lib/modules/.../pcmcia/tulip_cb.o

Dann in die config das geschrieben:

card "NETGEAR FA511 CardBus Mobile Adapter"
manfid 0x022d, 0x511A
bind "tulip_cb"

Und nun, die Verzeichnisse hab ich nicht.

/etc/rc.d/init.d/pcmcia stop
/etc/rc.d/init.d/pcmcia start


Was muss ich dann machen?
 
Nach einem Neustart kannst du als root mit "lsmod" nachsehen welche Kernelmodule geladen sind. Wenn tulip_cb erwähnt wird ist doch alles in Butter.

Heißt das, dass du in /etc ein neues Verzeichnis angelegt hast mit Namen "pcmcia" und darin eine neue Datei geschrieben hast mit Namen "config" und die drei Zeilen da reingeschrieben?

Wo liegen denn bei dir (Knoppix) die ganzen Startscripte? Bei jeder ordentlichen Distri liegen die unter /etc/rc.d/init.d.
Darin sollten sich eine ganze Menge Skripte befinden, die bei Booten ausgeführt werden, auch ein pcmcia Skript.
Such doch mal in /etc und allen Unterverzeichnissen nach einer Datei mit dem Namen pcmcia (Konsolenbefehl: find /etc -name pcmcia).
 
Hi, werde heute alles nochmal neuinstallieren, nach wilden hin und her geschaufel der Dateien hatte ich auch einige Ordner gelöscht. Werde mich nochmal melden ob es klappt. Thx:)
 
es muss nicht zwingend /etc/rc.d/init.d sein!
bei mir ist es zB /etc/init.d

da sollte dann nach erfolgreicher installation eine datei namens pcmcia sein.

wenn du dann

/etc/rc.d/init.d/pcmcia start

in die konsole eingibst wird das script geladen. wenn es ohne /rc.d/ wie bei mir natürlich ohne..
 
So langsam kommt der Thread in Bewegung.

Hätte nie gedacht, das Linux als Anfänger so ungewohnt umständlich ist.

Werde morgen die Tipps mal ausprobieren, heute darf ich leider nicht mehr.:D
 
Original erstellt von Nico 77
Hätte nie gedacht, das Linux als Anfänger so ungewohnt umständlich ist.

Ach, eigentlich ist es nur anders. :) Hätte nie gedacht, dass Vim und allgemein konsolenbasierte Anwendungen zu meinen lieblingen werden. :D Man mus sich nur umgewöhnen und etwas lernen, so wie man es mit Win zu Anfang auch gemacht hat. ;)

Zum Problem:
Wird die Karte erkannt? Also, eigentlich wäre es doch gar nicht nötig, die Treiber zu kompilieren und installieren, da die meisten Karten direkt durch den Kernel unterstützt werden.
Was passiert denn, wenn du 'pppoeconf' aus der Konsole heraus startest ?
 
Zuletzt bearbeitet:

Ähnliche Themen

Antworten
2
Aufrufe
2.102
Zurück
Oben