From: Christopher N. <ch...@ne...> - 2005-09-07 13:57:01
|
Hi, I think I have everything in order. There isn't too much interesting stuff added, but some modifications to the iwsettings.php and functions.php to try and clean up some things. http://www.nesser.org/src/wifiadmin-ness.tar.gz I DO NOT HAVE A GOOD TESTING ENVIRONMENT. So please give me some feedback on these changes (good and bad are both accepted). =20 If they are alright, I'll commit them. Cheers, Chris --=20 PGP Public Key: http://www.nesser.org/pgp-key/ 09:54:44 up 19:22, 7 users, load average: 0.16, 0.21, 0.28 |
From: Giorgio D. <gio...@gi...> - 2005-09-15 09:42:30
|
Hi Chris, I'm testing on a WRAP board with pebble/Voyage linux and I have some error message. First question: I have PHP 4.3.0 configured with THTTPD, as I read on previous mailings should I use PHP 5 instead? Anyway, here attached the errors I get: -------------------------------------------------------------------- in ==> WIRELESS STATUS Fatal error: Call to undefined function: str_ireplace() in /var/www/include/functions.php on line 397 in ==>Wireless Settings Fatal error: Call to undefined function: str_ireplace() in /var/www/include/functions.php on line 397 ==>Bridge Settings Notice: Undefined variable: name in /var/www/include/functions.php on line 680 Notice: Undefined variable: id in /var/www/include/functions.php on line 680 Notice: Undefined variable: stp_en in /var/www/include/functions.php on line 680 Notice: Undefined variable: ifs in /var/www/include/functions.php on line 680 Warning: Invalid argument supplied for foreach() in /var/www/brsettings.php on line 55 Notice: Undefined index: device in /var/www/brsettings.php on line 59 ==>Wireless Security Settings Fatal error: Call to undefined function: str_ireplace() in /var/www/include/functions.php on line 397 ----------------------------------------------------------------------------------------------------- I made a little search and "str_ireplace" function is in PHP 5....argh. For bridge settings I do not really understand because the settings are fine in "ifconfig.php" under br0 ....well, may be you can see better then me where the problem is.... Cheers Giorgio >Hi, > >I think I have everything in order. There isn't too much interesting >stuff added, but some modifications to the iwsettings.php and >functions.php to try and clean up some things. > > http://www.nesser.org/src/wifiadmin-ness.tar.gz > >I DO NOT HAVE A GOOD TESTING ENVIRONMENT. So please give me some >feedback on these changes (good and bad are both accepted). > >If they are alright, I'll commit them. > >Cheers, >Chris >-- >PGP Public Key: http://www.nesser.org/pgp-key/ >09:54:44 up 19:22, 7 users, load average: 0.16, 0.21, 0.28 |
From: Thimios D. <dim...@ce...> - 2005-09-15 11:41:47
Attachments:
str_ireplace.php
|
About the str_ireplace not available in php4, (which it seems to be the only php5 function needed), i found this implementation of it in php4. We could either place an "include_once(str_ireplace.php) statement at the top of include/functions.php, or paste the contents of str_ireplace.php in functions.php. I also get the rest of the errors (probably because i don't have a bridge interface). I hope that next week i will have more time to help. On Thu, 2005-09-15 at 20:41 +1100, Giorgio Ducci wrote: > Hi Chris, > > I'm testing on a WRAP board with pebble/Voyage linux and I have some error > message. First question: I have PHP 4.3.0 configured with THTTPD, as I read > on previous mailings should I use PHP 5 instead? Anyway, here attached the > errors I get: > -------------------------------------------------------------------- > in ==> WIRELESS STATUS > Fatal error: Call to undefined function: str_ireplace() in > /var/www/include/functions.php on line 397 > > in ==>Wireless Settings > Fatal error: Call to undefined function: str_ireplace() in > /var/www/include/functions.php on line 397 > > ==>Bridge Settings > Notice: Undefined variable: name in /var/www/include/functions.php on line 680 > Notice: Undefined variable: id in /var/www/include/functions.php on line 680 > Notice: Undefined variable: stp_en in /var/www/include/functions.php on > line 680 > Notice: Undefined variable: ifs in /var/www/include/functions.php on line 680 > > > Warning: Invalid argument supplied for foreach() in > /var/www/brsettings.php on line 55 > > > Notice: Undefined index: device in /var/www/brsettings.php on line 59 > > ==>Wireless Security Settings > Fatal error: Call to undefined function: str_ireplace() in > /var/www/include/functions.php on line 397 > ----------------------------------------------------------------------------------------------------- > I made a little search and "str_ireplace" function is in PHP 5....argh. For > bridge settings I do not really understand because the settings are fine in > "ifconfig.php" under br0 ....well, may be you can see better then me where > the problem is.... > Cheers > Giorgio > > > >Hi, > > > >I think I have everything in order. There isn't too much interesting > >stuff added, but some modifications to the iwsettings.php and > >functions.php to try and clean up some things. > > > > http://www.nesser.org/src/wifiadmin-ness.tar.gz > > > >I DO NOT HAVE A GOOD TESTING ENVIRONMENT. So please give me some > >feedback on these changes (good and bad are both accepted). > > > >If they are alright, I'll commit them. > > > >Cheers, > >Chris > >-- > >PGP Public Key: http://www.nesser.org/pgp-key/ > >09:54:44 up 19:22, 7 users, load average: 0.16, 0.21, 0.28 > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Wifiadmin-users mailing list > Wif...@li... > https://lists.sourceforge.net/lists/listinfo/wifiadmin-users |
From: Giorgio D. <gio...@gi...> - 2005-09-17 02:39:49
|
Hi Thimios, thanks for the prompt answer. I tested with your "str_ireplace.php" (I found it as part of php-compat, too) and I get now only one error message on the "brsettings.php", same as before. I have a bridge that works fine on my wrap. I think that the problem is on the "brsettings.php" page. I wrote a very basic simple (I'm not a good programmer as you guys) "brsettings-gio.php" page that simply show the bridge settings, here attached, and all elements are well shown. Unfortunately I do not know what exactly the Chris' s "brsettings" page should show in addition at the current settings....I use atheros not prism based mPCI card and "wireless security" page still complain because hostap not found in /proc directory. By the way, what is exactly new in this release? Should it write "permanently" the settings so after a reboot you do not have to re-write them? Cheers Giorgio >About the str_ireplace not available in php4, (which it seems to be the >only php5 function needed), i found this implementation of it in php4. >We could either place an "include_once(str_ireplace.php) statement at >the top of include/functions.php, or paste the contents of >str_ireplace.php in functions.php. > >I also get the rest of the errors (probably because i don't have a >bridge interface). > >I hope that next week i will have more time to help. > > > >On Thu, 2005-09-15 at 20:41 +1100, Giorgio Ducci wrote: > > Hi Chris, > > > > I'm testing on a WRAP board with pebble/Voyage linux and I have some error > > message. First question: I have PHP 4.3.0 configured with THTTPD, as I > read > > on previous mailings should I use PHP 5 instead? Anyway, here attached the > > errors I get: > > -------------------------------------------------------------------- > > in ==> WIRELESS STATUS > > Fatal error: Call to undefined function: str_ireplace() in > > /var/www/include/functions.php on line 397 > > > > in ==>Wireless Settings > > Fatal error: Call to undefined function: str_ireplace() in > > /var/www/include/functions.php on line 397 > > > > ==>Bridge Settings > > Notice: Undefined variable: name in /var/www/include/functions.php on > line 680 > > Notice: Undefined variable: id in /var/www/include/functions.php on > line 680 > > Notice: Undefined variable: stp_en in /var/www/include/functions.php on > > line 680 > > Notice: Undefined variable: ifs in /var/www/include/functions.php on > line 680 > > > > > > Warning: Invalid argument supplied for foreach() in > > /var/www/brsettings.php on line 55 > > > > > > Notice: Undefined index: device in /var/www/brsettings.php on line 59 > > > > ==>Wireless Security Settings > > Fatal error: Call to undefined function: str_ireplace() in > > /var/www/include/functions.php on line 397 > > > ----------------------------------------------------------------------------------------------------- > > I made a little search and "str_ireplace" function is in PHP 5....argh. > For > > bridge settings I do not really understand because the settings are > fine in > > "ifconfig.php" under br0 ....well, may be you can see better then me where > > the problem is.... > > Cheers > > Giorgio > > > > > > >Hi, > > > > > >I think I have everything in order. There isn't too much interesting > > >stuff added, but some modifications to the iwsettings.php and > > >functions.php to try and clean up some things. > > > > > > http://www.nesser.org/src/wifiadmin-ness.tar.gz > > > > > >I DO NOT HAVE A GOOD TESTING ENVIRONMENT. So please give me some > > >feedback on these changes (good and bad are both accepted). > > > > > >If they are alright, I'll commit them. > > > > > >Cheers, > > >Chris > > >-- > > >PGP Public Key: http://www.nesser.org/pgp-key/ > > >09:54:44 up 19:22, 7 users, load average: 0.16, 0.21, 0.28 > > > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: > > Tame your development challenges with Apache's Geronimo App Server. > Download > > it for free - -and be entered to win a 42" plasma tv or your very own > > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > > _______________________________________________ > > Wifiadmin-users mailing list > > Wif...@li... > > https://lists.sourceforge.net/lists/listinfo/wifiadmin-users |
From: Christopher N. <ch...@ne...> - 2005-09-20 14:17:35
|
On Sat, 2005-09-17 at 13:39 +1100, Giorgio Ducci wrote: > thanks for the prompt answer. I tested with your "str_ireplace.php" (I=20 > found it as part of php-compat, too) and I get now only one error message= =20 > on the "brsettings.php", same as before. I have a bridge that works fine = on=20 Giorgio, thanks for taking the time to test this out. I hope you are enjoying my changes. Which error message is it? :) > my wrap. I think that the problem is on the "brsettings.php" page. I wrot= e=20 > a very basic simple (I'm not a good programmer as you guys)=20 > "brsettings-gio.php" page that simply show the bridge settings, here=20 > attached, and all elements are well shown. Unfortunately I do not know wh= at=20 > exactly the Chris' s "brsettings" page should show in addition at the=20 It should simply show the output of `brctl` (you need to define that path to that user space program) in a tabbed output for each bridge you define. > current settings....I use atheros not prism based mPCI card and "wireless= =20 > security" page still complain because hostap not found in /proc directory= .=20 > By the way, what is exactly new in this release? Should it write=20 Mostly I made the iwsettings.php page act like other inputs filling in the current values and checking if you made changes to them. > "permanently" the settings so after a reboot you do not have to re-write = them? No, not in this release. =20 I was trying to find a good Key Value Pair C library to store configurations in a file, but have yet to do so. =20 WifiAdmin users who have already set up MySQL would likely want to keep their settings in the DB. Cheers, Chris --=20 PGP Public Key: http://www.nesser.org/pgp-key/ 10:09:41 up 31 min, 2 users, load average: 0.22, 0.12, 0.10 |