Jerry | 25 Oct 05:01

Cannot log in to wifiadmin

Hello!
 
Im hopeing someone can help me out.  I have a voyage linux (2.6.8) Wrap board using thttpd and php and a tweaked version of wifiadmin, (tweaked by metrix communications (http://metrix.net/metrix/howto/metrix-pebble.html)) .  I get the login page but connot login with any passwords that I have used, or what is supposed to be the default (admin:wifiadmin)   This is what happened:
 
I originally got the regular distribution of wifiadmin from sourceforge (0.0.4), and untarred it to /var/www/wifiadmin/, edited the include/config.php file to turn off mysql and then I http'd to it, and logged in as the admin with the default password of wifiadmin, there was a few errors, but otherwise it seemed to "work" i could create users, etc...  I did create a user, but didnt change the admin password (i am testing in house). 
 
well, after a bit of googleing i figured out that it takes some tweaking to make wifiadmin work with voyage.  I had the bright idea to use the metrix version as it was tweaked for a pebble linux based system, so...
 
I just deleted the /var/www/wifiadmin folder. I then untarred the metrix version in www-root folder (/var/www/) so it will answer a direct http request.  so far so good. the metrix version creates a password file in /etc/wifiadmin.passwd.  I didnt want to give root permissions to the httpd user in /etc so I edited to place it in /etc/wifi/wifiadmin.passwd and placed the correct permissions on the /etc/wifi directory. 
 
the page displays correctly but I cannot log into wifiadmin with ANY user/pass that I know of.  I have tried all that are valid on the box, and default, and those that I had used/created when it DID work the first time, nothing works.   I have even tried to reverse the situation and remove the tweaked version and tried the 0.0.4 again, and still cant log in with anything.
 
Is there a way to reset the password, or create (edit) the passwd file to "create" a user/pass??  Or am I just S.O.L.?  any ideas and help will be great.
 
Thanks all
 
Jerryf
 
Rob Flickenger | 25 Oct 08:53
Favicon

Re: Cannot log in to wifiadmin


On Oct 24, 2005, at 8:01 PM, Jerry wrote:

> Im hopeing someone can help me out.  I have a voyage linux (2.6.8)  
> Wrap board using thttpd and php and a tweaked version of wifiadmin,  
> (tweaked by metrix communications (http://metrix.net/metrix/howto/ 
> metrix-pebble.html)) .  I get the login page but connot login with  
> any passwords that I have used, or what is supposed to be the  
> default (admin:wifiadmin)   This is what happened:

I maintain Metrix Pebble and our version of WiFiAdmin.  Metrix pebble  
uses the system password mechanism.  On our distribution the default  
is root/root.

> I just deleted the /var/www/wifiadmin folder. I then untarred the  
> metrix version in www-root folder (/var/www/) so it will answer a  
> direct http request.  so far so good. the metrix version creates a  
> password file in /etc/wifiadmin.passwd.  I didnt want to give root  
> permissions to the httpd user in /etc so I edited to place it in / 
> etc/wifi/wifiadmin.passwd and placed the correct permissions on  
> the /etc/wifi directory.

Hoo boy, that's a bad idea.  I would remove that immediately.  The  
Metrix branch of WiFiAdmin is very, very divergent from the main at  
this stage.  It will probably only work properly with our  
distribution (not really on purpose, but because my time is limited  
to work on it...)  There's about a billion security holes and other  
problems if you run it on any other distribution.  Roll back.

Cheers,

--Rob

-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
Jerry | 25 Oct 13:56

Re: Cannot log in to wifiadmin

Hello!

root/root doesnt work either.

I cant roll back, that doesnt work either... I guess I dont need wifiadmin, 
but it sure would be nice.

I just dont understand why I would have to reformat to reinstall the 
thing...  :(

Thanks

Jerryf

----- Original Message ----- 
From: "Rob Flickenger" <rob <at> nocat.net>
To: "Jerry" <mrcool <at> terraworld.net>
Cc: <wifiadmin-users <at> lists.sourceforge.net>
Sent: Tuesday, October 25, 2005 1:53 AM
Subject: Re: [Wifiadmin-users] Cannot log in to wifiadmin

>
> On Oct 24, 2005, at 8:01 PM, Jerry wrote:
>
>> Im hopeing someone can help me out.  I have a voyage linux (2.6.8)  Wrap 
>> board using thttpd and php and a tweaked version of wifiadmin,  (tweaked 
>> by metrix communications (http://metrix.net/metrix/howto/ 
>> metrix-pebble.html)) .  I get the login page but connot login with  any 
>> passwords that I have used, or what is supposed to be the  default 
>> (admin:wifiadmin)   This is what happened:
>
> I maintain Metrix Pebble and our version of WiFiAdmin.  Metrix pebble 
> uses the system password mechanism.  On our distribution the default  is 
> root/root.
>
>> I just deleted the /var/www/wifiadmin folder. I then untarred the  metrix 
>> version in www-root folder (/var/www/) so it will answer a  direct http 
>> request.  so far so good. the metrix version creates a  password file in 
>> /etc/wifiadmin.passwd.  I didnt want to give root  permissions to the 
>> httpd user in /etc so I edited to place it in / etc/wifi/wifiadmin.passwd 
>> and placed the correct permissions on  the /etc/wifi directory.
>
> Hoo boy, that's a bad idea.  I would remove that immediately.  The  Metrix 
> branch of WiFiAdmin is very, very divergent from the main at  this stage. 
> It will probably only work properly with our  distribution (not really on 
> purpose, but because my time is limited  to work on it...)  There's about 
> a billion security holes and other  problems if you run it on any other 
> distribution.  Roll back.
>
> Cheers,
>
> --Rob
>
> 

-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information

Gmane