On 2/14/02 3:49 AM, "Linux" [EMAIL PROTECTED] pressed the keys forming the message:
> Hi > > I would like to retrieve data from my ADSL router (Nokia M11). > I can either get into it via HTTP or Telnet. > Can anyone tell me how I can use either of these methods to retrieve > data such as traffic used etc. I know the commands to get to the traffic > page, but I do not know how to pass passwords via telnet to automatically > log into the router or store the results on my had disk once I have got > into the appropriate section of the router. > > Alternatively if I could issue a command to retrieve http data to my hard > disk > I would be most grateful In the case that your router does not support snmp (as most low-end routers don't), you could use wget to transfer the http page locally, and then use some standard tools to extract information from it. I did this for a friend while he was on ADSL. I used sed (I think) to get the information, stuff it into an e-mail and send out information daily. Check out the man page for wget. It should do what you want. -- Ed Marczak [EMAIL PROTECTED] _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list