wget and --postdata

View: New views
2 Messages — Rating Filter:   Alert me  

wget and --postdata

by Sam Lander :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

[First: thanks to all the developers, I have just moved to 3.1.1beta3 and
everything (except for my own fat fingers/brain) has worked just fine.]

My problem is:

   1. I have a cable plan that will, if I break the 'cap' start charging me
   punitively. I want to avoid that.
   2. I like to run a fairly open wireless environment for my friends,
   family and guests.

My proposed solution is to make my LEAF box:

   1. Look up the usage statistics for my account
   2. Apply traffic shaping (or selective turning-off) to stay smoothly
   within the 'cap'


I looked at the usage meter, and it turns out that it is protected by a
https login page and sessionID cookies. Tricky.
So, I installed wget-ssl (thanks for that too!) and tried this beginning
script:

breaker# wget --post-data='password=\[mypasswd]&Action=login' \
   --save-cookies=mycookies.txt \
   --keep-session-cookies \
   https://[usagepageURL]/?username=[myusername]

unfortunately, it gives me:
   wget: unrecognized option `--post-data=password=volley12&Action=login'
   Usage: wget [OPTION]... [URL]...

I suppose because --postdata is not compiled into this wget (Version:
1.8.2-11 Rev 1 uClibc 0.9.28)  or because it wasn't available back then?

Questions:
Am I going about this in a sensible way? and
Is there a wget-ssl that does --postdata?


Many thanks again,

Sam
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
------------------------------------------------------------------------
leaf-user mailing list: leaf-user@...
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Net-snmpd leaks memory

by Erich Titl :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Folks

More a nuisance than anything else. I was observing a loss of free
memory on our systems over time, the culprit appears to be the snmpd
process. Googling around revealed I was not alone. It appears that there
are a number of fixes in more recent net-snmpd versions which address
memory leaks.

Right now I just restart the snmpd process daily, but in the long run I
will have to address this.

cheers

Erich

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
------------------------------------------------------------------------
leaf-user mailing list: leaf-user@...
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/