* [gentoo-dev] New pcmcia startup script
@ 2001-06-18 0:39 Crux
2001-06-18 7:16 ` Ben Lutgens
0 siblings, 1 reply; 6+ messages in thread
From: Crux @ 2001-06-18 0:39 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 274 bytes --]
Dear Gentoo Users,
The default script for pcmcia i.e /etc/init.d/pcmcia does not start loopback
i.e lo
so here is a modified script to start loopback on pcmcia network
initialisation
Please copy the file attached below to /etc/rc.d/init.d/
Best Regards
Prakash Shetty
[-- Attachment #2: pcmcia --]
[-- Type: application/x-shellscript, Size: 2831 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] New pcmcia startup script
2001-06-18 0:39 [gentoo-dev] New pcmcia startup script Crux
@ 2001-06-18 7:16 ` Ben Lutgens
2001-06-18 8:38 ` Crux
0 siblings, 1 reply; 6+ messages in thread
From: Ben Lutgens @ 2001-06-18 7:16 UTC (permalink / raw
To: gentoo-dev
On 18 Jun 2001 11:54:57 +0530, Crux wrote:
> Dear Gentoo Users,
>
> The default script for pcmcia i.e /etc/init.d/pcmcia does not start loopback
> i.e lo
lo should get started via /etc/rc.d/config/inet.lo
>
> so here is a modified script to start loopback on pcmcia network
> initialisation
>
> Please copy the file attached below to /etc/rc.d/init.d/
>
> Best Regards
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] New pcmcia startup script
2001-06-18 7:16 ` Ben Lutgens
@ 2001-06-18 8:38 ` Crux
2001-06-18 10:57 ` Ben Lutgens
0 siblings, 1 reply; 6+ messages in thread
From: Crux @ 2001-06-18 8:38 UTC (permalink / raw
To: gentoo-dev
Dear Ben,
> > The default script for pcmcia i.e /etc/init.d/pcmcia does not start
> > loopback i.e lo
>
> lo should get started via /etc/rc.d/config/inet.lo
The inet script is basically useless for pcmcia intialisation.
The inet.lo script gets initialised by the inet script under init.d
but the pcmcia script does not reintialise it
so if you do a /et c/rc.d/init.d/pcmcia restart
it does not bring up/down lo
The inet script is useful only if you have a nic card and not with pcmcia
well a modification to the inet script to parse for this will be helpful.
Best Regards
Prakash Shetty
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] New pcmcia startup script
2001-06-18 8:38 ` Crux
@ 2001-06-18 10:57 ` Ben Lutgens
2001-06-18 22:54 ` Crux
0 siblings, 1 reply; 6+ messages in thread
From: Ben Lutgens @ 2001-06-18 10:57 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 887 bytes --]
On Mon, Jun 18, 2001 at 07:08:46PM +0530, Crux wrote:
>Dear Ben,
>
>so if you do a /et c/rc.d/init.d/pcmcia restart
>it does not bring up/down lo
Why would you need to cycle lo? In 5 years as a linux geek I've NEVER
needed to take my lo down and bring it back up.
Also, have you seen in other distros where lo is controlled by pcmcia?
This is kind of strange that you would need this and I am just trying to
understand.
>
>The inet script is useful only if you have a nic card and not with pcmcia
>
>well a modification to the inet script to parse for this will be helpful.
>
>Best Regards
>Prakash Shetty
>
>_______________________________________________
>gentoo-dev mailing list
>gentoo-dev@cvs.gentoo.org
>http://cvs.gentoo.org/mailman/listinfo/gentoo-dev
--
Ben Lutgens
Sistina Software Inc.
Kernel panic: I have no root and I want to scream
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] New pcmcia startup script
2001-06-18 10:57 ` Ben Lutgens
@ 2001-06-18 22:54 ` Crux
2001-06-18 23:01 ` Daniel Robbins
0 siblings, 1 reply; 6+ messages in thread
From: Crux @ 2001-06-18 22:54 UTC (permalink / raw
To: gentoo-dev
Dear Ben,
> >
> >so if you do a /et c/rc.d/init.d/pcmcia restart
> >it does not bring up/down lo
>
> Why would you need to cycle lo? In 5 years as a linux geek I've NEVER
> needed to take my lo down and bring it back up.
i know that .. but the inet or the network script in all the distros do this
... correct me if i am wrong.
> Also, have you seen in other distros where lo is controlled by pcmcia?
> This is kind of strange that you would need this and I am just trying to
> understand.
you are right ... it is not controlled by pcmcia ... but network scripts also
parse to see if the nic is pcmcia (i know SuSE does).
This is not the case in gentoo.
And WHY should i use the inet script if i do not have a standard pci/isa nic.
so i need to dump the inet script and use the pcmcia script instead.
The pcmcia script bring up the lo and eth0 and vice versa.
I could also remove the eth initialisation lines from the inet script ... but
this is kindda stupid ... why use two scripts to do one job ?
The other solution could be to modify inet to recognise if there is a pcmcia
network card and act accordingly this is a better one and i am working on it.
Hope i am clear now.
Best Regards
Prakash Shetty
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] New pcmcia startup script
2001-06-18 22:54 ` Crux
@ 2001-06-18 23:01 ` Daniel Robbins
0 siblings, 0 replies; 6+ messages in thread
From: Daniel Robbins @ 2001-06-18 23:01 UTC (permalink / raw
To: gentoo-dev
On Tue, Jun 19, 2001 at 10:32:11AM +0530, Crux wrote:
> The other solution could be to modify inet to recognise if there is a pcmcia
> network card and act accordingly this is a better one and i am working on it.
We are planning to replace our current init-scripts with a jinit-based system
that uses dependencies. This type of system will have no problems dealing
will pcmcia in a graceful manner.
--
Daniel Robbins <drobbins@gentoo.org>
President/CEO http://www.gentoo.org
Gentoo Technologies, Inc.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2001-06-19 5:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-18 0:39 [gentoo-dev] New pcmcia startup script Crux
2001-06-18 7:16 ` Ben Lutgens
2001-06-18 8:38 ` Crux
2001-06-18 10:57 ` Ben Lutgens
2001-06-18 22:54 ` Crux
2001-06-18 23:01 ` Daniel Robbins
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox