[RULE] Re: Off Topic Question (gregory mott)

Michael Fratoni mfratoni at tuxfan.homeip.net
Mon Jan 6 07:22:46 EET 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 05 January 2003 10:40 pm, Raymundo Q. Baquirin wrote:

> > it is complicated by the need to install via a pcmcia nic.  with
> > anaconda, it seems it ought to be possible to prepare an initrd that
> > has what i need, but anaconda insists on reading pcmcia drivers from
> > an actual floppy, so would i have to hack the anaconda source?  would
> > miniconda or slinky do me better?
>
> I haven't used miniconda, so can't say. Slinky lets you loop-mount the
> floppy disk image with the required device driver and then set up
> networking before proceeding with the install.

Now that we have the difficult part answered, I can answer the rest. ;)
The pcmcia nic shouldn't be a problem, as of a few hours ago.
Slinky now attempts to handle PCMCIA card services.

http://www.tuxfan.homeip.net:8080/rule/slinky/slinky-v0.3.5/

No iso available yet.

There is now a pcmcia.img file. Create your disks, boot, and then mount 
the pcmcia disk. 

Edit /scripts/init_network.sh for your needs. Comment out or remove the 
module lines, all you need is to define hostname, gateway, ip, netmask, 
nameserver, etc. Save the file, then....

Execute '/mnt/floppy/setup_pcmcia.sh', this copies the cardmgr binary and 
config files into the root file system ram disk. Once that's complete, 
execute '/scripts/pcmcia.sh start'. You may need to edit that script to 
set default options before you run it. It will throw a bunch of info to 
the screen, some of it which may look ominous.... as long as the last 
line has something nice to say about eth0, ignore the rest. ;)
'ifconfig' should report lo and eth0 up and running.

Currently, pcmcia.sh assumes:
# Should be either i82365 or tcic
PCIC=i82365
# Put socket driver timing parameters here
PCIC_OPTS=
# Put pcmcia_core options here
CORE_OPTS=
# Put cardmgr options here
CARDMGR_OPTS="-f -m /mnt/floppy/modules"
# To set the PCMCIA scheme at startup...
SCHEME=

It will load the needed modules from the floppy. The last thing the 
pcmcia.sh script does is execute the init_network.sh script. Assuming 
cardmgr was able to detect and active your PCMCIA nic, the network should 
come up. Once that's done, the floppy can be unmounted and removed.

It's still rough and needs work. If you find anything you have to change 
to make it work, please let me know. It's been tested on 1 laptop here, 
and by one other person for an older laptop. Worked without difficulty in 
both cases.

You'll need to manually create /etc/sysconfig/pcmcia so that the card is 
handled on reboot. Mine has:
$ cat /etc/sysconfig/pcmcia
PCMCIA=yes
PCIC=i82365
PCIC_OPTS=do_scan=0
CORE_OPTS=
CARDMGR_OPTS=-f


- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+GRKmn/07WoAb/SsRApdwAJ4rU5zWCPs4fcq8vdK752oZ5sbxOACcCJjK
jT5DkfyZEBq6exHAfmyht98=
=e7Hn
-----END PGP SIGNATURE-----



_______________________________________________
Rule Project HOME PAGE:  http://www.rule-project.org/en/
Rule Development Site:   http://savannah.gnu.org/projects/rule/
Rule-list at nongnu.org
http://mail.nongnu.org/mailman/listinfo/rule-list



More information about the Rule-list mailing list