Re: How do I unsubscribe

2005-03-11 Thread Michael C. Shultz
On Thursday 10 March 2005 08:24 pm, RL wrote:
 How do I unsubscribe from this list?  Sorry, I couldn't find out.

In general most email lists the syntax is the same:

In the the subject:

[EMAIL PROTECTED]

to unsubscribe

In the subject

[EMAIL PROTECTED]


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


[Realplay10GOLD] Error: ELF binary type 0 not known

2005-03-11 Thread P.H.Tung
I successfully installed Realplayer10GOLD on FreeBSD released 5.3
When I run realplay from console, I got following error:
ELF binary type 0 not known.
/usr/local/lib/RealPlayer/realplay.bin: 1: Syntax error: ( unexpected

What does it means? any advises?

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


cannot alloc XXXXXXXXXXXXXXXXXX bytes for inphead.........fsck error...

2005-03-11 Thread matt virus
When trying to run FSCK on a raid array, i'm presented with the error in 
the subject

I'm fairly certain i know the corrupted directory.  It happens to have 
no files in it, yet it's listed at 404104882946560 bytes in size.

rm -rf comes back saying directory not empty
After some reading, i found others with the same problem that solved the 
problem by running fsck.

Running fsck prompted the 'cannot alloc 29387498573987123984758392123 
bytes for inphead error and i'm unable to fsck the drive.

This is running fbsd 5.2.1
Any suggestions ? :-)
thanks!
--
Matt Virus (veer-iss)
http://www.mattvirus.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


subversion on FreeBSD 4.10

2005-03-11 Thread Rene C. Mendoza
Hi!
I'm trying to install subversion-1.1.3 on FreeBSd 4.10 from ports. By 
the way, my ports tree is updated regularly.
When I install in the subversion port directory, installation just seems 
to stop or sleep.

Here is the relevant line where it sleeps:
/usr/local/sbin/apxs -e -S LIBEXECDIR=/usr/local/libexec/apache2 -a -n 
dav libexec/apache2/mod_dav.so

I may have missed something. Can anybody help show me what I'm doing wrong?
Thanks in advance,
Rene



smime.p7s
Description: S/MIME Cryptographic Signature


Re: Quota problems

2005-03-11 Thread Skylar Thompson
On Wed, Mar 09, 2005 at 03:06:55PM -0600, Dan Nelson wrote:
 In the last episode (Mar 09), Skylar Thompson said:
  there should be changes to mention that /etc/rc will only create the
  files with check_quota enabled, and also that creating zero-length
  files is not only unnecessary, but also dangerous.
 
 I don't know that the 0-byte quota files are the source of your
 problem; I only know that they're not doing any good :)  

It looks like they were the problem. I took the server down to single-user
mode, deleted the zero-size quota.{user,group} files, and then ran
quotacheck on that filesystem. After booting back up, the system ran
normally without hanging.

-- 
-- Skylar Thompson ([EMAIL PROTECTED])
-- http://www.cs.earlham.edu/~skylar/


pgpQfGvPWfWfB.pgp
Description: PGP signature


portinstall: fetch(1) doesn't fetch

2005-03-11 Thread h p
Hi,
I don't understand the behaviour of fetch(1). Whenever I try to fetch
from an URL, I get anwers like
 fetch http://www.google.com
fetch: http://www.google.com: No address record

I have set up my network correctly though. If, in contrast, I use wget, I get
 wget http://www.google.com
--11:20:32--  http://www.google.com/
   = `index.html'
Resolving www.google.com... done.
Connecting to www.google.com[66.102.9.99]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]

[  =  ] 2,298
10.69K/s

11:20:39 (10.69 KB/s) - `index.html.1' saved [2298]

... as expected.
What have I done wrong? Where can I configure fetch to honor my
network setup? Or can I configure portinstall to use wget instead of
fetch?

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


Re: Native POSIX threads + Java under FreeBSD 5.3 release i386

2005-03-11 Thread Olaf Greve
Dear Dan,
Thanks for your answer!
A follow-up:
Why would they require an OS-specific threads library, instead of
simply requiring Posix threads?  I can tell you right now that Solaris
doesn't support NPTL, just the same way Linux doesn't support Solaris's
thread library :)
Interesting. The people who wrote the software told me that they used to 
have a version that worked well with the Linux 2.4 kernel threads 
version. Then, they said they had improved their software, and that it's 
based around the threading system as it is present in the Linux 2.6 
kernel. They did indeed mention that we require Posix threads, so I 
guess they mean to say that we require Posix threads (rather than 
relying on a Linux 2.6 kernel perse).

If you have limited time, I'd say just use either Solaris 10 or Linux. 
If you have problems on FreeBSD, they won't help you.
Yes, I just called the client, and he strongly recommended simply 
looking for a Debian-9 or SuSe-9 system. I think I'll simply try that...

I'm looking somewhat into the support for NPTL under FreeBSD 5.3
release i386, and I have come across the following URL:
http://www.unobvious.com/bsd/freebsd-threads.html From this, it
sounds like the LinuxThreads (i.e.
/usr/ports/devel/linuxthreads) should do the trick.

That page is 2 years old, and even says right in the middle, before
comparing libc_r and linuxthreads:
   WARNING: The rest of this document does not describe thread support
   in FreeBSD 5.x . You have been warned.
:)
I think I didn't express myself the way I meant to (sorry for that). 
Basically what I meant to write was that from the document I gathered 
that the /usr/ports/devel/linuxthreads port is what should be used. But 
indeed upon re-reading my own text, it suggests that I had gathered from 
the document that that would work under versions 5.x as well (which was 
 not what I meant to imply). Anyway, your following answer basically 
answers what I wanted to know:

Can anyone tell me something about the following:
1) Does the linuxthreads library provide 100% NPTL support, as under Linux?
Linuxthreads is the Linux 2.4 and below threads package.  NPTL is the
name for the threads implementation in Linux 2.6 kernels.  As far as I
know, linuxthreads and NPTL are relatively ABI-compatible.
From this, I gather the linuxthreads port will not give me the 
threading system as used in the Linux 2.6 kernel then...

O.k., I think I know enough for now: I'll first try having a go at Red 
Hat or SuSe then

Thanks again, and cheers!
Olafo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: subversion on FreeBSD 4.10

2005-03-11 Thread Daniel S. Haischt
did you compile Apache 2.x with WebDAV support (i.e. mod_dav)?
Rene C. Mendoza schrieb:
Hi!
I'm trying to install subversion-1.1.3 on FreeBSd 4.10 from ports. By 
the way, my ports tree is updated regularly.
When I install in the subversion port directory, installation just seems 
to stop or sleep.

Here is the relevant line where it sleeps:
/usr/local/sbin/apxs -e -S LIBEXECDIR=/usr/local/libexec/apache2 -a -n 
dav libexec/apache2/mod_dav.so

I may have missed something. Can anybody help show me what I'm doing wrong?
Thanks in advance,
Rene

--
Mit freundlichen Gruessen / With kind regards
DAn.I.El S. Haischt
Want a complete signature??? Type at a shell prompt:
$  finger -l [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: subversion on FreeBSD 4.10

2005-03-11 Thread Rene C. Mendoza
Daniel S. Haischt wrote:
did you compile Apache 2.x with WebDAV support (i.e. mod_dav)?
Rene C. Mendoza schrieb:
Hi!
I'm trying to install subversion-1.1.3 on FreeBSd 4.10 from ports. By 
the way, my ports tree is updated regularly.
When I install in the subversion port directory, installation just 
seems to stop or sleep.

Here is the relevant line where it sleeps:
/usr/local/sbin/apxs -e -S LIBEXECDIR=/usr/local/libexec/apache2 -a 
-n dav libexec/apache2/mod_dav.so

I may have missed something. Can anybody help show me what I'm doing 
wrong?

Thanks in advance,
Rene


yes i did. i use penv in our server.  here are the environment settings 
on www/apache2.

# penv -c list
WITH_DAV_MODULES=yes
WITH_AUTH_MODULES=yes
WITH_SSL_MODULES=yes
WITH_MISC_MODULES=yes
WITH_BERKELEYDB=db42
WITH_LDAP_MODULES=yes
on devel/subversion, i have these penv settings:
# penv -c list
WITH_MOD_DAV_SVN=yes
WITH_BOOK=yes
did i miss anything?
thanks,
rene



smime.p7s
Description: S/MIME Cryptographic Signature


Re: Strange load averages on 5.3-STABLE

2005-03-11 Thread Giovanni P. Tirloni
Dmitry Kozhevnikov wrote:
please show us
1. cat /var/run/dmesg.boot
2. uname -a
3. egrep (^REVISION|^BRANCH) /usr/src/sys/conf/newvers.sh

GPT David Fleck wrote:
 On Thu, 10 Mar 2005, Michael Ross wrote:

 last pid: 771; load averages: 176.65, 770.13, 926.55 up 0+00:03:13
 08:11:07

 Your may have compiled kernel and userland from different sources.
  and programs like ps(1) and top(1) will fail to work until the
 kernel and source code versions are the same. from the handbook is
 what comes to my mind.

GPT   I've compiled from the same source.

 I've also seen ridiculously-high load numbers when NFS-mounted
 filesystems are inaccessible.  Usually that degrades system 
performance,
 though.

GPT   It's strange because everything is working fine and I don't use 
NFS on
GPT it. For example, the load hits 900 and suddenly it's 3.

# uname -a
FreeBSD srv-02.bs2.local 5.3-STABLE FreeBSD 5.3-STABLE #6: Mon Feb 14 
09:32:36 BRST 2005 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SRV-02-LOCAL  i386

# egrep (^REVISION|^BRANCH) /usr/src/sys/conf/newvers.sh
REVISION=5.3
BRANCH=STABLE
# cat /var/run/dmesg.boot
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.3-STABLE #6: Mon Feb 14 09:32:36 BRST 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SRV-02-LOCAL
ACPI APIC Table: IntelR AWRDACPI
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.26GHz (2261.01-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf25  Stepping = 5
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
real memory  = 268369920 (255 MB)
avail memory = 257159168 (245 MB)
ioapic0 Version 2.0 irqs 0-23 on motherboard
netsmb_dev: loaded
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: IntelR AWRDACPI on motherboard
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
cpu0: ACPI CPU on acpi0
acpi_button0: Power Button on acpi0
acpi_button1: Sleep Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
agp0: Intel 82865 host to AGP bridge mem 0xf000-0xf7ff at 
device 0.0 on pci0
pcib1: PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
pci1: display, VGA at device 0.0 (no driver attached)
pcib2: ACPI PCI-PCI bridge at device 30.0 on pci0
pci2: ACPI PCI bus on pcib2
rl0: RealTek 8139 10/100BaseTX port 0xb000-0xb0ff mem 
0xfa00-0xfaff irq 20 at device 2.0 on pci2
miibus0: MII bus on rl0
rlphy0: RealTek internal media interface on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:e0:7d:d7:e0:5f
rl1: RealTek 8139 10/100BaseTX port 0xb400-0xb4ff mem 
0xfa001000-0xfa0010ff irq 23 at device 9.0 on pci2
miibus1: MII bus on rl1
rlphy1: RealTek internal media interface on miibus1
rlphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl1: Ethernet address: 00:0d:87:47:56:a0
isab0: PCI-ISA bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel ICH5 UDMA100 controller port 
0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pci0: serial bus, SMBus at device 31.3 (no driver attached)
acpi_tz0: Thermal Zone on acpi0
sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on 
acpi0
sio0: type 16550A
orm0: ISA Option ROM at iomem 0xc-0xc on isa0
pmtimer0 on isa0
atkbdc0: Keyboard controller (i8042) at port 0x64,0x60 on isa0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounter TSC frequency 2261014504 Hz quality 800
Timecounters tick every 10.000 msec
ad0: 38204MB SAMSUNG SP0411N/TW100-11 [77622/16/63] at ata0-master UDMA100
ad2: 38166MB ST340014A/8.01 [77545/16/63] at ata1-master UDMA100
Mounting root from ufs:/dev/ad0s1a

--
Giovanni
PS.: Please CC me as I'm not on this list.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: subversion on FreeBSD 4.10

2005-03-11 Thread Daniel S. Haischt
can you add the following subversion ports option:
 WITH_APACHE2_APR=yes
from the port's Makefile:
 You can enable the mod_dav_svn module for Apache 2.X
 by defining WITH_MOD_DAV_SVN.  This option implies
 the WITH_APACHE2_APR option.
Rene C. Mendoza schrieb:
Daniel S. Haischt wrote:
did you compile Apache 2.x with WebDAV support (i.e. mod_dav)?
Rene C. Mendoza schrieb:
Hi!
I'm trying to install subversion-1.1.3 on FreeBSd 4.10 from ports. By 
the way, my ports tree is updated regularly.
When I install in the subversion port directory, installation just 
seems to stop or sleep.

Here is the relevant line where it sleeps:
/usr/local/sbin/apxs -e -S LIBEXECDIR=/usr/local/libexec/apache2 -a 
-n dav libexec/apache2/mod_dav.so

I may have missed something. Can anybody help show me what I'm doing 
wrong?

Thanks in advance,
Rene


yes i did. i use penv in our server.  here are the environment settings 
on www/apache2.

# penv -c list
WITH_DAV_MODULES=yes
WITH_AUTH_MODULES=yes
WITH_SSL_MODULES=yes
WITH_MISC_MODULES=yes
WITH_BERKELEYDB=db42
WITH_LDAP_MODULES=yes
on devel/subversion, i have these penv settings:
# penv -c list
WITH_MOD_DAV_SVN=yes
WITH_BOOK=yes
did i miss anything?
thanks,
rene

--
Mit freundlichen Gruessen / With kind regards
DAn.I.El S. Haischt
Want a complete signature??? Type at a shell prompt:
$  finger -l [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re[2]: Strange load averages on 5.3-STABLE

2005-03-11 Thread Dmitry Kozhevnikov
Sometimes I get strange effects on 5.3-STABLE too.
So I use tag=RELENG_5_3 and have no such troubles. Try this, maybe
sources was broken a little that time?

GPT Dmitry Kozhevnikov wrote:

 please show us
 1. cat /var/run/dmesg.boot
 2. uname -a
 3. egrep (^REVISION|^BRANCH) /usr/src/sys/conf/newvers.sh
 
 GPT David Fleck wrote:
  On Thu, 10 Mar 2005, Michael Ross wrote:
 
  last pid: 771; load averages: 176.65, 770.13, 926.55 up 0+00:03:13
  08:11:07
 
  Your may have compiled kernel and userland from different sources.
   and programs like ps(1) and top(1) will fail to work until the
  kernel and source code versions are the same. from the handbook is
  what comes to my mind.
 
 GPT   I've compiled from the same source.
 
  I've also seen ridiculously-high load numbers when NFS-mounted
  filesystems are inaccessible.  Usually that degrades system 
 performance,
  though.
 
 GPT   It's strange because everything is working fine and I don't use
 NFS on
 GPT it. For example, the load hits 900 and suddenly it's 3.


GPT # uname -a
GPT FreeBSD srv-02.bs2.local 5.3-STABLE FreeBSD 5.3-STABLE #6: Mon Feb 14
GPT 09:32:36 BRST 2005 
GPT [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SRV-02-LOCAL  i386


GPT # egrep (^REVISION|^BRANCH) /usr/src/sys/conf/newvers.sh
GPT REVISION=5.3
GPT BRANCH=STABLE


GPT # cat /var/run/dmesg.boot

GPT Copyright (c) 1992-2005 The FreeBSD Project.
GPT Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
GPT  The Regents of the University of California. All rights reserved.
GPT FreeBSD 5.3-STABLE #6: Mon Feb 14 09:32:36 BRST 2005
GPT  [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SRV-02-LOCAL
GPT ACPI APIC Table: IntelR AWRDACPI
GPT Timecounter i8254 frequency 1193182 Hz quality 0
GPT CPU: Intel(R) Pentium(R) 4 CPU 2.26GHz (2261.01-MHz 686-class CPU)
GPTOrigin = GenuineIntel  Id = 0xf25  Stepping = 5
 
GPT 
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
GPT real memory  = 268369920 (255 MB)
GPT avail memory = 257159168 (245 MB)
GPT ioapic0 Version 2.0 irqs 0-23 on motherboard
GPT netsmb_dev: loaded
GPT npx0: [FAST]
GPT npx0: math processor on motherboard
GPT npx0: INT 16 interface
GPT acpi0: IntelR AWRDACPI on motherboard
GPT acpi0: Power Button (fixed)
GPT Timecounter ACPI-fast frequency 3579545 Hz quality 1000
GPT acpi_timer0: 24-bit timer at 3.579545MHz port 0x408-0x40b on acpi0
GPT cpu0: ACPI CPU on acpi0
GPT acpi_button0: Power Button on acpi0
GPT acpi_button1: Sleep Button on acpi0
GPT pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
GPT pci0: ACPI PCI bus on pcib0
GPT agp0: Intel 82865 host to AGP bridge mem 0xf000-0xf7ff at
GPT device 0.0 on pci0
GPT pcib1: PCI-PCI bridge at device 1.0 on pci0
GPT pci1: PCI bus on pcib1
GPT pci1: display, VGA at device 0.0 (no driver attached)
GPT pcib2: ACPI PCI-PCI bridge at device 30.0 on pci0
GPT pci2: ACPI PCI bus on pcib2
GPT rl0: RealTek 8139 10/100BaseTX port 0xb000-0xb0ff mem 
GPT 0xfa00-0xfaff irq 20 at device 2.0 on pci2
GPT miibus0: MII bus on rl0
GPT rlphy0: RealTek internal media interface on miibus0
GPT rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
GPT rl0: Ethernet address: 00:e0:7d:d7:e0:5f
GPT rl1: RealTek 8139 10/100BaseTX port 0xb400-0xb4ff mem 
GPT 0xfa001000-0xfa0010ff irq 23 at device 9.0 on pci2
GPT miibus1: MII bus on rl1
GPT rlphy1: RealTek internal media interface on miibus1
GPT rlphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
GPT rl1: Ethernet address: 00:0d:87:47:56:a0
GPT isab0: PCI-ISA bridge at device 31.0 on pci0
GPT isa0: ISA bus on isab0
GPT atapci0: Intel ICH5 UDMA100 controller port 
GPT 0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
GPT ata0: channel #0 on atapci0
GPT ata1: channel #1 on atapci0
GPT pci0: serial bus, SMBus at device 31.3 (no driver attached)
GPT acpi_tz0: Thermal Zone on acpi0
GPT sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on
GPT acpi0
GPT sio0: type 16550A
GPT orm0: ISA Option ROM at iomem 0xc-0xc on isa0
GPT pmtimer0 on isa0
GPT atkbdc0: Keyboard controller (i8042) at port 0x64,0x60 on isa0
GPT atkbd0: AT Keyboard irq 1 on atkbdc0
GPT kbd0 at atkbd0
GPT atkbd0: [GIANT-LOCKED]
GPT sc0: System console at flags 0x100 on isa0
GPT sc0: VGA 16 virtual consoles, flags=0x300
GPT sio1: configured irq 3 not in bitmap of probed irqs 0
GPT sio1: port may not be enabled
GPT vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
GPT Timecounter TSC frequency 2261014504 Hz quality 800
GPT Timecounters tick every 10.000 msec
GPT ad0: 38204MB SAMSUNG SP0411N/TW100-11 [77622/16/63] at ata0-master 
UDMA100
GPT ad2: 38166MB ST340014A/8.01 [77545/16/63] at ata1-master UDMA100
GPT Mounting root from ufs:/dev/ad0s1a






___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To 

Re: subversion on FreeBSD 4.10

2005-03-11 Thread Daniel S. Haischt
OK, I have to admit that this was a stupid suggestion ;-)
WITH_APACHE2_APR will be set to yes if using WITH_MOD_DAV_SVN
(as you did).
Did you try to manually execute the command ...
/usr/local/sbin/apxs -e -S \
LIBEXECDIR=/usr/local/libexec/apache2 \
-a -n dav libexec/apache2/mod_dav.so
... just to ensure APXS is realy the reason for this
issue?
Daniel S. Haischt schrieb:
can you add the following subversion ports option:
 WITH_APACHE2_APR=yes
from the port's Makefile:
 You can enable the mod_dav_svn module for Apache 2.X
 by defining WITH_MOD_DAV_SVN.  This option implies
 the WITH_APACHE2_APR option.
Rene C. Mendoza schrieb:
Daniel S. Haischt wrote:
did you compile Apache 2.x with WebDAV support (i.e. mod_dav)?
Rene C. Mendoza schrieb:
Hi!
I'm trying to install subversion-1.1.3 on FreeBSd 4.10 from ports. 
By the way, my ports tree is updated regularly.
When I install in the subversion port directory, installation just 
seems to stop or sleep.

Here is the relevant line where it sleeps:
/usr/local/sbin/apxs -e -S LIBEXECDIR=/usr/local/libexec/apache2 -a 
-n dav libexec/apache2/mod_dav.so

I may have missed something. Can anybody help show me what I'm doing 
wrong?

Thanks in advance,
Rene


yes i did. i use penv in our server.  here are the environment 
settings on www/apache2.

# penv -c list
WITH_DAV_MODULES=yes
WITH_AUTH_MODULES=yes
WITH_SSL_MODULES=yes
WITH_MISC_MODULES=yes
WITH_BERKELEYDB=db42
WITH_LDAP_MODULES=yes
on devel/subversion, i have these penv settings:
# penv -c list
WITH_MOD_DAV_SVN=yes
WITH_BOOK=yes
did i miss anything?
thanks,
rene


--
Mit freundlichen Gruessen / With kind regards
DAn.I.El S. Haischt
Want a complete signature??? Type at a shell prompt:
$  finger -l [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


atapci0 controller (was: Sysinstall: No disks found.)

2005-03-11 Thread Robert Grzyb
Hi!
I want to install FreeBSD 5.3-RELEASE on Compaq Deskpro 4000 model
5166 (P200 MHz with 48 Mb RAM):
 - Hard drive Samsung SV0432D 4.3 Gb
 - CD-ROM drive Veuego 616P, Acer Peripherals
but when booted kernel doesn't detect my drives!
I decided to try floppies from 4.11-RELASE. The computer boot-up
and detect both drives (with some errors - see attached dmesg.411).
Comparing, I have found out that atapci0 uses incorrect resources:
port 0x1010-0x101f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7
  at device 15.1 on pci0
when it should use this instead:
port 0x1010-0x101f,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7
  irq 0 at device 15.1 on pci0
My question is: how force atapci0 to use correct values or,
how convince pci0 to properly detect the controller.
I've already try boot with hw.pci.enable_io_modes set to 0.
For easy comparison I've attached boot messages for both RELEASE
-5.3 (dmesg.53) and RELEASE-4.11 (dmesg.411).
Please help me get RELEASE-5.3 running on this particular hardware.
TIA,
Robert Grzyb.
SMAP type=01 base= len=0009fc00
SMAP type=02 base=0009fc00 len=0400
SMAP type=02 base=000e len=0002
SMAP type=01 base=0010 len=02f0
SMAP type=02 base=fffe len=0002
SMAP type=02 base=fffe len=0002
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.3-RELEASE #0: Fri Nov  5 04:19:18 UTC 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Preloaded elf kernel /kernel at 0xc0e5b000.
Preloaded elf module /acpi.ko at 0xc0e5b1c0.
Preloaded mfs_root /mfsroot at 0xc0e5b260.
Calibrating clock(s) ... i8254 clock: 1193201 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter i8254 frequency 1193182 Hz quality 0
Calibrating TSC clock ... TSC clock: 200455495 Hz
CPU: Pentium/P54C (200.46-MHz 586-class CPU)
  Origin = GenuineIntel  Id = 0x52c  Stepping = 12
  Features=0x1bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8
real memory  = 50331648 (48 MB)
Physical memory chunk(s):
0x1000 - 0x0009efff, 647168 bytes (158 pages)
0x0010 - 0x003f, 3145728 bytes (768 pages)
0x01026000 - 0x02ef7fff, 32317440 bytes (7890 pages)
avail memory = 35663872 (34 MB)
bios32: Found BIOS32 Service Directory header at 0xc00fa000
bios32: Entry = 0xf3c00 (c00f3c00)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xf3c00+0x6b2
pnpbios: Found PnP BIOS data at 0xc00f9600
pnpbios: Entry = f:66e0  Rev = 1.0
pnpbios: OEM ID 15ae110e
Other BIOS signatures found:
Intel Pentium detected, installing workaround for F00F bug
wlan: 802.11 Link Layer
random: entropy source, Software, Yarrow
io: I/O
mem: memory
null: null device, zero device
ACPI-0159: *** Error: AcpiLoadTables: Could not get RSDP, AE_NO_ACPI_TABLES
ACPI-0213: *** Error: AcpiLoadTables: Could not load tables: 
AE_NO_ACPI_TABLES
ACPI: table load failed: AE_NO_ACPI_TABLES
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
pci_open(1):mode 1 addr port (0x0cf8) is 0xf800
pci_open(1a):   mode1res=0x8000 (0x8000)
pci_cfgcheck:   device 0 [class=06] [hdr=ff] 1 2 3 4 5 6 7 8 9 10 
[class=03] [hdr=00] is there (id=00b81013)
pcibios: BIOS version 2.10
legacy_pcib_identify: no bridge found, adding pcib0 anyway
pcib0 pcibus 0 on motherboard
pci0: PCI bus on pcib0
pci0: physical bus=0
map[10]: type 3, range 32, base 4100, size 24, enabled
found- vendor=0x1013, dev=0x00b8, revid=0x00
bus=0, slot=10, func=0
class=03-00-00, hdrtype=0x00, mfdev=0
cmdreg=0x0003, statreg=0x0200, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=11
map[10]: type 4, range 32, base 1000, size  4, enabled
found- vendor=0x0e11, dev=0xae35, revid=0x10
bus=0, slot=11, func=0
class=02-80-00, hdrtype=0x00, mfdev=0
cmdreg=0x0007, statreg=0x0280, cachelnsz=8 (dwords)
lattimer=0x42 (1980 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=11
found- vendor=0x0e11, dev=0xa0f3, revid=0x0c
bus=0, slot=15, func=0
class=06-01-00, hdrtype=0x00, mfdev=1
cmdreg=0x0147, statreg=0x0200, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
map[20]: type 4, range 32, base 1010, size  4, enabled
found- vendor=0x0e11, dev=0xae33, revid=0x0a
bus=0, slot=15, func=1
class=01-01-fa, hdrtype=0x00, mfdev=1
cmdreg=0x0005, statreg=0x0200, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=255
pci0: display, VGA at device 10.0 (no driver attached)
tl0: Compaq NetFlex-3/P Integrated port 0x1000-0x100f irq 11 at device 11.0 
on pci0
tl0: Reserved 

Re: How to identify xterm font

2005-03-11 Thread David Fleck
On Thu, 10 Mar 2005, Nathan Kinkade wrote:
On Thu, Mar 10, 2005 at 07:31:09AM +, Sergei Gnezdov wrote:
I like the size of the xterm window.  It is small and it uses very
easy to read font.  Unfortunately, it does not play very well with
emacs.  For these reasons I use Gnome terminal.  Gnome font is bigger,
thus it takes more space on the screen.  How do I identify which font
is used by xterm, so I can apply it for gnome terminal?
I also would like to know why my ~/.Xdefaults configuration is not
applied in Gnome.  It worked just fine in KDE and most other
environments.
I can't answer this question, but want to chime in on this thread just
because I had the same question a few weeks ago, but could never figure
it out.  I poked around my system and Googled until I was blue in the
face, but came up with nothing.  The reason is that I had recently
switched from rxvt to urxvt (for Unicode support) and the default font,
or whichever one it ended up grabbing) looked awful, but I liked very
much the font that rxvt was using.  I even ran a kernel trace on the
program in an attempt to figure out what font it was settling on, but
was only able to get a partial answer from that, as the font lines were
truncated.  As I say, this doesn't help, but I post here only in the
hope that perhaps another post to the thread will catch someones eye who
might know how to figure out what font a particular X terminal is using
when it hasn't been explicity set already.
Don't know about rxvt or urxvt, but for plain old xterm, the font settings 
are in /usr/X11R6/lib/X11/app-defaults/XTerm.

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


Re: [Realplay10GOLD] Error: ELF binary type 0 not known

2005-03-11 Thread David Fleck
On Fri, 11 Mar 2005, P.H.Tung wrote:
I successfully installed Realplayer10GOLD on FreeBSD released 5.3
When I run realplay from console, I got following error:
ELF binary type 0 not known.
/usr/local/lib/RealPlayer/realplay.bin: 1: Syntax error: ( unexpected
What does it means? any advises?
First off, where did you get this from, and how did you install it?
--
David Fleck
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to deal with spam for good?

2005-03-11 Thread Bart Silverstrim
On Mar 11, 2005, at 1:34 AM, Ted Mittelstaedt wrote:

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Anthony
Atkielski
Sent: Thursday, March 10, 2005 3:25 PM
To: freebsd-questions@freebsd.org
Subject: Re: how to deal with spam for good?


There's no
fundamental, objectively verifiable difference between spam and any
other e-mail,
Actually, there is.  Spam is what I object to.  Non-spam is what I 
don't
object to.
Isn't he referring to the technical side, as in an easy algorithm for a 
computer to examine it and say Spam! and get rid of it vs. someone 
sending a relative an email about their experiences using v1agra?

so no automated or technical solution will ever work
completely.
It would if my computer could understand what I'm telling it better. 
;-)
Ever read I, Robot?  I embrace our technological overlords... :-)
Seriously, filters that are customized to the individual are very
effective.  The problem is getting the average person on the street to
put in the time to write a customized e-mail filter for themselves.
Yup...good luck with that one.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to deal with spam for good?

2005-03-11 Thread Bart Silverstrim
On Mar 11, 2005, at 1:37 AM, Ted Mittelstaedt wrote:

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Kirk Strauser
Sent: Thursday, March 10, 2005 11:42 AM
To: freebsd-questions@freebsd.org
Subject: Re: how to deal with spam for good?

You know, I'm no longer sure that's true.  I think that spam
will stick
around as long as stupid business owners continue to get suckered into
thinking that it's a legitimate means of marketing.  One of my
associate's
customers (a brick and mortar store) was being sweet-talked by
a spammer
into sending a series of broadcasts.  In this situation, the
spammer would
profit off the ignorance of that *business owner*.  Even if
100% of the
messages were blocked, he'd still get his pay for performing
the service.
Didn't anyone tell your associate's customers that spamming is now
a felony?  And, even if they hire a spammer to do it for them, the law
still prosecutes them for the spamming?
Add some teeth to that law and some lawyers who are willing to pursue 
this in volume, and you'd be on to something.  As it stands, it's like 
prosecuting jaywalkers.  Who bothers?

Even junk faxer's get away with that kind of crap despite the fines 
(happened to catch Tom Martino on the radio yesterday talking about 
it...)

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


Re: Clock slew vulnerability in FreeBSD?

2005-03-11 Thread Bart Silverstrim
On Mar 10, 2005, at 10:44 PM, Anthony Atkielski wrote:
Kris Kennaway writes:
Isn't this a non-problem if you use ntpd?
Unfortunately, no, because the TCP stacks on most systems don't use the
disciplined clock provided by NTP for the timestamps.  Instead they use
a clock based directly on the RTC, which reveals a characteristic skew
that is unique to each machine.
If the stacks used the NTP-disciplined actual time of day, plus perhaps
a randomizing factor to avoid revealing patterns, this technique would
become useless.
Wouldn't the skew resolution necessary for this tracking technique 
become useless with temperature variations, humidity, etc. that can 
affect most systems over the course of the day/week/year?

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


Re: upgrade to sendmail 812 and getting broken messages

2005-03-11 Thread Ken Hawkins
a bit more info...
I am not running smtp on the localhost and have no idea how to start 
that. can someone help out?

telnet localhost smtp
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host
as well netstat -an shows nothing on the localhost 127.0.0.1 port
anyone?
ken;
On Mar 9, 2005, at 5:16 PM, Ken Hawkins wrote:
I should have given a bit more info.
here is my freebsd.mc file:
...
divert(0)
VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.29 2003/12/24 
21:15:09 gsha
piro Exp $')
OSTYPE(freebsd5)
dnl Select the nullClient feature and specify the relay server
FEATURE(`nullclient', `another.domain.net')

notice that I am pushing all the mail to another server for delivery 
so my options are not much!

when i had this file created i did a 'make all install restart'
i honestly believe it is a configuration thing somewhere but I am 
unsure where it could be.

thanks again for any help,
ken;
On Mar 9, 2005, at 4:12 PM, Ken Hawkins wrote:
i upgraded to sendmail 812 and it looks like i might have broken 
something:

Mar  9 13:10:47 web1 sm-msp-queue[32428]: j29JA1bS032328: to=Ken 
Hawkins [EMAIL PROTECTED], ctladdr=root (0/0), delay=00:00:46, 
xdelay=00:00:00, mailer=relay, pri=210302, relay=[127.0.0.1] 
[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by 
[127.0.0.1]

not sure why this says  connection refused by 127.0.0.1 as I am 
actually relaying via the SMART_HOST directive. I did notice that the 
ctladdr does not have the entire address in it, could this be my 
problem? not sure why it is saying that my relay is 127.0.0.1

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

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

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


Re: how to deal with spam for good?

2005-03-11 Thread Anthony Atkielski
Ted Mittelstaedt writes:

 Actually, there is.  Spam is what I object to.  Non-spam is what I don't
 object to.

Find a way to code that in C, and you can become a billionnaire.

-- 
Anthony


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


Re: fsck errors on a running system that disappear in single-user mode

2005-03-11 Thread Jerry McAllister
 
 I ran fsck on a running system (check only, no changes), and it turned
 up some inconsistencies.  So I rebooted into single-user mode and ran it
 again, but then everything checked out fine.  I presume this is because
 fsck is looking at filesystems that are changing right in front of its
 eyes on a running system, which leads to inconsistencies that really
 don't mean anything ... right?

Yes.
At least most likely.There could possibly a real inconsistency,
but it would be difficult on a running system to distinguish it 
from the artifacts you point out above.

jerry

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


Re: portinstall: fetch(1) doesn't fetch

2005-03-11 Thread Michael L. Hostbaek
h p (regnans) writes:
 Hi,
 I don't understand the behaviour of fetch(1). Whenever I try to fetch
 from an URL, I get anwers like
  fetch http://www.google.com
 fetch: http://www.google.com: No address record

Do you have any weird environment variables set ? Like
FETCH_BIND_ADDRESS or maybe HTTP_PROXY ?

Check out 'man 3 fetch' for more info.

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


Re: portinstall: fetch(1) doesn't fetch

2005-03-11 Thread Chris Hodgins
Michael L. Hostbaek wrote:
h p (regnans) writes:
Hi,
I don't understand the behaviour of fetch(1). Whenever I try to fetch
from an URL, I get anwers like
fetch http://www.google.com
   fetch: http://www.google.com: No address record

Do you have any weird environment variables set ? Like
FETCH_BIND_ADDRESS or maybe HTTP_PROXY ?
Check out 'man 3 fetch' for more info.
/mich
Run it using the verbose -v option as well.  It might show more 
interesting output.

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


Not naming the printer in the log

2005-03-11 Thread v . demartino2
I installed 5.3, tailored and recompiled the kernel. Now I don't see the
name of my printer (an epson stylus color 640) any longer in /var/log/message
while, I remember, before recompiling the kernel and using freesbie I could
 can see it.
What shall I do?
Vittorio

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


Re: how to change process limits?

2005-03-11 Thread Dan Nelson
In the last episode (Mar 10), Chad Leigh -- Shire.Net LLC said:
 On Mar 10, 2005, at 2:46 PM, Dan Nelson wrote:
 In the last episode (Mar 09), Chad Leigh -- Shire.Net LLC said:
 The following is aon 5.3-RELEASE-p5
 
 If I do a limits command I get
 
 # limits
 Resource limits (current):
   datasize   524288 kb
   stacksize   65536 kb
 #
 
 However, login.conf has (and no other classes defined)
 
 default:\
 :datasize=unlimited:\
 :stacksize=unlimited:\
 
 I am wondering where the datasize and stacksize get set.  These have
 limits when listed with limits but they do not appear to be getting
 set through login as the login.conf has unlimitged.
 
 I believe those are extra-hard limits enforced by the kernel.  You can
 raise them by adding this to /boot/loader.conf:
 
 kern.maxdsiz=2147483648
 kern.maxssiz=2147483648
 
 Should I be able to do a sysctl to look at their current values?  On my 
 5.3 and my 4.9 systems, there are no kern.max%siz listed at all (% = d 
 or s) to inspect.

You would be able to if they were sysctls, but they're just tunables.
You can see what tunables are set by running kenv, but that only
shows entries that you or the kernel have explicitly set.  Personally,
I think all the TUNABLE_*_FETCH variables in /sys/kern/subr_parm.c
should be sysctls with the CTLFLAG_TUN flag set, so they are visible as
both tunables and sysctls.  Some currently have sysctl nodes created in
other places (kern.maxfiles is in /sys/kern/kern_descrip.c, for
example), but many don't.

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


Re: how to deal with spam for good?

2005-03-11 Thread Warren Block
On Thu, 10 Mar 2005, Doug Hardie wrote:

On Mar 10, 2005, at 18:30, Warren Block wrote:
milter-greylist works great with sendmail.  Here's a somewhat-dated article 
I wrote about using it and clamav-milter with sendmail:

http://www.wonkity.com/greylist.pdf
I am getting a no such file back on that.
Oops:
http://www.wonkity.com/~wblock/greylist.pdf
-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portinstall: fetch(1) doesn't fetch

2005-03-11 Thread RW
On Friday 11 March 2005 10:15, h p wrote:
 Hi,
 I don't understand the behaviour of fetch(1). Whenever I try to fetch
 from an URL, I get anwers like

  fetch http://www.google.com

 fetch: http://www.google.com: No address record


This is what you get when fetch can't do a successful dns lookup.

Just a thought, but I had a problem with the dns proxy on my adsl-nat-router 
where certain applications were consistently failing to get DNS resolution, 
and similar applications were consistently working. It went away when I 
disabled dhcp, and entered the isp servers in resolve.conf

To use wget look at FETCH_CMD,  and related variables, 
in /usr/ports/Mk/bsd.port.mk. I think you also need to set NO_SIZE to prevent 
a fetch specific option being used. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to install Windows on an existing partition?

2005-03-11 Thread RW
On Thursday 10 March 2005 20:53, Pietro Cerutti wrote:


 It sounds quite complicated... I need some more experience before doing
 that!

 Thank you, I'll take in consideration in the future!

Also, if it's windows 9x, then it's will expect to be installed on the first 
partition, and so will overwrite your FreeBSD slice. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


OT: how do I get this to link?

2005-03-11 Thread synrat
can you please share your serverside filter plugin
success story ? I'm been struggling with it for a while.
thanx a lot in advance.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help Samba3 seems broke for me...

2005-03-11 Thread Joerg Pulz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Fri, 11 Mar 2005 [EMAIL PROTECTED] wrote:
Hiya folks,
Like a goof I didn't ask portupgrade to back up my beautiful Samba3.0.5 and 
when I went to Samba3.0.11 everything in Samba went to pot, IMO.
The only upside is that in my ports/distfiles is a nifty file named 
samba-3.0.5.tar.gz.
The question I have is how can I build from that 3.0.5 tar file?
Help is greatly appreciated :)
Hi,
first, you could check out an earlier version of the ports tree.
Thu Jul 22 14:38:05 2004 UTC was the exact time, the 3.0.5 went into 
ports.

But!!
why don't you tell us, what exactly is not working or bad with 
samba-3.0.11? it would be much better to fix the bug's or solve the 
problems you are expiriencing instead of going back to an old version and 
getting back all the bad bugs which are fixed in 3.0.11.

awaiting your detailed problem report for 3.0.11
Joerg
- -- 
The beginning is the most important part of the work.
-Plato
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCMcPSSPOsGF+KA+MRAonYAKCwfBdf/1//nZBsZIwcWEvAwIYwKQCgvHJR
TOHnQJUf+m49r9qeLjzB/x0=
=kNb8
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


PPPoE stay connected but with no access????

2005-03-11 Thread perikillo
  Hi all.
 I was using Freebsd 4.10-p5 very well PPPoE
IPFILTER+IPNAT+gateway, them i decide to test 4.11, and made the
upgrade.

 Ok every thing was find, and again setup my Firewall IPFILTER +
IPNAT + gateway PPPoE, y configured the machine to run PPPoE each time
i turn on the Computer.

  But something start to happend:

  Sometimes the connection dosent respond, my clients could access
the outside world, the link appear to be Up and running:
isp# ifconfig
   tun0
   Public  MyIP  ISP IP
   #PID number

If i make some test like ping to my clients(Windows 2k and XP):
isp#ping win2kac
---Respond--
isp#ping winxp
---Respond--

   Then my local network is working.

But if i test the outside or my DNS:

isp#ping DNS1_IP
Dosent respond
isp#ping DNS2_IP
Dosent respond

 But my connection still Up and Running, then i need to manually
close and run again the connection, supposed that went setup ppp to
run over rc.conf  if fails he restart alone, but because it say that
is running he dont restart.

 Went i was using 4.10-p5 i could leave my machine running days
with out any problem.
 
 Some knows if this is 4.11 problem or something change from 4.10
to 4.11, because i setup equal the files, dont see any changes on my
Readme files went i made the upgrade.

 Any idea

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


minicom and ugen

2005-03-11 Thread Paulo Roberto
Hello,

I am not able to use a usb/serial converter with minicom. I loaded ucom
and uplcom, but only ugen messages are printed on the console.

ugen0: FTDI USB - Serial, rev 1.10/4.00, addr 2

I tried ugen0, ugen0.1 and ugen0.2 with no success.

Any ideas?

thanks,

Paulo



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help Samba3 seems broke for me...

2005-03-11 Thread freebsduser
-- Original message -- 

 -BEGIN PGP SIGNED MESSAGE- 
 Hash: SHA1 
 
 On Fri, 11 Mar 2005 [EMAIL PROTECTED] wrote: 
 
  Hiya folks, 
  
  Like a goof I didn't ask portupgrade to back up my beautiful Samba3.0.5 and 
 when I went to Samba3.0.11 everything in Samba went to pot, IMO. 
  
  The only upside is that in my ports/distfiles is a nifty file named 
 samba-3.0.5.tar.gz. 
  
  The question I have is how can I build from that 3.0.5 tar file? 
  
  Help is greatly appreciated :) 
 
 Hi, 
 
 first, you could check out an earlier version of the ports tree. 
 Thu Jul 22 14:38:05 2004 UTC was the exact time, the 3.0.5 went into 
 ports. 
 
 But!! 
 
 why don't you tell us, what exactly is not working or bad with 
 samba-3.0.11? it would be much better to fix the bug's or solve the 
 problems you are expiriencing instead of going back to an old version and 
 getting back all the bad bugs which are fixed in 3.0.11. 
 
 
 awaiting your detailed problem report for 3.0.11 
 Joerg  
Joerg,
I'll have to compile it. When I get that done I'll list what ever issue(s) I am 
having.
Since I have two machines, and I was thinking the second one was being 
tempermental that's when I decided to take the first computer and also put 
3.0.11 on and had the same problem (I'll list the problem(s) I'm having when I 
get it finished and set up as per 
http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/FastStart.html#id2464512
 )
While I'm compiling 3.0.11 on one system, what would I need to do to get 3.0.5 
back on the other? I found portdowngrade but I've never used cvs before and 
tried going through the tutorials but they seem rather cryptic, or perhaps 
lacking because a few years back I remember them being a bit more user friendly 
( http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/anoncvs.html )
Thanks for your assistance.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: minicom and ugen

2005-03-11 Thread Andrew L. Gould
On Friday 11 March 2005 10:33 am, Paulo Roberto wrote:
 Hello,

 I am not able to use a usb/serial converter with minicom. I loaded
 ucom and uplcom, but only ugen messages are printed on the console.

 ugen0: FTDI USB - Serial, rev 1.10/4.00, addr 2

 I tried ugen0, ugen0.1 and ugen0.2 with no success.

 Any ideas?

 thanks,

 Paulo


ugen usually indicates that the system was unable to identify the usb 
device.  Is your adapter supported?  Do you need to load an additional 
driver?  See the online hardware notes:

http://www.freebsd.org/releases/5.3R/hardware-i386.html#USB
http://www.freebsd.org/releases/4.11R/hardware-i386.html#USB

Best of luck,

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


Re: 5.3: scbus da in kernel config, umass as module: but no /dev/da* ?

2005-03-11 Thread Alejandro Pulver
On Thu, 10 Mar 2005 22:41:58 -0800 (PST)
Rob [EMAIL PROTECTED] wrote:

 
 Hi,
 
 I'm running FreeBSD 5.3.
 I have following in my kernel config:
 
  device scbus
  device da
  device uhci
  device usb
 
 hoping that this provides enough 'basic' usb support
 for my usb-memory-stick. Indeed, I can load the
 umass module.
 
 If I'm not wrong, I must do following to access the
 usb-memory-stick:
mount -t msdos /dev/da0 /mnt
 
 but there's no /dev/da* device.
 
 So what should I do instead?
 
 Thanks,
 Rob.
 
 
 
   
 __ 
 Do you Yahoo!? 
 Make Yahoo! your home page 
 http://www.yahoo.com/r/hs
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

Hello,

I have a camera that is detected as an 'umass' storage device, and it
appears as '/dev/da0' (strangely I can use it as a common storage
device). This is my configuration:

kernel options:

device scbus
device da
device pass
device uhci
device ohci
device usb
device umass
device ehci

'/etc/rc.conf' options:

usbd_enable=YES

To test it you can:

1) Check the devices in '/dev/daX'.
2) # camcontrol devlist
3) Check the boot messages (umass and da) and the messages printed when
you plug the device.

To mount it you have to select a slice (if it has data stored in):

mount -t msdosfs /dev/da0s1 /mnt

Hope that helps.

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


format slice

2005-03-11 Thread Freek Nossin
Hello,

I have a freebsd installation on a disk with two slices. One of them has the
current freebsd install, the other has a win2k installation. I want to
convert the win2k slice to a freebsd slice (by deleting the old one and add
a new one). I followed the handbook but when I try to delete the win2k
slice, and want to write the changes to the disk, sysinstall returns a disk
error. The steps I took were simple:

- run sysinstall en select fdisk
- choose delete on the NTFS slice 
- Write changes

Then sysinstall complains that it cannot do that (no specific information on
the cause of the error is displayed). 

Does anyone know what can be wrong and how can I solve this?




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


Re: Help Samba3 seems broke for me...

2005-03-11 Thread Joerg Pulz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Fri, 11 Mar 2005 [EMAIL PROTECTED] wrote:
-- Original message --
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Fri, 11 Mar 2005 [EMAIL PROTECTED] wrote:
Hiya folks,
Like a goof I didn't ask portupgrade to back up my beautiful Samba3.0.5 and
when I went to Samba3.0.11 everything in Samba went to pot, IMO.
The only upside is that in my ports/distfiles is a nifty file named
samba-3.0.5.tar.gz.
The question I have is how can I build from that 3.0.5 tar file?
Help is greatly appreciated :)
Hi,
first, you could check out an earlier version of the ports tree.
Thu Jul 22 14:38:05 2004 UTC was the exact time, the 3.0.5 went into
ports.
But!!
why don't you tell us, what exactly is not working or bad with
samba-3.0.11? it would be much better to fix the bug's or solve the
problems you are expiriencing instead of going back to an old version and
getting back all the bad bugs which are fixed in 3.0.11.
awaiting your detailed problem report for 3.0.11
Joerg
Joerg,
I'll have to compile it. When I get that done I'll list what ever issue(s) I am 
having.
Since I have two machines, and I was thinking the second one was being 
tempermental that's when I decided to take the first computer and also put 
3.0.11 on and had the same problem (I'll list the problem(s) I'm having when I 
get it finished and set up as per 
http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/FastStart.html#id2464512
 )
While I'm compiling 3.0.11 on one system, what would I need to do to get 3.0.5 
back on the other? I found portdowngrade but I've never used cvs before and 
tried going through the tutorials but they seem rather cryptic, or perhaps 
lacking because a few years back I remember them being a bit more user friendly 
( http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/anoncvs.html )
Thanks for your assistance.
okay, a very short description...
as i'am in germany i use the german CVS mirror.
prompt touch ~/.cvspass
prompt cd /usr/ports/net
prompt rm -r samba3
prompt cvs -d :pserver:[EMAIL PROTECTED]:/home/ncvs login
- -- Now the you are asked for a password, please type: anoncvs
prompt cvs -d :pserver:[EMAIL PROTECTED]:/home/ncvs co \
- -DThu Jul 22 14:38:05 2004 UTC samba3
thats all. now the samba3 port is at version 3.0.5 and you should be able 
to build and install it.

Joerg
- -- 
The beginning is the most important part of the work.
-Plato
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCMc7FSPOsGF+KA+MRAqqTAJ9XnUv3bodESSk8NnvBOq3nEbGQPACgu8b0
Bxw023YVB3smFht6/66KXGM=
=CAwv
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to get best results from FreeBSD-questions

2005-03-11 Thread Greg Lehey

How to get the best results from FreeBSD questions.
===

Last update $Date: 2004/09/19 02:40:48 $

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions, -newbies or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the newcomers), and also those who answer the
questions (the hackers).

   Note that the term hacker has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is cracker, but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst
other things, it told you how to unsubscribe.  Here's a typical
message:

  Welcome to the freebsd-questions@freebsd.org mailing list!

If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:

  http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED]
  
(obviously, substitute your mail address for [EMAIL PROTECTED]).  You can
also make such adjustments via email by sending a message to:

  [EMAIL PROTECTED]
  
with the word 'help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.

You must know your password to change your options (including
changing the password, itself) or to unsubscribe.
  
Normally, Mailman will remind you of your freebsd.org mailing list
passwords once every month, although you can disable this if you
prefer.  This reminder will also include instructions on how to
unsubscribe or change your account options.  There is also a button on
your options page that will email your current password to you.

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send how to questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  

The Complete FreeBSD: errata and addenda

2005-03-11 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

The Complete FreeBSD has been through a total of five editions, including its
predecessor Installing and Running FreeBSD.  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Have you found a problem with the book, or maybe something confusing?  Please
let me know: I'm constantly updating it.

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


Re: portinstall: fetch(1) doesn't fetch

2005-03-11 Thread h p
  I don't understand the behaviour of fetch(1). Whenever I try to fetch
  from an URL, I get anwers like
   fetch http://www.google.com
  fetch: http://www.google.com: No address record
 
 Do you have any weird environment variables set ? Like
 FETCH_BIND_ADDRESS or maybe HTTP_PROXY ?

Oh my, HTTP_PROXY was the culprit. Thanks. Strange wget doesn't use
the proxy though.
This brings me to another question. In my /etc/hosts i have lines like

192.168.1.44 sue.microsoft.com sue

but sue is not resolved.
the /etc/host.conf looks like 

# Auto-generated from nsswitch.conf, do not edit
hosts
bind

and /etc/nsswitch.conf is

group: compat
group_compat: nis
hosts: files dns
networks: files
passwd: compat
passwd_compat: nis
shells: files

What am I missing here? I want sue to be resolved without DNS...

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


Re: minicom and ugen

2005-03-11 Thread Emanuel Strobl
Am Freitag, 11. März 2005 17:33 schrieb Paulo Roberto:
 Hello,

 I am not able to use a usb/serial converter with minicom. I loaded ucom
 and uplcom, but only ugen messages are printed on the console.

 ugen0: FTDI USB - Serial, rev 1.10/4.00, addr 2

 I tried ugen0, ugen0.1 and ugen0.2 with no success.

What does usbdevs -v say?

Perhaps you have a umct(4) or uftdi(4) or uvscom(4) and no uplcom adapter.

-Harry


 Any ideas?

 thanks,

 Paulo



 __
 Do you Yahoo!?
 Yahoo! Small Business - Try our new resources site!
 http://smallbusiness.yahoo.com/resources/
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]


pgpx881MSjLdl.pgp
Description: PGP signature


Setting up a danish locale

2005-03-11 Thread Steve Kargl
Problem:  We have a visiting scientist from Denmark, whose laptop
  died a horrible death.  A colleagued asked if I would loan him
  a currently unused system in my office.  I've set up FreeBSD 5.3
  on the system and everything appears to work except for setting
  up a Danish locale.

Disclaimer:  I searched the Handbook, used google, and spent a
  few hours reading up of login.conf, locale support, etc.  But,
  we are stuck without the danish locale.

I have setup a ~/,login_conf in the user home directory that 
contains

dhcp-78-77:kargl[201] cat .login_conf
me:\
:charset=ISO8859-1:\
:lang=da_DK.ISO8859-1:

When we login, we see that the locale is set

dhcp-78-77:kargl[202] locale
LANG=da_DK.ISO8859-1
LC_CTYPE=da_DK.ISO8859-1
LC_COLLATE=da_DK.ISO8859-1
LC_TIME=da_DK.ISO8859-1
LC_NUMERIC=da_DK.ISO8859-1
LC_MONETARY=da_DK.ISO8859-1
LC_MESSAGES=da_DK.ISO8859-1
LC_ALL=

But any attempt to enter a danish character in for examples xemacs
fails.  From my colleagues comment a Right-Alt / o should yield
a lower case o with a slash through it.  His system is running
Xorg 6.7.0_9.  I suspect that I need to change/update his xorg.conf
file.  Any insight into setting up the Danish environment would be
appreciate.

-- 
Steve


- End forwarded message -

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


Re: Setting up a danish locale

2005-03-11 Thread Paul Schmehl
--On Friday, March 11, 2005 09:21:22 AM -0800 Steve Kargl 
[EMAIL PROTECTED] wrote:
But any attempt to enter a danish character in for examples xemacs
fails.  From my colleagues comment a Right-Alt / o should yield
a lower case o with a slash through it.  His system is running
Xorg 6.7.0_9.  I suspect that I need to change/update his xorg.conf
file.  Any insight into setting up the Danish environment would be
appreciate.
Just guessing, but did you install /usr/ports/x11-fonts/intlfonts?  You may 
need that for the Danish characters to work right.

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Clock slew vulnerability in FreeBSD?

2005-03-11 Thread Anthony Atkielski
Bart Silverstrim writes:

 Wouldn't the skew resolution necessary for this tracking technique
 become useless with temperature variations, humidity, etc. that can 
 affect most systems over the course of the day/week/year?

That's one of my questions, too.  A technique that could identify 100
million different computers (as some people have speculated) would need
reliable precision to at least nine decimal places.  That's a pretty
tall order for something like measurement of clock slewing in TCP
packets.

There are other related problems.  So you identify computer A using its
unique clock slew.  How do you prove that in court?  If you move the
machine, or if you change anything about it, the RTC is likely to vary a
bit, changing the slew to a different value.  Just temperature
variations in the room can do that.

-- 
Anthony


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


Re: fsck errors on a running system that disappear in single-user mode

2005-03-11 Thread Anthony Atkielski
Jerry McAllister writes:

 At least most likely.There could possibly a real inconsistency,
 but it would be difficult on a running system to distinguish it 
 from the artifacts you point out above.

But a real consistency would presumably persist with an fsck on a system
in single-user mode, which is (I assume) quiescent, right?

-- 
Anthony


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


gdbe - how?

2005-03-11 Thread h p
I feel I'm bombarding the list with stupid questions, but I really
can't find an answer to this.
I'd like to use the gdbe disk encryption. I have activated GEOM_BDE in
my kernel and would like to go ahead with the procedure described in
the handbook. But I don't have a gdbe executable anywhere on my
system. Neither a manpage or a port with a name obviously related to
gdbe, for that matter.
Where do I find it?
Thanks
Helge
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problems stopping pptp...

2005-03-11 Thread Eric Schuele
Hello,
I have some keybindings on my laptop that allow me to easily start and 
stop a pptp connection to my office.

It looks something like:
  Control Shift V opens the vpn using
 sudo pptp x.x.x.x OFFICE
  Alt Shift V closes the connection
 sudo killall -TERM ppp
When I do this (stopping pptp) I get a pptp.core in my home dir.  In 
fact no matter what I try... I allways end up with a core.

I have tried:
  # as myself
  sudo killall -TERM ppp
  sudo kill -TERM `cat /var/run/tun0.pid`
  sudo killall -TERM pptp
Also tried those as root (without sudo).
I have tried all of the above after issuing the pptp command from CLI as 
root.  Still no luck

I have also tried other signals (QUIT, ABRT).
So... the question is.. How am I supposed to shut down a pptp 
connection?  I would like to be able to do it with sudo, or at least 
some way to bind it to keys of non-root users.

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


Re: Setting up a danish locale

2005-03-11 Thread Steve Kargl
On Fri, Mar 11, 2005 at 11:30:08AM -0600, Paul Schmehl wrote:
 --On Friday, March 11, 2005 09:21:22 AM -0800 Steve Kargl 
 [EMAIL PROTECTED] wrote:
 
 But any attempt to enter a danish character in for examples xemacs
 fails.  From my colleagues comment a Right-Alt / o should yield
 a lower case o with a slash through it.  His system is running
 Xorg 6.7.0_9.  I suspect that I need to change/update his xorg.conf
 file.  Any insight into setting up the Danish environment would be
 appreciate.
 
 Just guessing, but did you install /usr/ports/x11-fonts/intlfonts?  You may 
 need that for the Danish characters to work right.
 

intlfonts is not installed.  I'll add those and update xorg.conf.
I suspect that I need to update the Keyboard section of xorg.conf
to ensure the meta-keys are mapped correctly.

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


Re: Problems stopping pptp...

2005-03-11 Thread Eric Schuele
FWIW
  I'm running 5.4-PRERELEASE i386 as of last sunday.  But the problem 
has follwed me from 5.2.1.
  No doubt its not the OS...I'm sure its me.  Just not sure what I'm 
doing wrong.

Thanks,
-Eric
Eric Schuele wrote:
Hello,
I have some keybindings on my laptop that allow me to easily start and 
stop a pptp connection to my office.

It looks something like:
  Control Shift V opens the vpn using
 sudo pptp x.x.x.x OFFICE
  Alt Shift V closes the connection
 sudo killall -TERM ppp
When I do this (stopping pptp) I get a pptp.core in my home dir.  In 
fact no matter what I try... I allways end up with a core.

I have tried:
  # as myself
  sudo killall -TERM ppp
  sudo kill -TERM `cat /var/run/tun0.pid`
  sudo killall -TERM pptp
Also tried those as root (without sudo).
I have tried all of the above after issuing the pptp command from CLI as 
root.  Still no luck

I have also tried other signals (QUIT, ABRT).
So... the question is.. How am I supposed to shut down a pptp 
connection?  I would like to be able to do it with sudo, or at least 
some way to bind it to keys of non-root users.

Thanks,

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


[no subject]

2005-03-11 Thread $B>eLnH%(B

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


Re: Re: changed cases, now freebsd won't boot!

2005-03-11 Thread Brian John
- Original Message -

 Brian John wrote:

  ad1:  WARNING - READDMA UDMA ICRC error (retrying)
 
 ...and I can't boot into FreeBSD.  It just puts me in single user mode.
 
 It almost appears as if my hard drives somehow were damaged when I
 switched cases.  However, Windows works just fine.  I tried running fsck
 and I still get the errors.  Does anyone have any clue what I can do about
 this?
 
 Thanks
 
 /Brian
 
 


 And the only, I repeat *only* thing different is the **case**?
 You have the same motherboard, same power supply 

Yes, all of my components are EXACTLY the same, I just bought a new case. 
I guess it is possible that one of my IDE cables all of a sudden went bad,
but again Windows boots fine.  I have been running Windows for days now
with no problems.  Anything else I can do to try to diagnose this?

Thanks for the help

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


Fast and reliable /tmp partition.

2005-03-11 Thread
Hello Freebsd Questions,
I'm using DVD-R to back up our Perforce SCM server.
The size of backup data is 13Gb now and increase ~ 1Gb in two months.
The full backups was made every week, incrementary - every day.
I have made a custom script to start archiver, split on the fly results 
to adequate sized files ( 1Gb),
evaluate checksum and burn it onto DVD.
The script also verify burned DVD by using stored checksums, and burn 
DVD again if needed.
The problem is: i can't compose DVD's on the fly, i need to save them 
somewhere.

I need to have a big, fast and reliable temporary filesystem.
It doesn't needed to survive reboots.
It must be fast writing. (RAID5 vinum array which i have is slow 
performs writes)
And even if one of the disks in server computer will broke (i have a 
vinum on them),
the backup procedure must still works.

Does anybody have expirience with temporary fast filesystems ?
Best Regards,
Alexander Derevianko.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


timed daemon functionality

2005-03-11 Thread Jim Pazarena
when I issue at timedc clockdiff   
I routinely see:
timedc: XXX will not tell us the date
time on XXX is 4 ms. behind time on 
what do I need to do so that the XXX machine _will_ offer the date
to the routine?
tia
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: simple www forum software ?

2005-03-11 Thread Ryan J. Cavicchioni
I really like PunBB which can be found at http://www.punbb.org. It can 
store date in MySQL, PostgreSQL, and SQLite (which may be best for your 
needs).

YaBB may be flat file. It can be located here: yabbforum.com
Take care.
Frank Bonnet wrote:
Hi
I'm searching for a simple www forum software
I've found phpBB but it seems overkill for my needings
flat files would be enough as the forum will serve
20 users max and a very low traffic.
The goal is to share technical problems/solutions between around
20 sysadmins of multiples sites.
I need a very basic forum that could manage several groups
and a basic authentication with apache2.
Thanks for any help , the server runs 5.3
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fsck errors on a running system that disappear in single-user mode

2005-03-11 Thread Kris Kennaway
On Fri, Mar 11, 2005 at 06:37:16PM +0100, Anthony Atkielski wrote:
 Jerry McAllister writes:
 
  At least most likely.There could possibly a real inconsistency,
  but it would be difficult on a running system to distinguish it 
  from the artifacts you point out above.
 
 But a real consistency would presumably persist with an fsck on a system
 in single-user mode, which is (I assume) quiescent, right?

Yes (single-user mode isn't the issue; the filesystem needs to be
unmounted or mounted read-only, or to be using UFS snapshots (in 5.x)
in order for fsck to have a consistent snapshot of the data that
doesn't change out from underneath it).

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


No read permission on NTFS files shared by Samba

2005-03-11 Thread Alejandro Pulver
Hello,

I am using FreeBSD 5.3 with Samba 3.0.7,1.

I can read all files from a Windows 2000 Pro. But when I try to access
a mount point that is an NTFS filesystem, I have no read permission
(files and directories appear as zero length files) until I access them
from the server machine (like doing an 'ls').

My configuration file is as follows:

= BEGIN =
# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2004/12/11 19:24:02

# Global parameters
[global]
workgroup = VARNET
server string = FreeBSD 5.3
security = SHARE
log file = /var/log/samba/log.%m
max log size = 50
dns proxy = No

[mnt]
comment = Mounted Filesystems
path = /mnt
guest ok = Yes

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[ale]
comment = Ale's Home DIrectory
path = /home/ale
guest ok = Yes
= END ===

Note: I have subdirectories under '/mnt' like 'w2k', 'wxp', 'cam', and
'tmp'.

What am I doing wrong?

Thanks and Best Regards,
Ale

P.S.: How can I get a list of shares from a Samba server (using the
Samba utilities)?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: D-Link NIC.

2005-03-11 Thread Fabian Keil
gabriel [EMAIL PROTECTED] wrote:

 Hey, sorry about replying only to you but I'm just wondering if you
 can help with answering this question. Your script worked in the sence
 that I can see a log entry from the wless card intot he AP logs and it
 has a static ip set. I'm wondering, do you know how to make your
 script do DHCP? - This is the result of your script:
 
 ndis0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 inet 10.0.0.11 netmask 0xff00 broadcast 10.255.255.255
 inet6 fe80::211:95ff:fe87:8be4%ndis0 prefixlen 64 scopeid 0x4 
 ether 00:11:95:87:8b:e4
 media: IEEE 802.11 Wireless Ethernet autoselect (DS/11Mbps)
 status: associated
 ssid [EMAIL PROTECTED] 1:[EMAIL PROTECTED]
 channel 8 authmode OPEN powersavemode OFF powersavesleep 100
 rtsthreshold 2312 protmode CTS
 wepmode MIXED weptxkey 1
 wepkey 1:104-bit
 dolores#

If your system configuration was right, putting the line
dhclient ndis0
in the script should do the trick. But if it doesn't work
if you type it by hand, it won't work in the script either.
 
 Problem is .11 isnt pingable and plus, I'd rather it be dhcp. If you
 can help, I'd be extremely greatful as I could probably get some
 sleep.

Is pinging the only problem aside the dhcp issue?
If it is, you might have a look in the AP configuration.
Some manufacturers consider ping a security problem,
and block ICMP echo requests by default. 

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


Re: D-Link NIC.

2005-03-11 Thread Fabian Keil
gabriel [EMAIL PROTECTED] wrote:

 Okay, so I've managed to get the Wless nic talking to the Access Point
 (per the logs) but I'm having problems getting an ip address. Check
 out the dhclient output:
 
 dolores# dhclient -v ndis0
 Internet Systems Consortium DHCP Client V3.0.1
 Copyright 2004 Internet Systems Consortium.
 All rights reserved.
 For info, please visit http://www.isc.org/products/DHCP
 
 Listening on BPF/ndis0/00:11:95:87:8b:e4
 Sending on   BPF/ndis0/00:11:95:87:8b:e4
 Sending on   Socket/fallback
 DHCPDISCOVER on ndis0 to 255.255.255.255 port 67 interval 4
 DHCPDISCOVER on ndis0 to 255.255.255.255 port 67 interval 11
 DHCPDISCOVER on ndis0 to 255.255.255.255 port 67 interval 14
 DHCPDISCOVER on ndis0 to 255.255.255.255 port 67 interval 13
 DHCPDISCOVER on ndis0 to 255.255.255.255 port 67 interval 19
 No DHCPOFFERS received.
 No working leases in persistent database - sleeping.
 dolores#
 
 here's the ifconfig ndis0 output:
 
 ndis0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 inet6 fe80::211:95ff:fe87:8be4%ndis0 prefixlen 64 scopeid 0x4 
 inet 0.0.0.0 netmask 0xff00 broadcast 255.255.255.255
 ether 00:11:95:87:8b:e4
 media: IEEE 802.11 Wireless Ethernet autoselect (DS/11Mbps)
 status: associated
 ssid [EMAIL PROTECTED] 1:[EMAIL PROTECTED]
 channel 8 authmode OPEN powersavemode OFF powersavesleep 100
 rtsthreshold 2312 protmode CTS
 wepmode MIXED weptxkey 1
 wepkey 1:104-bit
 
 Anyone that has experienced this before? Any ideas?

As you can read below, I already assumed, that you don't
have device bpf in your kernel. Can you confirm or deny it?
 
 On Sun, 6 Mar 2005 11:00:58 -0800, gabriel [EMAIL PROTECTED] wrote:
  Thats a good script. How did you install the ndis driver/wrapper? -
  Cause I think some of the problem may be there.
 
  On Sun, 6 Mar 2005 19:54:38 +0100, Fabian Keil
  [EMAIL PROTECTED] wrote:
   Subhro [EMAIL PROTECTED] wrote:
  
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-freebsd-
 [EMAIL PROTECTED] On Behalf Of gabriel
 Sent: Sunday, March 06, 2005 2:57
 To: freebsd-questions
 Subject: Re: D-Link NIC.

Are you positive that the DHCP function of your AP works perfectly? I am
asking thing because I have come across a couple of routers which 
happily
routes packets to static IPs but messes everything up as soon as it is 
asked
to handle DHCP.
  
   I guess the DHCP server is working, but Gabriel's kernel is lacking 
   device bpf
   which is needed for dhclient.
  
   Otherwise the IP is set to 0.0.0.0 without error message, just as 
   described.

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


Re: D-Link NIC.

2005-03-11 Thread Fabian Keil
gabriel [EMAIL PROTECTED] wrote:

 Thats a good script. How did you install the ndis driver/wrapper? -
 Cause I think some of the problem may be there.

I copied the files w22n50.sys and w22n51.inf out of the
Windows partition to /usr/src/sys/modules/if_ndis,

ndiscvt -i w22n51.inf -s w22n50.sys ndis_driver_data.h
make install

did the rest.

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


Re: format slice

2005-03-11 Thread Alejandro Pulver
On Fri, 11 Mar 2005 17:58:10 +0100
Freek Nossin [EMAIL PROTECTED] wrote:

 Hello,
 
 I have a freebsd installation on a disk with two slices. One of them
 has the current freebsd install, the other has a win2k installation. I
 want to convert the win2k slice to a freebsd slice (by deleting the
 old one and add a new one). I followed the handbook but when I try to
 delete the win2k slice, and want to write the changes to the disk,
 sysinstall returns a disk error. The steps I took were simple:
 
 - run sysinstall en select fdisk
 - choose delete on the NTFS slice 
 - Write changes
 
 Then sysinstall complains that it cannot do that (no specific
 information on the cause of the error is displayed). 
 
 Does anyone know what can be wrong and how can I solve this?
 
 
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

Hello,

Try using 'fdisk' directly (man 8 fdisk) and see the complete error
messages.

For example, to delete the second slice (check the numbering with
'fdisk -s') save the following in a file and then run 'fdisk -f file'
(but first try the test mode with the -t flag to see if it works as
expected):

p 2 0 0 0

Best Regards,
Ale

P.S.: what is the output of 'fdisk -s'?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fsck errors on a running system that disappear in single-user

2005-03-11 Thread Jerry McAllister
 
 Jerry McAllister writes:
 
  At least most likely.There could possibly a real inconsistency,
  but it would be difficult on a running system to distinguish it 
  from the artifacts you point out above.
 
 But a real consistency would presumably persist with an fsck on a system
 in single-user mode, which is (I assume) quiescent, right?

Well, yes, or at least with the file system to be fsck-ed unmounted.

jerry

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


Re: gdbe - how?

2005-03-11 Thread cpghost
On Fri, Mar 11, 2005 at 06:42:39PM +0100, h p wrote:
 I'd like to use the gdbe disk encryption. I have activated GEOM_BDE in
 my kernel and would like to go ahead with the procedure described in
 the handbook. But I don't have a gdbe executable anywhere on my
 system. Neither a manpage or a port with a name obviously related to
 gdbe, for that matter.
 Where do I find it?

1. Make sure you're running 5.x
2. /sbin/gbde

 Thanks
 Helge

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: format slice

2005-03-11 Thread Jerry McAllister
 
 Hello,
 
 I have a freebsd installation on a disk with two slices. One of them has the
 current freebsd install, the other has a win2k installation. I want to
 convert the win2k slice to a freebsd slice (by deleting the old one and add
 a new one). I followed the handbook but when I try to delete the win2k
 slice, and want to write the changes to the disk, sysinstall returns a disk
 error. The steps I took were simple:
 
 - run sysinstall en select fdisk
 - choose delete on the NTFS slice 
 - Write changes
 
 Then sysinstall complains that it cannot do that (no specific information on
 the cause of the error is displayed). 
 
 Does anyone know what can be wrong and how can I solve this?

Well, it looks like you started right. 
But write changes can cover a lot of things - all of which 
need to be done.

After you delete the NTFS slice,  you must create a new FreeBSD slice
in its place.   Then you need to do the disklabel part to make at
least one partition in the slice (more are possible if you want to
divide it for some reason.   Then that (those) slice(s) must
be newfs-ed.  You also need to establish a mount point and mount the
newly newfs-ed filesystem(s).   Sysinstall should do all that for you 
if you do all of its steps before bailing out of sysinstall.
It might not do the mount though.  But, it should create the mount
point and put the mount line in /etc/fstab.

Alternatively, you can do it all yourself and skip sysinstall.
That is what I normally do.   
Study the man pages for each of these before starting.  They 
have recently been improved, but can still be very confusing.

The steps are:
fdisk  -- overwrites the NTFS slice and creates a 
  new FreeBSD slice in its place.  Set it
  active if you want to boot from it.
disklabel  -- writes a FreeBSD label and divides the
  slice in to partitions.
newfs  -- creates a filesystem in each partition
  you run it on.
mkdir  -- create the new mount point  mkdir /newmnt
  or whatever you want to call it
edit /etc/fstab  -- to enter your mount information so it
will mount at boot time without you doing
by hand all the time.
fsck   -- the new file system, just in case.
mount -a   -- To mount the file system

If you have done everything and it still doesn't work, then more
information is needed to make any good guesses.   But, check all 
this first.

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

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


RE: format slice

2005-03-11 Thread Freek Nossin
Thank you for your suggestions, I followed them and this is what happened: 

pcwin451# fdisk -s
/dev/ad0: 39704 cyl 16 hd 63 sec
PartStartSize Type Flags
   1:  6320820177 0x07 0x00
   2:2082024019201392 0xa5 0x80

Part 1 is the one I want to convert to a freebsd slice. 

Now I used fdisk -f file with the input 

p 1 0 0 0

the operation succeeded. I did again: 

pcwin451# fdisk -s
/dev/ad0: 39704 cyl 16 hd 63 sec
PartStartSize Type Flags
   2:2082024019201392 0xa5 0x80

And this was indeed the output I expected. So I thought lets see what
sysinstall thinks of all this. Selecting fdisk in the menu showed me a disk
layout where the NTFS partition still was on the disk. 

Disk name:  ad0FDISK Partition
Editor
DISK Geometry:  39704 cyls/16 heads/63 sectors = 40021632 sectors (19541MB)

Offset   Size(ST)End Name  PType   Desc  Subtype
Flags

 0 63 62- 12 unused0

63   20820177   20820239ad0s1  4 NTFS/HPFS/QNX7
  20820240   19201392   40021631ad0s2  8freebsd  165


How can this be? I've always assumed that sysinstall uses the fdisk tool?
And which one is correct? Is it wise to try creating a new slice with
fdisk? 



-Original Message-
From: Alejandro Pulver [mailto:[EMAIL PROTECTED] 
Sent: vrijdag 11 maart 2005 20:15
To: Freek Nossin
Cc: freebsd-questions@freebsd.org
Subject: Re: format slice

On Fri, 11 Mar 2005 17:58:10 +0100
Freek Nossin [EMAIL PROTECTED] wrote:

 Hello,
 
 I have a freebsd installation on a disk with two slices. One of them
 has the current freebsd install, the other has a win2k installation. I
 want to convert the win2k slice to a freebsd slice (by deleting the
 old one and add a new one). I followed the handbook but when I try to
 delete the win2k slice, and want to write the changes to the disk,
 sysinstall returns a disk error. The steps I took were simple:
 
 - run sysinstall en select fdisk
 - choose delete on the NTFS slice 
 - Write changes
 
 Then sysinstall complains that it cannot do that (no specific
 information on the cause of the error is displayed). 
 
 Does anyone know what can be wrong and how can I solve this?
 
 
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

Hello,

Try using 'fdisk' directly (man 8 fdisk) and see the complete error
messages.

For example, to delete the second slice (check the numbering with
'fdisk -s') save the following in a file and then run 'fdisk -f file'
(but first try the test mode with the -t flag to see if it works as
expected):

p 2 0 0 0

Best Regards,
Ale

P.S.: what is the output of 'fdisk -s'?



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


Re: format slice

2005-03-11 Thread Jerry McAllister
 
 Thank you for your suggestions, I followed them and this is what happened: 
 
 pcwin451# fdisk -s
 /dev/ad0: 39704 cyl 16 hd 63 sec
 PartStartSize Type Flags
1:  6320820177 0x07 0x00
2:2082024019201392 0xa5 0x80
 
 Part 1 is the one I want to convert to a freebsd slice. 
 
 Now I used fdisk -f file with the input 
 
 p 1 0 0 0
 
 the operation succeeded. I did again: 
 
 pcwin451# fdisk -s
 /dev/ad0: 39704 cyl 16 hd 63 sec
 PartStartSize Type Flags
2:2082024019201392 0xa5 0x80
 
 And this was indeed the output I expected. So I thought lets see what
 sysinstall thinks of all this. Selecting fdisk in the menu showed me a disk
 layout where the NTFS partition still was on the disk. 
 
 Disk name:  ad0FDISK Partition
 Editor
 DISK Geometry:  39704 cyls/16 heads/63 sectors = 40021632 sectors (19541MB)
 
 Offset   Size(ST)End Name  PType   Desc  Subtype
 Flags
 
  0 63 62- 12 unused0
 
 63   20820177   20820239ad0s1  4 NTFS/HPFS/QNX7
   20820240   19201392   40021631ad0s2  8freebsd  165
 
 
 How can this be? I've always assumed that sysinstall uses the fdisk tool?
 And which one is correct? Is it wise to try creating a new slice with
 fdisk? 

Well, is one of them reading only the in-memory label and the other
reading the label on the disk?When you did the fdisk, did you
make sure it changed on disk.  Then, did the in-memory label get
updated?

jerry
 
 
 
 -Original Message-
 From: Alejandro Pulver [mailto:[EMAIL PROTECTED] 
 Sent: vrijdag 11 maart 2005 20:15
 To: Freek Nossin
 Cc: freebsd-questions@freebsd.org
 Subject: Re: format slice
 
 On Fri, 11 Mar 2005 17:58:10 +0100
 Freek Nossin [EMAIL PROTECTED] wrote:
 
  Hello,
  
  I have a freebsd installation on a disk with two slices. One of them
  has the current freebsd install, the other has a win2k installation. I
  want to convert the win2k slice to a freebsd slice (by deleting the
  old one and add a new one). I followed the handbook but when I try to
  delete the win2k slice, and want to write the changes to the disk,
  sysinstall returns a disk error. The steps I took were simple:
  
  - run sysinstall en select fdisk
  - choose delete on the NTFS slice 
  - Write changes
  
  Then sysinstall complains that it cannot do that (no specific
  information on the cause of the error is displayed). 
  
  Does anyone know what can be wrong and how can I solve this?
  
  
  
  
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
 
 Hello,
 
 Try using 'fdisk' directly (man 8 fdisk) and see the complete error
 messages.
 
 For example, to delete the second slice (check the numbering with
 'fdisk -s') save the following in a file and then run 'fdisk -f file'
 (but first try the test mode with the -t flag to see if it works as
 expected):
 
 p 2 0 0 0
 
 Best Regards,
 Ale
 
 P.S.: what is the output of 'fdisk -s'?
 
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

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


copying cron files between computers

2005-03-11 Thread Doug Poland

Hello,

I'm want to keep the cron files between two 5.3-STABLE computers 
synchronized.  From my reading on cron(8), crontab(1), and crontab(5),
accomplishing this might be a little convoluted.  

Would something like this work?

computer-A:  

root# crontab -u joeuser -l  /usr/home/joeuser/cron

get files from computer-A to computer-B


computer-B:

root# crontab -u joeuser  /usr/home/joeuser/cron


As an alternative, would anyone suggest a cron replacement, like mcron?
As I read it, mcron stores it's files in a users ~/.cron directory.
Thereby eliminating the dump and read of each user's cron.

Thanks for the help and suggestions.

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


RE: format slice

2005-03-11 Thread Freek Nossin
 -Original Message-
 From: Jerry McAllister [mailto:[EMAIL PROTECTED]
 Sent: vrijdag 11 maart 2005 21:00
 To: Freek Nossin
 Cc: freebsd-questions@freebsd.org; [EMAIL PROTECTED]
 Subject: Re: format slice
 
 
  Thank you for your suggestions, I followed them and this is what
 happened:
 
  pcwin451# fdisk -s
  /dev/ad0: 39704 cyl 16 hd 63 sec
  PartStartSize Type Flags
 1:  6320820177 0x07 0x00
 2:2082024019201392 0xa5 0x80
 
  Part 1 is the one I want to convert to a freebsd slice.
 
  Now I used fdisk -f file with the input
 
  p 1 0 0 0
 
  the operation succeeded. I did again:
 
  pcwin451# fdisk -s
  /dev/ad0: 39704 cyl 16 hd 63 sec
  PartStartSize Type Flags
 2:2082024019201392 0xa5 0x80
 
  And this was indeed the output I expected. So I thought lets see what
  sysinstall thinks of all this. Selecting fdisk in the menu showed me a
 disk
  layout where the NTFS partition still was on the disk.
 
  Disk name:  ad0FDISK Partition
  Editor
  DISK Geometry:  39704 cyls/16 heads/63 sectors = 40021632 sectors
 (19541MB)
 
  Offset   Size(ST)End Name  PType   Desc  Subtype
  Flags
 
   0 63 62- 12 unused0
 
  63   20820177   20820239ad0s1  4 NTFS/HPFS/QNX7
20820240   19201392   40021631ad0s2  8freebsd  165
 
 
  How can this be? I've always assumed that sysinstall uses the fdisk
 tool?
  And which one is correct? Is it wise to try creating a new slice with
  fdisk?
 
 Well, is one of them reading only the in-memory label and the other
 reading the label on the disk?When you did the fdisk, did you
 make sure it changed on disk.  Then, did the in-memory label get
 updated?
 
 jerry


/stand/sysinstall would be the one that read the in-memory label. The other
way around seems impossible to me. But then how can these two be different?
I did close /stand/sysinstall and restarted. The in memory one *should* be
updated right? If this wasn't the case than it seems to me like bug in
sysinstall, or more likely, freebsd itself. 
Normally I should simply try rebooting the system and all ambiguities should
be solved. The problem is I'm working remote and rebooting is kind of a
risk. 

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


Re: Help Samba3 seems broke for me...

2005-03-11 Thread freebsduser

-- Original message -- 
 -BEGIN PGP SIGNED MESSAGE- 
 Hash: SHA1 
 
 On Fri, 11 Mar 2005 [EMAIL PROTECTED] wrote: 
 
  -- Original message -- 
  
  -BEGIN PGP SIGNED MESSAGE- 
  Hash: SHA1 
  
  On Fri, 11 Mar 2005 [EMAIL PROTECTED] wrote: 
  
  Hiya folks, 
  
  Like a goof I didn't ask portupgrade to back up my beautiful Samba3.0.5 
  and 
  when I went to Samba3.0.11 everything in Samba went to pot, IMO. 
  
  The only upside is that in my ports/distfiles is a nifty file named 
  samba-3.0.5.tar.gz. 
  
  The question I have is how can I build from that 3.0.5 tar file? 
  
  Help is greatly appreciated :) 
  
  Hi, 
  
  first, you could check out an earlier version of the ports tree. 
  Thu Jul 22 14:38:05 2004 UTC was the exact time, the 3.0.5 went into 
  ports. 
  
  But!! 
  
  why don't you tell us, what exactly is not working or bad with 
  samba-3.0.11? it would be much better to fix the bug's or solve the 
  problems you are expiriencing instead of going back to an old version and 
  getting back all the bad bugs which are fixed in 3.0.11. 
  
  
  awaiting your detailed problem report for 3.0.11 
  Joerg 
  Joerg, 
  I'll have to compile it. When I get that done I'll list what ever issue(s) 
  I 
 am having. 
  Since I have two machines, and I was thinking the second one was being 
 tempermental that's when I decided to take the first computer and also put 
 3.0.11 on and had the same problem (I'll list the problem(s) I'm having when 
 I 
 get it finished and set up as per 
 http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/FastStart.html#id2464
  
 512 ) 
  While I'm compiling 3.0.11 on one system, what would I need to do to get 
  3.0.5 
 back on the other? I found portdowngrade but I've never used cvs before and 
 tried going through the tutorials but they seem rather cryptic, or perhaps 
 lacking because a few years back I remember them being a bit more user 
 friendly 
 ( http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/anoncvs.html ) 
  Thanks for your assistance. 
 
 okay, a very short description... 
 as i'am in germany i use the german CVS mirror. 
 
 prompt touch ~/.cvspass 
 prompt cd /usr/ports/net 
 prompt rm -r samba3 
 prompt cvs -d :pserver:[EMAIL PROTECTED]:/home/ncvs login 
 
 - -- Now the you are asked for a password, please type: anoncvs 
 
 prompt cvs -d :pserver:[EMAIL PROTECTED]:/home/ncvs co \ 
 - -DThu Jul 22 14:38:05 2004 UTC samba3 
 
 thats all. now the samba3 port is at version 3.0.5 and you should be able 
 to build and install it. 
 
 Joerg 
 
 - -- 
 The beginning is the most important part of the work. 
 -Plato 
I am following the How To from this URL: 
http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/FastStart.html#id2464512
Here are some things that I've noticed:
 Group names appear all lower-case:
 getent missing, I am pretty sure that it can be found in Fedora Core 3 and 
also SuSe. The thing has always been missing in FreeBSD and the Samba3 docs may 
need updating.
 Created a usermap file but it doesn't appear to honor it:
  username map = /usr/local/etc/username.map
   FreeBSDUserName=WindowsUserName
 Inside mapped username directory on FreeBSD by way of XP browsing access is 
denied in creating anything.
 Inside mapped user's directory on FreeBSD via XP and when deleting something 
it goes away but then a refresh on XP window and the item returns. No access 
denied message is thrown.
 I don't know if I did it or Samba did it but in the /etc/passwd there are user 
names within the range of idmap uid/gid (This is on Samba 3.0.5) but on the 
Samba 3.0.11 no user names have been changed (they sill have the FreeBSD 
assigned Ids).
   idmap uid = 15000-2
   idmap gid = 15000-2
 in passwd; 
 nagios:*:15035:15030::0:0:Nagios pseudo-user:/var/spool/nagios:/nonexistent
 Separator has changed from a '+' to a '\' (Wish somebody would stop doing 
that, heck on a SuSe Machine, it once was an 'm' that one baffled me.) Unless 
of course I'm thinking of something else, but still why did it go from TEL+ to 
TEL\?
  Samba 3.0.5 wbinfo -g reports:
   TEL+Exchange Domain Servers
  Samba 3.0.11 wbinfo -g reports:
   TEL\exchange domain servers
Oh, and most importantly... Thanks for helping with that CVS thing. Worked 
great. My working system allows me to do the things I do while the 3.0.11 just 
drives me nutso. I'm thinking of trying 3.0.5 on the other system to see if it 
is behaving. But not just yet.
uname -a reports (holding off upgrading the world for the moment):
FreeBSD oracle.internal.qualmax.net 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 
 5 04:19:18 UTC 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

Here's my smb.conf (System is acting as a domain member) for 3.0.11
[global]
   workgroup = INTERNAL
   netbios name = ORACLE
   server string = %h server (Samba %v)
   security = DOMAIN
   username map = /usr/local/etc/username.map
   load printers = 

Re: copying cron files between computers

2005-03-11 Thread Ean Kingston


 Hello,

 I'm want to keep the cron files between two 5.3-STABLE computers
 synchronized.  From my reading on cron(8), crontab(1), and crontab(5),
 accomplishing this might be a little convoluted.

 Would something like this work?

 computer-A:

 root# crontab -u joeuser -l  /usr/home/joeuser/cron

 get files from computer-A to computer-B


 computer-B:

 root# crontab -u joeuser  /usr/home/joeuser/cron

It would work, but...

Cron stores it's files in /var/cron/tabs/. Each user has it's own file
(with the user's name). You can simply copy all (or some) of the files in
that directory over to the new location.

The biggest reason why you are not supposed to edit those directly is that
cron can have a bit of a fit if the file format is invalid. As long as it
was validated when it was first saved it should copy fine.


 As an alternative, would anyone suggest a cron replacement, like mcron?
 As I read it, mcron stores it's files in a users ~/.cron directory.
 Thereby eliminating the dump and read of each user's cron.

 Thanks for the help and suggestions.

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



-- 
Ean Kingston
E-Mail: ean_AT_hedron_DOT_org
 PGP KeyID: 1024D/CBC5D6BB
   URL: http://www.hedron.org/


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


no flames, please.

2005-03-11 Thread Gary Kline

I'm thinking of adding both Doze and SuSE to one or two of
my platforms.  (I'm going tolearn Frnch if it's the last thing
I ever do, and y'gotta have Windoze.)Anyhow, how hard it is 
to set up one of those dual boot programs?  And-or, is there 
a dual-boot port for people who have never used one before?

I just bought a 200GB drive and figure I'll give Doze 2G and
SuSE maybe 20.  My primary drive is a 40G.  Having ballpark
230G total should support everything.

If I install Windows 1st (I have to, right?), should I save
NN gigs of disc space for SuSE when I buy their CD?  Is there
a better flavor on Linux that I should consider?

thanks for any suggestions,

gary




-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: format slice

2005-03-11 Thread Alejandro Pulver
On Fri, 11 Mar 2005 21:16:49 +0100
Freek Nossin [EMAIL PROTECTED] wrote:

  -Original Message-
  From: Jerry McAllister [mailto:[EMAIL PROTECTED]
  Sent: vrijdag 11 maart 2005 21:00
  To: Freek Nossin
  Cc: freebsd-questions@freebsd.org; [EMAIL PROTECTED]
  Subject: Re: format slice
  
  
   Thank you for your suggestions, I followed them and this is what
  happened:
  
   pcwin451# fdisk -s
   /dev/ad0: 39704 cyl 16 hd 63 sec
   PartStartSize Type Flags
  1:  6320820177 0x07 0x00
  2:2082024019201392 0xa5 0x80
  
   Part 1 is the one I want to convert to a freebsd slice.
  
   Now I used fdisk -f file with the input
  
   p 1 0 0 0
  
   the operation succeeded. I did again:
  
   pcwin451# fdisk -s
   /dev/ad0: 39704 cyl 16 hd 63 sec
   PartStartSize Type Flags
  2:2082024019201392 0xa5 0x80
  
   And this was indeed the output I expected. So I thought lets see
   what sysinstall thinks of all this. Selecting fdisk in the menu
   showed me a
  disk
   layout where the NTFS partition still was on the disk.
  
   Disk name:  ad0FDISK
   Partition Editor
   DISK Geometry:  39704 cyls/16 heads/63 sectors = 40021632 sectors
  (19541MB)
  
   Offset   Size(ST)End Name  PType   Desc 
   Subtype Flags
  
0 63 62- 12 unused   
0
  
   63   20820177   20820239ad0s1  4 NTFS/HPFS/QNX
  7
 20820240   19201392   40021631ad0s2  8freebsd 
 165
  
  
   How can this be? I've always assumed that sysinstall uses the
   fdisk
  tool?
   And which one is correct? Is it wise to try creating a new slice
   with fdisk?
  
  Well, is one of them reading only the in-memory label and the other
  reading the label on the disk?When you did the fdisk, did you
  make sure it changed on disk.  Then, did the in-memory label get
  updated?
  
  jerry
 
 
 /stand/sysinstall would be the one that read the in-memory label. The
 other way around seems impossible to me. But then how can these two be
 different? I did close /stand/sysinstall and restarted. The in memory
 one *should* be updated right? If this wasn't the case than it seems
 to me like bug in sysinstall, or more likely, freebsd itself. 
 Normally I should simply try rebooting the system and all ambiguities
 should be solved. The problem is I'm working remote and rebooting is
 kind of a risk. 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

Hello,

I do not know about that, but I think the best option is to do the
procedure manually, as indicated by Jerry.

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


Re: no flames, please.

2005-03-11 Thread Chad Leigh -- Shire . Net LLC
On Mar 11, 2005, at 1:25 PM, Gary Kline wrote:
If I install Windows 1st (I have to, right?), should I save
NN gigs of disc space for SuSE when I buy their CD?  Is there
a better flavor on Linux that I should consider?
Depending on how much you like to do and how much you want a 
click-here-and-install-and-be-done type Linux, a lot of people who are 
BSD oriented like gentoo Linux for its package management system that 
is similar to ports etc.

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


Re: how to change process limits?

2005-03-11 Thread Chad Leigh -- Shire . Net LLC
On Mar 11, 2005, at 8:21 AM, Dan Nelson wrote:
In the last episode (Mar 10), Chad Leigh -- Shire.Net LLC said:
On Mar 10, 2005, at 2:46 PM, Dan Nelson wrote:
In the last episode (Mar 09), Chad Leigh -- Shire.Net LLC said:
The following is aon 5.3-RELEASE-p5
If I do a limits command I get
# limits
Resource limits (current):
 datasize   524288 kb
 stacksize   65536 kb
#
However, login.conf has (and no other classes defined)
default:\
   :datasize=unlimited:\
   :stacksize=unlimited:\
I am wondering where the datasize and stacksize get set.  These have
limits when listed with limits but they do not appear to be 
getting
set through login as the login.conf has unlimitged.
I believe those are extra-hard limits enforced by the kernel.  You 
can
raise them by adding this to /boot/loader.conf:

kern.maxdsiz=2147483648
kern.maxssiz=2147483648
Should I be able to do a sysctl to look at their current values?  On 
my
5.3 and my 4.9 systems, there are no kern.max%siz listed at all (% = d
or s) to inspect.
You would be able to if they were sysctls, but they're just tunables.
You can see what tunables are set by running kenv, but that only
shows entries that you or the kernel have explicitly set.  Personally,
I think all the TUNABLE_*_FETCH variables in /sys/kern/subr_parm.c
should be sysctls with the CTLFLAG_TUN flag set, so they are visible as
both tunables and sysctls.  Some currently have sysctl nodes created in
other places (kern.maxfiles is in /sys/kern/kern_descrip.c, for
example), but many don't.
OK, thanks!  I learn something new every day.  I was not aware if 
sysctls being different...

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


Re: no flames, please.

2005-03-11 Thread freebsduser
-- Original message -- 

 
 I'm thinking of adding both Doze and SuSE to one or two of 
 my platforms. (I'm going tolearn Frnch if it's the last thing 
 I ever do, and y'gotta have Windoze.) Anyhow, how hard it is 
 to set up one of those dual boot programs? And-or, is there 
 a dual-boot port for people who have never used one before? 
 
 I just bought a 200GB drive and figure I'll give Doze 2G and 
 SuSE maybe 20. My primary drive is a 40G. Having ballpark 
 230G total should support everything. 
 
 If I install Windows 1st (I have to, right?), should I save 
 NN gigs of disc space for SuSE when I buy their CD? Is there 
 a better flavor on Linux that I should consider? 
 
 thanks for any suggestions, 
 
 gary 
 
 
 
 
 -- 
 Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix 
 
 ___ 
 freebsd-questions@freebsd.org mailing list 
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions 
 To unsubscribe, send any mail to [EMAIL PROTECTED]

Found this for ya.
http://www.pperry.f2s.com/linux-dualboot.htm
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: no flames, please.

2005-03-11 Thread RW
On Friday 11 March 2005 20:25, Gary Kline wrote:

   a better flavor on Linux that I should consider?

I've not tried it yet, but I like the look of:

http://www.ubuntulinux.org/


It's based on Debian but aims to update several times a year instead of once 
every several years.  Also updates are done online rather that via a stack of 
disks. 

Gentoo's good too, but it's relatively high maintainence.


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


ssh timeout on 4.x

2005-03-11 Thread Josh Paetzel
I have a 4.9 RELEASE system that is running as a gateway / webserver 
for a small LAN.  From the internal LAN I can ssh to it fine.  From 
the internet ssh times out.  There are no firewall rules interfering.  
I haven't tried ssh in debug mode although next time I'm on-site I 
intend to enable it.  

The webserver works fine, another oddity is that I can't telnet to 
port 80 on the machine from the internet.

Here's the errors I get trying ssh and telnet respectively:

port 22: Operation timed out

telnet: Unable to connect to remote host: connect to address 
66.103.77.xx: Operation timed out

Anyone have any suggestions of things I can try next time I'm on site?

-- 
Thanks,

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


Re: fsck errors on a running system that disappear in single-user mode

2005-03-11 Thread Anthony Atkielski
Kris Kennaway writes:

 Yes (single-user mode isn't the issue; the filesystem needs to be
 unmounted or mounted read-only, or to be using UFS snapshots (in 5.x)
 in order for fsck to have a consistent snapshot of the data that
 doesn't change out from underneath it).

Are UFS snapshots enabled by default on 5.x?  Is this related to the
snapshots taken during dump operations with the L option, or is it
different?

-- 
Anthony


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


Re: Help Samba3 seems broke for me...

2005-03-11 Thread Joerg Pulz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Fri, 11 Mar 2005 [EMAIL PROTECTED] wrote:
stripped-down
I am following the How To from this URL: http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/FastStart.html#id2464512
Here are some things that I've noticed:
Group names appear all lower-case:
getent missing, I am pretty sure that it can be found in Fedora Core 3 
and also SuSe. The thing has always been missing in FreeBSD and the 
Samba3 docs may need updating.
Created a usermap file but it doesn't appear to honor it:
 username map = /usr/local/etc/username.map
  FreeBSDUserName=WindowsUserName
Inside mapped username directory on FreeBSD by way of XP browsing access 
is denied in creating anything.
Inside mapped user's directory on FreeBSD via XP and when deleting 
something it goes away but then a refresh on XP window and the item 
returns. No access denied message is thrown.
I don't know if I did it or Samba did it but in the /etc/passwd there 
are user names within the range of idmap uid/gid (This is on Samba 
3.0.5) but on the Samba 3.0.11 no user names have been changed (they 
sill have the FreeBSD assigned Ids).
  idmap uid = 15000-2
  idmap gid = 15000-2
in passwd;
nagios:*:15035:15030::0:0:Nagios pseudo-user:/var/spool/nagios:/nonexistent
Separator has changed from a '+' to a '\' (Wish somebody would stop doing that, heck on a SuSe Machine, it once was an 'm' that one baffled me.) Unless of course I'm thinking of something else, but still why did it go from TEL+ to TEL\?
 Samba 3.0.5 wbinfo -g reports:
  TEL+Exchange Domain Servers
 Samba 3.0.11 wbinfo -g reports:
  TEL\exchange domain servers
Oh, and most importantly... Thanks for helping with that CVS thing. Worked great. My working system allows me to do the things I do while the 3.0.11 just drives me nutso. I'm thinking of trying 3.0.5 on the other system to see if it is behaving. But not just yet.
uname -a reports (holding off upgrading the world for the moment):
FreeBSD oracle.internal.qualmax.net 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov  5 04:19:18 UTC 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

Here's my smb.conf (System is acting as a domain member) for 3.0.11
[global]
  workgroup = INTERNAL
  netbios name = ORACLE
  server string = %h server (Samba %v)
  security = DOMAIN
  username map = /usr/local/etc/username.map
  load printers = yes
  printcap name = cups
  printing = cups
  show add printer wizard = No
  idmap uid = 15000-2
  idmap gid = 15000-2
  winbind use default domain = Yes
  use sendfile = Yes
  log file = /var/log/samba/log.%m
  max log size = 50
  socket options = TCP_NODELAY
  dns proxy = no
# Share Definitions ==
[homes]
  comment = Home Directories
  browseable = no
  writable = yes
# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
[printers]
  comment = All Printers
  path = /var/spool/samba
  browseable = no
# Set public = yes to allow user 'guest account' to print
  guest ok = no
  writable = no
  printable = yes
hi,
here are some short notes for the points you mentioned.
- - getent missing
there is no Fedora or SuSE like getent in FreeBSD!
but you can use pw(8) to show all available users
- ---
prompt pw usershow -a
- ---
if you think the samba documentation needs updating in this section, 
please report it to the samba team.

- - winbind separator change from + to \
there is an smb.conf(5) option to change it back to +
the smb.conf(5) manpage says:
- ---
Please  note  that  setting  this parameter to + causes problems
with group membership at least on glibc systems, as the  character + is 
used as a special character for NIS in /etc/group.
- ---
if it was sometimes an m on SuSE system, it was due to modifications made 
by the SuSE people. neither the samba team nor FreeBSD has anything to do 
with it.

- - username map option
you should carefully read the smb.conf(5) manpage as there where some 
changes around samba-3.0.8 in this area.
you should also read the Release Notes for samba-3.0.8 for clarification.

- - nagios account
the account with this uid comes from installing the net-mgmt/nagios port
the uid is automatically generated, but you can simply change it and 
chown(8) all files and diretories belonging to the old uid to the new one.

- - file deletion using the WinXP box
i will not try to analyze this until you have taken the above comments 
into account.

Joerg
- -- 
The beginning is the most important part of the work.
-Plato
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCMgnXSPOsGF+KA+MRAqCOAJ4xWHqPLcVMEyF9lAnNtAbf1PUv5gCglmoZ
JEIWU/2t3ZRJCMt67fcF/oc=
=npDI
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


make buildworld

2005-03-11 Thread richard clairboy
I face w/ problem when i execute make buildworld after
i've synced my source from the CVS current 5.3
release.

see below my make.conf file.


INSTALL=install -C -S -s

PPP_NOSUID= true
ENABLE_SUID_SSH=true
ENABLE_SUID_NEWGRP= true

NO_FORTRAN= true# do not build g77 and related
libraries
NO_I4B= true# do not build isdn4bsd package
NO_IPFILTER=true# do not build IP Filter package
NO_KERBEROS=true# do not build and install Kerberos
5 (KTH Heimdal)
NO_OBJC=true# do not build Objective C support
NO_SENDMAIL=true# do not build sendmail and related
programs
NOGAMES=true# do not build games (games/ subdir)

COMPAT1X=   no
COMPAT20=   yes
COMPAT21=   yes
COMPAT22=   yes
COMPAT3X=   yes

MAKE_RSAINTL=   yes # RSA (public key exchange)
USA_RESIDENT=   no

SUP_UPDATE= yes
SUP=/usr/local/bin/cvsup
SUPFLAGS=   -g -L 2
SUPFILE=/usr/share/cvsup/cvs-supfile
PORTSSUPFILE=   /usr/share/cvsup/ports-supfile
DOCSUPFILE= /usr/share/cvsup/doc-supfile

Has anybody got a clue about that ???






Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! 
Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make buildworld

2005-03-11 Thread pete wright
On Fri, 11 Mar 2005 22:40:48 +0100 (CET), richard clairboy
[EMAIL PROTECTED] wrote:
 I face w/ problem when i execute make buildworld after
 i've synced my source from the CVS current 5.3
 release.
 

What is the problem you are getting, if possible I'd post the error
message to the list.

-p



-- 
~~o0OO0o~~
Pete Wright
www.nycbug.org
NYC's *BSD User Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


which hardware for db/app

2005-03-11 Thread Bob Ababurko
Hello-
I have a chance of migrating hardware for our web/app/db configuration. 
   Currently, I am running web and php on two loadbalanced Sun 
Ultra2(2x300Mhz, 512MB RAM) running FreeBSD 5.3 with a SUN Ultra60 with 
the same procs and RAM as the web,(2x300Mhz, 512MB RAM).  I am having 
issues with the db running slowly at this time and do not really know 
where to start to determine the cause or fix since I do not know much 
about mysql.  I did have some issues with the db and ran isamchk to fix 
errors on a few of the tables but since then it ha been running slow. 
Can someone possibly show me to a resource that may be abe to help me 
determine the issues that I am having as well as some possible tweeks 
for mysql 3.23.58 server, which is what is running.  On the web/php 
side, we have apache 1.3.31 and php4-4.3.8_2.

I also have hardware that I am gooing to posibly migrate these servers 
to:  I have a dual AMD 2800+(2200Mhz) and an AMD 2200+(1500Mhz).  I am 
wondering what I should use for what here.  I am not sure if O should 
use the dual amd for the apache/php or the mysql.  If anyone has any 
ideas on what would be the optimal setup with the given hardware then 
please let me hear it.  I would appreciate the input.

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


Re: fsck errors on a running system that disappear in single-user mode

2005-03-11 Thread Kris Kennaway
On Fri, Mar 11, 2005 at 10:07:48PM +0100, Anthony Atkielski wrote:
 Kris Kennaway writes:
 
  Yes (single-user mode isn't the issue; the filesystem needs to be
  unmounted or mounted read-only, or to be using UFS snapshots (in 5.x)
  in order for fsck to have a consistent snapshot of the data that
  doesn't change out from underneath it).
 
 Are UFS snapshots enabled by default on 5.x?

Yes, that's what background fsck uses.

  Is this related to the
 snapshots taken during dump operations with the L option, or is it
 different?

Same.  See the manpages for more information.

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


Re: format slice from commandline

2005-03-11 Thread Jerry McAllister
 

Please post to the list and not privately.

 Hello,
 I'm trying to add a second drive to a 5.3 system in preparation to
 gmirror raid1 the box. My problem is i'm having a heck of a time with
 sysinstall, it doesn't want to put an a partition on the second drive, so i
 thought about doing it manually, fdisk, disklabel, newfs, etc. About the
 only thing i've got working is a single slice on drive2 which is ad2 btw,

Probably it should be ad2s1.
That may make bsdlabel be unhappy.

 active i believe. The two drives are identical in size 15 gb drives, the
 master drive with a single fbsd slice and six partitions in it including c.
 I have tried to duplicate this information with disklabel piping to a file
 then loading that file on to drive2, which gives me an error about partition
 c lengths being wrong.

Partition c length should be the size of the slice.  
Look at what the block counts are.

jerry

 I was wondering you mentioned onlist you do this kind of stuff, if you
 could give me a procedure or a web page, the man pages are quite confusing.
 Thanks a lot.
 Dave.
 
 

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


Re: Help Samba3 seems broke for me...

2005-03-11 Thread freebsduser

-- Original message -- 
 -BEGIN PGP SIGNED MESSAGE- 
 Hash: SHA1 
 
 On Fri, 11 Mar 2005 [EMAIL PROTECTED] wrote: 
 
 
 
  I am following the How To from this URL: 
 http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/FastStart.html#id2464
  
 512 
  Here are some things that I've noticed: 
  Group names appear all lower-case: 
  getent missing, I am pretty sure that it can be found in Fedora Core 3 
  and also SuSe. The thing has always been missing in FreeBSD and the 
  Samba3 docs may need updating. 
  Created a usermap file but it doesn't appear to honor it: 
  username map = /usr/local/etc/username.map 
  = 
  Inside mapped username directory on FreeBSD by way of XP browsing access 
  is denied in creating anything. 
  Inside mapped user's directory on FreeBSD via XP and when deleting 
  something it goes away but then a refresh on XP window and the item 
  returns. No access denied message is thrown. 
  I don't know if I did it or Samba did it but in the /etc/passwd there 
  are user names within the range of idmap uid/gid (This is on Samba 
  3.0.5) but on the Samba 3.0.11 no user names have been changed (they 
  sill have the FreeBSD assigned Ids). 
  idmap uid = 15000-2 
  idmap gid = 15000-2 
  in passwd; 
  nagios:*:15035:15030::0:0:Nagios pseudo-user:/var/spool/nagios:/nonexistent 
  Separator has changed from a '+' to a '\' (Wish somebody would stop doing 
 that, heck on a SuSe Machine, it once was an 'm' that one baffled me.) Unless 
 of 
 course I'm thinking of something else, but still why did it go from TEL+ to 
 TEL\? 
  Samba 3.0.5 wbinfo -g reports: 
  TEL+Exchange Domain Servers 
  Samba 3.0.11 wbinfo -g reports: 
  TEL\exchange domain servers 
  Oh, and most importantly... Thanks for helping with that CVS thing. Worked 
 great. My working system allows me to do the things I do while the 3.0.11 
 just 
 drives me nutso. I'm thinking of trying 3.0.5 on the other system to see if 
 it 
 is behaving. But not just yet. 
  uname -a reports (holding off upgrading the world for the moment): 
  FreeBSD oracle.internal.qualmax.net 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri 
 Nov 5 04:19:18 UTC 2004 
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 
  
  Here's my smb.conf (System is acting as a domain member) for 3.0.11 
  [global] 
  workgroup = INTERNAL 
  netbios name = ORACLE 
  server string = %h server (Samba %v) 
  security = DOMAIN 
  username map = /usr/local/etc/username.map 
  load printers = yes 
  printcap name = cups 
  printing = cups 
  show add printer wizard = No 
  idmap uid = 15000-2 
  idmap gid = 15000-2 
  winbind use default domain = Yes 
  use sendfile = Yes 
  log file = /var/log/samba/log.%m 
  max log size = 50 
  socket options = TCP_NODELAY 
  dns proxy = no 
  # Share Definitions 
  == 
  [homes] 
  comment = Home Directories 
  browseable = no 
  writable = yes 
  # NOTE: If you have a BSD-style print system there is no need to 
  # specifically define each individual printer 
  [printers] 
  comment = All Printers 
  path = /var/spool/samba 
  browseable = no 
  # Set public = yes to allow user 'guest account' to print 
  guest ok = no 
  writable = no 
  printable = yes 
 
 hi, 
 
 here are some short notes for the points you mentioned. 
 
 - - getent missing 
 there is no Fedora or SuSE like getent in FreeBSD! 
 but you can use pw(8) to show all available users 
 - --- 
 prompt pw usershow -a 
 - --- 
 if you think the samba documentation needs updating in this section, 
 please report it to the samba team. 
 
 - - winbind separator change from + to \ 
 there is an smb.conf(5) option to change it back to + 
 the smb.conf(5) manpage says: 
 - --- 
 Please note that setting this parameter to + causes problems 
 with group membership at least on glibc systems, as the character + is 
 used as a special character for NIS in /etc/group. 
 - --- 
 if it was sometimes an m on SuSE system, it was due to modifications made 
 by the SuSE people. neither the samba team nor FreeBSD has anything to do 
 with it. 
 
 - - username map option 
 you should carefully read the smb.conf(5) manpage as there where some 
 changes around samba-3.0.8 in this area. 
 you should also read the Release Notes for samba-3.0.8 for clarification. 
 
 - - nagios account 
 the account with this uid comes from installing the net-mgmt/nagios port 
 the uid is automatically generated, but you can simply change it and 
 chown(8) all files and diretories belonging to the old uid to the new one. 
 
 - - file deletion using the WinXP box 
 i will not try to analyze this until you have taken the above comments 
 into account. 
 
 Joerg 
Hmm for the winbind separator, didn't know that. I figure if I did wbinfo -g 
and it had either a + or a \ then that's what I was also suppose to put in the 
smb.conf. Dunno why, must have been reading the docs and figured if that's what 
they put then that's 

Re: no flames, please.

2005-03-11 Thread Gary Kline
 
 Found this for ya.
 http://www.pperry.f2s.com/linux-dualboot.htm

 looks promising, thanks.  GRUB seemed wedged at 32G; I don't know
 about LILO or the default FBSD loader... 


-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: no flames, please.

2005-03-11 Thread Gary Kline
On Fri, Mar 11, 2005 at 08:50:21PM +, RW wrote:
 On Friday 11 March 2005 20:25, Gary Kline wrote:
 
  a better flavor on Linux that I should consider?
 
 I've not tried it yet, but I like the look of:
 
 http://www.ubuntulinux.org/
 
 
 It's based on Debian but aims to update several times a year instead of once 
 every several years.  Also updates are done online rather that via a stack of 
 disks. 
 
 Gentoo's good too, but it's relatively high maintainence.
 

Well, my druthers are havibg a click-and-everything-is-done
Linux.  (Then having webmin show me howto do most of the 
admin chores.)

Be nice if I could buy a started CD of this new (*gasp*,
umpteenth distro of Linux!)  But I'm all for online updates.

gary



-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: no flames, please.

2005-03-11 Thread Don Tyson
I am running XandrOS Linux on an old Digital PC box. It is almost
scarily Windows-like, but installs in a snap and, if you buy the 
full edition, comes with Crossover Office for all the Windows
applications you can't wait to run. On another test box (a Dell), MS Office
ran just fine under XandrOS Linux and Crossover Office.

It updates just like Windows Update (which is good or bad, depending
on your point of view).

Don

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


Re: error compiling cvs kernel 4.11.0

2005-03-11 Thread Kris Kennaway
On Sat, Mar 12, 2005 at 12:38:48AM +0100, .VWV. wrote:
 
 Hello.
 
 I got kernel 4.11.0 sources by means of cvsup. Tags were either RELENG_4 or
 RELENG_4_11_0_RELEASE. I have tried to compile GENERIC, but an error about
 'crypto' has stopped me. I enclose the relevant logs.

You probably didn't cvsup the entire src/sys tree.  Use the src-all
collection or compare your cvsup carefully to the documentation and
example files.

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


Incorrect geometry

2005-03-11 Thread Mike Loiterman
 
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

When I do a new install of FreeBSD 5.3-RELEASE I get an error saying the
drive geometry is incorrect.  In the next screen, I put in the correct
geometry, as reported by the BIOS, but after I hit q, I get the same error.

The drive is a brand new 160 SATA Segate.  The geometry FreeBSD suggests
yield 152 Gigs, slices correctly and functions perfectly.  I'm plannning on
reformating anyway as this is only a test run, but do I need to be
conserned about the error?

- --
Mike Loiterman
grantADLER
Tel: 630-302-4944
Fax: 773-442-0992
Email: [EMAIL PROTECTED]
PGP Key: 0xD1B9D18E

-BEGIN PGP SIGNATURE-
Version: PGP 8.1

iQA/AwUBQjIwn2jZbUnRudGOEQLIQwCdF8XAOxDEPJ0HtCQrwUpJMuhJ8u4Ani+M
RKEnJ+qPARPSXH6SXuIrq7Ir
=zBSp
-END PGP SIGNATURE-

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


Requirements for FreeBSD CDROM and DVD Publishers

2005-03-11 Thread store
Hello,

I currently own a site that offers Debian and NetBSD CD-ROM sets for sale.  I am
interested in becoming a FreeBSD CD-ROM publisher and offering a FreeBSD
5.3-RELEASE CD-ROM set for the i386 architecture for sale on my site.  Are there
any specific requirements I would need to fulfill in order to do this?

My website is located at:  http://teknikalsoul.com. 

Here is my contact information:

--
David Pang  [EMAIL PROTECTED] 

V:  415.310.3951

1767 33rd Avenue, San Francisco, CA 94122, United States







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


Re: minicom and ugen

2005-03-11 Thread Paulo Roberto
Hello Emanuel,

THanks for your help. My usbdevs -v:

Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x),
Intel(0x), rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb1:
addr 1: full speed, self powered, config 1, UHCI root hub(0x),
Intel(0x), rev 1.00
 port 1 powered
 port 2 addr 3: full speed, power 90 mA, config 1, USB -
Serial(0x6001), FTDI(0x0403), rev 4.00
Controller /dev/usb2:
addr 1: full speed, self powered, config 1, UHCI root hub(0x),
Intel(0x), rev 1.00
 port 1 powered
 port 2 powered

I am not really sure what my device is. I kldloaded all 3 modules you
suggested, but nothing different came up in /var/log/messages.

Paulo

--- Emanuel Strobl [EMAIL PROTECTED] wrote:

 Am Freitag, 11. März 2005 17:33 schrieb Paulo Roberto:
  Hello,
 
  I am not able to use a usb/serial converter with minicom. I loaded
 ucom
  and uplcom, but only ugen messages are printed on the console.
 
  ugen0: FTDI USB - Serial, rev 1.10/4.00, addr 2
 
  I tried ugen0, ugen0.1 and ugen0.2 with no success.
 
 What does usbdevs -v say?
 
 Perhaps you have a umct(4) or uftdi(4) or uvscom(4) and no uplcom
 adapter.
 
 -Harry




__ 
Do you Yahoo!? 
Make Yahoo! your home page 
http://www.yahoo.com/r/hs
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


bash restricted shell

2005-03-11 Thread doug
On a standard 4.11 install /usr/local/bin/bash = v2.04. rbash does not exist. So
I added it as an sh script. This works okay in that normal things I tried do not
break out. This is probably good enough for the users I would give this shell
to. My question is basically: what is the right way to do this?

I can not find syntax for shopt and the various forms of set I tried either get
a syntax error or do not invoke bash as a restricted shell.

Thanks for any thoughts

_
Douglas Denault
http://www.safeport.com
[EMAIL PROTECTED]
Voice: 301-469-8766
  Fax: 301-469-0601
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: no flames, please.

2005-03-11 Thread Gary Kline
On Fri, Mar 11, 2005 at 05:49:24PM -0500, Don Tyson wrote:
 I am running XandrOS Linux on an old Digital PC box. It is almost
 scarily Windows-like, but installs in a snap and, if you buy the 
 full edition, comes with Crossover Office for all the Windows
 applications you can't wait to run. On another test box (a Dell), MS Office
 ran just fine under XandrOS Linux and Crossover Office.
 
 It updates just like Windows Update (which is good or bad, depending
 on your point of view).
 

Or maybe you mean: All the Windows apps you can't wait to
have crash and burn!!  Can you run this flavor of Linux
and dual-boot FBSD?  About the *only* thing I want to use
Win for is the billions and billions of CD apps.  Like 
French, and make your own greeting cards and maybe a 
few classic card/board games.  

gary

PS:  When did DEC ever have a PeeCee?  I remember their 
11/* machines fondly; the next thing I knew they got
bought out by a PC firm.  

-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: no flames, please.

2005-03-11 Thread Chad Leigh -- Shire . Net LLC
On Mar 11, 2005, at 5:59 PM, Gary Kline wrote:
PS:  When did DEC ever have a PeeCee?  I remember their
11/* machines fondly; the next thing I knew they got
bought out by a PC firm.
DEC had lots of PCs.  Desktops, laptops. etc.  Even SAMs club had DEC 
PCs.

They started off with their proprietary Pros and Rainbows, then went to 
industry standard PCs once the BIOSes had been legally cloned.  Part of 
their PC work was with Olivetti.

This page lists a few of them:
http://h18000.www1.hp.com/legacysupport/digital/retired.html
best
Chad
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: no flames, please.

2005-03-11 Thread Don Tyson
 On Fri, Mar 11, 2005 at 05:49:24PM -0500, Don Tyson wrote:
  I am running XandrOS Linux on an old Digital PC box. It is almost
  scarily Windows-like, but installs in a snap and, if you buy the 
  full edition, comes with Crossover Office for all the Windows
  applications you can't wait to run. On another test box (a Dell), MS Office
  ran just fine under XandrOS Linux and Crossover Office.
  
  It updates just like Windows Update (which is good or bad, depending
  on your point of view).
  
 
   Or maybe you mean: All the Windows apps you can't wait to
   have crash and burn!!  Can you run this flavor of Linux
   and dual-boot FBSD?  About the *only* thing I want to use
   Win for is the billions and billions of CD apps.  Like 
   French, and make your own greeting cards and maybe a 
   few classic card/board games.  
 
   gary
 
   PS:  When did DEC ever have a PeeCee?  I remember their 
   11/* machines fondly; the next thing I knew they got
   bought out by a PC firm.  

It's a Digital 5000 with a PII. As for Windows apps, I understand that
the simpler they are the better they run; I've tried Quicken and
Windows Media Player with no problems; MS Office
won't load on this box, although it ran on the Dell.

I understand Crossover Office is simply a
tweaked version of Wine. XandrOS has a list of Windows stuff they've
tested.  Their X desktop is a slimmed-down version of KDE. 

I haven't dual-booted this particular Linux, but I don't know why you
couldn't. You don't need a Windows OS to use Crossover Office; it will
create its own fake C: drive when installed. It comes with Lilo and
maybe Grub, I think, but you can always use the FreeBSD boot manager as well.

For what it's worth, Digital 5000s are available, or were last year,
on eBay for around $30; without hard drives. Shipping was about double
that. 

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


Re: no flames, please.

2005-03-11 Thread Gary Kline
On Fri, Mar 11, 2005 at 06:24:10PM -0700, Chad Leigh -- Shire.Net LLC wrote:
 
 On Mar 11, 2005, at 5:59 PM, Gary Kline wrote:
 
  PS:  When did DEC ever have a PeeCee?  I remember their
  11/* machines fondly; the next thing I knew they got
  bought out by a PC firm.
 
 
 DEC had lots of PCs.  Desktops, laptops. etc.  Even SAMs club had DEC 
 PCs.
 
 They started off with their proprietary Pros and Rainbows, then went to 
 industry standard PCs once the BIOSes had been legally cloned.  Part of 
 their PC work was with Olivetti.

Wasn't it DEC that crreated the early 64-bit Alpha??
Or was this afteer they were sold down the river to
was it Compac??  I didn't know DEC was selling Intel
PCs.  
 
 This page lists a few of them:
 
 http://h18000.www1.hp.com/legacysupport/digital/retired.html
 

I'll  check it out, thanks.  It's interesting to see which
organizations produce winning products and which wind up
as food for larger fish.

Getting back to which (if any) Linux is worth bothering
with, this is www.ubuntulinux.org has for their lead paragraph.

QUOTE
Ubuntu is an ancient African word, meaning humanity to
others. Ubuntu also means I am what I am because of who we all
are. The Ubuntu Linux distribution brings the spirit of Ubuntu
to the software world. 
/QUOTE

This sounds a lot like FreeBSD; it's an ethic I can get 
behind.  Worth checking out.


thanks to the entire group!

gary




 

-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: no flames, please.

2005-03-11 Thread Chad Leigh -- Shire . Net LLC
On Mar 11, 2005, at 7:24 PM, Gary Kline wrote:
On Fri, Mar 11, 2005 at 06:24:10PM -0700, Chad Leigh -- Shire.Net LLC 
wrote:
On Mar 11, 2005, at 5:59 PM, Gary Kline wrote:
PS:  When did DEC ever have a PeeCee?  I remember their
11/* machines fondly; the next thing I knew they got
bought out by a PC firm.
DEC had lots of PCs.  Desktops, laptops. etc.  Even SAMs club had DEC
PCs.
They started off with their proprietary Pros and Rainbows, then went 
to
industry standard PCs once the BIOSes had been legally cloned.  Part 
of
their PC work was with Olivetti.
Wasn't it DEC that crreated the early 64-bit Alpha??
Or was this afteer they were sold down the river to
was it Compac??  I didn't know DEC was selling Intel
PCs.
Yes, the Alpha was a DEC product.
My dad worked at DEC from 76 through around  92 and I worked there 
88-93 as well as two summers in 84 and 85.  Until Ken Olsen left and 
things started to fall apart, I was ready to work there my whole life.

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


Re: no flames, please.

2005-03-11 Thread Kevin Kinsey
Don Tyson wrote:
I am running XandrOS Linux on an old Digital PC box. It is almost
scarily Windows-like, but installs in a snap and, if you buy the 
full edition, comes with Crossover Office for all the Windows
applications you can't wait to run. On another test box (a Dell), MS Office
ran just fine under XandrOS Linux and Crossover Office.
 

That's cool, but isn't it an, um, offense or, um, whatever to that 
lon^H^Hittle
thingy that you, um, click, that says, umm, youse lick my end, agree*
or is called a Yule-something (Merry Christmas to Mickey$oft?) when
you destabilize the system installer?

Could be a rumor, I guess.
Jus' trolling :-)
Kevin Kinsey
* Umm, woops!  End User License Agreement, I see now it sez
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: bash restricted shell

2005-03-11 Thread Giorgos Keramidas
On 2005-03-11 19:53, [EMAIL PROTECTED] wrote:
 On a standard 4.11 install /usr/local/bin/bash = v2.04. rbash does not
 exist. So I added it as an sh script. This works okay in that normal
 things I tried do not break out. This is probably good enough for the
 users I would give this shell to. My question is basically: what is
 the right way to do this?

Create a /usr/local/bin/rbash script containing the following lines:

#!/usr/local/bin/bash
exec /usr/local/bin/bash --login --restricted $@

The initial #! line is necessary, in my opinion, because having it there
means you don't need to depend on the fact that shell scripts do accept
options on the #! line.

Set the permissions and owner of the new script and add it to /etc/shells:

% chmod 0555 /usr/local/bin/rbash
% chown root:wheel /usr/local/bin/rbash
% echo '/usr/local/bin/rbash'  /etc/shells

Than you should be able to use '/usr/local/bin/rbash' as the login shell
of a user and have the user restricted in the HOME directory.

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


  1   2   >