Re: Local (UNIX domain) Socket understanding /Jail

2004-04-23 Thread Konrad Heuer

On Fri, 23 Apr 2004, Harald Schmalzbauer wrote:

 can anybody point me to some info which can help me understand local sockets
 (=? UNIX Domain sockets?)?
 I have the problem that I can't get milter work in a jail and I suspect
 the /var/run/milter.sock socket but don't really understand what it is and
 how it works.

/usr/share/doc/psd/20.ipctut/paper.ascii.gz may help.

Regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany

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


Re: Dlink DSL router doesn't like FreeBSD

2004-05-14 Thread Konrad Heuer

On Fri, 14 May 2004, Walter C. Pelissero wrote:

 I'm trying to make work a D-Link 504T DSL router/switch with FreeBSD
 5.2.1-RELEASE-p6.

 I've already realised that IPv6 is not supported by the router so I
 compiled an IPv4-only kernel and got to work DNS, HTTP, and FTP.

 My problem is that ssh and telnet don't work.  I get as far as the
 Password prompt, I type it in, and then ssh freezes for a couple of
 minutes until it probably goes in timeout and gives up.

 The D-Link help desk is useless; the only thing they suggested was to
 return the router to where I bought it.  I've anyhow the impression
 that the problem might not completely be the router's fault.  In fact
 I plugged a Windoze machine, installed PuTTY, and ssh seems to work
 flawlessly.

 What am I missing here?

I'd try two things:

1) ssh -vvv [EMAIL PROTECTED]
2) tcpdump -vv  (while trying to connect by telnet or ssh)

You might have a chance to see where problems occur. Or to repost your
question with relevant sections of the output included.

Best regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany

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


Re: converting ext3 to ffs

2003-09-24 Thread Konrad Heuer
On Tue, 23 Sep 2003, dave wrote:

 Does anyone know if it's possible to convert an ext3 partition to an ffs
 partition? And if so, is it possible to do it without data loss?
 Thanks.
 Dave.

I don't know any tool for that, and I hardly can imagine that it's
possible. I'd prefer to backup the data by using tar, to create a new ffs
in that partition and to restore the data.

Regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: exe order in /usr/local/etc/rc.d

2003-10-16 Thread Konrad Heuer

On Thu, 16 Oct 2003, RJ45 wrote:


 I have never understood in which order are execurted the scripts which are
 in /usr/local/etc/rc.d

 most port applications like mysqld, cyrus-imapd, spamd etc. put their
 startup scripts into /usr/local/etc/rc.d but they are not ordered by a
 number attached before the script name (like the Unix SysV style)

 anyone has some hint about this ?
 How can I Set the startup order into /usr/local/etc/rc.d

The scripts are started from /etc/rc; the code fragement looks like:

for dir in ${local_startup}; do
if [ -d ${dir} ]; then
for script in ${dir}/*.sh; do

slist=${slist}${script_name_sep}${script}
done
fi
done
script_save_sep=$IFS
IFS=${script_name_sep}
for script in ${slist}; do
if [ -x ${script} ]; then
(set -T
trap 'exit 1' 2
${script} start)
elif [ -f ${script} -o -L ${script} ]; then
echo -n  (skipping ${script##*/}, not
executable)
fi
done
IFS=${script_save_sep}
echo '.'

Thus the scripts are executed in alphabetic order.

Regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 4.8-RELEASE: Gigabit Ethernet support on Dell PowerEdge 1750

2003-10-22 Thread Konrad Heuer

On Wed, 22 Oct 2003, Andrew Cleland wrote:

 I'm trying and failing to get 4.8-RELEASE to recognise the two Broadcom
 5704C based NICs on a Dell PowerEdge 1750 server.

 I've recompiled the kernel with 'device miibus' and 'device bge' with no
 problems, and the system boots OK, but the two NICs appear as
 unrecognised devices when booting, and no sign of them appearing as
 network interfaces...

 From googling around it looks like they work fine with 5.1, but I don't
 really want to run 5.1 on a production server yet.

I've three DELL PE 2650 running with 4.8-R; the Broadcom cards work fine.
While booting, the kernel reports:

bge0: Ethernet address: 00:10:18:02:43:07
miibus0: MII bus on bge0
brgphy0: BCM5701 10/100/1000baseTX PHY on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX,
1000baseTX-FDX, auto

The kernel config file contains nothing but

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these
NICs!
device  miibus  # MII bus support
device  bge # Broadcom BCM570x (``Tigon III'')

regarding the NICs.

Are you sure the NICs aren't disabled in the BIOS setup? Sorry for using
the word 'Linux', but I'm not fanatic. Maybe you could try to boot a Linux
kernel from CD (Knoppix or so?) and watch what happens?

Regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany


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


Re: Open Files

2003-10-27 Thread Konrad Heuer

On Mon, 27 Oct 2003, Woolworth,Derrick wrote:

 I am having difficulty with one system - FreeBSD 4.8

 After a couple of days, the system continually reports that there are too
 many files open.  At that time I cannot ssh into the system or ftp, etc.
 obviously, the kern.maxfiles is too low.

 However, I have continually increased the number of max files - actually
 both:

 kern.maxfiles = 65535
 kern.maxfilesperproc = 65535

 The system is running 141 processes on average, which isn't terrible in my
 opinion.  Most of these are Apache 1.3.27, MySQL 4.1.0-alpha, Courier mail
 system, and a couple of applications my firm has written ourselves.

 The question is really, is there a way to examine how many files are open on
 a per process basis?  I know we can monitor the number of open files with
 pstat -T, but this doesn't help us troubleshoot which application is
 responsible for this large number of open files.

 The processes that we are building are daemons that are pre-forked - none
 seem to be crashing, and we've checked the open/close calls as closely as
 possible.

 Also, does anyone know of a bug in MySQL or mod_php4 (4.3.4.r1) or Courier
 0.43.0 that would cause files to be opened and not closed?

I'd suggest lsof from /usr/ports/sysutils/lsof which listens all open
files in the system.

Regards
Konrad

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany



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


QLogic 133 MHz FCA

2003-11-03 Thread Konrad Heuer

I'd like to know whether somebody has a 4.x or 5.x system running with a
133 MHz PCI bus Qlogic fibre channel adapter. Which model is used, and how
well does it perform?

Thanks for any reply.
Best regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD have a very low default file handle limit?

2003-11-04 Thread Konrad Heuer

On Tue, 4 Nov 2003, Zhang Weiwu wrote:

 I am reading the MySQL manual for 4.4.1-alpha where it said:

 FreeBSD is also known to have a very low default file handle limit.
 (Section 2.4.6.1)

 I check the limit by using:

  sh -c ulimit -n

 
 unlimited

 Though I don't know if this is the correct way to check default file
 handle limit, but it looks like FreeBSD does not have a very low
 default file handle limit?

I'd check the internal kernel limits, too:

sysctl kern.maxfiles
sysctl kern.maxfilesperproc

You can rise them by entering:

sysctl -w kern.maxfiles=the_number_you_need
sysctl -w kern.maxfilesperproc=the_number_you_need

Regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany

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


Re: which linux? (not flame bait, thank you)

2003-11-04 Thread Konrad Heuer

On Tue, 4 Nov 2003, DavidB wrote:

 First I would like to say that FreeBSD rocks, and have been using it for
   more than a few years.  I like the ports system, I like compiling from
 source so I can get the compile time features I want.  Portupgrade
 really helps with maintaining ports.

 My question is this, I would like to have a little exposure to linux and
 am wondering which distro to run, I used redhat back at the same time I
 started with FreeBSD3~ , not sure if I should check them out.

 I had in my list of potentials, slackware, debian, and I was wondering
 what was thought of gentoo(I read that this was started by a former?
 freebsd developer)[I hope there is no bad blood there].

 I didn't want to go thru a list, installing and playing with several
 different ones, don't have time for that, I still have to upgrade the
 webserver/mailserver/database box and the desktop box to 4.9 [not much
 to that] or wondering if I should just jump into RELENG_5_1 (I like to
 keep my server and desktop running with the same versions, so I can swap
 the desktop in place of the server should the server box fail, call it
 cheap insurance).

 So is there any particular distro that stands out to freebsd types, so I
 can check one out, so in a pinch, if I need to setup a linux box for
 some strange reason I could do so.

 Not here to start a religious war, I hope people have calmed down on
 that, but just one simple, perhaps, stupid question.

 Thanks,
 Dave

Although its popularity isn't as it was years ago I still like slackware.
It is a BSD oriented distribution and its way of administration is
familiar for FreeBSD admins. That's my opinion.

Best regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany

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


Re: Trouble with a DLT7000 tape drive

2003-11-04 Thread Konrad Heuer

On Tue, 4 Nov 2003, Jason Lavigne wrote:

 I have found some errors that I get on my tape drive. I am wondering if
 anyone would know if this is SCSI card, cable, tape drive or tape issue,
 or maybe something different all together. I am using DLT Type-IV tapes
 and this is on a FreeBSD 4.7-RELEASE system.

 TIA,

 Jay

 dmesg output

 ahc0: Adaptec 2902/04/10/15/20/30C SCSI adapter port 0xdc00-0xdcff mem
 0xd000-0xdfff irq 11 at device 18.0 on pci0
 aic7850: Single Channel A, SCSI Id=7, 3/253 SCBs
 sa0 at ahc0 bus 0 target 1 lun 0
 sa0: QUANTUM DLT7000 2565 Removable Sequential Access SCSI-2 device
 sa0: 10.000MB/s transfers (10.000MHz, offset 15)
 ch0 at ahc0 bus 0 target 3 lun 0
 ch0: ADIC VLS DLT 0305 Removable Changer SCSI-2 device
 ch0: 3.300MB/s transfers
 ch0: 7 slots, 1 drive, 1 picker, 1 portal
 (sa0:ahc0:0:1:0): WRITE FILEMARKS. CDB: 10 0 0 0 2 0
 (sa0:ahc0:0:1:0): MEDIUM ERROR info:2 csi:0,0,1,40 asc:c,0
 (sa0:ahc0:0:1:0): Write error
 (sa0:ahc0:0:1:0): failed to write terminating filemark(s)
 (sa0:ahc0:0:1:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 0 0
 (sa0:ahc0:0:1:0): ABORTED COMMAND info:a000 csi:0,0,1,40 asc:44,89
 (sa0:ahc0:0:1:0): Vendor Specific ASCQ
 (sa0:ahc0:0:1:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 0 0
 (sa0:ahc0:0:1:0): ABORTED COMMAND csi:0,0,1,40 asc:44,89
 (sa0:ahc0:0:1:0): Vendor Specific ASCQ
 (sa0:ahc0:0:1:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 0 0
 (sa0:ahc0:0:1:0): ABORTED COMMAND info:a000 csi:0,0,1,40 asc:44,89
 (sa0:ahc0:0:1:0): Vendor Specific ASCQ
 (sa0:ahc0:0:1:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 0 0
 (sa0:ahc0:0:1:0): ABORTED COMMAND info:2000 csi:0,0,1,40 asc:44,89
 (sa0:ahc0:0:1:0): Vendor Specific ASCQ
 (sa0:ahc0:0:1:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 0 0
 (sa0:ahc0:0:1:0): ABORTED COMMAND csi:0,0,1,40 asc:44,89
 (sa0:ahc0:0:1:0): Vendor Specific ASCQ
 (sa0:ahc0:0:1:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 0 0
 (sa0:ahc0:0:1:0): ABORTED COMMAND info:a000 csi:0,0,1,40 asc:44,89
 (sa0:ahc0:0:1:0): Vendor Specific ASCQ
 (sa0:ahc0:0:1:0): tape is now frozen- use an OFFLINE, REWIND or MTEOM
 command to clear this state.

I had a similar problem with my DLT4000 drive. It was caused by unsuitable
media. Although the tapes seemed to be suitable for DLT4000 drives there
were preformatted in some kind; I bought tapes from diffferent
manufacturer, and they do fine.

I studied the documentation of my drive which explains the Vendor
Specific ASCQ im some way so that I got the idea to use other tapes.

Best regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany

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


VMware 3 crashes 5.2 system

2004-01-21 Thread Konrad Heuer

Does anyone successfully run VMware 3 on 5.2-R? After upgrading from 5.1-R
to 5.2-R my system crashes shortly after VMware begins to initialize.

The modules vmmon etc. have been rebuild after the upgrade.

Thanks for any hint.

Konrad

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Freebsd Server Reboots every so often

2004-01-27 Thread Konrad Heuer

On Wed, 5 Nov 2003, chris souza wrote:

 My server keeps rebooting every so often. I'm running

 FreeBSD 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Wed May  1
 21:54:31 GMT
 2002

 Here are the messages from my logs, any help would be
 appreciated. Thanks
 Chris



 Nov  4 19:25:12 ns /kernel: ad0s1f: hard error reading
 fsbn 51718335 of
 22787136-22787150 (ad0s1 bn 51718335; cn 3219 tn 80 sn
 60) status=59
 error=40
 Nov  4 19:25:12 ns /kernel:
 spec_getpages:(#ad/0x20005) I/O read
 failure: (error=5) bp 0xc50828d4 vp 0xcaf02b40
 Nov  4 19:25:12 ns /kernel: size: 7680, resid: 7680,
 a_count: 7616,
 valid: 0x0
 Nov  4 19:25:12 ns /kernel: nread: 0, reqpage: 0,
 pindex: 0, pcount: 2
 Nov  4 19:25:12 ns /kernel: vm_fault: pager read
 error, pid 1346
 (httpd)
 [..snip..]

I think your hard disk has bad sectors; maybe it will completely stop
working soon.

As far as I can see, the operating system fails while trying to page in
from the text segment of httpd which resides in the file system on ad0s1f.

I would buy a new hard disk and copy your data before it's too late.

Best regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany


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


Re: nss_ldap

2004-02-04 Thread Konrad Heuer
On Tue, 3 Feb 2004, Andrea Venturoli wrote:

 Hello. I've installed the above on FreeBSD 5.1 and it's more or less
 working; however when i do ls -l I don't see user names, but uid
 numbers. Any fix?

You need to run 5.2-RELEASE. In 5.1 the binaries in /bin and /sbin are
still statically linked and thus don't make use of LDAP user information.

Regards
Konrad

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Locked Up

2004-02-13 Thread Konrad Heuer

On Fri, 13 Feb 2004, Loren M. Lang wrote:

 I have been using FreeBSD 4.9 on a Compaq Presario laptop for about 3
 1/2 months now without any troubles, and before that RedHat Linux for
 about a year and a half.  Just yesterday morning though I awoke to find
 my system completely frozen, no screensaver was on, but I couldn't move
 the mouse pointer, switch vcs, or ssh in, though, strangely enough I
 could ping it.  Is there anything I can do now to try and figure out why
 it might of crashed or is there any possible cause?

I notice such phenomena from time to time, too. I don't know why it
happens, maybe because of insufficient kernel resources or driver problems
or hardware failures. ping is still possible in most of these cases since
response happens on a relative low level.

 Also, on reboot, I notice fsck took a considerable time to check the
 disk, though nothing major was found that interrupted the boot process.
 Is this because FreeBSD doesn't use a journalling filesystem?  I think I
 read somewhere that FreeBSD chose to use a filesystem with soft updates
 over a journalling one because it provides relatively equal data integrity
 compared to a journalling one, but is more efficient with the order of
 writing data, but does this mean that FreeBSD will always take longer to
 recover from a crash?

Beginning with FreeBSD 5.0, it is possible to mount a filesystem
immediatly even if it is dirty, caused by a crash. The file system check
will be delayed for some time till the system is running. That's possible
because soft updates also help to minimize the relevancy of
inconsistencies. In FreeBSD 4.9 and earlier, a filesystem check is
inevitable if the file system is dirty.

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany

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


Re: can't boot linux after installing FBSD 5.2

2004-02-25 Thread Konrad Heuer

On Tue, 24 Feb 2004, John wrote:

 i have a mandrax linux 9.2 installed on a IBM ThinkPad
 24x, but now I can't boot it after I install FBSD 5.2.

 I can still see the FBSD boot manager displaying F1 F2
 for the two linux partitions, but they can't be
 booted.

Probably you wrote lilo boot manager code into the master boot record
before you installed FreeBSD. You have to boot Linux from floppy or CD now
once; then you have to install lilo into the Linux root partition. After
that, you should be able to boot your Linux system by the FreeBSD boot
manager.

Regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OpenLdap client

2004-02-29 Thread Konrad Heuer

On Sun, 29 Feb 2004 [EMAIL PROTECTED] wrote:

 Hello;
 My FreeBSD 4.9 server has to authenticate it's users through Openldap
 client from a Linux server. I have installed openldap-client-2.1.22 and
 pam_ldap-1.6.4. The ldapsearch gives the correct answer when it is
 invoked with necessary arguments.
 I tried to configure pam.conf so that is uses pam_ldap.so for
 authentication and I tested many cases ( changing the arguments and
 things like this) but nobody can log in. I want to know if other things
 except pam.conf must be configured and if pam.conf must be configured can
 anybody send me a sample.

Sorry to say, but FreeBSD 4.9 doesn't support LDAP the way you want. You
can authenticate users with pam_ldap for other purposes, but not for a
shell login. 4.9 still lacks nss support which is essential.

5.2-RELEASE which is completely dynamically linked is the first release
with full ldap login support.

Best regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Networking problem

2004-03-04 Thread Konrad Heuer

On Thu, 4 Mar 2004, Kathy Quinlan wrote:

 I have a friend who can not get his FreeBSD 5.2 server to act as a
 gateway, from the internal network we can ping the external network
 card, but no further. From the server we can ping the entire world.

 I had him bring it over and set up my server (FreeBSD 4.8R as the
 gateway) so I now have:

 ISPMy Server---his Server---laptop

 From the laptop I can ping as far as the external nic on his server.
 From his server I can ping the world.

 I have googled, looked at the mailing list, but can not find the problem
 :o( I have re installed the server, incase he goofed up, same problem, I
 have swapped the external network card, same problem.

 Netstat -rn shows the default gateway (as my server)

 In rc.conf it has gateway_enable=YES

 I am out of ideas

What IP addresses are used within the internal network? If you use
addresses like 10., 172.16.-172.31. or 192.168.1.-191.168.254., you should
use natd instead of routed on the server connected to the world outside.

Regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany

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


Re: Dell 2650 config for FreeBSD 4.9

2004-03-21 Thread Konrad Heuer

On Sat, 20 Mar 2004, Dave wrote:

 We are in the position to have to replace an intel ISP1100 which has
 been running as our primary server for some time. As a potential
 replacement we are looking at a Dell 2650 dual processor raid5 server,
 specs below.   Up until now, the ISP1100 with a P3 800 and 1GB of PC100
 RAM has been handling the load like a fine workhorse, but anything
 purhcased now is well beyond those specs.  Does anyone have any first
 hand experiences, caveats, warnings, or commendations for this server if
 it is to use FreeBSD 4.9 as a dns/radius/website with extensive
 PostgreSQL database usage.

 PowerEdge 2650
 Processor 2x Intel Xeon 2.4GHz
 Memory 1.0GB DDR, 2X512 DIMMS
 Hard Drive Backplane 5 Bay (1x5) Hot Plug SCSI Hard Drive Backplane
 Hard Drive Configuration On-Board RAID 5
 1st Hard Drive 18GB 15K RPM Ultra 320 SCSI
 2nd Hard Drive 18GB 15K RPM Ultra 320 SCSI
 3rd Hard Drive 18GB 15K RPM Ultra 320 SCSI
 4th Hard Drive 18GB 15K RPM Ultra 320 SCSI
 5th Hard Drive 18GB 15K RPM Ultra 320 SCSI
 Primary Controller PERC3-DI, 128MB Battery Backed Cache, 2 Internal Ch-
 Embedded RAID
 Floppy Drive 1.44MB Diskette Drive
 First Network Adapter Intel Pro 100S NIC w/ or w/o IP SEC Encryption
 Optical Device 24X IDE Internal CD ROM
 Power Supplies Redundant Power Supply, without Y-cord
 Rack Rails VersaRails for Non-Dell 4-Post Rack

I've two similar 2650 systems (diffferences are: 5x73 GB RAID 5, Broadcom
Gigabit Ethernet) running FreeBSD 4.9 without any problem.

Regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany

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


Re: how to delay sendmail start?

2004-03-29 Thread Konrad Heuer

On Mon, 29 Mar 2004, Octavian Hornoiu wrote:

 I would like to delay sendmail starting until AFTER my local daemons
 start.  Is there a way to do this or is it built into the base system.
 Could I set SENDMAIL=NO in rc.conf and then write a script in local to
 start the sendmail daemon?  The reason I have to do this is because I'm
 using a djbdns cache on the same machine that the machine uses to lookup
 dns records and since it's not running yet when sendmail starts,
 sendmail enters panic mode and does goofy stuff.

As far as I can see you can set

sendmail_enable=NONE

in /etc/rc.conf and copy /etc/rc.sendmail to
/usr/local/etc/rc.d/zzz.sendmail (or whatever else is the last filename
when sorted alphabetically) and modify it a little bit since you have to
reset sendmail_enable in this script to start sendmail in the right way.

Best regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Critical mmap failure?

2004-04-02 Thread Konrad Heuer

I've a couple of systems running FreeBSD 4.9; they all share /usr and
anything below by nfs. There are (at less) two applications that do not
run or do not run correctly on one distinguished system, but correctly on
each other machine.

One application is mozilla; it stops shortly after invocation with the
following error message:

INTERNAL ERROR on Browser End: JavaPluginFactory5 init - no agent?

System error?:: Cannot allocate memory

Analyzing the problem with truss shows an error while mozilla calls
mmap:

mmap(0xbfaef000,65536,0x3,0x400,-1,0x0) ERR#12 'Cannot allocate memory'
mmap(0xbfade000,65536,0x3,0x400,-1,0x0) ERR#12 'Cannot allocate memory'

On the other systems, there are no errors:

mmap(0xbfaef000,65536,0x3,0x400,-1,0x0) = -1079054336 (0xbfaef000)
mmap(0xbfade000,65536,0x3,0x400,-1,0x0) = -1079123968 (0xbfade000)

* Other mmap calls that do not require MAP_STACK (0x400) do not lead to
  errors anywhere.
* All kernels are compiled with -DVM_STACK since this is default on i386.
* The value of the variable vm.max_proc_mmap is not higher on any of the
  systems which do well than on the problematic one.
* The same holds for resource limits.
* The machines in question are all DELL PowerEdge 2650, three with
  RAID controllers, one without. The main difference in hardware is
  that the system on wich the error occurs has 4 GB of memory, the
  others 2 GB. There are no significant differences in the kernel
  configuration files except driver entries for RAID or not.

Any idea that may help is very welcome, since the other application that
fails is a commercial linux binary calling linux mmap frequently and
producing wrong data (possibly the return code of mmap isn't checked).
This application is very important for us, and does not do anything than
reading and writing data and calling mmap.

Best regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: howto

2004-04-07 Thread Konrad Heuer

On Wed, 7 Apr 2004, Jerry Hatok wrote:

 Hello,

I am trying to copy files from a cd I have into my usr directory.
 The cd has one directory with a lot of subdirectories and files.  Is
 there a command that I can copy everything at once? If so what is it?
 If not what would you suggest being the fastest way to copy everything?

cd /to/target/directory
tar cCf /cdrom - . | tar xvpf -

Regards
Konrad Heuer

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


Re: Migrating user accounts from linux to freebsd

2004-04-08 Thread Konrad Heuer

On Thu, 8 Apr 2004, Brian Sheehan wrote:

 I've recently done a fresh installation of freebsd 4.9, and now I want
 to migrate the user accounts from a redhat 9 machine to the new freebsd
 machine, and hopefully keep logins and passwords unchanged. Is this
 possible?

It is possible, but you need to write a shell or perl script to combine
the user entries in the Linux files /etc/passwd and /etc/shadow to one
file having the FreeBSD /etc/master.passwd format. Then you will have to
append your file to /etc/master.passwd an to run pwd_mkdb to build the
data bases.

 Also, what would be the best way to go about moving the users' home
 directories from the linux box to the freebsd one?

I would NFS export the home directories on the Linux box and mount them on
your FreeBSD system. Then you can copy all the files with tar:

tar cCf /path/to/nfs/mount - . | tar xvpCf /path/to/new/home/dirs -

Best regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FBSD 5.2.1 - video card resolution problem

2004-04-16 Thread Konrad Heuer

On Fri, 16 Apr 2004, Brian Henning wrote:

 Greetings:

 I am running bsd 5.2.1 and I installed the nvidia driver from the ports for the
 follwoing video card.

 dmesg

 nvidia0: GeForce2 MX 100/200 mem 0xc000-0xc7ff,0xce00-0xceff
 irq 5 at device 0.0 on pci1

 pciconf results:

  class=0x03 card=0x chip=0x00de rev=0xb2 hdr=0x00
 vendor   = 'NVIDIA Corporation'
 device   = 'GeForce2 MX 100/200 (DDR) [NV11DDR]'
 class= display
 subclass = VGA



 The installation went good, the card was recognized. The problem is the
 resolution doesn't get to my desired setting.

 ..

 Section Monitor
 Identifier Monitor0
 VendorName SUN
 ModelName 574
 HorizSync 30-70
 VertRefresh 50-120
 Option DPMS
 EndSection

 ..

 Section Screen
 Identifier Screen0
 Device Card0
 Monitor Monitor0
 DefaultDepth 24

 SubSection Display
 Depth 24
 Modes 1152x864 1024x768 800x600 640x480
 EndSubSection
 EndSection

 Above are my XF86Config settings but all I get is a resolution of 640x480. Is
 there a way to get a higher resolution with this card?

Take a look at /var/log/XFree86.0.log; it contains a rather voluminous log
written by XFree86. You may find a reason there why modes other than
640x480 are excluded.

Regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Restoring /usr from a remote tape

2003-01-07 Thread Konrad Heuer

On Wed, 8 Jan 2003, Michael C. Cambria wrote:

 Is it possible to restore a local filesystem such as / or /usr
 from a remote tape?

 I'm assuming that one would need to be in single user mode or
 boot from fixit floppy/CD.  So I'm trying to test accessing
 the remote tape from both single user mode or fixit with no
 luck.  I can get the LAN up, and the two machines can ping
 each other.

 Things look like they fail when restore trys to run rsh.

 Before I guess at modifying the fixit floppy or the script in
 the handbook to try to allow for a remote tape restore, I'd
 like to know what others have done.

It is possible by using a fixit CD which is the second one of the four
FreeBSD CDs because all necessary binaries and libraries are available
there. I've done it some time ago; maybe you need to create links from
/usr/bin to /mnt2/usr/bin and /usr/lib to /mnt2/usr/lib to get things
working.

Regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



DELL PowerVault 122T DLT VS80

2003-01-09 Thread Konrad Heuer

Has anyone a DELL PowerVault 122T DLT VS80 tape autoloader up and running
with FreeBSD 4.7?

I don't even need autoload functionality and will load tapes manually,
but can't write data to the tape (could not test reading so far).

The error message when trying to dump is as follows:

Jan  9 14:44:16 gwdu111 /kernel: (sa0:ahc0:0:6:0): WRITE FILEMARKS. CDB:
10 0 0
0 2 0
Jan  9 14:44:16 gwdu111 /kernel: (sa0:ahc0:0:6:0): DATA PROTECT asc:27,82
Jan  9 14:44:16 gwdu111 /kernel: (sa0:ahc0:0:6:0): Vendor Specific ASCQ
Jan  9 14:44:16 gwdu111 /kernel: (sa0:ahc0:0:6:0): failed to write
terminating f
ilemark(s)
Jan  9 14:44:16 gwdu111 /kernel: (sa0:ahc0:0:6:0): tape is now frozen- use
an OF
FLINE, REWIND or MTEOM command to clear this state.
Jan  9 14:44:16 gwdu111 /kernel: (sa0:ahc0:0:6:0): tape is now frozen- use
an OF
FLINE, REWIND or MTEOM command to clear this state.

Seems to be a problem with a vendor specific SCSI extension, afaik.
The tape drive is made by Benchmark.

Thanks for any idea that may help!

Best regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Increasing inodes

2003-01-10 Thread Konrad Heuer

On Fri, 10 Jan 2003, Rus Foster wrote:

 Hi All,
 I've just hit a problem in that I've just tried to compile stuff out of
 ports and hit

 / : create/symlink failed, no inodes free


 df -i show's I've used 98%. Without a newfs is there any way I can
 increase the number of indoes (deleting stuff is not really an option)

 Rgds

Afaik, two possibilities:

1) You need to dump(8) your filesystem, recreate it with a smaller number
   of bytes per inode (newfs -i ...), and restore(8) the data.
2) You could increase the size of your file system by using growfs(8) if
   unused space is left in the disk; the number of inodes will grow, too.

Best regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: How to use Port Collection without cd-rom and internet

2003-01-30 Thread Konrad Heuer

On Thu, 30 Jan 2003 [EMAIL PROTECTED] wrote:

 Hi,

 I have access to the net only from Windows 98 and want to take advantage
 of all the ported apps, but I dont have the sources on cd. Is there a
 way (and where) to download the ported tgz files? I have installed the
 Port Collection and just need the right sources.

 Any help on this subject would be very welcome!
 Scottman

After fetching the source packages manually you must copy them to the
/usr/ports/distfiles directory; some ports use specific subdirectories
within /usr/ports/distfiles.

Regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: question on cups

2003-07-26 Thread Konrad Heuer

On 25 Jul 2003, Zhang, Peng wrote:

 I am running freebsd 4.8 stable, and have cups installed.

 # pkg_info | grep cups
 cups-1.1.19.0   The Common UNIX Printing System: Metaport to install
 comple
 cups-base-1.1.19.0  The Common UNIX Printing System: headers, libs, 
 daemons
 cups-lpr-1.1.19.0   The CUPS BSD and system V compatibility binaries
 (lp* comma
 cups-pstoraster-7.07 GNU Postscript interpreter for CUPS printing to
 non-PS prin

 I copied /usr/local/etc/rc.d/cups.sh.sample to cups.sh, and then ran
 /usr/local/etc/rc.d/cups.sh start

 # /usr/local/etc/rc.d/cups.sh start
 cups: started scheduler.
 However when I ran ps, I got:
 # ps aux | grep cups
 #
 I can not find cupsd process. Why? Any suggestion?

It's sometimes important to verify whether a process is running by
entering

  ps auxww | grep cups

because normal ps output is limited to 80 characters; and in case of
cupsd, the command shown by ps may be something like
/usr/local/sbin/cupsd which may extend beyond column 80.

Don't know whether that's the case here, but may be.

Regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany




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


Re: [NEWBIE] Using external SMTP-Server for mail

2003-07-31 Thread Konrad Heuer

On Thu, 31 Jul 2003 [EMAIL PROTECTED] wrote:

 I've gotta question, which may seem very dumb for some of you, but I really
 need to know.

 How do I set up mail in FreeBSD that it uses an external mail-server? In my
 case I need to send the messages that will send my cron and some apps. But
 our Systemadministrator will does not allow me to use the FreeBSD with sendmail
 as server, he says that I have to use our M$ Exchange as mail server.

 Thank you very much in advance and sorry for the dumb question.

Put the following lines in /etc/rc.conf:

sendmail_enable=NO
sendmail_submit_enable=YES

FreeBSD will then run a sendmail daemon listening on the loopback
interface for mail submission only. This sendmail process will not be
visible from external hosts and will not receive any mail.

Regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany


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


Re: [NEWBIE] Using external SMTP-Server for mail

2003-07-31 Thread Konrad Heuer

On Thu, 31 Jul 2003 [EMAIL PROTECTED] wrote:

  Put the following lines in /etc/rc.conf:
 
  sendmail_enable=NO
  sendmail_submit_enable=YES
 
  FreeBSD will then run a sendmail daemon listening on the loopback
  interface for mail submission only. This sendmail process will not be
  visible from external hosts and will not receive any mail.

 Thx,
 but this does not work. I've already tried it. Or can I tell sendmail to use
 an SMTP-server?

You can try to create the file /etc/mail/mailertable to specify which stmp
server to use for your domain, put a line in there that looks like:

example.org  192.168.1.25

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany


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


Re: SAMBA 2.2.8a, FBSD 4.8 Release Win2K Remote Print Issues

2003-08-18 Thread Konrad Heuer

On Sun, 17 Aug 2003, RA Cohen wrote:

 I trust this is the correct list for this post. I have been
 wrestling literally for days with SAMBA/Win2K remote printing.
 Here is the architecture:

 qty 1- FBSD SAMBA Server PDC
 qty 2- Network printers (an HP LJ2100 with Built-in net card,
 and a Canon 6500 printer/copier also with built-in nic.
 qty 50+ - Win2K Clients

 SAMBA file sharing works great, and after much trial and error,
 so does the printing but only to ONE printer -- the one
 identified as 'lp'. I can successfully print from the FBSD box
 to each remote printer in the printcap with:

 lpr -Pprinter testfile.name .

 This tells me the printcap is working as are my print queues.
 But when trying to print from the Win2K clients, I only get
 output to one of the printers (the one I define as lp). I think
 what is happening is that the lp: definition in the printcap
 defaults to /dev/lp which then goes to the aforementioned
 printer...

 Can someone please set me straight? I am about to lose my mind,
 my wife, and probably some other important things in my life!

 Here is my smb.conf:

 # APS1_BEGIN:printer1
 # - don't delete start label for apsfilter printer1
 # - no other printer defines between BEGIN and END LABEL
 lp|mainoffhp2100|pcl3:\
 :rp=raw:\
 :rm=192.168.1.114:\
 :sd=/var/spool/lpd/mainoffhp2100:\
 :mx#0:\
 :sh:
 # APS1_END - don't delete this
 # BEGIN PRINTER2
 lp2|mainoffcanon|copier:\
 :rp=raw:\
 :rm=192.168.1.20:\
 :sd=/var/spool/lpd/mainoffcanon:\
 :mx#0:\
 :sh:
 # PRINTER2 END

 Thank you in advance for your help!

This looks like /etc/printcap and seems to be o.k. But where's your
smb.conf?

Regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany

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


Daemonnews?

2003-09-03 Thread Konrad Heuer

Virtually, this is no question for freebsd-questions -- but are there any
problems with {daily,ezine,www}.daemonnews.org? [as you see, I love tcsh
:-) ]

I can't connect to 204.152.186.46 anymore.

Best regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany

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


Re: Tar question

2003-09-03 Thread Konrad Heuer
On Wed, 3 Sep 2003, Charles Howse wrote:

 I'm a little confused about the arguments for tar.
 I want to tar the contents of a directory and save that .tgz file for
 backup purposes.

 Problem is, when I copy larry.tgz to /disk2 and:
 Tar xvfz larry.tgz
 It creates the /disk2 file structure within /disk2.

 # cd
 # ls /disk2
 # freebsd larry (directories)
 # tar cvfz larry.tgz /disk2
 # cp larry.tgz /disk2
 # cd /disk2
 # tar xvfz larry.tgz
 # ls
 # freebsd larry disk2 (directories)

 How can I make tar not create the directory structure within the same
 directory?
 Does that make sense?
 I tried tar cvfzP, no joy.

 Man tar didn't have anything that jumped out at me, but I could have
 missed or misunderstood something.
 If the solution is in the man page, I would appreciate a reference to
 the section, so I can re-read it to understand.

My suggestion is:

tar cvCfz /disk2 larry.tgz .

tar will cd to /disk2 before interpreting the dot - thus the content of
/disk2 will be archived, but without a leading disk2 in the table of
contents.

Regards
Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany



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


Re: newbie

2003-09-04 Thread Konrad Heuer

On Thu, 4 Sep 2003, [iso-8859-1] Florin Betivoiu wrote:

  I'm trying to mount a floppy and not having much success... I don't
 know what it is wrong that I do, cause on the same machine (but on
 Linux) everything is fine. Below is my kernel configuration file, my dmesg
 and the error I get when I try to mount. Please help!

 # dmesg
 Copyright (c) 1992-2003 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.0-RELEASE #2: Wed Sep  3 19:56:16 EEST 2003
 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/PONY
 (..snip..)
 fdc0: Enhanced floppy controller (i82077, NE72065 or clone) port 0x3f7,0x3f0-0x3f5 
 irq 6 drq 2 on acpi0
 fdc0: FIFO enabled, 8 bytes threshold
 fd0: 1440-KB 3.5 drive on fdc0 drive 0
 (..snip..)
 # mount /dev/fd0 /mntmount: /dev/fd0: Input/output error
 # Thanks

Your floppy drive should do. Please try

dd if=/dev/fd0 of=/dev/null

to check whether it really does. If your floppy is MS-DOS formatted, try:

mount -t msdos /dev/fd0 /mntmount

Regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany

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


Re: XFree86, Mozilla wierd colors

2003-04-01 Thread Konrad Heuer

On Wed, 2 Apr 2003, Gerard Samuel wrote:

 I had to reinstall FreeBSD earlier (due to some carelessness on my
 part), and Im trying to
 install applications that I was using before.
 The box is running FreeBSD 5.0-RELEASE, and using XFree 4.3.0, KDE 3.1
 along with mozilla 1.2 (from ports),
 mozilla displays incorrectly (mainly colors), and KDE's taskbar is
 unreadable (only when mozilla is not minimised).
 mozilla displays form buttons in pink, and overall things are just ugly.
 I ran into this problem before, but I cannot find the post in the
 archive at the moment.
 It was a setting for X that cleared it up.
 So if Im making sense to someone, could you point me in the right
 direction to fix this.
 If not, I can try to provide screen shots.

Your X server seems to run with 8 bpp color depth causing your X clients
to use private color maps.

 (...)
 Section Screen
 Identifier Screen0
 Device Card0
 MonitorMonitor0

Try to insert
  DefaultDepth 16
or
  DefaultDepth 24
here!


 SubSection Display
 Depth 1
 EndSubSection
 (...)

Best regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany




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


Re: LPD permission

2003-05-30 Thread Konrad Heuer

On Fri, 30 May 2003, Antoine Jacoutot wrote:

 How can I set permissions on LPD spooler. I would like an entire network
 to be able to print while another must not.
 Obviously, the hosts.lpd file does not accept network range nor NIS
 netgroups...
 I don't feel like entering hundreds of @ip by hands.

 Any ideas ?

What about the following shell script? Should work for you, if you replace
192.168.1 by your real network address:

#!/bin/tcsh

@ n = 1

while ( $n  255 )
  echo 192.168.1.$n  /etc/hosts.lpd
  @ n ++
end

Best regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany



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


Re: Upgrading a live server with rdist

2003-06-03 Thread Konrad Heuer

On Mon, 2 Jun 2003, Jamie wrote:

I am trying to upgrade a running production server with rdist, but some
 of the files will not update. I am getting messages like:


 rdist: server.foo.net:/bin/rcp: Operation not permitted
 updating: /kernel
 rdist: server.foo.net:/kernel: Operation not permitted
 updating: /sbin/init
 rdist: server.foo.net:/sbin/init: Operation not permitted



It appears rdist will not allow updates on processes that are loaded
 and running in memory. Is there any way to accomplish this with rdist or
 one of it's cousins?

As far as I see there is little chance to do this without carefully
restarting all processes, e.g. by shutting down into single user mode and
returning to multi user mode.

If you replace program files and shared libraries used by currently
running processes, this will cause the corresponding processes to be
aborted abnormally in case of page fault requiring a page-in from the
program files or shared libraries.

We have one test machine which is identical to all our production
 servers new patches are compiled into and are then tested. If it tests
 okay, we'd like to be able to simply run rdist from there out to our other
 production systems.

We've also considered sharing the /usr/src/ directory after the tests
 pass, and then recompiling the binaries on the remote systems, but to do
 that you need to run mergemaster on each machine and bring it into single
 user mode. We'd like to avoid that downtime, iff possible.

One possibility to minimize downtime would be to have two /usr
filesystems, which get mounted alternately on the directory /usr.

You could update the non-active filesystem (let's say, mounted on
/alt_usr) by rdist, automatically edit /etc/fstab to get this filesystem
mounted on /usr after a reboot, and reboot the system.

Regards
Konrad

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany

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


Re: Upgrading a live server with rdist

2003-06-04 Thread Konrad Heuer
On Tue, 3 Jun 2003, Chuck Swiger wrote:

 Konrad Heuer wrote:
 [ ... ]
  As far as I see there is little chance to do this without carefully
  restarting all processes, e.g. by shutting down into single user mode and
  returning to multi user mode.

 It is advisable to switch into single-user mode when updating the system files,
 agreed.

  If you replace program files and shared libraries used by currently
  running processes, this will cause the corresponding processes to be
  aborted abnormally in case of page fault requiring a page-in from the
  program files or shared libraries.

 Generally not; the system doesn't delete files that are in use even if you
 overwrite those files: it hangs on to the inode and won't free the space until
 nobody needs that file.

Yes, that's true in general, but if you replace program files and/or
libraries needed by processes invoked before this processes WILL FAIL in
case of a page-in.  Try if you don't believe.

Regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany


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


gcc (3.2.3) implicit struct copy exploit

2003-06-05 Thread Konrad Heuer

URL: http://archives.neohapsis.com/archives/bugtraq/2003-05/0331.html

Are there any opinions out there regarding the question how far this
concerns FreeBSD 4-STABLE?

Thanks for any reply.

Best regards
Konrad

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany


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


Re: how to make iso images

2003-06-13 Thread Konrad Heuer

On Fri, 13 Jun 2003, Anurag Chaudhary wrote:

 actually I am having a directory on hard disk and i want to make its .iso
 image in some file on the hard disk so that later I can burn CD with that
 image
 (..snip..)

Install port/package mkisofs and enter:

mkisofs -J -o out.iso -r -V volume_name directory

Best regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany


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


Re: CDs

2003-06-30 Thread Konrad Heuer

On Mon, 30 Jun 2003, Lakshmi Sudha Vangara wrote:

 I am a new user of FreeBSD

 I have downloaded 2 CDs for the installation of FreeBSD4.8

 I have finished the installation with the first CD

 What is the second one for??

The second one contains a live file system which can be used to repair an
existing installation in case of trouble (`fixit CD').

Regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany

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


Re: CDs

2003-06-30 Thread Konrad Heuer

On Mon, 30 Jun 2003, Peter [iso-8859-1] Schüller wrote:

   What is the second one for??
 
  The second one contains a live file system which can be used to repair an
  existing installation in case of trouble (`fixit CD').

 Hehe, and here I've been trying to get the livecd project's livecd to work...
 is this documented elsewhere? Because I was searching quite a bit for FreeBSD
 LiveCD:s a while back, and livecd.sourceforge.net was the only one I found
 (which is also in ports). I don't think I've ever read what the second
 installation CD was for. I've always only downloaded/used the first.

 If I'm just blind / can't read docs, my apologies. If not it might be a good
 idea to put a semi-visible notice about this somewhere

There's some misconception here, as far as I see. The second (`fixit') CD
is not bootable; you have to boot using CD #1 and to select fixit mode
from the sysinstall program.

After that, the system still runs in single-user mode; you're just able to
repair an existing installation or to do simple tasks with CD #2; I've
never tried to invoke the multi-user mode using this CD.

Regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany


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


Re: configuration NAT

2003-07-02 Thread Konrad Heuer

On Wed, 2 Jul 2003, Ruslan Sulemanov wrote:

 I'm try configuration NAT (ipfw + natd),
 how i need start natd ?

 Kernel options:

 options IPDIVERT
 options IPFIREWALL

/etc/rc.conf:

firewall_enable=YES   # Set to YES to enable firewall functionality
firewall_type=open# Firewall type (see /etc/rc.firewall)
   ^
   Or whatever you want ...

natd_enable=YES   # Enable natd (if firewall_enable == YES).
natd_interface=de0# Public interface or IPaddress to use.
^
Fill in here the device name of your network adapater.

Regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany

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


Re: A softupdates problem?

2003-07-03 Thread Konrad Heuer

On Thu, 3 Jul 2003, Mark wrote:

 Making a daily server backup, using dump (FreeBSD 4.7R), I keep running into
 a softupdates problem. That is, prior to backing up a partition (/var), I
 move a large file (several gigabytes) off that partition. But because of the
 softupdates effect, the size of that large file is added to the dump-file
 size, as if it were still on the partition!

 I have been able to circumvent that, in the past, by waiting a few minutes
 before starting the dump (until df reflects the correct size). This is not
 really ideal, though, as I disallow outside connections while in backup (so
 as not to change the /var partion with log-files being filled and such). Is
 there not a command to force 'softupdates' to write out its cache
 immediately?

I didn't try, but `sync' should do the job, shouldn't it?

Regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany



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


Re: Post about BSD's alleged demise on /.

2003-07-10 Thread Konrad Heuer

On 10 Jul 2003, Guy Van Sanden wrote:

 I saw this post on /. today, under the announcement about a FreeBSD 5.1
 review.

 Is there much truth is this?
 How many FreeBSD servers are out there? And is there number declining?

 I really hope that BSD will be arround for a long time to come...

 Kind regards

 Guy

 http://slashdot.org/comments.pl?sid=70502cid=6404771

 It is now official - Netcraft has confirmed: *BSD is dying

 Yet another crippling bombshell hit the beleaguered *BSD community when
 recently IDC confirmed that *BSD accounts for less than a fraction of 1
 percent of all servers. Coming on the heels of the latest Netcraft
 survey which plainly states that *BSD has lost more market share, this
 news serves to reinforce what we've known all along. *BSD is collapsing
 in complete disarray, as fittingly exemplified by failing dead last
 [samag.com] in the recent Sys Admin comprehensive networking test.

 You don't need to be a Kreskin [amazingkreskin.com] to predict *BSD's
 future. The hand writing is on the wall: *BSD faces a bleak future. In
 fact there won't be any future at all for *BSD because *BSD is dying.
 Things are looking very bad for *BSD. As many of us are already aware,
 *BSD continues to lose market share. Red ink flows like a river of
 blood. FreeBSD is the most endangered of them all, having lost 93% of
 its core developers.

 Let's keep to the facts and look at the numbers.

 OpenBSD leader Theo states that there are 7000 users of OpenBSD. How
 many users of NetBSD are there? Let's see. The number of OpenBSD versus
 NetBSD posts on Usenet is roughly in ratio of 5 to 1. Therefore there
 are about 7000/5 = 1400 NetBSD users. BSD/OS posts on Usenet are about
 half of the volume of NetBSD posts. Therefore there are about 700 users
 of BSD/OS. A recent article put FreeBSD at about 80 percent of the *BSD
 market. Therefore there are (7000+1400+700)*4 = 36400 FreeBSD users.
 This is consistent with the number of FreeBSD Usenet posts.

 Due to the troubles of Walnut Creek, abysmal sales and so on, FreeBSD
 went out of business and was taken over by BSDI who sell another
 troubled OS. Now BSDI is also dead, its corpse turned over to yet
 another charnel house.

 All major surveys show that *BSD has steadily declined in market share.
 *BSD is very sick and its long term survival prospects are very dim. If
 *BSD is to survive at all it will be among OS hobbyist dabblers. *BSD
 continues to decay. Nothing short of a miracle could save it at this
 point in time. For all practical purposes, *BSD is dead.

 Fact: *BSD is dead

To my mind this contribution on /. misses some interesting and important
facts. I've been a FreeBSD user since 2.0-RELEASE and I see the following
facts:

* FreeBSD today runs on five hardware platforms now; some years ago,
  only one was supported.

* A lot of books cover FreeBSD today; some years ago, there was only
  one.

* Hardware manufacturers supply drivers for FreeBSD today; some years
  ago, none did so.

These things do make me believe that FreeBSD isn't dead. It would make no
sense to publish books noone will read and to supply drivers noone will
use. The number of FreeBSD developers and users must have grown if new
platforms get supported, I suppose.

I don't know about the number of BSD oriented servers on the net. I'm sure
that will be hard to stand against improved MS operating systems like the
2003 server. It will be a hard stand against Linux sponsored by IBM and
others with lots of money. Maybe Linux is better today in some aspects of
system performance than FreeBSD. But things will change as they always
did.

Best regards
Konrad

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany



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


Re: File-system is read only b/c of Syntax error: Unterminatedquoted string in rc.conf

2003-07-11 Thread Konrad Heuer

On Fri, 11 Jul 2003 [EMAIL PROTECTED] wrote:

 Hello everyone!
  I've got a quick question:

  I've changed my /etc/rc.conf, but unfortunately I made a typo. Now, my
 system doesn't boot anymore. I wanted to correct the rc.conf, but the root file
 system is read only. Is there any way that I can either edit, rename or even
 delete the /etc/rc.conf?
  Btw, I can mount all the other file systems and I have full access to them.

   Thank you for your time,
 Phil

Just to make sure, boot into single user mode by interrupting the boot
countdown and entering boot -s at the boot loader prompt.

Then to make sure:
fsck -y
mount -a -t ufs
vi /etc/rc.conf

Regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany

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


Re: Howto disable IPV6 and enable IPV4 on one network interface

2002-10-25 Thread Konrad Heuer

On Fri, 25 Oct 2002, William Chan wrote:

 card.  Both of them have been recognised by kernel as rl0 and rl1.
 However, one rl0 uses IPV4, but rl1 is forced to use IPV6.

 I have tried the following but no use:
 1. run /stand/sysinstall to config rl1 to use IPV4 and to assign an IP to
 it
 2. add entry to /etc/rc.conf (like the installation guide ch6 told me)
 3. add alias in /etc/rc.conf that maps to 192.168.0.62, for example
 4. run config to add inet 192.168.0.62 with netmask (but error)

Could you include your /etc/rc.conf file and the output of an

ifconfig -a

command in a second mail, please?

Regards
K. Heuer



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Mount floopy disk

2002-11-05 Thread Konrad Heuer

On Tue, 5 Nov 2002, Tiago Andre wrote:

 I like to know how do i mount my floopy disk i try:
 mount /dev/fd0 /mnt
 and
 mount /dev/fd0c /mnt
 but the anwser is incorrect super block

Would be correct if your floppy disk contains a UFS; if it is a DOS
formatted floppy disk, try:
  mount -t msdos /dev/fd0 /mnt

Best regards
Konrad Heuer



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: How to enable telnet with root?

2002-11-27 Thread Konrad Heuer

On Thu, 28 Nov 2002, Giorgos Keramidas wrote:

 On 2002-11-27 19:00, Alvaro Rosales R. [EMAIL PROTECTED] wrote:
  Hi friends. I would like to enable root access to telnet (I know
  that it is not secure, but I need to make some tests and I don't
  want to su  to root because I loose root variables.

 What 'root variables' are you referring to?

 Oh, and by the way, logging in as root over TELNET is not a good idea.
 You shouldn't do it, unless you really know that you are safe.

Isn't

  su -

what you really need to get a root login shell with all startup files
executed?

Regards
Konrad Heuer



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: FreeBSD as Desktop OS with support for Windows

2002-11-28 Thread Konrad Heuer

On Thu, 28 Nov 2002, Roman Neuhauser wrote:

 # [EMAIL PROTECTED] / 2002-11-28 16:14:38 +0200:
  Hi People
 
  I want to use FreeBSD as my desktop OS with Gnome but I still need to do
  Windows luser support. I have installed Gnome 2 on FreeBSD 4.7 Stable and
  now I'm trying to figure out what is the best solution. Does the Vmware
  port still work and or should I just install Samba and which Office
  Software would be best suited to use that is compatible with MS Word and
  Exel ? I know of Openoffice, Gnomeoffice and Staroffice but have had no
  experience using either.
 
  Your suggestions, help much appreciated.

 I use TightVNC instead of vmware. Works quite fine, and it's almost
 free (GPL).
 As for office software: all my attempts to use various incarnations
 ended in disasters:

 Koffice (~1 year ago): no Kapplication lasted longer than ~30
 seconds
 AbiWord (june/july): 70% of attempts to save a short and simple
 .doc made Abi go in a tight loop or just die. I ended up using
 wv (/usr/ports/textproc/wv), which *did* work as advertised.
 OpenOffice (~1 month ago): crash! boom! bang!

 so, my advice would be: vmware or vnc.

My experience with OpenOffice 1.0.1 is much better than yours, I did a lot
of tasks successfully.

I use vmware (version 2) continuously with 4.x-R (in the moment 4.7-R) and
it works very well. As far as I know there is no support for hosting
the current vmware version 3 on FreeBSD.

Best regards
K. Heuer



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: fdisk and HD's larger than 2GB

2002-12-13 Thread Konrad Heuer

On 13 Dec 2002, David Gethings wrote:

 If I can't get this to work I'm going to have to use Linux as I know
 this works. :(

If you know Linux fdisk recognizing the disk correctly, you can try to use
Linux fdisk to create a FreeBSD partition, can't you? You should than be
able to use the partition withis FreeBSD sysinstall.

I Know that this is not a real solution, but it may be a workaround.

Regards
Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



MacOS X - FreeBSD CUPS

2003-02-18 Thread Konrad Heuer

Sorry, this question may be a little bit off-topic, but I'm looking for
any hint.

I've a CUPS daemon running on a FreeBSD-4.7 server; printer access is
granted only after successful user authentication. This works fine with
KDE on FreeBSD and Linux clients, for example.

But we see no chance for a GUI user authentication on MacOS X (latest
version).

On the Mac, access to the CUPS server works fine when using command line
tools within a shell window - you have just to type in your password, and
everything is ok.

But when using the GUI (print center), no password is asked for, and after
a few seconds the print centers opens without any printer, In the system
log, one can see unresolved request for password entry, but you seem to
have no chance to do so.

Any ideas? Anything one can try on the Mac side?

Best regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: staroffice52

2003-02-20 Thread Konrad Heuer

On Wed, 19 Feb 2003, Brian Henning wrote:

 i have a really silly question, but i have looked and tried different things.
 how do i start staroffice. i cannot find the binary? i ran the install program
 after i installed the port. i trying running the binary ./soffice after the
 install and all i get is the setup program. any suggestions?

Is your home directory on a local or NFS-mounted disk volume? Staroffice
5.2 seems to show some strange behaviour when setting up its ~/office52
directory on an NFS-mounted volume.

Regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: rfd0 fd0

2003-02-24 Thread Konrad Heuer

On Mon, 24 Feb 2003, Brian Henning wrote:

 what is the difference between these two devices?

fd0 ist a block-oriented device, data are cached in the buffer cache;
rfd0 is a byte-oriented raw device; data are always read from or
immediately written to the device.

Regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: rfd0 fd0

2003-02-26 Thread Konrad Heuer

On Tue, 25 Feb 2003, Mike Meyer wrote:

 In [EMAIL PROTECTED], Konrad Heuer [EMAIL PROTECTED] typed:
  On Mon, 24 Feb 2003, Brian Henning wrote:
   what is the difference between these two devices?
  fd0 ist a block-oriented device, data are cached in the buffer cache;
  rfd0 is a byte-oriented raw device; data are always read from or
  immediately written to the device.

 This is out-of-date information. Both fd0 and rfd0 are raw character
 devices these days. The old names were kept around for backwards
 compatability, but there is no difference between them.

What does it mean - these days? When did the change occur?

Konrad


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: freebsd nis server with debian clients

2003-03-10 Thread Konrad Heuer
On Mon, 10 Mar 2003, Neeraj Arora wrote:

 Hi Geeks, Girls and Guys,

 ...:^)

 I am having a little problem setting up a debian client to derive login data from a 
 freebsd nis server. There is no problem when the freebsd nis server interacts with 
 freebsd clients, but there is a problem when it interacts with a debian gnu/linux 
 client.

 The authentication works when I force a password in the /etc/passwd file on the 
 debian gnu/linux system. E.g.:
 +login_whatever:$1$blahblahblah:/bin/bash
 +::/bin/bash

 But, it does not work when the password has to be sourced from the nis server (viz. 
 a freebsd machine). I confirmed that both are communicating/operating on nis v2. And 
 moreover, the password on the freebsd server are stored in md5 too.

 So, I dont seem to understand what the problem may be.

 Any help will be great...:)

 Regards,
 Neeraj

 N.B.: I am a freebsd devotee and thus posting this to the
 freebsd-questions mailing list. I might try debian mailing lists too,
 but first here...:)

Look into /var/yp/Makefile for something looking like this:

# If you want to use a FreeBSD NIS server to serve non-FreeBSD clients
# (i.e. clients who expect the password field in the passwd maps to be
# valid) then uncomment this line. This will cause $YPDIR/passwd to
# be generated with valid password fields. This is insecure: FreeBSD
# normally only serves the master.passwd maps (which have real encrypted
# passwords in them) to the superuser on other FreeBSD machines, but
# non-FreeBSD clients (e.g. SunOS, Solaris (without NIS+), IRIX, HP-UX,
# etc...) will only work properly in 'unsecure' mode.
#
UNSECURE = True

You probably have to set UNSECURE equal to True and to rebuild the maps.

Regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Using PAM with ssh

2005-02-01 Thread Konrad Heuer

On Tue, 1 Feb 2005, Andrea Venturoli wrote:

 I'd like to login to a box of mine through ssh using a password that's
 stored in Samba's user database: for this I normally use pam_smb.
 pam_smb works with any other application, but not with sshd: actually it
 looks like sshd doesn't even try to use pam, although I enabled it in
 its config file.
 Is this a known problem? Any hint?

I never tried by myself, but did you also modify /etc/pam.d/sshd? I think
that would be necessary.

Best regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, [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: Page-up in tcsh?

2005-03-13 Thread Konrad Heuer

On Mon, 14 Mar 2005, Bnonn wrote:

 This is probably a really stupid question, but I can't find anything in
 the manpages. Surely there's a way to page-up in tcsh? The Page Up and
 Page Down keys do nthing.

None of the traditional shells (like tcsh and bash) provide such a
feature. They give you a command line editor but no further screen
control.

It's more the task of the terminal emulator to do so; in xterm, for
example, you can use Shift+PageUp or Shift+PageDown to scroll.

Regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, [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: Appletalk/Samba?

2005-03-16 Thread Konrad Heuer

On Wed, 16 Mar 2005, Tim Simmons wrote:

 Is it possible to set up a FreeBSD server to act as a gateway between an
 appletalk file server and a group of tcp/ip based windows PCs? What I'm
 trying to do is enable a group of PCs on the same physical network as the
 appletalk file server to be able to access files on that server. Windows XP,
 it would seem, does not support appletalk natively. Please CC any responses
 to me. Thank you.

Afaik, no, sorry. FreeBSD can act as an appletalk file server (by using
the netatalk port and the appletalk kernel extension), but it is not able
to mount remote filesystems via appletalk.

Mac OS X and Darwin can do so; thus I think, Darwin wood be a good choice
for you.

Best regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, [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: Installation Order for Win XP Pro, SuSE 9.2, FreeBSD 5.3

2005-03-22 Thread Konrad Heuer

On Wed, 23 Mar 2005, Bob Perry wrote:

 I intend to re-install multiple operating systems onto a box
 which already has Win XP Pro and SuSE 9.2.  After some thought,
 I've decided to add FreeBSD 5.3 and, in addition, change the
 Win XP Pro filesytem from NTFS to FAT32 to facilitate file-
 sharing.  If I understand what I've been reading, I should be
 able to modify both the Linux and FreeBSD kernels to read and/or
 write ext2fs and UFS1 data as well.

 I'm prepared to clear the harddrive and start from scratch and I
 question whether or not there is a prescribed order for
 installation.  I understand that Windows has a habit of
 overwriting data in the MBR and installing its' own loader so
 the recommendation is to load it first.  Whether, Linux or FreeBSD
 is next I'm not sure and would welcome your input.

 I realize that there are third-party bootloaders available, but
 I have a feeling that I can learn more about these systems if I
 work with what they offer.

 I have a 120GB Western Digital HD, an ASUS P4P800-VM motherboard,
 and a Pentium 2.8GHz CPU.

 This is not currently my primary box, but who knows what may happen
 in the near future.

 Thanks in advance.  This is a huge undertaking for me at this time.

 Bob Perry

I'd prefer the order XP, FreeBSD, Linux. This is because both XP and
FreeBSD can easily get a primary partition this way, and because - to my
mind - lilo is a good boot manager to start all three os. Thus, install
Linux at last, and install lilo into the MBR. I don't know grub but I
guess, lilo can still be used with SuSE.

Regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, [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: PC's?

2004-07-09 Thread Konrad Heuer

On Fri, 9 Jul 2004 [EMAIL PROTECTED] wrote:

 I have a Compaq 2.7 GHZ @ 500MB ram - can I run FreeBSD on this?

Probably, there won't be a problem in general. Difficulties may arise,
e.g., if your graphics adapter isn't well supported by the X window
system.

Regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Confusion / minor problem using nss_ldap

2004-07-12 Thread Konrad Heuer

On Mon, 12 Jul 2004, Daniel Ruthardt wrote:

 I've installed FreeBSD 5.1-RELEASE connecting to an OpenLDAP Server
 running on a Linux box.
 nss_ldap as well as pam_ldap is working fine.
 I am able to connect to my FreeBSD box via ssh without any problmes.
 `id` shows my correct user information, which is:

 %id
 uid=503(daniel.ruthardt) gid=503(serverAdmins)
 groups=503(serverAdmins), 501(sambaUsers), 502(sambaAdmins)

 Now the problem / confusing thing:

 (1) Although my primary group id should be 503 , everything created by
 my user shows up with group wheel.
 (2) Although everyhting seems to work without any problems, `ls`never
 shows my username, only my user id (and that although I can see a
 successful query for my user id in the log file of the LDAP server).

 %mkdir daniel
 %ls -l
 total 4
 drwxr-xr-x  2 503  wheel  512 Jul 12 11:56 daniel
 drwxr-xr-x  2 503  wheel  512 Jul 12 11:37 test
 %

 Can anybody point me in the right direction what might go wrong here?

From 5.2-R on, ls is linked dynamically and uses the whole nss mechanism.
In 5.1 with ls being statically linked (like all binaries in /bin and
/sbin) it cannot do.

Regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Apache modauthldap works but REMOTE_USER not there

2004-07-13 Thread Konrad Heuer

I want to use modauthldap with Apache 1.3.29 to restrict access to some
web pages, especially to some dynamic ones generated by cgi scripts.

LDAP authentication seems to work fine with following .htaccess file:

AuthNameRealm:
AuthTypeBasic
AuthLDAPurl ldap://localhost:389/ou=users,dc=domain,dc=country?uid
require valid-user

The problem is: CGI scripts called by the HTML pages in the protected
directory don't see a REMOTE_USER environment variable (GET method), so
they don't know about the current user.

Any ideas? I'd greatly appreciate any help.

Best regards
Konrad

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany

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


Re: Apache modauthldap works but REMOTE_USER not there

2004-07-14 Thread Konrad Heuer

On Tue, 13 Jul 2004, Konrad Heuer wrote:

 I want to use modauthldap with Apache 1.3.29 to restrict access to some
 web pages, especially to some dynamic ones generated by cgi scripts.

 LDAP authentication seems to work fine with following .htaccess file:

 AuthNameRealm:
 AuthTypeBasic
 AuthLDAPurl ldap://localhost:389/ou=users,dc=domain,dc=country?uid
 require valid-user

 The problem is: CGI scripts called by the HTML pages in the protected
 directory don't see a REMOTE_USER environment variable (GET method), so
 they don't know about the current user.

 Any ideas? I'd greatly appreciate any help.

Just for the archives - found the solution by myself: I forgot to include

AllowOverride AuthConfig

in the cgi-bin section of httpd.conf and and to copy .htaccess to the
cgi-bin directory.

Sorry ...

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany


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


Re: SSH Client - (newbie need help)

2004-07-23 Thread Konrad Heuer

On Thu, 22 Jul 2004, Bryce wrote:

 Im a newbie to FreeBSD and I need to run an SSH client
 to connect to the Solaris server at my University. I
 was previously using Putty on WinXP, however there
 appears to be a bug in the current putty port which
 causes it to crash before exchanging keys if the
 servers key is not cached.

 I googled looking for other clients and found secpanel
 which sounded good but it requires
 /usr/ports/x11-toolkits/tk84 which appears to be
 broken arrggghh!

 Can someone please point me to either a good
 alternative SSH client for FreeBSD or help me to
 overcome these problems to install either putty or
 secpanel?

Why don't you use just the ssh client that comes with the base system?
Log into your FreeBSD box and type
  ssh hostname
to connect to any other system.

Regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany

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


Re: FreeBSD ISO-image

2004-07-23 Thread Konrad Heuer

On Fri, 23 Jul 2004, Maksym Marchenko wrote:

 So I need to download FreeBSD iso image 4.10

 Can anybody say, what a difference between miniinst, disc1 and disc2 iso's

 What is disk2 iso (what's on it)?

Probably, disc1 ist wht you want. disc2 contains a live filesystem and can
be used to fix a broken system (fixit cd), miniinst is for a minimal
installation.

Regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany

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


Re: mount_smbfs

2004-07-29 Thread Konrad Heuer

On Fri, 30 Jul 2004, jon wrote:

 The mount_smbfs(8) command on 5.2.1 allows multiple mounts using the same
 source and mount point.  This sounds like a bug to me since other file
 systems such as ufs return an error on such attempts.  Anyone know of a
 reason why this is allowed in mount_smbfs?

Why shouldn't it be? The same holds true for nfs. And it really doesn't
matter whether you mount via smbfs or nfs multiple times on the same
client or once on multiple clients, does it?

If you mount one or more times, if you use ufs or any other fs, it is
always possible to write simultaneously to one and the same file leading
to data loss. That's Unix since the early 1970s, isn't it?

Of course you cannot mount a ufs more than once, but that's because the
kernel needs to manage the buffer cache non-ambiguously to preserve data
consistency in the fs structure.

Regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, [EMAIL PROTECTED]

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


Re: using a disk mirrored with dd

2004-08-03 Thread Konrad Heuer

On Tue, 3 Aug 2004, Matt wrote:

 I have a machine running 4.10-RELEASE-p2 with two identical hard disks
 -- ad0 and ad2. I would like to make a complete copy of the first disk
 to the second disk nightly for quick disaster recovery.

 I've dd'ed the disk as follows

 # dd if=/dev/ad0 of=/dev/ad2

 and edited the disklabel of the second disk to change ad0s1 to ad2s1 as follows

 # disklabel -e -r ad2

 However, I'm still unable to mount the root partion (or any other
 partition) of the second disk to tweak /etc/fstab etc. even though

 # mount /dev/ad2s1a /mnt
 mount: /dev/ad2s1a: Operation not permitted

 What am I missing? Is there anything else I need to do beyond editing
 the disklabel to allow me to use the mirrored disk?

 Output of disklabel for the two disks follows:

 # disklabel ad0
 # /dev/ad0c:
 type: ESDI
 disk: ad0s1
 label:
 flags:
 bytes/sector: 512
 sectors/track: 63
 tracks/cylinder: 255
 sectors/cylinder: 16065
 cylinders: 4864
 sectors/unit: 78156162
 rpm: 3600
 interleave: 1
 trackskew: 0
 cylinderskew: 0
 headswitch: 0   # milliseconds
 track-to-track seek: 0  # milliseconds
 drivedata: 0

 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   a:   40960004.2BSD 2048 1638497   # (Cyl.0 - 25*)
   b:  5242880   409600  swap# (Cyl.   25*- 351*)
   c: 781561620unused0 0 # (Cyl.0 - 4864*)
   e:  4194304  56524804.2BSD 2048 1638489   # (Cyl.  351*- 612*)
   f: 10485760  98467844.2BSD 2048 1638489   # (Cyl.  612*- 1265*)
   g: 18874368 203325444.2BSD 2048 1638489   # (Cyl. 1265*- 2440*)

 # disklabel ad2
 # /dev/ad2c:
 type: ESDI
 disk: ad2s1
 label:
 flags:
 bytes/sector: 512
 sectors/track: 63
 tracks/cylinder: 255
 sectors/cylinder: 16065
 cylinders: 4864
 sectors/unit: 78156162
 rpm: 3600
 interleave: 1
 trackskew: 0
 cylinderskew: 0
 headswitch: 0   # milliseconds
 track-to-track seek: 0  # milliseconds
 drivedata: 0

 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   a:   40960004.2BSD 2048 1638497   # (Cyl.0 - 25*)
   b:  5242880   409600  swap# (Cyl.   25*- 351*)
   c: 781561620unused0 0 # (Cyl.0 - 4864*)
   e:  4194304  56524804.2BSD 2048 1638489   # (Cyl.  351*- 612*)
   f: 10485760  98467844.2BSD 2048 1638489   # (Cyl.  612*- 1265*)
   g: 18874368 203325444.2BSD 2048 1638489   # (Cyl. 1265*- 2440*)

 Thanks for any insight, and let me know if you need to see anything else.

Did you do the dd-copy while the system was running multi-user from the
first disk? I'd expect larger problems then because the file systems
inconsistencies on the second disk may never be resolved.

If you did it in single user mode, a 'fsck -y' for each file system on the
second disk before trying to mount may help.

Best regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, [EMAIL PROTECTED]

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


Re: LDAP, pam, nss

2004-08-30 Thread Konrad Heuer

On Mon, 30 Aug 2004, Curtis Vaughan wrote:

 In order to get centralized logins to work on my Linux Debian computers
 (authenticating of a RedHat Samba server), I have to:

 install libnss-ldap libpam-ldap.
 Perform some configuration on the of /etc/libnss-ldap.conf and
 /etc/pam-ldap.conf files.
 Edit the /etc/nnsswitch.conf file.

 Then I can check that the packages have been installed by issuing the
 command nscd.

 Finally to get authentication happening in specific applications, I go
 to the directory /etc/pam.d/  and edit the service files there though
 which I want such authentication to occur.

 Now, of course, no one here is looking for instructions on how to do
 something on Linux, but I was now wondering what it is I need to do on
 my FreeBSD server to get this functionality working?  I can't seem to
 find anything similar so far in my searches.

 Thanks for any pointers in the right direction.

With FreeBSD 4.x, you won't get very far. But beginning with 5.x (not to
say 5.2.1-R), it's very similar. Install the following ports:

/usr/ports/security/pam_ldap
/usr/ports/net/nss_ldap

Edit /usr/local/etc/ldap.conf, build /etc/nsswitch.conf, and edit the
files within /etc/pam.d.

Regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, [EMAIL PROTECTED]

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


Re: question about /var/spool/clientmqueue

2004-09-02 Thread Konrad Heuer

On Thu, 2 Sep 2004, [gb2312] joshua wrote:

 Hi, all
   I found there is a directory named /var/spool/clientmqueue and many
 many file below this directory, what's use of this directory and the
 files under it?
   thanks.

When submitting mail by using sendmail as a mail submission program,
sendmail copies all messages to /var/spool/clientmqueue first. sendmail is
a setgid smmsp program and thus gives the any user the permission to do so
(/var/spool/clientmqueue belongs to user and group smmsp).

Later, another sendmail process, the sendmail localhost-only (FreeBSD
default config) mail transfer agent (MTA) copies the messages from
/var/spool/clientmqueue to /var/spool/mqueue and sends them to their
destination.

When files accumulate in /var/spool/clientmqueue, you probably don't run
the sendmail localhost MTA, and thus the mails don't get send.

Regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to get system static info?

2004-09-03 Thread Konrad Heuer

On Fri, 3 Sep 2004, Neo wrote:

 Hi:
May you please tell me which procedures or functions can get current
 cpu usage and mem usage in freebsd? Just like top does. It seems freebsd
 is different with linux in said process. Or could you tell me how to
 find top resource. Many thanks!

man 3 sysctl

Best regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, [EMAIL PROTECTED]

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


Re: LPD and PS printer. Print accounting.

2005-11-27 Thread Konrad Heuer

On Sun, 27 Nov 2005, kvoznjuk wrote:

 Have network PS printer (Xerox), lan users have access to through
 FreeBSD lpd. I need get page quantity for every user. In mans I find
 refer to PAC, but dont understand how I must change PRINTCAP file for
 get statistic. Or it is wrong way? Help please.

For example, you could take a look at rprint in the ports collection. If
you write an input filter which sends data to the printer via rprint you
could inquire the page counter and write its value to the printer queue
log file which in turn could be evaluated later.

Best regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, [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: FreeBSD 6.0 in VMware

2005-11-29 Thread Konrad Heuer

On Tue, 29 Nov 2005, David Miao wrote:

 I installed a freebsd 6.0 in vmware 5.5, why I get a mass of error
 message of calcu runtime error?

I installed PC-BSD 1.0rc1 which is in turn based on 6.0 within a VMware
GSX server and encountered no problems.

Regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, [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: newbie: vi - go to previous file

2003-11-11 Thread Konrad Heuer

On Tue, 11 Nov 2003, Zhang Weiwu wrote:

 Hello. I am using the BSD's vi not vim.

 I learned from :exusage that :N is to swich to the next file in argument
 list while :P swich to the previous file. :N woks fine, while :P does
 nothing.

 Say, I run vi file1 file2, which opens file1, :N begin to edit file2,
 then I press :P, I thought I should go to file1, but I'm still editing
 file2.

Try :prev - :p seems to be an abbreviation for a different command.

Regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany

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


Re: bsd

2003-11-18 Thread Konrad Heuer
On Mon, 17 Nov 2003, OVBNET wrote:

 BSD Free BSD, what is it standing for?


 Met vriendelijke groet,


 Oscar van Beest

BSD:
Berkeley Software Distribution

BSD-UNIX was the name of the flavour of UNIX developed at the
University of Berkeley.

FreeBSD:
When porting BSD-UNIX to the i386 platform, the name FreeBSD
was choosen by the members of the team for the new OS, probably
because it is an open source operating system which can be used
free of charge.

Regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany


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


Re: Resizing disk labels

2003-11-25 Thread Konrad Heuer

On Tue, 25 Nov 2003, Roland Giesler wrote:

 I have installed FreeBSD in a server with the default setting in the label
 editor.  I hope my terminology is correct, since I'm refering to /etc /usr
 etc.  Now I've installed a squid, KDE, DHCP, Java (not complete yet!),
 Apache and some other stuff.  While installing Qmail, I ran out of disk
 space on /etc. but /usr still has 17GB free.

 How can I resize the labels so /etc grows to 1GB for example?  I've
 searched all over and it appears that one can grow the size, but not shrink
 it?

 What I've really looking for is a tool like partitionmagic for FAT or NTFS.
 Does such a tool exist and if not what are my options here?

You can use growfs to increase the size of a filesystem (I suppose this is
what you mean), but only if you have free disk space available adjacent to
the cylinders allocated for the filesystem in question.

You cannot decrease the size of filesystem without recreating it.

Thus you have the following possibilites to choose from:

1) Reinstall FreeBSD and use more suitable filesystem sizes.

2) Backup the data of the filesystem which is too large and adjacent to
   the filesystem which is too small, enlarge that with growfs, recreate
   other filesystem with smaller size and restore the data.

3) Try to identify subdirectories containing a lot of data within the
   filesystem which is too small, move them by mv to a filesystem with
   enough free space and symlink them back (ln -s) to the old location.
   But do not move the whole /etc directory from the root to another
   filesystem!

Best regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany

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


RE: Resizing disk labels

2003-11-25 Thread Konrad Heuer

On Tue, 25 Nov 2003, Roland Giesler wrote:

 Yes, you're right, I mean file systems.  I've only been using FreeBSD for
 bit more than a month, so I'm still getting used to the different
 terminology (being used to MS).

 Could I do this process live, ie. could I FTP the content for /usr to
 another machine, delete the /usr filesystem, grow / to let's say 1GB,
 recreate /usr and copy the data back?  If I understand things correctly,
 then /usr holds apps and other stuff, but not the files essential to
 starting and operating FreeBSD.  So I should be follow this course of
 action?

It is not possible since you need to destroy the binaries you need for
restore. But you can boot from the first installation CD, select fixit
mode from sysinstall and insert the second installation CD as a fixit CD.

Since the latter one contains a live filesystem all the binaries you need
are on the CD. You just need to mount the hard disk partitions (look into
your /etc/fstab file) to do the work.

By the way, you asked in a separate mail whether it is possible for a file
system to be 108% full. It is, since there are (by default) 10% of file
system space reserved for (important!) purposes of file system
optimization. Only root's processes are allowed to use this space, and
programs like df or KDE don't include the reserved space in their output
concerning free space. Thus 100% in the output of df are 90% in real.

Regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany


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


Re: Abt BSD installation

2004-09-24 Thread Konrad Heuer

On Fri, 24 Sep 2004, ramuK hsiraH wrote:

 Hai
I have installed FreeBSD5.3 on my system

 it still prompts with the message

 FreeBSD
 ...
 boot:

---  if i press enter it prompts with the message


   no kernel

 please help me

I'd try to boot the installation cd, to interrupt the boot countdown and
to switch into the command line mode of the boot loader and to enter the
command lsdev. Beside those on the cd, you should see the file systems
available on your hard disk then, too. By entering the command set
currdev=disk1s1a (e.g., replace disk1s1a by the partition name of the
root fs on the hard disk) and entering commands like ls and cd you can
try to look at the root fs to see whether there's something wrong.

Regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, [EMAIL PROTECTED]

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


Re: tcsh star-up files help needed

2004-09-28 Thread Konrad Heuer

On Tue, 28 Sep 2004, Ion-Mihai Tetcu wrote:

 Could someone explain to me what is the order tcsh's star-up file are
 processed ? The man page is rather unclear for me: The shell may read
 /etc/csh.login before instead of after /etc/csh.cshrc 

Normally, tcsh reads its start-up files in the following order:

/etc/csh.cshrc
/etc/csh.login
~/.tcshrc
~/.cshrc
~/.login

You can check this by typing:

echo $version

If lf doesn't appear in the options list, the order given above is used.

 What I want and doesn't work if entered in /etc/csh.cshrc but works in
 ~/.cshrc, if possible, is to have the prompt for all users

 if (${TERM} == 'screen') then
 set SCREEN_NAME = /${STY:e}
 else
 set  = ''
 endif

 set prompt = ${SCREEN_NAME}.

 with the intent of having screen(1) session name somewhere in the prompt
 if the shell runs under screen or nothing if it is not under screen,
 without having to add the above lines to all users ~/.cshrc

I'd check the contents of $TERM within /etc/csh.cshrc by echoing it to
make sure that it is set as expected. Did you?

Regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, [EMAIL PROTECTED]

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


Re: tcsh star-up files help needed

2004-09-29 Thread Konrad Heuer

On Wed, 29 Sep 2004, Ion-Mihai Tetcu wrote:

 On Wed, 29 Sep 2004 07:20:17 +0200 (CEST)
 Konrad Heuer [EMAIL PROTECTED] wrote:

  On Tue, 28 Sep 2004, Ion-Mihai Tetcu wrote:
 
   Could someone explain to me what is the order tcsh's star-up file are
   processed ? The man page is rather unclear for me: The shell may read
   /etc/csh.login before instead of after /etc/csh.cshrc 
 
  Normally, tcsh reads its start-up files in the following order:
 
  /etc/csh.cshrc
  /etc/csh.login
  ~/.tcshrc
  ~/.cshrc
  ~/.login
 
  You can check this by typing:
 
  echo $version
 
  If lf doesn't appear in the options list, the order given above is used.

 Thanks. This is the case.
 Are the file in /etc override by user files ?

Yes, system-wide settings can be overridden by user startup files.

   What I want and doesn't work if entered in /etc/csh.cshrc but works in
   ~/.cshrc, if possible, is to have the prompt for all users
  
   if (${TERM} == 'screen') then
   set SCREEN_NAME = /${STY:e}
   else
   set SCREEN_NAME = ''
   endif
  
   set prompt = ${SCREEN_NAME}.
  
   with the intent of having screen(1) session name somewhere in the prompt
   if the shell runs under screen or nothing if it is not under screen,
   without having to add the above lines to all users ~/.cshrc
 
  I'd check the contents of $TERM within /etc/csh.cshrc by echoing it to
  make sure that it is set as expected. Did you?

 Now it works, donno why :)

Good news, nevertheless!

Regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, [EMAIL PROTECTED]

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


Re: printer toooo slow (hpdj990Cxi on lpt0)

2004-10-04 Thread Konrad Heuer

On Mon, 4 Oct 2004, Peter Ulrich Kruppa wrote:

 I am running a HP Deskjet 990Cxi on parallel port, with cups and
 hpijs on FreeBSD 5.3-BETA6 - everything updated and portupgraded
 last thursday.

 Generally it prints nicely, but far to slow - a simple OpenOffice
 document needs 3 or 4 minutes, the cups test page about 10.
 Strange enough I don't see any heavy activities on my CPU or big
 loads on my RAM.

 I tried to play around with the configuration, but didn't find
 anything satisfying.

 Does anybody have an idea, how I could check what goes wrong with
 this thing? Or could at least someone confirm that I am not the
 only person in the world with this problem?

 Thanks for your answers,

 Uli.

I'd try to switch to polling mode on lpt0 - see man lptcontrol.

Regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, [EMAIL PROTECTED]


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


Re: FreeBSD

2004-10-05 Thread Konrad Heuer

On Tue, 5 Oct 2004, Rafa Teixeira wrote:

 I'm from Brasil and I would like to know what kind of scheduling FreeBSD
 uses. Can you help me?

 If you didn't understand my question, please tell me!!

 I'm waiting for your answer!

FreeBSD 4.x uses the 4.4BSD scheduler which is a multilevel feedback queue
scheduler. FreeBSD 5.x may use a different scheduler as an alternative
with better behaviour concerning multi-threaded processes, but I don't
know the details.

Best regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, [EMAIL PROTECTED]

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


Re: SSH from private to public IP: Impossible??

2004-10-06 Thread Konrad Heuer

On Tue, 5 Oct 2004, Michael Alipio wrote:

 Good Day,
   I used ssh to log-in remotely from work to my home
 pc which already obtained a temporary ip address from
 my isp, however, I failed to connect. Is it because I
 am ssh'ing using a pc with a private ip? I tried
 pinging my remote pc but no single packet returned..
 I'm thinking that any other service such as ftpd or
 httpd will not work also, though I've not tried it
 yet. I've tried ftp'ing my home pc but using a public
 ip and it worked.. I'm not sure if it will still work
 from a private ip computer.
 Any idea?

What do you mean by private ip? Something like 192.168.x.y? If so, you
can't connect, that's true, if there's not a nat gateway substituting the
private address by its public address in every ip packet.

If you can access web pages from your private ip system, that's probably
because of a proxy server in your network which fetches pages from the
outside if required from within the local network.

Regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: linux emulation: / resolves to real root dir; why ?

2004-10-22 Thread Konrad Heuer

On Fri, 22 Oct 2004, Andriy Gapon wrote:

 Under Linux emulation /  resolves to real root directory, not
 /compat/linux directory and I am very curious why this is so.

 I see that in linux_emul_convpath() there is a special check for this
 case with the following comment:

 /*
  * We now compare the vnode of the linux_root to the one
  * vnode asked. If they resolve to be the same, then we
  * ignore the match so that the real root gets used.
  * This avoids the problem of traversing ../.. to find the
  * root directory and never finding it, because / resolves
  * to the emulation root directory. This is expensive :-(
  */


 Because of such behavior mkdir -p (in linux base 7) is broken in cases
 where more than one path components needs to be created - mkdir first
 chdir()s to / and then iteratively mkdir()s and chdir()s to subdirectories.

 My rationale for throwing out that check is that no linux program should
 ever need to access real root directory, and in case of a user using an
 interactive linux shell he should be smart enough to break out of
 /compat/linux (very easy).

 I have already posted this question to freebsd-emulation list, but got
 no responses so far.

Linux binaries often need to access files outside the emulation directory
tree, just think of data files in the user's homes when running
applications like acroread, linux-mozilla, staroffice etc. So you
absolutely need to break out.

Regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, [EMAIL PROTECTED]


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


Re: defragmentation in FreeBSD 4.11

2005-07-27 Thread Konrad Heuer

On Wed, 27 Jul 2005, demigor wrote:

 How one could defragment a partition on FreeBSD ? Which tools are available
 for this ?

Why should you want to do this? There's no harmful fragmentation in
the UFS of FreeBSD unless you exceed the max capacity of 100% which is 92%
when looking closer but reported as 100% by df.

Regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, [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: FreeBSD 5.3 with 4GB RAM - memory ignored

2004-11-19 Thread Konrad Heuer
On Fri, 19 Nov 2004, Axel S. Gruner wrote:

 Our new x345 Server with 1 XEON 2.8GHz CPU (second one will be built in
 next week) has 4GB RAM.
 I see the following message while the system is booting:

 131072 of memory aboce 4GB ignored

 Well, i will use all the memory i paid for ;-), so what will do the
 trick to use all of the memory on that box? I thought problems with
 large amount of memory =4GB are gone with 5.3-STABLE.

 Thanks in advance.

You need to compile a custom kernel with

options PAE

within the kernel config file.

Regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, [EMAIL PROTECTED]


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


Re: Restarting rc.conf

2004-11-22 Thread Konrad Heuer

On Mon, 22 Nov 2004, David Jenkins wrote:

 On Mon, 22 Nov 2004 11:40:50 +, Dick Davies

 [EMAIL PROTECTED] wrote:
  * [EMAIL PROTECTED] [EMAIL PROTECTED] [1118 11:18]:
   I set up a postgresql server under FreeBDSD 5.3 stable.
  
   My question: if I modify rc.conf either directly or via sysinstall  how
   can I make the system be aware of that WITHOUT REBOOTING, in other words,
   how can I make FreeBSD execute the modified rc.conf?
 
  Why would you want to do that? Just run the postgres startup script
  (/usr/local/etc/rc.d/000.pgsql.sh)

 I would imagine for convenience - if their reasons are similar to what
 mine were.

 i.e if you have made several changes to rc.conf then manually
 restarting several services via /etc/rc.d or /usr/local/etc/rc.d or
 running ifconfig is monotonous.

 It would be substantially easy if there was a tool/command to just
 re-read rc.conf ...

How should that be possible? You'd need a tool which remembers old
rc.conf settings at some location, compares them to the new ones and than
re-executes all steps of the boot process which depend on the new values.

The day all this will become true, we will have to run some kind of
suseconfig after modifying rc.conf. No, even worse, it will be senseless
to modify rc.conf with a text editor, since you will have to use some kind
of yast to configure your SuSE FreeBSD.

Sorry for the polemics, I couldn't deny it myself ...

Regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, [EMAIL PROTECTED]

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


Re: Uninstalling FreeBSD

2004-12-06 Thread Konrad Heuer

On Mon, 6 Dec 2004, Danny Browne wrote:

 Im in a rush to get this done, but i dont really know how.

 My laptop dual boots winXP and FreeBSD.

 However i now need to install Red Hat for a project im doing in college.
 so i want to get rid of my BSD installation to free up some space. and
 im in a major rush. i dont really have the time to spend on figuring it
 out and the BSD manual hasn't helped.

 Can i just wipe my BSD installation by formatting the partiton with
 partition-magic in windows?

I'm no expert in installing Dead Rat Linux :-), but I guess you will be
able to simply delete the FreeBSD slice and to reallocate the disk space
for a linux partition during the installation process.

 what effect does the BSD boot manager have on my xp installation? has it
 deleted my xp boot loader? if how do rectify this?

The FreeBSD boot manager will stay in place as long as you install lilo
into the Linux root partition. You may still use it to choose between
booting XP or Linux. If you don't want it, install lilo into the master
boot record.

You XP boot loader code has neither been hurt by FreeBSD nor will it be
hurt by Linux.

Regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, [EMAIL PROTECTED]

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


Re: NFS - FreeBSD5 UFS2 serving FreeBSD4 UFS clients

2004-12-07 Thread Konrad Heuer

On Tue, 7 Dec 2004, Jamie Heckford wrote:

 We currently have a nice beefy fBSD4 box for our main NFS server with
 approx 10 fBSD4 clients.

 We will be upgrading the NFS server soon but I can't seem to find any
 info on NFS compatibiltiy between 5.x and 4.x.

 Logic tells me that if my NFS server is running 5.x with a UFS2
 filesystem that my 4.x UFS clients won't be able to mount a share from
 the 5.x box.

 Or does the NFS layer allow this? Will my 5.x box be backwards
 compatible for 4.x boxen and still work?

Yes, NFS hides details of the underlying file system. Thus, it is totally
os independent (not concerning performance, but concerning compatibility.)

Regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: bsd book

2004-12-09 Thread Konrad Heuer

On Thu, 9 Dec 2004, Dev Tugnait wrote:

 Absolute BSD is a good book by Micheal Lucas and seems like what you really 
 want... i havent read the complete freebsd.

 * Florian Hengstberger ([EMAIL PROTECTED]) wrote:
  Hi!
  I need help concerning free-bsd literature:
 
  Two books seem to be interesting (the complete freebsd,
  absolute bsd) but although I had a look at both I'm not quite
  sure which one to buy.
  What I want is a deep bsd-specific guide covering mostly freebsd related 
  topic
  such as the kernel, system administration and of
  course as much networking as possible.
  I want to avoid paying for a 100-pages introduction to c-shell or
  bash (with wich I'm now familiar with) or a man-page like overview
  of the basic unix commands (ls and cd are under control now!).
  So which one of the two books would you recommend.
  If both are ok: what's the difference?

Both books are very recommendable. I personally prefer The Complete
FreeBSD written by Greg Lehey because I like his style of writing. It is
didactically ok, and a lot of knowledge grown in years of experience with
operating systems, networking and hardware is looking through.

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, [EMAIL PROTECTED]

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


Re: Why reccomend Bash shell?

2004-12-16 Thread Konrad Heuer

On Thu, 16 Dec 2004, Nikolas Britton wrote:

 (...)
 What are the main differences between tcsh and csh?, currently I use
 csh, this is because it was the first shell that FreeBSD presented me
 when I started using it and the fact that I didn't like bash (bash is
 trash, hmm? lol) from linux days.

I wrote three articles about csh and tcsh published in the daemon news
ezine three years ago; maybe you're interested in reading them:

http://ezine.daemonnews.org/200112/csh_tcsh_part1.html
http://ezine.daemonnews.org/200201/tcsh2.html
http://ezine.daemonnews.org/200202/tcsh3.html

Best regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, [EMAIL PROTECTED]

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


Vuala for FreeBSD

2008-11-18 Thread Konrad Heuer


Are there any chances to see FreeBSD supported by vua.la? Does anybody 
know?


Best regards
Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Did FreeBSD lose 83% of core developers?

2009-01-16 Thread Konrad Heuer


Hello everyone,

bsdconferen...@youtube (http://de.youtube.com/watch?v=g7tvI6JCXD0) 
presents a talk of Jason Dixon (BSD is Dying, Jason Dixon, NYCBSDCon 2007) 
mentioning what I ask within the subject:


Did FreeBSD lose 83% of core developers?

I never heard about that. What's the background of this message? Or is it 
just a joke?


Best regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, kheu...@gwdg.de
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


FreeBSD 7.1 OpenSSH_5.1p1 OpenLDAP 2.4.14

2009-02-27 Thread Konrad Heuer


Hello!

I've a very strange problem connecting via ssh to a maschine running 
7.1-RELEASE-p3 with OpenSSH_5.1p1 from very different ssh clients 
including the client on the system itself.


I tried a lot of things; the problem DOES *NOT* APPEAR when doing *ONE* of 
the following things:


* using ssh protocol version 1
* setting UseLogin yes in /etc/ssh/sshd_config
* using local accounts instead of using OpenLDAP accounts
  via pam_ldap and nss_ldap

In any other case, the client hangs after asking for the password and has 
to be killed by SIGKILL.


ssh -vvv gives the following output:

(...)
debug1: Next authentication method: keyboard-interactive
debug2: userauth_kbdint
debug2: we sent a keyboard-interactive packet, wait for reply
debug2: input_userauth_info_req
debug2: input_userauth_info_req: num_prompts 1
Password:
debug3: packet_send2: adding 32 (len 22 padlen 10 extra_pad 64)
debug2: input_userauth_info_req
debug2: input_userauth_info_req: num_prompts 0
debug3: packet_send2: adding 48 (len 10 padlen 6 extra_pad 64)
debug1: Authentication succeeded (keyboard-interactive).
debug3: clear hostkey 0
debug3: clear hostkey 1
debug3: clear hostkey 2
debug1: channel 0: new [client-session]
debug3: ssh_session2_open: channel_new: 0
debug2: channel 0: send open
debug1: Entering interactive session.

And now ^^^ nothing happens any more ...

With LogLevel DEBUG3 set in sshd_config sshd writes to 
/var/log/debug.log:


(...)
Feb 27 13:47:02 myhost sshd[62229]: debug3: mm_share_sync: Share sync
Feb 27 13:47:02 myhost sshd[62229]: debug3: mm_share_sync: Share sync 
end
Feb 27 13:47:02 myhost sshd[62229]: debug1: PAM: establishing 
credentials

Feb 27 13:47:02 myhost sshd[62229]: debug3: PAM: opening session
Feb 27 13:47:02 myhost sshd[62229]: debug3: mm_request_receive entering
Feb 27 13:47:02 myhost sshd[62232]: debug1: PAM: establishing 
credentials


^^^ Here logging stops.

In /var/log/auth.log you can read:

Feb 27 13:47:02 myhost sshd[62550]: Accepted keyboard-interactive/pam 
for myuser from myip port 59070 ssh2



Does anyone have an idea what to do? Or did anybody see a similar problem?

Thank you very much in advance and best regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, kheu...@gwdg.de
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Is NFS Locking Reliable?

2009-03-10 Thread Konrad Heuer


I'd like to ask for your experiences with NFS locking in larger 
environments.


Our experiences are not so satisfying. Our NFS servers for user home 
directories are on FreeBSD (6.4), MacOSX (10.5), Linux (still 2.4 kernel) 
and Tru64-UNIX boxes; NFS clients are mostly Linux (2.6 kernel) and 
FreeBSD (6.4, 7.0, but w/o kernel lockd) systems.


There are periods of several days without problems, but from time to time, 
on one, two, or several (but not all) clients application processes which 
use locking suddenly hang in kernel mode - namely firefox, opera, pine.


It seems to be no specific operating system problem - all combinations of 
clients and servers are involved.


There are some suspicious facts that out network may cause problems 
although not all ip subnets are protected by cisco firewall modules. But 
there may be other circumstances which could lead to sporadic packet 
losses or whatever else ...


So, if anyone has similar or other experiences with NFS locking, I'm very 
interested in reading about!


Thank you very much in advance!

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, kheu...@gwdg.de
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Problem: FreeBSD 7.x ssh v2 nss_ldap

2009-04-15 Thread Konrad Heuer


I see a problem on two systems running FreeBSD 7.0 or 7.1 which are 
configured as OpenLDAP clients using the nss_ldap module.


When someone logs on using ssh protocol version 2 the session will not be 
initialized correctly. The user will only get his primary group 
affiliation but no affiliation to other groups (memberUid attribute in 
LDAP group entries).


On 7.1 the ssh login process hangs forever with open ldap queries, on 7.0 
the group list is incomplete. On several 6.x systems, all works correctly.

I have used the configuration for years now.

There are some workarounds I found:

a) use ssh protocol version 1
b) set UseLogin to yes in sshd_config
c) avoid ssl encryption in communication to ldap server
   (ldap://... uri instead of ldaps://... in ldap.conf)

Does anybody see similar problems? Does anybody have an idea what may 
couse the problem?


Best regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, kheu...@gwdg.de
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


2020: Will BSD and Linux be relevant anymore?

2011-07-19 Thread Konrad Heuer


I found it very interesting to look at the thread Lennart Poettering: BSD 
Isn't Relevant Anymore and the original interview.


Just to make clear: I started using FreeBSD approximately in 1994 with 
2.0-RELEASE and still use FreeBSD and hope to do so a lot of years to 
come.


But: Neither BSD nor Linux will ever have chance to conquere the desktop, 
despite of KDE, Gnome or anything else. In business environments there is 
no alternative to Windows. Microsoft successfully created Active Directory 
from DNS, LDAP and Kerberos with an easy-to-manage interface and - 
meanwhile - a seasonable server operating system like Windows Server 
2008R2. It was long way for them from horrible Windows NT, but they did 
it. I don't see any chance to manage a large client-server-cloud with BSD 
or Linux as you can do with Active Directory.


Additionally, and especially in the personal environment, the market will 
more and more move away from the traditional PC or notebook -- except for 
games, but that's again not an area where Linux or BSD are strong -- to 
tablet PCs and other mobile devices. To my mind we'll have to face a rapid 
change within the next years, and operating systems of the future might be 
Android or IOS or Windows Mobile or something similar which my base on 
Linux or BSD but are something different.


Let's forget about BSD or Linux on the desktop and about KDE and Gnome 
etc. Nice to see them, but useful only for few.


BSD will have to keep in and find new niches on the server market. The 
number of installations is not the most important figure. Functionality is 
important -- ZFS, HAST, CARP, jails, as already mentioned -- would be nice 
to see a distributed file system.


So, let's continue as we did for years ..

Best regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, kheu...@gwdg.de
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


64-Bit Linux Applications

2009-05-11 Thread Konrad Heuer


Hello,

can I run 64 bit Linux applications on FreeBSD/amd64? Or is Linux 
emulation 32 bit only?


Thanks and best regards
Konrad


Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, kheu...@gwdg.de
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: The question of moving vi to /bin

2009-06-25 Thread Konrad Heuer


On Thu, 25 Jun 2009, Manish Jain wrote:


If you want to make a case for replacing ed(1), you're going to have
to come up with some concrete reasons for doing so, not just make a
(long and hyperbolic) statement that you don't like it.



Any Unix tool has to clearly fall either under the category of 
non-interactive (grep, sed, ex) or interactive (vi, wget, sysinstall). The 
case of non-interactive tools is simple : just do what you are told on the 
commandline and exit. For interactive tools, at a minimum, the application 
has to be show what data it is working on and what it does with the data when 
the user presses a key (or a series of them). ed was never meant to be 
non-interactive, and it does not fulfil the basic requirements of being 
interactive. That's one reason. Secondly, how many times does an average 
commandline user even think of using ed when he needs to edit a file, even in 
the extreme case where there are no alternatives ?



There have been some recent changes:

http://svn.freebsd.org/changeset/base/194628 
http://svn.freebsd.org/changeset/base/194628


that suggest that this problem is being addressed.


Till the improvements are in place, we need the alternative of having vi 
under /bin rather than /usr/bin.


Actually, it surprises me to what extent the core of the FreeBSD community is 
enamoured with this idea of a micro-minimalistic base, in which it is 
practically impossible to do anything except run fsck. Matters don't stop 
there. Seeing the limitations of this approach, the community churns up wierd 
workarounds like /rescue/vi, when all that was needed was shift vi from /usr. 
You talk about the need for compliance with old hardware and embedded systems 
to save a few kilos. How old is the hardware that you have in mind ? The 
oldest system running FreeBSD I know of is a 1997 Pentium with a 2 GB disk, 
and even that can easily withstand the change I am suggesting. Machines older 
than that are actually DEAD and don't have to be factored in. As for embedded 
systems, the primary target of FreeBSD is servers, workstations and *tops. 
The embedded world hasn't survived riding on FreeBSD, nor the other way 
round. So from the viewpoint of the greatest good of the largest number, 
over-indulging a mindset fixed around minimizing the base only leads to 
degradation, not improvement. Getting to boast of a 900K / won't do any good 
when people are thinking of having decent firepower (even while in 
single-user mode) and its ease of use.


But I guess my words are of no use when the people who matter just won't 
listen. So I give any hopes in this regard.


Maybe you're right, maybe not.

20 years ago, I've written and edited voluminous fortran code on a silly 
rs232 terminal using ed. So, it is possible, and one can learn basics of 
ed in less than a hour. Don't you think so?


Best regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, kheu...@gwdg.de

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


DLT tape / no streaming

2005-04-20 Thread Konrad Heuer

Hi,

I use a Benchmark DLT tape drive to backup data on my DELL PowerEdge 2650
system; syslog says:

Apr 20 09:09:02 gwdu111 /kernel: sa0 at ahc0 bus 0 target 6 lun 0
Apr 20 09:09:02 gwdu111 /kernel: sa0: BNCHMARK VS640 5032 Removable
Sequential Access SCSI-2 device
Apr 20 09:09:02 gwdu111 /kernel: sa0: 20.000MB/s transfers (10.000MHz,
offset 15, 16bit)

The problem I see is that data flow is not steadily streaming; the tape
drive is operating in start-stop-mode.

Disk speed does not seem to be the problem, e.g.:

gwdu111# dd if=/home/local2/ftp/pub/FreeBSD/3.3-RELEASE.iso of=/dev/null
bs=8k
82401+0 records in
82401+0 records out
675028992 bytes transferred in 14.670024 secs (46014170 bytes/sec)

What can I do to improve the situation? Any ideas are very welcome. Thanks
in advance!

Regards
Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >