http://www.edafe.org/slackware/index.html#hostap
Both rc.hostap and rc.hostap.conf APPEAR to be playing nice with
existing Slackware scripts rc.inet1 and rc.inet1.conf.
Can you spot any sections in rc.inet1 and rc.inet1.conf that should not
be duplicated in this way?
Regards,
Edafe
Well, most of the change looks k°like it could be written as
"s/eth/wlan/g" ... and this way you duplicate starting/stopping the
loopback interface as well as setting the default gateway.
If your goal is to be able to configure interfaces other than eth?
(such as wlan? tr? ath? and such), I myself am using a modified
rc.inet1 and rc.inet1.conf that allow you to define arbitrary
interface names, as many as you want.
Since my modification is not yet accepted by Patrick Volkerding, I
will not copy it to this news group, but you can email me and I'll
mail you the script back.
I will most likely re-write this script again soon, but it works 100%
as it is now.
Cheers, Eric
--
We have no answers to your questions
Yet we can question your demands
We don't intend to save your souls
Suspense is our device [laibach]
What do you mean by "could be written as 's/eth/wlan/g'"?
I removed the sections Loopback Functions and Gateway Functions from
rc.hostap. I also removed the entry for the default gateway from
rc.hostap.conf.
Am I right to think that DEBUG_ETH_UP="no" can be removed from
rc.hostap.conf as well?
Now, about that script...
Regards,
Edafe
_.-In alt.os.linux.slackware, Edafe Knabe wrote the following -._
> What do you mean by "could be written as 's/eth/wlan/g'"?
It measn that anywhere you see "eth" you can change it to wlan so eth0
would become wlan0 etc. See a website for sed usage to grok the full
meaning.
- --
.-')) asciipr0n.com/fp ('-. | It's a damn poor mind that
' ..- .:" ) ( ":. -.. ' | can only think of one way to
((,,_;'.;' UIN=66618055 ';. ';_,,)) | spell a word.
((_.YIM=Faux_Pseudo :._)) | - Andrew Jackson
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFCFsGKSJec2PH9pbURAn38AJ4t/j/vdO1AO+J8r6MrPjRSl7s6ZACeJtRW
0ndtQXl+U2DjuDT7VPDmGOI=
=0b8k
-----END PGP SIGNATURE-----
Edafe