Response copied from private mail.
Steve Cannon wrote:
>
> You can ignore my previous mail, I added a quick hack to the
> Util:decode_mac function to assign $rawstr a default value if
> undefined – this doesn’t solve the problem of why the function under
> certain circumstances can be called without args, but it does the
> trick as this only affects logging
I suspect this may be due to the interfaces being configured for IPv6. I
don't run IPv6 on my internal network so haven't tested my code with it.
> Also, one other change I made was to change Util:get_local_addressess
>
> From: $regex = qr{IP Address.* ((?:\d{1,3}\.){3}\d{1,3})};
>
> To: $regex = qr{IPv4 Address.*
> ((?:\d{1,3}\.){3}\d{1,3})};
>
> ..as the IPConfig function under vista now returns info on IPv4 and
> IPv6 settings, however, I am not sure whether the IP address(es)
> returned from get_local_addresses are actually used.
This supports my theory about IPv6.
> I also received a “Can't use string (“64/128”) as a HASH ref when
> using strict refs” (or a message to that effect) from client.pm. So
> rather than investigating the cause (which with my limited knowledge
> would have taken a while;-), I just commented out use strict – not a
> good solution I know.
This is a perl 5.10.x thing. I see the same msg after upgrading to perl
5.10 - both with ActivePerl 5.10.0 and perl under cygwin 5.10.0.
I haven't worked out whether it's a problem in my code which was not
picked up by previous versions of perl, or whether it's a new bug in
perl 5.10.x
> Once I had done the above, I could use the tool.
Cool.
> You have done an excellent job with this! It allowed me to see
> exactly what settings had been provided by the SBC – and for some
> reason, quite a few were missing.
I need reports like yours to get the code to be more robust and be more
sure it will work in more environments, so thanks for using it and
thanks for the report.
> I have got the SBR working with a wired connection, but need to do
> some more investigation on the wireless side (am not sure if there is
> a problem with the WEP key).
Did you see Felix's reply in this thread about how to use the UDAP shell
to configure the SBR correctly? It has to be done in a certain order,
including a reset in the middle of the configuration. Might be worth
giving that a go.
> One other thing I noticed is that for lan_ip_mode, I think 0=static
> and 1=DHCP.
I'll double check that, but I'm pretty sure DHCP=0.
Thanks again,
R.
--
NOBODY expects the Spanish Inquisition! Our chief weapon is
surprise...surprise and fear...fear and surprise.... Our two weapons are
fear and surprise...and ruthless efficiency.... Our *three* weapons are
fear, surprise, and ruthless efficiency...and an almost fanatical
devotion to the Pope.... Our *four*...no... *Amongst* our weapons....
Amongst our weaponry...are such elements as fear, surprise.... I'll come
in again.
_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/beta