Re: 32 bit on FreeBSD 5.2

2004-02-25 Thread Gilad Rom
Mateusz Rajca wrote:
Hi,

How do you setup the 32 bit color option on FreeBSD
5.2.
Thanks 

Mateusz Rajca

You probably mean the display bit-depth, which is operating-system
independent and depends on your custom Xfree86 configuration.
So the answer is yes, but it depends on your Graphics card,
although all modern cards support 32-bit modes.
Gilad.

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


Re: UDMA ICRC Error FreeBSD 4.9, falling back to PIO mode

2004-02-04 Thread Gilad Rom
treeml wrote:
I get a following error on boot

ad1s1a: UDMA ICRC error reading fsbn 511 of 244-255 (ad1s1 bn 511; cn 0 tn
8sn 7) retrying
ad1s1a: UDMA ICRC error reading fsbn 511 of 244-255 (ad1s1 bn 511; cn 0 tn
8sn 7) retrying
ad1s1a: UDMA ICRC error reading fsbn 511 of 244-255 (ad1s1 bn 511; cn 0 tn
8sn 7) retrying
ad1s1a: UDMA ICRC error reading fsbn 511 of 244-255 (ad1s1 bn 511; cn 0 tn
8sn 7) retrying
falling back to PIO mode
Sounds like your drive was physically damaged.
This recently happend to a mail server of ours,
and I had to reinstall the whole thing.
(After long fsck sessions, only a small part
of the file systems was accessible, and there
was nothing of value that could be salvaged)
Sorry for the Bad News (tm) :(

Gilad.

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


Re: verify md5 for /sbin/init (v1.7.2.3 2002/08/12 11:17:37 ) on FreeBSD Stable 4.9

2004-02-04 Thread Gilad Rom
treeml wrote:
My machine hangs at /sbin/init on boot, I just want to check if /sbin/init
is corrupted or not.  I have FreeBSD 4.9 stable on PIII 866.
Here is the md5
MD5 (/mnt/sbin/init) = a7dc0528ae8a102c96f51dc516aa7f62
ident /mnt/sbin/init

Gave out a long list of results, but at the end of the list, which is also
the most recent is the following.  $FreeBSD:
src/lib/libc/locale//ldpart.c,v1.7.2.3 2002/08/12 11:17:37 ache Exp $
If anyone out there can verifies the md5 sum of /sbin/init of the version
listed above, that would be very helpful.
Here is mine:
MD5 (/sbin/init) = bdcf745dd758b38727ba97f24be471e5
and ident /sbin/init shows:
$FreeBSD: src/lib/libc/locale/ldpart.c,v 1.7.2.3 2002/08/12 11:17:37 
ache Exp $

This is from FreeBSD 4.9-RC1.

However, from a 4.9-STABLE box, I get
MD5 (/sbin/init) = 3ce17ad04b21e20b91204dd9867e8f80
and ident /sbin/init shows:
$FreeBSD: src/lib/libc/locale/ldpart.c,v 1.7.2.4 2003/12/22 20:45:16 jkh 
Exp $

Gilad.

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


Re: Success with Symantec Ghost 7

2004-01-18 Thread Gilad Rom
Stephen Hoover wrote:
I know the topic of ghosting a FreeBSD box is discussed on here from time
to time.
I just wanted to let everyone know I had a success using Ghost 7 on my
current setup. I cloned it from a Dell PowerEdge 2450 to a generic desktop
with same drive configuration (2 SCSI drives in each). I used Ghost to do a
sector copy on each individual harddrive.
All I had to do to get it rolling was boot to the GENERIC kernel, as the one
I configured for the Dell server was SMP. Everything seemed to come up and
work fine. It even saw additional drive space on the new machine, as the
harddrives were slightly bigger.
Just thought this was some good information for the list.

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

Just out of curiousity - How long does it take for ghost to
replicate the disk?
I'm using dd if=/dev/ad0 of=/dev/ad2 bs=16k for my disks
(2x20GB, EIDE, UDMA100), and it takes roughly 28 minutes.
Gilad.

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


Re: Cutting the power without unmounting the filesystem

2004-01-18 Thread Gilad Rom
Rickard Dahlstrand wrote:
Hi,

I have a computer that will have it's power removed quite often. In other word It will not unmount the file system. What kind of implications does this have in the long term?

I have discovered that the start-up takes much longer because of having to clean the file system. Is there a way to prevent this and what harm can cutting the power have on the system?

I know of some installations that use read-only mounting. Is it possible to mount / RO and /etc and /var RW? Will that speed up the boot process?

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

5.2 has background fsck - I don't know if its going to fix all of the
problems that cutting the power is going to introduce, but Its going
to speed up your boot sequence for sure.
Gilad.

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


Re: rpc.lockd segfault

2004-01-18 Thread Gilad Rom
Antoine Jacoutot wrote:
On Saturday 17 January 2004 23:01, Kris Kennaway wrote:

Unfortunately that doesn't give any information.  You'll need to
recompile rpc.lockd with GDB debugging symbols (add -ggdb to CFLAGS).
See the developer's handbook on the website for more information about
debugging program failures with gdb (specifically, how to obtain a
useful backtrace).


Well, I recompiled rpc.lockd using -ggdb and -g, but when I launch the 
following command:
$ gdb /usr/sbin/rpc.lockd
... I get:

GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i386-unknown-freebsd...(no debugging symbols 
found)...

How come no debugging symbols are found ?

Here is how I compiled rpc.lockd
( CFLAGS= -g -ggdb -O -pipe ):
$ rm -Rf /usr/obj/*
$ cd /usr/src/usr.sbin/rpc.lockd
$ make clean  make obj  make depend  make all install
rm -f nlm_prot_svc.c nlm_prot.h test rpc.lockd kern.o nlm_prot_svc.o lockd.o 
lock_proc.o lockd_lock.o rpc.lockd.8.gz rpc.lockd.8.cat.gz
/usr/obj/usr/src/usr.sbin/rpc.lockd created for /usr/src/usr.sbin/rpc.lockd
rpcgen -L -C -m -o nlm_prot_svc.c /usr/include/rpcsvc/nlm_prot.x
rm -f .depend
mkdep -f .depend -a-I. 
-I/usr/include/rpcsvc  /usr/src/usr.sbin/rpc.lockd/kern.c 
nlm_prot_svc.c /usr/src/usr.sbin/rpc.lockd/lockd.c /usr/src/usr.sbin/rpc.lockd/lock_proc.c /usr/src/usr.sbin/rpc.lockd/lockd_lock.c
echo rpc.lockd: /usr/lib/libc.a /usr/lib/librpcsvc.a /usr/lib/libutil.a 

.depend
cc -g -ggdb -O -pipe -march=pentium3 -I. -I/usr/include/rpcsvc  
-c /usr/src/usr.sbin/rpc.lockd/kern.c
cc -g -ggdb -O -pipe -march=pentium3 -I. -I/usr/include/rpcsvc  -c 
nlm_prot_svc.c
cc -g -ggdb -O -pipe -march=pentium3 -I. -I/usr/include/rpcsvc  
-c /usr/src/usr.sbin/rpc.lockd/lockd.c
cc -g -ggdb -O -pipe -march=pentium3 -I. -I/usr/include/rpcsvc  
-c /usr/src/usr.sbin/rpc.lockd/lock_proc.c
cc -g -ggdb -O -pipe -march=pentium3 -I. -I/usr/include/rpcsvc  
-c /usr/src/usr.sbin/rpc.lockd/lockd_lock.c
cc -g -ggdb -O -pipe -march=pentium3 -I. -I/usr/include/rpcsvc   -o rpc.lockd 
kern.o nlm_prot_svc.o lockd.o lock_proc.o lockd_lock.o -lrpcsvc -lutil
gzip -cn /usr/src/usr.sbin/rpc.lockd/rpc.lockd.8  rpc.lockd.8.gz
install -s -o root -g wheel -m 555   rpc.lockd /usr/sbin
install -s uses strip(1), so all your debugging symbols are erased.
the original binary left in-place  should have debugging symbols.
Gilad.

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


Re: gnome startup : \can\'t find /dev/sound/mixer\

2004-01-18 Thread Gilad Rom
[EMAIL PROTECTED] wrote:
Hello everybody,

I have FreeBSD 4.8 installed on an AMD thunderbird 800 and i am using gnome.
everytime i start gnome, i get the error message \cant open /dev/sound/mixer\.
There is a Sound Blaster 128 Pro PCI installed in the box, but neither does /dev/sound
exist, nor can i spot anything that looks as if it could be a sound card in the output 
of dmesg.
a threat at linuxquestions.org [1] exists that seems to describe the same problem and someone claims the solution was to rebuild the kernel with soundcart support, but noone did further comment on that proposal.

is there no sound card support in freebsd 4.8 by default? do i have to rebuild the kernel?
or is there another solution to my problem? 

thanks for your annswers,

tim
[EMAIL PROTECTED]
[1] http://www.linuxquestions.org/questions/archive/17/2003/06/2/63923



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD does not include sound support by default in the GENERIC kernel.
There are, however, loadable kernel modules which you can load
to introduce sound support into the kernel.
try 'kldload snd_pcm', and then 'cat /dev/sndstat'.
/dev/sndstat should contain a description of your sound
card. Also, try 'man pcm'.
Gilad.

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


Re: Mail server?

2004-01-17 Thread Gilad Rom
[EMAIL PROTECTED] wrote:
Howdy,


configuration has always seemed pretty straight-forward.  If I stay with 
sendmail, should I download and compile from sources?


You should always use the ports collection, or a package, for what it's
worth. By the way, if you think sendmail configuration is straightforward, I
don't think there's much MTA software out there that could still scare you,
not even qmail :P

If you choose to go with sendmail, you should use the base-system's.
It's pretty up to date with critical patches and the like.


I personally deprecated sendmail ages ago, for two mai reasons:
 - it's a cruft, one big old leviathan and delivers mail at according speed
 - its security history
I know both points are arguable and I don't want to troll off another holy
MTA war here, just saying that these two points did it for me. 

I personally prefer Postfix, which is also used by the mail-servers at
FreeBSD.org. The UCE blocking support offered by it is pretty good,
and configuration is straightforward. You don't even need to remove 
the base-system's MTA, just tweak rc.conf and mailer.conf and you're
up and away.


I couldn't agree more. Postfix is fast, flexible and way secure and its
configuration and general handling isn't as messy as qmail's. 
For the most part, all you have to worry about is one central config file
and it aims to integrate well into a system replacing sendmail. Try it.

Cheers, J.

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

Up to a month ago, I've never installed a mail server in my life.
And then, all of the sudden, I had to.
I used Postfix from the ports collection, and together with the online 
manuals, I had a production mail server in under an hour.
Configuration is _VERY_ straight-forward.

Since then, I had used the same configuration for 2 other production
mail servers, each with hundreds of users.
Postfix just works, which for me, is the most important quality.

Gilad.

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


Re: Updating DNS after DHCP

2004-01-15 Thread Gilad Rom
Scott Mitchell wrote:
On Tue, Jan 13, 2004 at 01:16:23PM +0100, Ruben de Groot wrote:

On Mon, Jan 12, 2004 at 11:09:38PM -0600, John typed:

I see that some Microsoft systems send out an update to DNS with
the system name.  I configured my DNS server to accept these updates,
but now that I'm running FreeBSD on a laptop - how do I do that
from FreeBSD? I've looked at the dhclient man pages and the named
man pages and the pages that they refer to and I didn't pick up
any hints there.
Can anyone give me a clue? (Yeah - I'm clueless...)
I believe this is done by the nsupdate(8) program.


You can also have your DHCP server do the updates - which makes sense, as
it's the thing handing out the addresses to your client machines.  I have
this working reasonably well with isc-dhcpd, for Windows and FreeBSD
clients.
You want to read the 'DYNAMIC DNS UPDATES' section of the dhcpd.conf(5)
manpage, and whatever docs your DNS server has on this topic.  There are
plenty of examples of working configs for isc-dhcpd and bind to be found on
the web.
HTH,

	Scott

I just set this up today...
There's actually nothing to be done on the client side.
The isc-dhcp server takes care of informing BIND that it has handed
out a new Address.
You have to add the following line to your dhcpd.conf:
ddns-update-style ad-hoc;
and make sure BIND is willing to take it:
(from /etc/named/named.conf:
zone lan {
type master;
allow-update { 192.168.1.10; }; --
file s/lan;
};
(192.168.1.10 is my DHCP server, which is actually
the same machine which runs BIND)
after a little while, 'host -l lan' says:
OREN1.lan has address 192.168.1.54
ROIE.lan has address 192.168.1.57
Sun.lan has address 192.168.1.56
zhacy.lan has address 192.168.1.58

And so forth...
These are all dynamically-assigned addresses,
I only have ladon/mail/router.lan defined in the
zone file.
Gilad.

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


Re: vlan support

2004-01-14 Thread Gilad Rom
Mike Tancsa wrote:
On 12 Jan 2004 09:33:32 +0500, in sentex.lists.freebsd.questions you
wrote:

How do you do!
ifconfig_vlan2=inet 192.168.100.1 netmask 255.255.255.0 vlan 4 vlandev
rl0
Catalyst settings were write because it works with cisco router.



I am pretty sure the Realtek Driver does not support the larger packet
size to handle 802.1q frames.  See man vlan.   I have used dc and fxp
based cards with great results, but nothing on the realtek.
---Mike
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

I'm sure the realtek supports VLAN in hardware, and I know the 5.2 
driver also supports it. I'm not so sure about 4.x, though.

Gilad

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


Re: switching from sendmail to postfix

2004-01-06 Thread Gilad Rom
Markus Espenhain wrote:
Hello all,

Im running an FreeBSD 4.9 System and from scratch is an sendmail MTA installed and active.

I would use postfix as my MTA.
How should I switch to postfix at best?
Has someone a suggestion?

Thank you!

Greetings from Stuttgart, Germany

Markus

Check out www.postfix.org, and http://www.freebsddiary.org/postfix.php.
Also, make sure you read through 
http://www.securitysage.com/guides/postfix_uce.html, as it contains
valueable information about spam and virus filtering.

What I'm using here is 4.9-STABLE, Running Postfix+amavisd+clamav.
All installed through the ports collection, Rock solid.
Gilad.

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


Re: flash support

2003-12-30 Thread Gilad Rom
You might have more luck with the binary linux mozilla port.
Try de-installing the linux-flashplugin port, installing the linux 
mozilla-bin port, and then reinstall the  linux-flashplugin.

Monah Baki wrote:
Hi all,

I'm trying to setup freebsd 4.9 at work as a desktop. I'm having problems with flash, even 
though I installed it from ports (linux-flashplugin-6.0r69 and flashplugin-mozilla-0.4.10_2 and 
to name a few ), I still can't view some sites.

www.macromedia.com (it says I need to download linux flash
whatisthematrix.warnerbros.com/vtour/zionarchives.html (nothing shows up)
I applied what the install said about copying some files to the plugins directory of mozilla.

Any help will be highly appreciated.

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



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


Re: trouble installing rpm-4.0.4.tar.gz

2003-12-29 Thread Gilad Rom
Shalom Frederick,

Why not use ports?
Try to cd to /usr/ports/archivers/rpm and type 'make install'.
That should do the trick. (Although the ported version of RPM is not
of the 4.x branch).
Could you possibly send a longer description of the problem? (not able 
to ./configure) is not a very clear description...

Gilad.

Frederick Thomas wrote:
shalom,
  I have a question which I hope that you can help me with. I just tried to intstall 
rpm-4.0.4.tar.gz on my system[freebsd 4.8] and have not been able to get it to 
./configure let alone make. Is there a special dir, ( /usr/compat/linux?), or dependencies
that are required to compile the tarball? My main reason for trying top install a package
manager is that I've had problems with gmetadom[lastest] and various other tarballs with
limited success. I am attempting to teach myself about unix and could just use a pointer
in the right direction. Thank you for your time...
 
 
 [EMAIL PROTECTED]

-
Do you Yahoo!?
Yahoo! Photos - Get your photo on the big screen in Times Square
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



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