Re: How to use dig with an ip list

2008-08-19 Thread Wayne Sierke
On Mon, 2008-08-18 at 22:52 -0500, Paul Schmehl wrote:
 --On August 18, 2008 10:13:54 PM -0500 Jeffrey Goldberg 
 [EMAIL PROTECTED] wrote:
 
  On Aug 18, 2008, at 9:03 PM, Paul Schmehl wrote:
 
  I know I'm missing the obvious.  I want to use an IP list to
  generate an ip+hostname list.  IOW, I want to go from this:
 
  x.x.x.x
  y.y.y.y
 
  to this;
 
  x.x.x.x foo.domain.tld
  y.y..y.y bar.domain.tld
 
  What's the best/easiest way to do this?
 
  Easiest:
 
  $ for i in `cat ip-list`; do
echo -n $i 
dig +short -x $i
done
 
 
 Don't know why I didn't think of that.
 
 I ended up using this:
 for ip in `cat public_linux_ips`; do echo ${ip} `dig +short -x ${ip}`; 
 done  public_linux_ips_resolved
 
 Which gave me the output I wanted.  Thanks for the pointer.
 
Easiestest?

# host www.freebsd.org
www.freebsd.org has address 69.147.83.33
www.freebsd.org has IPv6 address 2001:4f8:fff6::21
www.freebsd.org mail is handled by 0 .
# host ftp.freebsd.org
ftp.freebsd.org has address 62.243.72.50
ftp.freebsd.org has address 204.152.184.73
ftp.freebsd.org has IPv6 address 2001:6c8:6:4::7
ftp.freebsd.org has IPv6 address 2001:4f8:0:2::e
# cat  freebsd.ips
69.147.83.33
62.243.72.50
204.152.184.73
# host 69.147.83.33
33.83.147.69.in-addr.arpa domain name pointer www.freebsd.org.
# awk '{ip=$1; host ip | getline; print ip,$NF }' freebsd.ips
69.147.83.33 www.freebsd.org.
62.243.72.50 ftp.beastie.tdk.net.
204.152.184.73 freebsd.isc.org.

s/host/dig/ to taste

The middle command - host ip | getline; - executes the 'cmd' part on
the left side of the pipe, getline parses the output, hence $NF now
gives the last field in the output from host.


Wayne
(You don't know the power of the awk side!)


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


Welcome! 2 tips to get started...

2008-08-19 Thread Refriendz
* * *
To ensure that Refriendz emails reach your inbox, please add our From address 
([EMAIL PROTECTED]) to your email Address Book or Safe List.
* * *


Welcome to Refriendz naveen! 


Here are two tips for you to get started:
=

1. Find Your Friendz:

*Go to Browse or Search page to find friendz on Refriendz
http://www.refriendz.com/?do=Login.User[EMAIL 
PROTECTED]password=d85689b63a7e88906bb53e2381540d9fredPage=FriendzMap.ConnectedMembers
 

*Invite all your other friendz to join you!
http://www.refriendz.com/?do=Login.User[EMAIL 
PROTECTED]password=d85689b63a7e88906bb53e2381540d9fredPage=MyCommunity.Invite


2. Build Your Profile:

*Go to My Profile page and upload UNLIMITED PHOTOS
http://www.refriendz.com/?do=Login.User[EMAIL 
PROTECTED]password=d85689b63a7e88906bb53e2381540d9fredPage=FriendzMap.MyProfile

*Fill out your About Me and Interests
http://www.refriendz.com/?do=Login.User[EMAIL 
PROTECTED]password=d85689b63a7e88906bb53e2381540d9fredPage=MyAccount.Profile  
 

(If these links don't work, please copy and paste them into your browser.)



-Your friendz at Refriendz 

 
 
 
 
 
 
* * *
Unsubscribe: If you do not wish to receive Refriendz emails, visit:
http://www.refriendz.com/?do=Login.User[EMAIL 
PROTECTED]password=d85689b63a7e88906bb53e2381540d9fredPage=MyAccount.Notifications

Please do not reply directly to this email.  This mailbox is not monitored and 
you will not receive a response.

Refriendz Limited, PO BOX 1184, Luton, Bedfordshire, LU1 9AT, UK.


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


Re: Migrating to gmirrored RAID1

2008-08-19 Thread Henry Karpatskij

Thanks a lot folks,

I managed to get the server working, only one file could not be read  
from the bad disk, but it wasn't required. It took hours to do it and  
it certainly will remind me next time I choose to be lazy and install  
a server to non-mirrored disk. :-)


--
Henry Karpatskij
http://ripe.net/fcgi-bin/whois?searchtext=HK1203-RIPE

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


Re: PERL plumbers?

2008-08-19 Thread Len Conrad


--On Monday, August 18, 2008 13:23:43 -0500 Len Conrad 
[EMAIL PROTECTED] wrote:



fbsd 4.11

perl 5.8.8 installed by pkg_add



sorry, perl 5.8.5


postgrey 1.32

use.perl port

This machine has been running great for a week.  Monday morning, postgrey was
stoppedand wouldn't start.

syslog:

Aug 18 14:20:35 mx1 postgrey[73387]: FATAL: ERROR: can't create DB
environment: No such file or directory (dbdir: /var/db/postgrey uid/gid:
1003,1003)

user:group 1003:1003 is postgrey:postgrey

but:

ll /var/db/postgrey/
total 1078288
-rw---  1 postgrey  postgrey  -   10485684 Aug  8 01:06 log.01
-rw---  1 postgrey  postgrey  - 1082490880 Aug 17 08:36 postgrey.db
-rw---  1 postgrey  postgrey  -  0 Dec  8  2006 postgrey.lock
-rw---  1 postgrey  postgrey  -   10862592 Aug 17 08:36
postgrey_clients.db

It seems that some PERL path has gone wrong

strace postgrey --inet=10023

.. show a lot of file open failures.

open(/usr/local/lib/perl5/site_perl/5.8.5/mach/Sys/Syslog.pm, O_RDONLY) =
-1 ENOENT (No such file or directory)

mx1# find /usr/local -iname Syslog.pm
/usr/local/lib/perl5/5.8.2/mach/Sys/Syslog.pm
/usr/local/lib/perl5/site_perl/5.8.2/mach/Unix/Syslog.pm
/usr/local/lib/perl5/5.8.5/mach/Sys/Syslog.pm

mx1# find /usr/local -iname FileHandle.pm
/usr/local/lib/perl5/5.8.2/FileHandle.pm
/usr/local/lib/perl5/5.8.5/FileHandle.pm


For an earlier, similar problem on this machine, we were advised to make this
link,

mx1# ll /usr/bin/perl
lrwxr-xr-x  1 root  wheel  - 19 Aug 18 06:14 /usr/bin/perl@ -
/usr/local/bin/perl


Whoever gave you this advice was wrong.  A symlink should already 
exist for perl:

# ls -lsa /usr/bin/perl
0 lrwxr-xr-x  1 root  wheel  24 Feb 20 12:23 /usr/bin/perl - 
/usr/local/bin/perl5.8.8


Note that it doesn't point to /usr/local/bin/perl


How do I tell PERL and PERL apps where to find the stuff?


@INC


?

I deleted perl5.8.2 and 5.5 pkgs, the re-installed 5.8.5 pkg



Try running the perl-after-upgrade script:
# which perl-after-upgrade
/usr/local/bin/perl-after-upgrade


not delivered in the perl5.8.5 pkg, but I found a copy.  gives no errors:

Fixed 28 packages (316 files moved, 0 files modified)
Skipped 41 packages

still no success in getting postgrey to start.

in fact, PERL does finally find files, just after looking in about 10 
directories, from strace:


stat(/usr/local/lib/perl5/site_perl/5.8.5/mach/File/Spec.pmc, 
0xbfbff090) = -1 ENOENT (No such file or directory)
open(/usr/local/lib/perl5/site_perl/5.8.5/mach/File/Spec.pm, 
O_RDONLY) = -1 ENOENT (No such file or directory)
stat(/usr/local/lib/perl5/site_perl/5.8.5/File/Spec.pmc, 
0xbfbff090) = -1 ENOENT (No such file or directory)
open(/usr/local/lib/perl5/site_perl/5.8.5/File/Spec.pm, O_RDONLY) = 
-1 ENOENT (No such file or directory)
stat(/usr/local/lib/perl5/site_perl/File/Spec.pmc, 0xbfbff090) = -1 
ENOENT (No such file or directory)
open(/usr/local/lib/perl5/site_perl/File/Spec.pm, O_RDONLY) = -1 
ENOENT (No such file or directory)
stat(/usr/local/lib/perl5/5.8.5/BSDPAN/File/Spec.pmc, 0xbfbff090) = 
-1 ENOENT (No such file or directory)
open(/usr/local/lib/perl5/5.8.5/BSDPAN/File/Spec.pm, O_RDONLY) = -1 
ENOENT (No such file or directory)
stat(/usr/local/lib/perl5/5.8.5/mach/File/Spec.pmc, 0xbfbff090) = 
-1 ENOENT (No such file or directory)
open(/usr/local/lib/perl5/5.8.5/mach/File/Spec.pm, O_RDONLY) = -1 
ENOENT (No such file or directory)
stat(/usr/local/lib/perl5/5.8.5/File/Spec.pmc, 0xbfbff090) = -1 
ENOENT (No such file or directory)

open(/usr/local/lib/perl5/5.8.5/File/Spec.pm, O_RDONLY) = 5

then:


strace -o /var/tmp/strace-pg.txt /usr/local/bin/postgrey --inet=10023 
--dbdir=/var/db/postgrey --
user=postgrey --group=postgrey 
--whitelist-clients=/etc/postfix/mta_clients_pg_except 
--whitelist-recipients=/etc/postfix/to_recipients_pg_except


2008/08/19-04:50:37 postgrey (type Net::Server::Multiplex) starting! pid(29439)
Binding to TCP port 10023 on host localhost
Setting gid to 1003 1003
Setting uid to 1003
ERROR: can't create DB environment: No such file or directory (dbdir: 
/var/db/postgrey uid/gid: 1003,1003)


ll /var/db/postgrey/*
-rw---  1 postgrey  postgrey  -   10485684 Aug  8 01:06 
/var/db/postgrey/log.01
-rw---  1 postgrey  postgrey  - 1082490880 Aug 17 08:36 
/var/db/postgrey/postgrey.db
-rw---  1 postgrey  postgrey  -  0 Dec  8  2006 
/var/db/postgrey/postgrey.lock
-rw---  1 postgrey  postgrey  -   10862592 Aug 17 08:36 
/var/db/postgrey/postgrey_clients.db




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


Kopete, kplayer, kdelibs etc

2008-08-19 Thread Warren Liddell
I know there ar eknown issues about kopete and it being able to 
connect to MSN  Yahoo, im runnind KDE4 on AMD64 FreeBSD7.0-STABLE .. 
cvsupd today so all ports  SRC are upto date portupgrade done and 
yet kopete still refuses to connect to MSN or yahoo .. is the bug 
still on going or ?


Since upgrading to KDE4 as well, kplayer refuses to run and i have 
had to goto VLC player to be able to watch vide files ... any reason 
why this would refuse to load ?


When trying to re-compile things like Xchat and other various files 
that seem to be broken, i run into troubles with an error 
saying/mentioning kdelibs and QT .. excat error i couldnt say as i 
have now also lost complete internet access on the machine even 
though still able to communicate with the router and all other 
machines ironically running windows, seem to be running aok, so im 
trying to kill multiple birds using memory and booting from windows 
to FreeBSD etc


At this point im frustrated enough to just fdisk the machine, and 
isntall everything from scratch with 7.0-STABLE  KDE4 .. so i ask 
for a lil assistance plz so as i can avoid having to do this drastic measure.



--
No virus found in this outgoing message.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 270.6.5/1619 - Release Date: 18/08/2008 5:39 PM



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


Streamripper 1.63.5 / FreeBSD7 - No artitst / track saved?

2008-08-19 Thread custompc
Hi, I really miss this feature of streamripper and have posted on the SR
forum relating to the problem.

In the meantime is there any trickery to get mplayer to dump individual
mp3 files rather than one long file?

Thanks!

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


Re: Kopete, kplayer, kdelibs etc

2008-08-19 Thread Manolis Kiagias

Warren Liddell wrote:
I know there ar eknown issues about kopete and it being able to 
connect to MSN  Yahoo, im runnind KDE4 on AMD64 FreeBSD7.0-STABLE .. 
cvsupd today so all ports  SRC are upto date portupgrade done and yet 
kopete still refuses to connect to MSN or yahoo .. is the bug still on 
going or ?


Since upgrading to KDE4 as well, kplayer refuses to run and i have had 
to goto VLC player to be able to watch vide files ... any reason why 
this would refuse to load ?


When trying to re-compile things like Xchat and other various files 
that seem to be broken, i run into troubles with an error 
saying/mentioning kdelibs and QT .. excat error i couldnt say as i 
have now also lost complete internet access on the machine even though 
still able to communicate with the router and all other machines 
ironically running windows, seem to be running aok, so im trying to 
kill multiple birds using memory and booting from windows to FreeBSD etc


At this point im frustrated enough to just fdisk the machine, and 
isntall everything from scratch with 7.0-STABLE  KDE4 .. so i ask for 
a lil assistance plz so as i can avoid having to do this drastic measure.





Maybe a long shot, but do you also have KDE3.5x installed on this machine?
While KDE4 and KDE3.5x can coexist, you have to make sure that 
/usr/local/kde4/bin is in your path *before* /usr/local/bin.  Otherwise 
you may get to run a mixed system with some files coming from kde4 and 
others from 3.5, causing very weird problems (which I faced recently).

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


Re: Kopete, kplayer, kdelibs etc

2008-08-19 Thread Warren Liddell



Maybe a long shot, but do you also have KDE3.5x installed on this machine?
While KDE4 and KDE3.5x can coexist, you have to make sure that 
/usr/local/kde4/bin is in your path *before* 
/usr/local/bin.  Otherwise you may get to run a mixed system with 
some files coming from kde4 and others from 3.5, causing very weird 
problems (which I faced recently).


Yes i do have both installed .. perhaps i should de-install 3 as i 
dont require it. i have also done a portupgrade -afD .. just a matter 
of seeing what other problems may occur after rmeoving 3 from the system. 



--
No virus found in this outgoing message.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 270.6.5/1619 - Release Date: 18/08/2008 5:39 PM



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


ALTQ and services

2008-08-19 Thread Zbigniew Szalbot

Hello,

I am trying to find out how to specify services in the below scenario:

ext_if=kue0

altq on $­ext_if priq bandwidth 1024Kb queue { q_pri, q_def }
queue q_pri priority 7
queue q_def priority 1 priq(default)

pass out on $­ext_if proto tcp from $­ext_if to any flags S/SA
 keep state queue (q_def, q_pri)

pass in  on $­ext_if proto tcp from any to $­ext_if flags S/SA
 keep state queue (q_def, q_pri)


I grabbed this example off a web page but would anyone help me
understand how I can define queue priority for ssh, smtp, httpd and ftp?

I understand that q_pri has a priority over q_def, but where do I define
what's inside them? Many, many thanks!

--
Zbigniew Szalbot
www.LCWords.com




smime.p7s
Description: S/MIME Cryptographic Signature


Still, no-joy with kdm......

2008-08-19 Thread Michel Talon

Gary Kline wrote:
   Im looking at the kdmrc file but don't see anything wrong.
   Any ideas where to llook next?

Hello,

i had recently a problem with kdm myself. Running kdm-bin under ktrace
i discovered it was a locking problem. Something changed about locks
in FreeBSD-Stable, and this killed some programs (tin, mutt, kdm, etc.)
who do locking. I recompiled tin,mutt, etc. but i did not want to
recompile kdebase, so i took a kdebase package from FreBSD-7.0-RELEASE
and extracted the kdm-bin out of here. It works on my FreeBSD-STABLE
box without problem.


-- 

Michel TALON

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


Re: ALTQ and services

2008-08-19 Thread Riaan Kruger
2008/8/19 Zbigniew Szalbot [EMAIL PROTECTED]

 Hello,

 I am trying to find out how to specify services in the below scenario:

 ext_if=kue0

 altq on $­ext_if priq bandwidth 1024Kb queue { q_pri, q_def }
 queue q_pri priority 7
 queue q_def priority 1 priq(default)

 pass out on $­ext_if proto tcp from $­ext_if to any flags S/SA
 keep state queue (q_def, q_pri)

 pass in  on $­ext_if proto tcp from any to $­ext_if flags S/SA
 keep state queue (q_def, q_pri)


 I grabbed this example off a web page but would anyone help me
 understand how I can define queue priority for ssh, smtp, httpd and ftp?

 I understand that q_pri has a priority over q_def, but where do I define
 what's inside them? Many, many thanks!

 --
 Zbigniew Szalbot
 www.LCWords.com

See http://www.openbsd.org/faq/pf/queueing.html or
http://home.nuug.no/~peter/pf/en/altqintro.html

Hope it helps

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


Re: Streamripper 1.63.5 / FreeBSD7 - No artitst / track saved?

2008-08-19 Thread David Kelly


On Aug 19, 2008, at 3:25 AM, [EMAIL PROTECTED] wrote:

Hi, I really miss this feature of streamripper and have posted on  
the SR

forum relating to the problem.

In the meantime is there any trickery to get mplayer to dump  
individual

mp3 files rather than one long file?


I submitted a PR 6 months or a year ago. Somebody has to want the  
feature fixed and have the time and skills to debug before it will  
happen.


I haven't had the time. I did tcpdump the data stream enough to see  
the data is present. Found a version for MacOS X that the feature  
worked, which made fixing the FreeBSD version even less of a priority  
for me.


--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.



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


Re: IPsec with NAT-T in transport mode dropping all packets?

2008-08-19 Thread David Murray

Hello again all,

On Thu 7/8/08 1:01 pm, David Murray wrote:

I'm having a bit of trouble getting IPsec working in transport mode 
with NAT-T.


Briefly, the background is that I'm trying to configure a FreeBSD box 
to provide to remote Windows clients with VPN access to the network it 
sits on.  To that end, I've been trying to construct a solution with 
the following:


 1)  FreeBSD (RELENG_7_0), kernel built with options IPSEC and 
IPSEC_NAT_T, and patched with
 2)  the NAT-T patch at 
http://vanhu.free.fr/FreeBSD/patch-natt-freebsd7-2008-03-11.diff,

 3)  ipsec-tools (0.7.0) for racoon for key exchange, and
 4)  mpd (5.1) for L2TP.

I have two security policy entries in ipsec.conf, intended to encrypt 
L2TP traffic:


 spdadd 82.16.99.99[1701] 0.0.0.0/0 udp -P out ipsec 
esp/transport//require;
 spdadd 0.0.0.0/0 82.16.99.99[1701] udp -P in  ipsec 
esp/transport//require;


The tricky key negotiation all seems to be working; when I initiate a 
connection from a Windows client, racoon negotiates security 
associations (I'm using certificates):


 racoon: INFO: IPsec-SA established: ESP/Transport 
195.248.102.183[4500]-82.16.99.99[4500] spi=73448711(0x460bd07)
 racoon: INFO: IPsec-SA established: ESP/Transport 
82.16.99.99[4500]-195.248.102.183[4500] spi=2159874738(0x80bd12b2)


However, mpd's log doesn't show any evidence of a single packet 
arriving (and the client eventually gives up).


No takers, so I guess this is either a stupid question or a tricky 
question!  Perhaps I should have asked over on freebsd-net@, but I 
presumed to ask here first, since I've got no reason to suspect anything 
other than operator error at the moment.


Perhaps I could try a simpler question: has anyone got a L2TP/IPSec 
roadwarrior-style VPN working where the clients (initiators) are behind NAT?


Since my first post, I've tried initiating a connection from a client 
directly connected to the network I'm trying to VPN in to (so pointless, 
but a way of testing without NAT) and that works just fine, so I can 
provide differences between the logs of a failed and working connection.


Thanks for any hints!


--
David Murray


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


getting pam to put the ip address in the log

2008-08-19 Thread Michael Grant
Recently I have been seeing lots of connections to my sshd trying to guess
passwords.  One thing I noticed was the hostname reported in the auth.log
without reverse dns.  sshd never puts in the ip address, this is all I see:

sshd[14450]: error: PAM: authentication error for illegal user access from
host1.xxx.br

Is it possible to get pam or sshd or whatever is ultimatly logging this to
put the ip address in the log so I can see where this is really coming from?

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


Re: getting pam to put the ip address in the log

2008-08-19 Thread Michael Grant
On Tue, Aug 19, 2008 at 2:02 PM, Michael Grant [EMAIL PROTECTED] wrote:

 Recently I have been seeing lots of connections to my sshd trying to guess
 passwords.  One thing I noticed was the hostname reported in the auth.log
 without reverse dns.  sshd never puts in the ip address, this is all I see:

 sshd[14450]: error: PAM: authentication error for illegal user access from
 host1.xxx.br

 Is it possible to get pam or sshd or whatever is ultimatly logging this to
 put the ip address in the log so I can see where this is really coming from?

 Michael Grant


Ths seems to work:

Put this in /etc/ssh/sshd_config:

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


RE: IPsec with NAT-T in transport mode dropping all packets?

2008-08-19 Thread Bob McConnell
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David Murray
Sent: Tuesday, August 19, 2008 7:45 AM
To: freebsd-questions@freebsd.org
Subject: Re: IPsec with NAT-T in transport mode dropping all packets?

Hello again all,

On Thu 7/8/08 1:01 pm, David Murray wrote:

 I'm having a bit of trouble getting IPsec working in transport mode 
 with NAT-T.

 Briefly, the background is that I'm trying to configure a FreeBSD box 
 to provide to remote Windows clients with VPN access to the network it

 sits on.  To that end, I've been trying to construct a solution with 
 the following:

  1)  FreeBSD (RELENG_7_0), kernel built with options IPSEC and 
 IPSEC_NAT_T, and patched with
  2)  the NAT-T patch at 
 http://vanhu.free.fr/FreeBSD/patch-natt-freebsd7-2008-03-11.diff,
  3)  ipsec-tools (0.7.0) for racoon for key exchange, and
  4)  mpd (5.1) for L2TP.

 I have two security policy entries in ipsec.conf, intended to encrypt 
 L2TP traffic:

  spdadd 82.16.99.99[1701] 0.0.0.0/0 udp -P out ipsec 
 esp/transport//require;
  spdadd 0.0.0.0/0 82.16.99.99[1701] udp -P in  ipsec 
 esp/transport//require;

 The tricky key negotiation all seems to be working; when I initiate a 
 connection from a Windows client, racoon negotiates security 
 associations (I'm using certificates):

  racoon: INFO: IPsec-SA established: ESP/Transport 
 195.248.102.183[4500]-82.16.99.99[4500] spi=73448711(0x460bd07)
  racoon: INFO: IPsec-SA established: ESP/Transport 
 82.16.99.99[4500]-195.248.102.183[4500] spi=2159874738(0x80bd12b2)

 However, mpd's log doesn't show any evidence of a single packet 
 arriving (and the client eventually gives up).

No takers, so I guess this is either a stupid question or a tricky 
question!  Perhaps I should have asked over on freebsd-net@, but I 
presumed to ask here first, since I've got no reason to suspect anything

other than operator error at the moment.

Perhaps I could try a simpler question: has anyone got a L2TP/IPSec 
roadwarrior-style VPN working where the clients (initiators) are behind
NAT?

Since my first post, I've tried initiating a connection from a client 
directly connected to the network I'm trying to VPN in to (so pointless,

but a way of testing without NAT) and that works just fine, so I can 
provide differences between the logs of a failed and working connection.

Thanks for any hints!
-End Original Message-

It has been a long time since I looked at IPSEC, but my understanding
was that it was designed so that it could not work through either NAT or
proxy firewalls. Both schemes change header fields that are considered
immutable by IPSEC. So it breaks a checksum.

Wouldn't it be better to set up SSH tunnels or a secure VPN?

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


Re: Best SMTP Gateway Program and Reporting Tools

2008-08-19 Thread John Almberg

On Aug 12, 2008, at 4:22 PM, Josh Kidd wrote:

I just wanted to pose this question to the list on people's  
opinions as

to what the best SMTP Gateway program (ie. Sendmail, Postfix, etc) is
and what the best log analysis tool for that SMTP program is.


I use qmail. Its touted to be very secure, which was my #1 goal.  
Proving that is above my pay grade, but I can say I have had no  
problems, which is a big improvement over my last server which ran  
Linux and sendmail.


It also logs a lot of information about what it's doing, and has a  
bunch of command line tools to help you analyze it.


-- John

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


Re: Best SMTP Gateway Program and Reporting Tools

2008-08-19 Thread Robby Balona

John Almberg wrote:

On Aug 12, 2008, at 4:22 PM, Josh Kidd wrote:


I just wanted to pose this question to the list on people's opinions as
to what the best SMTP Gateway program (ie. Sendmail, Postfix, etc) is
and what the best log analysis tool for that SMTP program is.


I use qmail. Its touted to be very secure, which was my #1 goal. 
Proving that is above my pay grade, but I can say I have had no 
problems, which is a big improvement over my last server which ran 
Linux and sendmail.


It also logs a lot of information about what it's doing, and has a 
bunch of command line tools to help you analyze it.


-- John

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
I love qmail also.. but didn't do well under heavy smtp load in my 
environment. I put qmail +vpopmail + qmailadmin 
+clamav+dovecot+spamassasin + assap +squirrelmail together. Exim is 
great if you can get past the asinine language of the config file. 
Postfix is also ok but never found a good virtual mail interface for it.

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


Re: Best SMTP Gateway Program and Reporting Tools

2008-08-19 Thread Steve Bertrand

Robby Balona wrote:

I love qmail also.. but didn't do well under heavy smtp load in my 
environment. I put qmail +vpopmail + qmailadmin 
+clamav+dovecot+spamassasin + assap +squirrelmail together. 


I use Qmail on almost all of our SMTP servers. On the ones that only 
house a couple hundred email addresses, your setup works flawlessly in 
our environment.


On the boxes with 10k+ email accounts, I do away with all of the 
filtering stuff, and front-end the Qmail/Vpopmail boxes with third party 
appliances.


From what I can tell, it's the filtering processes that are the 
bottleneck under heavy load. Take them out of the equation and load is 
no longer an issue.


Just my .02.

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


Re: Best SMTP Gateway Program and Reporting Tools

2008-08-19 Thread Robby Balona

Steve Bertrand wrote:

Robby Balona wrote:

I love qmail also.. but didn't do well under heavy smtp load in my 
environment. I put qmail +vpopmail + qmailadmin 
+clamav+dovecot+spamassasin + assap +squirrelmail together. 


I use Qmail on almost all of our SMTP servers. On the ones that only 
house a couple hundred email addresses, your setup works flawlessly in 
our environment.


On the boxes with 10k+ email accounts, I do away with all of the 
filtering stuff, and front-end the Qmail/Vpopmail boxes with third 
party appliances.


From what I can tell, it's the filtering processes that are the 
bottleneck under heavy load. Take them out of the equation and load is 
no longer an issue.


Just my .02.

Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
Yep you are right , spamassasin's perl munched up processors and created 
havoc .


___
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 Reliability

2008-08-19 Thread Oliver Fromme
Jason C. Wells wrote:
  I am running FreeBSD 6.3.  I have found that attaching and detaching USB 
  drives to my box is unreliable. Is this the experience of other users?

I guess I've been lucky, because I haven't had much of a
problem with various USB storage devices so far.  I haven't
been on FreeBSD 6.x for long, though; I went straight to
7-current a few months before 7.0 was released, then
followed the 7-stable branch.

The only thing that doesn't work is detaching a device
(whether USB or other) while it is still mounted.  This
is supposed to be fixed in 8-current.  (My personal
impression is that 8-current is quite reliable at the
moment, so if you have a spare machine it might be worth
giving it a try.  Be sure to subscribe to the -current
mailing list so you don't miss any important heads up
messages.)

Another thing worth mentioning is that a new USB stack
is under development by Hans Petter Selasky.  I'm not
sure when it will be committed to 8-current, but I think
it's pretty much ready.  It will certainly fix some of
the problems people are seeing with the old USB stack.

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH  Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

Share your knowledge.  It is a way to achieve immortality. -- The Dalai Lama
___
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 use dig with an ip list

2008-08-19 Thread Jeffrey Goldberg

On Aug 18, 2008, at 10:25 PM, Fraser Tweedale wrote:


On Mon, Aug 18, 2008 at 10:18:07PM -0500, Jeffrey Goldberg wrote:

You'll want to change line four to

 echo $LINE  `dig +short -x $LINE`

for a cleaner output.

The original works fine for me in ash.  Definitely nothing wrong  
with yours

though.  What have I overlooked?


Sorry, I misread what you actually wrote for what I would have written  
(before correction).  What you have is perfectly correct.


Or, in the words of Emily Latela: Nevermind.

Cheers,

-j

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


Re: kde troubles....

2008-08-19 Thread RW
On Mon, 18 Aug 2008 03:57:32 +0200
Polytropon [EMAIL PROTECTED] wrote:


 In the good old times, you could update your applications
 and they ran faster on the same hardware. That's what I've loved
 FreeBSD for. Today, the applications run slower after every
 update, so I have to update my hardware in order to just keep
 the speed?


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


Re: Shell scripts: variable assignment within read loops

2008-08-19 Thread Oliver Fromme
David Wolfskill wrote:
  I am writing a (Bourne) shell script that is intended (among other
  things) to obtain information from a command, such as:
  
  netstat -nibd -f inet
  
  by reading and parsing the output.
  
  However, the obvious (to me) approach of piping the output of the
  command to the standard input of a while read ... statement turns out
  to be not very useful;
  [...]
  Well, that's not *quite* accurate:the assignment is done all right, but
  in the latter case, it appears to be done in a subshell, so by the time
  we get to the echo statement, any variable assignments from within the
  read loop have vanished.

That's correct, as Giorgos has already pointed out.
Most bourne shells execute all parts of a pipe except
the first one in a subshell, so any assignments are
lost.

A common way is to echo things from within the subshell
and capture them through command expansion, like this:

   foo=$(
   something | while read x; do
   whatever
   echo value
   done
   )

That will assign value to the variable foo.  This only
works for single variables, of course.  If you want to
assign to multiple variables, it gets a little more tricky.
One way is to use single assignment like above, and then
split it into several variables on a delimiter character.
The following will split $foo on whitespace and assign
the results to $1, $2, $3 etc., with the count in $#:

   set -- $foo

You can split on any other character by setting the IFS
variable of the shell appropriately.

If you know in advance how many values you'll get, another
possibility is to use a so-called here document:

   read foo1 foo2 foo3 rest end
   $(
   something | while read x; do
   whatever
   echo -n value 
   done
   )
   end

For example, a simple way to get hour, minutes and seconds
into three variables without having to exec date(1) three
times:

   read H M S end
   $( date +%H %M %S )
   end

Or:

   set -- $( date +%H %M %S )
   H=$1
   M=$2
   S=$3

It gets more complicated if you need to get the exit code
of some parts of the pipe except the last one.  You didn't
ask for that, though.  :-)

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH  Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

'Instead of asking why a piece of software is using 1970s technology,
start asking why software is ignoring 30 years of accumulated wisdom.'
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Auto Mount USB

2008-08-19 Thread Lowell Gilbert
Brian Miller [EMAIL PROTECTED] writes:

 Not a big deal. I will be sure to just mount and dismount the USB drives
 manually. They are just there to store a config and log backup on the
 firewall. I am doing this so that if I have a failure or attack or some
 other type of crash. I will be able to check out the latest config and
 logs. A cron job is scheduled to copy these files to the USB drive every
 so often.

For this sort of thing, I would recommend using mtools (available in a
port).  Mounting the disk shouldn't be necessary for copying one file
to removable storage.

Definitely consider logging to a remote machine, though.  It will be
considerably more secure.  (There's no reason you can't do both, and
get the advantages of each.)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Is it possible to run i386 only, on a amd64 freebsd 7?

2008-08-19 Thread Oliver Fromme
Christopher Joyner wrote:
  Is there some way of doing that?  Running i386 software on amd64 machine?

Yes.  FreeBSD/amd64 contains a compatibility facility
for i386 binaries.  It should just work out of the box,
unless disabled explicitly.

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH  Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

Clear perl code is better than unclear awk code; but NOTHING
comes close to unclear perl code  (taken from comp.lang.awk FAQ)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make.conf

2008-08-19 Thread Oliver Fromme
Mitja [EMAIL PROTECTED] wrote:
  .if ${.CURDIR:M*/ports/editors/openoffice.org-2}
WITH_KDE= yes
  .endif

I think the spaces at the beginning of the line can
cause problems.  Please try removing them.  It is
customary that assignments begin at the first column
in makefiles.

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH  Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

One Unix to rule them all, One Resolver to find them,
One IP to bring them all and in the zone to bind them.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Is it possible to run i386 only, on a amd64 freebsd 7?

2008-08-19 Thread Sean Cavanaugh




 Date: Tue, 19 Aug 2008 16:05:06 +0200 From: [EMAIL PROTECTED] To: 
 freebsd-questions@FreeBSD.ORG; [EMAIL PROTECTED] CC:  Subject: Re: Is it 
 possible to run i386 only, on a amd64 freebsd 7?  Christopher Joyner 
 wrote:  Is there some way of doing that? Running i386 software on amd64 
 machine?  Yes. FreeBSD/amd64 contains a compatibility facility for i386 
 binaries. It should just work out of the box, unless disabled explicitly.  
 Best regards Oliver
he was asking about ports that are labled as i386 
only___
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 Reliability

2008-08-19 Thread Warren Block

On Mon, 18 Aug 2008, Jeffrey Goldberg wrote:

I have one system (7.0) which becomes extremely unstable if I have a USB 
drive connected.  I usually get a system crash in 10 to 30 minutes after 
mounting the USB drive.  It has never crashed without the USB drive attached, 
and it has never gone for more than three days with it attached.  Usually the 
failure is much sooner.  This was with 7.0-RELEASE.  I haven't checked since 
I've moved to 7-STABLE.


I have another system (identical software, different hardware) which is solid 
as a rock with the identical USB drive attached.


Unfortunately, the crashing system is a small form machine and there is no 
way to put in a different USB controller.  The USB drive was for backups, 
which I now do over the network to the machine that is working just fine.


That might indicate a cable problem, even just being too long.  A 
line-powered hub added between a problematic USB card reader and 
computer fixed an unreliable situation here.


-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: network problem

2008-08-19 Thread David Gurvich
A large number of ISPs block port 80 requests and do not inform you.
With Verizon, you need to redirect external http requests to a
different port that is not blocked or pay for the business connection.  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Is it possible to run i386 only, on a amd64 freebsd 7?

2008-08-19 Thread Oliver Fromme
Sean Cavanaugh [EMAIL PROTECTED] wrote:
  he was asking about ports that are labled as i386 only

Well, he didn't mention building ports.  He only said
*running* i386 software on amd64, which is certainly
possible.

Whether i386 only packages will run on amd64 depends
on the reason why they're marked as such.  If they
contain kernel code (such as the nvidia binary driver),
then it won't work.  Otherwise it should work.

However, it is important to know that i386 binaries can
only be linked with i386 libraries.  So if you need to
run an third-party i386 binary that requires a third-
party library, then that library must be i386, too.

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH  Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

Passwords are like underwear.  You don't share them,
you don't hang them on your monitor or under your keyboard,
you don't email them, or put them on a web site,
and you must change them very often.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Is it possible to run i386 only, on a amd64 freebsd 7?

2008-08-19 Thread Christopher Joyner
Christopher Joyner wrote:
 Is there some way of doing that?  Running i386 software on amd64 machine?

Yes.  FreeBSD/amd64 contains a compatibility facility
for i386 binaries.  It should just work out of the box,
unless disabled explicitly.

Best regards
   Oliver



Ok I see, I understand that I am able to run i386 software on my amd64 (Pentium 
D).

Because of the error message i386 only, how do I make it install?
Do I use a force switch?  
I am going to try some things after posting this.


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


Re: Streamripper 1.63.5 / FreeBSD7 - No artitst / track saved?

2008-08-19 Thread Graham Bentley

On Tue, 19 Aug 2008 12:14:38 +0100, David Kelly [EMAIL PROTECTED] wrote:
feature fixed and have the time and skills to debug before it will  
happen.


No skills and no time :(


which made fixing the FreeBSD version even less of a priority for me.


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


X11 tunnel over ssh and then rsh

2008-08-19 Thread Roberto Nunnari

Hello list.

I have this scenario

1) host A with X server
2) host B with ssh server but without X server
3) host C with rsh server and X client programs but without X server
(on host C there's also an ssh server, but in our case, users
have to use rsh)

now, I need to connect from host A to host B with:
A$ ssh -Y B (-Y or -X, to create a X tunnel)
and then from host B to host C with:
B$ rsh C
and on host C I need to run an X client like:
C$ xterm

Now, I would like the users not to have to set the
DISPLAY env var on host C, as they tend to forget
and also some user's X server don't accept plain
X connections..

Is there a way that I could configure host B to somehow
expose to host C the X tunnel to host A? From host
B I have access to the users' homes on host C and I could
place there some script to set the DISPLAY env var on user
login.

B$ echo $DISPLAY
on host B gives back something like localhost:16.0,
but if on host C I enter:
C$ export DISPLAY=B:16.0
C$ xterm
it doesn't work.. probably host C doesn't expose a
network socket but maybe a unix socket for the X tunnel..

Any help/hint greatly appreciated.

Best regards.
Robi

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


[ANNOUNCE] Shouton.com v1.3b Released

2008-08-19 Thread Josh Rhodes [EMAIL PROTECTED]

ShoutOn.com

Invitation

   Private Invitation:
   o   From Josh Rhodes (Head of marketing)

About our free link exchange services:

   o   ShoutOn.com would like to invite you to be one of our early
   adapters to use our fully free in-direct link exchange services. The
   system is now officialiy in invite-only stage and will only go public
   in the next few months.
   Start your high quality, spam free, link exchange in minutes. Our link
   exchange services are free and very effective. The procedure is fast
   and easy to follow. Our product simply provides your site with 5 links
   from other partners, assuming you as well, placed the code on your
   site and participated in the service, while linking to others.
   Do not wait until tomorrow; improve your Link Popularity, PageRank,
   and SE Rankings using our Free Link Exchange service.
   Access the system by entering [1]http://www.shouton.com

   ShoutOt.com has some important benefits:
 * Increase your Traffic and Google PageRank
 * Improved Position in Search Engines
 * Receive 5 Links from other ShoutOn Partners!
   ShoutOn.com values your privacy. At no time has ShoutOn made your
   email address available to others without your permission. If you
   no longer wish to receive further Emails, please send an email
   with the word remove in the subject to: [EMAIL PROTECTED] �
   2008, ShoutOn Corporation.

References

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


Re: Is it possible to run i386 only, on a amd64 freebsd 7?

2008-08-19 Thread Oliver Fromme
Christopher Joyner wrote:
  Ok I see, I understand that I am able to run i386 software on my amd64 
  (Pentium D).
  
  Because of the error message i386 only, how do I make it install?
  Do I use a force switch?  
  I am going to try some things after posting this.

You didn't mention that you want to build a i386-only port.
The easiest way to circumvent that restriction is to down-
load the i386 package of that port and install it.

Whether you can make that work depends on what kind of port
it is.

If you tell us *what* software you're actualy trying to
install, we might be able to provide further assistance.

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH  Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

With sufficient thrust, pigs fly just fine.  However, this
is not necessarily a good idea.  It is hard to be sure where
they are going to land, and it could be dangerous sitting
under them as they fly overhead. -- RFC 1925
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Fetching precompiled packages for external install

2008-08-19 Thread Polytropon
Hi!

I'd like to know if somebody could point me to a command which allows
me to solve the following task:

I have a machine that is not connected to the Internet. If it was, I
would use 

# pkg_add -r package

to install the software I want. I have another machine with Internet
access, so I'd like to pre-fetch the packages and their dependencies
in order to put them on a CD or PD (yes, that's for real!) to transfer
them to the other machine and use pkg_add there.

I know that it's possible to download packages one by one, but is there
a way to include all the dependencies automatically?



Thanks!


-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Is it possible to run i386 only, on a amd64 freebsd 7?

2008-08-19 Thread Christopher Joyner
Christopher Joyner wrote:
 Ok I see, I understand that I am able to run i386 software on my amd64 
 (Pentium D).
 
 Because of the error message i386 only, how do I make it install?
 Do I use a force switch?  
 I am going to try some things after posting this.

You didn't mention that you want to build a i386-only port.
The easiest way to circumvent that restriction is to down-
load the i386 package of that port and install it.

Whether you can make that work depends on what kind of port
it is.

If you tell us *what* software you're actualy trying to
install, we might be able to provide further assistance.

Best regards
   Oliver


O.K. the software I want to install is wine.
Another one I want to install is zsnes or snes9x.
I have attempted to install it from source, and also the ports.

Sorry for the misunderstanding, I was wanting to install i386 only software on 
my amd64 FreeBSD build.
Not run i386 code on amd64.

Here is details about my system:
I am using a PentiumD 2.6 in dual core mode.
I have a old old pci vga display.  (might upgrade very soon, expecting some new 
hardware.)
A sblive sound card.

FreeBSD  7.0-RELEASE FreeBSD 7.0-RELEASE #1: Mon Aug 18 20:50:41 EDT 
2008 :/usr/obj/usr/src/sys/amdcustom  amd64

the  is me marking out that information.


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


Memory requirement for fsck_ffs in recovery session

2008-08-19 Thread Polytropon
Hi!

I have another problem trying to recover my data that has been destroyed
(in fact, it's just inaccessible because the inode at the entry od my
home directory died).

I'm using a dd image which reproduces the exact error of the defective
hard disk partition, I run fsck_ffs on a md type vnode.

# mount -t ufs /dev/ad2s1h /mnt
# mdconfig -a -t vnode -u 0 -f /mnt/home/poly/rescue/ad0s1f.dd
# fsck_ffs /dev/md0

Up to this point, I tried to use fsck_ffs from FreeBSD version 7, which
always left me with this:

fsck_ffs: bad inode number 306176 to nextinode

Examining fsck_ffs, I found ot that lastvalidinum = 306175, but that's
a story for another time. :-) I always thought I needed to modify the
file system so fsck_ffs could do its job, now I think I rather would
modify fsck_ffs so it would skip these errors I can't see any reason
for.

Out of curiosity, I booted my system with a done version 5 installation
harddisk I had extracted from a system some years ago, and guess what?
fsck_ffs version 5 seemed to do more than version 7 did! This is what I
get:

fsck_ffs: cannot alloc 1073796864 bytes for inoinfo

My question: My machine has 768 MB RAM (512 + 256 MB SDR-SDRAM) and
fsck_ffs seems to request 1 GB RAM (1073796864/1024/1024/1024). Is
it possible to provide this amount of RAM via a harddisk backed RAM
disk or a swap partition?

I think I'll try ffsck_ffs version 6 from a PC-BSD installation that
must be somewhere around here...


Thanks for help!


-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Formatting a harddisk with defective sectors

2008-08-19 Thread Polytropon
Hi!

I have an 8 GB harddisk that I want to use in a Intel P1 / 150 MHz
with 128 MB EDO-RAM system. Yes, that's for real. This harddisk has
one defective sector which causes the installation that's already on
this disk to complain about not being able to clean the /home partition
via fsck.

My question: Is there a way to exclude the defective sectors from being
accessible at the time the disk is completely initialized for a new
install (slices, partitions, format, tunefs)? Goal: As long as the
defective sectors won't multiply, if nobody ever touches them, the
disk should run fine.


Thanks for hints!

-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Best SMTP Gateway Program and Reporting Tools

2008-08-19 Thread John Almberg


On Aug 19, 2008, at 8:44 AM, Robby Balona wrote:


John Almberg wrote:

On Aug 12, 2008, at 4:22 PM, Josh Kidd wrote:

I just wanted to pose this question to the list on people's  
opinions as
to what the best SMTP Gateway program (ie. Sendmail, Postfix,  
etc) is

and what the best log analysis tool for that SMTP program is.


I use qmail. Its touted to be very secure, which was my #1 goal.  
Proving that is above my pay grade, but I can say I have had no  
problems, which is a big improvement over my last server which ran  
Linux and sendmail.


It also logs a lot of information about what it's doing, and has a  
bunch of command line tools to help you analyze it.


-- John

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions- 
[EMAIL PROTECTED]
I love qmail also.. but didn't do well under heavy smtp load in my  
environment. I put qmail +vpopmail + qmailadmin +clamav+dovecot 
+spamassasin + assap +squirrelmail together.


I have a similar setup, but do black-list filtering with PF that  
eliminates tons of spam at the packet level. I know this probably  
wouldn't work for some servers... if you need to get email from North  
Korea, for instance. But my clients (small US businesses, mainly)  
don't. The difference in server load is significant.


-- John


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


Re: Is it possible to run i386 only, on a amd64 freebsd 7?

2008-08-19 Thread Christopher Joyner
Sean Cavanaugh [EMAIL PROTECTED] wrote:
 he was asking about ports that are labled as i386 only

Well, he didn't mention building ports.  He only said
*running* i386 software on amd64, which is certainly
possible.

Whether i386 only packages will run on amd64 depends
on the reason why they're marked as such.  If they
contain kernel code (such as the nvidia binary driver),
then it won't work.  Otherwise it should work.

However, it is important to know that i386 binaries can
only be linked with i386 libraries.  So if you need to
run an third-party i386 binary that requires a third-
party library, then that library must be i386, too.

Best regards
   Oliver


O.K I understand that.  So I can see that unless I have an i386 FreeBSD build, 
I really cannot
install those i386 only software titles.

In that situation I assume I can only use amd64 ports and software. 

I have an idea though, would it be possible to build a i386 FreeBSD on an 
another partition.  And use it to run i386 software while using the amd64 
FreeBSD?


Christopher Wesley,


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


Re: Formatting a harddisk with defective sectors

2008-08-19 Thread Roland Smith
On Tue, Aug 19, 2008 at 06:31:09PM +0200, Polytropon wrote:
 Hi!
 
 I have an 8 GB harddisk that I want to use in a Intel P1 / 150 MHz
 with 128 MB EDO-RAM system. Yes, that's for real. This harddisk has
 one defective sector which causes the installation that's already on
 this disk to complain about not being able to clean the /home partition
 via fsck.
 
 My question: Is there a way to exclude the defective sectors from being
 accessible at the time the disk is completely initialized for a new
 install (slices, partitions, format, tunefs)? Goal: As long as the
 defective sectors won't multiply, if nobody ever touches them, the
 disk should run fine.

See badsect(8). Use between mkfs and install (hint: switch to
holographic shell).

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpxSN0yykXCw.pgp
Description: PGP signature


Re: Is it possible to run i386 only, on a amd64 freebsd 7?

2008-08-19 Thread Josh Carroll
 O.K I understand that.  So I can see that unless I have an i386 FreeBSD 
 build, I really cannot
 install those i386 only software titles.

 In that situation I assume I can only use amd64 ports and software.

 I have an idea though, would it be possible to build a i386 FreeBSD on an 
 another partition.  And use it to run i386 software while using the amd64 
 FreeBSD?

I tried something similar using an i386 chroot, but wine failed to run
(SIGABRT). If you need these i386-only ports/software, you should
probably just run the i386 version of FreeBSD. Do you have a
compelling reason for using the amd64 release (e.g.  4GB of RAM)?

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


Re: Still, no-joy with kdm......

2008-08-19 Thread Paul Schmehl
--On Monday, August 18, 2008 16:43:23 -0700 Gary Kline [EMAIL PROTECTED] 
wrote:




Guys,

Im looking at the kdmrc file but don't see anything wrong.
Any ideas where to llook next?


I use kde every day, and I don't have a kdmrc file.

You can start kde several ways.  One way is to login as root and type kdm at 
the prompt.  Another is to edit /etc/ttys the way the Handbook describes.  (You 
can read that yourself.)  Another way is to use an xinitrc file.  (That's in 
the Handbook as well.)


The reason kdm can't create its pid file is most likely because you're trying 
to start it under your account instead of root.




gary

PS: what is the startup for exec'ing gnome??


echo 'gnome_enable=YES'  /etc/rc.conf

That's in the Handbook as well.

--
Paul Schmehl, Senior Infosec Analyst
As if it wasn't already obvious, my opinions
are my own and not those of my employer.
***
Check the headers before clicking on Reply.

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


PXE/BOOTP.... etc

2008-08-19 Thread Marcel Grandemange
Im wondering if someone can assist me.

 

Im looking into building a machine that will allow me to boot other machines
off the network and install operating systems from say iso files.

 

 

Ive looked around and many require special images and a list of procedures
longer than my groceries list!

Windows Server 2003 has something built in but is ONLY for windows and
requires all sorts of special images.

 

 

 

What I want to do is simple..

 

Have a folder of my most common installed OS's in ISO form, have a BSD box
with pxe menu to select ISO and let it install like normal.

 

Is this possible? Advise?

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


sendmail secondary server routing to alternate port

2008-08-19 Thread Derrick Ryalls
Greetings,

I recently had to rebuild my brother's all in one box to get a SATA
controller working.  It is now running 7.0 release and was previously
using courier and the mail system.  With this rebuild, I have switched
him over to sendmail and most things are working, but I discovered a
small issue with sendmail that I am having trouble working out.  As
well as being his own primary email server, he acts as secondary for a
couple of my domains, the tricky part is my ISP shut off port 25
access to me (no, I am not a spammer) so I use port 587 for handling
mail.  With courier, I was able to specify specific ports to
communicate with on a per domain basis.  For example, if I was
relaying for example.org on port 2345, I would specify
example.org:2345 and that is the port it would use to talk to
example.org.

Now that I have switched to sendmail, I don't see a way to set the
destination port on a per domain basis, only on an all or nothing
basis.  Am I missing some piece of the documentation or is this an
actual limitation of sendmail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sendmail secondary server routing to alternate port

2008-08-19 Thread Derek Ragona

At 12:16 PM 8/19/2008, Derrick Ryalls wrote:

Greetings,

I recently had to rebuild my brother's all in one box to get a SATA
controller working.  It is now running 7.0 release and was previously
using courier and the mail system.  With this rebuild, I have switched
him over to sendmail and most things are working, but I discovered a
small issue with sendmail that I am having trouble working out.  As
well as being his own primary email server, he acts as secondary for a
couple of my domains, the tricky part is my ISP shut off port 25
access to me (no, I am not a spammer) so I use port 587 for handling
mail.  With courier, I was able to specify specific ports to
communicate with on a per domain basis.  For example, if I was
relaying for example.org on port 2345, I would specify
example.org:2345 and that is the port it would use to talk to
example.org.

Now that I have switched to sendmail, I don't see a way to set the
destination port on a per domain basis, only on an all or nothing
basis.  Am I missing some piece of the documentation or is this an
actual limitation of sendmail?


If you do nothing special, sendmail will handle both ports 587 and 25.

-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


Re: sendmail secondary server routing to alternate port

2008-08-19 Thread Chuck Swiger

On Aug 19, 2008, at 10:16 AM, Derrick Ryalls wrote:
For example, if I was relaying for example.org on port 2345, I would  
specify

example.org:2345 and that is the port it would use to talk to
example.org.

Now that I have switched to sendmail, I don't see a way to set the
destination port on a per domain basis, only on an all or nothing
basis.  Am I missing some piece of the documentation or is this an
actual limitation of sendmail?


You can do this with /etc/mail/mailertable:

   example.org  relay:example.org

...and change to the relay mailer flags with this in your sendmail.mc

  define(`RELAY_MAILER_ARGS', `TCP $h 2345')

Note that you might want to define a new mailer called relay2345  
instead of changing the default relay mailer.


Regards,
--
-Chuck

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


Re: Still, no-joy with kdm......

2008-08-19 Thread Gary Kline
On Tue, Aug 19, 2008 at 02:26:10AM +0200, Martin Tournoij wrote:
 On Mon, Aug 18, 2008 at 04:43:23PM -0700, Gary Kline wrote:
  
  Guys,
  
  Im looking at the kdmrc file but don't see anything wrong.
  Any ideas where to llook next?
  
  gary
  
  PS: what is the startup for exec'ing gnome??  
 
 I can't see anything wrong with your kdmrc file either ... In fact, I can't
 see your kdmrc file at all ...
 
 You should really post more information, at the very least:
 
 o What exactly you are trying to accomplish.
 o Your kdmrc file.
 o What exactly isn't working.
 o The error message, if any (full, copied exactly).


Well, I managed to capture the [f]printf'd message.  This was
clearly to stdout, not stderr:

Updating KDM configuration
Information: reading current kdmrc /usr/local/share/config/kdm/kdmrc (from kde 
= 2.2.x)
Information: current kdmrc is from kde = 3.1 (config version 2.3)


This is with no /var/run/kdm.pid; if that file of zero-length 
inode entry is present, kdm yelps.  Either way, nothing happens.
No entry into the KDE environment.

gary



-- 
 Gary Kline  [EMAIL PROTECTED]  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org


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


Re: dump locks again [SOLVED]

2008-08-19 Thread Andrea Venturoli

Kris Kennaway ha scritto:

Andrea Venturoli wrote:

Kris Kennaway ha scritto:

This was fixed in 7.0-STABLE.


I confirm upgrading to 7.0-STABLE solved this.

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


Re: Still, no-joy with kdm......

2008-08-19 Thread Gary Kline
On Tue, Aug 19, 2008 at 11:41:08AM -0500, Paul Schmehl wrote:
 --On Monday, August 18, 2008 16:43:23 -0700 Gary Kline [EMAIL PROTECTED] 
 wrote:
 
 
  Guys,
  
  Im looking at the kdmrc file but don't see anything wrong.
  Any ideas where to llook next?
 
 I use kde every day, and I don't have a kdmrc file.


If you installed KDE, you have it. In kde3 it's at
/usr/local/share/config/kdm/kdmrc

 
 You can start kde several ways.  One way is to login as root and type kdm 
 at the prompt.  Another is to edit /etc/ttys the way the Handbook 
 describes.  (You can read that yourself.)  Another way is to use an xinitrc 
 file.  (That's in the Handbook as well.)
 

I haven't edited /etc/ttys yet; I may.  But I think something got
broken [mis-CLEANED by fsck or otherwise damanaged during the
weekend power-out].  

It may be easier to completely remove v3 and re-install kde4.


 
 The reason kdm can't create its pid file is most likely because you're 
 trying to start it under your account instead of root.
 

I'm pretty sure I was in ./root or slash when I logged in.
I'm using KDE now, sort-of, by virture of startx.  Still, lots of
misc things were not initialized.

gary


gary


 
  gary
 
  PS: what is the startup for exec'ing gnome??
 
 echo 'gnome_enable=YES'  /etc/rc.conf
 
 That's in the Handbook as well.
 
 -- 
 Paul Schmehl, Senior Infosec Analyst
 As if it wasn't already obvious, my opinions
 are my own and not those of my employer.
 ***
 Check the headers before clicking on Reply.
 

-- 
 Gary Kline  [EMAIL PROTECTED]  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org


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


Re: Fetching precompiled packages for external install

2008-08-19 Thread Lowell Gilbert
Polytropon [EMAIL PROTECTED] writes:

 I'd like to know if somebody could point me to a command which allows
 me to solve the following task:

 I have a machine that is not connected to the Internet. If it was, I
 would use 

   # pkg_add -r package

 to install the software I want. I have another machine with Internet
 access, so I'd like to pre-fetch the packages and their dependencies
 in order to put them on a CD or PD (yes, that's for real!) to transfer
 them to the other machine and use pkg_add there.

 I know that it's possible to download packages one by one, but is there
 a way to include all the dependencies automatically?

I don't see anything direct, but the *-depends-list targets will
probably get you close enough to work it out.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Memory requirement for fsck_ffs in recovery session

2008-08-19 Thread Lowell Gilbert
Polytropon [EMAIL PROTECTED] writes:

 I have another problem trying to recover my data that has been destroyed
 (in fact, it's just inaccessible because the inode at the entry od my
 home directory died).

 I'm using a dd image which reproduces the exact error of the defective
 hard disk partition, I run fsck_ffs on a md type vnode.

   # mount -t ufs /dev/ad2s1h /mnt
   # mdconfig -a -t vnode -u 0 -f /mnt/home/poly/rescue/ad0s1f.dd
   # fsck_ffs /dev/md0

 Up to this point, I tried to use fsck_ffs from FreeBSD version 7, which
 always left me with this:

   fsck_ffs: bad inode number 306176 to nextinode

 Examining fsck_ffs, I found ot that lastvalidinum = 306175, but that's
 a story for another time. :-) I always thought I needed to modify the
 file system so fsck_ffs could do its job, now I think I rather would
 modify fsck_ffs so it would skip these errors I can't see any reason
 for.

I'm not following your logic, but I suspect you're jumping into
dangerous waters here...

 Out of curiosity, I booted my system with a done version 5 installation
 harddisk I had extracted from a system some years ago, and guess what?
 fsck_ffs version 5 seemed to do more than version 7 did! This is what I
 get:

   fsck_ffs: cannot alloc 1073796864 bytes for inoinfo

 My question: My machine has 768 MB RAM (512 + 256 MB SDR-SDRAM) and
 fsck_ffs seems to request 1 GB RAM (1073796864/1024/1024/1024). Is
 it possible to provide this amount of RAM via a harddisk backed RAM
 disk or a swap partition?

Swap should be fine; the allocation is just a regular calloc(3) call.

 I think I'll try ffsck_ffs version 6 from a PC-BSD installation that
 must be somewhere around here...

Not likely to help, but since you aren't working with the original
disk, you don't have much to lose by trying...

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sendmail secondary server routing to alternate port

2008-08-19 Thread Derrick Ryalls
On Tue, Aug 19, 2008 at 10:56 AM, Chuck Swiger [EMAIL PROTECTED] wrote:
 On Aug 19, 2008, at 10:16 AM, Derrick Ryalls wrote:

 For example, if I was relaying for example.org on port 2345, I would
 specify
 example.org:2345 and that is the port it would use to talk to
 example.org.

 Now that I have switched to sendmail, I don't see a way to set the
 destination port on a per domain basis, only on an all or nothing
 basis.  Am I missing some piece of the documentation or is this an
 actual limitation of sendmail?

 You can do this with /etc/mail/mailertable:

   example.org  relay:example.org

 ...and change to the relay mailer flags with this in your sendmail.mc

  define(`RELAY_MAILER_ARGS', `TCP $h 2345')

 Note that you might want to define a new mailer called relay2345 instead
 of changing the default relay mailer.

 Regards,
 --
 -Chuck


Thanks for the tip.  I have added this to .mc:

dnl alternate relay port
MAILER_DEFINITIONS
relay_port_587, P=[IPC], F=mDFMuXa, S=EnvFromSMTP/HdrFromSMTP,
R=EnvToSMTP, E=\r
\n, L=990,
T=DNS/RFC822/SMTP,
A=TCP $h 587


Created a mailer table:

example.com   relay_port_587:example.com

And when I send to this domain, I get this in the maillog:

NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 1718: unknown
configuration line relay_port_587, P=[IPC], F=mDFMuXa,
S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\\r
Aug 19 11:56:50 rncserver sm-mta[70987]: NOQUEUE: SYSERR(root):
/etc/mail/sendmail.cf: line 1721: unknown configuration line \\n,
L=990,\nT=DNS/RFC822/SMTP,\nA=TCP
\001h 587

Guess I have messed something up here, see anything obvious?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Override default ICMP (and other protocols) default replies.

2008-08-19 Thread Javier Ubillos
Hi freebsd-questions.

I'm implementing a NAT (1 ip - 1 ip) like router.

I have chosen to use pcaplib to pick up the packets. I have an
implementation which picks up the packets, inspects them, rewrites the
destination/source ip-addresses and sends them out on the repective
interface.

The problem I'm facing however is that my interfaces are answering to
e.g. icmp-echo (ping) automatically, and I don't know how to turn this
behaviour off.

What I want to happen is that if A pings C, my router B in between
should simply forward the packets w/o any automatic reactions.

A -- B -- C

So that if e.g. C is down, no echo-reply is sent back (or if C is up,
that C is actually sending the echo-reply.

Does any one know how to turn off the automatic replies (ICMP and
whatever else I haven't forseen yet) or does any one know where I can
find out more about the issue?

Thank you // Javier


signature.asc
Description: This is a digitally signed message part


Re: Best SMTP Gateway Program and Reporting Tools

2008-08-19 Thread CyberLeo Kitsana
Robby Balona wrote:
 Postfix is also ok but never found a good virtual mail interface for it.

vPostMaster (http://www.tummy.com/Products/vpostmaster/) is a decent
virtual mailbox interface for Postfix, if you can get past the
dual-licensing and linux-centric installer. It's written in Python for
Postgres, with a PHP web-configuration interface, but I've developed a
shim which allows it to run suitably well with MySQL on FreeBSD.

-- 
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
[EMAIL PROTECTED]

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


Re: sendmail secondary server routing to alternate port

2008-08-19 Thread Chuck Swiger

On Aug 19, 2008, at 12:01 PM, Derrick Ryalls wrote:

NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 1718: unknown
configuration line relay_port_587, P=[IPC], F=mDFMuXa,
S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\\r
Aug 19 11:56:50 rncserver sm-mta[70987]: NOQUEUE: SYSERR(root):
/etc/mail/sendmail.cf: line 1721: unknown configuration line \\n,
L=990,\nT=DNS/RFC822/SMTP,\nA=TCP
\001h 587

Guess I have messed something up here, see anything obvious?


A mailer definition needs to start with a capital M, as in:

Mrelay, P=[IPC], F=mDFMuXa8, S=EnvFromSMTP/HdrFromSMTP,  
R=MasqSMTP, E=\r\n, L=2040,

T=DNS/RFC822/SMTP,
A=TCP $h

...from sendmail.cf.  You could just copy this and rename it to  
relay_port_587, and add the 587 after the $h


Regards,
--
-Chuck

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


Re: Shell scripts: variable assignment within read loops

2008-08-19 Thread CyberLeo Kitsana
David Wolfskill wrote:
   foo=
   cat $filename | while read bar ... ; do
...
 foo=$bar
...
   done
   echo $foo
 

A trick I've used to great advantage in bourne shell and bash for
passing multiple variables back is to produce small snippets of shell
script within a function, such as the following, for pulling in a bunch
of variables with a single program invocation for efficiency:



get_stats(){
 stat -fc 'mount=%n blksz=%S total=%b free_root=%f \
  free_user=%a' [EMAIL PROTECTED]
}

get_stats / /dev /tmp | while read line
do
 eval ${line}
 # now mount, blksz, total, free_root, and free_user are set here.
 printf = %s has %u free %u-byte blocks, out of %u\n \
  ${mount} ${free_user} ${blksz} ${total}
done



The function returns a series of lines that can be iterated with 'while
read', and evaluated individually for action. If the function returns
only a single line, it can be passed directly into eval:



eval $(get_stats /)



As this shortcut does execute arbitrary code, however, there is always a
chance that it can be hijacked for nefarious purposes if the data source
is untrusted.

-- 
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
[EMAIL PROTECTED]

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


Re: Fetching precompiled packages for external install

2008-08-19 Thread Manolis Kiagias

Polytropon wrote:

Hi!

I'd like to know if somebody could point me to a command which allows
me to solve the following task:

I have a machine that is not connected to the Internet. If it was, I
would use 


# pkg_add -r package

to install the software I want. I have another machine with Internet
access, so I'd like to pre-fetch the packages and their dependencies
in order to put them on a CD or PD (yes, that's for real!) to transfer
them to the other machine and use pkg_add there.

I know that it's possible to download packages one by one, but is there
a way to include all the dependencies automatically?



Thanks!


  

See this discussion in -questions a few days ago:

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


Re: sendmail secondary server routing to alternate port

2008-08-19 Thread Derrick Ryalls
On Tue, Aug 19, 2008 at 12:21 PM, Chuck Swiger [EMAIL PROTECTED] wrote:
 On Aug 19, 2008, at 12:01 PM, Derrick Ryalls wrote:

 NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 1718: unknown
 configuration line relay_port_587, P=[IPC], F=mDFMuXa,
 S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\\r
 Aug 19 11:56:50 rncserver sm-mta[70987]: NOQUEUE: SYSERR(root):
 /etc/mail/sendmail.cf: line 1721: unknown configuration line \\n,
 L=990,\nT=DNS/RFC822/SMTP,\nA=TCP
 \001h 587

 Guess I have messed something up here, see anything obvious?

 A mailer definition needs to start with a capital M, as in:

 Mrelay, P=[IPC], F=mDFMuXa8, S=EnvFromSMTP/HdrFromSMTP, R=MasqSMTP,
 E=\r\n, L=2040,
T=DNS/RFC822/SMTP,
A=TCP $h

 ...from sendmail.cf.  You could just copy this and rename it to
 relay_port_587, and add the 587 after the $h


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


Recommended newfs settings for 600GB mail (maildir) store?

2008-08-19 Thread Chris St Denis
I recently created a new mail server with a 600GB raid5 partition to 
store maildirs. When I created it, I used a newfs -i 4096 but when I had 
recent hardware problems the background FSCK took a very long time, and 
I'm concerned that the -i 4096 may have made that a lot worse.


So I ask. What newfs settings do you recommend for a 600GB partition 
dedicated to maildirs?

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


Radius server ans NAS keys don't match! ?

2008-08-19 Thread kavita123

Hi,
I am trying to work with Radius on a  FreeBSD machine.
When I try radlogin on the client machine , I get the following message from
the server

Ready to process requests.
Service-Type = 0x0001
User-Name = xxx
User-Password = \240\365\313ħ\255\371\r\203\300.\275ܤ
NAS-Port = 0x
NAS-IP-Address = 0x0a2a009b
+- entering group authorize
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
rlm_realm: No '@' in User-Name = xxx, looking up realm NULL
rlm_realm: No such realm NULL
++[suffix] returns noop
  rlm_eap: No EAP-Message, not doing EAP
++[eap] returns noop
++[unix] returns notfound
users: Matched entry xxx at line 17
++[files] returns ok
++[expiration] returns noop
++[logintime] returns noop
++[pap] returns updated
  rad_check_password:  Found Auth-Type
auth: type PAP
+- entering group PAP
rlm_pap: login attempt with password ?õËħ­ù ?À.½Ü?¤
rlm_pap: Using clear text password xxx
rlm_pap: Passwords don't match
++[pap] returns reject
auth: Failed to validate the user.
Login incorrect (rlm_pap: CLEAR TEXT password check failed):
[kavita/\240\365\313ħ\255\371\r\203\300.\275Ü?¤] (from client hwq5 port 0)
  WARNING: Unprintable characters in the password.Double-check the
shared secret on the server and the NAS!
  Found Post-Auth-Type Reject
+- entering group REJECT
expand: %{User-Name} - xxx
 attr_filter: Matched entry DEFAULT at line 11
++[attr_filter.access_reject] returns updated
Delaying reject of request 1 for 1 seconds
Going to the next request
Waking up in 0.9 seconds.
Sending delayed reject for request 1
Waking up in 4.9 seconds.
Cleaning up request 1 ID 127 with timestamp +24
Ready to process requests.



I have checked the secret key on the server and the client and it is the
same!

Is there any setting to be done in
/radiusclient-ng-0.5.6/etc/servers
apart from 
radius_server_ipsecret_key

and 
/radiusclient-ng/radiusclient.conf

apart from
authserver  radius_server_ip:1812 

Thank you,
Kavita





-- 
View this message in context: 
http://www.nabble.com/Radius-server-ans-NAS-keys-don%27t-match%21---tp19058901p19058901.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

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


Re: Fetching precompiled packages for external install

2008-08-19 Thread Polytropon
On Tue, 19 Aug 2008 22:34:41 +0300, Manolis Kiagias [EMAIL PROTECTED] wrote:
 See this discussion in -questions a few days ago:
 
 http://lists.freebsd.org/pipermail/freebsd-questions/2008-August/180001.html

Hmmm... this seems to refer to a procedure involving ports. I don't
wanted to compile anything, just a recursive fetch. Please see my
other reply for the ugly solution I found.

-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Fetching precompiled packages for external install

2008-08-19 Thread Polytropon
On Tue, 19 Aug 2008 14:39:48 -0400, Lowell Gilbert [EMAIL PROTECTED] wrote:
 I don't see anything direct, but the *-depends-list targets will
 probably get you close enough to work it out.

Sorry, I don't know what *-depends-list targets refers to. But
I think it's something about the ports which I don't want to use,
instead, using the precompiled packages is what I wanted to.

From portinstall's -p option I know a similar behaviour: Things
are compiled, installed, and put into packages/ as packages that
could be transferred to another system.

I read the pkg_add manpage many times, and now I have a solution.
Watch out! it's ugly! But I think it works.



#!/bin/sh
#
# getpkg.sh 2008-08-19
#
# fetch a precompiled package as well as it dependencies
# for further installation

if [ $1 =  ]; then
echo $0 package
exit 1
fi
echo -n fetching $1 ... 
if [ -f $1.tbz ]; then
echo $1.tbz already there
exit 1
fi
pkg_add -fKnrv $1  $1.txt 21
echo done
for DEP in `cat $1.txt | grep $1 | grep depends on | cut -d ' -f 6 | cut -d 
/ -f 2`; do
echo dependency for $1 is ${DEP}
$0 ${DEP}
done
rm $1.txt
exit 0




One thing I don't know yet: Will such a collection of .tbz files
be installable in a recursive way? Does pkg_add only need files
in the format name.tbz, or is name-version.tbz required?
I will check this.

Up to this time, enjoy the ugly script. :-)

Anyway, thanks for help.



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

7-STABLE lock order reversal

2008-08-19 Thread Per olof Ljungmark

7.0-STABLE #0: Tue Aug 19 20:39:48 CEST 2008

After system update from June 12 sources to Aug 12 I have seen frequent
lockups during network operations. Compiled debugging kernel and got the
below during boot.

Should I open a PR? Suggestions welcome. Thanks.


Aug 19 22:12:47 kreutzman kernel: uhid0: Logitech G9 Laser Mouse, class
0/0, rev 2.00/50.00, addr 4 on uhub5
Aug 19 22:12:47 kreutzman kernel: lock order reversal:
Aug 19 22:12:47 kreutzman kernel: 1st 0xc7077a14 rtentry (rtentry) @
/usr/src/sys/net/route.c:328
Aug 19 22:12:47 kreutzman kernel: 2nd 0xc6eee07c radix node head (radix
node head) @ /usr/src/sys/net/route.c:879
Aug 19 22:12:47 kreutzman kernel: KDB: stack backtrace:
Aug 19 22:12:47 kreutzman kernel:
db_trace_self_wrapper(c0af8084,e71f5a4c,c07a777e,c0afa653,c6eee07c,...)
at db_trace_self_wrapper+0x26
Aug 19 22:12:47 kreutzman kernel:
kdb_backtrace(c0afa653,c6eee07c,c0afa6b4,c0afa6b4,c0b031c2,...) at
kdb_backtrace+0x29
Aug 19 22:12:47 kreutzman kernel:
witness_checkorder(c6eee07c,9,c0b031c2,36f,c6c5f2b8,...) at
witness_checkorder+0x6de
Aug 19 22:12:47 kreutzman kernel:
_mtx_lock_flags(c6eee07c,0,c0b031c2,36f,c0af3ca5,...) at
_mtx_lock_flags+0xbc
Aug 19 22:12:47 kreutzman kernel:
rtrequest1_fib(1,e71f5ae8,e71f5b18,0,ce,...) at rtrequest1_fib+0x82
Aug 19 22:12:47 kreutzman kernel:
rtredirect_fib(e71f5bb8,e71f5ba8,0,16,e71f5b98,...) at rtredirect_fib+0x13d
Aug 19 22:12:47 kreutzman kernel:
in_rtredirect(e71f5bb8,e71f5ba8,0,6,e71f5b98,...) at in_rtredirect+0x34
Aug 19 22:12:47 kreutzman kernel:
icmp_input(c7081d00,14,80246,c0bf53c0,e71f5c08,...) at icmp_input+0x526
Aug 19 22:12:47 kreutzman kernel:
ip_input(c7081d00,14e,800,c6c89400,800,...) at ip_input+0x650
Aug 19 22:12:47 kreutzman kernel: netisr_dispatch(2,c7081d00,10,3,0,...)
at netisr_dispatch+0x73
Aug 19 22:12:47 kreutzman kernel:
ether_demux(c6c89400,c7081d00,3,0,3,...) at ether_demux+0x1f1
Aug 19 22:12:47 kreutzman kernel:
ether_input(c6c89400,c7081d00,c0ac0c3e,c57,c6c89400,...) at
ether_input+0x3d9
Aug 19 22:12:47 kreutzman kernel:
bge_intr(c6c9,0,c0af18b8,442,c6b334e8,...) at bge_intr+0x7ca
Aug 19 22:12:47 kreutzman kernel:
ithread_loop(c6c946d0,e71f5d38,c0af1622,305,c6c97ad0,...) at
ithread_loop+0x1c5
Aug 19 22:12:47 kreutzman kernel: fork_exit(c074ce40,c6c946d0,e71f5d38)
at fork_exit+0xb8
Aug 19 22:12:47 kreutzman kernel: fork_trampoline() at fork_trampoline+0x8
Aug 19 22:12:47 kreutzman kernel: --- trap 0, eip = 0, esp = 0xe71f5d70,
ebp = 0 ---
Aug 19 22:12:47 kreutzman kernel: Expensive timeout(9) function:
0xc068b7f0(0xc0c82f00) 0.004460343 s
Aug 19 22:12:47 kreutzman savecore: no dumps found

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


Re: 7-STABLE lock order reversal

2008-08-19 Thread Kris Kennaway

Per olof Ljungmark wrote:

7.0-STABLE #0: Tue Aug 19 20:39:48 CEST 2008

After system update from June 12 sources to Aug 12 I have seen frequent
lockups during network operations. Compiled debugging kernel and got the
below during boot.

Should I open a PR? Suggestions welcome. Thanks.


Yes or try posting to net@ first.  It looks like maybe the new multiple 
routing table support is implicated.


Kris

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


Re: Memory requirement for fsck_ffs in recovery session

2008-08-19 Thread Polytropon
On Tue, 19 Aug 2008 14:45:18 -0400, Lowell Gilbert [EMAIL PROTECTED] wrote:
 Polytropon [EMAIL PROTECTED] writes:
  I always thought I needed to modify the
  file system so fsck_ffs could do its job, now I think I rather would
  modify fsck_ffs so it would skip these errors I can't see any reason
  for.
 
 I'm not following your logic, but I suspect you're jumping into
 dangerous waters here...

I think so, too, but that's the only way I think I can recover
at least a part of my files without buying an expensive and Windows
based recovery program or even sending the harddisk to a recovery
service for 50 times the price of a new harddisk.

I found out that fsck_ffs version 7 seems to stumble at incorrectly
read or processed variables maxino and lastvalidinum. After removing
these obstacles from the source code fsck seemed to process further,
but did not reach the point where collected inode data would be
restored into the lost+found/ directory. This is what I do expect.



  Out of curiosity, I booted my system with a done version 5 installation
  harddisk I had extracted from a system some years ago, and guess what?
  fsck_ffs version 5 seemed to do more than version 7 did! This is what I
  get:
 
  fsck_ffs: cannot alloc 1073796864 bytes for inoinfo
 
  My question: My machine has 768 MB RAM (512 + 256 MB SDR-SDRAM) and
  fsck_ffs seems to request 1 GB RAM (1073796864/1024/1024/1024). Is
  it possible to provide this amount of RAM via a harddisk backed RAM
  disk or a swap partition?
 
 Swap should be fine; the allocation is just a regular calloc(3) call.

So I should assert a swap partition big enough; /dev/ad2s1b should
be fine for this.



  I think I'll try ffsck_ffs version 6 from a PC-BSD installation that
  must be somewhere around here...
 
 Not likely to help, but since you aren't working with the original
 disk, you don't have much to lose by trying...

That's why I'm glad (haha) that dd replicates the error 1:1.
Maybe fsck_ffs version 6 behaves differently than 5 or 7.



If I gathered more information and did try some more things,
I may bring up my most sad problem here again.

And: No, I didn't have a backup. :-(



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Fetching precompiled packages for external install

2008-08-19 Thread Manolis Kiagias

Polytropon wrote:

On Tue, 19 Aug 2008 22:34:41 +0300, Manolis Kiagias [EMAIL PROTECTED] wrote:
  

See this discussion in -questions a few days ago:

http://lists.freebsd.org/pipermail/freebsd-questions/2008-August/180001.html



Hmmm... this seems to refer to a procedure involving ports. I don't
wanted to compile anything, just a recursive fetch. Please see my
other reply for the ugly solution I found.

  


It doesn't have to be done through ports, you can still get the packages 
using pkg_add -r and then recreate them using pkg_create -Rb. Side 
effect is the packages will be installed on the download machine, and 
that may not be what you want. But you could probably use a jail to 
avoid this.

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


Re: kde troubles....

2008-08-19 Thread Polytropon
On Mon, 18 Aug 2008 15:36:37 -0700, Gary Kline [EMAIL PROTECTED] wrote:
 On Mon, 2008-08-18 at 03:57 +0200, Polytropon wrote:
  On Sun, 17 Aug 2008 17:41:42 -0700, Gary Kline [EMAIL PROTECTED] wrote:
   On Mon, 2008-08-18 at 02:02 +0200, Polytropon wrote:
Yes, since I need to use FreeBSD 7 after an accident destroying all
my data where fsck cannot help anymore, and FreeBSD 7 and it's
software does not behave the way I think it should... :-(

 
 After my Nov., 1999 disk failure, I found that my 4G tape had
 overwritten stuff; I lost 10 months of data files.   .

For me, it was July 2nd. The data is still there, but I can't
access it because the inode at the entry to my home directory
has died, and fsck_ffs says stupid things. :-)



 Are you using gcc 4.3 with -O3?

% cc --version
cc (GCC) 4.2.1 20070719  [FreeBSD]

 I have noticed that 4.3 generates
 faster binaries. 

Well, I don't care if buildworld lasts 3, 4 or 5 hours, but 9 hours?
With FreeBSD 5, everything went fine, but as I am using FreeBSD 7
now, things seem (!) to run much slower. Opera does 100% CPU load,
the USB keyboard is detected minutes after startup, the duplex printer
does not print duplex anymore...



  In the good old times, you could update your applications
  and they ran faster on the same hardware. That's what I've loved
  FreeBSD for. Today, the applications run slower after every
  update, so I have to update my hardware in order to just keep
  the speed?
  
 
 Sounds like DOS/Windows. 

Bah, that's why I'm using FreeBSD - to benefit from the speed
improvements in the same (!) hardware. Sadly, this doesn't seem
to be true anymore...?



 Every new release, Intel counts up its
 $billions in faster uprocessors.  With our stuff, it may be X11 and
 possibly sloppy hacking.  I can't tell since I just gave away my old
 750MHz for a 2.4GHz Dell.  

I may tell this: My 300 MHz P2 runs faster than my 2000 MHz P4!
And I won't buy any new stuff as long as the old one is working
well, just to keep the same speed? Wrong universe. Something must be
wrong here...



 Examples, please?  ball-park [estimates] for times are okay.

On FreeBSD 7 before and after update (RVS is a custom kernel):

# time make buildkernel KERNCONF=RVS
3289.368u 529.669s 1:05:25.90 97.2% -4998+1011k 594+1344io 19pf+0w
3503.732u 524.399s 1:11:05.53 94.4% -4434+1071k 15322+1391io 
363pf+0w
# time make buildworld
11457.047u 2151.158s 3:54:15.31 96.8%   -151+1107k 23315+5217io 
2542pf+0w
# time make installkernel KERNCONF=RVS
17.396u 12.587s 0:46.89 63.9%   392+738k 5+1213io 248pf+0w

# time make buildworld buildkernel KERNCONF=RVS -DUSBDEBUG
16574.070u 2516.128s 6:06:03.90 86.9%   -191+-1116k 33078+6212io 
3131pf+0w

# time make buildkernel KERNCONF=RVS -D USBDEBUG
4032.019u 572.636s 1:58:29.08 64.7% -2702+1072k 14386+1288io 
366pf+0w

# time make buildkernel KERNCONF=RVS -D USBDEBUG
18232.967u 2427.404s 7:19:49.24 78.2%   391+379k 47250+5754io 3049pf+0w

# time make installkernel KERNCONF=RVS
18.890u 12.131s 1:11.85 43.1%   412+2177k 2908+2267io 1597pf+0w

# time make buildworld buildkernel KERNCONF=RVS
18992.839u 2569.146s 9:12:00.28 65.1%   927+762k 25593+6358io 2506pf+0w

On FreeBSD 5 with the same hardware configuration:

With CPUFLAGS:
# make buildworld buildkernel KERNCONF=wega
   17494.415u 2562.134s 5:46:42.25 96.4%   -698+-372k 43107+2928io 
2827pf+0w

Without CPUFLAGS:
# make buildworld buildkernel KERNCONF=wega
   17474.169u 2481.368s 5:46:30.40 95.9%   -1038+-774k 39520+2905io 
2595pf+0w

# make buildkernel KERNCONF=wega
   2326.380u 234.457s 43:42.15 97.6%   1183+1677k 3176+188io 
112pf+0w

/usr/ports# portupgrade XFree86-Server
   332.595u 82.812s 2:12:18.97 5.2%172+637k 2631+391io 550pf+0w

/usr/ports/x11-servers/driglide# make install clean
   333.174u 82.905s 7:06.14 97.6%  961+1097k 575+30io 156pf+0w

/usr/ports/multimedia/mplayer# time make WITH_SDL=yes WITH_VORBIS=yes
WITH_XANIM=yes WITH_REALPLAYER=yes WITH_LIVEMEDIA=yes
WITH_XANIM=yes WITH_REALPLAYER=yes WITH_LIVEMEDIA=yes
WITH_OPTIMIZED_CFLAGS=yes WITHOUT_RUNTIME_CPUDETECTION=yes
HAVE_GNOME=no CFLAGS=-O3 -pipe -ffast-math install clean
   3622.758u 602.146s 1:19:43.90 88.3% 1243+2304k 1424+1448io 
915pf+0w

# make buildworld buildkernel
5608.712u 1595.130s 2:13:18.67 90.0%-2759+2043k 33442+2608io 
15274pf+0w
# make buildworld
5086.993u 1431.086s 1:58:16.33 91.8%-2924+2023k 44932+2512io 
3939pf+0w
# make buildkernel KERNCONF
1102.491u 278.194s 25:18.58 90.9%   3629+1716k 4965+669io 193pf+0w
# make buildkernel KERNCONF
1182.203u 294.622s 26:12.71 93.9%  

Re: Still, no-joy with kdm......

2008-08-19 Thread Polytropon
On Tue, 19 Aug 2008 11:25:42 -0700, Gary Kline [EMAIL PROTECTED] wrote:
   I haven't edited /etc/ttys yet; I may.  But I think something got
   broken [mis-CLEANED by fsck or otherwise damanaged during the
   weekend power-out].  

When I had my big problem... haha... some structures in /, some in
/var and the whole /usr/X11R6 disappeared. Well, that doesn't matter
to me because all this stuff can easily be reinstalled (which would
be a good advice to do when you think that parts of the system may
be missing, just to be sure).



   It may be easier to completely remove v3 and re-install kde4.

Yes, this should leave the system in a default state where KDE4
should run fine without complaining about stuff from version 3.



   I'm pretty sure I was in ./root or slash when I logged in.

Display managers (xdm, gdm, kdm, wdm), when run manually, have to
be run as user root:

Login: root
# xdm
# exit

X sessions started via the xinitrc command and a proper ~/.xinitrc
file should not be run as root, but from a regular user account:

Login: bob
% startx

To run a display manager automatically, /etc/ttys needs to contain
the correct line:

# name  getty   typestatus  comments
ttyv8   /usr/local/bin/xdm -nodaemon  xterm   on  secure

For gdm, kdm and wdm, use /usr/local/bin/[gkw]dm respectively.

Finally, there's an easy way to automatically login a user (ATTENTION,
SECURITY RISK!) and start an X session for him. Therefore, /etc/gettytab
needs a little modification:

default:\
...

autologin:\
:al=username:tc=Pc:

a|std.110|110-baud:\
...

As well, the user's ~/.login file needs to start X; last line:

[ -f /tmp/.X0-lock ]  startx

For this solution, xdm may not be loaded via /etc/ttys - only
one instance of X will run (except you put some extra stuff there).

But please, keep in mind that this procedure enables anyone with
physical access to the machine can click around stupidly and mess
up things.




-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problems with make install in kde4

2008-08-19 Thread Mario Lobo
Hi;

The 'make' of /usr/ports/x11/kd4 went fine.

When I 'make install', i get this:

(snip)
===   kdegraphics-4.1.0 depends on shared library: qimageblitz.4 - found
===   kdegraphics-4.1.0 depends on shared library: spectre.1 - not found
===Verifying install for spectre.1 in /usr/ports/print/libspectre
===   libspectre-0.2.0 depends on file: /usr/local/bin/libtool - found
===   libspectre-0.2.0 depends on executable: gs - found
===   libspectre-0.2.0 depends on shared library: cairo.2 - found
===  Configuring for libspectre-0.2.0
pkg_info: no packages match pattern(s)
configure: WARNING: you should use --build, --host, --target
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
(snip)
checking for gsapi_new_instance in -lgs... no
configure: error: You need libgs in order to compile libspectre
===  Script configure failed unexpectedly.

I found on the net that ghostscrip7 would have libgs. I built and installed it 
but the error persists.

Would any one have any advice for this?

thanks
-- 
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winedows FREE)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Fetching precompiled packages for external install

2008-08-19 Thread RW
On Tue, 19 Aug 2008 23:50:51 +0200
Polytropon [EMAIL PROTECTED] wrote:

 On Tue, 19 Aug 2008 14:39:48 -0400, Lowell Gilbert
 [EMAIL PROTECTED] wrote:
  I don't see anything direct, but the *-depends-list targets will
  probably get you close enough to work it out.
 
 Sorry, I don't know what *-depends-list targets refers to. But
 I think it's something about the ports which I don't want to use,
 instead, using the precompiled packages is what I wanted to.

It's not about building from ports, it's about using the ports tree to
infer the runtime dependencies. You would recurse through make
run-depends-list doing  a make -V PKGNAME in each directory. If you
don't mind downloading some build dependencies you can just do a make
all-depends-list, which is already recursive.

If you use the release port tree and the release package repository,
the package versions will all match-up. 


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


How to set TCP parameter?

2008-08-19 Thread EdwardKing
How to set TCP parameters,such as tcp_time_wait_interval?

Thanks


--
Confidentiality Notice: The information contained in this e-mail and any
accompanying attachment(s) is intended only for the use of the intended
recipient and may be confidential and/or privileged of Neusoft Corporation, its 
subsidiaries and/or its affiliates. If any reader of this communication is not 
the intended recipient, unauthorized use, forwarding, printing, storing, 
disclosure or copying is strictly prohibited, and may be unlawful. If you have 
received this communication in error, please immediately notify the sender by 
return e-mail, and delete the original message and all copies from your system. 
Thank you. 
---

___
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 set TCP parameter?

2008-08-19 Thread Daniel Molina Wegener
On Tuesday 19 August 2008 21:17:46 EdwardKing wrote:
 How to set TCP parameters,such as tcp_time_wait_interval?

  Try sysctl(8) and sysctl.conf(8)


 Thanks


 [SNIP]

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


Regards,
-- 
 .O. | Daniel Molina Wegener   | C/C++ Developer
 ..O | dmw [at] unete [dot] cl | FOSS Coding Adict
 OOO | FreeBSD  Linux User| Standards Rocks!
___
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 set TCP parameter?

2008-08-19 Thread Patrick Mahan


EdwardKing presented these words - circa 8/19/08 6:17 PM-
 How to set TCP parameters,such as tcp_time_wait_interval?


You should use 'sysctl'.  See 'man 8 sysctl'.

However, I don't see any time wait variables available via sysctl.  Are you
trying to modify the time spent in the TIME_WAIT state?

Patrick

 Thanks
 
 
 --
 Confidentiality Notice: The information contained in this e-mail and any
 accompanying attachment(s) is intended only for the use of the intended
 recipient and may be confidential and/or privileged of Neusoft Corporation, 
 its subsidiaries and/or its affiliates. If any reader of this communication 
 is not the intended recipient, unauthorized use, forwarding, printing, 
 storing, disclosure or copying is strictly prohibited, and may be unlawful. 
 If you have received this communication in error, please immediately notify 
 the sender by return e-mail, and delete the original message and all copies 
 from your system. 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: How to set TCP parameter?

2008-08-19 Thread EdwardKing
Yes,I want to modify spent in the TIME_WAIT state? How to realize it?

I use sysctl to view TCP parameter,but it failed
$sysctl TCP_TIME_WAIT_INTERVAL
sysctl: unknown oid 'TCP_TIME_WAIT_INTERVAL'

Where is wrong?

- Original Message - 
From: Patrick Mahan [EMAIL PROTECTED]
To: EdwardKing [EMAIL PROTECTED]
Cc: FreeBSD freebsd-questions@freebsd.org
Sent: Wednesday, August 20, 2008 9:59 AM
Subject: Re: How to set TCP parameter?


 
 
 EdwardKing presented these words - circa 8/19/08 6:17 PM-
 How to set TCP parameters,such as tcp_time_wait_interval?

 
 You should use 'sysctl'.  See 'man 8 sysctl'.
 
 However, I don't see any time wait variables available via sysctl.  Are you
 trying to modify the time spent in the TIME_WAIT state?
 
 Patrick
 
 Thanks
 
 
 --
 Confidentiality Notice: The information contained in this e-mail and any
 accompanying attachment(s) is intended only for the use of the intended
 recipient and may be confidential and/or privileged of Neusoft Corporation, 
 its subsidiaries and/or its affiliates. If any reader of this communication 
 is not the intended recipient, unauthorized use, forwarding, printing, 
 storing, disclosure or copying is strictly prohibited, and may be unlawful. 
 If you have received this communication in error, please immediately notify 
 the sender by return e-mail, and delete the original message and all copies 
 from your system. Thank you. 
 ---
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 



--
Confidentiality Notice: The information contained in this e-mail and any
accompanying attachment(s) is intended only for the use of the intended
recipient and may be confidential and/or privileged of Neusoft Corporation, its 
subsidiaries and/or its affiliates. If any reader of this communication is not 
the intended recipient, unauthorized use, forwarding, printing, storing, 
disclosure or copying is strictly prohibited, and may be unlawful. If you have 
received this communication in error, please immediately notify the sender by 
return e-mail, and delete the original message and all copies from your system. 
Thank you. 
---

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


Re: kde troubles....

2008-08-19 Thread Gary Kline
On Wed, Aug 20, 2008 at 12:59:59AM +0200, Polytropon wrote:
 On Mon, 18 Aug 2008 15:36:37 -0700, Gary Kline [EMAIL PROTECTED] wrote:
  On Mon, 2008-08-18 at 03:57 +0200, Polytropon wrote:
   On Sun, 17 Aug 2008 17:41:42 -0700, Gary Kline [EMAIL PROTECTED] wrote:
On Mon, 2008-08-18 at 02:02 +0200, Polytropon wrote:
 Yes, since I need to use FreeBSD 7 after an accident destroying all
 my data where fsck cannot help anymore, and FreeBSD 7 and it's
 software does not behave the way I think it should... :-(
 
  
  After my Nov., 1999 disk failure, I found that my 4G tape had
  overwritten stuff; I lost 10 months of data files.   .
 
 For me, it was July 2nd. The data is still there, but I can't
 access it because the inode at the entry to my home directory
 has died, and fsck_ffs says stupid things. :-)
 

Can you connect with your network in any way?  A couple years ago
I had an Oh no situation where I figured everything was lost,
but by booting single-user a network wizard somewhere nearby came
by and moved /home, /etc/ and /usr/local/etc to my Ubuntu
computer.  It was voodoo to me.  Still is.  Suggest to hang on to
your drive and see if there is some net-wizard nearby you.  

 
 
  Are you using gcc 4.3 with -O3?
 
   % cc --version
   cc (GCC) 4.2.1 20070719  [FreeBSD]
 
  I have noticed that 4.3 generates
  faster binaries. 
 
 Well, I don't care if buildworld lasts 3, 4 or 5 hours, but 9 hours?
 With FreeBSD 5, everything went fine, but as I am using FreeBSD 7
 now, things seem (!) to run much slower. Opera does 100% CPU load,
 the USB keyboard is detected minutes after startup, the duplex printer
 does not print duplex anymore...


Sometimes when I have many instantiations of kde-gnash going I
grind to a crawl, then to a near halt.  This is with 7.0.  I
didn't see that with 6.x.
 
 
   In the good old times, you could update your applications
   and they ran faster on the same hardware. That's what I've loved
   FreeBSD for. Today, the applications run slower after every
   update, so I have to update my hardware in order to just keep
   the speed?
   
  
  Sounds like DOS/Windows. 
 
 Bah, that's why I'm using FreeBSD - to benefit from the speed
 improvements in the same (!) hardware. Sadly, this doesn't seem
 to be true anymore...?
 
 
 
  Every new release, Intel counts up its
  $billions in faster uprocessors.  With our stuff, it may be X11 and
  possibly sloppy hacking.  I can't tell since I just gave away my old
  750MHz for a 2.4GHz Dell.  
 
 I may tell this: My 300 MHz P2 runs faster than my 2000 MHz P4!
 And I won't buy any new stuff as long as the old one is working
 well, just to keep the same speed? Wrong universe. Something must be
 wrong here...
 


 Have you posted to the kernel hackers?  Can you borrow someone's
 fast[er] hardware and duplicate your configuration?

 
 
  Examples, please?  ball-park [estimates] for times are okay.
 
 On FreeBSD 7 before and after update (RVS is a custom kernel):
 
   # time make buildkernel KERNCONF=RVS
   3289.368u 529.669s 1:05:25.90 97.2% -4998+1011k 594+1344io 19pf+0w
   3503.732u 524.399s 1:11:05.53 94.4% -4434+1071k 15322+1391io 
 363pf+0w
   # time make buildworld
   11457.047u 2151.158s 3:54:15.31 96.8%   -151+1107k 23315+5217io 
 2542pf+0w
   # time make installkernel KERNCONF=RVS
   17.396u 12.587s 0:46.89 63.9%   392+738k 5+1213io 248pf+0w
 
   # time make buildworld buildkernel KERNCONF=RVS -DUSBDEBUG
   16574.070u 2516.128s 6:06:03.90 86.9%   -191+-1116k 33078+6212io 
 3131pf+0w
 
   # time make buildkernel KERNCONF=RVS -D USBDEBUG
   4032.019u 572.636s 1:58:29.08 64.7% -2702+1072k 14386+1288io 
 366pf+0w
 
   # time make buildkernel KERNCONF=RVS -D USBDEBUG
   18232.967u 2427.404s 7:19:49.24 78.2%   391+379k 47250+5754io 3049pf+0w
 
   # time make installkernel KERNCONF=RVS
   18.890u 12.131s 1:11.85 43.1%   412+2177k 2908+2267io 1597pf+0w
 
   # time make buildworld buildkernel KERNCONF=RVS
   18992.839u 2569.146s 9:12:00.28 65.1%   927+762k 25593+6358io 2506pf+0w
 
 On FreeBSD 5 with the same hardware configuration:
 
   With CPUFLAGS:
   # make buildworld buildkernel KERNCONF=wega
  17494.415u 2562.134s 5:46:42.25 96.4%   -698+-372k 43107+2928io 
 2827pf+0w
 
   Without CPUFLAGS:
   # make buildworld buildkernel KERNCONF=wega
  17474.169u 2481.368s 5:46:30.40 95.9%   -1038+-774k 39520+2905io 
 2595pf+0w
 
   # make buildkernel KERNCONF=wega
  2326.380u 234.457s 43:42.15 97.6%   1183+1677k 3176+188io 
 112pf+0w
 
   /usr/ports# portupgrade XFree86-Server
  332.595u 82.812s 2:12:18.97 5.2%172+637k 2631+391io 550pf+0w
 
   /usr/ports/x11-servers/driglide# make install clean
  333.174u 82.905s 7:06.14 97.6%  961+1097k 575+30io 156pf+0w
 
   

Unable to access certain sites from FreeBSD 6.2

2008-08-19 Thread alasdair
Hi, I am having a problem accessing some sites from Freebsd 6.2 in either
firefox or Opera. I looked around for some advice on this on the net, found
some pages mentioning this as a problem when Freebsd was running on the machine

acting as the gateway  and the machines trying to access the sites were Windows
or Mac. But my case is this

my set up:   Laptop(FreeBSD 6.2) - netgearFVS318 router- ADSL modem (set
up as  bridge)


I have 2 other machines connected to the router, one running Windows XP Home
and the other NetBSD 3.01 both have no problem accessing the sites that I
can't access on the FreeBSD machine. resolv.conf is set up with the addresses
of both my ISP's DNS servers. 

Below are the results of ifconfig -a and traceroute -v to one of the problem
sites.

Any clues?

Thanks in advance,

Alasdair
%ifconfig -a
re0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
inet6 fe80::21a:92ff:fed8:ef44%re0 prefixlen 64 scopeid 0x1
inet 192.168.0.6 netmask 0xff00 broadcast 192.168.0.255
ether 00:1a:92:d8:ef:44
media: Ethernet autoselect (100baseTX full-duplex)
status: active
fwe0: flags=108802BROADCAST,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500
options=8VLAN_MTU
ether 02:e0:18:88:76:f0
ch 1 dma -1
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet 127.0.0.1 netmask 0xff00
%traceroute -v www.commbank.com.au
traceroute: Warning: www.commbank.com.au has multiple addresses; using 
210.10.102.196
traceroute to www.commbank.com.au (210.10.102.196), 64 hops max, 40 byte
packets
 1  192.168.0.1 (192.168.0.1) 36 bytes to 192.168.0.6  0.791 ms  0.255 ms
 0.192 ms
 2  lb0.sydbras2.syd.iprimus.net.au (203.134.7.66) 36 bytes to 192.168.0.6
 11.593 ms  12.151 ms  11.092 ms
 3  vlan450.sw01.syd.iprimus.net.au (203.134.7.1) 36 bytes to 192.168.0.6
 11.540 ms  11.639 ms  11.791 ms
 4  fe00.ac04.syd.iprimus.net.au (203.134.67.131) 36 bytes to 192.168.0.6
 11.077 ms  10.422 ms  12.072 ms
 5  g2-1-0-5.bdr5.hay.connect.com.au (203.8.183.58) 36 bytes to 192.168.0.6
 11.568 ms  11.834 ms  11.338 ms
 6  gigabitethernet0-2.cor13.hay.connect.com.au (203.63.217.85) 36 bytes
to 192.168.0.6  11.820 ms  11.940 ms  11.021 ms
 7  210.8.238.1 (210.8.238.1) 36 bytes to 192.168.0.6  13.266 ms  13.421
ms  13.060 ms
 8  * * *
 9  210.10.100.2 (210.10.100.2) 36 bytes to 192.168.0.6  14.151 ms  14.017
ms  13.555 ms
10  * * *
11  * * *
12  * * *
13  * * *
14  * * *
15  * * *
16  * * *
17  * * *
18  * * *
19  * * *
20  * * *
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
26  * * *
27  * * *
28  * * *
29  * * *
30  * * *
31  * * *
32  * * *
33  * * *
34  * * *
35  * * *
36  * * *
37  * * *
38  * * *
39  * * *
40  * * *
41  * * *
42  * * *
43  * * *
44  * * *
45  * * *
46  * * *
47  * * *
48  * * *
49  * * *
50  * * *
51  * * *
52  * * *
53  * * *
54  * * *
55  * * *
56  * * *
57  * * *
58  * * *
59  * * *
60  * * *
61  * * *
62  * * *
63  * * *
64  * * *
%
$

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


Re: using sys/fusefs-ntfs as the home dir

2008-08-19 Thread Aryeh Friedman
On Tue, Aug 19, 2008 at 10:59 PM, Aryeh Friedman
[EMAIL PROTECTED] wrote:
 For the last couple of months I have stopped using a dual boot machine due to:

 1. Not having an activated copy of vista (fixed)
 2. Wine handling 90% of my common needs up to last week (NBC is
 broadcasting the olympics in a format wine can't handle and most of my
 games don't work [and the ones that do have no audio])

 thus I am going back to a dual boot setup with the following config (I hope):

 500 GB internal drive in 2 partions (min. for vista [c:] and the rest
 for fbsd [8-current])
 250 GB external (usb) that will be ntfs formated [d: for windows and
 /mnt/d on fbsd)

 My question how do I set it up so my windows user's dir is the same as
 my home dir on fbsd? (assume it will be on the ext. drive)?

 Secondary question which I know is answered at WineHQ so no need to
 answer unless there is a BSD specific issue is how do I make it so
 wine will treat the first partion of the 500 GB as ~/.wine/drive_c and
 the same for the external


Forgot one big qualifier to thue question... I want it so my firefox
and thunderbird folders are the same location on both OS's and that if
I dl mail/add a bookmark/etc that both OS's will handle it correctly
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


using sys/fusefs-ntfs as the home dir

2008-08-19 Thread Aryeh Friedman
For the last couple of months I have stopped using a dual boot machine due to:

1. Not having an activated copy of vista (fixed)
2. Wine handling 90% of my common needs up to last week (NBC is
broadcasting the olympics in a format wine can't handle and most of my
games don't work [and the ones that do have no audio])

thus I am going back to a dual boot setup with the following config (I hope):

500 GB internal drive in 2 partions (min. for vista [c:] and the rest
for fbsd [8-current])
250 GB external (usb) that will be ntfs formated [d: for windows and
/mnt/d on fbsd)

My question how do I set it up so my windows user's dir is the same as
my home dir on fbsd? (assume it will be on the ext. drive)?

Secondary question which I know is answered at WineHQ so no need to
answer unless there is a BSD specific issue is how do I make it so
wine will treat the first partion of the 500 GB as ~/.wine/drive_c and
the same for the external
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]