Hi Isaac,
       the pcmcia boot scripts of Redhat's /etc/init.d/rc directory
differs from Slackwares /etc/rc.d scripts so it is not possible to
copy pcmcia boot files over as is.

In Slackware the pcmcia card description files are in /etc/pcmcia,
if Redhat has these files you could copy them over but I can't
guarantee that they are identical.
Probably the only file they both have in common is /etc/pcmcia.conf.

Configuration of pcmcia on Slackware is quite easy so you may be able to
set things up in Slackware. If you have trouble just post back to the list
with more details about the pcmcia card.

In Slackware the pcmcia "card description" files are in the /etc/pcmcia
directory. You can use 'mc' in console to do most of the setup as it is
fast, easy to use and ideal for Slackware.

If you do not have the pcmcia packages installed yet mount the Slackware
8.0 cdrom and cd to ./a1 directory, then type 'installpkg pcmcia.tgz'.
Chances are that pcmcia.tgz is already installed.

By default the pcmcia "cardmgr" is set to poll your pcmcia card for
its irq and io port address and read the driver settings from
/etc/pcmcia/config.

'dmesg' will output pcmcia messages on the end of the file. Also
use the following commands to check that 'cardctl' can see your
pcmcia card.

'cardctl ident'
'cardctl config'
'cardctl status'


Using 'mc' go to the /etc/pcmcia/network.opts file and press the F4 key
to edit it. Edit in your network settings in the appropriate lines and
press F2 to save.

In my case all I had to do was,

IPADDR="192.168.1.2"
NETMASK="255.255.255.0"
NETWORK="192.168.1.0"
BROADCAST="192.168.1.255"
GATEWAY="192.168.1.1"

It may be easier for you to reboot the machine. When Slackware
boots it's init scripts it first reads /etc/rc.d/rc.S which runs
/etc/rc.d/rc.pcmcia which contains entries for the environment
variables.
If rc.S is not running rc.pcmcia use 'mc' to check that the pcmcia
lines in rc.S are uncommented.
The quick way to find these lines with 'mc' is to use the F7 search
key. Just type in pcmcia.

If /etc/rc.d/rc.pcmcia is being run check the environment variable
entries PCIC, PCIC_OPTS. Usually they are set to poll the ethernet
card.
Note that rc.pcmcia reads the /etc/pcmcia/pcmcia database file. You
can 'cd /etc/rc.d' and use './rc.pcmcia staart' , './rc.pcmcia stop'
to start/stop it manually to reload modules.

I don't think that /etc/pcmcia.conf is required to be used as by default
/etc/rc.d/pcmcia should set up most of the required environment variables.
All I have in my pcmcia.conf file is-

PCIC=i82365            #an intel chip
PCMCIA="yes"


Re Slacware as a distro I find it very concise to work with. I used
to have a lot of trouble with Redhat /etc directory and rpm packaging
due to Redhat not being the same as what the 'man' or 'info' files said.

In Slackware all you have to do is use 'mc' F4 and F7 keys to edit/search
what you want to fix in /etc and go to /var/log/packages to read info
about what is installed.

One website I can recommend that has Slackware news and updates is
                       http://www.userlocal.com

Your 133Mhz should handle kde 1.1 ok. I have a 486/20mb ram laptop which
runs blackbox/fvwm2 no problems. Netscape 4.73 should be ok on 133Mhz.

My ~/.fvwm2rc configuration file is set up with a matrix theme and
is easier than the default .fvwm2rc file to work with. Feel free to
email me if you would like a copy.

cheers,
Keith.









On Mon, 27 Jan 2003, Isaac Devine wrote:
>
> I am wanting to replace redhat 7.3 on my laptop with Slackware 8 and I
> have prickly PCMCIA settings. Does anyone know where the pcmcia settings
> are kept so I can copy them over when slackware is installed. (i.e. put
> on floppy then put back on laptop). Also opinons on Slackware welcome.
> (mainly using for small size). No gentoo sorry , It's a P133 with 32 Mb
> Ram and 2 GB and 56k connection, aka not suitable.
>
> Isaac
> --
> "Don't like someone? try dd if=/dev/random of=/dev/hda"
>
>


Reply via email to