[Nut-upsuser] upsc "Error: ... Can't assign requested address"

Charles Lepple clepple at gmail.com
Mon Aug 20 23:31:30 UTC 2007


On 8/20/07, Bryan <gruvin at gmail.com> wrote:
> Hi Charles. Thanks for your reply. :)
>
> On 21/08/07, Charles Lepple <clepple at gmail.com> wrote:
> > What version of FreeBSD are you running?
>
> Version 6.1, I think. It was installed from 6.1 CD's but's it's had a
> number of updates.
>
> > Is IPv6 enabled?
>
> Yes, apparently so. But only on the loopback device far as I can tell...
>
> # ifconfig
> rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         inet 192.168.1.11 netmask 0xffffff00 broadcast 192.168.1.255
>         ether 00:0a:cd:12:f0:af
>         media: Ethernet autoselect (1000baseTX <full-duplex>)
>         status: active
> plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
>         inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
>         inet6 ::1 prefixlen 128

I think that's part of the problem - the loopback interface does not
have an IPv4 address assigned. In a normal IPv4 setup, "localhost"
resolves to 127.0.0.1, which should be bound to the loopback
interface.

-- 
- Charles Lepple



More information about the Nut-upsuser mailing list