Am Do, den 25.11.2004 schrieb Florin um 14:06:
> FrankB <[EMAIL PROTECTED]> writes:
> 
> > Hello Florin,
> > 
> > i'm working on mnf as Wifi-AccessPoint.
> > My Card is an Atheros-Based Wifi-Card.
> > I get the driver compiled, card is up and running,
> > but mnf doesen't regocnize the ath0-interface.
> > 
> > Now i do the following "bad" hack:
> > ---------------------------
> > 
> > in ethernet-know-interface.pl (line 81):
> > from:
> >     print join (',',@known_interfaces)."\n";
> > to:
> >     print join (',',@known_interfaces).",ath0\n";
> > 
> > ----------------------------
> > 
> > in the configuration-file i've added for the ath0-interface the same
> > vars as for eth0 and changed to the corresponding values of ath0.
> > 
> > ------------------------------
> > 
> > All seams to work fine, but i think this is not the right way to do this
> > and im waiting for the first bug this hack produces :-)
> 
> what you've done is ok (even though I would prefer to have the script
> modified in order to properly detect the card - imagine that you have
> several wifi cards, for example)  

I Know, you're absolutly right...

Yes, this was my first thinking, to modify the scripts.
But there are Strings, that have a relation to "eth"...
So I decided to do this "bad" hack, prefer this than get in troubles
with modifying to much... 

The same Prob is, if one uses hostap as wifi-driver... there is the
Interface named wlan0...

Perhaps in MNF3 you can rename the config-vars
from i.e. Eth0IP to IFace0IP and add a entry like IFace0Name="eth0".
Let me say, this is my 1 cent :-)
But this changes are not done in 5 minutes, I think one had to recode
many scripts, templates and so on... 

> but not enough.You should also modify
> the templates that will actually create the configuration files for the
> services. If you don't really need that for wifi ... then it's enough.
> 
there for i had to search for the Events belong to the relevant part and
add a entry for the templates i want to proceed.. am i right?

Or can i define new Events? But then, how tell i the backend to "raise"
this new Events automaticly and not by a user-defined script? 

>  
> > My Question is now:
> > Is there a better way to get mnf use ath0 in the normal way?
> > 
> > And there seems to be a little bug in 
> > /usr/share/naat/template/etc/sysconfig/dhcpd (line 46)
> > 
> > there is a "," as separator for the Interfaces...
> > shouldn't it be " " if dhcpd listen on more than on interface?
> > after i modified the template dhcpd starts without errors.
> > ------------------------------------------------
> > from:
> >     $interfaces .= $separator.$temp;
> >     $separator = ",";
> > to:
> >     $interfaces .= $separator.$temp;
> >     $separator = " ";
> 
> you're right .. I will change that :o)
> 
> > ------------------------------------------------
> > 
> > I'm using mnf2-beta2
> > 
> > # rpm -qa | grep naat
> > naat-frontend-www-common-0.8-45mdk
> > naat-frontend-www-en-0.8-45mdk
> > httpd2-naat-0.8-11mdk
> > naat-backend-0.8-45mdk
> > naat-monitoring-0.8-8mdk
> 
> thank you for your mail ... I will upload your changes.
> 
> have a nice day,

thank you, for your great work... I will use it every day :-)

greatz 
FrankB







____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to