Performance of Geli compared to Luks

2012-03-25 Thread Moritz Schlarb
Hello everyone,


My HP Proliant Microserver, which I want to use as a NAS, is using an
AMD Turion II Neo N40L processor. The plain disks give me about 100 MB/s
using filebench with the fivestreamwrite/multistreamwrite workloads (as
software RAID-1 under Linux and zpool mirror under FreeBSD).

In Linux, using LUKS with cipher aes-xts-plain64 on a software RAID-1 I
get the same ~100 MB/s for the same benchmarks.

In FreeBSD, using a mirror zfs pool with underlying GELI with AES-XTS I
get only ~50 MB/s.

As the encryption algorithms should be the same, I'm wondering why
FreeBSD is that slow for nearly exactly the same use case.
Any ideas how I could tweak my settings in FreeBSD?

Regards,
-- 
Moritz Schlarb

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


Disable automatic Fallback IP on 9.0-RC2 when a hostname cannot be resolved

2011-11-26 Thread Moritz Wilhelmy
Hello,

my 9.0-RC2 installation on furnace.wzff.de keeps connecting to wzff.de
if a hostname cannot be resolved. E.g. telnet foobar 25 connects me to
the SMTP server on wzff.de, same thing for another jail that uses a
subdomain of barfooze.de and tries to connect to barfooze.de if it can't
find a suitable DNS or /etc/hosts record.

I dislike when computers try to be smart like this, and I can't really
think how this is useful, and it also doesn't happen on another machine
that has a subdomain of something set as hostname and is running 8.2, so
I want to disable it. Can anyone give me a hint how to do it?
If you can't, which of the numerous mailing lists would be the right one
to contact in this case?

This is 9.0-RC2 on amd64, last updated 2011-11-09.


Best regards,

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


Re: Disable automatic Fallback IP on 9.0-RC2 when a hostname cannot be resolved

2011-11-26 Thread Moritz Wilhelmy
Hi,

Nope, it's not my DNS provider. I checked that.

On the furnace.wzff.de jail:
# cat /etc/resolv.conf 
# Generated by resolvconf
nameserver 213.133.98.98
nameserver 213.133.99.99
nameserver 213.133.100.100
# host foo1
Host foo1 not found: 3(NXDOMAIN)
# grep foo1 /etc/hosts
# telnet foo1 25
Trying 178.63.197.15...
Connected to wzff.de.
Escape character is '^]'.
220 wzff.de ESMTP Exim 4.72 Sat, 26 Nov 2011 20:18:45 +0100
QUIT
221 wzff.de closing connection
Connection closed by foreign host.

Same thing on the mail.wzff.de jail:
# telnet foo1 25
Trying 178.63.197.15...
Connected to wzff.de.
Escape character is '^]'.

jabber.barfooze.de:
# telnet fu1 25
Trying 78.46.117.212...
Connected to fu1.barfooze.de.
Escape character is '^]'.
220 barfooze.de ESMTP Exim 4.76 Sat, 26 Nov 2011 20:25:57 +0100

Interestingly, on this jail it connects to a subdomain.

I tried telnet and irssi, and both of them do this, so it's probably not
an application bug either. Any hints where else I should look?


Best regards,

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


Re: Disable automatic Fallback IP on 9.0-RC2 when a hostname cannot be resolved

2011-11-26 Thread Moritz Wilhelmy
Hi Michael,

On Sat, Nov 26, 2011 at 18:18:00 +0100, Michael Ross wrote:
 Add e. g. ``search local'' to /etc/resolv.conf.
 The behaviour is explained in man resolv.conf, search.
 
 Or disable wildcard entries in your dns server config.

Thanks for pointing this out. Explicitely setting search local wasn't
required on my previous machines, all of which ran Linux though, which
is a different kind of beast.. The 8.2 machine I was talking about
doesn't have wildcard domain names set.


Best regards,

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


No colours at all with ncurses and urxvt on FreeBSD 9.0-RC2

2011-11-25 Thread Moritz Wilhelmy
Hello,

I can't get colours to work with urxvt (the normal urxvt, that is, not
the 256-color one) over ssh. Google doesn't come up with any usable
results for this particular case.. What bothers me is that a termcap
entry for rxvt-unicode is present on the termcap file FreeBSD came
with. I'm really clueless here, can someone give me a hint?

Best,

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


Re: No colours at all with ncurses and urxvt on FreeBSD 9.0-RC2

2011-11-25 Thread Moritz Wilhelmy
On Fri, Nov 25, 2011 at 06:37:18 -0500, Thomas Dickey wrote:
 On Fri, Nov 25, 2011 at 11:59:01AM +0100, Moritz Wilhelmy wrote:
  I can't get colours to work with urxvt (the normal urxvt, that is, not
  the 256-color one) over ssh. Google doesn't come up with any usable
  results for this particular case.. What bothers me is that a termcap
  entry for rxvt-unicode is present on the termcap file FreeBSD came
  with. I'm really clueless here, can someone give me a hint?
 
 setting TERM to rxvt-256color looks like the way to fix that issue.

Indeed, setting TERM to either rxvt-256color or rxvt gives me
colours.  The remaining question is, why doesn't it work with
rxvt-unicode, which is also in the termcap file?

I'd prefer not working around the issue anymore by conditionally setting
TERM on all my FreeBSD boxes, but fixing it once and for all...

Nevertheless, thanks for your quick reply. Your help is appreciated :-)


Best regards,

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


Re: No colours at all with ncurses and urxvt on FreeBSD 9.0-RC2

2011-11-25 Thread Moritz Wilhelmy
On Fri, Nov 25, 2011 at 08:19:15 -0500, Thomas Dickey wrote:
 well... rxvt-unicode-256color was the effect of the checkins for termcap.src
 for conf/152713 and conf/153164
 
 The earlier one suggests that the naming came from rxvt-unicode's sources.
 Checking that, it seems that the rxvt-unicode entry specifies 88 colors,
 while the rxvt-unicode-256color entry (close to rxvt-256color) does 256.
 
 However, the rxvt-unicode entry in FreeBSD was added for conf/117323,
 which equated it to rxvt-mono (no color), with some changes for function-keys.
 
 On the other hand, the rxvt entry uses color, which was overlooked in
 conf/117323:
 
 # Termcap entry for rxvt-unicode, taken from 
 http://cvs.schmorp.de/rxvt-unicode/doc/rxvt.7.html#I_need_a_termcap_file_entry
 rxvt-unicode|rxvt-unicode terminal (X Window System):\
   :SF=\E[%dS:SR=\E[%dT:bw:ec=\E[%dX:kb=\177:kd=\EOB:ke=\E[?1l\E:\
   :kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:lm#0:te=\E[r\E[?1049l:\
   :ti=\E[?1049h:tc=rxvt-mono:

And I already wondered why it was so short..

 rxvt|rxvt terminal emulator (X Window System):\
   :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:tc=rxvt-mono:
 
 Following the clue from the comment, the example using no color was present
 in rxvt.7 until it was removed in version 9.05 of rxvt-unicode.  The current
 documentation contains no examples (the termcap/terminfo are only separate
 files).

This sounds like a bug in FreeBSD's default termcap. Should I file a PR?

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


Problems with nullfs on 9.0-RC1

2011-11-07 Thread Moritz Wilhelmy
Good evening,

I have been experiencing problems with accessing a nullfs which has been
mounted inside a nullfs. This is meant to be a very elaborate way to
exchange files between my jails :-)

I have following entries in /etc/fstab on the host system, which runs
FreeBSD 9.0-RC1 from a few days ago:

/usr/jails/foo/share/shares/foo nullfs  ro  0   0
/shares /usr/jails/foo/shares   nullfs  ro  0   0
/usr/jails/bar/share/shares/bar nullfs  ro  0   0
/shares /usr/jails/bar/shares   nullfs  ro  0   0
etc.

If I create a file in the bar jail in /share, let's call it zot, it is
available on the host system in /shares/bar, but not inside
/usr/jails/foo/shares/bar or /usr/jails/bar/shares/bar.

My syslog is full of messages like these:

Nov  7 16:44:15 machine kernel: null_bypass: vop_getattr
Nov  7 16:44:15 machine kernel: null_bypass: vop_readdir
Nov  7 16:44:15 machine kernel: null_bypass: vop_readdir
Nov  7 16:44:15 machine kernel: null_bypass: vop_close
Nov  7 16:44:15 machine kernel: null_bypass: vop_access
Nov  7 16:44:15 machine kernel: null_bypass: vop_open
Nov  7 16:44:15 machine kernel: null_bypass: vop_getattr
Nov  7 16:44:15 machine kernel: null_bypass: vop_read
Nov  7 16:44:15 machine kernel: null_bypass: vop_close
Nov  7 16:44:15 machine kernel: null_bypass: vop_access
Nov  7 16:44:15 machine kernel: null_bypass: vop_open
Nov  7 16:44:15 machine kernel: null_bypass: vop_getattr
Nov  7 16:44:15 machine kernel: null_bypass: vop_read
Nov  7 16:44:15 machine kernel: null_bypass: vop_close
Nov  7 16:44:15 machine kernel: null_bypass: vop_getattr
Nov  7 16:44:15 machine kernel: null_bypass: vop_access
Nov  7 16:44:15 machine kernel: null_bypass: vop_open
Nov  7 16:44:15 machine kernel: null_bypass: vop_getattr
Nov  7 16:44:15 machine kernel: null_bypass: vop_readdir
Nov  7 16:44:15 machine kernel: null_bypass: vop_readdir
Nov  7 16:44:15 machine kernel: null_bypass: vop_close
Nov  7 16:44:15 machine kernel: null_bypass: vop_getattr
Nov  7 16:44:15 machine last message repeated 2 times
Nov  7 16:44:15 machine kernel: null_bypass: vop_access

I guess I'm either doing something very stupid here, or this is a bug?
The manpage doesn't mention anything about nullfs still being unstable
(I read it used to be, with a huge bugs section in the manpage,
which read like this: SLIPPERY WHEN WET, BEWARE OF DOG).
Has anyone run into similar problems?


Best regards,

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


Deprecated ifconfig_interface_aliasn

2011-11-06 Thread Moritz Wilhelmy
Hello,

according to the rc.conf(5) manual page, the
ifconfig_interface_alias_n mechanism has been deprecated:


And so on.  For each ifconfig_interface_aliasn entry that
is found, its contents are passed to ifconfig(8).
Execution stops at the first unsuccessful access, so if
something like this is present:

ifconfig_ed0_alias0=inet 127.0.0.251 netmask 0x
ifconfig_ed0_alias1=inet 127.0.0.252 netmask 0x
ifconfig_ed0_alias2=inet 127.0.0.253 netmask 0x
ifconfig_ed0_alias4=inet 127.0.0.254 netmask 0x

Then note that alias4 would not be added since the search
would stop with the missing `alias3'' entry.  Due to this
difficult to manage behavior, the
ifconfig_interface_aliasn form is deprecated.


I can't see any further hints by what it has been deprecated, and the
net is full of examples using this mechanism. Can someone point me to
whereever some equivalent functionality has been implemented? Should I
file a PR, or am I just being blind? (Machine is running 9.1-RC1, maybe
it has been deprecated after 8)


Best regards,

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


Re: Deprecated ifconfig_interface_aliasn

2011-11-06 Thread Moritz Wilhelmy
On Sun, Nov 06, 2011 at 22:46:24 +0100, Moritz Wilhelmy wrote:
 according to the rc.conf(5) manual page, the
 ifconfig_interface_alias_n mechanism has been deprecated:
 
   
   And so on.  For each ifconfig_interface_aliasn entry that
   is found, its contents are passed to ifconfig(8).
   Execution stops at the first unsuccessful access, so if
   something like this is present:
 
   ifconfig_ed0_alias0=inet 127.0.0.251 netmask 0x
   ifconfig_ed0_alias1=inet 127.0.0.252 netmask 0x
   ifconfig_ed0_alias2=inet 127.0.0.253 netmask 0x
   ifconfig_ed0_alias4=inet 127.0.0.254 netmask 0x
 
   Then note that alias4 would not be added since the search
   would stop with the missing `alias3'' entry.  Due to this
   difficult to manage behavior, the
   ifconfig_interface_aliasn form is deprecated.
 
 
 I can't see any further hints by what it has been deprecated, and the
 net is full of examples using this mechanism. Can someone point me to
 whereever some equivalent functionality has been implemented? Should I
 file a PR, or am I just being blind? (Machine is running 9.1-RC1, maybe
 it has been deprecated after 8)

Silly me, I guess that would be ipv4_addrs_interface? It would still
be nice to mention that ipv4_addrs_interface should be used in place
of ifconfig_interface_aliasn, and that they are both entirely
equivalent, I guess.


Best,

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


Re: Deprecated ifconfig_interface_aliasn

2011-11-06 Thread Moritz Wilhelmy
On Sun, Nov 06, 2011 at 23:21:10 +0100, Moritz Wilhelmy wrote:
 Silly me, I guess that would be ipv4_addrs_interface? It would still
 be nice to mention that ipv4_addrs_interface should be used in place
 of ifconfig_interface_aliasn, and that they are both entirely
 equivalent, I guess.

While this looks like a great and comfortable feature, it doesn't look
like there's an equivalent for IPv6. Can someone clarify? Sorry for the
noise or spam, whatever you classify it.

Thanks a lot,

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


Re: Passing additional options to jail(8) via rc.conf

2011-09-20 Thread Moritz Wilhelmy
Hello,

if it really is impossible to pass parameters like ip4=inherit to
jail(8) via the rc.conf mechanism, I consider this a serious limitation.
Can I possibly make this a feature request? :)


Best regards,

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


Re: Passing additional options to jail(8) via rc.conf

2011-09-20 Thread Moritz Wilhelmy
On Tue, Sep 20, 2011 at 12:59:48 +0200, Moritz Wilhelmy wrote:
 if it really is impossible to pass parameters like ip4=inherit to
 jail(8) via the rc.conf mechanism, I consider this a serious limitation.
 Can I possibly make this a feature request? :)

Alright, just for the record, apparently there is a (suspended) PR
(conf/142972) which requests /etc/rc.d/jail to be switched over to new
style jail(8) invocation (with -c/-m parameters), which, unlike
old-style invocation supports passing additional parameters, which has
worked for me in the past, when done by hand. On previous servers, I
ended up putting something in my rc.local, but as already mentioned, I'd
very much prefer the rc.conf-sugar.

This PR was filed about a year ago, and I'm a bit disappointed, because
one of the main reasons for me to pick FreeBSD was the jail support,
which is pretty amazing if you ask me, if only there was a way to start
them *with* parameters... :-(

Please do something. I know freebsd-questions is the wrong list for this
(so I will be posting it to freebsd-jail as well), but my initial post
ended up there. I don't care whether you end up with an /etc/jail.d as
proposed in conf/116416, but IMHO, there should be some *documented*
way, which is officially supported and available on a default
installation of FreeBSD, to start a jail with all parameters advertised
in the manpage.

Please keep me in CC, I am not subscribed to freebsd-jail.


Best regards,

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


Re: Passing additional options to jail(8) via rc.conf

2011-09-20 Thread Moritz Wilhelmy
On Tue, Sep 20, 2011 at 16:54:33 +, Bjoern A. Zeeb wrote:
 On Sep 20, 2011, at 3:21 PM, Moritz Wilhelmy wrote:
 
  Please keep me in CC, I am not subscribed to freebsd-jail.
 
 Which is your problem as the real solution is being discussed there and
 is really looking for more eyes.  Search for Jamie's posts in the list
 archive.

I wasn't subscribed to freebsd-questions either, back in July. I had
some FreeBSDs running before, but I really wasn't reading any mailing
lists. I thought I should ask -questions first, because it is the most
busy one, with all the chatter and noise. Guess I will either patch
jail(8) or do it via rc.local on 8.2 and wait for the release of 9,
which seems to be quite an improvement in general. I'm also not that
actively involved in FreeBSD, and I try not to subscribe too many
mailing lists in general. I thought the PR was the only thing there was,
and google tricked me into believing this. Maybe someone could close the
PR in case this is resolved.
 
My apologies. Thanks to Jamie for adding support for the config file.

 
Best regards,

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


Passing additional options to jail(8) via rc.conf

2011-09-19 Thread Moritz Wilhelmy
Hello,

let's say I want to pass additional options like ip4=inherit to my jails
configured via /etc/rc.conf. How do I get this to work?
Apparently, setting jail_www_flags=-l -U root ip4=inherit is the wrong
order, because these parameters are expected after -c, which is
apparently inserted by the rc-script *after* the flags passed via the
variable.

Has anyone else had this problem, and is there a way to solve it rather
than setting the jail up things by hand in rc.local? I'd prefer using
the sugar rc.conf offers me. Maybe there is another, undocumented
variable for this kind of options? Am I overlooking something?


Thanks in advance,

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


weekly_status_pkg_enable and vulnerabilities

2011-09-05 Thread Moritz Wilhelmy
Hi,

is there a way to show only ports where security advisories have been
posted in the weekly output, similar to enabling
weekly_status_pkg_enable in periodic.conf?

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


Re: weekly_status_pkg_enable and vulnerabilities

2011-09-05 Thread Moritz Wilhelmy
Hi,

On Mon, Sep 05, 2011 at 21:09:48 +0100, Matthew Seaman wrote:
 On 05/09/2011 20:25, Moritz Wilhelmy wrote:
  is there a way to show only ports where security advisories have been
  posted in the weekly output, similar to enabling
  weekly_status_pkg_enable in periodic.conf?
 
 Not specifically weekly.  There's a *daily* security check on installed
 ports if you install ports-mgmt/portaudit
 
 If you really want a weekly rather than a daily report, you could adapt
 ${LOCALBASE}/etc/periodic/security/410.portaudit into
 ${LOCALBASE}/etc/periodic/weekly/410.portaudit pretty easily.

Thanks, Matthew, portaudit is what I was looking for.

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


Mistake in FreeBSD manual

2006-03-20 Thread Grant Moritz

   Hey,
   In the FreeBSD manual
   ([1]http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-
   inetd.html) under the section 25.2.5 Security at the end of the
   first paragraph there is an error in grammar.
   Some daemons, such as fingerd, may not be desired at all because they
   information that may be useful to an attacker.
   Doesn't make sense to me just thought I would pass along the
   observation you guys.
   Thanks,
   SectorX4

References

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


USB mice don't work

2005-11-06 Thread Moritz Lipfert

Hi,

on every start of FreeBSD 6.0-stable amd64 the kernel reports device 
problem (set_addr_failed)... and my USB mice don't work. I've tested a 
Logitech MX518 and a Microsoft IntelliMouse Explorer 3.0. The LEDs of 
the optical sensors are not working. The USB-daemon is started and I 
already tried to configure the mice with sysinstall. Nothing helped.


How can I solve this problem? Any ideas?

System specs:
AMD Athlon64 3500+
2x 512MB Corsair Memory
MSI K8N Neo2 Platinum (nVidia nForce3)
ATi Radeon X800XT-PE

In Linux both mice work flawlessly!


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


Re: USB mice don't work

2005-11-06 Thread Moritz Lipfert

Daniel Molina Wegener wrote:

   On Sun, Nov 06, 2005 at 05:27:51PM +0100,
   Moritz Lipfert wrote:

  

Hi,

on every start of FreeBSD 6.0-stable amd64 the kernel reports
device problem (set_addr_failed)... and my USB mice
don't work. I've tested a Logitech MX518 and a Microsoft
IntelliMouse Explorer 3.0. The LEDs of the optical sensors are
not working. The USB-daemon is started and I already tried to
configure the mice with sysinstall. Nothing helped.

How can I solve this problem? Any ideas?



  If you use moused, try de auto in the mouse type parameter.
  From the moused(8) manual page:
  --- BEGIN QUOTE --
  For the USB mouse, the protocol must be auto.  No other protocol
  will work with the USB mouse.
  --- END QUOTE ---

  Also, use the same moused in the X Windows System.

  

System specs:
AMD Athlon64 3500+
2x 512MB Corsair Memory
MSI K8N Neo2 Platinum (nVidia nForce3)
ATi Radeon X800XT-PE

In Linux both mice work flawlessly!

Best regards,
MorLipf
[SNIP]



Regards
  
At the moment there are no moused lines in my rc.conf. Should I add 
these configuration lines?

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


Seperate fields in File

2003-06-30 Thread Moritz Fromwald
Hello all,
I have a text file, which contains several data sets, separated 
by a particular string (---.*=.*--)
I need to write a script, which processes each of these data sets
Can anyone push me in the right direction?

Is it possible to simplify the following command in several lines
run=`cat HI*.PM | grep -e '0,0' | grep 'Massenmails' | awk -F ',' 
{'print $3'} | awk -F ':' {'print $3'} | awk -F '\' {'print 
$1'}`

TIA  greez 

moritz fromwald

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


Re: Seperate fields in File

2003-06-30 Thread Moritz Fromwald
Hello,
 If you know how to write the script, then you would also know how to put
 it in a file too... 
 
snip homework, script,
Well, ain't no homework, just a newbie to script writing, thats all!

So is there a way to split the content of a file up into an array?

TIA  regards

Moritz Fromwald

-- 
+++ GMX - Mail, Messaging  more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!

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


Secure File Acces

2003-06-14 Thread Moritz Fromwald
Hello
I have the following Setup:
ADSL Modem
|
PPPoE Tunnel, possibly up to 8 IP available
|
FreeBSD 4.4 NAT, ipfw deny any to ip of tun0
|   ipfw allow ssh from admin-IP to ip of tun1
|
SAMBA Server on FreeBSD 4.7

I would like to create a secure access from the Internet to the 
data on the file server using vpn. 
Are there more secure solutions?
Which ports will I need?
How to tunnel through the NAT-Gateway?

TIA  

Regards

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


Re: Alternate websites

2003-06-09 Thread Moritz Fromwald


From:   Ian Barnes [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date sent:  Mon, 9 Jun 2003 20:42:15 +0200
Subject:Alternate websites

 Hi,
 
 I have an idea. I dont know if it is possible, but here goes.
 
 First my server layout.
 
 Server 1
 ---
 * Primary DNS
 * Mail
 * Web Server
 
 Server 2
 ---
 * Secondary DNS
 
 
 Right, what I would like is that if server one goes down, it will
 redirect web trafic to Server 2, displaying a This site is
 temporarily offline page.  Is this possible, and could someone help
 me to get it right. And could Server 2 display an error page according
 to the specific website that the user is visiting ?
Sure it is, look at mod_backhand for apache 
(http://www.backhand.org/mod_backhand/)
pound (front webserver)
Pen (TCP Balancing) (http://siag.nu/pen/)

 
 Thanks for the help.
 
 Ian Barnes

Regards 
moritz fromwald

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


RE: Alternate websites

2003-06-09 Thread Moritz Fromwald


From:   Ian Barnes [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Copies to:  [EMAIL PROTECTED]
Subject:RE: Alternate websites
Date sent:  Mon, 9 Jun 2003 21:58:05 +0200

  From:   Ian Barnes [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Date sent:  Mon, 9 Jun 2003 20:42:15 +0200
  Subject:Alternate websites
 
   Hi,
  
   I have an idea. I dont know if it is possible, but here goes.
  
   First my server layout.
  
   Server 1
   ---
   * Primary DNS
   * Mail
   * Web Server
  
   Server 2
   ---
   * Secondary DNS
  
  
   Right, what I would like is that if server one goes down, it will
   redirect web trafic to Server 2, displaying a This site is
   temporarily offline page.  Is this possible, and could someone
   help me to get it right. And could Server 2 display an error page
   according to the specific website that the user is visiting ?
  Sure it is, look at mod_backhand for apache
  (http://www.backhand.org/mod_backhand/)
  pound (front webserver)
  Pen (TCP Balancing) (http://siag.nu/pen/)
 
  
   Thanks for the help.
  
   Ian Barnes
 
  Regards
  moritz fromwald

 Hi,
 
 thanks for the reply. I dont think i was clear enough in my previous
 description, sorry bout that.
 
 What i would like is not load balancing, but that when the main server
 goes down (and only then), does it forward to an error page on the
 secondary server, until the main server has come back up again.
 
 Thanks for the help.
 
 Ian
 
Hi,
Well, at least pound is able to have a heartbeat function, have a 
closer look!
greez
moritz fromwald
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: set of ethernet adress on boot

2003-06-07 Thread Moritz Fromwald
 +-- Moritz Fromwald [freebsd] [06-06-03 20:32 +0200]:
 | Hello
 | Is it possible to set the ethernet adress automatically at boot time
 before | dhclient attempts to contact a DHCP? | thx  regards | |
 moritz fromwald
  yes. btw, why r u running dhclient if u r using static
  ip?
 
  Regards,
  Shantanu
 

Hello,
Well, I need to set the MAC adress before I contact 
the DHCP!
regards
moe
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


set of ethernet adress on boot

2003-06-06 Thread Moritz Fromwald
Hello
Is it possible to set the ethernet adress automatically at boot time before 
dhclient attempts to contact a DHCP?
thx  regards

moritz fromwald

-- 
+++ GMX - Mail, Messaging  more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!

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


Amanda support for Travan 40 Streamer

2003-04-05 Thread Moritz Fromwald
Hello,
Is there support for IDE Streamers in FreeBSD and Amanda?
To be precise: I have a Seagate Travan 40 Streamer and I'd like 
to do a daily full backup of userdata (a whole partition). I run 
Free BSD 4.7 on Asus P4B-533 Mainboard, with 2 GHz and 60 GB IDE 
RAID-1 System. 

Thx a lot

Regards 

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


newbie: access cisco router

2003-04-04 Thread Moritz Fromwald
Hello,
What is the best methode to access a cisco router via a console 
cable on freebsd ,like hyperterminal in windoze?
are there config tools for cisco routers under freebsd?

thx  regards

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


supports costs

2003-03-31 Thread Moritz Fromwald
hello
Does anyone know good information resources on long-
term support costs for freebsd or a comparison with 
coresponding M$ Products?

thx  regards

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


Re: supports costs

2003-03-31 Thread Moritz Fromwald
Wow, that was quick
Wow, that was quick,
Well, as a school project, I had to redesign a SME companys 
network under licence-free and licencing aspects.
The firm needs support for 10 workstations, ie file sharing, a 
backup solution, internet and email access. My partner and I 
implemented a Freebsd 4.7 file server with samba 2.2.8a, running 
on a P4 2000MHz 512DDR RRAM  machine with 2*60 GB IDE HDD with a 
RAID 1, performed by a hardware controller. 
The system needs to be flexible for future adoption like 
webserving and its own SMTP/POP3 and is compared with a Windows 
2000 standard server, as far as licence, support and downtime 
costs are concerned.

Thx a lot for your help
greez 
moritz fromwald

Datum:  Mon, 31 Mar 2003 11:25:30 -0500
Von:Chuck Swiger [EMAIL PROTECTED]
Organisation:   The Courts of Chaos
An: [EMAIL PROTECTED]
Kopie an:   Moritz Fromwald [EMAIL PROTECTED]
Betreff:Re: supports costs

 Moritz Fromwald wrote:
  Does anyone know good information resources on long-
  term support costs for freebsd or a comparison with 
  coresponding M$ Products?
 
 Sure.  Check out SANS.org, salary.com, or anything else that lets you 
 compare the annual salary for FreeBSD admins versus M$ admins.  Then add 
 the license costs of the M$ products in question, adjust by a fudge 
 factor representing the difference in relative productivity, management 
 whims, and all of the other unmeasureable factors unique to your situation.
 
 If you tell us what you're doing, how many users, and so forth, a bunch 
 of people here can probably reel off rough estimates that will be in the 
   right ballpark, anyway.
 
 -Chuck
 


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


Re: Version of Apache to install from /usr/ports

2003-03-31 Thread Moritz Fromwald
HI
PHP4 can be found under /usr/ports/www/mod_php4, have a look at 
www.php.net section documentation
mysql is in /usr/ports/databases/mysql see www.mysql.com for 
documentation
greez moe



Von:Colin J. Raven [EMAIL PROTECTED]
An: [EMAIL PROTECTED]
Datum:  Mon, 31 Mar 2003 21:28:20 +0200
Betreff:Version of Apache to install from /usr/ports

 Hi all!
 FINALLY got FreeBSD installed and playing nice. 
 Now to set some stuff up. I could use some help here if someone could
 spare a few minutes
 1. Apache: what version should I install from /usr/ports...apache2?
 2. How would I install apache so that it recognizes php (need to learn
 php rather badly)
 3. Speaking of php...how do I install IT on the server? Is it in ports
 someplace? I don't see it, but maybe I'm being dumb. 
 4. Ditto MySQL...how/where?
 
 Regards ( TIA!!),
 -Colin
 --
 Colin J. Raven 
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


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


Maximal (sensible) size of a partition

2002-11-02 Thread Moritz
I want to add a new 20 GB hard drive to my router/printer 
server/fileserver. Does it make sense to make a big 20 GB partition and if 
not, why?
Oh, and do you think it makes sense at all to integrate a 20 GB hard drive 
into a P133 which shall share these 20 GB to three other machines and is 
performing routing at the same time, or is this machine too slow for this 
task?
Thank you in advance!
  - Moritz

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



Problem with make installworld

2002-10-16 Thread Moritz

I got a problem with make installworld upgrading from 4.4 Release to 4.6.2 
Release. make buildworld and compiling a new kernel worked fine, but 
installing world doesn't work. I always get the following error:

install -c -o root  -g wheel -m 444   /usr/src/share/termcap/map3270  
/usr/share/misc/map3270
TERM=dumb ex - /usr/src/share/termcap/termcap.src  
/usr/src/share/termcap/reorder
ex: not found
*** Error code 127

Stop in /usr/src/share/termcap.
*** Error code 1

[ ... ]

Would it help if I'd compile ex manually?

- Moritz

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