As promised here's my /etc/lilo.conf and /etc/pcmcia/network.opts
RikD.
--------------LILO-------------------------
boot = /dev/hda
vga = normal
read-only
prompt
timeout = 30
message = /boot/message
default = chaos
image = /boot/vmlinuz
label = lin-so
root = /dev/hda9
initrd = /boot/initrd
append = "SCHEME=SO"
image = /boot/vmlinuz
label = lin-d
root = /dev/hda9
initrd = /boot/initrd
append = "SCHEME=DOCKED"
image = /boot/vmlinuz
label = lin-ud
root = /dev/hda9
initrd = /boot/initrd
append = "SCHEME=UNDOCKED"
image = /boot/vmlinuz.suse
label = suse
root = /dev/hda9
initrd = /boot/initrd.suse
other = /dev/hda1
label = chaos
----------------- PCMCIA ----------------------------
case "$ADDRESS" in
SuSE,*,*,*)
INFO="Standard (Default) SuSE Scheme"
;;
SO,*,*,*)
INFO="Laptop is Stand Alone"
IF_PORT=""
BOOTP="n"
DHCP="y"
MOUNTS=""
# Stand Alone Configuration
cp /etc/X11/XF86Config.standalone /etc/X11/XF86Config
;;
DOCKED,*,*,*)
INFO="Laptop is Docked"
IF_PORT=""
BOOTP="n"
DHCP="y"
MOUNTS=""
# Docked, and connected to a monitor capable of
# 1600x1200
cp /etc/X11/XF86Config.docked /etc/X11/XF86Config
;;
UNDOCKED,*,*,*)
INFO="Laptop is not Docked"
IF_PORT=""
BOOTP="n"
DHCP="y"
MOUNTS=""
# Undocked
cp /etc/X11/XF86Config.undocked /etc/X11/XF86Config
;;
*,*,*,*)
INFO="Sample private network setup"
# Transceiver selection, for some cards -- see 'man ifport'
IF_PORT=""
# Use BOOTP (via /sbin/bootpc, or /sbin/pump)? [y/n]
BOOTP="n"
# Use DHCP (via /sbin/dhcpcd, /sbin/dhclient, or /sbin/pump)? [y/n]
DHCP="n"
# If you need to explicitly specify a hostname for DHCP requests
DHCP_HOSTNAME=""
# Host's IP address, netmask, network address, broadcast address
IPADDR=""
NETMASK="255.255.255.0"
NETWORK="10.0.1.0"
BROADCAST="10.0.1.255"
# Gateway address for static routing
GATEWAY="10.0.1.1"
# Things to add to /etc/resolv.conf for this interface
DOMAIN=""
SEARCH=""
DNS_1=""
DNS_2=""
DNS_3=""
# NFS mounts, should be listed in /etc/fstab
MOUNTS=""
# If you need to override the interface's MTU...
MTU=""
# For IPX interfaces, the frame type and network number
IPX_FRAME=""
IPX_NETNUM=""
# Extra stuff to do after setting up the interface
start_fn () { return; }
# Extra stuff to do before shutting down the interface
stop_fn () { return; }
# Card eject policy options
NO_CHECK=n
NO_FUSER=n
;;
esac
> -----Original Message-----
> From: Dunphy Richard-rdunph01
> [mailto:Richard_Dunphy-RDUNPH01 at email.mot.com]
> Sent: 07 March 2001 16:44
> To: Co-operative Linux Users Group
> Subject: RE: [CLUG] Dell Lattitude & Xfree 4.0.2
>>> Best place to start is the PCMCIA-HOWTO
>> basically you edit the /etc/pcmcia/network.opts and add two
> new schemes. As part of which you do you required cp..
>> Then in lilo use the append line to append you schemes,
>> e.d.
> image = /boot/vmlinuz
> label = docked
> append = "SCHEME=docked"
>> image = /boot/vmlinuz
> label = standalone
> append = "SCHEME=standalone"
>> Very useful....
> It means I have 1024x768 on the LCD, then 1600x1200 for the Monitor!
>> Here you can also change between static and dynamic IP
> addressing, different adapters (e.g. PCMCIA card and Docked
> 3Com card...) + a lot more.
>> If I get a chance tommorow (I'm off home now) I'll try and
> email my lilo.conf and network.opts to the list.
>> RikD.
>> > -----Original Message-----
> > From: Paul J Collins [mailto:sneakums at zork.net]
> > Sent: 07 March 2001 16:31
> > To: Co-operative Linux Users Group
> > Subject: Re: [CLUG] Dell Lattitude & Xfree 4.0.2
> >
> >
> > >>>>> "DR" == Dunphy Richard-rdunph01
> > <Rik.Dunphy at motorola.com> writes:
> >
> > DR> Using the PCMCIA schemes I select docked or undocked at the
> > DR> lilo prompt, and this copies over the config I need.
> >
> > That sounds nifty. How does it work?
> >
> > --
> > "Pity has no place at my table."
> > -- Dr Hannibal Lecter
> >
> > _______________________________________________
> > Cork maillist - Cork at linux.ie> > http://www.linux.ie/mailman/listinfo/cork> >
>> _______________________________________________
> Cork maillist - Cork at linux.ie>http://www.linux.ie/mailman/listinfo/cork>
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!