FreeBSD-6, kldload: No such file...

2006-11-12 Thread Armin Arh
Hi,

since upgrading to FreeBSD-6 i can't load modules by just typing the name.

## uname -a
FreeBSD lance.net.schlund.de 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #8: Sun Nov 
12 21:59:06 CET 2006 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/LANCE  i386

## kldload linux
kldload: can't load linux: No such file or directory
## kldload linux.ko
kldload: can't load linux.ko: No such file or directory
## kldload /boot/kernel/linux.ko 
## kldstat
Id Refs AddressSize Name
 16 0xc040 77132c   kernel
 31 0xc4193000 1b000kqemu.ko
 41 0xc3db7000 16000linux.ko

did i miss some config?

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


Opera-9.02 crash, 6.2-PRERELEASE

2006-11-12 Thread Armin Arh
Hi,

I just installed Opera-9.02 from ports, and it crashes...

[EMAIL PROTECTED] opera
Fatal error 'Spinlock called when not threaded.' at line 87 in file 
/usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 0)
Abort trap (core dumped)

[EMAIL PROTECTED] uname -a
FreeBSD lance.net.schlund.de 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #8: Sun Nov 
12 21:59:06 CET 2006 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/LANCE  i386

any ideas?

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


Re: image based stock spam

2006-11-13 Thread Armin Arh
On Sun, 12 Nov 2006 23:17:58 -0800 Brian [EMAIL PROTECTED] wrote:
 ugh, I'm running a 6.2 prerelease.  The package doesn't exist, so I 
 build the port, or try to.  The tiff port wont build, so I pkg_add 
 that.  It gets a lil further along, the pkgconfig port won't build, I 
 pkg_add that.  Then, a little further here comes an x windows install, a 
 31 mb download. I don't want that on my server.  I'll live with it for 
 now till something better comes along.

A few weeks ago i made a solution for spam images myself.
You can find at:

ftp://pubbox.net/pub/unix/mail/mimefilter-1.0-PRE.tar.gz

enjoy,

Armin
PUBBOX Postmaster, spam-killer no.1, free email address at http://pubbox.net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: License issue

2006-11-15 Thread Armin Arh
Hiroshi!

The BSD license offers you to modify source and sell your product
as you like. You have to include the full COPYRIGHT accompaining
that particular BSD, that's it.

Of course, any donations made by you to FreeBSD are welcome, but not required :)

Keep in mind that any third party packages (ports, packages, etc...)
have their own license, so don't do that with just anything that
installs on a BSD.

Armin
-- 
PUBBOX Postmaster + spam-killer. Free email addresses at http://pubbox.net/

On Wed, Nov 15, 2006 at 07:00:07PM +0900, [EMAIL PROTECTED] wrote:
  We are planning to redistribute FreeBSD in binary and we implement our 
 software on 
 the FreeBSD in our system, keeping the text in COPYRIGHT file in the 
 package of 
 FreeBSD 6.1 RELEASE. The COPYRIGHT file is attached this email.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


xfce4 repair, how to recompile everything?

2006-11-15 Thread Armin Arh
I would like to recompile all of the xfce4 stuff.

Is the ports system offering a solution here?
maybe something like:

make reinstall IF CATEGORIES IS xfce4

Armin
-- 
PUBBOX Postmaster + spam-killer. Free email addresses at http://pubbox.net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: xfce4 repair, how to recompile everything?

2006-11-15 Thread Armin Arh
Leads me to some more troble:

# pwd
/usr/ports/sysutils/portupgrade
# make install
...
...
/bin/cp -R 
/home/ports/wrkdir/usr/ports/databases/ruby-bdb/work/bdb-0.5.9/docs/doc 
/usr/local/share/doc/ruby18/bdb/
cp: /home/ports/wrkdir/usr/ports/databases/ruby-bdb/work/bdb-0.5.9/docs/doc: No 
such file or directory
*** Error code 1
Stop in /usr/ports/databases/ruby-bdb.
*** Error code 1
Stop in /usr/ports/sysutils/portupgrade.

what's wrong here?

Armin

On Wed, Nov 15, 2006 at 12:00:44PM -0500, John Nielsen wrote:
 
 # portupgrade -f \*xfce\*

-- 
PUBBOX Postmaster + spam-killer. Free email addresses at http://pubbox.net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: solutions for web hosting server

2006-11-16 Thread Armin Arh
Depends on your application.
There is no generally best solution.
On Thu, Nov 16, 2006 at 02:19:49PM +0200, Dan Catana wrote:
 - Apache 2
I use caudium. Provides strong flexible content, and is easy to administer.

 - MySQL 5
Postgres is the right choice for me, provides integrity, is faster
for complex queries anyway.

 - PHP 5
I prefer programming modules in pike for caudium.
Keeps my application sane.

 - awstat
 - ftp server ... I don't really know what to install, proftpd it's good ?
awful documentation as far as i am concerned.
pure-ftpd is doing a good job for me. Gives you real control
over traffic and other limits per user. I like its sql interface.

 - iptables -- for firewall
I don't do firewalling at all. For whom? My server is
not a gateway. But if i need one, i prefer pf.

Armin
-- 
PUBBOX Postmaster + spam-killer. Free email addresses at http://pubbox.net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help: Suitable Version for Web Server?

2006-11-17 Thread Armin Arh
On Fri, Nov 17, 2006 at 11:22:50AM +0100, VeeJay wrote:
 Apache ???
 MySQL ???
 PHP ???
 QMail

postgres-7
exim-4
courier-imap-4
caudium-1.2   (HTTP)
sqwebmail-5.1.3
pure-ftpd-1.0

are the right choice for my PUBBOX.

the postgres knows all about every user and application he may use.
It is absolutely reliable. Mysql can't do that.
(no foreign keys, no transactions, slow for complex queries anyway...)

Mysql is a good choice, if you don't need sanity checks, and
retreive tons of bulk data with a straightforward select...
...there it is notably faster

enjoy,

Armin
-- 
PUBBOX Postmaster + spam-killer. Free email addresses at http://pubbox.net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Fresh System: Kernel should be Rebuilded FIRST or cvsup should be Run FIRST?

2006-11-18 Thread Armin Arh
On Sat, Nov 18, 2006 at 06:46:56PM +0100, VeeJay wrote:
 Kernel should be Rebuilded FIRST or cvsup should be Run FIRST?
Most people do not need a custom Kernel, just some modules added at runtime.

On What part of source do you intend to run cvsup?
New Kernel should be run in order to provide binaries
with system calls not available in old Kernel.
Compiling something with new Kernel headers in place,
this may be necessary in general.

Most applications run nicely without upgrading Kernel, you
can even switch back to an older one.

Most of the time i upgrade by running a new kernel (for weeks :) at first,
replacing system libs etc. afterwards.

Armin
-- 
PUBBOX Postmaster + spam-killer. Free email addresses at http://pubbox.net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: packages failing to load

2006-11-25 Thread Armin Arh
Look for a package called 'expat-2.0.0'.
Once you got one look into it like this

pkg_info -L expat-2.X.tar.gz

It should then state there is a '/usr/local/lib/libexpat.so.6' in it.
If so, install it.

Nevertheless this may fail if it uses some syscall of FBSD-5.5 not
present in FBSD5.4, but i don't think so.

If all that fails, compile it yourself, like this:

cd /usr/ports/textproc/expat2
make install  make clean


I have FreeBSD-6.2 running, but without expat2. My packages
still use expat1. Simply because i built every bit from ports,
to have no braindamage with precompiled stuff wanting newest
libraries.

Looks like this on my Desktop:

[EMAIL PROTECTED] pkg_info -L /var/db/pkg/expat-1.95.8_3/
Information for expat-1.95.8_3:

Files:
/usr/local/man/man1/xmlwf.1.gz
/usr/local/bin/xmlwf
/usr/local/include/expat.h
/usr/local/include/expat_external.h
/usr/local/lib/libexpat.a
/usr/local/lib/libexpat.so
/usr/local/lib/libexpat.so.5

[EMAIL PROTECTED] ldconfig -r |grep expat
438:-lexpat.5 = /usr/local/lib/libexpat.so.5
680:-lexpat.4 = /usr/local/lib/libexpat.so.4
[EMAIL PROTECTED] uname -a
FreeBSD lance.net.schlund.de 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #8: Sun Nov 
12 21:59:06 CET 2006 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/LANCE  i386


bye,
Armin
-- 
PUBBOX Postmaster + spam-killer. Free email addresses at http://pubbox.net/

On Fri, Nov 24, 2006 at 09:30:39PM -0700, service wrote:
 uname -a
 FreeBSD localhost 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Fri Nov 24 
 08:54:35 UTC 2006 root@:/usr/src/sys/i386/compile/VIL  i386
 
 
 I had FreeBSD-5.4 for about one and a half years.  Loading packages with 
 pkg_add -r was very easy.  Suddenly pkg_add -r no longer works.
 
 Looking at freebsd's ftp sites, they got rid of the 5.4 release.  They 
 now have a 5.5 release.  I tried downloading from packages-5-stable 
 and packages-5.5-stable.  About 50 percent of these programs fail.  I 
 get error messages that say something like  /libexec/ld-elf.so.1: 
 Shared object libexpat.so.6 not found.  I'm not sure, but I think 
 files ending in so.6, belong in version 6, not version 5.  I have more 
 than 10 versions of FreeBSD.  I tried using packages off these CDs.  
 some of them worked, but most of the time I keep getting error messages.
 
 What can I do?
 
 Thanks in advance,
 bruce
 
 ___
 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: packages failing to load

2006-11-26 Thread Armin Arh
libc and libm are system libraries.
These are not ports.
You find them in the compat4X and compat5X stuff coming
along with FreeBSD itself.

Look on a close Mirror for files like

./5.4-RELEASE/compat3x:
CHECKSUM.MD5
compat3x.aa
compat3x.ab
compat3x.inf
compat3x.mtree
install.sh
./5.4-RELEASE/compat4x:
CHECKSUM.MD5
compat4x.aa
compat4x.ab
compat4x.inf
compat4x.mtree
install.sh

# - fetch the complete directories, then

cd compat3x
sh install.sh
# etc.

Installing compat3x, compat4x from any release will work an all boxes.
Thus, you can fetch the stuff from 6.1-RELEASE, install this on your 5.5, and 
it will work on
your 7.X, too!
+ It does no harm to your disk, because it's small.

enjoy,
Armin
-- 
PUBBOX Postmaster + spam-killer. Free email addresses at http://pubbox.net/

On Sat, Nov 25, 2006 at 11:50:15PM -0700, service wrote:
 That worked. libexpt.so.6 was successfully installed.  Now I need 
 'libc.so.5' and 'libm.so.2'.  Any idea where I can find these 2 files?  
 I tried 'pkg_info -L' on a lot of files with no luck.  i also went back 
 to my older releases with no luck also.
 
 Thanks in advance,
 bruce
 
 Armin Arh wrote:
 
 Look for a package called 'expat-2.0.0'.
 Once you got one look into it like this
 
 pkg_info -L expat-2.X.tar.gz
 
 It should then state there is a '/usr/local/lib/libexpat.so.6' in it.
 If so, install it.
 
 Nevertheless this may fail if it uses some syscall of FBSD-5.5 not
 present in FBSD5.4, but i don't think so.
 
 If all that fails, compile it yourself, like this:
 
 cd /usr/ports/textproc/expat2
 make install  make clean
 
 
 I have FreeBSD-6.2 running, but without expat2. My packages
 still use expat1. Simply because i built every bit from ports,
 to have no braindamage with precompiled stuff wanting newest
 libraries.
 
 Looks like this on my Desktop:
 
 [EMAIL PROTECTED] pkg_info -L /var/db/pkg/expat-1.95.8_3/
 Information for expat-1.95.8_3:
 
 Files:
 /usr/local/man/man1/xmlwf.1.gz
 /usr/local/bin/xmlwf
 /usr/local/include/expat.h
 /usr/local/include/expat_external.h
 /usr/local/lib/libexpat.a
 /usr/local/lib/libexpat.so
 /usr/local/lib/libexpat.so.5
 
 [EMAIL PROTECTED] ldconfig -r |grep expat
438:-lexpat.5 = /usr/local/lib/libexpat.so.5
680:-lexpat.4 = /usr/local/lib/libexpat.so.4
 [EMAIL PROTECTED] uname -a
 FreeBSD lance.net.schlund.de 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #8: Sun 
 Nov 12 21:59:06 CET 2006 
 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/LANCE  i386
 
 
 bye,
  Armin
  
 
 
 

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


Re: cleaning out log files?

2006-11-26 Thread Armin Arh
Check /etc/newsyslog.conf
All log-files you like to have rotated, should be mentioned there.

System owned logs are in there per default.

du -k /var will tell you where your space is being consumed.
Maybe your /var/mail/root is growing...

How big is your /var anyway?

Armin
-- 
PUBBOX Postmaster + spam-killer. Free email addresses at http://pubbox.net/

On Sun, Nov 26, 2006 at 10:37:18AM -0800, Oliver Iberien wrote:
 I've noticed that my /var partition, on a machine being used as a desktop, is 
 about 80% full and would like to know what in it can safely be deleted, or if 
 there is some accepted way to trim log files down with a cron job, etc. 
 Thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Spam prevention

2006-11-29 Thread Armin Arh
On Wed, Nov 29, 2006 at 06:53:36PM -0500, Ian Lord wrote:
 
 Hi,
 
 I would like to setup a mail server with postfix and sendmail...

exim + bogofilter doing their job here.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Advantages of trimmed kernel?

2006-12-10 Thread Armin Arh
I think recompiling one owns Kernel becomes important
when you want it to behave completely different.

hardwired irq, other scheduler etc.

Saving memory is only an issue when running on extra small
hardware. (Like we all had ten years ago)

Armin
-- 
PUBBOX Postmaster + spam-killer. Free email addresses at http://pubbox.net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how do I see security logs without turning on sendmail?

2006-12-13 Thread Armin Arh
On Wed, Dec 13, 2006 at 05:22:41PM -0600, Tuareg wrote:
 Dec 13 00:00:00 myhost newsyslog[41433]: logfile turned over
 Dec 13 00:00:02 myhost sendmail[41485]: gethostbyaddr(xxx.xxx.xxx.xxx)
 failed: 1
 Dec 13 00:00:02 myhost sendmail[41485]: kBD602j41485: from=root, size=137,
 class=0, nrcpts=1, msgid=
 [EMAIL PROTECTED], [EMAIL PROTECTED]
 Dec 13 00:00:03 myhost sendmail[41488]: kBD602j41485: to=
 [...]

clearly sendmail is running, but not as a daemon.
It gets called for every single mail by some other process running as root.
You suspect squid to do so? (unlikely, why should a webcache send emails...)
Well, then run squid as another user and watch the logs, should
be from=squiduser then...

The problem with too much root- processes is, you can't tell which one is going 
mad.

enjoy,
Armin
-- 
PUBBOX Postmaster + spam-killer. Free email addresses at http://pubbox.net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Palm Tx + jpilot

2006-12-14 Thread Armin Arh
Running a 6.2PRERELEASE kernel here.

Just purchased a brand new Palm TX Handheld and connected
it via usb to my PC. Surprisingly jpilot did not work, did
so for my elder Zire71 (which is broken...) running 5.4-RELEASE.

After clearing the confusion about ucom0 was renamed
to cuaU0 (why?) it worked, theoretically...

Every time i press the hotsync button devfs creates
the device newly, but with wrong privileges.

In /etc/devfs.conf:
perm   cuaU0  0666

but then:
## l /dev/cuaU0
crw-rw  1 uucp  dialer  -   0, 113 Dec 15 05:00 /dev/cuaU0

The /dev/devfs.conf permissions only apply when i run /etc/rc.d/devfs restart
This is a nogo because i have only 1 second between pressing
sync on the Handheld and clicking sync on jpilot.

TIA

Armin
-- 
PUBBOX Postmaster + spam-killer. Free email addresses at http://pubbox.net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Palm Tx + jpilot

2006-12-14 Thread Armin Arh
On Fri, Dec 15, 2006 at 01:16:46AM -0500, Anish Mistry wrote:
  In /etc/devfs.conf:
  perm   cuaU0  0666
 
  but then:
  ## l /dev/cuaU0
  crw-rw  1 uucp  dialer  -   0, 113 Dec 15 05:00 /dev/cuaU0
 
  The /dev/devfs.conf permissions only apply when i run
  /etc/rc.d/devfs restart This is a nogo because i have only 1
  second between pressing sync on the Handheld and clicking sync on
  jpilot.
 man devfs.rules

Thx.
Now devfs.rules(5) redirects me to devfs.conf(5)
which clearly states i should set

perm   cuaU0  0666

and i did so as described in my initial post.
Nevertheless the permissions became wrong.
Maybe it works after the next reboot, which is hard to
believe... we'll see.
-- 
PUBBOX Postmaster + spam-killer. Free email addresses at http://pubbox.net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Palm Tx + jpilot

2006-12-15 Thread Armin Arh
On Fri, Dec 15, 2006 at 10:19:49AM -0500, Lowell Gilbert wrote:
 Armin Arh [EMAIL PROTECTED] writes:
 
  On Fri, Dec 15, 2006 at 01:16:46AM -0500, Anish Mistry wrote:
   In /etc/devfs.conf:
   perm   cuaU0  0666
  
   but then:
   ## l /dev/cuaU0
   crw-rw  1 uucp  dialer  -   0, 113 Dec 15 05:00 /dev/cuaU0
  
   The /dev/devfs.conf permissions only apply when i run
   /etc/rc.d/devfs restart This is a nogo because i have only 1
   second between pressing sync on the Handheld and clicking sync on
   jpilot.
  man devfs.rules
 
  Thx.
  Now devfs.rules(5) redirects me to devfs.conf(5)
  which clearly states i should set
 
  perm   cuaU0  0666
 
  and i did so as described in my initial post.
  Nevertheless the permissions became wrong.
  Maybe it works after the next reboot, which is hard to
  believe... we'll see.
 
 You need devfs.rules, *not* devfs.conf.
 Try the manual page for the former again.

After some reading i decided to give this one a try:

# devfs rule add path cuaU0 mode 666
devfs rule: ioctl DEVFSIO_RADD: Input/output error

And then, i still do not understand why i need devfs.rules,
because i can set the file mode in devfs.conf.

Armin
-- 
PUBBOX Postmaster + spam-killer. Free email addresses at http://pubbox.net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Palm Tx + jpilot

2006-12-15 Thread Armin Arh
On Sat, Dec 16, 2006 at 02:16:48AM +0100, Armin Arh wrote:
 On Fri, Dec 15, 2006 at 10:19:49AM -0500, Lowell Gilbert wrote:
  Armin Arh [EMAIL PROTECTED] writes:
  
   On Fri, Dec 15, 2006 at 01:16:46AM -0500, Anish Mistry wrote:
In /etc/devfs.conf:
perm   cuaU0  0666
   
but then:
## l /dev/cuaU0
crw-rw  1 uucp  dialer  -   0, 113 Dec 15 05:00 /dev/cuaU0
   
The /dev/devfs.conf permissions only apply when i run
/etc/rc.d/devfs restart This is a nogo because i have only 1
second between pressing sync on the Handheld and clicking sync on
jpilot.
   man devfs.rules
  
   Thx.
   Now devfs.rules(5) redirects me to devfs.conf(5)
   which clearly states i should set
  
   perm   cuaU0  0666
  
   and i did so as described in my initial post.
   Nevertheless the permissions became wrong.
   Maybe it works after the next reboot, which is hard to
   believe... we'll see.
  
  You need devfs.rules, *not* devfs.conf.
  Try the manual page for the former again.
 
 After some reading i decided to give this one a try:
 
 # devfs rule add path cuaU0 mode 666
 devfs rule: ioctl DEVFSIO_RADD: Input/output error
 
 And then, i still do not understand why i need devfs.rules,
 because i can set the file mode in devfs.conf.

Oh, nice

## devfs rule -s 10 add path cuaU0 mode 666
## devfs rule showsets
10

but then again:
## devfs rule add path cuaU0 mode 666
devfs rule: ioctl DEVFSIO_RADD: Input/output error

= there is no predefined default ruleset
   (man page should state this fact besides the '-s' option)


## devfs ruleset 10
## devfs rule add path cuaU0 mode 666
## devfs rule show
100 path cuaU0 mode 666
200 path cuaU0 mode 666

I'm getting closer...

Armin
-- 
PUBBOX Postmaster + spam-killer. Free email addresses at http://pubbox.net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Palm Tx + jpilot

2006-12-15 Thread Armin Arh
Finally,
This is the solution to get a Palm TX work with FBSD-6.X

load the kernel modules 'uvisor.ko', 'ucom.ko', e.g. like this:
(if not already done at boot time)
kldload uvisor
kldload ucom

In order to set up the devfs rules manually do something like this:

devfs ruleset 10
devfs rule add path cuaU* unhide mode 666

(note that 666 is fine for me, this may not suit your
 possibly more restricted environment)

For a permanent setup this can be done via /etc/devfs.rules:
#-
[devfsrules_palm=4]
add path 'cuaU*' unhide mode 666
#-

plus this has to be mentioned in /etc/rc.conf:
#-
devfs_system_ruleset=devfsrules_palm
#-

It comes in handy to have a symlink where jpilot is searching
the handheld.

ln -s /dev/cuaU0 pilot

enjoy,
Armin
-- 
PUBBOX Postmaster + spam-killer. Free email addresses at http://pubbox.net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: small mail server

2006-12-21 Thread Armin Arh
On Wed, Dec 20, 2006 at 11:23:04AM +, Robin Becker wrote:
 I'm looking for some advice on using one of our existing freebsd 6.x 
 servers as
 a mail server for a small number (20) of users.
 
 Our existing provider gives us
 
 1) pop3/IMAP for reading mail
 2) SMTP for sending, but we need to read mail before using smtp; I guess 
 this implies we don't need to authenticate directly.
 3) web based interface for adding users and redirections etc etc
 4) spam filtering (presumably based on their large user mail volume).
 5) white/grey listing

I just want to let you know what i am doing about mail,
maybe it's helpful:

1) I am using 'getmail' for my users which
can't redirect their old addresses.
Seems to operate rock solid so far.

2) Currently i run exim as MTA, but everyone is on its own here.
Maybe sendmail has some extensions to do this POP before SMTP thing...
(which i have turned off on my site, it's just ugly)
I like exim for its clear yet powerful configuration.
coupled with my postgres i have a central for user/pass and alias entries.
IMAP server (courier-imap here) looks up in the postgres, too.

5) grey (or even the new hype: green) listing is a desperate attempt
   to block spam. I'll never use that.

btw: My box provides an email platform for custom domains (free and easy)

Armin
-- 
PUBBOX Postmaster + spam-killer. Free email addresses at http://pubbox.net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: remove suid files question....

2006-12-23 Thread Armin Arh
On Sat, Dec 23, 2006 at 05:41:29PM -0300, Agus wrote:
 Hi all.i installed a freebsd 6 and i am going to use it as a server with
 apache, ssh, ftp and other servicesit is going to be of free accessu
 register in my page your account (free) and i create an account for u in the
 systemso i am trying to make it secure.which setuid files should i
 take the setuid bit off???

Sounds interesting. Can i get an account? :)
btw: do you care for a real email address? (see below)

Giving the users shell access without a chroot environment is a potential
danger, possible though.
A plain BSD installation has several suid- bits set like for the 'passwd'
program, 'su' and other. These can't be used to corrupt the system, so you
should be safe.
Nevertheless, special care has to be taken for all third party software,
e.g. via the ports system.

On my box i can't afford giving users shell access, because cpu cycles
are a rare resource (OSes can be even freeze with naughty users).
And then i have no expirience about enforcing resource limits...

Another important point is:
You may trust your users, but unauthorized access (someone else logs in)
can arise if they do something wrong. Restricting them to cryptgraphically
authenticated entrance is a good countermeasure.

Armin
-- 
PUBBOX Postmaster + spam-killer. Free email addresses at http://pubbox.net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 4.10-stable nameserver strange behavior

2007-01-11 Thread Armin Arh
On Thu, 11 Jan 2007 11:44:38 -0500 (EST)
Ken Cochran [EMAIL PROTECTED] wrote:

 Hi:
 
 How I refresh a system binary?
 
 More specifically, I think I may have a compromised(?) named
 in /usr/sbin but what I have in /usr/obj should be fine;
 if not I still have it in /usr/src and can rebuild/reinstall it.
 
 So how would I do the named only part of an installworld?

I would try something like:

cd /usr/src/usr.sbin/named
make install

Armin
-- 
PUBBOX Postmaster + spam-killer, free email address at http://pubbox.net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to clear strage route in routing table?

2007-01-11 Thread Armin Arh
On Thu, 11 Jan 2007 09:01:14 -0800 (PST)
Patrick Dung [EMAIL PROTECTED] wrote:

 Hi
 
 Suppose I have mistype a command:
 # route add 192.168.3.0 255.255.255.0 192.168.3.1


What is the output of netstat -nrf inet ?
Does route delete 192.168.3.0 help?

Armin
-- 
PUBBOX Postmaster + spam-killer, free email address at http://pubbox.net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]