l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
December 2: Social gathering
Next Installfest:
TBD
Latest News:
Nov. 18: Club officer elections
Page last updated:
2005 Oct 16 15:57

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] CUPS on FreeBSD
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] CUPS on FreeBSD



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. :(


_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.