View Single Post

   
  #3 (permalink)  
Old 02-20-2008, 06:17 AM
Edafe Knabe
 
Posts: n/a
Default Re: Please Review: Host AP Driver Scripts Conflicting With Slackware?

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

Eric Hameleers wrote:

> 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
>

Reply With Quote