Unix Technical Forum

Please Review: Host AP Driver Scripts Conflicting With Slackware?

This is a discussion on Please Review: Host AP Driver Scripts Conflicting With Slackware? within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hello, I have copied rc.inet1 and rc.inet1.conf and made some alterations to get the Host AP driver working, resulting ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2008, 06:15 AM
Edafe Knabe
 
Posts: n/a
Default Please Review: Host AP Driver Scripts Conflicting With Slackware?

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-20-2008, 06:16 AM
Eric Hameleers
 
Posts: n/a
Default Re: Please Review: Host AP Driver Scripts Conflicting With Slackware?

Edafe Knabe wrote:
> 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


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]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #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
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-20-2008, 06:18 AM
Faux_Pseudo
 
Posts: n/a
Default Re: Please Review: Host AP Driver Scripts Conflicting With Slackware?

-----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-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-20-2008, 06:19 AM
Edafe Knabe
 
Posts: n/a
Default Re: Please Review: Host AP Driver Scripts Conflicting With Slackware?

Faux_Pseudo,
Thanks for that hint.

Edafe

Faux_Pseudo wrote:

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:45 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com