David,

Derek filed a ticket: http://www.packetfence.org/bugs/view.php?id=1353 and I 
commented on your questions and solution proposal. Have a look if you are 
interested.

Cheers!

Le Jeudi 29 Décembre 2011 09:24 EST, Derek Wuelfrath <[email protected]> a 
écrit: 
 
> Hi David!
> 
> Thanks for the heads up, we'll look into that!
> 
> On 12/28/11 12:00 , WYGODZKI David wrote:
> >
> > Hello,
> >
> > The function get_networkinfos actualy parses the output of 
> > "/sbin/ifconfig --a"
> >
> > Trying to match for "inet addr" and "mask" (to make the mater short)
> >
> > But our system is localized (in French ) so addr -àadr and mask -> 
> > masque ...
> >
> > It gave us an empty networks.conf that we had to populate by hand...
> >
> > Without that, rerunning configurator.pl gave the error "Invalid 
> > existing networks configuration file :" at ./configurator.pl line 89
> >
> > Solution:
> >
> > Line 465 we made a modification ...
> >
> > If ( ( /inet 
> > addr:((?:\d{1,3}\.){3}\d{1,3}).+Mask:((?:\d{1,3}\.){3}\d{1,3})/ ) || ( 
> > /inet adr:((?:\d{1,3}\.){3}\d{1,3}).+Masque:((?:\d{1,3}\.){3}\d{1,3})/ 
> > ) ) {
> >
> > So now it detects the interfaces ....
> >
> > Question:
> >
> >  1) why not using /sbin/ip (from iproute package)
> >
> > 2) the script include the Net::Interface module why not using this ?
> >
> >  ;)
> >
> 
> -- 
> Derek Wuelfrath
> [email protected] <mailto:[email protected]> :: +1.514.447.4918 
> x110 :: www.inverse.ca <http://www.inverse.ca>
> Inverse inc. :: Leaders behind SOGo (www.sogo.nu <http://www.sogo.nu>) 
> and PacketFence (www.packetfence.org <http://www.packetfence.org>)
 
 
 
-- 
Olivier Bilodeau
[email protected]  ::  +1.514.447.4918 *115  ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)
 


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Packetfence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to