The FreeBSD Diary: 2004-02-15 - 2004-03-06

2004-03-07 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to [EMAIL PROTECTED] with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives  
and/or The FreeBSD Diary . 


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

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


Re: picture?

2004-03-07 Thread Stephen Liu
On Sunday 07 March 2004 12:22, Kris Kennaway wrote:
> On Sat, Mar 06, 2004 at 07:54:32PM -0800, Brian Henning wrote:
> > where can i find a 1024x768 background jpeg of the bsd daemon?
>
> A nice one comes with the wdm port.
>
> Kris

Hi Kris,

$ locate wdm | grep port
/usr/ports/net/cflowd/files/patch-apps::cflowdmux::CflowdRawFlowClientList.hh
/usr/ports/x11/wdm
/usr/ports/x11/wdm/Makefile
/usr/ports/x11/wdm/README.html
/usr/ports/x11/wdm/distinfo
/usr/ports/x11/wdm/files
/usr/ports/x11/wdm/files/patch-configs::wdm-config.in
/usr/ports/x11/wdm/files/patch-src::wdm::loghelpers.c
/usr/ports/x11/wdm/files/patch-src::wdm::session.c
/usr/ports/x11/wdm/files/wdm.pam
/usr/ports/x11/wdm/pkg-descr
/usr/ports/x11/wdm/pkg-plist

Kindly advise where the picture can be located.

TIA

B.R.
Stephen Liu

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


Re: picture?

2004-03-07 Thread John Birrell
On Mon, Mar 08, 2004 at 12:38:21AM +0800, Stephen Liu wrote:
> On Sunday 07 March 2004 12:22, Kris Kennaway wrote:
> > On Sat, Mar 06, 2004 at 07:54:32PM -0800, Brian Henning wrote:
> > > where can i find a 1024x768 background jpeg of the bsd daemon?
> >
> > A nice one comes with the wdm port.
> >
> > Kris
> 
> Hi Kris,
> 
> $ locate wdm | grep port
> /usr/ports/net/cflowd/files/patch-apps::cflowdmux::CflowdRawFlowClientList.hh
> /usr/ports/x11/wdm
> /usr/ports/x11/wdm/Makefile
> /usr/ports/x11/wdm/README.html
> /usr/ports/x11/wdm/distinfo
> /usr/ports/x11/wdm/files
> /usr/ports/x11/wdm/files/patch-configs::wdm-config.in
> /usr/ports/x11/wdm/files/patch-src::wdm::loghelpers.c
> /usr/ports/x11/wdm/files/patch-src::wdm::session.c
> /usr/ports/x11/wdm/files/wdm.pam
> /usr/ports/x11/wdm/pkg-descr
> /usr/ports/x11/wdm/pkg-plist
> 
> Kindly advise where the picture can be located.

You will need to do a 'make extract' from /usr/ports/x11/wdm to get the
distribution file and unpack it.

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


Re: picture?

2004-03-07 Thread Kris Kennaway
On Mon, Mar 08, 2004 at 12:38:21AM +0800, Stephen Liu wrote:
> On Sunday 07 March 2004 12:22, Kris Kennaway wrote:
> > On Sat, Mar 06, 2004 at 07:54:32PM -0800, Brian Henning wrote:
> > > where can i find a 1024x768 background jpeg of the bsd daemon?
> >
> > A nice one comes with the wdm port.
> >
> > Kris
> 
> Hi Kris,
> 
> $ locate wdm | grep port
> /usr/ports/net/cflowd/files/patch-apps::cflowdmux::CflowdRawFlowClientList.hh
> /usr/ports/x11/wdm
> /usr/ports/x11/wdm/Makefile
> /usr/ports/x11/wdm/README.html
> /usr/ports/x11/wdm/distinfo
> /usr/ports/x11/wdm/files
> /usr/ports/x11/wdm/files/patch-configs::wdm-config.in
> /usr/ports/x11/wdm/files/patch-src::wdm::loghelpers.c
> /usr/ports/x11/wdm/files/patch-src::wdm::session.c
> /usr/ports/x11/wdm/files/wdm.pam
> /usr/ports/x11/wdm/pkg-descr
> /usr/ports/x11/wdm/pkg-plist
> 
> Kindly advise where the picture can be located.

Well, it's not in the port directory any more than the wdm source is
there.  It's fetched as part of the port build; do a 'make fetch'.

Kris


pgp0.pgp
Description: PGP signature


Apache 2.0.48/DAV2/SSL0.9.7c/PHP4.3.4/ + mod_auth_ldap = httpd child Segmentation Fault on query

2004-03-07 Thread Jason Lixfeld
This may be more of a [EMAIL PROTECTED] question, but I figure I'd 
ask here as well anyway.

su-2.05b# uname -a
FreeBSD spam.kill.er 5.2.1-RELEASE-p1 FreeBSD 5.2.1-RELEASE-p1 #25: Fri 
Mar  5 03:51:13 EST 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/ESHARA  amd64
su-2.05b#

Very new to ldap + httpd so I'm not 100% sure that this is NOT a 
configuration issue (but I'm 99.999% sure it's not) :)

Have the following in my httpd.conf:

LoadModule ldap_module  libexec/apache2/mod_ldap.so
LoadModule auth_ldap_module libexec/apache2/mod_auth_ldap.so

Options Indexes FollowSymLinks
AllowOverride None
order allow,deny
allow from all
AuthName "eBit Networks LDAP Authentication Test"
AuthType Basic
AuthLDAPBindDN dc=domain,dc=tld
AuthLDAPBindPAssword xx
AuthLDAPURL "ldap://127.0.0.1/ou=Manager,dc=domain,dc=tld?uid";
require valid-user

after I go to http://domain.tld/foo, I get the login prompt from my 
browser, enter username + password (according to ldap entry below) and 
get an error message.  Nothing shows up in the ldap logs (even after 
running slapd -d -1), but I get the following in httpd-error.log:

[Sat Mar 06 22:23:17 2004] [notice] child pid 6990 exit signal 
Segmentation fault (11)

LDAP entry:

# jlixfeld, Manager, ebit.ca
dn: uid=jlixfeld,cn=Manager,dc=domain,dc=tld
objectClass: uidObject
objectClass: simpleSecurityObject
objectClass: inetOrgPerson
uid: jlixfeld
cn: Manager
userPassword:: x
sn: Jason
anyone seen this before?  any ideas?

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


Re: picture?

2004-03-07 Thread Stephen Liu
- snip -
> > $ locate wdm | grep port
> > /usr/ports/net/cflowd/files/patch-apps::cflowdmux::CflowdRawFlowClientLis
> >t.hh /usr/ports/x11/wdm
> > /usr/ports/x11/wdm/Makefile
> > /usr/ports/x11/wdm/README.html
> > /usr/ports/x11/wdm/distinfo
> > /usr/ports/x11/wdm/files
> > /usr/ports/x11/wdm/files/patch-configs::wdm-config.in
> > /usr/ports/x11/wdm/files/patch-src::wdm::loghelpers.c
> > /usr/ports/x11/wdm/files/patch-src::wdm::session.c
> > /usr/ports/x11/wdm/files/wdm.pam
> > /usr/ports/x11/wdm/pkg-descr
> > /usr/ports/x11/wdm/pkg-plist
> >
> > Kindly advise where the picture can be located.
>
> Well, it's not in the port directory any more than the wdm source is
> there.  It's fetched as part of the port build; do a 'make fetch'.

Hi Kris and others,

Thanks for your advice.

I did 'make fetch' but finally I surrended because;

1) I am testing FreeBSD 5.2 on a slow PC
2) When it came to 'OpenOffice' following advice popup
To build Openoffice, you should have a lot
of free diskspace (~ 4GB)

B.R.
Stephen

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


Re: picture?

2004-03-07 Thread Kris Kennaway
On Mon, Mar 08, 2004 at 02:54:34AM +0800, Stephen Liu wrote:
> - snip -
> > > $ locate wdm | grep port
> > > /usr/ports/net/cflowd/files/patch-apps::cflowdmux::CflowdRawFlowClientLis
> > >t.hh /usr/ports/x11/wdm
> > > /usr/ports/x11/wdm/Makefile
> > > /usr/ports/x11/wdm/README.html
> > > /usr/ports/x11/wdm/distinfo
> > > /usr/ports/x11/wdm/files
> > > /usr/ports/x11/wdm/files/patch-configs::wdm-config.in
> > > /usr/ports/x11/wdm/files/patch-src::wdm::loghelpers.c
> > > /usr/ports/x11/wdm/files/patch-src::wdm::session.c
> > > /usr/ports/x11/wdm/files/wdm.pam
> > > /usr/ports/x11/wdm/pkg-descr
> > > /usr/ports/x11/wdm/pkg-plist
> > >
> > > Kindly advise where the picture can be located.
> >
> > Well, it's not in the port directory any more than the wdm source is
> > there.  It's fetched as part of the port build; do a 'make fetch'.
> 
> Hi Kris and others,
> 
> Thanks for your advice.
> 
> I did 'make fetch' but finally I surrended because;
> 
> 1) I am testing FreeBSD 5.2 on a slow PC
> 2) When it came to 'OpenOffice' following advice popup
> To build Openoffice, you should have a lot
> of free diskspace (~ 4GB)

Eh, who said anything about OpenOffice?  What command are you running?

Kris


pgp0.pgp
Description: PGP signature


Re: picture?

2004-03-07 Thread Harald Schmalzbauer
Am Sonntag, 7. März 2004 19:54 schrieb Stephen Liu:
> - snip -
>
> > > $ locate wdm | grep port
> > > /usr/ports/net/cflowd/files/patch-apps::cflowdmux::CflowdRawFlowClientL
> > >is t.hh /usr/ports/x11/wdm
> > > /usr/ports/x11/wdm/Makefile
> > > /usr/ports/x11/wdm/README.html
> > > /usr/ports/x11/wdm/distinfo
> > > /usr/ports/x11/wdm/files
> > > /usr/ports/x11/wdm/files/patch-configs::wdm-config.in
> > > /usr/ports/x11/wdm/files/patch-src::wdm::loghelpers.c
> > > /usr/ports/x11/wdm/files/patch-src::wdm::session.c
> > > /usr/ports/x11/wdm/files/wdm.pam
> > > /usr/ports/x11/wdm/pkg-descr
> > > /usr/ports/x11/wdm/pkg-plist
> > >
> > > Kindly advise where the picture can be located.
> >
> > Well, it's not in the port directory any more than the wdm source is
> > there.  It's fetched as part of the port build; do a 'make fetch'.
>
> Hi Kris and others,
>
> Thanks for your advice.
>
> I did 'make fetch' but finally I surrended because;
>
> 1) I am testing FreeBSD 5.2 on a slow PC
> 2) When it came to 'OpenOffice' following advice popup
> To build Openoffice, you should have a lot
> of free diskspace (~ 4GB)

You probably mistyped "fetch". "make fetch" just downloads wdm-1.27.tar.bz2, 
beastie.xpm and daemon1-HQ-1280x960.jpg.

The latter is the picture in question.

You can find it (together with many others) on: 
http://global-net.ru/~bm/pic/bsd/

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


pgp0.pgp
Description: signature


Re: Csh problems

2004-03-07 Thread Vulpes Velox
nevermind...
hehe, finally found something useful...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Shutdown in KDE

2004-03-07 Thread Robert Golovniov
Hello FreeBSD,

  Where  do  I  tell KDE to use "shutdown -p now" commant to shut down
  the computer, instead of its default command?

-- 
 -=Robert & Beata Golovniov | Lviv, Ukraine=-
~~
mailto:[EMAIL PROTECTED]&Body=Embedded%20key
~~




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


Re: Shutdown in KDE

2004-03-07 Thread Harald Schmalzbauer
Am Sonntag, 7. März 2004 10:35 schrieb Robert Golovniov:
> Hello FreeBSD,
>
>   Where  do  I  tell KDE to use "shutdown -p now" commant to shut down
>   the computer, instead of its default command?

You need to edit the "HaltCmd" in kdmrc (/usr/local/share/config/kdm) in 
section [Shutdown].
Since kde3.2 this section doesn't exist by default so you have to add these 
too lines to /usr/local/share/config/kdm/kdmrc:

[Shutdown]
HaltCmd=/sbin/shutdown -p now

-Harry


pgp0.pgp
Description: signature


MySQL and FreeBSD 5.x - Using LinuxThreads or not?

2004-03-07 Thread Lasse Laursen
Hi all,

We are about to upgrade one of our database servers to a Dual Xeon machine
with HT. We have been testing FreeBSD 5.x for 6-7 months on a Uniprocessor
box and we haven't had any problems with the platform.

We would like to use FreeBSD 5 on our new database server since the SMP
support is superior in the new release compared to the 4.x branch.

I did some reading on the topic at Jeremy Zawodny's website:

http://jeremy.zawodny.com/blog/archives/000697.html

and he suggests that the best solution is to use LinuxThreads when compiling
MySQL under FreeBSD.

His initial article covered FreeBSD 4.x -
http://jeremy.zawodny.com/blog/archives/000203.html

Have any of you had any experience with stability/performance under FreeBSD
5.x and MySQL 4.0.x? Should the LinuxThread library still be used when
compiling for maximum performance or has the problems been solved in

Regards
--
Lasse Laursen · VP, Hosting Technology · NetGroup A/S
St. Kongensgade 40H · DK-1264 Copenhagen K, Denmark
Phone: +45 3370 1526 · Fax: +45 3313 0066

- Don't be fooled by cheap finnish imitations - BSD is the One True Code


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


FreeBSD Crashes

2004-03-07 Thread Михалыч
Hello dear Subscribers!

I have mail-server (~ 2 users, exim/cyrrus imap/webmail/LDAP auth)
under FreeBSD 5.2 box with last patches.
After 3 weeks of normal fly it`s crash twice a day.

systat -vmstat at ssh-console before crash shows this:

1 usersLoad  0.25  0.14  0.12  Mar  7 19:27

Mem:KBREALVIRTUAL VN PAGER  SWAP PAGER
Tot   Share  TotShareFree in  out in  out
Act  3832485716  1355036 8340  713528 count
All 1309940   26832  235812467152 pages  
 2824 zfod   Interrupts
Proc:r  p  d  s  wCsw  Trp  Sys  Int  Sof  Flt   2470 cow2007 total
14   470486605  36239 701122723 2785  651 7136 280936 wire1: atkb
   342280 act 180 8: rtc
50.2%Sys   3.6%Intr  7.5%User  0.0%Nice 38.6%Idl   685692 inact   9: acpi
||||||||||cache   13: npx
=++746492 freestray 1
  daefr   15: ata
Namei Name-cacheDir-cache 741 prcfr  1452 30: em0
Calls hits% hits% react   235 49: ahd
   173348   162134   94   pdwak   50: ahd
  pdpgs   140 0: clk
Disks   da0   da1   da2 pass0 pass1 pass2 pass3   intrn
KB/t  10.81 11.37  0.00  0.00  0.00  0.00  0.00204096 buf
tps 164 5 0 0 0 0 0  1094 dirtybuf
MB/s   1.73  0.06  0.00  0.00  0.00  0.00  0.00161230 desiredvnodes
% busy   13 1 0 0 0 0 0 47511 numvnodes
   37 freevnodes


Can you tell me, why system used so much name-cache and network card
interrupts, I think it`s a cause of crash :-(
Any comments ?

My system configuration:
FreeBSD mail.domain.com 5.2-RELEASE FreeBSD 5.2-RELEASE #10: Sun Mar  7
09:47:36 VLAT 2004 [EMAIL PROTECTED] :/usr/src/sys/i386/compile/MAIL  i386

CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2392.29-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf25  Stepping = 5
  
Features=0xbfebfbff
  Hyperthreading: 2 logical CPUs
real memory  = 2147418112 (2047 MB)
avail memory = 2078699520 (1982 MB)
ACPI APIC Table: 
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
acpi0:  on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 19 entries at 0x800f3630
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
acpi_cpu0:  on acpi0
acpi_cpu1:  on acpi0
acpi_cpu2:  on acpi0
acpi_cpu3:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
pci0:  at device 0.1 (no driver attached)
pcib1:  at device 3.0 on pci0
pcib1: could not get PCI interrupt routing table for \\_SB_.PCI0.P0P5 - AE_NOT_FOUND
pci2:  on pcib1
pci2:  at device 28.0 (no driver attached)
pcib2:  at device 29.0 on pci2
pci4:  on pcib2
ahd0:  port 0x4000-0x40ff,0x3800-0x38ff mem 
0xfe9d-0xfe9d1fff irq 50 at device 7.0 on pci4
aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI-X 67-100Mhz, 512 SCBs
ahd1:  port 0x3400-0x34ff,0x3000-0x30ff mem 
0xfe9e-0xfe9e1fff irq 49 at device 7.1 on pci4
aic7902: Ultra320 Wide Channel B, SCSI Id=7, PCI-X 67-100Mhz, 512 SCBs
pci2:  at device 30.0 (no driver attached)
pcib3:  at device 31.0 on pci2
pci3:  on pcib3
em0:  port 0x2040-0x207f mem 
0xfe6c-0xfe6d irq 30 at device 7.0 on pci3
em0:  Speed:N/A  Duplex:N/A
em1:  port 0x2000-0x203f mem 
0xfe6e-0xfe6f irq 31 at device 7.1 on pci3
em1:  Speed:N/A  Duplex:N/A
pci0:  at device 3.1 (no driver attached)
pci0:  at device 29.0 (no driver attached)
pci0:  at device 29.1 (no driver attached)
pcib4:  at device 30.0 on pci0
pci1:  on pcib4
pci1:  at device 12.0 (no driver attached)
isab0:  at device 31.0 on pci0
isa0:  on isab0
atapci0:  port 0x3a0-0x3af,0-0x3,0-0x7,0-0x3,0-0x7 at 
device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
pci0:  at device 31.3 (no driver attached)
atkbdc0:  port 0x64,0x60 irq 1 on acpi0
atkbd0:  flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
acpi_ec0:  port 0xca7,0xca6 on acpi0
pmtimer0 on isa0
orm0:  at iomem 0xd3800-0xd4fff,0xd2000-0xd37ff,0xc-0xc7fff on isa0
fdc0: cannot reserve I/O port range (6 ports)
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounters tick every 10.000 msec
ipfw2 initialized, divert disabled, rule-based forwarding enabled, default to accept, 
logging limited to 20 packets/entry by default
acd0: CDROM  at ata1-master PIO4
Waiting 5 seconds for SCSI devices to settle
GEOM: create disk da0 dp=0x875b4050
GEOM: create disk da1 dp=0x875b

Troubles with disk access (5.2.1-RELEASE)

2004-03-07 Thread Martin Welk
Hi,

since upgrading to FreeBSD-5.2.1-RELEASE (and even -p1), I get the
following error messages under more heavy load (f. e. while compiling
something from the ports) - and I get a lot of these mesages at a time, and
they are written into /var/log/messages if the system is able to recover -
sometimes it doesn't even do so, and just hangs:

Mar  4 03:29:00 theatre kernel: swap_pager: indefinite wait buffer: device:
vinum/scratch, blkno: 190, size: 4096
Mar  4 03:29:00 theatre kernel: swap_pager: indefinite wait buffer: device:
vinum/var, blkno: 536, size: 4096
Mar  4 03:29:00 theatre kernel: Sorry, need DDB option to print backtrace

The machine is based on an Asus P2B-S board with a P-II CPU (350 MHz), 256
MBytes of memory and three ATA hard disks:

This machine is running like this for about 1 year now, was running
rock-solid before (I think I've started with 5.1-REL on it).

I have organized all my disks with Vinum and I'm quite happy with it: there
are two 120 GByte disks, bootable, all volumes mirrored through Vinum
including root but except swap space. I know that it's probably not the
best idea to run swapping through a logical volume manager at all, but as
this is a small home serve which shouldn't swap to much at all, I don't
care for it but it helps keeping disk organizing more simple - simply
having all as Vinum devices :) I would appreciate to be able to keep
swapping to Vinum devices in the future again (...latest GEOM changes...),
but that's a another issue - as swap space is usually almost unused (a few
hundred KBytes), I'm currently swapping to a md device (*cough*) hoping
that this will be fixed soon.

The machine is running as a small home server and DSL gateway, so it's
running ppp, natd, ipfw-based firewall, Squid, sendmail, SpamAssassin,
natd, Samba, NFS server, DHCP server, ntpd and a few other small things.

I've done an upgrade to 5.2.1-RELEASE a few days ago, with an update to -p1
a day later, and the other change during that time was to enable fxp1,
which hasn't been used before and that's now using the same IRQ (9) as the
on-board Adaptec SCSI adapter, but when the machine shows the described
symptoms, fxp1 wasn't used heavily and the SCSI adapter is completely
unused - well, there's a CD-ROM and a CD-R connected to it but never used.

Any help? I wonder if a disk dies or if this a software problem - but I
haven't seen any ATA related errors, not even on the console...

I'm cutting the dmesg output a little bit. (Oh yes, if this matters: Asus
offers some sort of beta-release BIOS for that machine to support ATA hard
disks > 32 GByte or so, which is installed - but I wonder if this should
have some effect as it has been installed from the beginning on, that
means, for about a year now).

Thank you very much in advance for any help. (If necessary, I can compile
in DDB and start to try to reproduce the problem with some tracing, but
I'm not experienced with that...)

Regards,
Martin

(...)
FreeBSD 5.2.1-RELEASE-p1 #3: Thu Mar  4 12:26:22 CET 2004
CPU: Pentium II/Pentium II Xeon/Celeron (350.80-MHz 686-class CPU)
(...)
real memory  = 268423168 (255 MB)
avail memory = 251105280 (239 MB)
(...)
Pentium Pro MTRR support enabled
pcibios: BIOS version 2.10
Using $PIR table, 8 entries at 0xc00f0d10
pcib0:  at pcibus 0 on motherboard
pci0:  on pcib0
pci_cfgintr: 0:6 INTA BIOS irq 9
pci_cfgintr: 0:7 INTA BIOS irq 5
pci_cfgintr: 0:9 INTA BIOS irq 9
pci_cfgintr: 0:10 INTA BIOS irq 5
pci_cfgintr: 0:11 INTA BIOS irq 12
agp0:  mem 0xe400-0xe7ff at device 
0.0 on pci0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
pci_cfgintr: 0:1 INTA routed to irq 4
pcib1: slot 0 INTA is routed to irq 4
pci1:  at device 0.0 (no driver attached)
isab0:  at device 4.0 on pci0
isa0:  on isab0
atapci0:  port 0xd800-0xd80f at device 4.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
uhci0:  port 0xd400-0xd41f at device 4.2 on 
pci0
pci_cfgintr: 0:4 INTD routed to irq 9
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0:  at device 4.3 (no driver attached)
ahc0:  port 0xd000-0xd0ff mem 
0xdf80-0xdf800fff irq 9 at device 6.0 on pci0
aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs
fxp0:  port 0xb800-0xb81f mem 
0xdf00-0xdf0f,0xe200-0xe2000fff irq 5 at device 7.0 on pci0
miibus0:  on fxp0
inphy0:  on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1:  port 0xb400-0xb43f mem 
0xde00-0xde0f,0xde80-0xde800fff irq 9 at device 9.0 on pci0
miibus1:  on fxp1
inphy1:  on miibus1
inphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcm0:  port 0xb000-0xb03f irq 5 at device 10.0 on pci0
de0:  port 0xa800-0xa87f mem 0xdd80-0xdd80007f irq 12 at 
device 11.0 on pci0
de0: 21041 [10Mb/s] pass 2.1
orm0:  at iomem 0xc8000-0xc8fff,0xc-0xc7fff on isa0
pmtimer0 on isa0
(...)
GEOM: create disk a

Re: Accessing Oracle8i Data on a FreeBSD System

2004-03-07 Thread Martin Welk
An Fri, Mar 05, 2004 at 04:39:14PM -0600, Martin McCormick wrote:

(...)
>   There is a linux distribution available on the Oracle web
> site called linux81701.tar, but it appears to be for those wishing to
> run an oracle8I server.
> 
>   What we are trying to do is:
> Receive data from the oracle data base on the Pinnacle server, process
> the data, and be able to set or clear flags on data we send back to
> the Pinnacle server.
> 
>   My question is what tools do I actually need under FreeBSD
> Unix to access the Pinnacle server's oracle8i data?
(...)

Well, I think the Oracle 8i distribution for Oracle includes an Oracle
client. I'm not sure if it is possible to install this stand-alone, but at
least you could give it a try.

I've never managed to run the Oracle Java installer on FreeBSD, but it's
possible to do an installation on a Linux box - than you could just put
together the Oracle installation directory and transfer it to your FreeBSD
box. You might want to try to install the client only on Linux and transfer
it to FreeBSD, and, of course, you need to run the Linux emulator and you
probably need a couple of the Linux shared libraries (/usr/ports/emulators/
linux-base) - as Oracle 8i for Linux runs on SuSE Linux 7.3 and RedHat 6.4
and similar, you might have to go with the older linux-base6.

Check of the environment of your Oracle user and make sure that your
ORACLE_HOME and LD_LIBRARY_PATH and your PATH is set correctly.
You can change the ${ORACLE_HOME}/client/network/admin/tnsnames.ora 
by hand without the Java dbassist or whatever, and if you've done
that all correctly, you might be able to connect to your database
with the sqlplus command.

If you want to use those Oracle client libraries from somewhere else,
you will need a Linux application loading the Oracle linux shared 
libraries.

Well, at all, this is something I'd call PITA and of course not supported
at all - so although I like FreeBSD very much (I'm using it for almost ten
years now at various places), I think that Linux might be the easier way to
go, unfortunately...

Regards,
Martin

-- 
  ,,Oh, there's a lot of opportunities, if you're knowing to take them,
  you know, there's a lot of opportunities, if there aren't
you can make them, make or break them!'' (Tennant/Lowe)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Antivir doesn't work on local 5.x file system, but works fine on mounted ...

2004-03-07 Thread Martin Welk
On Fri, Mar 05, 2004 at 09:32:03PM +0200, George Swentek wrote:

> Antivir ( http://www.antivir.de/ ) - a popular antivirus scanner
> doesn't work on local file system in Freebsd 5.X
(...)
> Files are 0 and it seems that antivir doesn't recognize the files in the file 
> system.I'v noticed this behaviour since the early 5.0 distribution. 
> 
> The strange thing about all this stuff is that antivir is working fine
> on mounted file system, even it is FreeBSD 5.X on it, but still refuse to scan files 
> mounted on / 
> That's the reason I post this message here.
> What is the difference between / and mounted file system, even if they are from the 
> same
> installation media..

Well, actually it appears that it doesn't work when you specify just a
directory (even with the -z option) without any wildcard matching the
directories _in_ that directory - so, for example, if I run

antivir -z /

it doesn't do anything, but

antivir -z /*

gives the expected result. I haven't asked H+B support if this is a "works
as expected" thing or an error.

(I'm running it on local file systems only - I'd try to avoid running it
across a network for a full scan to avoid the network load, but as always -
your mileage my vary.)

Regards,
Martin

-- 
  ,,Oh, there's a lot of opportunities, if you're knowing to take them,
  you know, there's a lot of opportunities, if there aren't
you can make them, make or break them!'' (Tennant/Lowe)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Handling lots of custom packages..

2004-03-07 Thread Matthew Seaman
On Sat, Mar 06, 2004 at 09:33:32PM -0600, adp wrote:

> So this means I can't really just dump our custom packages to packages/All
> since files will get overwritten. So I wanted to do something like:
> 
> /repos/ftp.freebsd.org/.../packages/All
> /repos/ftp.freebsd.org/.../packages/mail-custom
> /repos/ftp.freebsd.org/.../packages/db-custom
> /repos/ftp.freebsd.org/.../packages/web-custom
> 
> The All are the original packages from ftp.freebsd.org and everything else
> is custom compiled packages. I then create symlinks for everything in All to
> mail-custom/, db-custom/, and so on.
> 
> This doesn't work. When I pkg_add -r it always ends up looking in All/.

pkg_add(1) has an environment variable PKG_PATH which should help with
what you want to do.  So what you'ld do is maintain a copy of the
default packages in, say:

/repos/ftp.freebsd.org/.../packages/All

Then have your own package repository structures:

   /repos/mail-custom/.../packages/All/
   .../mail/
   etc.
   /repos/db-custom/.../packages/All
.../databases/
   /repos/web-custom/.../packages/All/
  .../www/

(Actually, if I was doing this, and only had to support one OS version
and one system architecture, I'd probably dispense with all those
intermediate directories shown as '...' and just keep a nice shallow
directory tree).

Although I've shown other port category directories here, you're not
really interested in them: however, when you're building the packages,
say for a mail server, you can just set the PACKAGES environment
variable to /repos/mail-custom/.../packages and the package will be
automatically installed to the right directory -- but the extra
package category stuff will be created at the same time.

The copy of the package collection from ftp.freebsd.org needs no local
modification, so you could just setup an automated job to synchronise
your copy with the FTP server and download any updated packages --
with the permission of the administrators of the server you mirror
from, obviously.

Then on your mail server machines, just set:


PKG_PATH=/repos/mail-custom/.../packages/All:/repos/ftp.freebsd.org/.../packages/All"

and similarly for the other classes of machines you're maintaining.

Now pkg_add(1) will search the current working directory, and then, in
order that list of directories on PKG_PATH to locate the package you
want to install.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: kernel panic messages?

2004-03-07 Thread Ben Paley
On Saturday 06 March 2004 6:13 pm, Matthew Seaman wrote:

>
> But, yes -- generally unless you're prepared to cope with crashes and
> do some debugging work, you shouldn't be running current.  What
> happens if you CVS up the latest RELENG_5_2 sources, do a full
> buildworld, etc. cycle and then try your custom kernel config.

I guess now is the time to do that. It's been very exciting, but I'm a bit 
over my head, though...

Thanks, all, for your help.

Cheers,
Ben

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


Re: Fixing (scsi) drives at particular /dev locations

2004-03-07 Thread Matthew Seaman
On Sat, Mar 06, 2004 at 10:53:17PM -0500, [EMAIL PROTECTED] wrote:
> FreeBSD 5.2.1; Sun/Cobalt LX50; GENERIC kernel
> 
> Greetings,
> 
> The darned LX50 is wired with the first SCSI bus out the back,
> and the second toward the builtin drives.  So, upon adding an
> external drive, the internal drives all renumber with the generic
> kernel+device hints.
> 
> I thought adding a line to /boot/device.hints might work, so
> reading /usr/src/sys/i386/conf/gethints.awk for clues, I added:
> 
>   hint.da.0.at="ahc1"

Close, but no cigar.  See the section on "SCSI DEVICE CONFIGURATION"
in /usr/src/sys/conf/NOTES.  What you want is:

hint.scbus.0.at="ahc1"
hint.scbus.1.at="ahc0"
hint.da.0.at="scbus0"
hint.da.0.target="0"
hint.da.0.unit="0"

which swaps the ordering of the SCSI busses, and wires down da0 to bus
0, target 0, LUN 0.  You could probably get away with just the first
two lines, as the rest should be the default anyhow.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: nntp-server

2004-03-07 Thread Matthew Seaman
On Sun, Mar 07, 2004 at 10:28:25AM +0300, DerAlSem wrote:

>   I want to run nntp-server, or rather i want two servers. Is there a
>   way to link them, as, for example, to IRC-servers can be linked?
>   In this way, what distributive should I use?

That's not an easy question to answer without a great deal more
information about your requirements, what levels of traffic you're
expecting, how many news groups you intend to carry, how much money
you're prepared to spend and so forth.

I guess you want to set up (at minimum) a fail-over pair of servers.
Conceptually the simplest way of doing that is just to have two
independent NNTP servers which provide newsfeeds to each other, as
well as taking feeds from your upstream sources.  For news reading
purposes, you can set up a DNS round-robin to distribute the clients
over the two servers, or use some more sophisticated load balancing
equipment (like, say Cisco Arrowpoint) which will automatically cope
with failure of one of the servers.

If you're going to be dealing with a full news feed, then you probably
won't want to deal with (or be able to afford the disk space for)
multiple news spools.  In which case you'll be looking at some sort of
storage array or NAS system for the spool, with various servers
accessing it either for client reading, or to provide the site-to-site
transport.

Recommend you ask your question again on the freebsd-isp@ list (which
is where you'll find people that run these sorts of system) and
provide as much information about your requirements as possible.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


CVSUP problem on SUN ULTRA 10 with CURRENT help!

2004-03-07 Thread Chris Demers
Greetings everyone,

I have been having a problem trying to get CVSUP working correctly on a SUN
ULTRA 10 (256MB 40GB HDD) with CURRENT, i can ftp in the sources and do full
build worlds and kernel without any problems, but even after i blow away all
the src, ports, and sup, directories and it start recreating them when i run
CVSUP it gets stuck and has a weird retry time.   Any suggestions?  I have
tried over a dozen other CVSUP servers with the same exact results.  Even
using my own local one on my network does the same thing.  Only way i  have
been able to get sources back into the machine is to FTP them in from a snap
server.  Any suggestions would be apprechiated.  Note, other machines on the
exact same network segment have absolutely no problems using CVSUP.


sun# uname -a
FreeBSD sun.local 5.2-CURRENT-20040210-JPSNAP FreeBSD
5.2-CURRENT-20040210-JPSNAP #0: Thu Feb 12 06:41:26 EST 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SUN  sparc64


sun# cvsup -g -s -L 2 supfile
Parsing supfile "supfile"
Connecting to xx.xx.xx.xx
Connected to xx.xx.xx.xx
Server software version: SNAP_16_1g
Negotiating file attribute support
Exchanging collection information
Establishing multiplexed-mode data connection
Running
Updating collection src-all/cvs
 Checkout src/COPYRIGHT
 Checkout src/MAINTAINERS
 Checkout src/Makefile
 Checkout src/Makefile.inc1
 Checkout src/README
Detailer failed: Network read failure: Connection timed out
Will retry at 19:00:00
Retrying
Connecting to xx.xx.xx.xx
Connected to xx.xx.xx.xx
Server software version: SNAP_16_1g
Negotiating file attribute support
Exchanging collection information
Establishing multiplexed-mode data connection
Running
Updating collection src-all/cvs
 Checkout src/README
 Checkout src/UPDATING
Detailer failed: Network read failure: Connection timed out
Will retry at 19:00:00
Retrying
Connecting to xx.xx.xx.xx
Connected to xx.xx.xx.xx
Server software version: SNAP_16_1g
Negotiating file attribute support
Exchanging collection information
Establishing multiplexed-mode data connection
Running
Updating collection src-all/cvs
 Checkout src/UPDATING
Detailer failed: Network read failure: Connection timed out
Will retry at 19:00:00


sun# cat supfile
*default host=xx.xx.xx.xx
*default base=/usr
*default prefix=/usr
*default release=cvs
*default delete use-rel-suffix
*default compress
*default tag=.
src-all
ports-all


sun# pkg_info
cvsup-without-gui-16.1h General network file distribution system optimized for CVS
expat-1.95.6_1  XML 1.0 parser written in C
ezm3-1.1_1  Easier, more portable Modula-3 distribution for building CV
fastest_cvsup-0.2.8 Finds fastest CVSup server
fontconfig-2.2.90_4 An XML-based font configuration API for X Windows
freetype2-2.1.5_2   A free and portable TrueType font rendering engine
gettext-0.13.1  GNU gettext package
glib-2.2.3_1Some useful routines of C programming (current stable versi
gmake-3.80_2GNU version of 'make' utility
imake-4.3.0_2   Imake and other utilities from XFree86
libiconv-1.9.1_3A character set conversion library
libslang-1.4.9  Routines for rapid alpha-numeric terminal applications deve
libtool-1.3.5_1 Generic shared library support script
mc-4.6.0_7  Midnight Commander, a free Norton Commander Clone
p5-Time-HiRes-1.52,1 A perl5 module implementing High resolution time, sleep, an
perl-5.6.1_15   Practical Extraction and Report Language
pkgconfig-0.15.0_1  A utility used to retrieve information about installed libr
portupgrade-20040208 FreeBSD ports/packages administration and management tool s
ruby-1.8.1  An object-oriented interpreted scripting language
ruby-bdb1-0.2.1 Ruby interface to Berkeley DB revision 1.8x with full featu

--
Chris Demers
[EMAIL PROTECTED]
www.govital.net
www.govitalhosting.com

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


Yet another panic... using /dev/speaker this time

2004-03-07 Thread Markie
Well I think I have worked around my other panic that I posted a few days
ago by updating the modems firmware, atleast it doesn't panic under the
situation it did last time. I still believe the bug exists somewhere though
and i'm sure I could still reproduce it if anyone is interested.

Just now I was playing about with /dev/speaker for a script I want to beep.
I did an `echo a > /dev/speaker` and it worked, but I decided I wanted it
longer or some kind of pattern. I followed this by an `echo aaa >
/dev/speaker` and it worked :o) I then went on to read the man page and
found out about raising and lowering octaves and pauses, so next I tried
`echo aPa > /dev/speaker` and indeed there was a pause. However, when I
tried `echo aP>a > /dev/speaker` (which I think is wrong anyhow but never
mind) my SSH session froze and I knew something had gone wrong.

Unfortuantly the monitor had become unplugged from when I was fiddling about
so I didn't get to see anything on screen, but I did get a coredump for what
it's worth. It isn't from a debugging kernel either, if need be I can load a
debugging kernel and see if I can reproduce it. ( I am beginning to think I
never should have upgraded :o) )

Anyway, here goes nothing:

---
IdlePTD at phsyical address 0x00361000
initial pcb at physical address 0x002bb620
panicstr: getnewbuf: locked buf
panic messages:
---
panic: lockmgr: pid 8486, not exclusive lock holder 7018 unlocking

syncing disks... panic: getnewbuf: locked buf
Uptime: 3d13h40m34s

dumping to dev #ad/0x20001, offset 65664
dump ata0: resetting devices .. done
95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71
70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46
45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21
20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
---
#0  0xc015bea2 in dumpsys ()
(kgdb) bt
#0  0xc015bea2 in dumpsys ()
#1  0xc015bc6c in boot ()
#2  0xc015c0a0 in poweroff_wait ()
#3  0xc0183d4f in getnewbuf ()
#4  0xc01849cf in geteblk ()
#5  0xc0182b8d in bwrite ()
#6  0xc018869f in vop_stdbwrite ()
#7  0xc01884b5 in vop_defaultop ()
#8  0xc0183006 in bawrite ()
#9  0xc01965b0 in spec_fsync ()
#10 0xc0214d48 in ffs_sync ()
#11 0xc018d74b in sync ()
#12 0xc015ba06 in boot ()
#13 0xc015c0a0 in poweroff_wait ()
#14 0xc0155e48 in lockmgr ()
#15 0xc0183698 in brelse ()
#16 0xc0260bea in spkrclose ()
#17 0xc019687f in spec_close ()
#18 0xc021cb06 in ufsspec_close ()
#19 0xc021d101 in ufs_vnoperatespec ()
#20 0xc01921a7 in vn_close ()
#21 0xc0192afe in vn_closefile ()
#22 0xc0150eb8 in fdrop ()
---Type  to continue, or q  to quit---
#23 0xc0150dfc in closef ()
#24 0xc0150931 in fdfree ()
#25 0xc015381a in exit1 ()
#26 0xc015368d in sys_exit ()
#27 0xc0255361 in syscall2 ()
#28 0xc02466f5 in Xint0x80_syscall ()
#29 0x28084887 in ?? ()
#30 0x28082185 in ?? ()
#31 0x2808182f in ?? ()
#32 0x280812bf in ?? ()
#33 0x2808101a in ?? ()
#34 0x280940e3 in ?? ()
#35 0x28096958 in ?? ()
#36 0x8048502 in ?? ()
#37 0x8048442 in ?? ()
(kgdb)
---

I'm not sure if this should goto hackers or current or bugs or... what, so
i'll send it to all of them (although I am not subscribed to hackers and
current or bugs anymore). It's a 4.9-R-p3 machine... sorry if I am annoying
you all :o)

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


Re: ssh disconnecting [WAS: Getting Cut-Off]

2004-03-07 Thread Wayne Sierke
On Sun, 2004-03-07 at 08:17, Rishi Chopra wrote:
> Wayne,
> 
> I left an SSH connection open to my server last night, and it was still 
> connected this morning; the amount of time exceeded that of past 
> sessions when I was unexpectedly disconnected.
> 
> I understand your reasoning when stating this is not a configuration 
> issue, and given what you've written below, I tend to agree.  I'm using 
> two Realtek 8139 cards in my server and an Intel 21041 in my Win2k box.
> 
> What type of onboard NIC does your new motherboard have?
> 
> Also, I have not messed with the default ACPI settings; are they enabled 
> or disabled by default?  Interesting to note is that the server has been 
> up for weeks now, and even though a particular SSH session is dropped, 
> the server is still up and running, and will accept new SSH connections 
> after unexpecteded termination of previous connections.  This leads me 
> to believe that this is *not* and ACPI problem.

Well, I think I've determined where my problems are stemming from.

I have the server plus three workstations, LANned via a D-Link 5 port
switch, which in turn is linked to a D-Link DI-614+ router for Internet
access.

I set up a number of ssh sessions from each of the workstations to my
server with a couple of variations: I used the server's local hostname
to connect in some instances, and it's IP address in others. It appears
that, so far at least, the connections that are established using the IP
address stay up, whereas those established using the server's hostname
are the one's that fail. The reason? I'm not sure exactly but I'm
guessing it's because the three workstations get their dns service
provided by the D-Link router (I use this arrangement because I'm on a
dynamic IP address scheme and the router receives my provider's DNS
Server addresses).

As it happens, I've fixed my server's local IP address, so it doesn't
use the DHCP from the router and the router doesn't know its (the
server's) local IP address (at least, not related to a hostname). So
what's happening is that the router, in response to a DNS request for
the server's hostname is returning the current Internet IP address (and
all incoming Internet traffic is directed at the server). I'm guessing
that for whatever reason, the router is failing to maintain the proper
connection info and as each connection remains idle for long enough, the
routing info is being discarded.

The short of it is that none of the connections that have been
established using the server's local IP address have yet failed.

This is a snapshot of the ssh connections, those where the foreign
address starts with "ppp36" were established by hostname rather than IP
address:

tcp4 0 0 lillith-iv.ssh ppp36-152.lns1.a.63836 ESTABLISHED
tcp4 0 0 lillith-iv.ssh 192.168.100.132.49296  ESTABLISHED
tcp4 0 0 lillith-iv.ssh ppp36-152.lns1.a.62654 ESTABLISHED
tcp4 0 0 lillith-iv.ssh 192.168.100.6.1070 ESTABLISHED
tcp4 0 0 lillith-iv.ssh 192.168.100.6.1067 ESTABLISHED
tcp4 0 0 lillith-iv.ssh 192.168.100.6.1064 ESTABLISHED
tcp4 0 0 lillith-iv.ssh 192.168.100.6.1063 ESTABLISHED
tcp4 0 0 lillith-iv.ssh ppp36-152.lns1.a.62296 ESTABLISHED
tcp4 0 0 lillith-iv.ssh ppp36-152.lns1.a.62293 ESTABLISHED
tcp4 0 0 lillith-iv.ssh 192.168.100.130.1599   ESTABLISHED
tcp4 0 0 lillith-iv.ssh 192.168.100.130.1595   ESTABLISHED

Sorry for hijacking your thread, Rishi, I guess at least this gives you
one more avenue to check out, as unlikely as it seems that it's going to
apply to your setup.

In response to your questions, the server (an EPIA 5000) uses a vr (Via
Rhine) network adapter, two of my workstations use Realtek cards and the
third has an on-board 3C920 adapter.

I don't recall you saying what version of FreeBSD you're using, 5.2
appears to have ACPI enabled by default, I don't recall for the 4.x
series.


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


Automatically maintaining dns server addresses from an external router

2004-03-07 Thread Wayne Sierke
As indicated in another thread (ssh disconnecting) I currently have a
D-Link router managing my dynamic-IP Internet connection. I currently
let my workstations use the dns services provided by the router since
the router "knows" the current  IP addresses for the upstream dns
servers. I would like to shift the dns services for the LAN to my
FreeBSD-5.2 server but my reluctance to date has hinged on (avoiding)
having to manually maintain the upstream dns server addresses on the
local server.

Is there an automated way of achieving this? The first thing that comes
to mind is to do something similar to ddclient, which reads the html
status page from the router to extract the current Internet IP address.
I don't know of anything equivalent for maintaining dns server addresses
but I can envisage it as a starting point for knocking something
together myself however I don't doubt that a better way exists!

All the material I've seen about techniques for maintaining IP/dns
addresses seems to revolve around the machine itself being used as a
router, dhcp server, etc. Would very much appreciate any suggestions.


Thanks,

Wayne


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


Re: How close is FreeBSD to OpenBSD?

2004-03-07 Thread Matthew Seaman
On Sat, Mar 06, 2004 at 11:34:33PM -0800, D.B. Lewis wrote:

> My background is in Redhat Linux and Windows, so please pardon the
> "dumb" question: How close are FreeBSD and OpenBSD?
> 
> The reason I ask is to get a handle on how useful OpenBSD tips, FAQ's,
> etc. might be as I learn FreeBSD.

OpenBSD, FreeBSD and not to forget the third member of the troika,
NetBSD are all descendants of the BSD 4.4 code released from Berkeley,
so they do share a great deal in common.  More recent offshoots exist,
with varying degrees of relatedness: like DragonflyBSD, which is based
on FreeBSD 4.x, but hasn't been in existence long enough yet to have
made many user-visible changes; or Apples' MacOS X, which is the
marriage of NeXT's user interface, an early version of the MACH
microkernel from Carnegie Mellon, the 4.4-BSD release code and a large
amount of more recent userland and some driver code from NetBSD and
FreeBSD.

There's a handy document in /usr/share/misc/bsd-family-tree showing
the relationship between the principal BSD derived operating systems
-- similar documents showing the relationships between all Unix and
unixoid systems are readily found on the web -- like
http://www.levenez.com/unix/.

Each has been pushing towards their own development goals however, so
divergence is apparent: for instance the ports/packages scheme under
FreeBSD is the equivalent of 'pkgsrc' under NetBSD and 'pkgs' under
OpenBSD, all of which provide the same basic service -- installing and
managing 3rd party applications -- but with their own ideosyncrasies.
The distinctions are not so large as they might be, because the three
OSes cross fertilize each other quite regularly.  Thus there are
projects to port the latest FreeBSD vinum to NetBSD, and to import the
latest OpenBSD 'pf' firewall into FreeBSD.

As to how applicable tips from on OS are when applied to one of the
others -- well, they can often be relevant and useful, but only
experience will tell you what is and what isn't.  Read, learn and
experiment and you'll soon be able to answer your own question.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


make of Cyrus-sasl fails

2004-03-07 Thread Guy Van Sanden
I tried to make Cyrus-sasl, but I failed like this:
(My system is FreeBSD 5.2.1 with MIT Kerberos)

cc -Wall -W -O -pipe -mcpu=pentiumpro -L/usr/local/lib -L/usr/lib
-rpath=/usr/lib:/usr/local/lib -L/usr/local/lib -L/usr/local/lib
-L/usr/local/lib -o saslauthd saslauthd.o mechanisms.o auth_dce.o
auth_getpwent.o auth_krb5.o auth_krb4.o auth_pam.o auth_rimap.o
auth_shadow.o auth_sia.o -L/usr/local/lib -lgssapi_krb5 -lkrb5
-lk5crypto -lcom_err -lcrypt -lpam  -Wl,--rpath -Wl,/usr/local/lib
-Wl,--rpath -Wl,/usr/lib -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath
-Wl,/usr/lib
/usr/local/lib/libkrb5.so: warning: mktemp() possibly used unsafely;
consider using mkstemp()
auth_krb5.o: In function `k5support_verify_tgt':
auth_krb5.o(.text+0xe6): undefined reference to `krb5_data_zero'
*** Error code 1

Stop in /usr/ports/security/cyrus-sasl/work/cyrus-sasl-1.5.28/saslauthd.
*** Error code 1

Stop in /usr/ports/security/cyrus-sasl/work/cyrus-sasl-1.5.28.
*** Error code 1

Stop in /usr/ports/security/cyrus-sasl/work/cyrus-sasl-1.5.28.
*** Error code 1

Stop in /usr/ports/security/cyrus-sasl.
*** Error code 1

Stop in /usr/ports/security/cyrus-sasl.

Am I doing something wrong?

-- 
__  

  Guy Van Sanden 
  http://unixmafia.port5.com  

  Registered Linux user #249404 - September 1997
__

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


UW-Imap build question

2004-03-07 Thread Guy Van Sanden
I read that I can get uw-imap to work with Kerberos b compiling nlp with
EXTRAAUTHENTICATORS=gss

Can I still do this through the port, and how?


3.10 How do I configure Kerberos V5?

imap-2002 supports client and server functionality on UNIX and
32-bit Windows. 

Kerberos V5 is supported by default in Windows 2000 builds:

 nmake -f makefile.w2k

Other builds require that a third-party Kerberos package, e.g.
MIT Kerberos, be installed on the system first.

To build with Kerberos V5 on UNIX, include
EXTRAAUTHENTICATORS=gss in the make command line, e.g.

 make lnp EXTRAAUTHENTICATORS=gss

To build with Kerberos V5 on Windows 9x, Windows Millenium, and
NT4, use the "makefile.ntk" file instead of "makefile.nt":

 nmake -f makefile.ntk
-- 
__  

  Guy Van Sanden 
  http://unixmafia.port5.com  

  Registered Linux user #249404 - September 1997
__

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


RE: Automatically maintaining dns server addresses from an externalrouter

2004-03-07 Thread Edmund Craske
Well, the upstream DNS servers you use from your ISP are
quite unlikely to have a change of IP address, and  with
the way that BIND works, when you set up forwarders, it
checks them first, then runs its queries to the root
servers if it can't get through. You could also configure
it just to use the root servers, though this is inefficient
traffic wise.

I've not had experience with other DNS daemons (ie djbdns)
but I'm sure they would work in a similar fashion.

Ed

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Wayne Sierke
> Sent: 07 March 2004 12:51
> To: [EMAIL PROTECTED]
> Subject: Automatically maintaining dns server addresses from 
> an externalrouter
> 
> 
> As indicated in another thread (ssh disconnecting) I 
> currently have a D-Link router managing my dynamic-IP 
> Internet connection. I currently let my workstations use the 
> dns services provided by the router since the router "knows" 
> the current  IP addresses for the upstream dns servers. I 
> would like to shift the dns services for the LAN to my 
> FreeBSD-5.2 server but my reluctance to date has hinged on 
> (avoiding) having to manually maintain the upstream dns 
> server addresses on the local server.
> 
> Is there an automated way of achieving this? The first thing 
> that comes to mind is to do something similar to ddclient, 
> which reads the html status page from the router to extract 
> the current Internet IP address. I don't know of anything 
> equivalent for maintaining dns server addresses but I can 
> envisage it as a starting point for knocking something 
> together myself however I don't doubt that a better way exists!
> 
> All the material I've seen about techniques for maintaining 
> IP/dns addresses seems to revolve around the machine itself 
> being used as a router, dhcp server, etc. Would very much 
> appreciate any suggestions.
> 
> 
> Thanks,
> 
> Wayne
> 
> 
> ___
> [EMAIL PROTECTED] mailing list 
> http://lists.freebsd.org/mailman/listinfo/free> bsd-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: Fax software question

2004-03-07 Thread Dan Pelleg
Stephen Liu <[EMAIL PROTECTED]> writes:

> Hi all folks,
>
> I need to install a fax software to fax text documents.
>
> $ make search name=fax | grep fax
> Port:   acfax-0.981011_1
> Path:   /usr/ports/comms/acfax
> Port:   efax-0.9a-001114a7
> Path:   /usr/ports/comms/efax
> Port:   gfax-0.5
> Path:   /usr/ports/comms/gfax
> Port:   ghfaxviewer-0.22.0_2
> Path:   /usr/ports/comms/ghfaxviewer
> Port:   hylafax-4.1.7
> Path:   /usr/ports/comms/hylafax
> Port:   tkhylafax-3.2b
> Path:   /usr/ports/comms/tkhylafax
> Port:   tkscanfax-1.02
> Path:   /usr/ports/comms/tkscanfax
> Port:   viewfax-2.3
> Path:   /usr/ports/comms/viewfax
>
> # which acfax
> # which acfax
> # which efax
> # which gfax
> # which ghfaxview
> # which hylafx
> # which tkhylafax
> # which tkscanfax
> t# which viewfax
> all : Command not found.
>
> I suppose they have not been installed.  Kindly advise which of them is easy 
> to config and suitable to fax text document.
>
> TIA
>
> B.R.
> Stephen
>

I use mgetty+sendfax (that's the port name). It accepts postscript or g3
format. For text input, it looks like pbmtext (from the netpbm
port/package) will convert text files to a suitable format (and then you
run pbm2g3, which is inclduded in the mgetty+sendfax pacakge).

-- 

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


Mitsubishi Diamond Touch keyboard problem

2004-03-07 Thread Bob Dalzell
For some unknown reason, two of my keys have changed places, is there a simple way to 
remedy this problem,  @"


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


RE: Mitsubishi Diamond Touch keyboard problem

2004-03-07 Thread Edmund Craske
That's a keymap thing... Depends on your keyboard layout,
I'm not sure what the au layout is, but if it's anything
like the UK one, it's the opposite way round to the
default US keyboard layout for those keys, amongst other
things. The easiest way of setting your keymap is probably
with sysinstall, if you go to configure, then console,
then keymap.

Hope this helps,
Ed

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Bob Dalzell
> Sent: 07 March 2004 01:00
> To: [EMAIL PROTECTED]
> Subject: Mitsubishi Diamond Touch keyboard problem
> 
> 
> For some unknown reason, two of my keys have changed places, 
> is there a simple way to remedy this problem,  @"
> 
> 
>  REGARDS  BOB. 
> ___
> [EMAIL PROTECTED] mailing list 
> http://lists.freebsd.org/mailman/listinfo/free> bsd-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: Fax software question

2004-03-07 Thread Stephen Liu
- snip -
> > # which acfax
> > # which acfax
> > # which efax
> > # which gfax
> > # which ghfaxview
> > # which hylafx
> > # which tkhylafax
> > # which tkscanfax
> > t# which viewfax
> > all : Command not found.
> >
> > I suppose they have not been installed.  Kindly advise which of them is
> > easy to config and suitable to fax text document.
>
> I use mgetty+sendfax (that's the port name). It accepts postscript or g3
> format. For text input, it looks like pbmtext (from the netpbm
> port/package) will convert text files to a suitable format (and then you
> run pbm2g3, which is inclduded in the mgetty+sendfax pacakge).

Hi Dan,

Tks for your response.  I used efax on RH before.  I think it is the front-end 
(GUI) of mgetty+sendfax.

# cd /usr/ports
# make search name=mgetty
Port:   mgetty-1.1.30.12.16_3
Path:   /usr/ports/comms/mgetty+sendfax
Index:  comms
.

# make search name=netpbm
Port:   netpbm-10.17_1
Path:   /usr/ports/graphics/netpbm
Index:  graphics


# make search name=pbm2g3
no printout

I think I need to install 'mgetty-1.1.30.12.16_3'.  Shall I install 
'netpbm-10.17_1' as well.

Kindly advise.  TIA

B.R.
Stephen


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


starting xwindows apps from console?

2004-03-07 Thread Dragoncrest
I know I saw something about how to do this at one time, but I can't
seem to find any information about it anymore.  What I'm looking to do
is start several KDE gui based apps from a remote ssh session.  I can do
it from the actual machine via the console because it knows how to find
the running Xserver and selected desktop. But if I'm remotedly shelled
in via SSH, it has no idea where Xwindows is or if there's an active
desktop or KDE session going.  I do remember one time seeing an example
of how to do this that was something like "/path/to/app/appname :0 d1"
or something along those lines.  This would then allow me to start a gui
app in KDE (provided it was running) via my remote shell.

Does anyone know the exact command to make this work?  It would be
useful for me if I'm doing remote troubleshooting for any of my friends
and family where I need them to use a particular gui app, but I don't or
can't get them to navigate over and find it.  (yes, I have friends and
family using bsd and nix who are that clueless, but at least they're
using nix now instead of windows.  hehe)

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


Re: CVSUP problem on SUN ULTRA 10 with CURRENT help!

2004-03-07 Thread Matthew Seaman
On Sun, Mar 07, 2004 at 07:29:09AM -0500, Chris Demers wrote:

> I have been having a problem trying to get CVSUP working correctly on a SUN
> ULTRA 10 (256MB 40GB HDD) with CURRENT, i can ftp in the sources and do full
> build worlds and kernel without any problems, but even after i blow away all
> the src, ports, and sup, directories and it start recreating them when i run
> CVSUP it gets stuck and has a weird retry time.   Any suggestions?  I have
> tried over a dozen other CVSUP servers with the same exact results.  Even
> using my own local one on my network does the same thing.  Only way i  have
> been able to get sources back into the machine is to FTP them in from a snap
> server.  Any suggestions would be apprechiated.  Note, other machines on the
> exact same network segment have absolutely no problems using CVSUP.

Hmmm... looks like you've found a bug, probably.  All you're seeing is
your machine failing to connect to the cvsup server: the 'reconnect'
message is entirely normal for that circumstance. Can you confirm that
you can connect to the cvsup port on any of the cvsup servers you're
using via telnet?

% telnet cvsup.example.com 5999

You should be able to see the banner that cvsupd produces - something like:

OK 17 0 SNAP_16_1f CVSup server ready

If not, then you need to work out what's wrong with the
networking/firewalling setup on your Ultra10.

If you can connect, then there is clearly a bug in the version of
cvsup you're using on that machine.  You should report what you're
seeing to the port maintainer, John Polstra, (who also happens to be
the author of cvsup) according to the instructions at
http://www.cvsup.org/faq.html#bugreports -- in this case, as well as
providing the data asked for there, a network dump of the traffic
between your machine and the server would probably be useful too:

# tcpdump -i fxp0 -w /tmp/cvsup-session.out port 5999

(replace 'fxp0' with the name of your principal ethernet interface)
and then in another window, run your cvsup command:

# cvsup -g -L 2 supfile

Kill the cvsup session after it says "Will retry", and then kill the
tcpdump process.  If the cvsup-session.out file isn't too large, then
you can uuencode it and include it in your bug report (together with
the commands used to generate it), otherwise just mention that it is
available if required.

Be prepared to receive patches and apply them to the cvsup sources and
recompile and run whatever tests John may request.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


slow dns resolutions

2004-03-07 Thread Dragoncrest
Hi all.  Just started getting these problems over the last couple of
days and thought it was my ISP's dns servers, but it would seem that's
not true.  When trying to resolve websites via the browser, or doing
nslookups via shell or anything for that matter that would require dns
resolution, I've found that the windows machine at my desk resolves
sites almost instantly with exactly the same DNS settings as my BSD box.
 Yet my FreeBSD box can take up to a full minute or more to resolve
names, many times just timing out on DNS resolution and often having to
repeatedly lookup the same hostname it just looked up each time it
needed something from that host.

Resolv.conf has the right dns servers in the right order and my hosts
file is perty much bare, save for the names of both machines at my desk,
so I'm stumped as to what could be causing this.  Can anyone suggest
anything?

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


Re: Fax software question

2004-03-07 Thread Dan Pelleg
Stephen Liu <[EMAIL PROTECTED]> writes:

> - snip -
>> > # which acfax
>> > # which acfax
>> > # which efax
>> > # which gfax
>> > # which ghfaxview
>> > # which hylafx
>> > # which tkhylafax
>> > # which tkscanfax
>> > t# which viewfax
>> > all : Command not found.
>> >
>> > I suppose they have not been installed.  Kindly advise which of them is
>> > easy to config and suitable to fax text document.
>>
>> I use mgetty+sendfax (that's the port name). It accepts postscript or g3
>> format. For text input, it looks like pbmtext (from the netpbm
>> port/package) will convert text files to a suitable format (and then you
>> run pbm2g3, which is inclduded in the mgetty+sendfax pacakge).
>
> Hi Dan,
>
> Tks for your response.  I used efax on RH before.  I think it is the front-end 
> (GUI) of mgetty+sendfax.
>
[...]
>
> I think I need to install 'mgetty-1.1.30.12.16_3'.  Shall I install 
> 'netpbm-10.17_1' as well.
>
> Kindly advise.  TIA
>
> B.R.
> Stephen

Yes. Do it in one of the following ways:

1.
cd /usr/ports/comms/mgetty+sendfax
make install clean

cd /usr/ports/graphics/netpbm
make install clean

2.
portinstall mgetty+sendfax netpbm

(assuming you have portupgrade installed).

-- 

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


Re: 5.2.1 hanging on boot

2004-03-07 Thread Aaron Walker
On Sat, 2004-03-06 at 19:18, Lowell Gilbert wrote:
> Aaron Walker <[EMAIL PROTECTED]> writes:
> 
> > On Sat, 2004-03-06 at 16:01, Lowell Gilbert wrote:
> > > Aaron Walker <[EMAIL PROTECTED]> writes:
> > > 
> > > > I just installed 5.2.1 and upon boot, it hangs at:
> > > > 
> > > > Timecounter "TSC" frequency 2153331273 Hz quality 800
> > > > Timecounters tick every 10.000 msec
> > > > 
> > > > It also did this when trying to boot via the 5.2.1 install CD, which was
> > > > circumvented by booting via floppy... 
> > > > 
> > > > It does not do this with 4.9. 
> > > > 
> > > > any ideas?
> > > 
> > > You're booting without ACPI?
> > 
> > If that is something you have to do manually, then no.  I'm just booting
> > normally.  How would I turn off ACPI?
> 
> Please read the errata and release notes before starting the install.
> I promise you'll have a much easier time.

Well, I read the errata.  Unfortunately, I am using GRUB as my boot
loader (this system runs win xp, linux, openbsd, and freebsd), which
doesn't support ufs2, so I have to boot FreeBSD 5+ indirectly using
grub's chainloading.  I am therefore unable to pass any kernel options,
and I don't have FreeBSD's boot loader installed, which I assume is
where you boot "safe mode" from.  

Is there any other way to turn off ACPI?

Thanks again,
Aaron

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


Re: slow dns resolutions

2004-03-07 Thread Matthew Seaman
On Sun, Mar 07, 2004 at 08:57:28AM -0500, Dragoncrest wrote:

> Resolv.conf has the right dns servers in the right order and my hosts
> file is perty much bare, save for the names of both machines at my desk,
> so I'm stumped as to what could be causing this.  Can anyone suggest
> anything?

I've seen very similar symptoms occur when the FreeBSD box is
attempting to do IPv6  lookups, the way the standards say
getaddrinfo(3) should operate nowadays.

Windows, typically, completely ignores the existence of IPv6, and
unfortunately many suppliers of advertizing (it always seems to be the
advertizers -- I've never had any problem with other web content
providers) on the net still haven't woken up to the fact that there is
more to life, and computing, than just the latest outpourings of
Redmond.  Anyone would think they don't want you to see their
adverts...

It's not as if they haven't had enough time to implement any IPv6
support either: the first IPv6 RFCs were published 10 years ago.  Not
only that, but they are running DNS software that is willfully broken
even by pre-IPv6 standards: when presented with a request for a RR
type that the server doesn't recognise, it is meant to reply with a
NXDOMAIN error code.  These just sit there dumbly, forcing the client
side to wait for the whole 30s of the DNS timeout.

Solutions: you can rip all of the IPv6 support out of your FreeBSD
system -- which involves editing your make.conf and kernel config and
doing a full builworld cycle.  Or you can run your own web proxy which
filters out the advertizing: the www/junkbuster port is one such, and
there are several more available.  Or you can do like I do, which is
to run your own recursive DNS server, but load it with some dummy
copies of the advertisers' domains.  Nb. if you do either of these
last two, be aware that you can hurt financially those often very
useful and otherwise blameless sites that carry the advertising.

Cheers,

Matthew 

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: CVSUP problem on SUN ULTRA 10 with CURRENT help!

2004-03-07 Thread Chris Demers
On Sun, 7 Mar 2004 14:20:12 +, Matthew Seaman wrote
> On Sun, Mar 07, 2004 at 07:29:09AM -0500, Chris Demers wrote:
> 
> > I have been having a problem trying to get CVSUP working correctly on a SUN
> > ULTRA 10 (256MB 40GB HDD) with CURRENT, i can ftp in the sources and do full
> > build worlds and kernel without any problems, but even after i blow away all
> > the src, ports, and sup, directories and it start recreating them when i run
> > CVSUP it gets stuck and has a weird retry time.   Any suggestions?  I have
> > tried over a dozen other CVSUP servers with the same exact results.  Even
> > using my own local one on my network does the same thing.  Only way i  have
> > been able to get sources back into the machine is to FTP them in from a snap
> > server.  Any suggestions would be apprechiated.  Note, other machines on the
> > exact same network segment have absolutely no problems using CVSUP.
> 
> Hmmm... looks like you've found a bug, probably.  All you're seeing 
> is your machine failing to connect to the cvsup server: the 'reconnect'
> message is entirely normal for that circumstance. Can you confirm 
> that you can connect to the cvsup port on any of the cvsup servers you're
> using via telnet?
> 
> % telnet cvsup.example.com 5999
> 
> You should be able to see the banner that cvsupd produces -
>  something like:
> 
> OK 17 0 SNAP_16_1f CVSup server ready

sun# telnet cvsup5.freebsd.org 5999
Trying 198.182.76.34...
Connected to ozone.blackened.com.
Escape character is '^]'.
OK 17 0 SNAP_16_1f CVSup server ready

Looks fine to me.  CVSUP is the only application not working on the box.  I
have reformatted it a few times so far with everything from the releases to
the JPSNAPS.

> 
> If not, then you need to work out what's wrong with the
> networking/firewalling setup on your Ultra10.
> 
> If you can connect, then there is clearly a bug in the version of
> cvsup you're using on that machine.  You should report what you're
> seeing to the port maintainer, John Polstra, (who also happens to be
> the author of cvsup) according to the instructions at
> http://www.cvsup.org/faq.html#bugreports -- in this case, as well as
> providing the data asked for there, a network dump of the traffic
> between your machine and the server would probably be useful too:
> 
> # tcpdump -i fxp0 -w /tmp/cvsup-session.out port 5999
> 
> (replace 'fxp0' with the name of your principal ethernet interface)
> and then in another window, run your cvsup command:
> 
> # cvsup -g -L 2 supfile
> 
> Kill the cvsup session after it says "Will retry", and then kill the
> tcpdump process.  If the cvsup-session.out file isn't too large, then
> you can uuencode it and include it in your bug report (together with
> the commands used to generate it), otherwise just mention that it is
> available if required.
> 
> Be prepared to receive patches and apply them to the cvsup sources 
> and recompile and run whatever tests John may request.

I will have to try that tonight, going out to the gym right now.  I have
looked briely even at the code and can't see anything out of the ordinary
myself, it works fine on all of my other 8 x86 boxes (from 486 to dual XEON,
running a mix of 4.X and 5.X) :)  YAY patch testing  :)

I will e-mail the port maintainer first before filing a PR, but if anyone else
has any suggestions they would be apprechiated.

> 
>   Cheers,
> 
>   Matthew
> 
> -- 
> Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
>   Savill Way
> PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
> Tel: +44 1628 476614  Bucks., SL7 
> 1TH UK

Thanks Matthew for replying, very much apprechiated.

--
Chris Demers
[EMAIL PROTECTED]
www.govital.net
www.govitalhosting.com

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


help2man Problem

2004-03-07 Thread Corey Mosher
I am trying to install apache2 from ports.  I am running FreeBSD 5.2.1. 
 When it tries to install the help2man package which is a dependancy of 
autoconf which is a dependancy of apache2 it produces this error:

===>   apache-2.0.48_3 depends on file: /usr/local/bin/autoconf - not found
===>Verifying install for /usr/local/bin/autoconf in 
/usr/ports/devel/autoconf
===>   autoconf-2.53_1 depends on executable: gm4 - found
===>   autoconf-2.53_1 depends on executable: help2man - not found
===>Verifying install for help2man in /usr/ports/misc/help2man
===>  Installing for help2man-1.33.1
===>   help2man-1.33.1 depends on file: 
/usr/local/lib/perl5/site_perl/5.6.1/mach/Locale/gettext.pm - found
===>   help2man-1.33.1 depends on file: /usr/local/bin/perl5.6.1 - found
===>   help2man-1.33.1 depends on file: /usr/local/bin/perl5.6.1 - found
===>   Generating temporary packing list
** Missing package files for help2man-1.33.1.
*** Error code 1

Stop in /usr/ports/misc/help2man.
*** Error code 1
Stop in /usr/ports/devel/autoconf.
*** Error code 1
Stop in /usr/ports/www/apache2.

I'm lost with this problem, can anyone help me out?
If this is the wrong list for the question please let me know.
Thanks
Corey Mosher
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: starting xwindows apps from console?

2004-03-07 Thread Matthew Seaman
On Sun, Mar 07, 2004 at 09:15:04AM -0500, Dragoncrest wrote:
> I know I saw something about how to do this at one time, but I can't
> seem to find any information about it anymore.  What I'm looking to do
> is start several KDE gui based apps from a remote ssh session.  I can do
> it from the actual machine via the console because it knows how to find
> the running Xserver and selected desktop. But if I'm remotedly shelled
> in via SSH, it has no idea where Xwindows is or if there's an active
> desktop or KDE session going.  I do remember one time seeing an example
> of how to do this that was something like "/path/to/app/appname :0 d1"
> or something along those lines.  This would then allow me to start a gui
> app in KDE (provided it was running) via my remote shell.

ssh has the ability to set up an encrypted tunnel fron the remote
client machines you log into to the X Server on your local system.
Try:

% ssh -X otherhost.example.com

then look at your environment in your remote session and see if the
DISPLAY variable has been set:

% echo $DISPLAY
localhost:10.0

Be sure your shell initialization files on the remote client machine
aren't overriding that setting.  It might use the remote hostname,
rather than localhost, but the display number will be 10 or above.  If
$DISPLAY is set automatically like that, then you can just start up X
programs from the command line and have them display on your local
desktop.

To make that encrypted tunnel setup happen automatically every time
you log into that box, create a file ~/.ssh/config and place in it:

Host otherhost.example.com
ForwardX11 yes

The ssh_config(5) and sshd_config(5) man pages, as ever, have more
information.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


A question on installing printer

2004-03-07 Thread Stephen Liu
Hi all folks,

FreeBSD 5.2

I am now configuring printer and aware that 'MAKEDEV' has been replaced with 
'devfs'

According to handbook I should run

# ./MAKEDEV lpt0 (para port)

whether to be replaced with

# ./devfs -m lpt0

Kindly advise.  TIA

B.R.
Stephen Liu

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


Re: Fax software question

2004-03-07 Thread Stephen Liu
On Sunday 07 March 2004 22:08, Dan Pelleg wrote:

- snip -
> > I think I need to install 'mgetty-1.1.30.12.16_3'.  Shall I install
> > 'netpbm-10.17_1' as well.
> >

> Yes. Do it in one of the following ways:
>
> 1.
> cd /usr/ports/comms/mgetty+sendfax
> make install clean
>
> cd /usr/ports/graphics/netpbm
> make install clean
>
> 2.
> portinstall mgetty+sendfax netpbm
>
> (assuming you have portupgrade installed).

Hi Dan,

I have not installed portupgrade yet.  I will run /stand/sysinstall later.

Tks

B.R.
Stephen

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


Re: cdroast

2004-03-07 Thread Lewis Thompson
On Sat, Mar 06, 2004 at 08:09:47PM -0800, Brian Henning wrote:
> how can i make it so cd roast burns files with plus
> signs in it. for example
> /usr/ports/distfiles/gtk+-1.2.10.tar.gz

This should probably be aimed at the xcdroast people since it seems very
specific.

  I'm not really sure but is there any way you can quote the funny
characters?  As I recall you can't but if you dig about you might find a
way... maybe?

-lewiz.

-- 
I was so much older then, I'm younger than that now.  --Bob Dylan, 1964.

-| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |-


pgp0.pgp
Description: PGP signature


Re: Where is 4.9-STABLE?

2004-03-07 Thread James Long
On Sat, Mar 06, 2004 at 12:08:22PM +, Mark wrote:
> 
> Yeah; but it's the upgrade I'm unclear about. You'd think there be some
> standard supfile template to upgrade your OS.

www.mostgraveconcern.com/freebsd worked for me.

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


Equalizer

2004-03-07 Thread jhoder

hi,

i'm running what you might call a "minimalist" freebsd system for audio 
playback and i'm currently not running an x server.  do you know of any audio 
equalizers which i could install without a lot of bulk?  one that can be 
adjusted from a command line?  i'm running a pcm-enabled kernel and oss on 
freebsd 4.7.

thanks in advance,

john


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


Re: How close is FreeBSD to OpenBSD?

2004-03-07 Thread David Benfell
On Sat, 06 Mar 2004 23:34:33 -0800, D.B. Lewis wrote:
> 
> The reason I ask is to get a handle on how useful OpenBSD tips, FAQ's,
> etc. might be as I learn FreeBSD.
> 
Some things will be similar.  Some will be different.  The instances I
find where the two projects could learn from each other are:

1) Routing: I like OpenBSD much better for this.  Each interface is
configured in its own file, allowing you to much more easily do
strange things.  PF is wonderful.  There is a port for PF to FreeBSD,
but it was broken on the day I tried to install it.  I basically
failed to get a FreeBSD system functioning as a router when I tried,
and because this was critical to my entire operation, I had to go back
to OpenBSD.  I'm still not happy about this, because of...

2) Upgrades: FreeBSD wins hands down on this point.  OpenBSD's process
is much more difficult to follow and is much more vulnerable to
toolchain problems.  By contrast, FreeBSD's process just works.  (In
my view, difficulty upgrading *is* a security issue, which undermines
OpenBSD's claims.)

3) Attitude: OpenBSD folks take a very harsh view towards newbies.
When I first installed it on a router, with only a 40GB disk, it went
so smoothly, I was a convert.  This was far better than anything I'd
seen with either FreeBSD or Linux.  So I decided to try migrating my
server, with a 100GB disk.  There was no end of problems.  They
appeared to be hardware related, so I wound up replacing virtually all
of the hardware trying to isolate the problem.  In the end, it came
down to OpenBSD failing to deal with the 100GB disk, probably because
of something I was doing wrong, but there was no help available at all
on their list.

To try to answer your question about OpenBSD's documentation, some of
it is well written.  Hence, there is an obvious appeal.  And in some
areas, things may be quite similar.  In some areas, they will appear
quite different.  Where OpenBSD's documentation may help, however, is
at a deeper level of understanding, where no matter how different the
procedures, both operating systems must, some way, some how,
accomplish the same things.

-- 
David Benfell, LCP
[EMAIL PROTECTED]
---
Resume available at http://www.parts-unknown.org/resume.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Disable core dumps

2004-03-07 Thread Tobias Eichert
Hello,
I'd like to know whether there's a possibility to disable core dumps in a 
'global' manner.
I've already modified my bash config by adding a "ulimit -c 0" in order to 
prevent core dumps from being written to the disk.
The problem still persists when starting an application via the KDE menu, in 
my case the qt assistant. The core file will be in my home directory.

There's a way to disable crash dumps by adding the line "dumpdev=NO" 
to /etc/rc.conf. Is there something analogue for nomal core dumps?

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


Re: tun devices and firewall

2004-03-07 Thread Tim Pushor
JJB,

Wow those are some very powerful opinions that you have and are touting 
as fact.

Regardless, I was not asking about the relative stability of the current 
branch, or advise on coding rules. I simply have a firewall that I have 
a default deny, and I write rules for what I want to allow. I have a 
couple of on again off again PPP over SSH tunnels (that I will get rid 
of, *that* seems like a dirty solution to me) that I am sure are going 
to give me grief.

I also use mpd to allow a couple of pptp connections, and packets coming 
from ng0-4 were failing (because there was no rule allowing them).

I added a rule to allow traffic coming from ng0-4, and would like to do 
something similar for the tun devices. Of course, there are other ways 
to accomplish this, I was just wondering if I could get the interfaces 
created before the firewall started up somehow. I did try to add a 
number to the tun device in the kernel config file, but it didn't like 
it (as I had suspected). Its just that adding a rule based on the tun 
devices is fairly clean, and easy to understand by someone going through 
the rules ..

Tim

JJB wrote:

PF is brand new to FBSD and I have not played with it yet. But it
can't be that different.  First of all, you only create filter rules
for the interface connected to the public internet. Rules on other
internal interfaces is an invalid-configuration of the firewall.
There are no error messages to tell you this. For the max in
protection, you must code stateful rules, IE: the bi-directional
package exchange flow is monitored during the complete session
conversation. I do not know if PF has that ability, like ipfilter
does.  Should default to deny all in or out packets  that are not
allowed by an stateful session conversation start rule. As far as
devices not being used, the  firewall does not care. All it cares
about is that the device is defined in the kernel. New in 5.x the
/dev entry gets automatically created on first time use and is there
from that point on.
FYI, 5.2.1 is an version of FBSD just for developers who can debug
kernel code. 5.2.1 is very dirty and crashes all the time under
moderate to heavy loads. The official FBSD handbook says use it as
your own risk. You should not be using this for an mission critical
environment. The 4.9 stable release is the version you should be
using, anything else is an big gamble.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Tim Pushor
Sent: Sunday, March 07, 2004 1:09 AM
To: [EMAIL PROTECTED]
Subject: tun devices and firewall
Hi all,

I am building a new firewall based on 5.2.1-RELEASE. I am using the
openbsd port of PF, but I think that my question is fairly generic.
I have remote systems that sort of vpn through this one using
ppp-over-ssh. This uses tun devices. In the past, when I had
configured
X number of devices in the kernel, those interfaces were always
present
in the system, and think I could firewall based on them.
Now in FreeBSD 5, the interfaces (or entries in /dev) don't exist
until
they are actually used (I think, I am having some trouble getting
ppp
working, but I think I have another problem).
I had to add rules to enable traffic over the ngx devices as well
for
some other things I'm running, and I assume I'll have to do the same
for
the tun devices. Does anyone have any advice as to what I can do? pf
doesn't know about the tun devices at boot time, so I can't use them
in
the ruleset.
Thanks,
Tim
(PS Please CC: me as I am not subscribed to the list - Thanks)
___
[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: pam_acct_mgmt(): user account has expired (was Re: Login Problem)

2004-03-07 Thread Gerard Seibert


On Saturday, March 06, 2004 5:42:56 PM Barry Hawkins <[EMAIL PROTECTED]> wrote:

On Mar 4, 2004, at 1:33 PM, Gerard Seibert wrote:

> I am running FreeBSD 5.2.1 - RELEASE #0: Mon Feb 23 20:45:55 GMT 2004
>
> It seems that I can no longer log into my system. Upon boot-up, the
> usually login appears. I enter my normal login and then my password. I 
> am
> then greeted with this error message:
>
> BudMan login: pam_acct_mgmt(1): user account has expired
> Login Incorrect.
>
> Shortly afterwards I receive these error messages:
>
> BudMan cron[538] _secure_path: /usr/home/ges/.login_conf is not owned 
> by
> root
>
> The last error message will repeat with the number getting 
> progressively
> higher.
>
> This is a fresh install of FreeBSD. The only thing I added was KDE 3.2
> today. Can anyone tell me what has happened and how do I get back into 
> my
> system?
>
> Thanks in advance!
>
> Gerard Seibert
> [EMAIL PROTECTED]
>
Gerard,
I am having a similar issue logging in on 5.2.1-RC2, and it seems to 
have happened around the time I added a user and some groups using the 
KUser utility in KDE.  All accounts, including root, are "expired".  My 
error message is:

login: pam_acct_mgmt(): user accound has expired
Login Incorrect.

Then, a bit later, I receive messages like the following:

kernel: psmintr: out of sync (0008 != )
kernel: psmintr: discard a byte(1)

On a side note, the message really does display "accound" instead of 
"account"; it's not a typo of mine.  Searches on the following phrases 
within the questions and newbies mailing lists produced no leads for me 
to research:
'pam_acct_mgmt(): user accound has expired'
'pam_acct_mgmt():'
'psmintr'

Regards,
-- 
Barry C. Hawkins
All Things Computed
site: www.allthingscomputed.com
weblog: www.yepthatsme.com

** Reply Separator **

Sunday, March 07, 2004 1:44:11 PM

That is exactly what I was doing when this problem occurred. I am going
to the KDE site and report this problem. It might be a bug of some sort.
You might want to do the same if you have not all ready.

As a side bar, in the master.passwd file, near the top, is an entry
that includes: "Charlie &". Is it possible, or should I say, advisable
to change that entry manually or just leave it as is?

Thanks!

Gerard Seibert
[EMAIL PROTECTED]


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


Re: Where is 4.9-STABLE?

2004-03-07 Thread Matthew Seaman
On Sat, Mar 06, 2004 at 12:08:22PM +, Mark wrote:

> Yeah; but it's the upgrade I'm unclear about. You'd think there be some
> standard supfile template to upgrade your OS.

What, like /usr/share/examples/cvsup/standard-supfile?  Although
there's a bit of a twist to how it works: the standard-supfile
installed on your system will have the CVS tag inside it appropriate
to the branch you have installed.  So, on a 4.9-STABLE it contains:

*default release=cvs tag=RELENG_4

whilst on 4.9-RELEASE-pX it contains:

*default release=cvs tag=RELENG_4_9

and on 5.2.1-RELEASE-p1 it contains:

*default release=cvs tag=.

Oh well.  Can't win them all: I'd expect tag=. to be correct for
5-CURRENT, and for 5.2.1-RELEASE-p1 to have tag=RELENG_5_2

What ever, you can download the appropriate supfile from the CVS
repository, and it's fairly obvious how to modify the file for other
branches:


http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/share/examples/cvsup/standard-supfile?rev=1.17.2.6&content-type=text/plain&only_with_tag=RELENG_4


http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/share/examples/cvsup/standard-supfile?rev=1.17.2.6.6.1&content-type=text/plain&only_with_tag=RELENG_4_9

http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/share/examples/cvsup/standard-supfile?rev=1.22&content-type=text/plain&only_with_tag=RELENG_5_2

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Should I turn MATH_EMULATE back on?

2004-03-07 Thread Mark
This is weird. I installed Perl 5.8.2_5 on a clean FreeBSD 4.9R-p3 box, and
got an error on Time::Hires. I grabbed the package manually, and got the
same error:

PERL_DL_NONLAZY=1 /usr/local/perl-threaded/bin/perl
"-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')"
t/*.t
t/HiResok 18/25
t/HiRes.t: overall time allowed for tests (60s) exceeded
t/HiResdubious
Test returned status 0 (wstat 15, 0xf)
DIED. FAILED tests 19-25
Failed 7/25 tests, 72.00% okay
Failed Test Stat Wstat Total Fail  Failed  List of Failed
--
t/HiRes.t  01525   14  56.00%  19-25
Failed 1/1 test scripts, 0.00% okay. 7/25 subtests failed, 72.00% okay.
*** Error code 2

Does Hires use a math co-processor? The only difference with the kernel I
ran yesterday, is that I commented out this:

# optionsMATH_EMULATE

On an AMD XP-2200; as I take it it has the co-processor. Still, could that
be what is causing Hires to fail? More importantly, should I turn
MATH_EMULATE back on for the AMD?

Thanks,

- Mark

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


Re: Accessing Oracle8i Data on a FreeBSD System

2004-03-07 Thread Martin McCormick
Many thanks.  It looks like our work is cut out for us.

Martin Welk writes:
>Well, I think the Oracle 8i distribution for Oracle includes an Oracle
>client. I'm not sure if it is possible to install this stand-alone, but at
>least you could give it a try.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Disable core dumps

2004-03-07 Thread Craig Reyenga
I think you are looking for the 'kern.coredump' sysctl. Put a line like this
in /etc/sysctl.conf:

kern.coredump=0

Hope this helps.

-Craig


- Original Message -
From: "Tobias Eichert" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, March 07, 2004 1:39 PM
Subject: Disable core dumps


> Hello,
> I'd like to know whether there's a possibility to disable core dumps in a
> 'global' manner.
> I've already modified my bash config by adding a "ulimit -c 0" in order to
> prevent core dumps from being written to the disk.
> The problem still persists when starting an application via the KDE menu,
in
> my case the qt assistant. The core file will be in my home directory.
>
> There's a way to disable crash dumps by adding the line "dumpdev=NO"
> to /etc/rc.conf. Is there something analogue for nomal core dumps?
>
> Thanks and best regards,
> Tobias
> ___
> [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]"


Installation - More user friendly

2004-03-07 Thread Donald Turnbull

Does the folks of FreeBSD has any plans to make installation more user friendly for 
the newbie or the non-tech minded user for example like Red Hat or Mandrake Linux 
installation? The point for technology is to make people lives easier right?



-
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Installation - More user friendly

2004-03-07 Thread Donald Turnbull

Does the folks of FreeBSD has any plans to make installation more user friendly for 
the newbie or the non-tech minded user for example like Red Hat or Mandrake Linux 
installation? The point for technology is to make people lives easier right?



-
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Should I turn MATH_EMULATE back on?

2004-03-07 Thread Matthew Seaman
On Sun, Mar 07, 2004 at 07:07:54PM +, Mark wrote:
> This is weird. I installed Perl 5.8.2_5 on a clean FreeBSD 4.9R-p3 box, and
> got an error on Time::Hires.

> Does Hires use a math co-processor? The only difference with the kernel I
> ran yesterday, is that I commented out this:
> 
> # optionsMATH_EMULATE
> 
> On an AMD XP-2200; as I take it it has the co-processor. Still, could that
> be what is causing Hires to fail? More importantly, should I turn
> MATH_EMULATE back on for the AMD?

Well, I have MATH_EMULATE commented out in my kernel config, and
Time::Hires works perfectly well for me.  This is with:

% pkg_info -I perl-\*
perl-5.8.2_5Practical Extraction and Report Language

MATH_EMULATE applies to very early models in the x86 series where the
FPU wasn't always built into the chip.  I think the last models where
that was true were some of the 486 chips.  Certainly pentium class or
better x86 chips (ie. anything introduced in the last ten years or so)
have all had built in FPUs.  That includes everything built by AMD as
well.

However, I'm running a non-threaded perl: I suspect that may be the
root cause of your problem.  Just a few wild guesses here: did you
recently reinstall perl changing from non-threaded to threaded?  Do
you have perl modules still around which were compiled under the
non-threaded perl?  Or perhaps you've compiled perl using higher than
normal optimization settings, or gcc33 instead of the default
compiler:

% perl -V:cc
% perl -V:gccversion
% perl -V:optimize

will show you what was used.  As with the kernel, turning on the
higher levels of optimization does not necessarily make things run
faster, and may well stop things running correctly at all.

Cheers,

Matthew


-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: Installation - More user friendly

2004-03-07 Thread Matthew Seaman
On Sun, Mar 07, 2004 at 11:49:14AM -0800, Donald Turnbull wrote:
> 
> Does the folks of FreeBSD has any plans to make installation more user friendly for 
> the newbie or the non-tech minded user for example like Red Hat or Mandrake Linux 
> installation? The point for technology is to make people lives easier right?

Oooh.  That's a can of worms you're opening there.  Careful lest it
blows up in your face.

Plans exist aplenty.  Talk is cheap.  See, for instance the libh
project stuff -- http://www.freebsd.org/projects/libh.html -- which
was a nice idea in many ways but has entirely failed to produce any
results for about the last two years.  What is missing are concrete
pieces of code: applications that work.  If you think you can do
better than what we have presently, you are very welcome to submit
samples of works in progress.

On the other hand, your contention that FreeBSD installation is
user-unfriendly particularly for the nieve user, is not entirely born
out in practice.  Most people take a few minutes to get used to the
way it works, and then find that they can navigate around the menus
and get things done very effectively.

You'll also have a great deal of difficulty persuading experienced
users that they need a glitzy X based installer which won't work over
a serial line connection, and that doesn't permit the same flexibility
as the current sysinstall(8).  Style palls very quickly unless it is
backed up by substance, but substance makes up for any amount of lack
of style.

Anyway, this is a topic more suitable for
[EMAIL PROTECTED] Reply-to set appropriately.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


New user install experience

2004-03-07 Thread Luis Trimiño
Hello my name is Luis, I read your email about new
users install experience, here is mine:

I'm using FreeBSD 4.9 and so far has been the less
painful experience installing a system so far even
compare to windows(install, reboot, oh I detect that
you have some new hardware, do you have this or that?
bla bla bla then reboot againg and so far, I recently
install a win 98se for a friend and I wasted a couple
of hours in the process), OK the graphic interface
sucks and you have to make some serious reading to get
the system working the way you want but it's a good
way to lear!
at the end of the installation you usually get a
system that is almost ready to go.

I look around an once I tried Gentoo Linux, what a
waste of time! it was imposible, for me at least, to
get the X86 working, configuring the Kernel was
overwellming and later when I finally tought that
every thing was ready to go the stuped thing ( maybe
I, the user was the stuped?) did not work.

Hope this information help, I will stay with FreeBSD
from now on, I don't know about other Linux flavors,
besides Gentoo a friend once tried Mandrake or Red Hat
and he spend several days trying to set it up so I
don't even want to tried. Another one just give it up
with Linux at all.


Luis F Trimino


_
Do You Yahoo!?
Información de Estados Unidos y América Latina, en Yahoo! Noticias.
Visítanos en http://noticias.espanol.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Should I turn MATH_EMULATE back on?

2004-03-07 Thread Mark
- Original Message - 
From: "Matthew Seaman" <[EMAIL PROTECTED]>
To: "Mark" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, March 07, 2004 9:03 PM
Subject: Re: Should I turn MATH_EMULATE back on?

> On Sun, Mar 07, 2004 at 07:07:54PM +, Mark wrote:
>
> > This is weird. I installed Perl 5.8.2_5 on a clean FreeBSD 4.9R-p3 box,
> > and got an error on Time::Hires.

> However, I'm running a non-threaded perl: I suspect that may be the
> root cause of your problem. Just a few wild guesses here: did you
> recently reinstall perl changing from non-threaded to threaded?

No. This is a completely new, and clean installation of FreeBSD 4.9R-p3.
Yesterday I downloaded 4.9R too, and upgraded to STABLE. When I installed
Perl 5.8.2_5 then, everything went fine.

Today, I changed my mind about STABLE, and decided I feel safer running a
RELEASE version; so I scrubbed the disk again, installed a new 4.9R, and
CVSup-ed to 4.9R-p3. Then I tried to install Perl 5.8.2_5 again; but, this
time, it failed.

There are only two things different since yesterday;

1): I commented out MATH_EMULATE; that potential reason you just eliminated.

2): I no longer run STABLE, but 4.9R-p3.

> Do
> you have perl modules still around which were compiled under the
> non-threaded perl? Or perhaps you've compiled perl using higher than
> normal optimization settings, or gcc33 instead of the default
> compiler:

No. I am not enough of a C wizard to mess with such settings. :) I just ran:

make PREFIX=/usr/local/perl-threaded WITH_THREADS

>From the ports. And I downloaded the very latest ports.tar.gz for that.

> % perl -V:cc
> % perl -V:gccversion
> % perl -V:optimize

Here is the result:

asarian-host# /usr/local/perl-threaded/bin/perl -V:cc
cc='cc';
asarian-host# /usr/local/perl-threaded/bin/perl -V:gccversion
gccversion='2.95.4 20020320 [FreeBSD]';
asarian-host# /usr/local/perl-threaded/bin/perl -V:optimize
optimize='-O -pipe ';
asarian-host#

Thanks,

- Mark

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


Re: Installation - More user friendly

2004-03-07 Thread Jorn Argelo

Well, basicly, most people I know don't like the graphical installations
like Red Hat and Mandrake. When I worked with Mandrake some time ago I
never chosed the graphical installation either ...

And as far as I know, FreeBSD isn't aiming as much to user
friendly-enviroments as Mandrake is. FreeBSD is an operating system you
need to take your time for, and you need to read the proper
documentation. FreeBSD is user friendly enough when you know how it
works (take the ports-tree for example), but it requires that the user
is willing to invest time in the Operating System.

Cheers,

Jorn.
On 3/7/2004, "Donald Turnbull" <[EMAIL PROTECTED]> wrote:

>
>Does the folks of FreeBSD has any plans to make installation more user friendly for 
>the newbie or the non-tech minded user for example like Red Hat or Mandrake Linux 
>installation? The point for technology is to make people lives easier right?
>
>
>
>-
>Do you Yahoo!?
>Yahoo! Search - Find what you’re looking for faster.
>___
>[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: Installation - More user friendly

2004-03-07 Thread Remko Lodder
The you know how it works stuff has a very good resource online
www.freebsd.org/handbook
It teaches you from the basics through rather advanced stuff.

Like every OS you need to learn it, FreeBSD is robust and userfriendly
but not with the installation as you want it.. It requires you to
educate yourself a little bit.. {dont feel offended, don't mean it like
that}

cheers :)

--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl Dutch community for helping newcomers on the
hackerscene

mrtg.grunn.org Dutch mirror of MRTG

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Jorn Argelo
Verzonden: zondag 7 maart 2004 22:02
Aan: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Onderwerp: Re: Installation - More user friendly



Well, basicly, most people I know don't like the graphical installations
like Red Hat and Mandrake. When I worked with Mandrake some time ago I
never chosed the graphical installation either ...

And as far as I know, FreeBSD isn't aiming as much to user
friendly-enviroments as Mandrake is. FreeBSD is an operating system you
need to take your time for, and you need to read the proper
documentation. FreeBSD is user friendly enough when you know how it
works (take the ports-tree for example), but it requires that the user
is willing to invest time in the Operating System.

Cheers,

Jorn.
On 3/7/2004, "Donald Turnbull" <[EMAIL PROTECTED]> wrote:

>
>Does the folks of FreeBSD has any plans to make installation more user
friendly for the newbie or the non-tech minded user for example like Red Hat
or Mandrake Linux installation? The point for technology is to make people
lives easier right?
>
>
>
>-
>Do you Yahoo!?
>Yahoo! Search - Find what you’re looking for faster.
>___
>[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]"

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


Re: Building Packages - Links to Tutorials?

2004-03-07 Thread Drew Tomlinson
Sean Ellis told a big fish story including the following on 3/6/2004 
12:51 PM:

On Fri, Mar 05, 2004 at 01:34:20PM -0800, Drew Tomlinson wrote:
 

I have a "faster" machine that I'd like to use to build packages and 
then install those packages on my "slower" machine.  I'm looking for 
links to info describing this process and some best practices.  I'm 
familiar with using portupgrade to build and install ports.  I've read 
the portupgrade man pages and see options to build and install packages 
but am not understanding how to put it all together.
   

Check this out.

http://www.onlamp.com/pub/a/bsd/2003/08/07/FreeBSD_Basics.html

.. under "Making a Package Repository".
 

Thanks, that helps.  Now, is there any way to make a package without 
installing it?  For example, on my build machine I have the full version 
of bacula installed.  However, I'd like to make a package that is built 
with the "CLIENT_ONLY=YES" option.  So do I really have to build and 
install it "wrong" on the build machine and then rebuild and install it 
"right" just to get the package I want to install on another machine?  
Seem like there would be a better way.

Thanks,

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


RE: Building Packages - Links to Tutorials?

2004-03-07 Thread Remko Lodder
I am not sure but perhaps after the make -DCLIENT_ONLY=yes stuff
you can do make package, this should in my opinion make the package
you can install everywhere you wish (freebsd ofcourse).

Note that i did not read any explaination about this, and i just assume
this when i  "decode" the command into explaination.

--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl Dutch community for helping newcomers on the
hackerscene

mrtg.grunn.org Dutch mirror of MRTG

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Drew Tomlinson
Verzonden: zondag 7 maart 2004 22:13
Aan: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Onderwerp: Re: Building Packages - Links to Tutorials?


Sean Ellis told a big fish story including the following on 3/6/2004
12:51 PM:

>On Fri, Mar 05, 2004 at 01:34:20PM -0800, Drew Tomlinson wrote:
>
>
>>I have a "faster" machine that I'd like to use to build packages and
>>then install those packages on my "slower" machine.  I'm looking for
>>links to info describing this process and some best practices.  I'm
>>familiar with using portupgrade to build and install ports.  I've read
>>the portupgrade man pages and see options to build and install packages
>>but am not understanding how to put it all together.
>>
>>
>
>Check this out.
>
>http://www.onlamp.com/pub/a/bsd/2003/08/07/FreeBSD_Basics.html
>
>.. under "Making a Package Repository".
>
>
Thanks, that helps.  Now, is there any way to make a package without
installing it?  For example, on my build machine I have the full version
of bacula installed.  However, I'd like to make a package that is built
with the "CLIENT_ONLY=YES" option.  So do I really have to build and
install it "wrong" on the build machine and then rebuild and install it
"right" just to get the package I want to install on another machine?
Seem like there would be a better way.

Thanks,

Drew
___
[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: Disable core dumps

2004-03-07 Thread Tobias Eichert
On Sunday 07 March 2004 20:30, Craig Reyenga wrote:
> I think you are looking for the 'kern.coredump' sysctl. Put a line like
> this in /etc/sysctl.conf:
>
> kern.coredump=0
>
> Hope this helps.
>
> -Craig
>

Thanks for the hint! That's what I was looking for.

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


using hyperterminal

2004-03-07 Thread Kyryll A Mirnenko
  How is `tip` related to well-known windows' hyperterminal? E.g. can I use 
hyperterm-to-tip style connection? If they're using different protocols, is 
there a BSD hyperterminal version?

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


Re: using hyperterminal

2004-03-07 Thread Andrew L. Gould
On Sunday 07 March 2004 04:06 pm, Kyryll A Mirnenko wrote:
>   How is `tip` related to well-known windows' hyperterminal? E.g. can I use
> hyperterm-to-tip style connection? If they're using different protocols, is
> there a BSD hyperterminal version?
>

My understanding of terminal emulation and remote access is very limited.  
Also, I know next to nothing about tip.

However, I've had a certain amount of success using kermit in FreeBSD to dial 
into a vendor's server when I was supposed to be using hyperterminal in 
Windows .  I use kermit to dial the modem, use the vendor's command line menu 
interface and to transfer files.

Here's the contents of a kermit script I use to dial a certain vendor:

-start script file
#!/usr/local/bin/kermit

set line /dev/modem
set speed 57600
set dial connect on
dial 
-end of script file

Have fun,

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


Re: Fixing (scsi) drives at particular /dev locations

2004-03-07 Thread scion+fbsdq
Date: Sun, 7 Mar 2004 11:59:43 +
From: Matthew Seaman <[EMAIL PROTECTED]>

>>  hint.da.0.at="ahc1"
>
>Close, but no cigar.  See the section on "SCSI DEVICE CONFIGURATION"
>in /usr/src/sys/conf/NOTES.  What you want is:
>
>hint.scbus.0.at="ahc1"
>hint.scbus.1.at="ahc0"
>hint.da.0.at="scbus0"
>hint.da.0.target="0"
>hint.da.0.unit="0"
>
>which swaps the ordering of the SCSI busses, and wires down da0 to bus
>0, target 0, LUN 0.  You could probably get away with just the first
>two lines, as the rest should be the default anyhow.

I went looking in /usr/src/sys/i386/conf instead, oops!

What threw me though was there was no scbus identified in
the boot messages. Boot output goes like this:

...
da0 at ahc0 bus 0 target 0 lun 0
...
da1 at ahc0 bus 0 target 1 lun 0
...

But I tried what the Good Doctor ordered, and now I feel fine!

Thanks!!!

-sam

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


SOLVED! (was: Re: Should I turn MATH_EMULATE back on?)

2004-03-07 Thread Mark
Guess what? After some serious debugging, I found the cause. Test 19, of
Hires, which gets the system time, failed because of a Vmware GSX 2.5.1
Server bug:

vmx| MStat: Creating Stat vm.uptime
vmx| GetSystemTimeAdjustment returned unknown clockInterval 100144

I had some other oddities with it as well. I went back to Vmware Workstation
4 for (simply remounted everything), and everything compiled ok again.

Thanks for your time anyway.

- Mark

- Original Message - 
From: "Matthew Seaman" <[EMAIL PROTECTED]>
To: "Mark" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, March 07, 2004 9:03 PM
Subject: Re: Should I turn MATH_EMULATE back on?

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


Re: Recommend MTA

2004-03-07 Thread Greg 'groggy' Lehey
On Saturday,  6 March 2004 at 20:50:11 -0600, Michael Madden wrote:
> Which MTA is the recommended one to use on FreeBSD?
> I've noticed sendmail is installed by default, but
> my book I've been learning FreeBSD from (The Complete
> FreeBSD) only covers setting up postfix.

But it does say:

  If sendmail works for you, use it.  If you have difficulties, use
  postfix instead.

> Should I go ahead a learn/setup sendmail?

I don't recommend it.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
Note: I discard all HTML mail unseen.
Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgp0.pgp
Description: PGP signature


Re: Recommend MTA

2004-03-07 Thread albi
On Mon, 8 Mar 2004 10:23:18 +1030
Greg 'groggy' Lehey <[EMAIL PROTECTED]> wrote:

> On Saturday,  6 March 2004 at 20:50:11 -0600, Michael Madden wrote:
> > Which MTA is the recommended one to use on FreeBSD?
> > I've noticed sendmail is installed by default, but
> > my book I've been learning FreeBSD from (The Complete
> > FreeBSD) only covers setting up postfix.
> 
> But it does say:
> 
>   If sendmail works for you, use it.  If you have difficulties, use
>   postfix instead.
> 
> > Should I go ahead a learn/setup sendmail?
> 
> I don't recommend it.

i agree, and besides that postfix rocks! :)

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


Re: Recommend MTA

2004-03-07 Thread Chuck McManis

But it does say:

  If sendmail works for you, use it.  If you have difficulties, use
  postfix instead.
> Should I go ahead a learn/setup sendmail?

I don't recommend it.
Actually I'm a bit surprised that things didn't go with Qmail. Not only is 
it everything Postfix aspires to be, it has a zillion hours of runtime 
under its belt. Its been at the 1.03 release forever because there hasn't 
been anything to fix. If I had one complaint it would be to do an 
integration pass over the various pop3/imap/ssl/etc modifications to create 
an integrated pop3/mta that could allow for roaming delivery out of the box.

--Chuck



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


Re: Recommend MTA

2004-03-07 Thread Gary
Hi Chuck,

--On Sunday, March 07, 2004 04:13:31 PM -0800 Chuck McManis 
<[EMAIL PROTECTED]> wrote:

Actually I'm a bit surprised that things didn't go with Qmail. Not
only is it everything Postfix aspires to be, it has a zillion hours
of runtime under its belt. Its been at the 1.03 release forever
because there hasn't been anything to fix.

If I had one complaint it would be to do an integration pass over
the various pop3/imap/ssl/etc modifications to create an integrated
pop3/mta that could allow for roaming delivery out of the box.
Closest thing is Bruce Guenter's relay-ctrl which is an add-on, no
patching necessary.. Works great. I have it on several servers.
--
Gary
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


recomended mail server

2004-03-07 Thread Micheas Herman
Hi,

I have a specific set of wants for a new mail server:

 1. deliveries to Maildirs.
 2. authenticated forwarding. (can forward to another mail server
using authentication)


Qmail doesn't do authenticated forwarding without being patched.

I haven't done much research on exim or postfix. 

Any suggestions?


Micheas

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


Re: using hyperterminal

2004-03-07 Thread Ryan Merrick
Kyryll A Mirnenko wrote:
  How is `tip` related to well-known windows' hyperterminal? E.g. can I use 
hyperterm-to-tip style connection? If they're using different protocols, is 
there a BSD hyperterminal version?

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

Tip is the freebsd built in terminal emulator (ie) the same as hyperterm. I 
am not sure what you are asking on the second question. The close port to 
hyperterminal is #/usr/ports/comms/minicom

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


Re: mp4 spliter

2004-03-07 Thread Tsu-Fan Cheng
Hi, thank you for the tip, but I have tried a few times and it doesn't
work :( The vedio track can be processed but not the audio. I played the
original movie file again with mplayer and logged the output:

.

MOV: File-Type unknown Major-Brand: mp42
QuickTime/MOV file format detected.
--
MOV track #0: 29325 chunks, 262913 samples
Audio bits: 16  chans: 2  rate: 44100
MOV: Found MPEG4 audio Elementary Stream Descriptor atom (51)!
Fourcc: mp4a
--
MOV track #1: 24427 chunks, 146411 samples
MOV: Found MPEG4 movie Elementary Stream Descriptor atom (86)!
Image size: 640 x 344 (32 bpp)
Display size: 640 x 344
Fourcc: mp4v  Codec: ''
--
MOV track #2: 1 chunks, 0 samples
Generic track - not completly understood! (id: 2)
--
MOV track #3: 1 chunks, 0 samples
Generic track - not completly understood! (id: 3)
--
MOV: longest streams: A: #0 (262913 samples)  V: #1 (146411 samples)
==
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
FAAD: compressed input bitrate missing, assuming 128kbit/s!
   ^^^
is this what went wrong?

AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 16000->176400 (128.0 kbit)
Selected audio codec: [faad] afm:faad (AAC MPEG2/MPEG4 Audio)
==
==
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 640 x 344 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.86:1 - prescaling to correct movie aspect.
VO: [xv] 640x344 => 640x344 Planar YV12
A:   1.5 V:   1.5 A-V:  0.003 ct:  0.021   37/ 37  11%  6%  6.1% 0 0 0%

  any help is appreciated! thanks!

> > Hi freebsders, I have a movie file ended with mp4 and it's bigger than
> > 700mb, does anybody know how I can split the file into 2 so I can make
> > a CD out of it? thanks a lot!
>
> If you can play it with mplayer, then you can (assuming your movie file
> is a.mp4 and length is 1000 secs)
>
> $ mencoder -oac copy -ovc copy -ss 0   -endpos 500  -o first.mp4  a.mp4
> $ mencoder -oac copy -ovc copy -ss 500 -endpos 1000 -o second.mp4 a.mp4
>
> Or you could take the easy way out and run this to get split files.
> $ split -b 700m a.mp4
>
> Gautam
>
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: recomended mail server

2004-03-07 Thread Gary
Hi Micheas,

--On Sunday, March 07, 2004 04:23:27 PM -0800 Micheas Herman 
<[EMAIL PROTECTED]> wrote:

I have a specific set of wants for a new mail server:

 1. deliveries to Maildirs.
 2. authenticated forwarding. (can forward to another mail server
using authentication)
Qmail doesn't do authenticated forwarding without being patched.
by "auth forwarding" do you mean relaying?  If so, qmail certainly does 
allow it, via host-based relaying through tcp.smtp cdb... you can allow 
specific, or a range of IP addresses. Or... with auth relaying, you do not 
have to patch, and can use an add-on - relay-ctrl..

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


Re: Recommend MTA

2004-03-07 Thread David Benfell
On Sun, 07 Mar 2004 16:13:31 -0800, Chuck McManis wrote:
> 
> Actually I'm a bit surprised that things didn't go with Qmail. Not only is 
> it everything Postfix aspires to be, it has a zillion hours of runtime 
> under its belt. Its been at the 1.03 release forever because there hasn't 
> been anything to fix. If I had one complaint it would be to do an 
> integration pass over the various pop3/imap/ssl/etc modifications to create 
> an integrated pop3/mta that could allow for roaming delivery out of the box.
> 
First, Qmail is available via the port system.  The installation does
everything right.  It is nice.  It is painless.  I run it.  I wouldn't
run anything else.  It is what works for me.

Some people, however, can't get along with Qmail's configuration.  I
don't know why.  But I can't criticize, since I can't grok Postfix's
configuration, let alone Sendmail's.

But the main reason distributions don't offer Qmail as part of their
standard installation, or even as an option on the installation, is
because Dan Bernstein forbids the distribution of binaries or even
patched sources.  (The port fetches the source and then fetches any
patches, separately.)  He has his own license, which is not a "free"
software license.  (Irritating side question: Should this be an FAQ?)

Finally, there are now some recommended patches.  If you look at Life
With Qmail, you'll find that the recommended installation procedure
uses netqmail rather than "vanilla" qmail.

-- 
David Benfell, LCP
[EMAIL PROTECTED]
---
Resume available at http://www.parts-unknown.org/resume.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: recomended mail server

2004-03-07 Thread Micheas Herman
On Sun, 2004-03-07 at 16:31, Gary wrote:
> Hi Micheas,
> 
> --On Sunday, March 07, 2004 04:23:27 PM -0800 Micheas Herman 
> <[EMAIL PROTECTED]> wrote:
> 
> > I have a specific set of wants for a new mail server:
> >
> >  1. deliveries to Maildirs.
> >  2. authenticated forwarding. (can forward to another mail server
> > using authentication)
> >
> >
> > Qmail doesn't do authenticated forwarding without being patched.
> 
> by "auth forwarding" do you mean relaying?  If so, qmail certainly does 
> allow it, via host-based relaying through tcp.smtp cdb... you can allow 
> specific, or a range of IP addresses. Or... with auth relaying, you do not 
> have to patch, and can use an add-on - relay-ctrl..

I mean that the server I want to relay to requires authentication. (I
could work around this, but It would be easier for me to maintain if I
could have my mta authenticate.  There are a couple of patches for qmail
that do this.  And the documentation seems very clear, I would like to
know what the alternatives are.


Micheas,

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


freebsd 4.9 stable and qmailadmin-devel (1.2.1)

2004-03-07 Thread Dott. Andrea Riela
HI folks,

I need your support about qmailadmin and freebsd 4.9.
I've installed qmailadmin-devel from ports (with some differences, like
--enable-spam-command, but I've tried with the original port, the same
problem), and when I try to connect with web interface, I can login, but
when I try to use a link (for "new account", or whatever), I logout
automatically.

this is my make conf:

make CGIBINDIR=www/data/sites/nesys.it/cgi-bin WEBDATADIR=www/data
WITH_MODIFY_QUOTA=yes WITH_DOMAIN_AUTOFILL=yes WITH_HELP=yes
WITHOUT_IPAUTH=yes
(WITH_ANTISPAM=yes ANTISPAM_COMMAND="| maildrop /etc/mailfilter"
WITH_USERPERPAGE=yes USERPERPAGE=50)

that is:

./configure --enable-htmldir=/usr/local/www/data
--enable-htmllibdir=/usr/local/share/qmailadmin
--enable-cgibindir=/usr/local/www/data/sites/nesys.it/cgi-bin
--enable-cgipath=/cgi-bin/qmailadmin --enable-imageurl=/qmailadmin/images
--enable-imagedir=/usr/local/www/data/images/qmailadmin
--enable-modify-quota=Y --enable-domain-autofill=Y --enable-help
--disable-ipauth
(--enable-maxusersperpage=50 --enable-modify-spam=Y --enable-spam-command="|
maildrop /etc/mailfilter")

I've seen my fstab (because qmailadmin needs "nosuid"):

/dev/ad0s1g /usrufs rw  2   2

I've tried with source, but same problem (that is: isn't a qmailadmin
problem).
I've checked my apache conf (default ServerRoot "/usr/local" + virtual
hosts). An example of vh:

[...]

Alias /qmailadmin/images/ "/usr/local/www/data/images/qmailadmin/"

Options Indexes MultiViews
AllowOverride None
Order allow,deny  
Allow from all


[...]


ServerName www.nesys.it
ServerAdmin [EMAIL PROTECTED]
SSLDisable
Port 80   
DocumentRoot /usr/local/www/data/sites/nesys.it
ErrorLog /var/log/apache/nesys.it-error_log
CustomLog /var/log/apache/nesys.it-access_log combined RewriteEngine on
RewriteRule ^/cgi-bin/qmailadmin https://www.nesys.it/cgi-bin/qmailadmin
[R=permanent]
ScriptAlias /cgi-bin/ "/usr/local/www/data/sites/nesys.it/cgi-bin/"
   
   Options -Indexes 
   AllowOverride All
   Order allow,deny
   Allow from all
   
   
   Options ExecCGI -Indexes
   AllowOverride All
   Order allow,deny
   Allow from all
   



ServerName www.nesys.it
ServerAdmin [EMAIL PROTECTED]
Port 443
DocumentRoot /usr/local/www/data/sites/nesys.it
RewriteEngine on
RewriteRule ^/cgi-bin/qmailadmin - [S=1]
RewriteRule ^(.*) http://www.nesys.it/$1 [R=permanent] ScriptAlias /cgi-bin/
"/usr/local/www/data/sites/nesys.it/cgi-bin/"
SSLEngine on
SSLCertificateFile /usr/local/www/certs/nesys.crt SSLCertificateKeyFile
/usr/local/www/certs/nesys.key ErrorLog /var/log/apache/nesys.it-error_log
CustomLog /var/log/apache/nesys.it-access_log combined
   
   Options ExecCGI -Indexes +FollowSymLinks
   AllowOverride All
   Order allow,deny 
   Allow from all   
   
 

vpopmail and qmail are ok, I've used vqadmin to add domains, withou
problems.
I've tried to install qmailadmin with --disable-ipauth too, but nothing.

What could I do? Have you got any advice for me?
I hope you could help me.
thanks for your support
Regards
Andrea

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


RE: recomended mail server

2004-03-07 Thread Dott. Andrea Riela
> I mean that the server I want to relay to requires
> authentication. (I could work around this, but It would be
> easier for me to maintain if I could have my mta
> authenticate.  There are a couple of patches for qmail that
> do this.  And the documentation seems very clear, I would
> like to know what the alternatives are.

You could use qmail without smtp auth patch, but with pop3-before-smtp.
Without patches.
Simply use ucspi-ssl and create a qmail-pop3s like qmail-pop3d. If you have
vpopmail, create two vchkpw binaries, for qmail-pop3d without
--enable-roaming-users, for qmail-pop3s with.

Regards
Andrea

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


burncd and cdrecord

2004-03-07 Thread elarsen2
I backed some files up using burncd and cdrecord. The files burned fine. But the 
problem that I am having. Is that I am unabel to see the files. The command I used for 
burn cd was: "burncd -f /dev/asc1c -s max -e data *.* fixate". And the command I used 
for cdrecord i baleve was: "cdrecord dev=1,1,0 *.*". I am not sure the exact command I 
did for cdrecord. Because I only have 1,1,0 written down. I am using FreeBSD 4.9  and 
have a Hewlett Packard Cd-Writer Plus 9100 series.

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


Re: Installation - More user friendly

2004-03-07 Thread Bob Johnson
On Sunday 07 March 2004 02:49 pm, Donald Turnbull > wrote:
> Does the folks of FreeBSD has any plans to make installation more
> user friendly for the newbie or the non-tech minded user for example
> like Red Hat or Mandrake Linux installation? The point for technology
> is to make people lives easier right?
>

It seems pretty friendly to me.  It really helps to read the directions 
first, though.

By "user friendly" do you mean "pretty", or do you have a specific 
complaint about some aspect that needs to be improved?  Which SPECIFIC 
part of the install should be changed, and how should it be changed?

- Bob

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


Jails and SSL..

2004-03-07 Thread adp
I want to run Apache under a FreeBSD jail. For normal http this works fine.
However, I'm a little worried that we won't be able to use jails because we
use SSL for several sites. With SSL we have to define one IP per site. Jails
only have one IP. Is there a way around this other than just having one jail
per SSL site? (I'd rather not do that!)


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


Java Install Continually Failing

2004-03-07 Thread Joe Pokupec
Hi Guys,

I've had unsuccessful Java installs on 4.8 and 5.1 so I don't know what I'm
doing wrong.

I've downloaded the correct packages from the Java site and put them in the
/usr/ports/distfiles so this is not where the install fails. It appears to
give the following message:

Linging vm...
Arguments.o: file not recognized: File format not recognized
Gmake[3]: *** [libjvm_g.so] Error 1

There's a ton of more error messages below this...

I was installing ports/java/jdk14

Thinking that this may have been a gmake, I installed that from the devel
port first, but the error still occurred.

Why is java so difficult to install? I've had it easy with all the other
ports, samba, apache, pico, etc...

Thanks

Joe

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


MAKEDEV question

2004-03-07 Thread Stephen Liu
Hi folks,
 
 FreeBSD 5.2
 
 I am now configuring printer and aware that 'MAKEDEV' has been replaced with 
 'devfs'
 
 According to handbook I should run
 
 # ./MAKEDEV lpt0 (para port)
 
 whether to be replaced with
 
 # ./devfs -m lpt0
 
 Kindly advise. ïTIA
 
 B.R.
 satimis

 

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


Re: MAKEDEV question

2004-03-07 Thread Kris Kennaway
On Mon, Mar 08, 2004 at 07:45:16PM +0800, Stephen Liu wrote:
> Hi folks,
>  
>  FreeBSD 5.2
>  
>  I am now configuring printer and aware that 'MAKEDEV' has been replaced with 
>  'devfs'
>  
>  According to handbook I should run
>  
>  # ./MAKEDEV lpt0 (para port)
>  
>  whether to be replaced with
>  
>  # ./devfs -m lpt0

The device should be created automatically if your kernel detects the device.

Kris


pgp0.pgp
Description: PGP signature


ITunes app or player

2004-03-07 Thread Chris
Do we happen to have a port that can make use of ITunes? Moreover - the files 
you  purchase from them. I think the file extension is m4p.
-- 
Best regards,
Chris
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


postfix MTA questions

2004-03-07 Thread dave
Hello,
I'm using postfix and i've got two questions regarding it. Firstly, i'd
like to implement maildir style mailboxes for users. I want a pop server
that will understand maildir, will qpopper do this or will i have to look at
another? I'd like to avoid running services from inetd if possible.
I'm also wondering if there's a program that will take an incoming
message, and send back an autoresponse asking for confirmation before
delivery? If a confirmation is sent, the message is not spam, and is sent
through, if no confirmation is forthcoming within a time frame or if the
domain bounces the message both the original message and any domain bounces
are perged without me seeing them.
Finally, I've got a domain on a dynamic IP, i'd like to relay through my
isp's smtp server as a smarthost, if i do this will my outgoing domain name
be altered?
Thanks.
Dave.

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


Re: ITunes app or player

2004-03-07 Thread BSD baby
> Do we happen to have a port that can make use of ITunes? Moreover - the files 
> you  purchase from them. I think the file extension is m4p.

They're locked Digital Rights Management-controlled AAC files.

Unfortunately you can only play them in real Apple iTunes player or transfer them to 
an iPod.

LUCKILY : as with ALL of the download services (most of which use Windows Media 
format),
you can just click the "{BURN TO CD}" button, and burn an audio CD,  then pop it in 
your
FreeBSD machine and rip it to FLAC or MP3 or OGG or whatever you want.


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


Re: MAKEDEV question

2004-03-07 Thread Stephen Liu
> >  FreeBSD 5.2
> >
> >  I am now configuring printer and aware that 'MAKEDEV' has been replaced
> > with 'devfs'
> >
> >  According to handbook I should run
> >
> >  # ./MAKEDEV lpt0 (para port)
> >
> >  whether to be replaced with
> >
> >  # ./devfs -m lpt0
>
> The device should be created automatically if your kernel detects the
> device.

Hi Kris,

Tks for your response.

# grep ppc0 /var/run/dmesg.boot
ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/7 bytes threshold
ppbus0:  on ppc0

I suppose lpt0 is supported. 

But
# ls -l lpt0
ls: lpt0: No such file or directory

# ls -al /dev/ | grep lpt0
crw---   1 root wheel  16,   0 Mar  8 17:38 lpt0
crw---   1 root wheel  16, 128 Mar  8 17:38 lpt0.ctl
(Is it necessary turning on the printer before running above command)

OR
Shall I run
# ./devfs -m lpt0

Kindly advise.  TIA

B.R.
Stephen


 

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


Re: postfix MTA questions

2004-03-07 Thread Gary
Hi Dave,

--On Sunday, March 07, 2004 11:02:53 PM -0500 dave
<[EMAIL PROTECTED]> wrote:
I'm using postfix and i've got two questions regarding it. Firstly,
i'd like to implement maildir style mailboxes for users. I want a pop
server that will understand maildir, will qpopper do this or will i have
to look at another? I'd like to avoid running services from inetd if
possible.
qpoper will not work with Maildir format.. another popserver to use
that will work with either mbox or Maildir format is solidpop
http://solidpop3d.pld.org.pl/
I'm also wondering if there's a program that will take an incoming
message, and send back an autoresponse asking for confirmation
before delivery? If a confirmation is sent, the message is not spam,
and is sent through, if no confirmation is forthcoming within a time
frame or if the domain bounces the message both the original message
and any domain bounces are perged without me seeing them.
Yes, a very popular one (challenge/auth mechanism) is TMDA, can be
used with any MTA. It is very flexible, and does a good job.
http://tmda.net/

 Finally, I've got a domain on a dynamic IP, i'd like to relay through
my isp's smtp server as a smarthost, if i do this will my outgoing domain
name be altered?
Unknown if your ISP's SMTP server does headers rewrites. You would
have to ask or test it to find out.
--
Gary
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Backups: rsync, software RAID, other strategies?

2004-03-07 Thread Dany Nativel
Hi Bob,

I use the following configuration on my file server.
It's a small cube based on a low power mini-ITX EPIA 5000 motherboard 
(fanless) and running two 120GB HDDs.
I looked at RAID but it doesn't help solving one of the potential issue 
... me, user removing files that are not supposed to be removed so 
incremental backup is a plus. This baby is powered by FreeBSD 5.2.1 
(used to be Debian).

DISK 0 (live)
128M   ad0s1a /
512M   ad0s1b swap
128M   ad0s1d /var
200M   ad0s1e /tmp
3200MB ad0s1f /usr
110GB  ad0s2d /data
DISK 1  (Backup)
ad2s1d 128M  /backup/os/root
ad2s0b 512M  swap
ad2s1e 128M  /backup/os/var  
ad2s1f 200M  /backup/os/tmp
ad2s1g3199M  /backup/os/usr
ad2s2d 108G  /backup/data/backup

I use 3 different programs :
- Unison (http://www.cis.upenn.edu/~bcpierce/unison/):  2-way 
synchronization using rsync/ssh, multi-platform graphical interface. I 
can have the same files on my file server, laptop running win2k as well 
as my desktop running BSD.  Very convenient especially with laptops when 
you can't be connected all the time.Very fast too (only transmit diffs)
- rsync (man rsync) :  typical rsync that will mirror the source to the 
destination
- rdiff-backup (http://rdiff-backup.stanford.edu/index.html): it's based 
on rsync but you get the advantage of incremental backups so you can 
restore from a specific date. You can also purge the backup by removing 
old stuff. No fancy  file  format, just .gz for the diffs.

Here is how I use those tools :
/data/current/user0_live (DISK 0) <>   UNISON : 2-way 
synchronization with laptop/desktop
/data/current/user0_incremental (DISK 0)   <>   RDIFF-BACKUP : 
incremental backup of user0_live using RDIFF system
/backup/data/backup/user0_incremental (DISK1)  <>  RSYNC : quick 
mirror of the already incremental backup

/backup/data/backup/pictures (DISK1) <>  RDIFF-BACKUP : 
in this case, rdiff-backup between drive0 and drive1 (no incremental on 
disk0)

/backup/os/root (DISK1)<>DUMP : 1:1 copy of the live root fs
/backup/os/tmp  (DISK1)
/backup/os/var  (DISK1)
/backup/os/usr (DISK1) <>RSYNC :  (with -delete option) for 
a quick mirror of current /usr

PS: for user0, there are two copies of the data on disk0, 1 live 
synchronized with Unison and another one which is an incremental of the 
first one.  For less critical data (like /data/current/pictures) I use 
rdiff-backup between disk0 and disk1. In that case I would lose 
incremental backups if disk1 fails.

I've simulated a crisis situation by removing the drive0 and swapping it 
with drive1. It worked (except for those entries in fstab referring to 
disk1).

I have a cron job taking of the different backups at night. 

#!/bin/sh

# Duplicate /
# erase slive before mirroring, any other way?
umount /backup/os/root
newfs /dev/ad2s1a
mount /backup/os/root
# dump with 'live filesystem' option
dump -0 -L -f - /dev/ad0s1a | (cd /backup/os/root ; restore -r -v -f -)
# Duplicate /var
umount /backup/os/var
newfs /dev/ad2s1d
mount /backup/os/var
dump -0 -L -f - /dev/ad0s1d | (cd /backup/os/var ; restore -r -v -f -)
# Duplicate /tmp (probably a wate of time)
umount /backup/os/tmp
newfs /dev/ad2s1e
mount /backup/os/tmp
dump -0 -L -f - /dev/ad0s1e | (cd /backup/os/tmp ; restore -r -v -f -)
# incremental backup of the ./pictures directory on the second drive
rdiff-backup /data/current/pictures /backup/data/backup/pictures
# First, incremental of the user0_live dir on the same drive then rsync 
on the second drive
rdiff-backup /data/current/user0_live /data/current/user0_incremental
rsync  -a --delete /data/current/user0_incremental/ 
/backup/data/backup/user0_incremental

The only I don't like is the NEWFS command. Is there a cleaner way to do 
this dump ?

I use this configuration is a non-critical installation (my house) but 
it has been serving its purpose so far.
Dany

PS:  On the rdiff-backup webpage there is a link to another tool call 
duplicity (http://rdiff-backup.stanford.edu/duplicity.html).  You can do 
remote backup but in that case the image can be stored on a remote FTP 
server and encrypted with GPG... sweet if you're planning to use your 
ISP's disk space for backups!



Bob Johnson wrote:

A bunch of related questions:

I'm setting up a small mail and file server.  The mail server part will 
be Courier, while the file server part will primarily be used via NFS 
and Samba to store backups of my desktop and laptop computers.

The system has a pair of WD1600JB 160 GB ATA 100 drives in it, both on a 
single Promise PDC20268 UDMA100 controller, but each on a separate 
channel (i.e. both are masters with no slaves).  My plan is to use one 
of the drives as a backup for the other.  I want to use a backup method 
that creates a mirror of the working drive so that if it fails, I can 
simply mount the backup in place of the working drive, and get back in 
business.  The operating system will (probably) not be on either of 

RE: Installation - More user friendly

2004-03-07 Thread JJB
Well I do have  specific comments about some aspects that needs to
be improved?

Right at the beginning of sysinstall should be warning  about what
to set PC bios options to, like plugNplay off, power management off,
boot time virus check disabled, PCI irq assignments set to auto, OS
type set to non-windows, ect. Give then option to cancel sysinstall
to set bios.

That should be followed with option  for standard basic install
using whole hard drive from cdrom, and no questions from that point
on. Behinds the scenes, fdisk deletes all hard drive partitions,
disklable uses auto config, skip config is taken, distro of kernel
source, no x-server, and no to all other questions, except set root
password and timezone.

Then for the original way, for each option question, give info about
what this option enables and why one would enable it.
Example

enable NFS server (yes / NO)   NFS stands for (Network File server)
An advanced function where by this system you are installing will
have an (Local Area Network) behind it and you want this system to
share It's disk space with the other FBSD PC's on the lan. Answering
yes will start the NFS server on this system and all the FBSD pc on
the Lan must have the NFS client running to access and share the NFS
servers disk space. Will not work with MS/windows PC on the Lan. Can
be enabled later by rc.conf statements. Only answer yes if you know
for certain you are going to use this function in the immediate
future.

This kind of pointed detailed information embedded into each
question installer is asked to respond to, provides the installer
with  the info necessary to make an informed chose right there in
front of them where it belongs and not off in some un-accessible
handbook.

That is what I see is missing from the sysinstall process and why it
is so user unfriendly to all but experienced FBSD users.







-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bob Johnson
Sent: Sunday, March 07, 2004 8:22 PM
To: [EMAIL PROTECTED]
Cc: Donald Turnbull
Subject: Re: Installation - More user friendly

On Sunday 07 March 2004 02:49 pm, Donald Turnbull > wrote:
> Does the folks of FreeBSD has any plans to make installation more
> user friendly for the newbie or the non-tech minded user for
example
> like Red Hat or Mandrake Linux installation? The point for
technology
> is to make people lives easier right?
>

It seems pretty friendly to me.  It really helps to read the
directions
first, though.

By "user friendly" do you mean "pretty", or do you have a specific
complaint about some aspect that needs to be improved?  Which
SPECIFIC
part of the install should be changed, and how should it be changed?

- Bob

___
[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: ITunes app or player

2004-03-07 Thread BSD baby
> > LUCKILY : as with ALL of the download services (most of which use Windows
> > Media format), you can just click the "{BURN TO CD}" button, and burn an
> > audio CD,  then pop it in your FreeBSD machine and rip it to FLAC or MP3 or
> > OGG or whatever you want.
> 
> As true as the above may be, and as lazy as I can be - I was hoping for a more 
> logical (for lack of a better term) way of playing them. Perhaps I was 
> looking for a app that might play them in their native format.


Yeah.  Shit outta luck, though.

My company is one of the main ones actually delivering and encoding all the 
audio to Apple iTunes.   We use all FreeBSD machines for storage, but have
to use actual Apple iTunes software for encoding and listening.

There's no other way.  I've tried.

Hey if you don't know the FLAC audio format, you should.  Especially for
"trans-coding" other audio formats (like iTunes from CD-Rom) onto your FreeBSD
machine.

cd /usr/ports/audio/flac ; make install

It's a *lossless* copy of the audio.  No compressions.  Huge files but sounds great.

You can use a program like this...
cd /usr/ports/audio/abcde ; make install

... to rip your audio CDs into FLAC format.

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


Mozilla-1.6 hangs on .pdf file

2004-03-07 Thread Rob


Hi,

I have installed:
Mozilla-1.6
linux-flashplugin-6.0
linuxpluginwrapper-20040229
mplayerplug-in-2.45
acroread-5.08
In mozilla, when I click on a .pdf document, the opening window of acroread
pops up, but then all hangs. Actually, acroread hangs and mozilla is waiting.
When I kill the hanging acroread app., mozilla resumes.
Why is this not working? Is this a mozilla issue, or acroread ?

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


RE: Installation - More user friendly

2004-03-07 Thread W. D.
At 22:28 3/7/2004, JJB, wrote:
>Well I do have  specific comments about some aspects that needs to
>be improved?
>
>Right at the beginning of sysinstall should be warning  about what
>to set PC bios options to, like plugNplay off, power management off,
>boot time virus check disabled, PCI irq assignments set to auto, OS
>type set to non-windows, ect. Give then option to cancel sysinstall
>to set bios.
>
>That should be followed with option  for standard basic install
>using whole hard drive from cdrom, and no questions from that point
>on. Behinds the scenes, fdisk deletes all hard drive partitions,
>disklable uses auto config, skip config is taken, distro of kernel
>source, no x-server, and no to all other questions, except set root
>password and timezone.
>
>Then for the original way, for each option question, give info about
>what this option enables and why one would enable it.
>Example
>
>enable NFS server (yes / NO)   NFS stands for (Network File server)
>An advanced function where by this system you are installing will
>have an (Local Area Network) behind it and you want this system to
>share It's disk space with the other FBSD PC's on the lan. Answering
>yes will start the NFS server on this system and all the FBSD pc on
>the Lan must have the NFS client running to access and share the NFS
>servers disk space. Will not work with MS/windows PC on the Lan. Can
>be enabled later by rc.conf statements. Only answer yes if you know
>for certain you are going to use this function in the immediate
>future.
>
>This kind of pointed detailed information embedded into each
>question installer is asked to respond to, provides the installer
>with  the info necessary to make an informed chose right there in
>front of them where it belongs and not off in some un-accessible
>handbook.
>
>That is what I see is missing from the sysinstall process and why it
>is so user unfriendly to all but experienced FBSD users.

Man!  This would be great!  I am trying to convert from the evil
Windows world, and online comments like this would be great.

If we really want to make FreeBSD more popular, we should make it
easy for people to change from Windows and/or Linux, right?

Start Here to Find It Fast!™ -> http://www.US-Webmasters.com/best-start-page/

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


Postfix install questions..

2004-03-07 Thread Micheal Patterson
Tonight, I starting looking into installing postfix to replace sendmail as
our primary MTA. I'm currently playing with it on my home system (fbsd 4.9)
and installing from ports. The install goes well, I've went through the
main.cf and set it up. However, when trying to connect to port 25, I get an
error "postfix fatal: unsupported dictionary type: " and nothing else.

postconf -m shows:

static
pcre
regexp
environ
proxy
btree
unix
hash

I've looked through google and it seems that every entry displaying
unsupported dictionary type shows hash, mysql, etc but nothing just simply
"empty". Am I correct in thinking that for some reason, postfix doesn't see
hash as a viable type even though it's found and compiled in?

Error log entries in mailllog show:

Mar  7 22:51:13 caverns postfix/smtpd[3564]: fatal: unsupported dictionary
type:
Mar  7 22:51:14 caverns postfix/master[3560]: warning: process
/usr/local/libexec/postfix/smtpd pid 3564 exit status 1
Mar  7 22:51:14 caverns postfix/master[3560]: warning:
/usr/local/libexec/postfix/smtpd: bad command startup -- throttling


A nudge in the right direction would be appreciated.

Thanks.

--

Micheal Patterson
Network Administration
TSG Incorporated
405-917-0600


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


Re: Recommend MTA

2004-03-07 Thread Chad Leigh -- Shire.Net LLC
I am surprised that no one has mentioned "exim".  Been using it since 
97 and wouldn't use anything else.  Very straight forward to configure, 
very powerful, and very well supported by its author and the 
community...

I believe it is in the ports system, but I build my own so I don't know 
for sure...

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


Re: postfix MTA questions

2004-03-07 Thread Chad Leigh -- Shire.Net LLC
On Mar 7, 2004, at 9:02 PM, dave wrote:

 I want a pop server
that will understand maildir, will qpopper do this or will i have to 
look at
another?
courier has a separate imap and pop server package that is built around 
maildir.  I use it with exim.

courier-mta.org

Chad

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


  1   2   >