Enabling CUPS on FreeBSD 7.0

2008-03-31 Thread Leslie Jensen
In the instructions I can find on the Internet about the above subject, 
one needs a file called cups.sh which should linked from cups.sh.sample.


None of the files exist on my newly installed 7.0-RELEASE system.

I can ofcourse copy this file from another system but I'm thinking that 
maybe there's a change and this file is no longer needed?


Any comments on this?

Thanks

/Leslie
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Enabling CUPS on FreeBSD 7.0

2008-03-31 Thread Outback Dingo
cd /usr/ports/print/cups

make && mke install && make clean


then after done building, add


cupsd_enable="YES"

to /etc/rc.conf

then /usr/local/etc/rc.d/cupsd start

point your browser at http://"hostname-orip":631

and configure




On Mon, Mar 31, 2008 at 3:28 PM, Leslie Jensen <[EMAIL PROTECTED]> wrote:

> In the instructions I can find on the Internet about the above subject,
> one needs a file called cups.sh which should linked from cups.sh.sample.
>
> None of the files exist on my newly installed 7.0-RELEASE system.
>
> I can ofcourse copy this file from another system but I'm thinking that
> maybe there's a change and this file is no longer needed?
>
> Any comments on this?
>
> Thanks
>
> /Leslie
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> [EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: pkg_add goofiness in 7.0

2008-03-31 Thread Kris Kennaway

[EMAIL PROTECTED] wrote:

I believe this is the same as the error message I saw originally
(when I had not specified -v, so it wasn't buried among a pile of
other stuff):

xmlcatmgr: unbalanced arguments for `add' action

# pkg_add -Kv linuxdoc*
Requested space: 36624 bytes, free space: 774946816 bytes in 
/var/tmp/instmp.CfA0bH
Package 'linuxdoc-1.1_1' depends on 'xmlcatmgr-2.2' with 'textproc/xmlcatmgr' 
origin.
 - already installed.
Package 'linuxdoc-1.1_1' depends on 'iso8879-1986_2' with 'textproc/iso8879' 
origin.
 - already installed.
extract: Package name is linuxdoc-1.1_1
extract: CWD to /usr/local
extract: /usr/local/share/sgml/linuxdoc/README
extract: /usr/local/share/sgml/linuxdoc/catalog
extract: execute '/usr/local/bin/xmlcatmgr -sc 
/usr/local/share/sgml/catalog.ports add linuxdoc/catalog'
xmlcatmgr: unbalanced arguments for `add' action
pkg_add: command '/usr/local/bin/xmlcatmgr -sc 
/usr/local/share/sgml/catalog.ports add linuxdoc/catalog' failed
extract: /usr/local/share/sgml/linuxdoc/freebsd-1.0.dtd
extract: /usr/local/share/sgml/linuxdoc/freebsd-1.1.dtd
extract: /usr/local/share/sgml/linuxdoc/linuxdoc.dec
extract: /usr/local/share/sgml/linuxdoc/original.dtd
extract: CWD to .
Running mtree for linuxdoc-1.1_1..
mtree -U -f +MTREE_DIRS -d -e -p /usr/local >/dev/null
Attempting to record package into /var/db/pkg/linuxdoc-1.1_1..
Trying to record dependency on package 'xmlcatmgr-2.2' with 
'textproc/xmlcatmgr' origin.
Trying to record dependency on package 'iso8879-1986_2' with 'textproc/iso8879' 
origin.
Package linuxdoc-1.1_1 registered in /var/db/pkg/linuxdoc-1.1_1


That looks like a warning from xmlcatmgr which may or may not be 
important, but the package apparently added itself completely (no errors 
were reported by pkg_add).  You should look into the xmlcatmgr 
documentation, or talk to the port maintainer, to find out what that 
warning means and if it is important.


Kris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Wake-on-LAN and the em driver (freebsd 7.x)

2008-03-31 Thread Kent Hauser
How can I get the WOL (wake-on-lan) feature to work on my 7-stable system? I
have a dual-boot system with an Intel PRO/1000 PT card that works great with
FreeBSD, but the WOL only works under XP. Is there an ifconfig option (or
similar) to enable WOL under FreeBSD?

I notice that the LED on the gigibit hub for system is not lit after FreeBSD
"halt -p", but is lit (low-speed) after XP shutdown.

Any help appreciated.

Thanks. Kent
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


libc.so.6 not found

2008-03-31 Thread Niels Kobschaetzki
Hi!

I have here severe problems with installing stuff. I tried to
recompile xemacs 21.4 and got a:
/libexec/ld-elf.so.1: Shared object "libc.so.6" not found, required by
"install-info"
I searched google and it seems that this is from FreeBSD 6 while I am
running 7 and I have only libc.so.7 on my system.
I wondered, tried to compile xemacs 21.5 from the sources and ran into
some other trouble. I figured that I'll do a a cvsup with FreeBSD
7.0-stable and do a portupgrade -ra to do an upgrade for all packages;
hoping that the trouble wents away and I get some kind of xemacs with
mule-support installed. But the portupgrade ran into some problems
because of a stale dependency (ORBit2-2.14.10 -> libIDL-0.8.9_1
(devel/libIDL).
I want to install now this stale dependency and get the same error:
/libexec/ld-elf.so.1: Shared object "libc.so.6" not found, required by
"install-info"

Anyone who can help here?

Niels
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: libc.so.6 not found

2008-03-31 Thread Kris Kennaway

Niels Kobschaetzki wrote:

Hi!

I have here severe problems with installing stuff. I tried to
recompile xemacs 21.4 and got a:
/libexec/ld-elf.so.1: Shared object "libc.so.6" not found, required by
"install-info"
I searched google and it seems that this is from FreeBSD 6 while I am
running 7 and I have only libc.so.7 on my system.
I wondered, tried to compile xemacs 21.5 from the sources and ran into
some other trouble. I figured that I'll do a a cvsup with FreeBSD
7.0-stable and do a portupgrade -ra to do an upgrade for all packages;
hoping that the trouble wents away and I get some kind of xemacs with
mule-support installed. But the portupgrade ran into some problems
because of a stale dependency (ORBit2-2.14.10 -> libIDL-0.8.9_1
(devel/libIDL).
I want to install now this stale dependency and get the same error:
/libexec/ld-elf.so.1: Shared object "libc.so.6" not found, required by
"install-info"

Anyone who can help here?


I guess you missed part of the upgrade steps when you updated to 7.0. 
The step you missed involved a portupgrade -fa (or -faP) to refresh all 
of your ports with 7.0 versions to avoid precisely this problem.  You 
should do that now to repair your system.


Kris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Auto Mounting USB Sticks and CD's

2008-03-31 Thread Manolis Kiagias

Sam Fourman Jr. wrote:

Hello,

I have a FreeBSD 7.0 install, and I am running the Gnome Desktop (2.22)
I was hoping that someone had a nice HOWTO or could paste their config files.
I want my usb sticks to auto mount when I insert them like they do on PC-BSD

I know that if I put gnome_enable in my /etc/rc.conf then it all works
BUT, I would prefer not to use gdm on bootup


I also am having trouble trying to get k3b to burn CD''s without being root

  

For k3b follow the instructions you will find here:

cd /usr/ports/sysutils/k3b

make showinfo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: libc.so.6 not found

2008-03-31 Thread Lars Eighner

On Mon, 31 Mar 2008, Niels Kobschaetzki wrote:


Hi!

I have here severe problems with installing stuff. I tried to
recompile xemacs 21.4 and got a:
/libexec/ld-elf.so.1: Shared object "libc.so.6" not found, required by
"install-info"
I searched google and it seems that this is from FreeBSD 6 while I am
running 7 and I have only libc.so.7 on my system.
I wondered, tried to compile xemacs 21.5 from the sources and ran into
some other trouble. I figured that I'll do a a cvsup with FreeBSD
7.0-stable and do a portupgrade -ra to do an upgrade for all packages;
hoping that the trouble wents away and I get some kind of xemacs with
mule-support installed. But the portupgrade ran into some problems
because of a stale dependency (ORBit2-2.14.10 -> libIDL-0.8.9_1
(devel/libIDL).
I want to install now this stale dependency and get the same error:
/libexec/ld-elf.so.1: Shared object "libc.so.6" not found, required by
"install-info"

Anyone who can help here?


The temporary quick fix is to install the misc/compat6x port.  Someone
else has advised you how to make the correct permanent fix.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


IBM Thinkspad t20 + Sound Problem

2008-03-31 Thread Net Warrior
Hi there guys.
I bought my first note book and I 'm very excited, this not the latest intel
in the market, but does what I nedd.
But, I'm having problems with the sound driver, I 'm geting distortions when
I switch from consoles or if I do an scroll, or ls.
I had this kind of problem before with some clones, but the procedure
followed bebore did not work.

This is my config.


FreeBSD-Realm# sysctl -a |grep pcm
dev.pcm.0.%desc: CS461x PCM Audio
dev.pcm.0.%driver: pcm
dev.pcm.0.%parent: csa0
dev.pcm.0.eapd: 1
dev.pcm.0.play.vchans: 1
dev.pcm.0.play.vchanrate: 48000
dev.pcm.0.play.vchanformat: s16le
dev.pcm.0.rec.vchans: 1
dev.pcm.0.rec.vchanrate: 48000
dev.pcm.0.rec.vchanformat: s16le
dev.pcm.0.buffersize: 0
FreeBSD-Realm# sysctl -a | grep snd
hw.snd.latency_profile: 1
hw.snd.latency: 5
hw.snd.report_soft_formats: 1
hw.snd.compat_linux_mmap: 0
hw.snd.feeder_buffersize: 65536
hw.snd.feeder_rate_round: 25
hw.snd.feeder_rate_max: 2016000
hw.snd.feeder_rate_min: 1
hw.snd.verbose: 1
hw.snd.maxautovchans: 16
hw.snd.default_unit: 0
hw.snd.version: 2007061600/i386
hw.snd.default_auto: 0
FreeBSD-Realm#

FreeBSD-Realm# vmstat -i
interrupt  total   rate
irq0: clk4973648958
irq1: atkbd03670  0
irq3: cbb0 csa011666  2
irq5: uhci0 1941  0
irq8: rtc 639222123
irq9: acpi0+3095  0
irq10: cbb1 dc04  0
irq12: psm0  969  0
irq14: ata071376 13
irq15: ata1  363  0

FreeBSD-Realm# dmesg |grep irq
vgapci0:  mem 0xf000-0xf7ff irq 3 at device
0.0 on pci1
cbb0:  mem 0x5000-0x5fff irq 3 at device
2.0 on pci0
cbb1:  mem 0x5010-0x50100fff irq 10 at device
2.1 on pci0
csa0:  mem
0xe810-0xe8100fff,0xe800-0xe80f irq 3 at device 5.0 on pci0
uhci0:  port 0x1c20-0x1c3f irq 5 at
device 7.2 on pci0
atkbdc0:  port 0x60,0x64 irq 1 on acpi0
atkbd0:  irq 1 on atkbdc0
psm0:  irq 12 on atkbdc0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on
acpi0
sio1: configured irq 3 not in bitmap of probed irqs 0
dc0:  port 0x1100-0x11ff mem
0x8800-0x880003ff irq 10 at device 0.0 on cardbus1
FreeBSD-Realm#

With the clones, I alway solved the problem, as suggested in the mailing
list by increasing the buffersize including it in the device.hints
file, but that did not work and dev.pcm.0.buffersize never get increased,
always stays in zero.

Thanks in advance, and for you time.

I'm using 7-0Release Stable.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: libc.so.6 not found

2008-03-31 Thread Niels Kobschaetzki
On Mon, Mar 31, 2008 at 3:36 PM, Kris Kennaway <[EMAIL PROTECTED]> wrote:
>
> Niels Kobschaetzki wrote:
>  > On Mon, Mar 31, 2008 at 2:21 PM, Kris Kennaway <[EMAIL PROTECTED]> wrote:
>  >> Niels Kobschaetzki wrote:
>  >>  > Hi!
>  >>  >
>  >>  > I have here severe problems with installing stuff. I tried to
>  >>  > recompile xemacs 21.4 and got a:
>  >>  > /libexec/ld-elf.so.1: Shared object "libc.so.6" not found, required by
>  >>  > "install-info"
>  >>  > I searched google and it seems that this is from FreeBSD 6 while I am
>  >>  > running 7 and I have only libc.so.7 on my system.
>  >>  > I wondered, tried to compile xemacs 21.5 from the sources and ran into
>  >>  > some other trouble. I figured that I'll do a a cvsup with FreeBSD
>  >>  > 7.0-stable and do a portupgrade -ra to do an upgrade for all packages;
>  >>  > hoping that the trouble wents away and I get some kind of xemacs with
>  >>  > mule-support installed. But the portupgrade ran into some problems
>  >>  > because of a stale dependency (ORBit2-2.14.10 -> libIDL-0.8.9_1
>  >>  > (devel/libIDL).
>  >>  > I want to install now this stale dependency and get the same error:
>  >>  > /libexec/ld-elf.so.1: Shared object "libc.so.6" not found, required by
>  >>  > "install-info"
>  >>  >
>  >>  > Anyone who can help here?
>  >>
>  >>  I guess you missed part of the upgrade steps when you updated to 7.0.
>  >>  The step you missed involved a portupgrade -fa (or -faP) to refresh all
>  >>  of your ports with 7.0 versions to avoid precisely this problem.  You
>  >>  should do that now to repair your system.
>  >
>  > I never upgraded - I did a direct install of 7.0 from downloaded isos.
>
>  That doesn't explain why you have lots of installed 6.x packages.

Well, I do not have any idea neither -- I never touched anything
mentioning FreeBSD 6.x

>  > I found the solution in the meanwhile though.
>  > Just create /etc/libmap.conf and put
>  > libc.so.6   libc.so.7
>  > in it and the problem vanishes
>
>  That is not the solution.

Yeah, pkgdb -F ran through after that w/out any problem, running
portupgrade -ra or portupgrade -fa advices me to do the same again.
Doing that now…last time it took an hour or so…I hope I can go on then
with portupgrade

Right now the system seems to be messed up like in times when I worked
with SuSE-linux and played around with alpha-stuff and forced my way
through the rpm-database…even though I didn't even touch current or
anything below 7 (at least not that I know off) and never worked with
a -f -option (I learned my lessons years ago with force-options)

Niels
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Vishnu is out of the office.

2008-03-31 Thread vishnux




I will be out of the office starting  31-03-2008 and will not return until
02-04-2008.

I will respond to your message when I return.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: libc.so.6 not found

2008-03-31 Thread Niels Kobschaetzki
On Mon, Mar 31, 2008 at 4:19 PM, Kris Kennaway <[EMAIL PROTECTED]> wrote:
>
> Niels Kobschaetzki wrote:
>  > On Mon, Mar 31, 2008 at 3:36 PM, Kris Kennaway <[EMAIL PROTECTED]> wrote:
>  >> Niels Kobschaetzki wrote:
>  >>  > On Mon, Mar 31, 2008 at 2:21 PM, Kris Kennaway <[EMAIL PROTECTED]> 
> wrote:
>  >>  >> Niels Kobschaetzki wrote:
>  >>  >>  > Hi!
>  >>  >>  >
>  >>  >>  > I have here severe problems with installing stuff. I tried to
>  >>  >>  > recompile xemacs 21.4 and got a:
>  >>  >>  > /libexec/ld-elf.so.1: Shared object "libc.so.6" not found, 
> required by
>  >>  >>  > "install-info"
>  >>  >>  > I searched google and it seems that this is from FreeBSD 6 while I 
> am
>  >>  >>  > running 7 and I have only libc.so.7 on my system.
>  >>  >>  > I wondered, tried to compile xemacs 21.5 from the sources and ran 
> into
>  >>  >>  > some other trouble. I figured that I'll do a a cvsup with FreeBSD
>  >>  >>  > 7.0-stable and do a portupgrade -ra to do an upgrade for all 
> packages;
>  >>  >>  > hoping that the trouble wents away and I get some kind of xemacs 
> with
>  >>  >>  > mule-support installed. But the portupgrade ran into some problems
>  >>  >>  > because of a stale dependency (ORBit2-2.14.10 -> libIDL-0.8.9_1
>  >>  >>  > (devel/libIDL).
>  >>  >>  > I want to install now this stale dependency and get the same error:
>  >>  >>  > /libexec/ld-elf.so.1: Shared object "libc.so.6" not found, 
> required by
>  >>  >>  > "install-info"
>  >>  >>  >
>  >>  >>  > Anyone who can help here?
>  >>  >>
>  >>  >>  I guess you missed part of the upgrade steps when you updated to 7.0.
>  >>  >>  The step you missed involved a portupgrade -fa (or -faP) to refresh 
> all
>  >>  >>  of your ports with 7.0 versions to avoid precisely this problem.  You
>  >>  >>  should do that now to repair your system.
>  >>  >
>  >>  > I never upgraded - I did a direct install of 7.0 from downloaded isos.
>  >>
>  >>  That doesn't explain why you have lots of installed 6.x packages.
>  >
>  > Well, I do not have any idea neither -- I never touched anything
>  > mentioning FreeBSD 6.x
>
>  The FreeBSD 7.0 isos only contain 7.0 packages, so it makes no sense
>  that they installed 6.x packages for you :-)

I guessed so. I installed ports via packages, did a cvsup a few days
ago with Release I think and since then I'm compiling. When I wanted
to reinstall xemacs with --with-mule the trouble began and I have no
idea where 6.x packages come from.
And all that started because xemacs 21.5 can't find libgdbm which is
installed…argh…
At least the system is running but no japanese support in the editor I
plan to run for my writings is a little bit of a problem…

Niels
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: SCSI network

2008-03-31 Thread Wojciech Puchar

unmanaged switch will work much better :)



I'd agree with that 100%- do the bandwidth math (not to mention the ease
of setup): gigabit each way compared to a max of 320mb (I could be wrong
on the exact figures, but the gigabit is still faster).


320MB is 2560Mb not 320Mb

160MB/s is above gigabit ethernet speed - half duplex, but when traffic 
goes mostly one direction - it's not a problem.




Setup a small private network between the machines in question and
everything would be happy.


of course - but just asked as i have a bunch of unused U160 controllers 
and cables.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: libc.so.6 not found

2008-03-31 Thread Kris Kennaway

Niels Kobschaetzki wrote:

On Mon, Mar 31, 2008 at 4:19 PM, Kris Kennaway <[EMAIL PROTECTED]> wrote:

Niels Kobschaetzki wrote:
 > On Mon, Mar 31, 2008 at 3:36 PM, Kris Kennaway <[EMAIL PROTECTED]> wrote:
 >> Niels Kobschaetzki wrote:
 >>  > On Mon, Mar 31, 2008 at 2:21 PM, Kris Kennaway <[EMAIL PROTECTED]> wrote:
 >>  >> Niels Kobschaetzki wrote:
 >>  >>  > Hi!
 >>  >>  >
 >>  >>  > I have here severe problems with installing stuff. I tried to
 >>  >>  > recompile xemacs 21.4 and got a:
 >>  >>  > /libexec/ld-elf.so.1: Shared object "libc.so.6" not found, required 
by
 >>  >>  > "install-info"
 >>  >>  > I searched google and it seems that this is from FreeBSD 6 while I am
 >>  >>  > running 7 and I have only libc.so.7 on my system.
 >>  >>  > I wondered, tried to compile xemacs 21.5 from the sources and ran 
into
 >>  >>  > some other trouble. I figured that I'll do a a cvsup with FreeBSD
 >>  >>  > 7.0-stable and do a portupgrade -ra to do an upgrade for all 
packages;
 >>  >>  > hoping that the trouble wents away and I get some kind of xemacs with
 >>  >>  > mule-support installed. But the portupgrade ran into some problems
 >>  >>  > because of a stale dependency (ORBit2-2.14.10 -> libIDL-0.8.9_1
 >>  >>  > (devel/libIDL).
 >>  >>  > I want to install now this stale dependency and get the same error:
 >>  >>  > /libexec/ld-elf.so.1: Shared object "libc.so.6" not found, required 
by
 >>  >>  > "install-info"
 >>  >>  >
 >>  >>  > Anyone who can help here?
 >>  >>
 >>  >>  I guess you missed part of the upgrade steps when you updated to 7.0.
 >>  >>  The step you missed involved a portupgrade -fa (or -faP) to refresh all
 >>  >>  of your ports with 7.0 versions to avoid precisely this problem.  You
 >>  >>  should do that now to repair your system.
 >>  >
 >>  > I never upgraded - I did a direct install of 7.0 from downloaded isos.
 >>
 >>  That doesn't explain why you have lots of installed 6.x packages.
 >
 > Well, I do not have any idea neither -- I never touched anything
 > mentioning FreeBSD 6.x

 The FreeBSD 7.0 isos only contain 7.0 packages, so it makes no sense
 that they installed 6.x packages for you :-)


I guessed so. I installed ports via packages, did a cvsup a few days
ago with Release I think and since then I'm compiling.


OK, so you in fact did not just do a direct install from the iso and 
nothing else :)  One of those other steps must have gone wrong, e.g. you 
installed packages from the wrong package set.


Kris

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: libc.so.6 not found

2008-03-31 Thread Niels Kobschaetzki
On Mon, Mar 31, 2008 at 4:48 PM, Kris Kennaway <[EMAIL PROTECTED]> wrote:
>
> Niels Kobschaetzki wrote:
>  > On Mon, Mar 31, 2008 at 4:19 PM, Kris Kennaway <[EMAIL PROTECTED]> wrote:
>  >> Niels Kobschaetzki wrote:
>  >>  > On Mon, Mar 31, 2008 at 3:36 PM, Kris Kennaway <[EMAIL PROTECTED]> 
> wrote:
>  >>  >> Niels Kobschaetzki wrote:
>  >>  >>  > On Mon, Mar 31, 2008 at 2:21 PM, Kris Kennaway <[EMAIL PROTECTED]> 
> wrote:
>  >>  >>  >> Niels Kobschaetzki wrote:
>  >>  >>  >>  > Hi!
>  >>  >>  >>  >
>  >>  >>  >>  > I have here severe problems with installing stuff. I tried to
>  >>  >>  >>  > recompile xemacs 21.4 and got a:
>  >>  >>  >>  > /libexec/ld-elf.so.1: Shared object "libc.so.6" not found, 
> required by
>  >>  >>  >>  > "install-info"
>  >>  >>  >>  > I searched google and it seems that this is from FreeBSD 6 
> while I am
>  >>  >>  >>  > running 7 and I have only libc.so.7 on my system.
>  >>  >>  >>  > I wondered, tried to compile xemacs 21.5 from the sources and 
> ran into
>  >>  >>  >>  > some other trouble. I figured that I'll do a a cvsup with 
> FreeBSD
>  >>  >>  >>  > 7.0-stable and do a portupgrade -ra to do an upgrade for all 
> packages;
>  >>  >>  >>  > hoping that the trouble wents away and I get some kind of 
> xemacs with
>  >>  >>  >>  > mule-support installed. But the portupgrade ran into some 
> problems
>  >>  >>  >>  > because of a stale dependency (ORBit2-2.14.10 -> libIDL-0.8.9_1
>  >>  >>  >>  > (devel/libIDL).
>  >>  >>  >>  > I want to install now this stale dependency and get the same 
> error:
>  >>  >>  >>  > /libexec/ld-elf.so.1: Shared object "libc.so.6" not found, 
> required by
>  >>  >>  >>  > "install-info"
>  >>  >>  >>  >
>  >>  >>  >>  > Anyone who can help here?
>  >>  >>  >>
>  >>  >>  >>  I guess you missed part of the upgrade steps when you updated to 
> 7.0.
>  >>  >>  >>  The step you missed involved a portupgrade -fa (or -faP) to 
> refresh all
>  >>  >>  >>  of your ports with 7.0 versions to avoid precisely this problem. 
>  You
>  >>  >>  >>  should do that now to repair your system.
>  >>  >>  >
>  >>  >>  > I never upgraded - I did a direct install of 7.0 from downloaded 
> isos.
>  >>  >>
>  >>  >>  That doesn't explain why you have lots of installed 6.x packages.
>  >>  >
>  >>  > Well, I do not have any idea neither -- I never touched anything
>  >>  > mentioning FreeBSD 6.x
>  >>
>  >>  The FreeBSD 7.0 isos only contain 7.0 packages, so it makes no sense
>  >>  that they installed 6.x packages for you :-)
>  >
>  > I guessed so. I installed ports via packages, did a cvsup a few days
>  > ago with Release I think and since then I'm compiling.
>
>  OK, so you in fact did not just do a direct install from the iso and
>  nothing else :)  One of those other steps must have gone wrong, e.g. you
>  installed packages from the wrong package set.

Seems so, but I do not know when because I never touched anything else
than something with a 7 in it. And xemacs compiled originally just as
an example.
But right now portupgrade -fa is working - I hope that solves the
problems I'm having.
Any way how to find out if xemacs 21.5 is in any of the ports? Because
the unicode-support in 21.4 sucks I heard from one of the core
developers…
And if it's only in current - is there any way to just install that
one package from current or do I have to switch completely?

Niels
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: hplip setup problems

2008-03-31 Thread Isaac Mushinsky
Since this problem is most probably not FreeBSD-specific, I filed a bug
(209721) with hplip:  https://bugs.launchpad.net/hplip/+bug/209721. The
patch is attached there too.

So my ordeal with this issue is finally closed.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Wake-on-LAN and the em driver (freebsd 7.x)

2008-03-31 Thread Walker
On Mon, Mar 31, 2008 at 6:31 AM, Kent Hauser <[EMAIL PROTECTED]> wrote:
> How can I get the WOL (wake-on-lan) feature to work on my 7-stable system? I
>  have a dual-boot system with an Intel PRO/1000 PT card that works great with
>  FreeBSD, but the WOL only works under XP. Is there an ifconfig option (or
>  similar) to enable WOL under FreeBSD?
>
>  I notice that the LED on the gigibit hub for system is not lit after FreeBSD
>  "halt -p", but is lit (low-speed) after XP shutdown.
>
>  Any help appreciated.

FWIW;

I have two 7.0-RELEASE boxes with single (on board) and dual
(pro/1000) em NICs.  WOL works fine on both.

The link light must be on after FreeBSD shuts down for WOL to work.
You might try using the latest proboot.exe from Intel which allows you
to update the NIC firmware and change its settings.  There might be
FreeBSD sysctl knobs that might help as well.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD-4.11 rc.d / startup scripts?

2008-03-31 Thread fred
Hello,

 

Google searches doesn’t help much, I am trying to restart, for example the
SSHd service without having to reboot the server, but I have noticed that
there is no /etc/rc.d on FreeBSD-4.11 and /usr/local/etc/rc.d is empty.

 

Can anyone tell me where do I need to go to do a “sshd restart” ?

 

Thanks

 

-fred

 

 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: libc.so.6 not found

2008-03-31 Thread Kris Kennaway

Niels Kobschaetzki wrote:

On Mon, Mar 31, 2008 at 4:48 PM, Kris Kennaway <[EMAIL PROTECTED]> wrote:

Niels Kobschaetzki wrote:
 > On Mon, Mar 31, 2008 at 4:19 PM, Kris Kennaway <[EMAIL PROTECTED]> wrote:
 >> Niels Kobschaetzki wrote:
 >>  > On Mon, Mar 31, 2008 at 3:36 PM, Kris Kennaway <[EMAIL PROTECTED]> wrote:
 >>  >> Niels Kobschaetzki wrote:
 >>  >>  > On Mon, Mar 31, 2008 at 2:21 PM, Kris Kennaway <[EMAIL PROTECTED]> 
wrote:
 >>  >>  >> Niels Kobschaetzki wrote:
 >>  >>  >>  > Hi!
 >>  >>  >>  >
 >>  >>  >>  > I have here severe problems with installing stuff. I tried to
 >>  >>  >>  > recompile xemacs 21.4 and got a:
 >>  >>  >>  > /libexec/ld-elf.so.1: Shared object "libc.so.6" not found, 
required by
 >>  >>  >>  > "install-info"
 >>  >>  >>  > I searched google and it seems that this is from FreeBSD 6 while 
I am
 >>  >>  >>  > running 7 and I have only libc.so.7 on my system.
 >>  >>  >>  > I wondered, tried to compile xemacs 21.5 from the sources and 
ran into
 >>  >>  >>  > some other trouble. I figured that I'll do a a cvsup with FreeBSD
 >>  >>  >>  > 7.0-stable and do a portupgrade -ra to do an upgrade for all 
packages;
 >>  >>  >>  > hoping that the trouble wents away and I get some kind of xemacs 
with
 >>  >>  >>  > mule-support installed. But the portupgrade ran into some 
problems
 >>  >>  >>  > because of a stale dependency (ORBit2-2.14.10 -> libIDL-0.8.9_1
 >>  >>  >>  > (devel/libIDL).
 >>  >>  >>  > I want to install now this stale dependency and get the same 
error:
 >>  >>  >>  > /libexec/ld-elf.so.1: Shared object "libc.so.6" not found, 
required by
 >>  >>  >>  > "install-info"
 >>  >>  >>  >
 >>  >>  >>  > Anyone who can help here?
 >>  >>  >>
 >>  >>  >>  I guess you missed part of the upgrade steps when you updated to 
7.0.
 >>  >>  >>  The step you missed involved a portupgrade -fa (or -faP) to 
refresh all
 >>  >>  >>  of your ports with 7.0 versions to avoid precisely this problem.  
You
 >>  >>  >>  should do that now to repair your system.
 >>  >>  >
 >>  >>  > I never upgraded - I did a direct install of 7.0 from downloaded 
isos.
 >>  >>
 >>  >>  That doesn't explain why you have lots of installed 6.x packages.
 >>  >
 >>  > Well, I do not have any idea neither -- I never touched anything
 >>  > mentioning FreeBSD 6.x
 >>
 >>  The FreeBSD 7.0 isos only contain 7.0 packages, so it makes no sense
 >>  that they installed 6.x packages for you :-)
 >
 > I guessed so. I installed ports via packages, did a cvsup a few days
 > ago with Release I think and since then I'm compiling.

 OK, so you in fact did not just do a direct install from the iso and
 nothing else :)  One of those other steps must have gone wrong, e.g. you
 installed packages from the wrong package set.


Seems so, but I do not know when because I never touched anything else
than something with a 7 in it. And xemacs compiled originally just as
an example.
But right now portupgrade -fa is working - I hope that solves the
problems I'm having.
Any way how to find out if xemacs 21.5 is in any of the ports? Because
the unicode-support in 21.4 sucks I heard from one of the core
developers…
And if it's only in current - is there any way to just install that
one package from current or do I have to switch completely?

Niels


There is no such thing as "current" and "stable" for packages, only the 
same ports packaged for different release branches.  Maybe this is how 
you installed 6.x packages, by accidentally installing via a 
"packages-stable" directory that was symlinked to "packages-6-stable"?


A version of xemacs 21.5 is in editors/xemacs-devel.

Kris

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD-4.11 rc.d / startup scripts?

2008-03-31 Thread Kris Kennaway

fred wrote:

Hello,

 


Google searches doesn’t help much, I am trying to restart, for example the
SSHd service without having to reboot the server, but I have noticed that
there is no /etc/rc.d on FreeBSD-4.11 and /usr/local/etc/rc.d is empty.

 


Can anyone tell me where do I need to go to do a “sshd restart” ?


4.x had no uniform way of doing this, so you need to manually kill and 
restart the sshd.


Kris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


samba/cups printer with quotas?

2008-03-31 Thread B. Cook

Hello All,

Someone here just got back from an Apple 'show'.

They were told that Leopard Server (powered by cups and samba) could  
give us quota control as well as authenticated printing with  
'history' (as to who printed what and how many pages.. )


I am still trying to get a clue on this.. but I have cups installed  
and integrated into samba..


I still have a ton of questions, and wonder if they would be better  
suited on a cups mailing list or here..


anyone have any advice or ever setup such a beast?  If you did set it  
up, how is it working out for you?



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: libc.so.6 not found

2008-03-31 Thread Niels Kobschaetzki
On Mon, Mar 31, 2008 at 5:51 PM, Kris Kennaway <[EMAIL PROTECTED]> wrote:
>
> Niels Kobschaetzki wrote:
>  > On Mon, Mar 31, 2008 at 4:48 PM, Kris Kennaway <[EMAIL PROTECTED]> wrote:
>  >> Niels Kobschaetzki wrote:
>  >>  > On Mon, Mar 31, 2008 at 4:19 PM, Kris Kennaway <[EMAIL PROTECTED]> 
> wrote:
>  >>  >> Niels Kobschaetzki wrote:
>  >>  >>  > On Mon, Mar 31, 2008 at 3:36 PM, Kris Kennaway <[EMAIL PROTECTED]> 
> wrote:
>  >>  >>  >> Niels Kobschaetzki wrote:
>  >>  >>  >>  > On Mon, Mar 31, 2008 at 2:21 PM, Kris Kennaway <[EMAIL 
> PROTECTED]> wrote:
>  >>  >>  >>  >> Niels Kobschaetzki wrote:
>  >>  >>  >>  >>  > Hi!
>  >>  >>  >>  >>  >
>  >>  >>  >>  >>  > I have here severe problems with installing stuff. I tried 
> to
>  >>  >>  >>  >>  > recompile xemacs 21.4 and got a:
>  >>  >>  >>  >>  > /libexec/ld-elf.so.1: Shared object "libc.so.6" not found, 
> required by
>  >>  >>  >>  >>  > "install-info"
>  >>  >>  >>  >>  > I searched google and it seems that this is from FreeBSD 6 
> while I am
>  >>  >>  >>  >>  > running 7 and I have only libc.so.7 on my system.
>  >>  >>  >>  >>  > I wondered, tried to compile xemacs 21.5 from the sources 
> and ran into
>  >>  >>  >>  >>  > some other trouble. I figured that I'll do a a cvsup with 
> FreeBSD
>  >>  >>  >>  >>  > 7.0-stable and do a portupgrade -ra to do an upgrade for 
> all packages;
>  >>  >>  >>  >>  > hoping that the trouble wents away and I get some kind of 
> xemacs with
>  >>  >>  >>  >>  > mule-support installed. But the portupgrade ran into some 
> problems
>  >>  >>  >>  >>  > because of a stale dependency (ORBit2-2.14.10 -> 
> libIDL-0.8.9_1
>  >>  >>  >>  >>  > (devel/libIDL).
>  >>  >>  >>  >>  > I want to install now this stale dependency and get the 
> same error:
>  >>  >>  >>  >>  > /libexec/ld-elf.so.1: Shared object "libc.so.6" not found, 
> required by
>  >>  >>  >>  >>  > "install-info"
>  >>  >>  >>  >>  >
>  >>  >>  >>  >>  > Anyone who can help here?
>  >>  >>  >>  >>
>  >>  >>  >>  >>  I guess you missed part of the upgrade steps when you 
> updated to 7.0.
>  >>  >>  >>  >>  The step you missed involved a portupgrade -fa (or -faP) to 
> refresh all
>  >>  >>  >>  >>  of your ports with 7.0 versions to avoid precisely this 
> problem.  You
>  >>  >>  >>  >>  should do that now to repair your system.
>  >>  >>  >>  >
>  >>  >>  >>  > I never upgraded - I did a direct install of 7.0 from 
> downloaded isos.
>  >>  >>  >>
>  >>  >>  >>  That doesn't explain why you have lots of installed 6.x packages.
>  >>  >>  >
>  >>  >>  > Well, I do not have any idea neither -- I never touched anything
>  >>  >>  > mentioning FreeBSD 6.x
>  >>  >>
>  >>  >>  The FreeBSD 7.0 isos only contain 7.0 packages, so it makes no sense
>  >>  >>  that they installed 6.x packages for you :-)
>  >>  >
>  >>  > I guessed so. I installed ports via packages, did a cvsup a few days
>  >>  > ago with Release I think and since then I'm compiling.
>  >>
>  >>  OK, so you in fact did not just do a direct install from the iso and
>  >>  nothing else :)  One of those other steps must have gone wrong, e.g. you
>  >>  installed packages from the wrong package set.
>  >
>  > Seems so, but I do not know when because I never touched anything else
>  > than something with a 7 in it. And xemacs compiled originally just as
>  > an example.
>  > But right now portupgrade -fa is working - I hope that solves the
>  > problems I'm having.
>  > Any way how to find out if xemacs 21.5 is in any of the ports? Because
>  > the unicode-support in 21.4 sucks I heard from one of the core
>  > developers…
>  > And if it's only in current - is there any way to just install that
>  > one package from current or do I have to switch completely?
>  >
>  > Niels
>
>  There is no such thing as "current" and "stable" for packages, only the
>  same ports packaged for different release branches.  Maybe this is how
>  you installed 6.x packages, by accidentally installing via a
>  "packages-stable" directory that was symlinked to "packages-6-stable"?

Not that I know of - maybe. I'm working with that system for over a
week now and I'm not very experienced with it yet, doing a lot of
reading in the handbook and google to get it running as I need it.
I do a pkg_add -r package-name to install my stuff or a make install
clean in /usr/ports/and/so/on (which is far more often the case since
I did a portupgrade) -- I did a cvsup with a supfile from the examples
and can't remember or see anything that points at 6.x-releases.
I just hope that everything gets fixed now with your advice.

>  A version of xemacs 21.5 is in editors/xemacs-devel.

good to know - I will try that :)

Niels
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

vge(4) driver not working at 1G speeds

2008-03-31 Thread Stuart Fraser
Hi,
I'm trying to a Via Velocity Gigabit Networking driver vge(4) to work at
1000baseTX on a Via EPIA SN18000 Motherboard.

It will always Auto negotiation backoff to 100MB Full duplex, which works
perfectly. When I try to manually force the card 1000baseTX the interface
status reports 'no carrier' and I can get not connectivity. I have tried
Ubuntu live disk and it works seamlessly to 1GB, so I'm sure the
cabling/switch etc is fine.

So I have tried 1000baseTX full and half duplex. I have tried to disable the
hardware handoff using the mediaopt commands -rxcsum and -txcsum. Further I
have tried to use the link0 operation as described in the man page but I
get:

nas# ifconfig vge0 mediaopt link0
ifconfig: SIOCSIFMEDIA (media): Device not configured

Further I have tried Release 7.0 and Stable 7 with the vge driver compiled
in also as an external module loaded through loader.conf and lastly waiting
until a full boot has completed and manually loading the if_vge module.

The only thing I can see is that the chipset is actually a VT6130 and
perhaps the driver needs 'tweaked' or there is some sysctl somewhere to poke
it into life. As I say it works fine in 100MB mode and I can use 100M for a
while but I'm planning on using this as a NAS so 1G would be preferred.

Any help, suggestions, thoughts would be appreciated.

Rgds
S.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Wake-on-LAN and the em driver (freebsd 7.x)

2008-03-31 Thread Kent Hauser
On Mon, Mar 31, 2008 at 5:23 AM, Walker <[EMAIL PROTECTED]> wrote:

>
> FWIW;
>
> I have two 7.0-RELEASE boxes with single (on board) and dual
> (pro/1000) em NICs.  WOL works fine on both.
>
> The link light must be on after FreeBSD shuts down for WOL to work.
> You might try using the latest proboot.exe from Intel which allows you
> to update the NIC firmware and change its settings.  There might be
> FreeBSD sysctl knobs that might help as well.
>

Thanks for the pointer. I tried the proboot.exe utilities, but the must run
in a "dos" environment -- not under an XP command window.

Is there an easier way? I'm not sure how I'm going to get my machine booted
into DOS -- maybe I can find an 8-track player to provide background music
while I work.

THanks.  Kent
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


default font select

2008-03-31 Thread doug
I am running xorg-6.9.0 and FreeBSD 6.1-STABLE. I seem to have broken the 
ability to select the font size in xterm via ctrl-right-click. The menu I now 
get:


   VT Fonts (no-apps defaults)
   font1
   font2
   font3
   font4
   font5
   font6
   fontescape
   fontsel
 :

rather than the "normal" default. So far I can not find a difference between a 
working and a nonworking install. Thanks for any suggestions. I think I must 
have deleted a resource file. If so however, it is not owned by my userid


Thanks for any pointers.

Doug Denault
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Wake-on-LAN and the em driver (freebsd 7.x)

2008-03-31 Thread James

On Mon, 2008-03-31 at 08:43 -1000, Kent Hauser wrote:
> On Mon, Mar 31, 2008 at 5:23 AM, Walker <[EMAIL PROTECTED]> wrote:
> 
> >
> > FWIW;
> >
> > I have two 7.0-RELEASE boxes with single (on board) and dual
> > (pro/1000) em NICs.  WOL works fine on both.
> >
> > The link light must be on after FreeBSD shuts down for WOL to work.
> > You might try using the latest proboot.exe from Intel which allows you
> > to update the NIC firmware and change its settings.  There might be
> > FreeBSD sysctl knobs that might help as well.
> >
> 
> Thanks for the pointer. I tried the proboot.exe utilities, but the must run
> in a "dos" environment -- not under an XP command window.
> 
> Is there an easier way? I'm not sure how I'm going to get my machine booted
> into DOS -- maybe I can find an 8-track player to provide background music
> while I work.
> 
> THanks.  Kent

Use DOSbox. I've used it to play old DOS games before now, it works
well:

 /usr/ports/emulators/dosbox


> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: default font select

2008-03-31 Thread Lowell Gilbert
doug <[EMAIL PROTECTED]> writes:

> I am running xorg-6.9.0 and FreeBSD 6.1-STABLE. I seem to have broken
> the ability to select the font size in xterm via ctrl-right-click. The
> menu I now get:
>
>VT Fonts (no-apps defaults)
>font1
>font2
>font3
>font4
>font5
>font6
>fontescape
>fontsel
>  :
>
> rather than the "normal" default. So far I can not find a difference
> between a working and a nonworking install. Thanks for any
> suggestions. I think I must have deleted a resource file. If so
> however, it is not owned by my userid
>
> Thanks for any pointers.

That's typically set through X resources.  
I thought there were defaults compiled in.
You can set your own values with xrdb (usually done with a login script).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Wake-on-LAN and the em driver (freebsd 7.x)

2008-03-31 Thread Walker
On Mon, Mar 31, 2008 at 2:43 PM, Kent Hauser <[EMAIL PROTECTED]> wrote:
> Thanks for the pointer. I tried the proboot.exe utilities, but the must run
> in a "dos" environment -- not under an XP command window.
>
> Is there an easier way? I'm not sure how I'm going to get my machine booted
>  into DOS -- maybe I can find an 8-track player to provide background music
> while I work.
>
> THanks.  Kent

I wish I had done that.  Foghat on 8-track would have been sweet.

My solution was to create a bootable CD containing FreeDOS and the
proboot.exe files.  It's a pain, but I can give you the steps if you
want.

I would like to know of any other easier ways to do this.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


[6.3] How are those daemons started?

2008-03-31 Thread Gilles
Hello

By running "netstat -an", I notice that some daemons are running,
even though nothing is listed in either /etc/rc.conf or some
equivalent in /usr/local/etc/ :

tcp4   0  0  127.0.0.1.25
udp4   0  0  *.2727 *.*
udp4   0  0  *.2727 *.*
udp4   0  0  *.514  *.*

nmap seems to only handle TCP (TCP2000 = "callbook"?) doesn't say
which application is opening those ports, and lsof | grep doesn't
return anything :-/

Are there other ways to start daemons besides listing them in
/etc/rc.conf?

Thank you.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [6.3] How are those daemons started?

2008-03-31 Thread Mel
On Monday 31 March 2008 21:47:42 Gilles wrote:
> Hello
>
>   By running "netstat -an", I notice that some daemons are running,
> even though nothing is listed in either /etc/rc.conf or some
> equivalent in /usr/local/etc/ :
>
> tcp4   0  0  127.0.0.1.25
> udp4   0  0  *.2727 *.*
> udp4   0  0  *.2727 *.*
> udp4   0  0  *.514  *.*
>
> nmap seems to only handle TCP (TCP2000 = "callbook"?) doesn't say
> which application is opening those ports, and lsof | grep doesn't
> return anything :-/


port 25 is sendmail, enabled by default /etc/defaults/rc.conf.
514 is syslog, also on by default.
2727 udp, no idea, but sockstat(1) will tell you.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [6.3] How are those daemons started?

2008-03-31 Thread Erik Osterholm
On Mon, Mar 31, 2008 at 09:58:50PM +0200, Mel wrote:
> On Monday 31 March 2008 21:47:42 Gilles wrote:
> > Hello
> >
> > By running "netstat -an", I notice that some daemons are running,
> > even though nothing is listed in either /etc/rc.conf or some
> > equivalent in /usr/local/etc/ :
> >
> > tcp4   0  0  127.0.0.1.25
> > udp4   0  0  *.2727 *.*
> > udp4   0  0  *.2727 *.*
> > udp4   0  0  *.514  *.*
> >
> > nmap seems to only handle TCP (TCP2000 = "callbook"?) doesn't say
> > which application is opening those ports, and lsof | grep doesn't
> > return anything :-/
> 
> 
> port 25 is sendmail, enabled by default /etc/defaults/rc.conf.
> 514 is syslog, also on by default.
> 2727 udp, no idea, but sockstat(1) will tell you.
> 
> -- 
> Mel

Also note /etc/defaults/rc.conf which is /why/ these services
are on by default.  Entries in /etc/rc.conf override entries in
/etc/defaults/rc.conf, so you should never change
/etc/defaults/rc.conf.

Erik 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: SCSI network

2008-03-31 Thread Walt Pawley
On 3/29/08 1:17 PM +0100, Wojciech Puchar wrote on SCSI network

>they are all adaptec (ahc driver) controllers - manual says it can be
>target as well as initiator

Others have been discussing the potential speed of such an
arrangement. I'm more concerned about SCSI bus addressing being
a problem. Perhaps the statement above means that each card can
have a distinct ID on the bus. My experience with SCSI is
pretty much limited to systems where the host computer is
hardwired as device 0. If these cards are like that, they'll
likely be pretty confused about who's who.
-- 

Walter M. Pawley <[EMAIL PROTECTED]>
Wump Research & Company
676 River Bend Road, Roseburg, OR 97470
 541-672-8975
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [6.3] How are those daemons started?

2008-03-31 Thread Gilles
On Mon, 31 Mar 2008 15:06:20 -0500, Erik Osterholm
<[EMAIL PROTECTED]> wrote:
>Also note /etc/defaults/rc.conf which is /why/ these services
>are on by default.  Entries in /etc/rc.conf override entries in
>/etc/defaults/rc.conf, so you should never change
>/etc/defaults/rc.conf.

Thanks guys. After reading /etc/defaults/rc.conf, I understood that
the reason there's sendmail listening on TCP25 is so that local
daemons can send e-mail to the admin.

Thanks for the tip, and sockstat:

# sockstat | grep 2000
root asterisk   593   17 tcp4   *:2000*:*
# sockstat | grep 2727
root asterisk   593   10 udp4   *:2727*:*
# sockstat | grep 514
root syslogd531   7  udp4   *:514 *:*
# sockstat | grep 25
root sendmail   676   3  tcp4   127.0.0.1:25  *:*

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


US-CERT Warning

2008-03-31 Thread Gerard
I seems that US-Cert has issued a 'High Vulnerability' warning regarding
FreeBSD. This is the URL:

http://www.us-cert.gov/cas/bulletins/SB08-091.html

A snippet of the warning:

Multiple integer overflows in libc in NetBSD 4.x, FreeBSD 6.x and 7.x,
and probably other BSD and Apple Mac OS platforms allow
context-dependent attackers to execute arbitrary code via large values
of certain integer fields in the format argument to (1) the strfmon
function in lib/libc/stdlib/strfmon.c, related to the GET_NUMBER macro;
and (2) the printf function, related to left_prec and right_prec.

-- 
Gerard
[EMAIL PROTECTED]

Sleep -- the most beautiful experience in life -- except drink.

W.C. Fields


signature.asc
Description: PGP signature


changed sendmail behavior on FreeBSD 7?

2008-03-31 Thread Chris St Denis
I've setup a new web server hostname doremi.ctgameinfo.com. When I try 
to send mail to [EMAIL PROTECTED] it tries to deliver it locally 
instead of to the mx server mx1.ctgameinfo.com.


In previous versions this seems to work correctly. Why would it be 
trying to deliver locally this time? I'm running default sendmail config 
that comes with the standard install.



Another server I have seems to have this problem even worse. It's a web 
server, and for any of the hundreds of domains hosted on it (www A 
records pointed at it, but MX records pointed elseware) it also tries to 
deliver locally. I was able to get this mostly working by using a 
smarthost to the actual mail server, but I don't understand why it would 
be ignoring the mx records.


I've never had problems like these with previous versions. What has changed?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [6.3] How are those daemons started?

2008-03-31 Thread Mel
On Monday 31 March 2008 22:27:55 Gilles wrote:
> On Mon, 31 Mar 2008 15:06:20 -0500, Erik Osterholm
>
> <[EMAIL PROTECTED]> wrote:
> >Also note /etc/defaults/rc.conf which is /why/ these services
> >are on by default.  Entries in /etc/rc.conf override entries in
> >/etc/defaults/rc.conf, so you should never change
> >/etc/defaults/rc.conf.
>
> Thanks guys. After reading /etc/defaults/rc.conf, I understood that
> the reason there's sendmail listening on TCP25 is so that local
> daemons can send e-mail to the admin.

Somewhat. Most daemons can do fine without the socket listener and 
invoke /usr/sbin/sendmail by default. Only ones that can't get 
to /usr/sbin/sendmail (i.e.: chrooted daemons), but in my experience they 
don't know how to talk SMTP either.
I guess it's legacy that MTA's start their SMTP listener by default.
You can set sendmail_enable="NO" in /etc/rc.conf to disable the listener. If 
you set it to "NONE" sendmail will be totally off and all mail from daemons 
invoking /usr/sbin/sendmail will end up in /var/spool/mqueue without being 
processed further.

If you choose to go with the "NO" option, be sure to read and 
update /etc/aliases. The difference between mail stacking up 
in /var/spool/mqueue or /var/mail is only the packaging.

Informative reading: newaliases(8), crontab(5) and periodic(8).
-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: changed sendmail behavior on FreeBSD 7?

2008-03-31 Thread Giorgos Keramidas
On Mon, 31 Mar 2008 13:29:28 -0700, Chris St Denis <[EMAIL PROTECTED]> wrote:
> I've setup a new web server hostname doremi.ctgameinfo.com. When I try
> to send mail to [EMAIL PROTECTED] it tries to deliver it locally
> instead of to the mx server mx1.ctgameinfo.com.
>
> In previous versions this seems to work correctly. Why would it be
> trying to deliver locally this time? I'm running default sendmail
> config that comes with the standard install.

Show us your `/etc/mail/hostname.mc' file, and if you have a file with a
list of `local' hostnames in `/etc/mail/local-host-names' show us that
file too.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: changed sendmail behavior on FreeBSD 7?

2008-03-31 Thread Chris St Denis



Giorgos Keramidas wrote:

On Mon, 31 Mar 2008 13:29:28 -0700, Chris St Denis <[EMAIL PROTECTED]> wrote:
  

I've setup a new web server hostname doremi.ctgameinfo.com. When I try
to send mail to [EMAIL PROTECTED] it tries to deliver it locally
instead of to the mx server mx1.ctgameinfo.com.

In previous versions this seems to work correctly. Why would it be
trying to deliver locally this time? I'm running default sendmail
config that comes with the standard install.



Show us your `/etc/mail/hostname.mc' file, and if you have a file with a
list of `local' hostnames in `/etc/mail/local-host-names' show us that
file too.
  


It's just the default mc file.

Scenario 1 described above
-
No local-host-names file. I tried creating one with just the hostname in 
it, but it didn't help.


doremi# cat /etc/mail/doremi.ctgameinfo.com.mc | grep -v ^# | grep -v ^dnl
divert(-1)


divert(0)
VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.34.2.1 2007/11/22 
16:19:40 gshapiro Exp $')

OSTYPE(freebsd6)
DOMAIN(generic)

FEATURE(access_db, `hash -o -T /etc/mail/access')
FEATURE(blacklist_recipients)
FEATURE(local_lmtp)
FEATURE(mailertable, `hash -o /etc/mail/mailertable')
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')

define(`confCW_FILE', `-o /etc/mail/local-host-names')

DAEMON_OPTIONS(`Name=IPv4, Family=inet')
DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O')

define(`confBIND_OPTS', `WorkAroundBroken')
define(`confNO_RCPT_ACTION', `add-to-undisclosed')
define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy')
MAILER(local)
MAILER(smtp)


Scenario 2 described above. stickyhost & MAIL_HUB were added to work 
around.

-
no local-host-names initially. One was created trying to debug this tho 
it doesn't seem to help any.

carbon# cat /etc/mail/local-host-names
localhost
carbon.smartt.com


carbon# cat /etc/mail/carbon.smartt.com.mc | grep -v ^# | grep -v ^dnl
divert(-1)


divert(0)
VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.34.2.1 2007/11/22 
16:19:40 gshapiro Exp $')

OSTYPE(freebsd6)
DOMAIN(generic)

FEATURE(access_db, `hash -o -T /etc/mail/access')
FEATURE(blacklist_recipients)
FEATURE(local_lmtp)
FEATURE(mailertable, `hash -o /etc/mail/mailertable')
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')

FEATURE(stickyhost)
define(`MAIL_HUB', `smtp-be1')





define(`confCW_FILE', `-o /etc/mail/local-host-names')

DAEMON_OPTIONS(`Name=IPv4, Family=inet')
DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O')

define(`confBIND_OPTS', `WorkAroundBroken')
define(`confNO_RCPT_ACTION', `add-to-undisclosed')
define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy')
MAILER(local)
MAILER(smtp)



Btw, should OSTYPE haven't been bumped to freebsd7?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Wake-on-LAN and the em driver (freebsd 7.x)

2008-03-31 Thread Ted Mittelstaedt


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Kent Hauser
> Sent: Monday, March 31, 2008 10:44 AM
> To: Walker
> Cc: freebsd-questions@freebsd.org
> Subject: Re: Wake-on-LAN and the em driver (freebsd 7.x)
>
>
> On Mon, Mar 31, 2008 at 5:23 AM, Walker <[EMAIL PROTECTED]> wrote:
>
> >
> > FWIW;
> >
> > I have two 7.0-RELEASE boxes with single (on board) and dual
> > (pro/1000) em NICs.  WOL works fine on both.
> >
> > The link light must be on after FreeBSD shuts down for WOL to work.
> > You might try using the latest proboot.exe from Intel which allows you
> > to update the NIC firmware and change its settings.  There might be
> > FreeBSD sysctl knobs that might help as well.
> >
>
> Thanks for the pointer. I tried the proboot.exe utilities, but
> the must run
> in a "dos" environment -- not under an XP command window.
>
> Is there an easier way? I'm not sure how I'm going to get my
> machine booted
> into DOS

Go to any win98 system and open a command window then type "format a: /s" to
create a bootable DOS floppy.

There are bootable cd rom dos images on the net if your system doesen't
have a floppy.

Ted

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Wake-on-LAN and the em driver (freebsd 7.x)

2008-03-31 Thread Ted Mittelstaedt


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Walker
> Sent: Monday, March 31, 2008 11:37 AM
> To: Kent Hauser; freebsd-questions@freebsd.org
> Subject: Re: Wake-on-LAN and the em driver (freebsd 7.x)
> 
> 
> I would like to know of any other easier ways to do this.

Any network admin worth his salt has an old win98 system tucked
away that can be used to create bootable dos cd's.  And if your
really a wizard you have a windows for workgroups 3.11 system
tucked away as there are devices (notably HP JetDirect print servers)
that can only be firmware-updated from that platform, plus you
have a genuine DOS system with an
EGA card and monitor in inventory, like I do. ;-)  I'm sure one of
these days I'll need it for something...

The ultimate guru's of course, have in addition to this, a trash-80,
an Apple II, a Commodore PET, and a VAX 11/70 plus the 3-phase power
to run it - and still remember how to boot all of them

Ted
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Wake-on-LAN and the em driver (freebsd 7.x)

2008-03-31 Thread Jerry McAllister
On Mon, Mar 31, 2008 at 02:09:22PM -0800, Ted Mittelstaedt wrote:

> 
> 
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of Walker
> > Sent: Monday, March 31, 2008 11:37 AM
> > To: Kent Hauser; freebsd-questions@freebsd.org
> > Subject: Re: Wake-on-LAN and the em driver (freebsd 7.x)
> > 
> > 
> > I would like to know of any other easier ways to do this.
> 
> Any network admin worth his salt has an old win98 system tucked
> away that can be used to create bootable dos cd's.  

Don't know much about the value of salt, but the old Win 98 machine
I have around has a dead CD and dead floppy as well.   Guess they are
replaceable, but is it worth money and bother?

I wouldn't be surprised if there are many like that sitting around.

jerry

>  And if your
> really a wizard you have a windows for workgroups 3.11 system
> tucked away as there are devices (notably HP JetDirect print servers)
> that can only be firmware-updated from that platform, plus you
> have a genuine DOS system with an
> EGA card and monitor in inventory, like I do. ;-)  I'm sure one of
> these days I'll need it for something...
> 
> The ultimate guru's of course, have in addition to this, a trash-80,
> an Apple II, a Commodore PET, and a VAX 11/70 plus the 3-phase power
> to run it - and still remember how to boot all of them
> 
> Ted
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [6.3] How are those daemons started?

2008-03-31 Thread Ghirai
On Mon, 31 Mar 2008 21:47:42 +0200
Gilles <[EMAIL PROTECTED]> wrote:

> Hello
> 
>   By running "netstat -an", I notice that some daemons are running,
> even though nothing is listed in either /etc/rc.conf or some
> equivalent in /usr/local/etc/ :
> 
> tcp4   0  0  127.0.0.1.25
> udp4   0  0  *.2727 *.*
> udp4   0  0  *.2727 *.*
> udp4   0  0  *.514  *.*
> 
> nmap seems to only handle TCP (TCP2000 = "callbook"?) doesn't say
> which application is opening those ports, and lsof | grep doesn't
> return anything :-/
> 
> Are there other ways to start daemons besides listing them in
> /etc/rc.conf?
> 
> Thank you.
> 

You can stop syslog from listening by adding this to rc.conf:

syslogd_flags="-ss"

-- 
Regards,
Ghirai.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: SCSI network

2008-03-31 Thread Robert Jesacher


On 31.03.2008, at 21:53, Walt Pawley wrote:

On 3/29/08 1:17 PM +0100, Wojciech Puchar wrote on SCSI network


they are all adaptec (ahc driver) controllers - manual says it can be
target as well as initiator


Others have been discussing the potential speed of such an
arrangement. I'm more concerned about SCSI bus addressing being
a problem. Perhaps the statement above means that each card can
have a distinct ID on the bus. My experience with SCSI is
pretty much limited to systems where the host computer is
hardwired as device 0. If these cards are like that, they'll
likely be pretty confused about who's who.


Usually you should be able to change the Host-ID (which is 7 per  
default), but
the real issue with SCSI is, that there is always an "initiator" which  
connects to
a "target", although this can change (as you state) its not as easy as  
opening an

other network port.

Think of it as usb, you cannot hook 2 PC's together without some  
special device
in between (ok SCSI is a bit more flexible tough). The only things  
that popped up
on google were pretty much outdated (around 1998), so this will not  
really help
you. It looks like the guys played with this to overcome the fast- 
ethernet limit.


If you really need something fast, grab some used FC switches  
(Brocade) with
GBIC's equipped and some cheap HBA's (e.g. emulex or qlogic). In this  
scenario
you can run FC-IP which works well. There you can choose between  
1/2/4G per

sec depending on the money you want to spend (4G is way off limits!)

Personally I think this is a little overkill, although nice to play  
with. :-) If you need
a cheap solution why don't you equip you PC's with FireWire cards? But  
ask

somebody about the limitations there (IMHO you can make some sort of bus
connection, but  worst case it would be one-to-one connections).

br,
Robert
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Permissions problem

2008-03-31 Thread Frank Shute
On Mon, Mar 31, 2008 at 04:22:51AM +0200, Sisantha Godawela-Ohle wrote:
>
> Hi all,
> 
> iŽm following this freeBSD chat for a long time and i also wish to
> submit a question regarding a FreeBSD Version 7.0, which i installed
> yesterday.  After logging in as root, i started with startx and
> Gnome and KDE3.
> From there i wanted to configure Network, DNS etc., but it(System
> popup)  says, that i donŽt have rights to configure as there is no
> permisions for that;-( , although directly logged as ROOT!
> But this problem does not arises with the FreeBSD 6.2, which iŽm
> running for a more than a year!!.
> 
> What should do i do?
> 
> I appreciate for an positive solution.
> 
> 
> Best Regards, 

Sisantha,

You wrote to the wrong list. chat@ is just for general chat about
FreeBSD. Specific questions about using FreeBSD should be addressed to
questions@, hence I've cc'd this reply there. 

Another couple of points; if you're using the digest, snip the
previous stuff, we've seen it already. Also set an appropriate subject
field for your question.

As for your question, I think you are trying to configure your system
from KDE or Gnome and there's probably some sort of permissions
problem that I'm not familiar with since I don't use either. Or are
you running X as root? If so, don't, run it as an ordinary user and su
to root after you've started X.

Try configuring your network etc. as root from the console following
the instructions in the handbook. If that doesn't work then your
security level is probably set to something inappropriate and you'll
need to change it. Look at the manpage security(7).


-- 

 Frank 


 Contact info: http://www.shute.org.uk/misc/contact.html 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: changed sendmail behavior on FreeBSD 7?

2008-03-31 Thread fred
Hi, I am having the exact same problem with a server running FreeBSD-7.0. 

The hostname is : server1.mydomain.com
MX for mydomain.com is not server1.

sendmail -v [EMAIL PROTECTED] < test.msg will result in user unknown

but

sendmail -v [EMAIL PROTECTED] < test.msg will work.

If anyone knows how to get around this?

-fred

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris St Denis
Sent: 31 mars 2008 16:29
To: freebsd-questions@freebsd.org
Subject: changed sendmail behavior on FreeBSD 7?

I've setup a new web server hostname doremi.ctgameinfo.com. When I try 
to send mail to [EMAIL PROTECTED] it tries to deliver it locally 
instead of to the mx server mx1.ctgameinfo.com.

In previous versions this seems to work correctly. Why would it be 
trying to deliver locally this time? I'm running default sendmail config 
that comes with the standard install.


Another server I have seems to have this problem even worse. It's a web 
server, and for any of the hundreds of domains hosted on it (www A 
records pointed at it, but MX records pointed elseware) it also tries to 
deliver locally. I was able to get this mostly working by using a 
smarthost to the actual mail server, but I don't understand why it would 
be ignoring the mx records.

I've never had problems like these with previous versions. What has changed?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


EFI booting amd64

2008-03-31 Thread Harald Schmalzbauer

Hello,

I successfully used /boot/gptboot for booting my GPT based installation 
on a BIOS standard PC.
Now I'd like to make use of the great EFI system on my Intel Server 
(amd64, not ia64!).
How does the EFI system find/boot any loader? I created a "EFI System" 
partition on my GPT disk.
On the BIOS based machine I created a "freebsd-boot" partition instead 
and installed gptboot.

But how can I boot with EFI?

Thanks,

-Harry



signature.asc
Description: OpenPGP digital signature


Re: [6.3] How are those daemons started?

2008-03-31 Thread Gilles
On Tue, 1 Apr 2008 01:47:11 +0300, Ghirai <[EMAIL PROTECTED]> wrote:
>You can stop syslog from listening by adding this to rc.conf:

Thanks. I'll probably turn off Sendmail and Syslogd, and see if it
works, although this host is already behind a firewall and those ports
are not mapped through.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: changed sendmail behavior on FreeBSD 7?

2008-03-31 Thread Dan Busarow


On Mar 31, 2008, at 5:11 PM, fred wrote:

Hi, I am having the exact same problem with a server running  
FreeBSD-7.0.


The hostname is : server1.mydomain.com
MX for mydomain.com is not server1.

sendmail -v [EMAIL PROTECTED] < test.msg will result in user unknown

but

sendmail -v [EMAIL PROTECTED] < test.msg will work.

If anyone knows how to get around this?


In your .mc file

define(`confDONT_PROBE_INTERFACES', `true')

Dan




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris St  
Denis

Sent: 31 mars 2008 16:29
To: freebsd-questions@freebsd.org
Subject: changed sendmail behavior on FreeBSD 7?

I've setup a new web server hostname doremi.ctgameinfo.com. When I try
to send mail to [EMAIL PROTECTED] it tries to deliver it locally
instead of to the mx server mx1.ctgameinfo.com.

In previous versions this seems to work correctly. Why would it be
trying to deliver locally this time? I'm running default sendmail  
config

that comes with the standard install.


Another server I have seems to have this problem even worse. It's a  
web

server, and for any of the hundreds of domains hosted on it (www A
records pointed at it, but MX records pointed elseware) it also  
tries to

deliver locally. I was able to get this mostly working by using a
smarthost to the actual mail server, but I don't understand why it  
would

be ignoring the mx records.

I've never had problems like these with previous versions. What has  
changed?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions- 
[EMAIL PROTECTED]"


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions- 
[EMAIL PROTECTED]"


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Wake-on-LAN and the em driver (freebsd 7.x)

2008-03-31 Thread Kent Hauser
On Mon, Mar 31, 2008 at 12:45 PM, Jerry McAllister <[EMAIL PROTECTED]> wrote:

> On Mon, Mar 31, 2008 at 02:09:22PM -0800, Ted Mittelstaedt wrote:
>
> >
> >
> > > -Original Message-
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED] Behalf Of Walker
> > > Sent: Monday, March 31, 2008 11:37 AM
> > > To: Kent Hauser; freebsd-questions@freebsd.org
> > > Subject: Re: Wake-on-LAN and the em driver (freebsd 7.x)
> > >
> > >
> > > I would like to know of any other easier ways to do this.
> >
> > Any network admin worth his salt has an old win98 system tucked
> > away that can be used to create bootable dos cd's.
>
> Don't know much about the value of salt, but the old Win 98 machine
> I have around has a dead CD and dead floppy as well.   Guess they are
> replaceable, but is it worth money and bother?
>
> I wouldn't be surprised if there are many like that sitting around.
>
> jerry
>
> >  And if your
> > really a wizard you have a windows for workgroups 3.11 system
> > tucked away as there are devices (notably HP JetDirect print servers)
> > that can only be firmware-updated from that platform, plus you
> > have a genuine DOS system with an
> > EGA card and monitor in inventory, like I do. ;-)  I'm sure one of
> > these days I'll need it for something...
> >
> > The ultimate guru's of course, have in addition to this, a trash-80,
> > an Apple II, a Commodore PET, and a VAX 11/70 plus the 3-phase power
> > to run it - and still remember how to boot all of them
> >
> > Ted
>


You comments got me to thinking, I have tossed all my old PC/AT, W98, etc
systems a while back (along with my old Foghat 8-tracks -- yes I cruised to
Fool for the City on 8-track),  but I still had a W98SE boot CD -- and
amazingly enough it worked. And it recognized my flash drive as B: no
problem. So step 1 complete.

Now I seem to have run up against a FreeBSD 7.x ACPI bug. Now that WOL is
turned on, if I "halt -p", I get the HUB LED to come back on -- but I can't
wake the machine. However, if I pull the power on the box & plug it back in,
I can WOL the machine fine.  Everything is fine when booted in XP.

Any thoughts on this one?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Getting PXE booting to work on FreeBSD 7.0

2008-03-31 Thread Brett Davidson
I have set up a Linux Boot DHCP server (for other reasons that hopefully 
will become obvious later) which points to the BSD based tftp server.


I did try to recompile the BSD pxeboot program to use TFTP as per the 
following but this did not appear to work as booting it still prompted 
for an NFS path :


echo LOADER_TFTP_SUPPORT=YES >> /etc/make.conf; cd /usr/src/sys/boot/; 
make clean; make depend; make; cp i386/pxeldr/pxeboot /tftpboot/freebsd


So...

I set up /etc/exports with "/tftpboot/ -alldirs ro", and started up nfs.
This works fine for manual mounting and for installing via nfs after 
booting off CD but I get the following errors when PXE booting...


pxe_open: server addr: 
pxe_open: server path: /tftpboot/freebsd
pxe_open: gateway ip: 
\
can't load 'kernel'

The /tftpboot/freebsd/boot/loader.rc file contents are given here ( I 
have tried full OS paths to these as well to no avail) :


echo Loading Kernel
load /boot/kernel/kernel
load linux.ko
echo Booting
load -r /mfs_root/mfsroot.gz
echo \007\007
echo initialiasing h0h0magic
set vfs.root.mountfrom=ufs:/dev/md0c
boot

IMPORTANT: I am booting the client within a vmware-based instance 
(Vmware-server 1.0.4 on Centos 4.4) using bridged networking.


I am obviously missing something obvious. Can you please point this out 
to me?! :-)


--
Brett Davidson
Systems Engineer
--
Net24 Limited
Web: www.net24.co.nz
Phone: 0800 5000 24 | DDI: +64 3 962 9518
--
// web hosting / email hosting / data backup 
// our reputation for reliability precedes us


This transmission is for the intended addressee only and is confidential
information. If you have received this transmission in error, please
delete it and notify the sender.

Protected by Net24 Fortigate Anti-virus system
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: FreeBSD 7.0 Handbook 6.2.4 Firefox, Mozilla Macromedia Flash plugin

2008-03-31 Thread std
> when checking /usr/ports/emulators/linux_base I find different versions:
> - linux_base-f7
> - linux_base-fc4
> - linux_base-fc6
> - linux_base-gentoo-stage1-3
> what is the right version to apply to avoid issues?
I would suggest linux_base-fc6 for Rel. 7.0 build, not linux_base-fc4.  The 
rel. 7.0's build with fc4.  In order to use flash (or maybe it was open office, 
latest diablo, or some other core userland app), I had to uninstall fc4 and 
install fc6 through ports make install.  er, at least fc6.
std
www.turnerlit.com

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: pkg_add goofiness in 7.0

2008-03-31 Thread perryh
...
> > extract: execute '/usr/local/bin/xmlcatmgr -sc 
> > /usr/local/share/sgml/catalog.ports add linuxdoc/catalog'
> > xmlcatmgr: unbalanced arguments for `add' action
> > pkg_add: command '/usr/local/bin/xmlcatmgr -sc 
> > /usr/local/share/sgml/catalog.ports add linuxdoc/catalog' failed
...

> That looks like a warning from xmlcatmgr which may or may not be 
> important, but the package apparently added itself completely (no
> errors were reported by pkg_add).

It may not make a lot of difference, but I am now wondering how to
recognize an "error reported by pkg_add" since this:

> > pkg_add: command '/usr/local/bin/xmlcatmgr -sc 
> > /usr/local/share/sgml/catalog.ports add linuxdoc/catalog' failed

looks like one to me, but apparently it isn't.

> You should look into the xmlcatmgr documentation, or talk to the
> port maintainer, to find out what that warning means and if it
> is important.

I didn't find anything pertinent in the (minimal) installed
documentation.

Just taking the xmlcatmgr message at face value, it looks as if
some addition that linuxdoc intended to make in some catalog did
not get done.  Anything following that step in the postinstall
script may also not have gotten done.  My gut suspicion is that
there is something wrong with the linuxdoc postinstall script
-- or perhaps linuxdoc has an unstated dependency which I don't
happen to have installed -- rather than something wrong with
xmlcatmgr.  PR time, I guess :(
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


which ports tag should i follow?

2008-03-31 Thread CY Teng
Hi,
i'm a newbie to freebsd. after reading handbook, i chose 7.0-stable and
cvsup src-all, and now i don't know which ports tag to cvsup?
does ports cvs tree have RELENG_7 tag too, or i should follow tag "."?

thanks

tengcy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: which ports tag should i follow?

2008-03-31 Thread Terry Sposato

CY Teng wrote:

Hi,
i'm a newbie to freebsd. after reading handbook, i chose 7.0-stable and
cvsup src-all, and now i don't know which ports tag to cvsup?
does ports cvs tree have RELENG_7 tag too, or i should follow tag "."?

thanks

tengcy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Hi CY,

Your best bet is to use 'portsnap'.
It is located in base and very simple to use.

man portsnap for more information

When you first use it you can follow these steps:

sudo portsnap fetch extract

Then at subsequent occasions when you want to upgrade your ports tree 
issue the following command:


sudo portsnap fetch update

Alternatively it can be run daily via the system crontab with the 
following command:


portsnap cron update

Hope this helps,

Terry



signature.asc
Description: OpenPGP digital signature


Re: which ports tag should i follow?

2008-03-31 Thread Josh Carroll
On Tue, Apr 1, 2008 at 12:26 AM, CY Teng <[EMAIL PROTECTED]> wrote:
> Hi,
>  i'm a newbie to freebsd. after reading handbook, i chose 7.0-stable and
>  cvsup src-all, and now i don't know which ports tag to cvsup?
>  does ports cvs tree have RELENG_7 tag too, or i should follow tag "."?

Generally, you want to use ".". The only time you'd use a specific tag
is in rare cases where you're using an old (EOL'd) version of FreeBSD
and want to point to a known-good snapshot of the ports tree for that
branch. For example, RELEASE_4_EOL.

So the short answer is, stick with "." as the tag.

Regards,
Josh
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: SCSI network

2008-03-31 Thread Wojciech Puchar

a cheap solution why don't you equip you PC's with FireWire cards? But ask


once again - i asked because i already have these SCSI controllers and 
they are unused.


with firewire - it works fine, i know :) - fwip(4)



somebody about the limitations there (IMHO you can make some sort of bus
connection, but  worst case it would be one-to-one connections).


i used only 1:1 connections for connecting 2 servers. worked fine.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: SCSI network

2008-03-31 Thread Wojciech Puchar


with firewire - it works fine, i know :) - fwip(4)



if talking about firewire, why on my system:

fwohci0:  mem 
0xf5005000-0xf50057ff,0xf500-0xf5003fff irq 18 at

device 6.0 on pci5
fwohci0: OHCI version 1.10 (ROM=0)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:c5:ba:74:00:00:1a:4d
fwohci0: Phy 1394a available S400, 3 ports.
  ^^
fwohci0: Link S400, max_rec 2048 bytes.
firewire0:  on fwohci0
fwip0:  on firewire0
fwip0: Firewire address: 00:c5:ba:74:00:00:1a:4d @ 0xfffe, S400, 
maxrec 2048

sbp0:  on firewire0
fwohci0: Initiate bus reset
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)


i have 1 port, while the driver says 3 ports.

are 2 ports on motherboard, just lacking connectors?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"