LinuxQuestions.org
Visit Jeremy's Blog.
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 06-01-2003, 11:12 AM   #1
lectraplayer
Member
 
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: Porteus 3.1
Posts: 932

Rep: Reputation: 32
What's the easiest way to do this?


I have a LAN card that isn't suported by any of the floppy disk images I have, but I have Linux drivers for this LAN. My newest images abnormally terminate with a error code of 9 when it hits the PCMCIA drivers (though it detects them). Because my LAN's a PCMCIA card, this prevents me from getting to it. Also, my older images do not support PCMCIA. I have Orange Linux, Tomsrtbt Linux, and a bunch of Mandrake images. What's the best way to incorporate my Linux drivers in, say my Tomsrtbt Linux so I can access my LAN card and begin a LAN based install?
 
Old 06-01-2003, 11:14 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
please use a useful thread title in future. thanks.
 
Old 06-01-2003, 09:09 PM   #3
lectraplayer
Member
 
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: Porteus 3.1
Posts: 932

Original Poster
Rep: Reputation: 32
Sorry, but I wanna know "the easiest way to do this."
 
Old 06-02-2003, 10:34 PM   #4
lectraplayer
Member
 
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: Porteus 3.1
Posts: 932

Original Poster
Rep: Reputation: 32
No idea, on what I'd guess would be a simple task?
 
Old 06-10-2003, 07:20 PM   #5
akaBeaVis
LQ Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
You'll need another working linux box for this. alternatively, you can send me the driver and card info and I'll stick it in one of the floppy.img's of your choice for you. It'll be faster if you do it yourself though

You'll need to take one of the floppy .img's that supports pcmcia and mount it via the loop device(see below), then go to the mount point and cd from there to the dir where the pcmcia config file is, for instance on my mdk system this is /etc/pcmcia/ so you would be editing /mnt/mountpoint/etc/pcmcia/config, furthur you'll need to edit that file and add near the top a corresponding section for the device and then somewhere near the bottom, a corresponding section for the card itself. Here's an example of the relevant sections I added for my wireless card:

# device
device "pcmf502rd" class "network" module "pcmf502rd"

#card
card "Belkin F5D6020 rev.2"
version "Belkin", "11Mbps-Wireless-Notebook-Network-Adapter"
manfid 0x01bf, 0x3302
bind "pcmf502rd"

the most important part in the "card" section is the manfid #'s which you would get from typing "cardctl ident" with the card in the slot, or perhaps you have these numbers from a previously backed-up config of when it was working

Additionally, you'll need to move a copy of the driver (a kernel module?) in question to the appropriate area, eg: /mnt/mountpoint/lib/modules/2.4.xx/pcmcia or wherever the floppy.img is keeping it's modules. When complete, unmount the loop device(see below) and dd the new image. Be aware that the new img will be a different size and you may need to delete something out of it in order to insert your module and still fit it onto a floppy.

NOTE: If your card is a 32bit CardBus model, this entire post does not apply.

/****************************************************************/
mounting via loop device:
losetup floppy.img /dev/loop0 /dir/floppy.img
mount /dev/loop0 /mnt/mountpoint

unmounting:
umount /mnt/mountpoint
losetup -d /dev/loop0

Last edited by akaBeaVis; 06-10-2003 at 07:49 PM.
 
  


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
easiest way to the Internet frefel Linux - Networking 1 09-12-2005 03:52 AM
Which is the easiest Linux to use? Eerath Linux - Newbie 5 02-24-2005 03:43 PM
Easiest to update? subnet_rx Linux - Distributions 16 02-22-2005 04:06 PM
Easiest Distro BriceM Linux - Distributions 4 08-21-2003 07:12 PM
Easiest upgrade? hmspe Linux - Software 1 05-23-2003 07:01 PM


All times are GMT -5. The time now is 03:03 AM.

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