Problem with Opera Plug-ins

2005-07-26 Thread lars

Hi all,

I can't seem to get Opera to run the Realplayer plug-in on FreeBSD 5.4 Stable.

I have

open-motif-2.2.3_2
opera-8.01.20050615
linux-realplayer-10.0.5

installed.


Following the instructions on:
http://www.bbc.co.uk/radio/audiohelp_nix.shtml

In /usr/X11R6/share/opera/plugins I created following symlinks:

% sudo ln -s /usr/X11R6/lib/linux-mozilla/plugins/nphelix.so nphelix.so
% sudo ln -s /usr/X11R6/lib/linux-mozilla/plugins/nphelix.xpt nphelix.xpt

So I have this:

/usr/X11R6/share/opera/plugins% ls -la 


total 378
drwxr-xr-x   2 root  wheel512 Jul 26 22:04 .
drwxr-xr-x  11 root  wheel512 Jul 22 18:42 ..
-rwxr-xr-x   1 root  wheel  82228 Jul 22 18:42 libnpp.so
lrwxr-xr-x   1 root  wheel 47 Jul 26 22:04 nphelix.so - 
/usr/X11R6/lib/linux-mozilla/plugins/nphelix.so
lrwxr-xr-x   1 root  wheel 48 Jul 26 22:04 nphelix.xpt - 
/usr/X11R6/lib/linux-mozilla/plugins/nphelix.xpt

-rwxr-xr-x   1 root  wheel  87556 Jul 22 18:42 operamotifwrapper-1
-rwxr-xr-x   1 root  wheel  87556 Jul 22 18:42 operamotifwrapper-2
-rwxr-xr-x   1 root  wheel  87556 Jul 22 18:42 operamotifwrapper-3
-rwxr-xr-x   1 root  wheel  33056 Jul 22 18:42 operaplugincleaner

unfortunately to no avail.




Apparently the line libXThrStub.so.6 = not found (0x0) in

% ldd /usr/X11R6/share/opera/plugins/operamotifwrapper-3
/usr/X11R6/share/opera/plugins/operamotifwrapper-3:
libXm.so.3 = /usr/X11R6/lib/libXm.so.3 (0x2808b000)
libXt.so.6 = /usr/X11R6/lib/libXt.so.6 (0x282bc000)
libXext.so.6 = /usr/X11R6/lib/libXext.so.6 (0x2830a000)
libX11.so.6 = /usr/X11R6/lib/libX11.so.6 (0x28317000)
libm.so.2 = /usr/lib/compat/libm.so.2 (0x283de000)
libc.so.4 = /usr/lib/compat/libc.so.4 (0x283f9000)
libXThrStub.so.6 = not found (0x0)
libSM.so.6 = /usr/X11R6/lib/libSM.so.6 (0x28492000)
libICE.so.6 = /usr/X11R6/lib/libICE.so.6 (0x2849b000)
libXp.so.6 = /usr/X11R6/lib/libXp.so.6 (0x284b3000)

is the problem.




Googling I found this message:
http://lists.freebsd.org/pipermail/freebsd-x11/2005-March/001810.html

[...]

I then did define BuildThreadStubLibrary in FreeBSD.cf and plugger/opera
work (mostly).

Ulrich Spörlein



Searching for FreeBSD.cf I get this:

% locate FreeBSD.cf
/usr/X11R6/lib/X11/config/FreeBSD.cf
/usr/ports/devel/imake-6/files/patch-FreeBSD.cf
/usr/ports/net/tightvnc/files/patch-Xvnc::config::cf::FreeBSD.cf
/usr/ports/net/vnc/files/FreeBSD.cf-patch
/usr/ports/x11/XFree86-4-libraries/files/patch-FreeBSD.cf
/usr/ports/x11-servers/XFree86-4-Server/files/patch-FreeBSD.cf
/usr/ports/x11-servers/xorg-server/files/patch-FreeBSD.cf
/usr/ports/x11-servers/xorg-server-snap/files/patch-FreeBSD.cf

I'm a bit scared of messing up my system, so I'll ask first.
Do I have to rebuild xorg or world or what do I have to do?

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


Re: upgrading from 5.4-RELEASE-p4 to 5.4-RELEASE-p5

2005-07-22 Thread lars

Louis LeBlanc wrote:

There was a new security announcement a couple days ago regarding the
devfs subsystem in FreeBSD.  The announcement is here:
ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:17.devfs.asc

My question is regarding the upgrade and patch description.  I am
running 5.4_RELEASE-p4.  The alert suggests either patching and
rebuilding the kernel or upgrading to 5.4-RELEASE-p5.

Upgrading to 5-STABLE or RELENG_5_4
means synchronising your source with one of these CVS tagged branches 
and then rebuilding your system.

In this particular case only the kernel really needs to be rebuilt and
reinstalled.
Some people however prefer to always rebuild the kernel and world
to ensure synchronicity of the two.

  If I decide to

upgrade my source, would it be sufficient (and safe) to just rebuild
the kernel, or do I still need to rebuild world?

In this case, you could do with only rebuilding and installing the kernel.


The only files changed between my last build and this one are
 src/UPDATING
 src/sys/conf/newvers.sh
 src/sys/fs/devfs/devfs_vnops.c

And for such a small change (I checked the patch, it's literally a 2
line change - sanity check of parameters for the defvs_mknod() call -
plus commentary), would it really be necessary to go through the
mergemaster process?  (from my POV, this is the most tedious and error
prone part of the whole process).

No, here it is not necessary.


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


Re: Backup Server with Freebsd 5.4. Help.

2005-07-22 Thread lars

perikillo wrote:

  Hi people.

 I like to hear some experienced about this situation and see if
is possible:

   We have in the company i work, one backup system running Windows NT
4 with some Seagate Backup Exec 7.8 over one SCSI system HP SuRestore
Ultrium 230, this system has working good for some years, but next
week we are going to receive one new Dell server running win server
2k3, this will be our PDC, and we need to get rid of Windows NT system
backup, and i want to install the backup system with Freebsd 5.3 or
5.4 and bacula or another backup system that you now is working with
my HP device.

   Them, i can use Freebsd 5.3 or 5.4 with my HP device with bacula or
other software to
backup files on my windows domain? The PDC is going to run win 2k3
here is going to be the files we want to backup.
Did you check www.bacula.org whether your tape drive is supported by 
Bacula? Or how to setup Bacula on MS Windows?



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


Re: What to do when panic?

2005-07-21 Thread lars

Kövesdán Gábor wrote:

Hello,

I've never debugged FreeBSD, but now I've decided to help the testing 
process of  FreeBSD 6. I installed it, and then I had a panic. I got a 
debugger prompt, but I don't know what to do with that. I don't know the 
debugger commands. Please let me know what should I do when I have an 
another panic. What should I type and what kind of information should I 
send as a PR.

Don't cross post.

Read:
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/problem-reports/article.html
and then, once you know how to format your info and to whom to send it, 
obtain the info like this:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html


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


Re: better disk reliability on a desktop machine

2005-07-15 Thread lars

-   /usr/ports/sysutils/smartmontools
can help you monitor your HDDs

-   RAID 0 doubles the chances of HDD failure and thereby data loss

-   DVDs and CDs are chronically unreliable, see the 14/2005 issue of the
German c't magazine where they tested CD/DVD burners and media
and found out that a lot of media are neither burnable nor readable
by a lot of CD/DVD drives

-   But since you need high performance on your HDDs and backup to tape,
you're probably fine

-   A hybrid approach of backing up data to a separate box
and to some removable media is probably the best.
And, nowadays at least, not even that expensive,
e.g. Mini-ITX boards are cheap and fast enough for this purpose.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Three questions...

2005-07-15 Thread lars

George Ruch wrote:

Q1:  I have two drives, laid out as follows:
Drive 1
/ad0a  WinXP, NTFS, 16.06GB, primary
/ad0e data, NTFS, 12.58GB, extended

Drive 2
/ad1a currently empty, 14.36GB, primary
  (installation target)
/ad1e /ad0 backup, NTFS, 14.27GB, extended

I'd like to use XP's NTLDR to manage the dual boot process.  I've seen 
the following trick for Linux ( www.redhat.com/advice/tips/dualboot.html):


- Boot into Linux, copy the first sector of the boot partition as follows:
dd if=/dev/hdb of=/bootsect.lnx bs=512 count=1
- Move bootsect.lnx to WinXP root (C:\), and add the following line to 
boot.ini:

C:\bootsect.lnx=Linux

Does this approach work with FreeBSD?  Logic says it should, given the 
similarities, but when has logic applied consistently to computers?

I can't say anything about it, never done it, check google.

Q2: Failing that, does anyone out there have any experience with 
PowerQuest's (now Symantec) BootMagic boot manager (p/o Partition Magic 
8.0) and FreeBSD?  The documentation indicated that it will recognize 
Linux partitions, but says nothing about FreeBSD.

Why not use FreeBSD's boot manager?
It's spartan and displays  for Windows but works without fault.
Otherwise gag.sourceforge.net is very recommendable and looks better too.


Q3: Partitioning
  Yes, I know you've seen several million questions on partitioning 
schemes.  I've read up on it, and I'd like to get some feedback on this 
plan.  All slices would be p/o ad1a, which has approx. 14,704MB free.


/128M
/usr8192M
/home3312M
/var1024M
/tmp1024M
swap1024M  (4 x physical)

That setup looks pretty alright imho.
I'd go for this here instead:
More for /usr,
less for swap,
that gives
/   same
/usrsame or more
/home   same
/varsame
swapRAM*2

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


Re: better disk reliability on a desktop machine

2005-07-15 Thread lars

Chuck Swiger wrote:

Chad Leigh -- Shire.Net LLC wrote:


On Jul 15, 2005, at 1:15 PM, Chuck Swiger wrote:


[ ... ]

Sure.  But a single spare HD is a single point of failure.  Having  
one tape per week or per month going back 10 or 100 tapes gives  much 
more redundancy



Better yet -- using dump, backup to HD and then copy that dump file  
to tape or CD/DVD or another HD...


I use 2 HDs and alternate which one I dump to each week.



Agreed.  Having an online backup location which then gets dumped to tape 
or some second place is excellent, since it makes restoring via rsync or 
whatever very easy.


As someone else suggested, you can also stick things like config files 
into version control (like CVS, subversion, etc), and then back that up 
via the mechanism above.



How fitting, my HDD with FreeBSD on it just failed, RIP.
But appr. 2h ago I backed up all my files to my storage server ;-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cloning FreeBSD installations

2005-07-14 Thread lars

Peter wrote:

Hi all,

I've some PC with identical HW with FreeBSD 5.4. I'm looking for a way to
clone FreeBSD installations from one PC to another.
I've read in mailing list about script clone.sh. The script copies the MBR
and  disklabel from ad0 to ad1 and then creates the file systems and copies
data with dump and restore. The cloned configuration file /etc/rc.conf is
edited using 'sed' to update the ip address and hostname.

Have you this script or something similar? Is the possible send me that?

Thanks a lot,
Peter Macko

You can also use ghost4unix, check www.feyrer.de/g4u
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Need advice on building a system with a Raid drive

2005-07-13 Thread lars

Bob Bomar wrote:

On Wed, Jul 13, 2005 at 10:23:13AM -0500, Jim Freeze wrote:


Hi

I am building a new system and plan to use two 
300GB drives in a raid 1 configuration. However,

I have read where fbsd can't boot from a raid
drive, but it is not clear why.

Can anyone confirm if this is a valid restriction?
Will I really need a boot drive separate from my
raid drives?


No, see google, it would give you, among other hits:
http://people.freebsd.org/~rse/mirror/

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


Re: Spyware on FreeBSD?

2005-07-13 Thread lars

Gayn Winters wrote:

I was wondering if anyone had had any trouble with spyware on their
FreeBSD systems, or if we are too small a group of consumers for the
spyware vendors to attack?

So far I don't think I have spyware on my machine,
but since I don't strictly monitor my net traffic and
since I haven't reviewed the source code of my installed programs
(or the FreeBSD source, for that matter)
I don't know for sure.


How immune is a FreeBSD system from spyware?  

As secure as the weakest software you're running on it.


For sure, we should all be
following the standard advice of NEVER surfing the web using the root
account!  

But you probably install software with root privileges.


Thus a modification of this question is: if we do not surf the
web using root, can we still get infected with spyware?

Yes, if the software you use has a vulnerability and
yes, if the software you're installing has spyware in it,
then it will be installed with the privileges you use for
installation.

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


Re: Keeping RELEASE_4_10 current?

2005-07-13 Thread lars

Eric Pretorious wrote:

On Wednesday 13 July 2005 07:10 am, Warren Block wrote:


# pkg_add -r cvsup-without-gui
# rehash



Because I'm using 4.10 and 4.10's repository is no longer...



river# pkg_add -r cvsup-without-gui
Error: FTP Unable to get 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4.10-release/Latest/cvsup-without-gui.tgz:
 File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4.10-release/Latest/cvsup-without-gui.tgz'
 by URL



I think that it'll just be easier to build a whole new system (i.e., -CURRENT) from 
scratch.

Thanks anyway.  :)

You can also use cvs to update your ports tree.
And then you could install cvsup via ports and
from there update your system.

I wouldn't build a system tracking CURRENT
(since you needed to ask here how to update your system,
I reckon you'll have many more questions running CURRENT,
I my be wrong of course ;-).

Go for the patch branch or STABLE.

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


Re: Sporadical NFS errors with NetApp backend (solved)

2005-07-11 Thread Lars Köller
--

Hello,

alas I get not response to my question, but some more googling and 
testing leads to a solution.

With the following mount options all runs well:

  tcp,rw,bg,dumbtimer,-r=32768,-w=32768

the most important thing is to not use any of the following

  intr or soft

it seems (only idea and wild speculation), that with even the intr 
mount option some IO ops are interrupted, so that I see the reported 
errors below.

Perhaps the problem are a signal send to a thread???

Regards

Lars


In reply to Lars Köller who wrote:
 
 At the moment I have a really strange problem in our environment.
 
   - NetApp Cluster NFS file server
   - HPUX-11, Solaris-8, FreeBSD-4.11 Clients
 
   - 6 Virus/Spam scans a day, spread over 5 different FreeBSD Machines,
 two different hardware bases, 1GBit Network
 
 A problem occurs with the Sophos PMX (PureMessage Anti-Spam/Anti-Virus)
 Application. 1-3 times a day the following happens:
 
   - pmx_log:3 2005-06-23T12:26:58 [36968,milter] pmx_file(): 
 Can't append message info to 
 '/usr/local/pmx4/var/qdir/tmp/1119522418-36968:135299072-ZN0IIE00EX1IKSAE.00-738-vscan1.hrz.uni-bielefeld.de':
  Bad file descriptor at 
 /usr/local/pmx4/lib/site_perl/5.6.1/PureMessage/MessageFile.pm line 124.
 
   - /usr/local/pmx4/var is located on the NetApp Filer (NFSv3)
 
   - Line 124 referenced above looks like (close($f)):
 
 sub make {
 my $class = shift;
 my $fname = shift;
 my $minfo = @_ == 1 ? shift : do {
 require PureMessage::MessageInfo;
 PureMessage::MessageInfo-new(@_);
 };
 open(my $f, , $fname) || die Can't append to '$fname': $!\n;
 print $f _minfo_block($minfo);
 close($f) || die Can't append message info to '$fname': $!;
 1;
 }
 
   - BUT: The message-info is absolutely correct appended!
 
 This does not occur if I move /usr/local/pmx4/var on a local disk.


-- 
 Dr. Lars Köller \   E-Mail : [EMAIL PROTECTED]
  Leitung Systeme \  Tel: +49 521/106-4964, FAX: +49 521/106-154964
  u. Serverdienste \ PGP-Key: http://www.uk.pgp.net/pgpnet/wwwkeys.html
- FreeBSD, what else? - http://www.de.freebsd.org -

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


Re: Keeping RELEASE_4_10 current?

2005-07-11 Thread lars

Eric Pretorious wrote:

Hello, All:

I've inherited a 4.10 system that  needs to be kept current but does NOT have 
cvsup installed yet. What's the best way to bring this system up-to-date with 
4-STABLE?



http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/anoncvs.html
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: adding unused disk space for FreeBSD

2005-07-09 Thread lars

On Saturday 09 July 2005 16:52:16, Ean Kingston wrote:

On July 9, 2005 09:04 am, [EMAIL PROTECTED] wrote:
 Hi all,
 I have a FreeBSD slice (/dev/ad4s3) on which my FreeBSD system lives and
 some unused free diskspace (resulting from deletion of another OS (no
 names

 :-))) on the harddisk. I'd like to use this free diskspace with FreeBSD.

 I was unable to figure out how to do that using 'fdisk and friends'.

You can do it on the command line with fdisk, bsdlabel, and newfs. It is a
bit easier to explain using sysinstall so, here is the sysinstall way:

#/stand/sysinstall


On newer 5.x systems you may want to use /usr/sbin/sysinstall instead
of /sbin/sysinstall.

Cheers,
ch

--
Christian Hiris [EMAIL PROTECTED] | OpenPGP KeyID 0x3BCA53BE
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu



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

Re: Is this a safe way to multi-home a mail server?

2005-06-25 Thread Lars Kristiansen



1.  Can I have both host IPs (one from each DSL net) as A records in
DNS for the mail server's name--e.g.,

mail.my.domain  IN A 1.2.3.4
mail.my.domain  IN A 5.6.7.8

and expect mail to arrive at the machine regardless of which network
is working at any given time?  (Part of the


Might help with the first question:
If you have two A records and someone tries to send mail to your 
mailserver, a random pick is performed and if it cannot connect, delivery 
fails and will be tried later with a new random choose between the A 
records.
On the other hand, if you use two different hostnames with same priority in 
MX record it will choose one random and try the other if it fails.




2.  Is there a way, via routed or other means,



--
Med vennlig hilsen
Lars Kristiansen

A D V E N T U R A S
Tlf: 22 20 59 90
Fax: 22 20 59 91
[EMAIL PROTECTED]
http://www.adventuras.no

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


Sporadical NFS errors with NetApp backend

2005-06-24 Thread Lars Köller


Hallo,

I'm a FreeBSD user for years with machines in production since V2.X.
At the moment I have a really strange problem in our environment.

  - NetApp Cluster NFS file server
  - HPUX-11, Solaris-8, FreeBSD-4.11 Clients

  - 6 Virus/Spam scans a day, spread over 5 different FreeBSD Machines,
two different hardware bases, 1GBit Network

A problem occurs with the Sophos PMX (PureMessage Anti-Spam/Anti-Virus)
Application. 1-3 times a day the following happens:

  - pmx_log:3 2005-06-23T12:26:58 [36968,milter] pmx_file(): 
Can't append message info to 
'/usr/local/pmx4/var/qdir/tmp/1119522418-36968:135299072-ZN0IIE00EX1IKSAE.00-738-vscan1.hrz.uni-bielefeld.de':
 Bad file descriptor at 
/usr/local/pmx4/lib/site_perl/5.6.1/PureMessage/MessageFile.pm line 124.

  - /usr/local/pmx4/var is located on the NetApp Filer (NFSv3)

  - Line 124 referenced above looks like (close($f)):

sub make {
my $class = shift;
my $fname = shift;
my $minfo = @_ == 1 ? shift : do {
require PureMessage::MessageInfo;
PureMessage::MessageInfo-new(@_);
};
open(my $f, , $fname) || die Can't append to '$fname': $!\n;
print $f _minfo_block($minfo);
close($f) || die Can't append message info to '$fname': $!;
1;
}

  - BUT: The message-info is absolutely correct appended!

This does not occur if I move /usr/local/pmx4/var on a local disk.

No errors in any logfile!

No problems with other Servers!

Any ideas? Is there a kernel NFS or interoperability problem with the 
NetApp Filer.

How can I debug this on FreeBSD?

Best regards

Lars

-- 
 Lars Köller \   Raum   : V0-318 (Tel: 4964, FAX: 154964)
  Leitung Systeme \  E-Mail : [EMAIL PROTECTED]
  u. Serverdienste \ PGP-Key: http://www.uk.pgp.net/pgpnet/wwwkeys.html
-- FreeBSD, what else?  http://www.de.freebsd.org -


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


Re: Advice replacing Xorg with XFree86_4

2005-06-17 Thread Lars Kristiansen



--On Friday, June 17, 2005 08:09:23 PM -0700 Kent Stewart 
[EMAIL PROTECTED] wrote:



On Friday 17 June 2005 07:53 pm, Everett Batey wrote:

Two weeks of fighting with Xorg on FreeBSD_4 ..

CAN ANYONE tell me the steps for hopefully
  deleting Xorg and
  replacing with XFree86_4.


If you read /usr/ports/Updating and go back to 20040723, you will see some 
recommended ways for going the other way. Maybe that will help.



That runs fine with my KM3M-V on board video ..

PLEASE,  I hate to think of leaving BSD after this
many years on my servers.


You pkg_delete anything that starts with xorg-* and imake. Change
make.conf to have
X_WINDOW_SYSTEM=xfree86-4

You might be able to get away with just installing XFree86-4.5.0,1 and
imake but I have a tendancy to think Murphy will get involved. If that
happens, you will need to bebuild most/all of your ports that use
XFree86.

If you didn't do that when you installed xorg, that could be part of
your problem.

FWIW, xorg doesn't work well on my FreeBSD-4.x systems. I installed it,
got tired of not being able to switch between the Spanish keyboard
layout and English and reinstalled everything that had been built with
XFree86. I had packages on an almost identical computer, so it wasn't a
big deal and did a package install of everything.

Other than the layout, it worked just fine, so, you have other problems.

Kent


Thank you


--
Kent Stewart
Richland, WA

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




--
Med vennlig hilsen
Lars Kristiansen

A D V E N T U R A S
Tlf: 22 20 59 90
Fax: 22 20 59 91
[EMAIL PROTECTED]
http://www.adventuras.no

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


Re: Personal Wiki without a webserver/database

2005-06-06 Thread Lars Eighner

On Mon, 6 Jun 2005, Ray Seals wrote:


I would like to have a desktop wiki that doesn't need a big database
server or web server.  I have been using wikidPad for windows but since
my main machine is a BSD laptop.  I looked through the ports but
basically everything wants a web server installed.

Any suggestions?


Are you sure?  I believe that some are pure cgi which will work
with lynx (with lynxcgi enabled) without a server.

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

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


Re: Mailscanner PC requirements

2005-06-03 Thread Lars Kristiansen
 Hi
 might need more RAM, esp is you plan to use Spamassassin with the MS
 setup. My old system (cel 500 512MB RAM) would top out around 14,000
 messages per day of around 25kb average size. But I was also running
 MailWatch and the associaed mysql DB on the box as well and lots of
 extra SA rules..

 As for performance related stuff vmstat/iostat/sar are good places to
 start. Also you don't mention the MTA to be used. This can make a huge
 difference. Sendmail and Postfix tend to slower with exim and qmail
 faster in that order.

 You'll get extra performance by turning on softupdates on the spool
 directory filesystems too.

You can tune a couple of settings in MailScanner.conf which will help a lot:

As each mailscanner process uses about 20Mb of memory you probably want to
reduce the number of mailscanner children to 2 or 3.
for example: Max Children = 3
Dont recommend using only one because if that one chokes then the system
can stop processing mail altogether. Two or three children decreases that
risc.

Also if using spamassassin you can set spamassassins timeout high.
I have not heard of any drawbacks with this and it saves you lots of
worries, and especially so in a system with small resources.
for example: SpamAssassin Timeout = 600


 See you on the MailScanner users email list (under my work email).

also recommended reading:
http://wiki.mailscanner.info


--
Hilsen from Lars




 --
 Martin

 On 6/1/05, Jean-Paul Natola [EMAIL PROTECTED] wrote:
 Hi all,

 First OFF NEWBIE here - so  please bear with me--

 I have installed  FreeBSD 5.4 on a box that I plan to use Mailscanner to
 filter the mail prior to hitting my Mail server.

 Its on a PII 450 with 256mb ram  and a 12 gig drive.

 I would like to know

 1) How can I check to make sure the system is running OK ( I'm from the
 windows world) where we have event logs  and performance monitor to make
 sure
 the install was done correctly, give you page fault data mem ,cpu usage
 etc...

 Any tools  or commands in FreeBSD that can give me this type of info?

 2) given the above specs, is that ok to handle mail for roughly 40
 users?

 Thanks in advance





 Jean-Paul Natola
 Network Administrator
 Information Technology
 Family Care International
 588 Broadway Suite 503
 New York, NY 10012
 Phone:212-941-5300 xt 36
 Fax:  212-941-5563
 Mailto: [EMAIL PROTECTED]

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

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


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


Re: drivers

2005-05-29 Thread Lars Eighner

On Mon, 30 May 2005, Greg 'groggy' Lehey wrote:


I've sent a message to the FreeBSD postmaster suggesting a limit of
100 kB.  My reasoning for this relatively low limit: nobody's going to
look at much more anyway, and it will encourage people to quote
carefully :-)


I'm still wondering what could possibly have been in 9 megs that
could conceivably be call a text file about system specification
(even at two-bytes per character).  Did it specify every
molecule in the system?

Look, maintainers may indeed be interested in dumps that exceed
100kB, but there is no reason to post stuff like that to a
public mailing list.  If there is anything that has to be that
big or bigger for some reason, stick on the web and provide a
link.  It may not be any faster to download for people with slow
links, but most browsers will give you some idea what you are
getting.  And people who know they have slow links may elect not
to help anyone with 9 megs of problems.

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

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


Re: Finding out original source of e-mail

2005-05-18 Thread Lars Kristiansen
I'm trying to find the true souce of this e-mail.is it possible to
do this? Looking at the first received line shows that 
FWM-D38.sysops.aol.com
received the email from  204.214.222.51.  Usually you would expect to see
a name associated with that address, but in this case there isn't.
Spammers sometimes add headers to confuse antispamsoftware.
Only the last added Received:  header can be trusted. That one was added 
by your mailserver, and contains information as seen from there. If you 
want to confirm the information from the next steps you will need access to 
logs on servers involved.

My advice?  Forget about it and throw it in the bin where it belongs.
agreed
--
Hilsen Lars
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: I need further HDD advice before submitting order.

2005-05-11 Thread Lars Kristiansen
Jerry McAllister wrote:
  One small modification, as someone noted, if you make a vinum or
mirror,
  you will probably not want the chunk of swap to be on the front of
  the second drive.   So, you can make it last without too much
difficult.
Chuck Swiger wrote:
  If you do want to mirror the boot disk, you want the first partition to
  be bootable and resemble the first disk, which means you do not want to
  put swap first on the 200GB drive.
Hi, just a comment on one of the issues:
For what its worth, I have two identical disks mirrored with gvinum, and 
where swap is first on the disk.
As an example, here is bsdlabel-output for one:
#size   offsetfstype   [fsize bsize bps/cpg]
 a:  2097152  20974174.2BSD0 0 0
 b:  20971520  swap
 c: 781722270unused0 0 # raw part, don't 
edit
 d: 76075075  2097152 vinum

Some of this is described in in the vinum section of The Handbook.
Sorry but I cannot remember the details when installing, so I will refrain 
from giving detailed advice.
This setup has worked well at least for me; the system can boot from either 
disk in case of a diskfault.

It does of course not cover a failed update attempt or a quick 
configuration change gone bad. So I am going to try that /altroot advice 
too.


--
Med vennlig hilsen
Lars Kristiansen
A D V E N T U R A S
Tlf: 22 20 59 90
Fax: 22 20 59 91
[EMAIL PROTECTED]
http://www.adventuras.no
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


HP PSC 1350 and hpoj and usb

2005-05-03 Thread Lars Eighner
I am trying to enable the scanning functions on an HP PSC 1350
all-in-one printer.
The print functions work with hpijs/cups/foomatic-filters.
I have installed hpoj, but ptal-init cannot find the scanner.
The problem seems to be that the scan functions get improperly
attached at boot time.
This is my system (uname -a output)
FreeBSD goodwill.io.com 5.4-STABLE FreeBSD 5.4-STABLE #5:\
 Mon Apr 25 09:39:03 CDT 2005\
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
The kernel is generic with USB 2.0 enabled
These appear to be the relevant parts of dmesg
usb2: EHCI version 1.0
usb2: companion controllers, 2 ports each: usb0 usb1
usb2: VIA VT6202 USB 2.0 controller on ehci0
usb2: USB revision 2.0
uhub2: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 4 ports with 4 removable, self powered
ulpt0: hp psc 1300 series, rev 2.00/1.00, addr 2, iclass 255/204
ulpt0: using bi-directional mode
### printer function found
umass0: hp psc 1300 series, rev 2.00/1.00, addr 2
### evidently umass identifies the scanner functions as a mass storage
### device  (which is the right answer for the photo card when in the
### camera, but evidently is not correct for the psc.
da0 at umass-sim0 bus 0 target 0 lun 0
da0: HP  1.00 Removable Direct Access SCSI-2 device da0: 1.000MB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): NOT READY asc:3a,0
(da0:umass-sim0:0:0:0): Medium not present
(da0:umass-sim0:0:0:0): Unretryable error
Opened disk da0 - 6
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): NOT READY asc:3a,0
(da0:umass-sim0:0:0:0): Medium not present
(da0:umass-sim0:0:0:0): Unretryable error
Opened disk da0 - 6
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): NOT READY asc:3a,0
(da0:umass-sim0:0:0:0): Medium not present
(da0:umass-sim0:0:0:0): Unretryable error
Opened disk da0 - 6

### attached as a mass storage device at da0, umass continues to
### get wrong answers for the psc 1350
Any help would be appreciated.
--
Lars Eighner
[EMAIL PROTECTED]
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Getting CUPS to use hpijs

2005-04-29 Thread Lars Eighner
On Fri, 29 Apr 2005, Jon Drews wrote:
5.4-STABLE FreeBSD 5.4-STABLE #0: Sun Apr 24
Ports I have installed:
cups-base-1.1.23.0_3
cups-lpr-1.1.23.0
cups-pstoraster-7.07_3
cups-lpr-1.1.23.0
hpijs-1.7.1
Printer: HP Deskjet 3740
Hi:
I can't get my HP3740 Deskjet to print using CUPS. I installed cups
from ports. I also installed print /hpijs with  # make WITH_CUPS=yes.
Nevertheless, I can't find any of the appropriate *.ppd files. Is
there a particular order the hpijs and cups ports have to be installed
in ? If I install hpijs without the CUPS option, then the *.ppd's are
all in /usr/local/share/ppd.
I have this printer working in OpenBSD, under lpr, so it does indeed
work. I use
the HP-DeskJet_3740-hpijs.ppd.
I don't know what all I did to get my (different) hp printer
working, but everything got much better after I installed
foomatic.
--
Lars Eighner
[EMAIL PROTECTED]
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: about hpoj

2005-04-16 Thread Lars Eighner
On Sat, 16 Apr 2005, Andrea Riela wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi folks,
what I've to do to print correctly a file with my HP OfficeJet 7140xi through 
a network connection?
I've installed the hpoj port, and I could see:

elessar# ptal-hp device
Model name:officejet
Model number:  7140xi
Serial number: HU3BKFM0TC6L
Firmware version:  GD206R
Firmware datecode: (unavailable)
but if I try with ptal-print  file, the printed page is incorrect :)
Maybe I need cups or something like that?

Yes.  And you might have to rebuild hpoj with cups support.  The
cups documentation is pretty tough going, but the FreeBDS diary
has a step-by-step which is very helpful.  Once it is set up,
cups administration is easy with any browser (lynx will work).
--
Lars Eighner
[EMAIL PROTECTED]
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: HP PSC 1350

2005-04-14 Thread Lars Eighner
On Thu, 14 Apr 2005, Bachelier Vincent wrote:
Hi,
anybody know how to make HP PSC 1350 works ?
on linux I use ptal but it would work on Freebsd
my printer is USB one
It is supposed to be supported by the hpoj port which
is in the *graphics* ports (not the print ports).
These are the linux drivers, and should function in the
same way.
A table of supported HP products can be found at
http://hpoj.sourceforge.net/ .

--
Lars Eighner
[EMAIL PROTECTED]
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: HP PSC 1350

2005-04-14 Thread Lars Eighner
On Thu, 14 Apr 2005, Lars Eighner wrote:
On Thu, 14 Apr 2005, Bachelier Vincent wrote:
Hi,
anybody know how to make HP PSC 1350 works ?
on linux I use ptal but it would work on Freebsd
my printer is USB one
It is supposed to be supported by the hpoj port which
is in the *graphics* ports (not the print ports).
These are the linux drivers, and should function in the
same way.
I apologize for that reply.

A table of supported HP products can be found at
http://hpoj.sourceforge.net/ .

Although PSC 1350 is listed as supported by hpoj, and although
FreeBSD has an hpoj port, it appears that FreeBSD does not have
sufficiently good USB support to make this printer functional.
I too now have a paperweight instead of a printer-scanner.
--
Lars Eighner
[EMAIL PROTECTED]
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: blanking the console

2005-04-02 Thread Lars Eighner
On Sat, 2 Apr 2005, dick hoogendijk wrote:
OK, probably a stupid question. I can't find it though. Sorry.
How can I blank the screen on the console (terminal).
Something like the linux setterm -blank 60 which will blank the screen
after 60 seconds of inactivity. There must be a (freebsd) equivalent,
but what is it?

kldload blank_saver
   (loads the blank screensaver kernel module)
vidcontrol -t N
   (sets the timeout time to N seconds)
You can set these as boot-up default using
/stand/sysinstall .  Look for post-install configuration,
console.
--
Lars Eighner
[EMAIL PROTECTED]
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: looking for a shell editor

2005-03-25 Thread Lars Eighner
On Fri, 25 Mar 2005, Erik Trulsson wrote:
On Fri, Mar 25, 2005 at 01:09:52PM +0100, Gert Cuykens wrote:
Yep joe looks great. But i dont understand why they use ^K so much ?
What is the logic behind ^K what does K stand for ? I would understand
^J on all the special joe key bindings but ^K ?
The default keybindings in Joe are based on those used in WordStar
which used ^K (as well as ^Q) for many commands, so it is mainly
historical reasons.  WordStar used to be very popular so many people
are already familiar with those keybindings (either directly from
WordStar, or from one of the many other programs that also used some
variant of them.)
I don't think K stands for anything really - I think it was chosen
mainly because it was placed in a convenient position on the keyboard.
The WordStar keybindings might not seem very logical at first glance,
but ones fingers very quickly learn them. (Unlike e.g. the default
keybindings in Emacs which are quite logical, but which I usually find
difficult to remember.)
I might add that Joe is exceedingly easy to configue (no lisp!)
besides coming with a choice of (once) popular bindings --
simply invoke it with one of its other names.  You can
reconfigure each of them so you can have several versions of
the one you prefer or the configuration you like.  Macros can do
pipe stuff through any pipe-aware command you have on
your system, so things get done exactly as they would on the
command line and not with some internal sort-of-like.
Despite the C in EMACS, it is exceedingly hard to configure, and
some things really are impractical to change.  If you want to do
something else with control-X and control-c, you should be able
to map those functions elsewhere. (To many people control-x,
control-c, and control-v seem logically connected to cut,
copy, and paste, respectively.) But just try it.  Too many
packages have been written that assume you won't move those
keys.
--
Lars Eighner
[EMAIL PROTECTED]
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cannot build openoffice

2005-03-16 Thread Lars Kristiansen
 Hello,
 When I try to build openoffice I get the following error:
 ./unxfbsd.pro/misc/FREEBSDGCCIruntime/libprldap50.so  \ echo 
 /dev/null
 cp: ./unxfbsd.pro/misc/build/mozilla/dist/bin/libnss3.so: No such file or
 directory
 dmake:  Error code 1, while making
 './unxfbsd.pro/misc/build/so_moz_runtime_files'
 ---* TG_SLO.MK *---
 *** Error code 255

 Stop in /usr/ports/editors/openoffice-1.1.

 Does anyone know why this might happen or what I can do to fix it?

Me too...

But there is binary packages available from openoffice.org.
http://oootranslation.services.openoffice.org/pub/OpenOffice.org/ooomisc/FreeBSD/
You can download one of these and install with pkg_add packagename

I did not manage to find suitable package from the ports, somehow.

--
Hilsen Lars



 Thanks

 /Brian

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


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


Re: Using META and DEL keys in console

2005-03-03 Thread Lars Eighner
 the xterm keyboard are two
different things.  You should think long and hard about mapping
the X keyboard - as there seems to be a lot of chaos in how
applications and window managers fight over the keyboard and you
don't really want to stir up that up any more than you can help.
However, mapping the xterm so that applications that run in an
xterm run just like they do in the console is a perfectly
reasonable goal, and as I have mentioned can be done in the
Xdefaults file. Moreover, these use more human-reasonable
keynames rather than scancodes.
If you must map the X keyboard (not just the xterm) you can use
xmodmap to map the X keyboard either a line at time or by
loading a whole file (xkeycaps can output a file suitable for
loading with xmodmap).  I think some applications will thwart you
by accessing the keyboard directly.
--
Lars Eighner
[EMAIL PROTECTED]
http://www.io.com/~eighner/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Using META and DEL keys in console

2005-03-01 Thread Lars Eighner
On Tue, 1 Mar 2005, Alejandro Pulver wrote:
Hello,
I have a PS/2 PC-101 keyboard.
I would like to use my META (ALT in my keyboard) key instead of ESC in
console mode. META works fine in an xterm. I also would like to use DEL
and others.
The console keymaps are in /usr/share/syscons/keymaps.  You can edit
whichever keymap you are using with a flat ascii editor.
To get a key to send the familiar ^?, enter del in the keymap.
Not all applications, however, will do the expected thing with
this, and you will have to consult the documentation for the
individual applications to see whether they can be configured to
do what you expect from a delete key.  For backspace, bs, for
meta, meta, esc for escape.  Note that you can set the left and
right Alt keys to different things, and that keypad Del/. key
can be different from the Delete key.
You almost certainly do not want to mess with terminfo.
If you use the the bash shell, you can see
what a key is currently sending by entering C-vkeystroke
at the command prompt.
I read something in the manual pages of terminfo(5), gettytab(5),
etc.
I tried the following options:
:km:smm:dc:
But I am having these thoubles:
1) My ALT key did not work and the DEL key acts as BACKSPACE (C-h),
  but I would like to use it as C-d.
C-d is eot in the console keymap if you would rather have that
than the ^? which is del.

2) Some strange thing happens with Emacs in console mode: when I press
  DEL, it is interpreted (literally) as C-h, and C-h is used as
  BACKSPACE. And C-d acts as DEL.
Switching to the emacs keymap might help you.

3) Also DEL does not do anything in xterm.
Make changes to xterm mappings in your .Xdefaults file, such as:
!! xterm keymappings
*XTerm*VT100.translations:  #override \n\
KeyKP_Delete: string(0x7f) \n\
Naturally, you can make these strings whatever you want.
Is there a more descriptive documentation of the terminal capabilities
listed in terminfo(5)?
Yes, you can google for many books worth of material, but it is
not particularly germane to what you want to do if you are running
a PC with a PC keyboard, and not trying to connect some ancient
dumb terminal.
Is there a standard configuration for PS/2 PC-101 keyboards?
Unfortunately there are a lot of them.

Does xterm use a different configuration from console terminals?
Yes.
X applications are meant to run on X, and X is meant to run on a
variety of machines.  Any relationship between xterm and the
machine's native terminal is purely coincidental.  (In
particular, xterm is meant to be out of the box compatible with
the very old VT100 standard - which never was native to any PC
operating system.) You can get xterm and the console keyboard to
behave mostly the same way - and get that way to be what you
want - by editing .Xdefaults and the syscons keymap you are
using (probably both).  But that doesn't mean that every
application will behave as you think it should.
--
Lars Eighner
[EMAIL PROTECTED]
http://www.io.com/~eighner/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cleaning /tmp on boot

2005-02-24 Thread Lars Kristiansen
 Alternatively, is there something similar to tmpfs from Linux
 available on FreeBSD?  I've heard about mfs but it statically
 allocates memory from the VM, I'd prefer if allocation was done only
 as needed on demand.

Found these:
http://docs.freebsd.org/cgi/mid.cgi?41E01905.3040200
http://docs.freebsd.org/cgi/mid.cgi?45044.1105365790

So swap backed memory disks only swaps to disk when necessary.

Wish that could have been mentioned in the handbook or man-pages.
Should I try to PR that? Someone more knowledgeable will do it I hope :-)


--
Hilsen Lars


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


Re: Cleaning /tmp on boot

2005-02-24 Thread Lars Kristiansen
Lowell Gilbert skrev:
Lars Kristiansen [EMAIL PROTECTED] writes:
 

Alternatively, is there something similar to tmpfs from Linux
available on FreeBSD?  I've heard about mfs but it statically
allocates memory from the VM, I'd prefer if allocation was done only
as needed on demand.
 

Found these:
http://docs.freebsd.org/cgi/mid.cgi?41E01905.3040200
http://docs.freebsd.org/cgi/mid.cgi?45044.1105365790
So swap backed memory disks only swaps to disk when necessary.
Wish that could have been mentioned in the handbook or man-pages.
Should I try to PR that? Someone more knowledgeable will do it I hope :-)
   

--- src/share/man/man4/md.4.ORIG   Thu Feb 24 11:51:37 2005
+++ src/share/man/man4/md.4Thu Feb 24 11:51:51 2005
@@ -50,7 +50,7 @@
This allows for mounting ISO images without the tedious
detour over actual physical media.
.It Cm swap
-Backing store is allocated from swap space.
+Backing store is allocated from virtual memory space.
.El
.Pp
For more information, please see
Feel free to PR.
 

Thank you, done. (or tried to)
http://www.freebsd.org/cgi/query-pr.cgi?pr=78041
--
Still dark.
Hilsen Lars
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: get local sendmail to use MX records

2005-02-23 Thread Lars Kristiansen
 No, that is not the solution. It could be, but it's not what I want.

 An example:

 domain: domain.com
 domain.com is hosted on server B. The MX record for domain.com says that
 server A handles the mail of domain.com. So [EMAIL PROTECTED] should be
 handled by server A.

Do you mean that your /bin/hostname show domain.com and not
machine.domain.com?

Anyway, you may have the option to bury the problem by using smart_host
and mail_hub:
 like this in sendmail.mc:
define(`SMART_HOST',`serverA.domain.com.')dnl
define(`MAIL_HUB',`serverA.domain.com.')dnl


--
Hilsen Lars


 This works, but now on server B there runs a script that sends an e-mail
 to
 [EMAIL PROTECTED] . What SHOULD happen is that sendmail on server B looks
 up
 the MX record for domain.com, sees that server A handles the mail for
 domain.com and sends the mail to server A. What happens is that sendmail
 recognizes the domain as hosted on that machine and uses localhost to
 deliver the mail. It looks for user gerard (in this example), which
 doesn't
 exist.

 I agree with you, a solution would be to set in the alias file of server B
 something like gerard: [EMAIL PROTECTED] . If this was about just one
 e-mailaddress, it wouldn't be a problem, but I'm actually talking about a
 little more then one address.

 So that's not a good solution for me.

 - Original Message -
 From: Hexren [EMAIL PROTECTED]
 To: Gerard Meijer [EMAIL PROTECTED]
 Cc: freebsd-questions@freebsd.org
 Sent: Wednesday, February 23, 2005 6:30 PM
 Subject: Re: get local sendmail to use MX records


 GM Hi,

 GM I have the following situation:

 GM I have moved my mail services from my dedicated server to another
 server.  The MX records were updated at the DNS host to point to the
 other
 server.  Email from the outside is being routed
 GM correctly to the new server, but now the local scripts on the
 dedicated server are still being routed to the local accounts and not
 actually sent to the other server.

 GM So sendmail on the first server tries to use localhost as a relay,
 instead of looking up the MX records for the domain.

 GM Anybody knows how to solve this?

 GM Thanks!

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

 -

 Quick and dirty: /etc/mail/aliases
 putting in something like root: [EMAIL PROTECTED] should do the
 trick. Or am I missing something ?

 Hexren

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



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


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


Re: USB drive - crypto filesystem options?

2005-02-21 Thread Lars Kristiansen
 That's where you folks come in.  Has anyone had any experience
 actually using a crypto filesystem on a USB drive?  What utilities are
 available for this?  And more importantly, what have your experiences
 been?

Have been using cfs for a few years without any problems, first on linux,
now also on freebsd.
Have got an usb-stick with ext2fs-filesystem and a cfs encrypted directory.
The files can the be accessed from both linux and freebsd.
Backups are easy, just copy the encrypted files, and they can be attached
from anywhere.

--
Hilsen Lars

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


Re: SSH-agent setting

2005-02-15 Thread Lars Kristiansen
 Hello,

 I set ssh-agent just fine for a session from a xterm under X.


 But what I'd like to have is once I log in to have session start from
 my .profile so that when I do startx every subsequent xterm
 'inherits' the ssh-agent so that I don't have to type in the password.

 Is such a thing do-able ?

in ~/.xinit start your windowmanager with something like:
/usr/bin/ssh-agent   ~/bin/startmywindowmanager

if you are using xdm, some applications in ports can help you with
providing a password-dialog, among others ssh_askpass_gtk2.

--
Hilsen Lars



 Thank you


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


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


Re: SSH-agent setting

2005-02-15 Thread Lars Kristiansen
 Hello,

 I set ssh-agent just fine for a session from a xterm under X.


 But what I'd like to have is once I log in to have session start from
 my .profile so that when I do startx every subsequent xterm
 'inherits' the ssh-agent so that I don't have to type in the password.

 Is such a thing do-able ?

 in ~/.xinit start your windowmanager with something like:
correction: i have this in the file  ~/.xsession , sorry.
 /usr/bin/ssh-agent   ~/bin/startmywindowmanager

 if you are using xdm, some applications in ports can help you with
 providing a password-dialog, among others ssh_askpass_gtk2.

 --
 Hilsen Lars



 Thank you


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


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


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


Wireless PCMIA problems

2005-02-15 Thread Lars Hederidder
Hey,

I have a 3Com 3CRSHPW_96 Wireless PCMIA card for my laptop.
However I'm a newbie at using PCMIA cards on FreeBSD.

BSD finds the card when I plug it in, but it doesn't show up when
I use the ifconfig command.

Can anyone help me with this problem, so I can get it up and running.
The system is a fresh installed FreeBSD 5.3

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


Re: Wireless PCMIA problems

2005-02-15 Thread Lars Hederidder
I've tryed to use the Windows driver, but it doesn't seem to
work. I did the following:

# cd /usr/src/sys/modules/ndis/
# make  make install
# cd ../if_ndis/
# cp /cdrom/driver/* ./
# ndiscvt -i ./netwpx96.inf -s ./wlpx96e.sys -o ndis_driver_data.h
# make  make install
# kldload ndis
# kldload if_ndis

When running dmesg there are no ndis0 to be found in the list.
The only data linked to the card is the following:
pccard0: unknown card (manufacturer=0x0101, product=0x0696) at function 0
pccard0:CIS info: 3Com, 3CRSHPW_96 Wireless LAN PC Card, (null)

Regards
Lars

On Tuesday 15 February 2005 18:04, you wrote:
 On Tuesday 15 February 2005 10:40 am, Lars Hederidder wrote:
  Hey,
 
  I have a 3Com 3CRSHPW_96 Wireless PCMIA card for my laptop.
  However I'm a newbie at using PCMIA cards on FreeBSD.
 
  BSD finds the card when I plug it in, but it doesn't show up when
  I use the ifconfig command.
 
  Can anyone help me with this problem, so I can get it up and running.
  The system is a fresh installed FreeBSD 5.3
 
  Thanks in advance
  Lars

 When you say FreeBSD sees the card, do you mean it is associated with
 a device, or just that the card's name appears in dmesg?

 It would appear, from the email message link below, that this card
 requires the use of it's Windows drivers.

 http://lists.freebsd.org/pipermail/freebsd-mobile/2004-September/004804.htm
l

 Follow the link below to the online handbook's chapter on wireless
 networking.  Read the whole chapter; but pay particular attention to
 section 25.3.3.6.3, toward the bottom, regarding the NDISulator.

 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.
html

 Best of luck,

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


Re: ye ol xargs unterminated quote error, thought it was gone?

2005-02-11 Thread Lars Kristiansen
 when I use the usual:

 find . -type f -print | xargs grep -sl foobar

Have you tried:
find . -type f -print0 | xargs -0 grep -sl foobar


 i get;

 xargs unterminated quote error and have to use:

 find . -type f -print | sed 's/^\(.*\)$//'\1'/' | xargs grep -sl foobar

 to quote the output from find. anyone know a more elegant solution?

 thoughts?

 ken;

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


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


Re: Electricity bill [was: Re: Leaving a Computer Running ?]

2005-02-07 Thread Lars Kristiansen

 Since the computers are necessary for both work and play, I consider
 running them to be electricity wisely used.  I do turn the monitors off
 when I'm not home, but since they are all flat panels now, that
 represents only a trivial amount of electricity.

That reminds me:
Please also consider fire hazards!
I have had a CRT-monitor catching on fire.

--
Hilsen Lars



 --
 Anthony


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


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


Re: Exporting mounted filesystems

2005-01-21 Thread Lars Kristiansen
 Hi,

 i am running FBSD 4.10 and i am trying to export mounted filesystems ( usb
 stick and cdrom )

 currently there are 2 subdirs in /mnt: da0 and cdrom.
From man exports :
... specifies the mount point(s) and export flags within
one local server
 file system for one or more hosts.


 when i mount_nfs this machine's /mnt on another machine, i see the
 underlying filesystem, not the mounted ones ( ie: da0 is empty, while on
 the exporting machine, da0 is not empty )

 what am i doing wrong?

 regards,

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


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


Re: ALT key on console25?

2004-12-16 Thread Lars Eighner
On Thu, 16 Dec 2004, John Conover wrote:
Doing the following:
   mymachine# egrep 014 /usr/share/syscons/keymaps/us.iso.kbd
 014   bs bs deldelbs bs deldel O
   mymachine# kbdcontrol -l /usr/share/syscons/keymaps/us.iso.kbd
should set the backspace and shift backspace key sequence to rub out
the character before the cursor on the command line, (it does,) and
ctrl-backspace to delete the character under the cursor; it doesn't.
The problem is that del = bs, so if /etc/defaults/rc.conf has:
   keymap=us.iso.kbd
then scan code 103, (the Delete key on a US 104 key keyboard,) will be
a backspace key, and there will be no Delete key.
Note that if:
   keymap=NO
the backspace and Delete keys work as they should. But if a keymap is
specified, (say, perhaps to map the Alt keys,) then you can't have a
Delete key.
How do you work around del = bs in the keymaps?

The ANSI code for the stand-alone (not keypad) delete key is
ESC-[-E.  You should get that with fkey61.  del should give
you ^?  If the cons is sending those, it is an application
problem (including the shells as applications).  Most uniod
applications need some individual adjustment to get them to
handle a proper delete properly.
--
Lars Eighner
[EMAIL PROTECTED] -finger for geek code-
http://www.io.com/~eighner/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: vim-enhanced

2004-12-16 Thread Lars Kristiansen
 On Thu, Dec 16, 2004 at 08:19:54PM +0200, Giorgos Keramidas wrote:

 yep i compiled with this functions but for example

 i edited a document with vim-enhanced and save it, at the next time i
open it the cursos appears in the line when i was saved.

 and i can move with the cursors in edit mode. when i press the cursors
in edit mode appears letters like D A etc etc

look for something like these:
/usr/local/share/vim/vim63/gvimrc_example.vim
/usr/local/share/vim/vim63/vimrc_example.vim

copy those to
~/.vimrc
~/.gvimrc

and edit them to your liking.


--
Hilsen Lars




Tjenesten mail.adventuras.no ble levert av Adventuras Web Agency
http://www.adventuras.no/





Tjenesten mail.adventuras.no ble levert av Adventuras Web Agency
http://www.adventuras.no/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ALT key on console25?

2004-12-15 Thread Lars Eighner
\
AltKeyF6: string(0x1b) string([[) \n\
AltKeyF7: string(0x1b) string([ ) \n\
AltKeyF8: string(0x1b) string([]) \n\
AltKeyF9: string(0x1b) string([^) \n\
AltKeyF10: string(0x1b) string([_) \n\
AltKeyF11: string(0x1b) string([`) \n\
AltKeyF12: string(0x1b) string([{) \n\
MetaKeya: string(0x1b) string(a) \n\
MetaKeyb: string(0x1b) string(b) \n\
MetaKeyc: string(0x1b) string(c) \n\
MetaKeyd: string(0x1b) string(d) \n\
MetaKeye: string(0x1b) string(e) \n\
MetaKeyf: string(0x1b) string(f) \n\
MetaKeyg: string(0x1b) string(g) \n\
MetaKeyh: string(0x1b) string(h) \n\
MetaKeyi: string(0x1b) string(i) \n\
MetaKeyj: string(0x1b) string(j) \n\
MetaKeyk: string(0x1b) string(k) \n\
MetaKeyl: string(0x1b) string(l) \n\
MetaKeym: string(0x1b) string(m) \n\
MetaKeyn: string(0x1b) string(n) \n\
MetaKeyo: string(0x1b) string(o) \n\
MetaKeyp: string(0x1b) string(p) \n\
MetaKeyq: string(0x1b) string(q) \n\
MetaKeyr: string(0x1b) string(r) \n\
MetaKeys: string(0x1b) string(s) \n\
MetaKeyt: string(0x1b) string(t) \n\
MetaKeyu: string(0x1b) string(u) \n\
MetaKeyv: string(0x1b) string(v) \n\
MetaKeyw: string(0x1b) string(w) \n\
MetaKeyx: string(0x1b) string(x) \n\
MetaKeyy: string(0x1b) string(y) \n\
MetaKeyz: string(0x1b) string(z) \n\
MetaKey1: string(0x1b) string(1) \n\
MetaKey2: string(0x1b) string(2) \n\
MetaKey3: string(0x1b) string(3) \n\
MetaKey4: string(0x1b) string(4) \n\
MetaKey5: string(0x1b) string(5) \n\
MetaKey6: string(0x1b) string(6) \n\
MetaKey7: string(0x1b) string(7) \n\
MetaKey8: string(0x1b) string(8) \n\
MetaKey9: string(0x1b) string(9) \n\
MetaKey0: string(0x1b) string(0) \n\
MetaKeyEscape: string(0x1b) string(0x1b) \n\
MetaKeyexclam: string(0x1b) string(!) \n\
MetaKeyat: string(0x1b) string(@) \n\
MetaKeynumbersign: string(0x1b) string(#) \n\
MetaKeydollar: string(0x1b) string($) \n\
MetaKeypercent: string(0x1b) string(%) \n\
MetaKeyasciicircum: string(0x1b) string(^) \n\
MetaKeyampersand: string(0x1b) string() \n\
MetaKeyasterisk: string(0x1b) string(*) \n\
MetaKeyparenleft: string(0x1b) string(() \n\
MetaKeyparenright: string(0x1b) string()) \n\
MetaKeyminus: string(0x1b) string(-) \n\
MetaKeyunderscore: string(0x1b) string(_) \n\
MetaKeyequal: string(0x1b) string(=) \n\
MetaKeyplus: string(0x1b) string(+) \n\
MetaKeybracketleft: string(0x1b) string([) \n\
MetaKeybraceleft: string(0x1b) string({) \n\
MetaKeybracketright: string(0x1b) string(]) \n\
MetaKeybraceright: string(0x1b) string(}) \n\
MetaKeysemicolon: string(0x1b) string(;) \n\
MetaKeycolon: string(0x1b) string(;) \n\
MetaKeyapostrophe: string(0x1b) string(0x27) \n\
MetaKeyquotedbl: string(0x1b) string(0x22) \n\
MetaKeygrave: string(0x1b) string(9x96) \n\
MetaKeyasciitilde: string(0x1b) string(~) \n\
MetaKeybackslash: string(0x1b) string(0x92) \n\
MetaKeybar: string(0x1b) string(|) \n\
MetaKeycomma: string(0x1b) string(,) \n\
MetaKeyless: string(0x1b) string() \n\
MetaKeyperiod: string(0x1b) string(.) \n\
MetaKeygreater: string(0x1b) string() \n\
MetaKeyslash: string(0x1b) string(/) \n\
MetaKeyquestion: string(0x1b) string(?) \n\
KeyDelete: string(0x7f) \n\
KeyKP_Delete: string(0x7f) \n\
--
Lars Eighner
[EMAIL PROTECTED] -finger for geek code-
http://www.io.com/~eighner/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: I lost ten percent of disk place in each partition, why?

2004-12-10 Thread Lars Eighner
On Fri, 10 Dec 2004, Liu Haixiao wrote:
Used + Avail = 0.92 * 1K-blocks, that means I lost 10%
disk space, why?
To put this in the simplest terms, the rest of the disk space
is reserved for indexing the file system.  All operating systems
have some means of doing this (for example, the FAT - file
allocation table - in microsoft file systems).
For the same reason it is possible for a filesystem to be
more than 100% full.  FreeBSD will sacrifice the space
reserved for indexing if it can.  Of course, it is usually
the case when a filesystem is more than 100% full that something
has gone serious wrong.
--
Lars Eighner
[EMAIL PROTECTED] -finger for geek code-
http://www.io.com/~eighner/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.3: cant install openoffice 1.1 from ports

2004-12-06 Thread Lars Eighner
On Mon, 6 Dec 2004, Simon Burke wrote:
I've recently done a fresh install of 5.3, i updated ports using cvsup
to install gnome2.8, which im using know, great.
Problem is that it wont allow me to compile openoffice properly, i
cant give an error message as  its about 7hrs in i  get the message
and i've since made clean.
I can't help you with the port, and perhaps no one can without some idea of
the nature of the error.  However, I can tell you something that will help
you just about any time you need a record of an error message.  Of course
you can use script to record all the console stuff from every compile, but
you probably won't do that, so assuming you compile at a virtual tty, do
this:
vidcontrol -PH  /dev/ttyv#  ~/save.txt
where # is the number of the ttyv.  -P dumps the video buffer in human
readable form and -H makes it include the whole scrollback buffer, not just
the visible screen.  You can do this from the ttyv where the disaster
occurred, but generally I switch to another one. Of course, you can make the
filespec anything you want rather than
~/save.txt .
Form the habit of doing this every time something goes wrong.  It will make
it much easier to get people to help you, to make bug reports, or to google
for similar problem.
Does anyone know if it is broken? or how i can get an openoffice
release installed, as 1.0 is apparentlyu broken according to ports and
1.1 wont compile sucessfully.
--
Lars Eighner
[EMAIL PROTECTED] -finger for geek code-
http://www.io.com/~eighner/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: three questions

2004-11-30 Thread Lars Eighner
On Tue, 30 Nov 2004, Alexander Bubnov wrote:
Hi!
Could you answer my questions, please?
1) When I halt or reboot FreeBSD 5.3 I always receive following:
  Syncing disks vnodes remaining... 4 3 3 1 1 0 done
Is it OK? What does it mean?
Yes, it is okay, and in fact is really necessary.
Disk writes are very time consuming compared to writing to memory.
So many times the system does not actually write to disk, but writes
a memory image of the file.  It keeps track of where the latest version
of the file is in case, as often happens, it has something to do with
the file it has just written (as a memory image).  Eventually, of course,
the file has to be written to disk, and in particular, since files in
memory will be lost on powerdown or reboot, it is essential that the
files on disk be brought into *sync* with the memory images at such
times.
If you have ever had a power outage when you are working on the
computer, you may have noticed that you lost many recent changes
you have made to files - (and in addition, may have mess in the
filesystem requiring fsck).  This is because the working versions
of the files were not rendered to disk before the power went out.
So, in short, syncing disks is a good thing.  You can see man
sync for information on the sync utility (not the one used for
reboot) and references to other sync functions.  Although the
sync utility is does not set the whole system in complete order
as for reboot, it is a good idea to run it if you are going to
do something you suspect will crash the system.
2) When I download something from the Internet for a long time (around 9 
hours) I always receive 3 strange letters (unfortunately, I deleted third 
letter, sorry) from my OS (FreeBSD any versions), see below. What for? What 
happen? Why do I receive them?
So far as I can tell these are the normal periodic maintence reports. Do you
usually power down the system when you are not using it?  If so, that is why
you do not get these reports on a regular basis. See /etc/crontab for when
these reports are scheduled to run (and man 5 crontab if you have difficulty
understanding crontab).  It is not a matter of your downloading anything
from the Internet, but that your system is up and running at the appointed
times. As I say, I suspect you power down your system except when you have
long downloads, and that is why you have come to associate long downloads
with receiving the reports.
3) I change resolution for consoles as vidcontrol -g 100x37 VESA_800x600 
green. Can I change rate? How to do it?
I don't know what rate you mean.
--
Lars Eighner
[EMAIL PROTECTED] -finger for geek code-
http://www.io.com/~eighner/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: realplayer - rp8_linux20_libc6_i386_cs2_rpm

2004-11-30 Thread Lars Eighner
On Tue, 30 Nov 2004, Kevin Smith wrote:
does anyone know where i can download rp8_linux20_libc6_i386_cs2_rpm from the 
real.com site ? currently, they only have cs1 on their legacy page.
This has just been answered in the ports list and apparently is
the archives.
Go to the url given in the Makefile:
http://forms.real.com/real/player/blackjack.html
(If memory serves)
select the version 8, Linux rpm,
this brings up a list of download sites.  Do not (left) click a site.
Instead, copy the url of one of the sites (a right click operation
on most graphical browsers).  Past that url into the web address/search
bar.  Edit this url to change the cs1 to cs2, then hit go.
--
Lars Eighner
[EMAIL PROTECTED] -finger for geek code-
http://www.io.com/~eighner/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: JDK Issues

2004-11-29 Thread Lars Eighner
On Mon, 29 Nov 2004, Dick Davies wrote:
* Lars Eighner [EMAIL PROTECTED] [1126 22:26]:
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack
location
   ^
Mount linprocfs. (Incidentally, you could have just googled this.
'If you can't figure this out for yourself.' :) )

Still did not work according to the recommended googled solution,
which was *not* to make clean, load and mount linuxprocfs, and
restart.   That resulted in a breakdown somewhere in building 
Hotspot.  It does work if you make clean, but then of course
unless you have a really fast-ass machine, you've got a hell of
a lot of make to do over.

Pity there is no way a port could test for linuxprocfs and warn
you before you got started.
--
Lars Eighner
[EMAIL PROTECTED] -finger for geek code-
http://www.io.com/~eighner/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: JDK Issues

2004-11-28 Thread Lars Eighner
On Sun, 28 Nov 2004, Jake Stride wrote:
I seem unable to install JDK14:
portupgrade -NRP jdk
---  Found 4 ports matching 'jdk':
   java/jdk11
   java/jdk12
   java/jdk13
   java/jdk14
Install 'java/jdk11'? [yes] no
Install 'java/jdk12'? [yes] no
Install 'java/jdk13'? [yes] no
Install 'java/jdk14'? [yes] yes
** Port marked as IGNORE: java/jdk14:
   is forbidden: Vulnerabilities in the browser plugin
How do I go about ensuring that I can install this please?

If you can't figure this out for yourself, maybe you shouldn't
be told.  Anyway, comment out the forbidden line in the Makefile.
Well, that would work for most forbidden ports, but so far as
I can tell, jdk14 won't build anyway.  After a very long compile
it will come to a grinding halt with:
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location
/usr/local/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/Curren
cyData.java:1:
'class' or 'in terface' expected
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location
^
/usr/local/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/Curren
cyData.java:1:
unclosed chara cter literal
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location
   ^
2 errors
gmake[4]: *** [.compile.classlist] Error 1
gmake[4]: Leaving directory
`/usr/local/ports/java/jdk14/work/j2se/make/java/java'
gmake[3]: *** [optimized] Error 2
gmake[3]: Leaving directory
`/usr/local/ports/java/jdk14/work/j2se/make/java/java'
gmake[2]: *** [all] Error 1
gmake[2]: Leaving directory `/usr/local/ports/java/jdk14/work/j2se/make/java'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/usr/local/ports/java/jdk14/work/j2se/make'
gmake: *** [j2se-build] Error 2
*** Error code 2
Stop in /usr/local/ports/java/jdk14.
--
Lars Eighner
[EMAIL PROTECTED] -finger for geek code-
http://www.io.com/~eighner/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Error and install stops for KDE

2004-11-24 Thread Lars Eighner
On Wed, 24 Nov 2004, Doug Van Allen wrote:
I just installed 5.3 and Xorg on a new box.  Went to install KDE, and
the install stopped.  This was the error:
[code]
Fetch:ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/fam/fam-2.6.9.tar.gz:
Service not available, closing control connection
Couldn't fetch it - please try to retrieve this
Port manually into /usr/ports/distfiles/fam and try again
*** Error code 1
Stop in /usr/ports/devel/fam.
*** Error code 1
Stop in /usr/ports/X11/kdelibs3.
*** Error code 1
Stop in /usr/ports/X11/kdebase3.
*** Error code 1
Stop in /usr/ports/X11/kdebase3.
*** Error code 1
Stop in /usr/ports/X11/kde3.
*** Error code 1
[/code]
I dont know what I should do.  Should I uninstall KDE, install fam,
and then try KDE again?
Try to ftp the file yourself and place it in /usr/ports/distfiles/ .
If you didn't make clean in kde3, you can simply return to the
kde3 directly and enter make again.
Kde3 is pseudoport.  It is just a way of building a whole bunch
of kde components by claiming the pseudoport depends on them.
It will skip the parts that have already been built and
begin again with fam.  It is pointless to uninstall kde.
You can try to build fam on its own and then return to kde3
and make.  In that case fam will be skipped too along with the
other components that have already been built.
The problem seems to be getting the file, and if you can't do
that manually, the ports won't be able to either.

--
Lars Eighner
[EMAIL PROTECTED] -finger for geek code-
http://www.io.com/~eighner/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cvups with 5.3 stable

2004-11-17 Thread Lars Eighner
On Thu, 18 Nov 2004 [EMAIL PROTECTED] wrote:

 Has anyone got cvsup to sucessfully update their ports collection?
 When I run cvsup, with tag=RELENG_5_3, cvsup just deletes
 everything in /usr/ports. I replaced the ports collection with the
 full port tarball from the ports collection search page. Cvsup
 deletes that as well. I am using the ports-supfile from examples,
 and have only change the cvsup host. Has anyone else experience
 this?

NEVER use any tag for ports except .
It will always delete the whole tree if you use any tag other
than .
Ports do *not* come in releases, and since RELENG_5_3 is not .
using it will always delete the whole tree.

-- 
Lars Eighner
[EMAIL PROTECTED] -finger for geek code-
http://www.io.com/~eighner/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


Re: OT: Upgrade feasibility, to AMD64/5.x.x or to stay i386/4.9 on AMD64 hardware?

2004-10-18 Thread Lars Tunkrans
Francois Tigeot wrote:
On Mon, Oct 18, 2004 at 03:19:40PM -0400, Communications Machine wrote:
Here's what we're proposing for the new hardware:
AMD Athlon64 - 3200+ (Socket 754 - I know, but it's cheap)
MSI K8T-FSR (VIA Chipset)
2048MB DDR400 Non-ECC RAM

In my experience trying to put more than 1GB RAM in a socket-754 mainboard
is asking for trouble. This type of board is incredibly picky about its
memory, especially when using more than two DIMMs.
An Opteron platform may be a better choice here.

Yes Toms hardware has an article on this:
http://www6.tomshardware.com/motherboard/20040112/index.html
They say that only 3 out of 10 of the  socket 754 mainboards worked
with more than one DIMM.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NameVirtualHost nat

2004-10-12 Thread Lars H. Beuse
On Tuesday 12 October 2004 21:53, David Jenkins wrote:
 On Tue, 12 Oct 2004 21:26:55 +0300, Toomas Aas [EMAIL PROTECTED] 
wrote:
  Hi!
 
  Lars H. Beuse [EMAIL PROTECTED] wrote:
   i want some apache NameVirtualHost behind a Paketfilter based on ipf,
   placed in two subnets. This router has two Cards one in the private
   net, one in the public. So far i just forward port 80 and 443 into my
   private net 192.168.2.0, but every request ends up on apaches
   rootlevel, NameVirtualHost directive is useless. So, how to forward
   http(s):// requests through the Paketfilter matching the right
   VirtualHost? Maybe i've thought in a wrong direction, so far. Just some
   little hints should be enough.
 
  I can't be 100% sure because I haven't done this kind of thing myself,
  but I don't see why port forwarding should interfere with Apache's
  name-based virtual hosting. After all, they operate on different layers
  of the OSI model: port forwarding is purely TCP business while
  VirtualHosts are HTTP.
[...]
Jepp, that's why i'am a bit confused. Cause unfiltered ApacheVirtualHosts 
i run a few.
So i think i solved that issue:
That was my Virtual Host Container before it works:

NameVirtualHost www.domain.org:80
VirtualHost www.domain.org:80
blablabla
/Virtual

The Container that works:
NameVirtualHost 192.168.2.5:80
VirtualHost 192.168.2.5:80
blablabla
/Virtual

Thanx, for youre reply. But why is that? I'm not really shure. 
So i will go deeper in that.

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


NameVirtualHost nat

2004-10-11 Thread Lars H. Beuse
Hi,
i want some apache NameVirtualHost behind a Paketfilter based on ipf, placed 
in two subnets. This router has two Cards one in the private net, one in the 
public. So far i just forward port 80 and 443 into my private net 
192.168.2.0, but every request ends up on apaches rootlevel, NameVirtualHost 
directive is useless. So, how to forward http(s):// requests through the 
Paketfilter matching the right VirtualHost? Maybe i've thought in a wrong 
direction, so far. Just some little hints should be enough.
Greetings
Lars H. Beuse


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


Re: CRTL+ALT+DEL

2004-09-03 Thread Lars Eighner
On Fri, 3 Sep 2004, [ISO-8859-2] Ing.Miroslav Kond?lka wrote:

 How to disable CTRL+ALT+DEL ? Thanks.

Edit your keymap.  The keymaps are in /usr/share/syscons/keymaps/ .
Assuming you are using cz.iso2.kbd, edit these lines in
/usr/share/syscons/keymaps/cz.iso2.kbd:

  083   del'.''.''.'','','boot   bootN

  103   fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 boot   fkey61  O

by changing boot to nop or some other definition of your
choice.


-- 
Lars Eighner
[EMAIL PROTECTED] -finger for geek code-
http://www.io.com/~eighner/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


Re: mplayer + realaudio ... what to expect when installing ...

2004-05-26 Thread Lars Eighner
On Wed, 26 May 2004, Erik Trulsson wrote:

 On Wed, May 26, 2004 at 07:32:50PM +0200, Henrik W Lund wrote:
  Erik Trulsson wrote:
 
  snip
 
  
  mplayer does have about a gazillion dependencies (most of them
  optional) including X (not optional), so if you don't want X installed
  then mplayer isn't for you.
  (It is a multimedia player after all, and to play video you need
  graphics support.)
  
 
  Actually, you can pass make WITHOUT_GUI=yes and it will not install X.
  Yes, it does display videos on the command line. No, it's not pretty.

 Wrong.  Mplayer depends on X if you define WITHOUT_GUI.
 WITHOUT_GUI causes it not to have a GUI (available if mplayer is
 invoked as gmplayer) and to not depend on GTK.

mplayer -vo sgva

works fine without X - whether you can build it without X, I
don't know and I rather doubt.

It makes a fine viewer for lynx, although you have to suid.  Since
it will no longer work with X if you suid it, I just copy and rename
the binary which I suid.


-- 
Lars Eighner
[EMAIL PROTECTED] -finger for geek code-
http://www.io.com/~eighner/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


Re: best cd ripping option.

2004-05-09 Thread Lars Eggert
Conrad Sabatier wrote:
I've been using the dd method ever since it first became available.  Have
never had a need for anything else since.
Agreed.

Just be aware that, for encoding from the resulting raw pcm data to mp3 or
whatever other format, you'll need to let the encoder know to reverse the
endianness, else all you'll wind up with is static.
dd can do that when the encoder can't (swab option.)

Lars
--
Lars Eggert NEC Network Laboratories


smime.p7s
Description: S/MIME Cryptographic Signature


CRON won't send mail anymore.

2004-03-25 Thread Lars Bungum
Hi! My problem is that cron won't send out mail, anymore regardless of
what I set the MAILTO-variable to in my crontab.  This worked as
expected before, but I can't remember what happend around the time it
stopped.

The system is FreeBSD 4.5-RELEASE, and regular sending of mail like
echo foo |mail [EMAIL PROTECTED] works without problems.  It's only cron that
appears not to supply the target email as specified in MAILTO.

What is wrong here?  I don't really know how to debug this.  Can
crontabs be executed verbosely somehow?  I see I'm getting these errors
in /var/log/cron 

--
/usr/sbin/cron[3940]: getting vmemoryuse resource limit: Invalid
argument
--

..might that be it?

An error message could look like this:

Subject: 
Mail failure - no
recipient
addresses
   Date: 
Thu, 25 Mar 2004
03:30:06 +0100

A message that you sent contained no recipient addresses, and therefore
no
delivery could be attempted.

-- This is a copy of your message, including all the headers. --

Received: from root by XX.XX.no with local (Exim 3.36 #1)
id 1B6KdB-000Eci-00; Thu, 25 Mar 2004 03:30:05 +0100
Message-Id: [EMAIL PROTECTED]
From: CronDaemon [EMAIL PROTECTED]
Date: Thu, 25 Mar 2004 03:30:05 +0100

Thanks!

-- 
Mvh.
Lars Bungum[EMAIL PROTECTED] OpenPGP: E2C5C0A2



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


Re: Want complete list of freebsd commands in freebsd 5.2

2004-03-16 Thread Lars Eighner
On Tue, 16 Mar 2004, Asghar Ali wrote:


 Hi
 Anyone have the complete list of freebsd 5.2 commands. I need it so
 please send to me on my mail address [EMAIL PROTECTED]

It is difficult to know what you mean by commands, or complete
for that matter.

ls /bin

will yield a list of basic commands.

ls /sbin

gives the basic system utilities.

All of the shells have builtins (see man builtin) but they
vary according to shell.  Completeness would certainly include
the builtin for sh (the default shell) and csh.

In theory,

ls /usr/bin

gives a list of applications, but some of them are really
essential to any real-world installation.


-- 
Lars Eighner
[EMAIL PROTECTED] -finger for geek code-
http://www.io.com/~eighner/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


Re: 5.2-rc1 Install and USB mouse problems

2003-12-23 Thread Lars Köller

In reply to Doug White who wrote:

 Hmm, I don't really understand that, cause the downloaded image burn to
 a cdrw don't boot. If I use the same cd and rerecord it with

 mkisofs  -b /cdrom/floppies/boot.flp /cdrom

Ah, so the controller isn't picking up non-emulated cds.  If its a
separate controller you might check for a firmware update, or if its
integrated check for a system BIOS update.  The systems I have with
embedded 2940s boot non-emulated discs fine.

It's an separate PCI card and it has the latest Adaptec BIOS 2.20.

 I've tracked it down. The problem was induced due to mess in the
 boot loader and BIOS disk order. The smart boot loader was not loaded
 from the first BIOS disk (ad0) but from the first SCSI disk. So it
 thinks the ad disk was BIOS HD3 ..

 After fixing that all runs well out of the box! Sorry!

Cool.

Yes thats really fine.

 I've just trying to migrate my config and scripts from 4.9 to 5.2 so
 I'm able to fix the xperfmon3 compile problem.

 However, the usb mouse didn't work. Booting in 4.9 all runs well. In
 5.2 the usbdev -v hangs about 5 seconds on the first hub. The mouse is
 recognized, but the cursor didn't move. (I've also cvsup to the latest
 sources and build my own kernel).

Not sure here; the USB mouse on my home system (VIA KT400 chipset) works
as expected. perhaps there are two mouseds running?

No, nothing in that area. At the moment I think it has to do with the 
usb code in the 5.2 kernel. The problem is I don't have an idea how to 
further debug.

Do you know an USB-coding-expert, who can debug this with me?
Would be nice to have a mouse even when changing to 5.2 ;-)

Best regards and merry christmas

Lars

-- 
Lars Köller
E-Mail: [EMAIL PROTECTED] ([EMAIL PROTECTED])
 FreeBSD, was sonst?  http://www.de.freebsd.org 


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


Re: 5.2-rc1 Install and USB mouse problems

2003-12-23 Thread Lars Köller

Hello!

In reply to Lars =?iso-8859-1?Q?K=F6ller?= who wrote:

Not sure here; the USB mouse on my home system (VIA KT400 chipset) works
as expected. perhaps there are two mouseds running?

No, nothing in that area. At the moment I think it has to do with the 
usb code in the 5.2 kernel. The problem is I don't have an idea how to 
further debug.

Do you know an USB-coding-expert, who can debug this with me?
Would be nice to have a mouse even when changing to 5.2 ;-)

I've further test the extra USB2+FW Combo card, and if I plug my mouse 
there it will run in under 4.9 and 5.2.

However something in 5.2 has changed, which avoids a working usb mouse 
with the onboard VIA usb port. The board is a Gigabyte GA6VXDC2 (SMP).
I've detached and reattached the mouse to the onboard usb bus, and see:

Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x), VIA(0x), 
rev 1.00
 port 1 addr 0 should never happen!
 port 2 powered

Attached are the dmesg.boot file for my 4.9 and 5.2 system and the 
usbdevs -v output under 5.2 and 4.9. Have a look at the shadow device 
in usbdev2-49.out after deconnecting the mouse from the PCI card usb 
device and reconnect it to the onboard usb slot.

Perhaps someone can have a look at it.

Again best regards and merry christmas ;-)

Lars

-- 
Lars Köller
E-Mail: [EMAIL PROTECTED] ([EMAIL PROTECTED])
 FreeBSD, was sonst?  http://www.de.freebsd.org 

Controller /dev/usb0:
addr 1: self powered, config 1, UHCI root hub(0x), VIA(0x), rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb1:
addr 1: self powered, config 1, OHCI root hub(0x), NEC(0x), rev 1.00
 port 1 powered
 port 2 addr 2: low speed, power 100 mA, config 1, PS2/USB Browser Combo 
Mouse(0x0011), Cypress Sem(0x05fe), rev 0.10
Controller /dev/usb2:
addr 1: self powered, config 1, OHCI root hub(0x), NEC(0x), rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb0:
addr 1: self powered, config 1, UHCI root hub(0x), VIA(0x), rev 1.00
 port 1 addr 2: low speed, power 100 mA, config 1, PS2/USB Browser Combo 
Mouse(0x0011), Cypress Sem(0x05fe), rev 0.10
 port 2 powered
Controller /dev/usb1:
addr 1: self powered, config 1, OHCI root hub(0x), NEC(0x), rev 1.00
 port 1 powered
 port 2 addr 2: low speed, power 100 mA, config 1, product 0x0011(0x0011), Chic 
Technology(0x05fe), rev 0.10
Controller /dev/usb2:
addr 1: self powered, config 1, OHCI root hub(0x), NEC(0x), rev 1.00
 port 1 powered
 port 2 powered
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 4.9-RELEASE #0: Tue Oct 28 23:58:41 CET 2003
[EMAIL PROTECTED]:/opt/temp/obj/usr/src/sys/ODIE
Timecounter i8254  frequency 1193182 Hz
CPU: Intel Pentium III (800.03-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x68a  Stepping = 10
  
Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real memory  = 536805376 (524224K bytes)
avail memory = 518049792 (505908K bytes)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 - irq 0
FreeBSD/SMP: Multiprocessor motherboard: 2 CPUs
 cpu0 (BSP): apic id:  0, version: 0x00040011, at 0xfee0
 cpu1 (AP):  apic id:  1, version: 0x00040011, at 0xfee0
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec0
Preloaded elf kernel kernel at 0xc0446000.
Preloaded elf module splash_pcx.ko at 0xc044609c.
Preloaded elf module vesa.ko at 0xc0446140.
Preloaded splash_image_data /boot/splash.pcx at 0xc04461dc.
Preloaded elf module procfs.ko at 0xc044622c.
Preloaded elf module vn.ko at 0xc04462cc.
Preloaded elf module if_tun.ko at 0xc0446368.
Preloaded elf module miibus.ko at 0xc0446408.
Preloaded elf module if_xl.ko at 0xc04464a8.
Preloaded elf module snd_sb16.ko at 0xc0446548.
Preloaded elf module snd_sbc.ko at 0xc04465e8.
Preloaded elf module snd_pcm.ko at 0xc0446688.
Preloaded elf module usb.ko at 0xc0446728.
Preloaded elf module ugen.ko at 0xc04467c4.
Preloaded elf module uhid.ko at 0xc0446860.
Preloaded elf module ukbd.ko at 0xc04468fc.
Preloaded elf module ums.ko at 0xc0446998.
Preloaded elf module umass.ko at 0xc0446a34.
Preloaded elf module uscanner.ko at 0xc0446ad4.
Preloaded elf module snp.ko at 0xc0446b74.
Preloaded elf module firewire.ko at 0xc0446c10.
Preloaded elf module sbp.ko at 0xc0446cb0.
VESA: v3.0, 65536k memory, flags:0x1, mode table:0xc0366282 (122)
VESA: NVidia
Pentium Pro MTRR support enabled
acpi0: AMIINT  on motherboard
acpi0: power button is handled as a fixed feature programming model.
Timecounter ACPI-fast  frequency 3579545 Hz
acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0
acpi_cpu0: CPU on acpi0
acpi_cpu1: CPU on acpi0
acpi_tz0: thermal zone on acpi0
acpi_button0: Power Button on acpi0
acpi_button1: Sleep Button on acpi0
npx0: math processor on motherboard
npx0: INT 16 interface

Re: 5.2-rc1 Install

2003-12-22 Thread Lars Köller

Hi,

many thanks for the quick answer, even you are resolving the last hicks 
before 5.2 is released .

In reply to Doug White who wrote:

 I'm trying to install a 5.2 system and have had a lot of trouble:

  - The disk images won't boot on my Adaptec 2940UW controller with the
latest Firmware.
I have to make an image by myself with mkisofs and cdrecord. After
this all boots well.

Odd... the Adaptec BIOS is known to have problems if you have missing or
invalid DOS slice tables.  Don't run using 'dedicated' mode with Adaptecs,
at least with the first boot volume.

Hmm, I don't really understand that, cause the downloaded image burn to 
a cdrw don't boot. If I use the same cd and rerecord it with 

mkisofs  -b /cdrom/floppies/boot.flp /cdrom

it boots! Even the FreeBSD Mall 5.X CD's don't boot, but the 4.X do.

  - My installation isn't runable, cause the kernel don't find the rootfs

Since you have FreeBSD installed twice and you are spanning IDE and SCSI
disks, its entirely possible you're booting the wrong loader and its
getting confused, or loader itself is getting confused because of the
multiple FreeBSD installs.  You should make sure that the 'rootdev'
variable in the loader is set properly before jumping into the kernel. You
can set it by dropping to the loader OK prompt and typing

set rootdev=diskXs1a

where X is the disk number, printed when loader starts up.

Some BIOSes have lots of issues with booting across IDE and SCSI disks in
the same system.

I've tracked it down. The problem was induced due to mess in the 
boot loader and BIOS disk order. The smart boot loader was not loaded 
from the first BIOS disk (ad0) but from the first SCSI disk. So it 
thinks the ad disk was BIOS HD3 ..

After fixing that all runs well out of the box! Sorry!

I've just trying to migrate my config and scripts from 4.9 to 5.2 so 
I'm able to fix the xperfmon3 compile problem.

However, the usb mouse didn't work. Booting in 4.9 all runs well. In 
5.2 the usbdev -v hangs about 5 seconds on the first hub. The mouse is 
recognized, but the cursor didn't move. (I've also cvsup to the latest 
sources and build my own kernel).

4.9-RELEASE:

[EMAIL PROTECTED]:~/
143130 : usbdevs -v
Controller /dev/usb0:
addr 1: self powered, config 1, UHCI root hub(0x), VIA(0x), rev 1.00
 port 1 addr 2: low speed, power 100 mA, config 1, PS2/USB Browser Combo 
Mouse(0x0011), Cypress Sem(0x05fe), rev 0.10
 port 2 powered
Controller /dev/usb1:
addr 1: self powered, config 1, OHCI root hub(0x), NEC(0x), rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb2:
addr 1: self powered, config 1, OHCI root hub(0x), NEC(0x), rev 1.00
 port 1 powered
 port 2 powered

5.2-RC:

The same output, but also the USB2 device is recognized.

Any ideas? (vidcontrol -m on, moused parameters, are o.k. usbd also 
starts the mouse .)

Best regards

Lars

-- 
Lars Köller
E-Mail: [EMAIL PROTECTED] ([EMAIL PROTECTED])
 FreeBSD, was sonst?  http://www.de.freebsd.org 


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


5.2-rc1 Install

2003-12-20 Thread Lars Köller


Hi,

I'm trying to install a 5.2 system and have had a lot of trouble:

 - The disk images won't boot on my Adaptec 2940UW controller with the 
   latest Firmware.
   I have to make an image by myself with mkisofs and cdrecord. After 
   this all boots well.

 - My installation isn't runable, cause the kernel don't find the rootfs
   - Disk configuration:
 - ad0 (s1: FreeBSD-4.0)
 - da0 (s1: FAT32, W98)
 - da1 (s1: FBSD-5.2)
 - da2 (s1: FAT32)

   I install on da1 without any problems. After the reboot all the 
   disks are found by GEOM.

   However the kernel only finds da0s1a  da1  ad0s1a as a 
   rootfs, da1s1a is missing.

   The disk numeration is the same as during the install.

Cause I have no access to ufs2 I'm not able to have a look into it from 
the running 4.9 system. The disklabel seems to bo o.k.:


[EMAIL PROTECTED]:~/
142646 : disklabel da1s1
# /dev/da1s1c:

8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:  419430404.2BSD 2048 16384 28552   # (Cyl.0 - 261*)
  b:  1073152  6291456  swap# (Cyl.  391*- 458*)
  c: 177678270unused0 0 # (Cyl.0 - 1105*)
  d:  1048576  41943044.2BSD 2048 16384 8   # (Cyl.  261*- 326*)
  e:  1048576  52428804.2BSD 2048 16384 8   # (Cyl.  326*- 391*)
  f: 10403219  73646084.2BSD 2048 16384 28552   # (Cyl.  458*- 1105*)
super block size 0

Any ideas?

Best regards

Lars

-- 
Lars Köller
E-Mail: [EMAIL PROTECTED] ([EMAIL PROTECTED])
 FreeBSD, was sonst?  http://www.de.freebsd.org 


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


Re: Remove ^M characters from xhtml file

2003-11-30 Thread Lars Eighner
On Sun, 30 Nov 2003, Bryan Cassidy wrote:

 I've downloaded a couple of .xhtml files and they have ^M characters
 all through it. I tried the col -b  name  newname command on these
 files but when I do that it erases the whole document. Any ideas?


perl -pi -e s#\r##g filespecs

If it is just one or two files it might be just as
easy to search and replace \r with nothing in your
text editor (depending on your text editor).

-- 
Lars Eighner
[EMAIL PROTECTED] -finger for geek code-
http://www.io.com/~eighner/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


Re: how 'which'?

2003-11-29 Thread Lars Eighner
On Sat, 29 Nov 2003, Kevin D. Kinsey, DaleCo, S.P. wrote:

 # which joe

 joe:

 #rehash

 #which joe

 joe: /usr/local/bin/joe

 You must rebuild the shell's list of executables
 after an install, using 'rehash' (at least in /bin/csh
 this is true)

Evident sh and bash use the real which command, which actually
searches the path every time it is invoked.  To bypass the
builtin, give the actual path to which, which accorting
to which which is /usr/bin/which .


-- 
Lars Eighner
[EMAIL PROTECTED] -finger for geek code-
http://www.io.com/~eighner/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


Unable to share 100MB Zip medium between ATAPI-FD and USB ZIP

2003-11-21 Thread Lars Köller


Dear experts,

I'm using FreeBSD-4.9 RELEASE on two different machines. One with an 
NEC 100MB ATAPI Zip drive and another with an 250MB USB Zip drive.

The 100MB medium can't be exchanged between the two drives when it is 
labled and ufs formatted. The partition and label in the 250 MB USB Zip 
drive works well, but can only be udes as /dev/afd0a on the ATAPI drive.

Partition and newfs on the ATAPI drive only works, when I cut off 32 
sectors of the partition a. Otherwise I get

96904 : disklabel afd0  
# /dev/afd0c:
type: ESDI
disk: afd0s1
label: 
flags:
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 64
sectors/cylinder: 2048
cylinders: 95
sectors/unit: 196576
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]
  c:   1965760unused0 0 # (Cyl.0 - 95*)

[EMAIL PROTECTED]:~/
96905 : newfs /dev/afd0c
Warning: Block size restricts cylinders per group to 97.
Warning: 32 sector(s) in last cylinder unallocated
/dev/afd0c: 196576 sectors in 48 cylinders of 1 tracks, 4096 sectors
96.0MB in 1 cyl groups (97 c/g, 194.00MB/g, 12288 i/g)
super-block backups (for fsck -b #) at:
write error: 196575
newfs: wtfs - writecombine: Input/output error


There seems to be a 32 sector difference induced by the driver, or the 
drive?

Who can help?

Regards

Lars

-- 
Lars Köller
E-Mail: [EMAIL PROTECTED] ([EMAIL PROTECTED])
 FreeBSD, was sonst?  http://www.de.freebsd.org 


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


Re: Map Windows Key under syscons

2003-09-12 Thread Lars Eighner
On Wed, 10 Sep 2003, Stefan Malte Schumacher wrote:


 Hi

 I would like to be able to use the Windows Key as Meta while using syscons
 - it much easier to reach then escape. I have found out with xev that the
 scancode of this key is 115. After this I opened the German-Iso-Keymap with
 an editor and found out that there are 108 lines with numbers and functions.
 I thereby assumed that by copying the Meta-Line and adding it as Nr.115 at
 the end I should be able to use the Windows-Key as Meta, but this did not
 work. (It just beeps when I press Windows - after reloading the keymap of
 course). So how can I map Windows to Meta ?

The windows keys are 105 and 106 and the Menu key is 107.  These
lines, or something like them may do what you want.

  105   meta   fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62  O
  106   meta   fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63  O
  107   escfkey64 fkey64 fkey64 fkey64 fkey64 fkey64 fkey64  O
  108   nopnopnopnopnopnopnopnop O

Note:  this will not carry over to X.  Also, the numbers of the keys
are different in X, so no X program can give you the right answers
about console keymaps.


-- 
Lars Eighner
[EMAIL PROTECTED] -finger for geek code-
http://www.io.com/~eighner/index.html
8800 N IH35 APT 1191 AUSTIN tx 78753-5266

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


Re: SMP kernel hanging after testing 8254 intr delivery (RELENG_4)

2003-07-02 Thread Lars Köller
--

Hello,

anything news concerning my SMP problem with the Fujitsu-Siemens RX300
system?

Would be nice to have SMP running at Friday evening, when I have to go 
into production.

Thanks and best regards

Lars

-- 
E-Mail: [EMAIL PROTECTED]\  Lars Köller
[EMAIL PROTECTED]  \  CC University of
PGP: http://www.uk.pgp.net/pgpnet/wwwkeys.html \  Bielefeld, Germany 
 Key-ID: A430D499   \  Tel: +49 521 106 4964
--- FreeBSD, what else?  http://www.freebsd.org -


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


Re: SMP kernel hanging after testing 8254 intr delivery (RELENG_4)

2003-07-01 Thread Lars Köller
, 100baseTX-FDX, auto
ukphy44: Generic IEEE 802.3u media interface on miibus1
ukphy44:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ukphy45: Generic IEEE 802.3u media interface on miibus1
ukphy45:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ukphy46: Generic IEEE 802.3u media interface on miibus1
ukphy46:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ukphy47: Generic IEEE 802.3u media interface on miibus1
ukphy47:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ukphy48: Generic IEEE 802.3u media interface on miibus1
ukphy48:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ukphy49: Generic IEEE 802.3u media interface on miibus1
ukphy49:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ukphy50: Generic IEEE 802.3u media interface on miibus1
ukphy50:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ukphy51: Generic IEEE 802.3u media interface on miibus1
ukphy51:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ukphy52: Generic IEEE 802.3u media interface on miibus1
ukphy52:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ukphy53: Generic IEEE 802.3u media interface on miibus1
ukphy53:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ukphy54: Generic IEEE 802.3u media interface on miibus1
ukphy54:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ukphy55: Generic IEEE 802.3u media interface on miibus1
ukphy55:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ukphy56: Generic IEEE 802.3u media interface on miibus1
ukphy56:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ukphy57: Generic IEEE 802.3u media interface on miibus1
ukphy57:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ukphy58: Generic IEEE 802.3u media interface on miibus1
ukphy58:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ukphy59: Generic IEEE 802.3u media interface on miibus1
ukphy59:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ukphy60: Generic IEEE 802.3u media interface on miibus1
ukphy60:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ukphy61: Generic IEEE 802.3u media interface on miibus1
ukphy61:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcib3: Host to PCI bridge on motherboard
IOAPIC #1 intpin 10 - irq 10
IOAPIC #1 intpin 11 - irq 11
pci3: PCI bus on pcib3
ahd0: Adaptec AIC7902 Ultra320 SCSI adapter port 0x1800-0x18ff,0x1c00-0x1cff m
em 0xfc70-0xfc701fff irq 10 at device 4.0 on pci3
aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI-X 101-133Mhz, 512 SCBs
ahd1: Adaptec AIC7902 Ultra320 SCSI adapter port 0x2000-0x20ff,0x2400-0x24ff m
em 0xfc702000-0xfc703fff irq 11 at device 4.1 on pci3
aic7902: Ultra320 Wide Channel B, SCSI Id=7, PCI-X 101-133Mhz, 512 SCBs
pcib4: Host to PCI bridge on motherboard
pci4: PCI bus on pcib4
pcib5: Host to PCI bridge on motherboard
pci5: PCI bus on pcib5
pcib6: ServerWorks host to PCI bridge(unknown chipset) on motherboard
pci6: PCI bus on pcib6
pcib7: ServerWorks host to PCI bridge(unknown chipset) on motherboard
pci7: PCI bus on pcib7
orm0: Option ROM at iomem 0xc-0xc8fff on isa0
fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1440-KB 3.5 drive on fdc0 drive 0
atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: model IntelliMouse Explorer, device ID 4
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 12 virtual consoles, flags=0x100
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A, console
sio1: configured irq 3 not in bitmap of probed irqs 0
APIC_IO: Testing 8254 interrupt delivery

Best Regards

Lars

-- 
E-Mail: [EMAIL PROTECTED]\  Lars Köller
[EMAIL PROTECTED]  \  CC University of
PGP: http://www.uk.pgp.net/pgpnet/wwwkeys.html \  Bielefeld, Germany 
 Key-ID: A430D499   \  Tel: +49 521 106 4964
--- FreeBSD, what else?  http://www.freebsd.org -


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


Re: SMP kernel hanging after testing 8254 intr delivery (RELENG_4)

2003-07-01 Thread Lars Köller
: 0x01 parent bus ID: 0
--
Compatibility Bus Address
 bus ID: 0 address modifier: add
 predefined range: 0x
--
Compatibility Bus Address
 bus ID: 0 address modifier: add
 predefined range: 0x0001
--
Compatibility Bus Address
 bus ID: 1 address modifier: subtract
 predefined range: 0x
--
Compatibility Bus Address
 bus ID: 1 address modifier: subtract
 predefined range: 0x0001
--
Compatibility Bus Address
 bus ID: 2 address modifier: subtract
 predefined range: 0x
--
Compatibility Bus Address
 bus ID: 2 address modifier: subtract
 predefined range: 0x0001
--
Compatibility Bus Address
 bus ID: 3 address modifier: subtract
 predefined range: 0x
--
Compatibility Bus Address
 bus ID: 3 address modifier: subtract
 predefined range: 0x0001
--
Compatibility Bus Address
 bus ID: 4 address modifier: subtract
 predefined range: 0x
--
Compatibility Bus Address
 bus ID: 4 address modifier: subtract
 predefined range: 0x0001

===

Lars

-- 
E-Mail: [EMAIL PROTECTED]\  Lars Köller
[EMAIL PROTECTED]  \  CC University of
PGP: http://www.uk.pgp.net/pgpnet/wwwkeys.html \  Bielefeld, Germany 
 Key-ID: A430D499   \  Tel: +49 521 106 4964
--- FreeBSD, what else?  http://www.freebsd.org -


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


SMP kernel hanging after testing 8254 intr delivery (RELENG_4)

2003-06-30 Thread Lars Köller


Hi experts,

I need urgently help or a patch for FreeBSD-4-STABLE on a 
Fujitsu-Siemens RX300 hardware:

  - The non-SMP kernel runs well
  - With the SMP kernel a lockup occur after the 8254 interrupt 
delivery is tested:

...
APIC_IO: Testing 8254 interrupt delivery

I've checked with hyper threading enabled/disabled.

attached is the kernel configuration.

Thanks and best regards

Lars

-- 
E-Mail: [EMAIL PROTECTED]\  Lars Köller
[EMAIL PROTECTED]  \  CC University of
PGP: http://www.uk.pgp.net/pgpnet/wwwkeys.html \  Bielefeld, Germany 
 Key-ID: A430D499   \  Tel: +49 521 106 4964
--- FreeBSD, what else?  http://www.freebsd.org -



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


mount_msdos /dev/da0s1 /mnt/usb -dev not configured

2003-06-29 Thread Lars
Hi all,

Hardware:
IBM TP R40;
SONY 256 MB USB2 Microvault
(works flawlessly on other sytems and on same system under WinXP);

OS is FBSD 4.8;

Kernel:
device  scbus
device  da
device  uhci
device  ohci
device  usb
device  ugen
device  uhid
device  umass
are enabled;

/var/run/dmesg.boot:
uhci0: Intel 82801DB (ICH4) USB Controller USB-A port ...
well, it get's recognised;

I noticed that all PCI and USB hardware is on IRQ 11, 
may that be the cause?

So, dear list, what am I doing wrong?

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


[lars@gmx.at: ]

2003-04-04 Thread Lars
---BeginMessage---
Hi all,

I can listen to CDs but not to mp3s e.a (DVDs...).
I hear the loudspeakers pop when I start the system though.

The soundcard is a Guillemot Fortissimo II with a 
Cirrus Logic CS4624 dsp.

In KDE3's soundcontrol I defined OSS and /dev/dsp -but still no sound.
Yes, the volume's up ;-)

uname -a =
 FreeBSD hostname 4.8-RC FreeBSD 4.8-RC #0: Mon Mar 24 01:04:11 CET
 2003  [EMAIL PROTECTED]:/usr/src/sys/compile/MYKERNEL  i386

dsp =
 lrwxrwxrwx   1 root  wheel   4 Mar  9 14:48 dsp - dsp0
 lrwxrwxrwx   1 root  wheel   6 Mar  9 14:48 dsp0 - dsp0.0
 crw-rw-rw-   1 root  wheel 30,   3 Mar 31 01:27 dsp0.0
 crw-rw-rw-   1 root  wheel 30, 0x00010003 Mar 30 19:19 dsp0.1
 crw-rw-rw-   1 root  wheel 30, 0x00020003 Mar  9 14:48 dsp0.2
 crw-rw-rw-   1 root  wheel 30, 0x00030003 Mar  9 14:48 dsp0.3
 lrwxrwxrwx   1 root  wheel   5 Mar  9 14:48 dspW - dspW0
 lrwxrwxrwx   1 root  wheel   7 Mar  9 14:48 dspW0 - dspW0.0
 crw-rw-rw-   1 root  wheel 30,   5 Mar 30 20:45 dspW0.0
 crw-rw-rw-   1 root  wheel 30, 0x00010005 Mar  9 14:48 dspW0.1
 crw-rw-rw-   1 root  wheel 30, 0x00020005 Mar  9 14:48 dspW0.2
 crw-rw-rw-   1 root  wheel 30, 0x00030005 Mar  9 14:48 dspW0.3

This is getting really frustrating since I tried all
possible setting combinations in KDE3.

I hope someone can help.

Many thanks in advance,
lars. 

---

---



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


No sound in KDE3

2003-04-04 Thread lars
Hi all,

I can listen to CDs but not to mp3s e.a (DVDs...).
I hear the loudspeakers pop when I start the system though.

The soundcard is a Guillemot Fortissimo II with a 
Cirrus Logic CS4624 dsp (=^Crystal Audio I think).

In KDE3's soundcontrol I defined OSS and /dev/dsp -but still no sound.
Yes, the volume's up ;-)

uname -a =
 FreeBSD hostname 4.8-RC FreeBSD 4.8-RC #0: Mon Mar 24 01:04:11 CET
 2003  [EMAIL PROTECTED]:/usr/src/sys/compile/MYKERNEL  i386

dsp =
 lrwxrwxrwx   1 root  wheel   4 Mar  9 14:48 dsp - dsp0
 lrwxrwxrwx   1 root  wheel   6 Mar  9 14:48 dsp0 - dsp0.0
 crw-rw-rw-   1 root  wheel 30,   3 Mar 31 01:27 dsp0.0
 crw-rw-rw-   1 root  wheel 30, 0x00010003 Mar 30 19:19 dsp0.1
 crw-rw-rw-   1 root  wheel 30, 0x00020003 Mar  9 14:48 dsp0.2
 crw-rw-rw-   1 root  wheel 30, 0x00030003 Mar  9 14:48 dsp0.3
 lrwxrwxrwx   1 root  wheel   5 Mar  9 14:48 dspW - dspW0
 lrwxrwxrwx   1 root  wheel   7 Mar  9 14:48 dspW0 - dspW0.0
 crw-rw-rw-   1 root  wheel 30,   5 Mar 30 20:45 dspW0.0
 crw-rw-rw-   1 root  wheel 30, 0x00010005 Mar  9 14:48 dspW0.1
 crw-rw-rw-   1 root  wheel 30, 0x00020005 Mar  9 14:48 dspW0.2
 crw-rw-rw-   1 root  wheel 30, 0x00030005 Mar  9 14:48 dspW0.3

/boot/loader.conf =
# -- sysinstall generated deltas -- #
userconfig_script_load=YES
linux_load=YES
nvidia_load=YES
#snd_cs4281_load=YES

This is getting really frustrating since I tried all
possible setting combinations in KDE3.

I hope someone can help.

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


Re: FreeBSD 3.4 for EclipseBSD

2003-04-02 Thread Lars Eggert
Peng Li wrote:
I'm trying to use EclipseBSD for real-time scheduling research.
FWIW, I tried to do some experiments with Eclipse back when 3.4 was
still relatively current, and could never get it to work (forgot the
details, sorry.)
Unfortunately, the current EclipseBSD (I guess it is also the latest 
version) requires FreeBSD 3.4-RELEASE, which I can't find anywhere. 
I think we have CDs lying around somewhere, I could put up an ISO of the
first one, if you'd like.
Lars
--
Lars Eggert [EMAIL PROTECTED]   USC Information Sciences Institute


smime.p7s
Description: S/MIME Cryptographic Signature


How to make a linux binary run on FreeBSD

2003-03-16 Thread Lars Eighner

 I have a Savage/IX agp card.  Savage/IX was developed for
 laptops so of its three possible output devices (LCD, CRT,
 and several flavors of TV), by default it assumes that is
 attached to a 640x480 LCD.  Naturally this produces
 undesirable results when a CRT is attached instead.

 S3 provided a utility (s3switch) which allows choose which
 output device or combination of output devices are attached.
 This utility works fine with RedHat 8.0.  It runs from the
 command line or within X.

 When I run it from the command line in FreeBSD 4.8-RC with
 linux-compatibility in my kernel, the S3 utility fails
 thusly:

vm86() failed
return = 0xffda
eax = 0x4f14
ebx = 0x0003
ecx = 0x0001
edx = 0x
esi = 0x
edi = 0x
ebp = 0x
eip = 0x4898
cs  = 0xc000
esp = 0x0ffa
ss  = 0x1000
ds  = 0x
es  = 0x
fs  = 0x
gs  = 0x
eflags  = 0x3200
cs:ip = [ fb fc 80 fc 0e 74 48 80 fc 0c 74 46 80 fc 0d 74 ]
Can't change device (vm86 failure)

 And this message is broadcast:  linux: syscall vm86old is
 obsoleted or not implemented.

 Tim Roberts has a similar utility, also called s3switch,
 distributed as a linux binary and as source code.

 When I attempt to run this binary from the command line, I
 get:

Could not set device (vm86 failure)
Devices attached:  CRT LCD TV
Devices active:CRT LCD
Current TV format is NTSC

 And the same broadcast message as above.  I have not run
 this binary in RedHat 8.0, but I assume it will work there
 as well as the S3 utility does.

 Naturally, the source code will not compile on FreeBSD as it
 includes a number of headers which don't exist in FreeBSD,
 and according to Roberts' web page the utility depends on
 vm86, from which I surmise there is no simple way to make it
 compile and run on FreeBSD, with or without linux
 compatibility.


 Am I overlooking something that would allow either of the
 binaries to work on FreeBSD?

-- 
Lars Eighner -finger for geek code-  [EMAIL PROTECTED] http://www.io.com/~eighner/
 The US Constitution wasn't perfect,
  But it was better than what we have now.
The Asses of Evil:  Bush, Cheney, Rumsfeld, Ashcroft



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


Re: How to make a linux binary run on FreeBSD

2003-03-16 Thread Lars Eighner
On Sun, 16 Mar 2003, taxman wrote:

 This seems pretty clear.  The linuix syscall that this program uses
 is not supported on FreeBSD.  The linux binary compatibility is
 pretty good for userland binaries and so forth.  But any time you
 get into hardware, you're stepping closer into that 10% of linux
 code that will not run on FreeBSD.

 It seems your only option would be to port that source code to
 FreeBSD, and use the right syscalls.  Try an email to -hackers to
 see if anybody has any ideas on that.

 Personally given how cheap a simple working videocard can be, ($10
 used) I don't know if I would beat my head against a wall to try to
 get it working.  But if you want to experiment for fun, then by all
 means don't let me discourage.


 Well, I'm glad to hear money grows on trees where you are.

 Yet another piece of hardware that I can't use after playing
 FreeBSD roulette - and linux compatibility is yet another
 tout that turns out to be bullshit.


-- 
Lars Eighner
[EMAIL PROTECTED] -finger for geek code-
http://www.io.com/~eighner/index.html
600 E 53RD ST APT 119  AUSTIN TX 78751


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


Re: user-ppp, named and squid

2003-03-13 Thread Lars Eighner
On Fri, 14 Mar 2003, DJ Boris wrote:

 hi there,

 I have a freeBSD 5.0 RELEASE machine acting as a Dial-Up router and proxy
 for a LAN with 1 ISP Dial-Up account. I have user-ppp, named and squid.
 when all are enabled in the rc.conf file the machine hangs at boot time just
 before it says i386 initialisation or something like that Then I press
 Ctrl-C and everything carries on and I can log in but immediately after that
 ppp dials out. named only forwards requests to the ISP's DNS and in
 named.conf I have set dialup to yes.
 The work around is to only enable ppp and start the other services once I
 log in but as soon as I start named for example it dials out. after the ppp
 timeout expires modem disconnects and everything comes to normal. then I
 start squid and the same thing happens, dials out, timeout expires and all
 is OK.
 Does anyone know what I can do to stop those two named and squid from doing
 that... or maybe there is an option in ppp.conf... I have read everything
 and tried everything - still no luck. may be I am missing something.

 thanx

 Just a thought, but are you certain that in host.conf you
 have:

 hosts
 bind

 in that exact order, not the other way around, and that
 the hosts file is correct?


-- 
Lars Eighner
[EMAIL PROTECTED] -finger for geek code-
http://www.io.com/~eighner/index.html
600 E 53RD ST APT 119  AUSTIN TX 78751


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


Why can't I run seejpeg?

2003-02-27 Thread Lars Eighner
 Why can't I run seejpeg as a normal user?

 I am told you must be the owner of the current console ...

 But I AM the owner of /dev/console.  I have option uconsole
 in the kernel and I have /dev/ttyv0 0600 /dev/console in
 /etc/fbtab.  That makes me the owner of /dev/console
 (verified by peeking at /dev).  Moreover seejpeg is suid
 root and I belong to group wheel.

 So how come I can't run seejpeg?

-- 
Lars Eighner
[EMAIL PROTECTED] -finger for geek code-
http://www.io.com/~eighner/index.html
600 E 53RD ST APT 119  AUSTIN TX 78751


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


Re: cons25 or vt100

2003-02-25 Thread Lars Eighner
On Tue, 25 Feb 2003, Brian Henning wrote:

 is there a veriable set on login that can tell me weather i am logged in on as
 vt100 or cons25?
 is there anyway to tell?
 thanks,
 brian

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


 echo $TERM

 (or as may be appropriate in your shell to read the TERM
 environmental variable.)

-- 
Lars Eighner
[EMAIL PROTECTED] -finger for geek code-
http://www.io.com/~eighner/index.html
600 E 53RD ST APT 119  AUSTIN TX 78751



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


Re: FreeBSD 4.7-REL-p3 and an IPsec connection to Linksys BEFVP41

2003-02-19 Thread Lars Eggert
On 2/19/2003 8:39 PM, George Hartzell wrote:

I'd like to set up an IPsec connection between my laptop running
FreeBSD 4.7-REL-p3 and a Linksys BEFVP41 router w/ built in IPsec
capability.

I've found a number of sites w/ information on setting up ipsec
between a pair of FreeBSD machines, including:

  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ipsec.html
  http://www.freebsddiary.org/ipsec-tunnel.php
  http://www.daemonnews.org/200101/ipsec-howto.html
  http://www.bsdtoday.com/2002/April/Features671.html

But none that talk about getting FreeBSD's IPsec talking to anything
non-FreeBSD.

All of the methods are based on setting up a gif tunnel and passing
the packets over that.


Not really. There are a number of different ways to set this up, and 
only one (valid) one uses gif tunnels:

1. Use IPsec transport mode. The handbook (1st link) explains how to set 
this up.

2. Use IPsec tunnel mode. Again, the handbook describes the setup, so 
does the bsdtoday article.

(Note that these two do not use IPIP gif tunnels!)

3. Use an IPIP gif tunnel and IPsec transport mode, as described in 
draft-touch-ipsec-vpn, and the daemonnews article. This is an 
alternative to IPsec tunnel mode that has advantages when running 
dynamic routing - you don't seem to, so you should stick to vanilla 
IPsec, esp. since you only control one end.

You do NOT want to follow the freebsddiary article, which sets up 
parallel IPIP gif tunnels and IPsec tunnel mode SAs. It abuses the 
duplicate tunnels for routing, and can result in subtle interactions 
that can make your traffic go silently unencrypted. (I've contacted the 
author a long time ago, but he doesn't seem to belive in fixing diary 
entries.)

 I've tried a number of variations on the
recommended recipes, and at best I can watch the isakmp packet going
from the laptop towards the router and get see an icmp packet back
from the router that suggests the the gif tunnel isn't what it wants
to see (sadly, I didn't save the exact message, but can recreate it if
it's important enough).


Without a lot more information about your configuration, we can only 
guess at the issues.

So, the quick question is, has anyone set up a FreeBSD laptop as a
road warrior to an IPsec router?  I'd appreciate any pointers.


All three aproaches above can be made to work, as explained by the 
tutorials you cite. The question is, which one is supported by your 
Linksys box?

Lars
--
Lars Eggert [EMAIL PROTECTED]   USC Information Sciences Institute


smime.p7s
Description: S/MIME Cryptographic Signature


Lucent winmodem on A7V board vs. FreeBSD 4.7-RELEASE

2003-02-12 Thread Lars Eighner
[This message has also been posted.]

 Can I make this Lucent/Agere winmodem work on FreeBSD
 4.7-RELEASE?

 The 4.7 kernel identifies this as:

 pci0: unknown card (vendor 0x11c1, dev 0x48c) at 10.0

 when I tell the BIOS that I have a pnp-unaware OS, it sticks
 it on irq 5 and irq 5 gets appended to the above.

 I installed ltmdm from the comms ports, but this doesn't
 seem to help.  Or perhaps I have no idea where to look for
 the modem.

 Any insights appreciated.

-- 
Lars Eighner -finger for geek code-  [EMAIL PROTECTED] http://www.io.com/~eighner/
   My opinions might have changed, but not the fact that I am right.


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



Is FAQ answer 4.29 right?

2003-02-11 Thread Lars Eighner
 The answer to FAQ question 4.29 (What if my PnP modem isn't
 recognized says to make a kernel with the pnp0 controller
 (and then do a bunch of other stuff).

 The LINT in a recently cvsupped source tree (for i386)
 doesn't know anything about a pnp0.  I tried

 device pnp0

 and then I tried

 pseudo-device pnp0

 I don't know how to include this pnp0 controller referred to
 in the FAQ is or how to get it.


-- 
Lars Eighner
[EMAIL PROTECTED] -finger for geek code-
http://www.io.com/~eighner/index.html
600 E 53RD ST APT 119  AUSTIN TX 78751



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



120gb hdd seen as only 32gb

2003-02-09 Thread lars
Hi all,

When I want to install FreeBSD 4.7
on a 120gb Samsung Spinpoint hdd,
on a Asus p4t533 motherboard (Intel 850e),
only 32 gb are recognised by the installer.

Any help would be appreciated,
Lars.


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



Re: 120gb hdd seen as only 32gb

2003-02-09 Thread lars
I've set my hdd to
Cable Select in upper 32GB
(capacity  32 GB) at the moment.
I'll try
Master with limit capacity in upper 32GB
(capacity  32 GB) next, brb.

Nathan Kinkade wrote:

On Sun, Feb 09, 2003 at 08:45:49PM +0100, lars wrote:


Hi all,

When I want to install FreeBSD 4.7
on a 120gb Samsung Spinpoint hdd,
on a Asus p4t533 motherboard (Intel 850e),
only 32 gb are recognised by the installer.

Any help would be appreciated,
Lars.



Could it be a jumper setting issue?  See
http://www.samsungelectronics.com/hdd/support/user_guide/user_guide_02.html

I wonder if this is some sort hack so that the drive might work with
old broken Windows boxes that might not support more than 32GB.

Nathan





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



Re: 120gb hdd seen as only 32gb

2003-02-09 Thread lars
Thanks for the pointer, the whole drive gets recognised now.

The leaflet (that came with the hdd) calls
Master with limit capacity in upper 32GB
 (capacity  32 GB)
Pin Setting (32 GB Clip Pin Setting).

Anyway, it works.
Thanks.

lars wrote:

I've set my hdd to
Cable Select in upper 32GB
(capacity  32 GB) at the moment.
I'll try
Master with limit capacity in upper 32GB
(capacity  32 GB) next, brb.

Nathan Kinkade wrote:


On Sun, Feb 09, 2003 at 08:45:49PM +0100, lars wrote:


Hi all,

When I want to install FreeBSD 4.7
on a 120gb Samsung Spinpoint hdd,
on a Asus p4t533 motherboard (Intel 850e),
only 32 gb are recognised by the installer.

Any help would be appreciated,
Lars.




Could it be a jumper setting issue?  See
http://www.samsungelectronics.com/hdd/support/user_guide/user_guide_02.html 


I wonder if this is some sort hack so that the drive might work with
old broken Windows boxes that might not support more than 32GB.

Nathan




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






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



How to simulate a mouse click from the keyboard?

2003-01-15 Thread Lars Eighner
 It seems to me I vaguely recall that one or another of the
 window managers make it possible to simulate mouse clicks
 from the keyboard.  Can someone refresh my memory?

-- 
Lars Eighner
[EMAIL PROTECTED] -finger for geek code-
http://www.io.com/~eighner/index.html
600 E 53RD ST APT 119  AUSTIN TX 78751



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



Re: (OT) non-keyboard ascii characters

2003-01-05 Thread Lars Eighner


On Sun, 5 Jan 2003, Doug Reynolds wrote:

 On Tue, 31 Dec 2002 16:51:29 -0500 (EST), John Bleichert wrote:

 Hello All
 
 Is there anyway to get e.g. a u with an umlaught over it (ASCII 159 I
 think) in a text emailer like pine or mutt, if your keyboard doesn's have
 said character? How about text editors like nedit?
 
 Hopefully not too, too offtopic.

 back in the olden days with DOS, you'd hold down the alt key and punch
 in the ASCII code into the numeric keypad.  it still works with winXP,
 but never tried it on freebsd.


 First of all, there is no such thing as ASCII 159.  ASCII is
 a seven-bit standard.  So what you get for character 159
 depends upon which eight-bit charater set you are using.

 In ISO-8859-1, the lower case u with umlaut is character
 252.

 Entering non-keyboard characters is, of course, a function
 of your editor.  In pico (the native pine editor), you can
 hold down alt and enter three numbers from the key pad.  If
 you have entered something from 000 through 255, the
 character will appear when you release the alt key.  Most
 other editors have ways of doing it, although they differ
 since Unix-like software tends to assume terminals don't
 have alt keys.

 This doesn't solve the main problem, however, which is,
 unless you MIME your mail, you really don't know what the
 character will look like to the person who receives the
 mail.  The nearest thing to a default 8-bit standard is
 iso-8859-1, but since you think 159 is an umlaut u, you
 obviously aren't using it.



-- 
Lars Eighner
[EMAIL PROTECTED] -finger for geek code-
http://www.io.com/~eighner/index.html
600 E 53RD ST APT 119  AUSTIN TX 78751



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



Re: Working around problems when an NFS server dies / is unavailable.

2003-01-05 Thread Lars Eggert
On 1/4/2003 4:52 PM, richard childers / kg6hac wrote:


Personally, I don't trust amd(8). It's not clear to me that it's any smarter
than I am regarding hung NFS file servers.


You're right, it's not 
(http://www.freebsd.org/cgi/query-pr.cgi?pr=misc/24391); amd is easily 
confused by changes in network configuration.

Lars
--
Lars Eggert [EMAIL PROTECTED]   USC Information Sciences Institute


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Missing file - Help!

2003-01-05 Thread Lars Köller
--

Hi

and NO. The notation is the desired one for the ports mechanism!

In reply to Kevin Golding who wrote:
 
 Someone, quite probably Steven Lake, once wrote:
Someone mentioned to me that this is supposed to come with the
 app gettext.  But I'm not sure.
 
 Well the ports Makefile for apcupsd contains the line:
 LIB_DEPENDS=intl.4:${PORTSDIR}/devel/gettext
 
 But the pkg-plist for gettext doesn't mention intl.4, the closest is
 lib/libintl.so.4
 
 It looks like the port for apcupsd may need updating.
 
 Kevin
 
 On Thu, 2 Jan 2003, Gregory Carvalho wrote:
 
  I know you didn't ask, but you might consider using NUT (Network UPS
  Tools) which has extensive architecture and device support (including
  USB UPSes).
 
  BTW, I used:
 
  find / -name int*4
 
  on FreeBSD 3.2, FreeBSD 4.6, and FreeBSD 4.7 Release, but the results
  did not contain your indicated file.
 
  Steven Lake wrote:
  
   Hi all.  I was trying to build and install apcupsd and during the
   build I get this error:  shared library intl.4 does not exist
  
   Anybody know how to fix this?  I've never seen this error before
   and have no idea what this file is or does.  Thanks for the help.
 
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 
 -- 
 [EMAIL PROTECTED]

-- 
E-Mail: [EMAIL PROTECTED]\  Lars Köller
[EMAIL PROTECTED]  \  CC University of
PGP: http://www.uk.pgp.net/pgpnet/wwwkeys.html \  Bielefeld, Germany 
 Key-ID: A430D499   \  Tel: +49 521 106 4964
--- FreeBSD, what else?  http://www.freebsd.org -



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



Re: UNKNOWN IP OPTION emergency

2002-09-27 Thread Lars Eggert

soheil h wrote:
 
 I see on the TCP/IP illustrated it puts an LSRR option and record the ip 
 addresses into it and make the off 12 !!! to say all the things are done
 i run this command  the x.x.x.x is my default gw. but it takes the 
 source route error
 !
 why this happend?

Many reasons, all of which people can only speculate on until they see 
your code, a description of your setup and experimental procedure, and a 
commented packet dump.

Lars
-- 
Lars Eggert [EMAIL PROTECTED]   USC Information Sciences Institute



smime.p7s
Description: S/MIME Cryptographic Signature


RE: Cannot start bind in samdbox?

2002-07-14 Thread Lars Wittebrood

Stacey,

Do you have the directory structure right in your sandbox? I have bind
chrooted in /chroot/bind and my command to start it there is :

/chroot/bind/named -u bind -g bind -t /chroot/bind -d 1

You have -t /etc/namedb/s/ so you have to have the named binary and
/etc/namedb/named.conf within the /etc/namedb/s directory structure.

See http://www.psionic.com/papers/bindbsd.html for a HOW-TO.


Lars.

-Original Message-
From: Stacey Roberts [mailto:[EMAIL PROTECTED]] 
Sent: Sunday, July 14, 2002 11:51 AM
To: FreeBSD-Questions Mailinglist
Subject: Cannot start bind in samdbox?


Hello,
 I'm trying to set named up on a box here, following the handbook as
well as FBSD Unleashed - but I cannot seem to get bind started and going
in a sandbox.

This is the error I keep getting:
# /usr/sbin/named -u bind -g bind -t /etc/namedb/s/
can't open '/etc/namedb/named.conf'
#

And is I try another way:
# ndc -c /etc/namedb/s/var/run/ndc start
ndc: error: name server has not started (yet?)
#

Anyone able to help with this, please?

Stacey
-- 
Stacey Roberts B.Sc. (HONS) Computer Science
Network Systems Engineer

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



<    1   2   3   4