On Sun, 29 May 2005, Noam Meltzer wrote:

intersting. i used net-snmp. (standard?) how did you configure it in the router? or even better, what is your router firmware version?

To configure go to Advanced->SNMP and set all defaults, Apply, then Advanced->Access Control->SNMP and tick the 'LAN' box for SNMP, and click Apply. Add your controller's IP and tick Add, then Apply. After that, you can do this:

scli -c 'show ip addresses' router

or, more exactly:

MYIP=`scli -c 'show ip addresses' router|grep ppp0|cut -d' ' -f1`

scli is probably the best free cli SNMP interface that exists. Take some time and read the manual page. It is huge. router is the DNS name exposed by the router on the LAN by default.

The router runs Linux 2.4.x on a MIPS risc cpu.

Peter

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to