[vox-tech] CUPS on FreeBSD
Jeffrey J. Nonken
jjn_lugod at nonken.net
Sun Oct 16 11:33:57 PDT 2005
On Sat, 15 Oct 2005 12:11:30 -0700, Jeffrey J. Nonken wrote:
> Not knowing what else to do, figuring I had nothing to lose, I
> configured it:
>
> aphrodite# ifconfig lo0 127.0.0.1 netmask 255.255.255.0 aphrodite#
> ifconfig fxp0: <snip>
> plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500 lo0:
> flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet
> 127.0.0.1 netmask 0xffffff00 inet6 ::1 prefixlen 128
> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 aphrodite# ping
> localhost
> PING localhost.wyndow.reality (127.0.0.1): 56 data bytes 64 bytes
> from 127.0.0.1: icmp_seq=0 ttl=64 time=0.114 ms
This still seemed wrong. I've never had to have the loopback interface
in the rc.conf before. And sure enough, there was an ifconfig_lo0 in
etc/defaults/rc.conf. So why didn't it work without one in
etc/rc.conf? And I still had a daemon complaining at boot that it
couldn't use the port it needed.
I'd used Webmin once (during our recent move) to change from DHCP to
fixed IP, mostly because I couldn't find my notes and didn't feel like
slogging through the documentation yet again. (Eventually I found the
notes.) One of the things Webmin put into rc.conf was a line that
said:
network_interfaces=fxp0
After finding network_interfaces in man rc.conf I looked in
/etc/defaults/rc.conf and found... guess what? ...
network_interfaces="auto". This says to me that because of the line in
/etc/rc.conf all the interfaces were being shut off except fxp0. Bad.
I commented the extraneous line in etc/rc.conf as well as the
ifconfig_lo0 line I'd added (there's one in etc/defaults/rc.conf, of
course) and rebooted, and suddenly that daemon can find its port.
CUPS still won't print, though. :(
More information about the vox-tech
mailing list