Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Please Review: Host AP Driver Scripts Conflicting With Slackware?

0 views
Skip to first unread message

Edafe Knabe

unread,
Feb 16, 2005, 3:40:25 PM2/16/05
to
Hello,
I have copied rc.inet1 and rc.inet1.conf and made some alterations to
get the Host AP driver working, resulting in rc.hostap and rc.hostap.conf:

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

Eric Hameleers

unread,
Feb 17, 2005, 2:55:05 PM2/17/05
to

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]

Edafe Knabe

unread,
Feb 18, 2005, 5:30:41 AM2/18/05
to
Eric,
Thanks for taking the time to have a look at this.

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

Faux_Pseudo

unread,
Feb 18, 2005, 11:33:14 PM2/18/05
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

_.-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 Knabe

unread,
Feb 19, 2005, 12:17:54 PM2/19/05
to
Faux_Pseudo,
Thanks for that hint.

Edafe

0 new messages