permission denied when sending broadcast UDP...

Nick Estes plug-discuss@lists.PLUG.phoenix.az.us
Mon, 18 Jun 2001 17:11:42 -0700 (MST)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm writing a little program in perl to configure netgear's me102 access
point, and I'm having a problem discovering them on the network.  The way
to do it is with a broadcast snmp request, but I get a permission denied.
(it's not a root thing, root has the same problem)

I believe it is because the udp socket needs to have the SO_BROADCAST flag
turned on, so I edited the Net::SNMP module to call setsockopt with that
flag, but it didn't seem to cure the problem.  Any ideas?

	--Nick

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: mmm... gpg is yummy...

iD8DBQE7LpjDv+hjYTGg7s4RAhyHAJ4ilN7THlZJJk79klDd7zUtibxc5QCbBn+e
EEHUfmH7uP0pVCYgzNebluk=
=uqub
-----END PGP SIGNATURE-----