Search found 44 matches

by hujambo
Thu Sep 30, 2021 7:04 pm
Forum: Coding Questions
Topic: SNMP Get
Replies: 15
Views: 5011

Re: SNMP Get

Agreed Infratec.

Your option is much better and works perfectly.

Many thanks for all your help,

Ed
by hujambo
Wed Sep 29, 2021 11:17 pm
Forum: Coding Questions
Topic: SNMP Get
Replies: 15
Views: 5011

Re: SNMP Get

Thanks Infratec, I've just adjusted your/Michaels code for 2.1c and it seems to work. Will try this latest option too.


;
; snmp.pbi
;
; Adjusted by Hujambo for v2.1c and 64 bit, thanks to Infratec

; 1.20 use lists instead of fixed sized arrays
; 1.11 fix for unicode
; 1.10 added negative ...
by hujambo
Wed Sep 29, 2021 9:23 pm
Forum: Coding Questions
Topic: SNMP Get
Replies: 15
Views: 5011

Re: SNMP Get

Hi Infratec,

I have tried v2c connection to the router and it works perfectly with SnmpGet and also using PHP snmp2_get. I haven't tried Wireshark to inspect what is going on, but with the Pure Basic code I'm getting 'NAME ERROR' returned for any OID I try that is a 64bit counter - 32bit counters ...
by hujambo
Wed Sep 29, 2021 7:45 pm
Forum: Coding Questions
Topic: SNMP Get
Replies: 15
Views: 5011

Re: SNMP Get

Sorry, me again.

Infratec's (Michael's) code works perfectly for SNMP V1 but not V2 so I cant view any 64bit counters.

Anyone have anything that works for V2?

Many thanks,

Ed
by hujambo
Mon Sep 27, 2021 7:37 pm
Forum: Coding Questions
Topic: SNMP Get
Replies: 15
Views: 5011

Re: SNMP Get

Thank you Infratec, that is perfect.

Thanks again for your help,

Ed
by hujambo
Sat Sep 25, 2021 12:29 am
Forum: Coding Questions
Topic: SNMP Get
Replies: 15
Views: 5011

Re: SNMP Get

Yes Infratec, SNMP Walk working. I'll revisit Michael's code. All I was getting was 0's

Thanks again,

Ed
by hujambo
Fri Sep 24, 2021 8:39 pm
Forum: Coding Questions
Topic: SNMP Get
Replies: 15
Views: 5011

Re: SNMP Get

Thanks for the link Infratec. Yes, I've tried that example and couldn't get it working.
by hujambo
Fri Sep 24, 2021 6:27 am
Forum: Coding Questions
Topic: SNMP Get
Replies: 15
Views: 5011

Re: SNMP Get

Thanks Jim,

If all else fails that will be my option too :)
by hujambo
Fri Sep 24, 2021 4:46 am
Forum: Coding Questions
Topic: SNMP Get
Replies: 15
Views: 5011

SNMP Get

Hi guys,

I'm looking for information on either a crossplatform dll(s) (Windows and Linux) with some code example (happy to purchase if required) or native code for SNMP Get (pref SNMP V2).

I should say that I have looked through all the topics on the forum for SNMP and found nothing up to date ...
by hujambo
Sat Jan 16, 2021 12:13 am
Forum: Coding Questions
Topic: HTTPRequest GET with user/password
Replies: 2
Views: 831

HTTPRequest GET with user/password

Hi guys,

I'm looking to connect to a device via HTTPS that is on a private network with a user/password to access it's web gui. User:Password@https://192.168.1.10 doesn't work btw. Can you run a HTTPRequest GET an include user/password info? Idealy I want to use ReceiveHTTPFile to access the status ...
by hujambo
Fri Sep 06, 2019 8:03 am
Forum: Coding Questions
Topic: MySQL Handshake Errors
Replies: 2
Views: 1025

Re: MySQL Handshake Errors

Thanks for the reply mk-soft. I tried setting a user with all rights and it still happens. They are handshake errors, which according to the Maria/MySql docs are at a 'hardware protocol level'. So the queries are working, results back ok and each one finished with finishquery but during the process ...
by hujambo
Fri Sep 06, 2019 3:50 am
Forum: Coding Questions
Topic: MySQL Handshake Errors
Replies: 2
Views: 1025

MySQL Handshake Errors

Hi guys,

Has anyone else experienced handshake errors using the built in MySQL features of 5.7LTS with Windows?

I'm finding that if I connect to a database via XAMP on 127.0.0.1 I get no errors - no handshake errors at all, but when I connect to any other server (with any pc , on any network) I ...
by hujambo
Fri Jul 19, 2019 8:05 pm
Forum: Coding Questions
Topic: 1 of 10 labels not displaying
Replies: 18
Views: 3313

Re: 1 of 10 labels not displaying

Thanks Josh and Shardik ... I won't be using numbers any more :o
by hujambo
Fri Jul 19, 2019 2:13 am
Forum: Coding Questions
Topic: 1 of 10 labels not displaying
Replies: 18
Views: 3313

Re: 1 of 10 labels not displaying

And if you don't name Enumeration sections identically for the same purpose (eg. Gadgets) the Enumeration starts at 0 each time which can cause major problems.


Enumeration Gadgets
#Button1
#Button2
EndEnumeration

Enumeration SomethingElse
#Test1
#Test2
EndEnumeration

Debug "#Button1 ...
by hujambo
Fri Jul 19, 2019 1:07 am
Forum: Coding Questions
Topic: 1 of 10 labels not displaying
Replies: 18
Views: 3313

Re: 1 of 10 labels not displaying

So am I confused about how Enumeration work HeX0Rs?

My understating, right or wrong, is that the following:


Enumeration Images 500
; Images
#img0
#img1
#img2
#img3
#headerImg
#searchIcon
EndEnumeration


Just starts the enumeration count at 500.. not that it reserves 500 images?

EDITED ...