Christopher Ness | 7 Sep 15:56

Testing Please

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
Giorgio Ducci | 15 Sep 11:41

Re: Testing Please

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
(Continue reading)

Thimios Dimopulos | 15 Sep 13:41
Picon
Favicon

Re: Testing Please

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
(Continue reading)

Thiago Miacci | 15 Sep 16:43
Picon

(no subject)


-------------------------------------------------------
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
Giorgio Ducci | 17 Sep 04:39

Re: Testing Please

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.
>
>
>
(Continue reading)

Christopher Ness | 20 Sep 16:16

Re: Testing Please

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

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

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 
> security" page still complain because hostap not found in /proc directory. 
> By the way, what is exactly new in this release? Should it write 

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.  
(Continue reading)


Gmane