Re: Implementing IMAP advice for first timer

2006-05-24 Thread Chad Leigh -- Shire.Net LLC


On May 23, 2006, at 11:14 PM, Olivier Nicole wrote:


Installing it from ports (/usr/ports/mail/courier-imap) is pretty
straightforward, and most settings can be left at the default, at  
least


True, except...

Courrier-imap is using maildir mailboxes, so unless the existing
system already uses maildir, there will be some disturbance at the
conversion time.


Can be done very minimally.  When we converted from mbox to maildir  
(coincidentally to courier) about 4 years ago we just did it in the  
middle of the night and had a script that converted the mbox to  
maildir (found on a qmail site) and it went fast and quick and mail  
access was turned off for only a short time...


Probably less of a hassle then moving to cyrus but my experience with  
cyrus was long ago


Chad



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


---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net



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


Re: port of ogle-0.9.2 in 6.1-RELEASE

2006-05-24 Thread m . apitz
El día Tuesday, May 23, 2006 a las 03:05:19PM +0200, guru escribió:

 
 Hello,
 
 I send this information to you as the maintainer of this port.
 While installing the above port it fails with:
 
   ...
 checking for a52_free in -la52-devel ... no
 checking for a52_init in -la52-devel ... no
 configure: error: Need liba52, install a52dec or specify it's location
 ===  Script configure failed unexpectedly.
 
 the problem from /usr/ports/multimedia/ogle/work/ogle-0.9.2/config.log
 is:
 
 configure:12292: checking for a52_free in -la52-devel
 configure:12325: cc -o conftest -L/usr/local/lib  -I/usr/local/include  
 conftest
 .c -la52-devel  -L/usr/local/lib -lm  5 
 /usr/local/lib/liba52-devel.so: undefined reference to `fftc4_un64'
 /usr/local/lib/liba52-devel.so: undefined reference to `fftc4_un128'
...

I've looked deeper into the problem and it turned out that
the unresolved references in liba52-devel.so are coming from
FFMpeg-2005112800/libavcodec/liba52/imdct.c where the code reads:

#ifdef LIBA52_DJBFFT
if (mm_accel  MM_ACCEL_DJBFFT) {
ifft128 = (void (*) (complex_t *)) fftc4_un128;
ifft64 = (void (*) (complex_t *)) fftc4_un64;
} else
#endif

and after re-building the port /usr/ports/audio/liba52-devel with
'make WITHOUT_DJBFFT=yes install' the problem in the the port
/usr/ports/multimedia/ogle went away and ogle installs fine.

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC PICA GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e [EMAIL PROTECTED] - w http://www.oclcpica.org/ http://guru.UnixLand.de/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: deskutils/taskjuggler failing on 6.1-RC

2006-05-24 Thread Yousef Raffah
On Sun, 2006-05-21 at 09:05 -0400, Gerard Seibert wrote:
 Yousef Raffah wrote:
 
  I'm trying to build deskutils/taskjuggler but it keeps on failing
  saying:
  
  
  le.Tpo -c -o ProjectFile.lo ProjectFile.cpp; \
  then mv -f .deps/ProjectFile.Tpo .deps/ProjectFile.Plo; else rm -f
  .deps/ProjectFile.Tpo; exit 1; fi
  In file included from ProjectFile.cpp:63:
  ICalReport.h:19:35: libkcal/calendarlocal.h: No such file or directory
  ICalReport.h:20:26: libkcal/todo.h: No such file or directory
  In file included from ProjectFile.cpp:63:
  ICalReport.h:37: error: `KCal' has not been declared
  ICalReport.h:37: error: ISO C++ forbids declaration of `Todo' with no
  type
  ICalReport.h:37: error: expected `;' before '*' token
  gmake[2]: *** [ProjectFile.lo] Error 1
  gmake[2]: Leaving directory
  `/usr/ports/deskutils/taskjuggler/work/taskjuggler-2.2.0/taskjuggler'
  gmake[1]: *** [all-recursive] Error 1
  gmake[1]: Leaving directory
  `/usr/ports/deskutils/taskjuggler/work/taskjuggler-2.2.0'
  gmake: *** [all] Error 2
  *** Error code 2
  
  I *thought* installing net/kdenetwork3 would solve it but it didn't
  help, any ideas? :(
  
  I'm running FreeBSD 6.1-RC #0: Sat Apr 29 17:16:15 AST 2006
  
  
  --
  Sincerely,
  Yousef Raffah
  Senior Systems Administrator
 
 First, make sure your ports system is up to date. Then install
 'portmanager' if it is not already installed.
 
 Now, run this command, as root obviously:
 
 portmanager deskutils/taskjuggler -l -f
 
 This will build the port, and force building of all of its dependencies.
 A log file will be created: /var/log/portmanager.log that you can
 inspect after the build is finished.
 
I have tried to use portmanager deskutils/taskjuggler -l -f and it did
update many ports for me, however it is saying that it skipped a couple
of packages as per the below log. On the other hand, I wanted to make
sure my packages are all updated so I also ran portupgrade -a and it
seems that all my ports are updated now. However, portmanager still
shows some packages need to be update while I'm sure they already are,
perl-5.8.8 for example.


 Port Status Report forced mode

1 :taskjuggler-2.2.0   /deskutils/taskjuggler
MISSING
2 PRISTINE MODE:
p5-Date-Calc-5.4/devel/p5-Date-Calc
has incorrect p5-Carp-Clan-5.3 entry in +CONTENTS file
3
:p5-Class-MethodMaker-2.08   /devel/p5-Class-MethodMaker
MISSING
4
:p5-PostScript-Simple-0.07   /print/p5-PostScript-Simple
MISSING
5 have:p5-XML-Parser-2.34_2/textproc/p5-XML-Parser
ORIGINAL
6 :qt-3.3.6_2  /x11-toolkits/qt33
MISSING
7 have:perl-5.8.8  /lang/perl5.8
ORIGINAL
8 :kdelibs-3.5.2_1 /x11/kdelibs3
MISSING
9 have:p5-Bit-Vector-6.4_1 /math/p5-Bit-Vector
built with OLD dependency: p5-Carp-Clan-5.3
00010 :p5-PathTools-3.18   /devel/p5-PathTools
MISSING
00011 have:qmake-3.3.6 /devel/qmake
ORIGINAL
00012 :libmng-1.0.9/graphics/libmng
MISSING
00013 have:jpeg-6b_4   /graphics/jpeg
ORIGINAL
00014 have:libXft-2.1.7_1  /x11-fonts/libXft
ORIGINAL
00015 have:xorg-libraries-6.9.0/x11/xorg-libraries
ORIGINAL
00016 :xorg-clients-6.9.0_3/x11/xorg-clients
MISSING
00017 :openssl-0.9.8b  /security/openssl
MISSING
00018 PRISTINE MODE:
xorg-fonts-truetype-6.9.0   /x11-fonts/xorg-fonts-truetype
has incorrect xorg-clients-6.9.0_3 entry in +CONTENTS file
00019
have:xorg-fonts-encodings-6.9.0_1/x11-fonts/xorg-fonts-encodings
built with OLD dependency: xorg-clients-6.9.0_3
00020 :OpenEXR-1.2.2_1 /graphics/OpenEXR
MISSING
00021 have:libart_lgpl2-2.3.17_1   /graphics/libart_lgpl2
ORIGINAL
00022 have:arts-1.5.2,1/audio/arts
built with OLD dependency: qt-3.3.6_2
00023 have:aspell-0.60.4_3 /textproc/aspell
ORIGINAL
00024 :libidn-0.6.3/dns/libidn
MISSING
00025 have:jasper-1.701.0_1/graphics/jasper
ORIGINAL
00026 :lua-5.0.2_1 /lang/lua50
MISSING
00027 have:tiff-3.8.2  /graphics/tiff
ORIGINAL
00028 have:libxml2-2.6.24_1/textproc/libxml2
ORIGINAL
00029 have:libxslt-1.1.16_2/textproc/libxslt
ORIGINAL
00030 :cups-base-1.1.23.0_9/print/cups-base
MISSING
00031 :gamin-0.1.7_2   /devel/gamin
MISSING
00032 :p5-Carp-Clan-5.3/devel/p5-Carp-Clan
MISSING
00033
have:p5-Scalar-List-Utils-1.18,1 /lang/p5-Scalar-List-Utils
ORIGINAL
00034 

Postgresql Autovacuum how?

2006-05-24 Thread User Gandalf


 Hello,

I have FreeBSD 6.1 and PostgreSQL 8.1.3 installed. I had to change the 
pg_hba.conf settings, because I need to open the 5432 port for everyone 
(SSL enabled). For this reason, I also gave strong passwords for all 
postgresql users. Now this is what I see in the daily run output 
(/usr/local/etc/periodic/daily/502.pgsql):


vacuuming...
Password: 
vacuumdb: could not connect to database postgres: fe_sendauth: no password supplied


Errors were reported during vacuum.


This is my pg_hba.conf file:

# TYPE  DATABASEUSERCIDR-ADDRESS  METHOD
# local is for Unix domain socket connections only
local   all all   ident sameuser
hostall all 127.0.0.1/32  md5
hostssl all all 0.0.0.0 0.0.0.0   md5

The autovacuum script was packaged for FreeBSD, so I assume this is a 
FreeBSD specific thing. My question is: why ident/sameuser not working 
here? How can I enable auto vacuums without storing the password in the 
periodic/daily/502.pgsql  script?


Thanks,

  Laszlo

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


Re: pf: changing tables with rules

2006-05-24 Thread Peter N. M. Hansteen
[EMAIL PROTECTED]@mgedv.net [EMAIL PROTECTED] writes:

 is it possible to write pf.conf rules, that will add matching
 packets to tables? if yes, can someone post an example for me?

Yes. One rather straightforward way is via the overload mechanism, see
eg http://www.bgnett.no/~peter/pf/en/bruteforce.html.

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://www.blug.linux.no/rfc1149/ http://www.datadok.no/ http://www.nuug.no/
First, we kill all the spammers The Usenet Bard, Twice-forwarded tales
20:11:56 delilah spamd[26905]: 146.151.48.74: disconnected after 36099 seconds.

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


Re: Postgresql Autovacuum how?

2006-05-24 Thread Nick Withers
On Wed, 24 May 2006 09:39:41 +0200
User Gandalf [EMAIL PROTECTED] wrote:

 
   Hello,
 
 I have FreeBSD 6.1 and PostgreSQL 8.1.3 installed. I had to change the 
 pg_hba.conf settings, because I need to open the 5432 port for everyone 
 (SSL enabled). For this reason, I also gave strong passwords for all 
 postgresql users. Now this is what I see in the daily run output 
 (/usr/local/etc/periodic/daily/502.pgsql):
 
 vacuuming...
 Password: 
 vacuumdb: could not connect to database postgres: fe_sendauth: no password 
 supplied
 
 Errors were reported during vacuum.

I've created a .pgpass file in /root (which is read only by
root) containing the password for the pgsql user. A quick
Google on pgpass turned up this content from
http://pgsqld.active-venture.com/libpq-files.html:
_

(...)

This file should have the format:

hostname:port:database:username:password

Any of these may be a literal name, or *, which matches
anything. The first match will be used so put more specific
entries first. Entries with : or \ should be escaped with \.

The permissions on .pgpass must disallow any access to world or
group; achieve this by the command chmod 0600 .pgaccess. If the
permissions are less strict than this, the file will be
ignored.
_

 This is my pg_hba.conf file:
 
 # TYPE  DATABASEUSERCIDR-ADDRESS  METHOD
 # local is for Unix domain socket connections only
 local   all all   ident sameuser
 hostall all 127.0.0.1/32  md5
 hostssl all all 0.0.0.0 0.0.0.0   md5
 
 The autovacuum script was packaged for FreeBSD, so I assume this is a 
 FreeBSD specific thing. My question is: why ident/sameuser not working 
 here? How can I enable auto vacuums without storing the password in the 
 periodic/daily/502.pgsql  script?

I'm not familiar with the sameuser directive, presumably this
prohibits a system user from logging in as a user in the
database with a different name? If this is the case, I don't
imagine the solution I've described above will help resolve
this issue.

-- 
Nick Withers
email: [EMAIL PROTECTED]
Web: http://www.nickwithers.com
Mobile: +61 414 397 446
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


unixODBC Oracle

2006-05-24 Thread Vittorio
I heavily use ODBC to connect to Postgresql, Mysql and Oracle 9 
databases under windows xp using Access (the use of it is a corporate 
choice, you know). 
Under a freshly installed FreeBSD 6.1 on which I 
installed the latest PgSQL  MySQL  Oracle8-client together with 
unixODBC, I have no problem at all at setting up the two open-source 
DBs odbc.ini and odbcinst.ini lines of command but I am somewhat 
disorientated about the poor documentation I can find around in the net 
about how to set up an Oracle connection via unixODBC (by the way, I 
cannot ask my Company to buy something like EasySoft). 
On one hand 
the author of the freebsd port of the Oracle client says that his port 
is the essential client that you can use to connect to an oracle up 
to 9i db via unixODBC but no example of *.ini files for that kind of 
connection are given.

Could you please clarify this subject to me?

Ciao  Grazie (Bye  Thanks a lot)
Vittorio
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: changing kern.ngroups

2006-05-24 Thread Valerio daelli


Cool. Any suggestion on what to do if I do want to change it?


We managed to get 64 groups changing these files

/usr/include/sys/syslimits.h
/usr/src/sys/sys/syslimits.h

NGROUPS_MAX from 16 to 64, then recompiling world.
We use NFS and we never had problems (more than one year running).
But I heard you may get some trouble with some hardcoded limits.
Bye

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


Re: e-mail server farm question

2006-05-24 Thread Michal F. Hanula
On Mon, May 22, 2006 at 11:16:41PM -0500, Vulpes Velox wrote:
 Maildir makes it easy to distribute it across multiple machines as
 well.
Cyrus Murder looks even better --- take a look at
http://cyrusimap.web.cmu.edu/configuration.html

There is, of course, a catch --- you can only access the mail store via
IMAP/POP3/LMTP (you cannot touch the files directly, though it _is_ easy to
extract the data in case you decide you do not want to see Cyrus any
more), but that can be considered an advantage.

(I have stardet reading this thread in the middle, if you have already
considered cyrus, just ignore me)
mf

-- 
May God bless and keep the Tsar far away from us.


pgpG2SQ1rKXLK.pgp
Description: PGP signature


Re: Postgresql Autovacuum how?

2006-05-24 Thread Nagy László Zsolt

Nick Withers írta:

I've created a .pgpass file in /root (which is read only by
root) containing the password for the pgsql user. A quick
Google on pgpass turned up this content from
http://pgsqld.active-venture.com/libpq-files.html:
  

This is a broken link (for me at least).

_

(...)

This file should have the format:

hostname:port:database:username:password

Any of these may be a literal name, or *, which matches
anything. The first match will be used so put more specific
entries first. Entries with : or \ should be escaped with \.

The permissions on .pgpass must disallow any access to world or
group; achieve this by the command chmod 0600 .pgaccess. If the
permissions are less strict than this, the file will be
ignored.
  

Thank you, I'll try this.

_

  

This is my pg_hba.conf file:

# TYPE  DATABASEUSERCIDR-ADDRESS  METHOD
# local is for Unix domain socket connections only
local   all all   ident sameuser
hostall all 127.0.0.1/32  md5
hostssl all all 0.0.0.0 0.0.0.0   md5

The autovacuum script was packaged for FreeBSD, so I assume this is a 
FreeBSD specific thing. My question is: why ident/sameuser not working 
here? How can I enable auto vacuums without storing the password in the 
periodic/daily/502.pgsql  script?



I'm not familiar with the sameuser directive, presumably this
prohibits a system user from logging in as a user in the
database with a different name? 
Ident sameuser means that the user will be identified with the IDENT 
protocol. Then if the unix user name matches a postgresql user name, the 
user can connect without providing the password.
Without giving 'sameuser', the unix and postgresql user names will be 
matched through pg_ident.conf. (I think I'm offtopic here, sorry)


Best,

  Laci

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


Re: FreeBSD Installation

2006-05-24 Thread Gerard Seibert
Afrose Fathima wrote:

  Hi, I am trying to install FreeBSD 6.1 on a DELL box.I have dowloaded
 the 6.1-Release ISO images from 
 ftp://ftp.freebsd.org/pub/FreeBSD/r...ISO-IMAGE
 S/6.1/ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/6.1/ .
 Its gives us the ISO's for three CD's bootonly,disc1,disc2.But when
 we try to install starting with the bootonly disc it misses out on a
 few screens and also gives messages regarding unavailability of a few
 packages etc. Also it does not ask for the insertion of the other CDs
 at any point of the installation. Request for some help as soon as
 possible.

I use the boot-only disk to install FSBD. You need FTP access to make it
work. If you cannot make an FTP connection, then you will need to use
disk 1 to install FSBD.


-- 
Gerard Seibert
[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: ndis with USB wifi dongle - no joy

2006-05-24 Thread Fabian Keil
Tom K [EMAIL PROTECTED] wrote:

 I'm running PC-BSD, with FreeBSD 6 under the hood. The device is a 
 Netgear MA111, with Prism 2.5 chipset, which dmesg shows as
 
 ugen1: vendor 0x0846 product 0x4110, rev 1.10/1.32
 
 This is what I've done so far:
 
 - Installed the kernel source in /usr/src/sys.
 - Copied over the .inf and .sys files from the WinXP driver
 - Run ndisgen, which reported success
 - Copied the new module to /boot/kernel
 - kldload ndis and kldload new_module
 
 No ndis interface is created, and dmesg shows the following messages:
 
 no match for USBD_CreateConfigurationRequestEx
 no match for USBD_ParseConfigurationDescriptorEx
 
 I can't find any reference anywhere to these errors, or anything like 
 them. I'd be grateful for any suggestions.

AFAIK ndis doesn't work with USB devices.

Fabian
-- 
http://www.fabiankeil.de/


signature.asc
Description: PGP signature


Re: X11R7 through ports?

2006-05-24 Thread Yuan, Jue
On Wednesday 24 May 2006 10:05, Jim Stapleton wrote:
 Is there any way to get X11R7 through ports? The Xorg and XFree86
 packages all seem to be 6.8/6.9

 Thanks,
 -Jim Stapleton

Jim.

Feel free to check this thread at [EMAIL PROTECTED] mailing list.
http://lists.freebsd.org/pipermail/freebsd-ports/2006-May/031671.html

HTH :-)

-- 
Best Regards
Yuan, Jue @ www.yuanjue.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ndis with USB wifi dongle - no joy

2006-05-24 Thread Tom K

Fabian Keil wrote:

Tom K [EMAIL PROTECTED] wrote:

  
I'm running PC-BSD, with FreeBSD 6 under the hood. The device is a 
Netgear MA111, with Prism 2.5 chipset, which dmesg shows as


ugen1: vendor 0x0846 product 0x4110, rev 1.10/1.32

This is what I've done so far:

- Installed the kernel source in /usr/src/sys.
- Copied over the .inf and .sys files from the WinXP driver
- Run ndisgen, which reported success
- Copied the new module to /boot/kernel
- kldload ndis and kldload new_module

No ndis interface is created, and dmesg shows the following messages:

no match for USBD_CreateConfigurationRequestEx
no match for USBD_ParseConfigurationDescriptorEx

I can't find any reference anywhere to these errors, or anything like 
them. I'd be grateful for any suggestions.



AFAIK ndis doesn't work with USB devices.

Fabian
  


Thanks Fabian. I thought that might be the case, but I couldn't find a 
definitive 'yes' or 'no' anywhere.


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


Security Alert - ScanMail for Lotus Notes

2006-05-24 Thread NSTOL1


ScanMail has blocked a file during a real-time scan of the email traffic.

Date:5/24/2006 5:17:50
Subject:   Text
From:   freebsd-questions@freebsd.org
To:[EMAIL PROTECTED]

File:   your_text01.pif
Action:  delete
Event:   File Type Blocking



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


Re: X11R7 through ports?

2006-05-24 Thread Jim Stapleton

OK so it's just taking a while to port. Guess I should be glad I
didn't try downloading and compiling it straight.

As for no functionality (mentioned a lot): evdev is functionality that
supports more than 7 mouse buttons, and that's functionality that I
would gain a lot benefit from.


Thanks, that link was useful.
-Jim Stapleton

[from another thread, as reference]
subject: Which xorg driver/setup to use to get all the buttons for a
Logitech MX518
On 5/19/06, Marshall Pierce [EMAIL PROTECTED] wrote:

Jim,
I was catching up on my freebsd lists, and saw this... Note that you
can't use evdev unless you're using Xorg 7, as far as I know. Once
you're
on xorg7, you can use evdev as the driver for your mouse, and things
Should
Just Work. See this guide: http://floam.sh.nu/guides/mx1000

HTH,
Marshall

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


Re: Postgresql Autovacuum how?

2006-05-24 Thread Nagy László Zsolt



I've created a .pgpass file in /root (which is read only by
root) containing the password for the pgsql user. A quick
Google on pgpass turned up this content from
http://pgsqld.active-venture.com/libpq-files.html:
  

That link is broken, but here is a good one:

http://www.postgresql.org/docs/8.1/interactive/libpq-pgpass.html

I had to put in into ~pgsql/.pgpass.

However, for other users, it works for me ONLY if the database name and 
the user name are the same.

Otherwise it prompts for a password. But that is antoher problem.

Thanks,

 Laci

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


Re: ndis with USB wifi dongle - no joy

2006-05-24 Thread Tom K

Tom K wrote:

Fabian Keil wrote:

Tom K [EMAIL PROTECTED] wrote:

 
I'm running PC-BSD, with FreeBSD 6 under the hood. The device is a 
Netgear MA111, with Prism 2.5 chipset, which dmesg shows as


ugen1: vendor 0x0846 product 0x4110, rev 1.10/1.32

This is what I've done so far:

- Installed the kernel source in /usr/src/sys.
- Copied over the .inf and .sys files from the WinXP driver
- Run ndisgen, which reported success
- Copied the new module to /boot/kernel
- kldload ndis and kldload new_module

No ndis interface is created, and dmesg shows the following messages:

no match for USBD_CreateConfigurationRequestEx
no match for USBD_ParseConfigurationDescriptorEx

I can't find any reference anywhere to these errors, or anything 
like them. I'd be grateful for any suggestions.



AFAIK ndis doesn't work with USB devices.

Fabian
  


Thanks Fabian. I thought that might be the case, but I couldn't find a 
definitive 'yes' or 'no' anywhere.




Minor update, if anyone's interested - I've now tried it on freebsd 6.1, 
with the same result.

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


Re: CD Burning Not Working

2006-05-24 Thread Fabian Keil
Jacob Jennings [EMAIL PROTECTED] wrote:

 Hello, everyone, I am running FreeBSD 6.0-stable and LOVING every
 second of it. However, my CD burning capabilities have been stymied
 by an unknown problem which I cannot fix, let alone diagnose. I am
 attempting to burn a cd using SCSI-emulation, which is correctly set
 up, using cdrecord. The exact command used is 'cdrecord dev=1,0,0
 data_cd.iso'. However, here is the output of that command:
 
 cdrecord: No write mode specified.
 cdrecord: Asuming -tao mode.
 cdrecord: Future versions of cdrecord may have different drive
 dependent defaults. cdrecord: Continuing in 5 seconds...
 Cdrecord-Clone 2.01 (i386-unknown-freebsd6.0) Copyright (C) 1995-2004
 Jörg Schilling cdrecord: Operation not permitted. WARNING: Cannot do
 mlockall(2). cdrecord: WARNING: This causes a high risk for buffer
 underruns. scsidev: '1,0,0'
 scsibus: 1 target: 0 lun: 0
 Using libscg version 'schily-0.8'.
 Device type: Removable CD-ROM
 Version: 0
 Response Format: 2
 Capabilities   :
 Vendor_info: 'TOSHIBA '
 Identifikation : 'DVD-ROM SD-R2212'
 Revision   : '1913'
 Device seems to be: Generic mmc2 DVD-ROM.
 Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
 Driver flags   : MMC-3 SWABAUDIO BURNFREE
 Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R96R
 cdrecord: Cannot load media.
 
 When I perform a dmesg command, here is the output (Repeat each one
 of those about 15 times, and that's it): 
 
 acd0: CDRW TOSHIBA DVD-ROM SD-R2212/1913 at ata1-master PIO4
 cd0 at ata1 bus 0 target 0 lun 0
 cd0: TOSHIBA DVD-ROM SD-R2212 1913 Removable CD-ROM SCSI-0 device
 cd0: 16.000MB/s transfers
 cd0: cd present [358446 x 2048 byte records]
 acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x15 ascq=0x00 error=0
 g_vfs_done():acd0[READ(offset=627879936, length=4096)]error = 5
 acd0: FAILURE - TEST_UNIT_READY MEDIUM ERROR asc=0x57 ascq=0x00
 error=0 g_vfs_done():acd0[READ(offset=32768, length=2048)]error = 5

As you got a medium error it probably makes sense to try a disc
from a different manufacturer. Check the output of
cdrecord dev=1,0,0 -atip

I'd be surprised if switching from cdrecord to burncd would
solve the problem.

While it has nothing to do with your medium problem,
you should enable DMA on acd0.

Fabian
-- 
http://www.fabiankeil.de/


signature.asc
Description: PGP signature


Re: firefox with flash and java!

2006-05-24 Thread Marwan Sultan


Hello Beto,

Thank you for the replay,
Would you please kindly tell me where is the instruction written on which 
web? for future

refrence.

Second:
You wrote that i should add the line /usr/X11R6/lib/linux-flashplugin6 to
/usr/X11R6/lib/firefox/run-mozilla.sh  take a note that its 
linux-flashplugin7 not 6

6 is not supported anymore. is it correct then?

Whats the way to add the line, i have done the following is it correct ?
MOZ_PLUGIN_PATH=/usr/X11R6/lib/browser_plugins:/usr/X11R6/lib/browser_linux_plugins:/usr/X11R6/lib/linux-flashplugin7

Or it should be only MOZ_PLUGIN_PATH=/usr/X11R6/lib/linux-flashplugin7??

Third and last:
 After i did the past steps i tried to run firefox and i opened a page that 
contain flash

 then firefox crushed with an error
 /libexec/ld-elf.so.1: /usr/local/lib/pluginwrapper/flash7.so: undefined 
symbol _dlsym


 So i proced to your last step and I did
 # cd /usr/src
 # patch  rtld_dlsym_hack.diff
 # cd libexec/rtld-elf
 # make rtld

 Till here everything was Ok! when i tried to do make install
 it gave me an error..
 # make install
chflags noschg /usr/libexec/ld-elf.so.1
install -s -o root -g wheel -m 555  -C -b -fschg -S ld-elf.so.1 /libexec
install: ld-elf.so.1: No such file or directory
*** Error code 71

Stop in /usr/src/libexec/rtld-elf.

Sorry for the long email, wish i got the help.
And thank you.

Marwan





On Tue, 23 May 2006 23:40:37 +
Marwan Sultan [EMAIL PROTECTED] wrote:

 hello everyone!

   I'm really sorry to ask over here, but sick and tired browsing and 
asking

 around.

   I'm on latest FreeBSD 6.1R latest KDE and latest firefox 1.5.3
   I cannot find the flash plugins for Konqueror because no more port for 
it,

 (linux-flashplgin6)

   So i have installed Firefox, now i'm lost, which in port is the flash
 plugin?

   I have linux-flashplugin7 installed, linuxpluginwrapper,

looks ok

$ pkg_info | grep -i flash  pkg_info | grep -i firefox
linux-flashplugin-7.0r63 The official Macromedia Flash Player for Linux 
Mozilla


 firefox-1.5.0.3,1   Web browser based on the browser portion of Mozilla
firefox-remote-20040803 Wrapper scripts for firefox web browser



   But flash still not workin in firefox, i dont know what to do now?
   Will someone kindly guied me for this? how to install flash, for 
firefox?

 and enable it.

from someone else's kind instructions, which worked great for me:

- modify your libmap.conf , following what is shown in
what  /usr/local/share/examples/linuxpluginwrapper/libmap.conf-FreeBSD6

- Finally edit /usr/X11R6/lib/firefox/run-mozilla.sh and add
 /usr/X11R6/lib/linux-flashplugin6 to MOZ_PLUGIN_PATH
 (near the end of the script) (colon-separated path components)

- path your kernel:
Please get and apply a dlsym(3) hook patch (apply in /usr/src ; then cd
libexec/rtld-elf and do make rtld)
http://people.FreeBSD.org/~nork/rtld_dlsym_hack.diff This provides 
_dlsym(3)
function to fix dynamic-link error can't find gtk_major_version 
ad-hoc-ly.


$cd /usr/src
$fetch http://people.FreeBSD.org/~nork/rtld_dlsym_hack.diff
$patch  rtld_dlsym_hack.diff
$ cd libexec/rtld-elf
$sudo make rtld
$ sudo make install




   Also How to install java? on firefox? it would be my next step.

   Is there by any chance away to run flash for Konqueror? or better to
 delete this package if im
   having firefox?

i dont know, dont use kde.

good luck,
Beto


_
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/


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


Re: Implementing IMAP advice for first timer

2006-05-24 Thread Eric
Noah wrote:
 FreeBSD-4.11
 
 Well I want to get IMAP running on my FreeBSD box and would like to have a
 safe, non service-interrupting strategy to implementing it.  I am leaning
 toward installing cyrus imapd.  I have some questions about how to get things
 working. 
 

I recommend checking out dovecot as well. i switched from courier to
dovecot recently and couldnt be happier.  My MTA is postfix and i use
maildir format for storage with horde/imp on the front end.  Works very well
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: firefox with flash and java!

2006-05-24 Thread Norberto Meijome
On Wed, 24 May 2006 12:31:51 +
Marwan Sultan [EMAIL PROTECTED] wrote:

 
 Hello Beto,
 
 Thank you for the replay,

np

 Would you please kindly tell me where is the instruction written on which 
 web? for future
 refrence.

it was in one of the freeBSD lists , most probably questions.

 
 Second:
 You wrote that i should add the line /usr/X11R6/lib/linux-flashplugin6 to
 /usr/X11R6/lib/firefox/run-mozilla.sh  take a note that its 
 linux-flashplugin7 not 6
 6 is not supported anymore. is it correct then?

7 should be ok - sorry, i obviously haven't updated my notes since v6 (they are
notes after all, not dogma ;) 

 
 Whats the way to add the line, i have done the following is it correct ?
 MOZ_PLUGIN_PATH=/usr/X11R6/lib/browser_plugins:/usr/X11R6/lib/browser_linux_plugins:/usr/X11R6/lib/linux-flashplugin7

correct

 Or it should be only MOZ_PLUGIN_PATH=/usr/X11R6/lib/linux-flashplugin7??

no, leave what is there and add the flashplugin path

 
 Third and last:
   After i did the past steps i tried to run firefox and i opened a page that 
 contain flash
   then firefox crushed with an error
   /libexec/ld-elf.so.1: /usr/local/lib/pluginwrapper/flash7.so: undefined 
 symbol _dlsym
 
   So i proced to your last step and I did
   # cd /usr/src
   # patch  rtld_dlsym_hack.diff
   # cd libexec/rtld-elf
   # make rtld
 
   Till here everything was Ok! when i tried to do make install
   it gave me an error..
   # make install
 chflags noschg /usr/libexec/ld-elf.so.1
 install -s -o root -g wheel -m 555  -C -b -fschg -S ld-elf.so.1 /libexec
 install: ld-elf.so.1: No such file or directory
 *** Error code 71
 
 Stop in /usr/src/libexec/rtld-elf.

you need to do this last step as root

 
 Sorry for the long email, wish i got the help.
 And thank you.
np :)
flash7 in my box works quite well - EXCEPT with google-videos (just letting you
know in case  you find the same issue.

good luck,
Beto
 
 Marwan
 
 
 
 
 On Tue, 23 May 2006 23:40:37 +
 Marwan Sultan [EMAIL PROTECTED] wrote:
 
   hello everyone!
  
 I'm really sorry to ask over here, but sick and tired browsing and 
 asking
   around.
  
 I'm on latest FreeBSD 6.1R latest KDE and latest firefox 1.5.3
 I cannot find the flash plugins for Konqueror because no more port for 
 it,
   (linux-flashplgin6)
  
 So i have installed Firefox, now i'm lost, which in port is the flash
   plugin?
  
 I have linux-flashplugin7 installed, linuxpluginwrapper,
 
 looks ok
 
 $ pkg_info | grep -i flash  pkg_info | grep -i firefox
 linux-flashplugin-7.0r63 The official Macromedia Flash Player for Linux 
 Mozilla
 
   firefox-1.5.0.3,1   Web browser based on the browser portion of Mozilla
 firefox-remote-20040803 Wrapper scripts for firefox web browser
 
 
  
 But flash still not workin in firefox, i dont know what to do now?
 Will someone kindly guied me for this? how to install flash, for 
 firefox?
   and enable it.
 
 from someone else's kind instructions, which worked great for me:
 
 - modify your libmap.conf , following what is shown in
 what  /usr/local/share/examples/linuxpluginwrapper/libmap.conf-FreeBSD6
 
 - Finally edit /usr/X11R6/lib/firefox/run-mozilla.sh and add
   /usr/X11R6/lib/linux-flashplugin6 to MOZ_PLUGIN_PATH
   (near the end of the script) (colon-separated path components)
 
 - path your kernel:
 Please get and apply a dlsym(3) hook patch (apply in /usr/src ; then cd
 libexec/rtld-elf and do make rtld)
 http://people.FreeBSD.org/~nork/rtld_dlsym_hack.diff This provides 
 _dlsym(3)
 function to fix dynamic-link error can't find gtk_major_version 
 ad-hoc-ly.
 
 $cd /usr/src
 $fetch http://people.FreeBSD.org/~nork/rtld_dlsym_hack.diff
 $patch  rtld_dlsym_hack.diff
 $ cd libexec/rtld-elf
 $sudo make rtld
 $ sudo make install
 
 
 
  
 Also How to install java? on firefox? it would be my next step.
  
 Is there by any chance away to run flash for Konqueror? or better to
   delete this package if im
 having firefox?
 
 i dont know, dont use kde.
 
 good luck,
 Beto
 
 _
 FREE pop-up blocking with the new MSN Toolbar - get it now! 
 http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ndis with USB wifi dongle - no joy

2006-05-24 Thread Svein Halvor Halvorsen
Tom K wrote:
 I'm running PC-BSD, with FreeBSD 6 under the hood. The device is a
 Netgear MA111, with Prism 2.5 chipset, which dmesg shows as

 ugen1: vendor 0x0846 product 0x4110, rev 1.10/1.32

 This is what I've done so far:

 - Installed the kernel source in /usr/src/sys.
 - Copied over the .inf and .sys files from the WinXP driver
 - Run ndisgen, which reported success
 - Copied the new module to /boot/kernel
 - kldload ndis and kldload new_module

 No ndis interface is created, and dmesg shows the following messages:

 no match for USBD_CreateConfigurationRequestEx
 no match for USBD_ParseConfigurationDescriptorEx

 I can't find any reference anywhere to these errors, or anything
 like them. I'd be grateful for any suggestions.
:
 Minor update, if anyone's interested - I've now tried it on freebsd 6.1,
 with the same result.

Windows NDIS device drivers work because the co-called Project Evil is
emulating the NDIS subsystem of Windows, effectively tricking these
drivers into believing they run under Windows.

However, to support Windows drivers for USB networking devices, would
require emulation of the USB subsystem in Windows as well. This is not
the case for FreeBSD today.


Svein Halvor




signature.asc
Description: OpenPGP digital signature


Re: firefox with flash and java!

2006-05-24 Thread Marwan Sultan


Hello Beto,
 Thank you again, for the quick replay, the last step has been done as 
root, but the error presented.

 after searching freebsd list i found the follow to command insted.

cd /usr/src   patch  rtld_dlsym_hack.diff  cd libexec/rtld-elf/  make 
cleanmake objmake depend   make  make install


and after reboot it was perfect. Flash works fine. So thank you.
I wrote here this way, it may help others who face the problem.

I'v tested few sites and flash is working great, one of the sites, if you 
click on
the flash ads that they have, it will open externel popup flash window for 
you

to run a flash video clip on it, this one didnot work,
I think it needs external flash player to run such thing is it correct?
do you recommend any?

 with lot of thanks in advance.

 Marwan


   So i proced to your last step and I did
   # cd /usr/src
   # patch  rtld_dlsym_hack.diff
   # cd libexec/rtld-elf
   # make rtld

   Till here everything was Ok! when i tried to do make install
   it gave me an error..
   # make install
 chflags noschg /usr/libexec/ld-elf.so.1
 install -s -o root -g wheel -m 555  -C -b -fschg -S ld-elf.so.1 /libexec
 install: ld-elf.so.1: No such file or directory
 *** Error code 71

 Stop in /usr/src/libexec/rtld-elf.

you need to do this last step as root


_
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/


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


Re: Anyone using sysutils/nut ?

2006-05-24 Thread Tuc
  I'm going by :
  
  /usr/local/share/doc/nut/shutdown.txt
  
  Subsection How you set it up, item #2 :
  
  2. Edit your shutdown scripts to check for the POWERDOWNFLAG so they
  know
 when to power off the UPS.  You must check for this file, as you
  don't
 want this to happen during normal shutdowns!
  
 You can use upsdrvctl to start the shutdown process in your UPS 
 hardware.  Use this script as an example, but change the paths to
 suit your system:
 
 My bad.  I did edit rc.shutdown on both a 5.4 and a 6.0 system with no
 troubles.  The end of my file shows this:
 
 # Inserted next 5 lines March 13, 2006 for UPS shutdown.
 if (test -f /etc/killpower)
 then
 echo Killing the power, bye!
 /usr/local/libexec/nut/upsdrvctl shutdown
 fi
 
 echo '.'
 exit 0
 
But doesn't that immediately shut down your system causing it
to need FSCK when it comes back up?

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


Re: Anyone using sysutils/nut ?

2006-05-24 Thread Peter

--- Scott Tuc Ellentuch at T-B-O-H [EMAIL PROTECTED] wrote:

 I'm going by :
   
 /usr/local/share/doc/nut/shutdown.txt
   
 Subsection How you set it up, item #2 :
   
   2. Edit your shutdown scripts to check for the POWERDOWNFLAG so
 they
   know
  when to power off the UPS.  You must check for this file, as
 you
   don't
  want this to happen during normal shutdowns!
   
  You can use upsdrvctl to start the shutdown process in your
 UPS 
  hardware.  Use this script as an example, but change the paths
 to
  suit your system:
  
  My bad.  I did edit rc.shutdown on both a 5.4 and a 6.0 system with
 no
  troubles.  The end of my file shows this:
  
  # Inserted next 5 lines March 13, 2006 for UPS shutdown.
  if (test -f /etc/killpower)
  then
  echo Killing the power, bye!
  /usr/local/libexec/nut/upsdrvctl shutdown
  fi
  
  echo '.'
  exit 0
  
   But doesn't that immediately shut down your system causing it
 to need FSCK when it comes back up?
 
   Thanks, Tuc
 

I did not observe this happening.  Is there any other way?  What tips
did you get on the nut list?
Peter

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: firefox with flash and java!

2006-05-24 Thread Norberto Meijome
On Wed, 24 May 2006 13:33:33 +
Marwan Sultan [EMAIL PROTECTED] wrote:

 
 Hello Beto,
   Thank you again, for the quick replay, the last step has been done as 
 root, but the error presented.
   after searching freebsd list i found the follow to command insted.
 
 cd /usr/src   patch  rtld_dlsym_hack.diff  cd libexec/rtld-elf/  make 
 cleanmake objmake depend   make  make install
 
 and after reboot it was perfect. 

ha! yes, probably you had to do this to refresh the library if it was already
in memory (init 1, enter, ctrl-d would have been faster though)

 
 I'v tested few sites and flash is working great, one of the sites, if you 
 click on
 the flash ads that they have, it will open externel popup flash window for 
 you
 to run a flash video clip on it, this one didnot work,
 I think it needs external flash player to run such thing is it correct?
 do you recommend any?

dont click on the ads? ;) not sure - i never actually had the need for that
an 'external popup flash window' would be, in most cases, a browser window , so
you should be covered here. Maybe it's a video.google flash? (or something
using the *same* tech so it also fails? I've found a few that die... but the
ones @ flash.com all worked fine.

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


Re: Implementing IMAP advice for first timer

2006-05-24 Thread Anish Mistry
On Wednesday 24 May 2006 02:55, Chad Leigh -- Shire.Net LLC wrote:
 On May 23, 2006, at 11:14 PM, Olivier Nicole wrote:
  Installing it from ports (/usr/ports/mail/courier-imap) is
  pretty straightforward, and most settings can be left at the
  default, at least
 
  True, except...
 
  Courrier-imap is using maildir mailboxes, so unless the existing
  system already uses maildir, there will be some disturbance at
  the conversion time.

 Can be done very minimally.  When we converted from mbox to maildir
 (coincidentally to courier) about 4 years ago we just did it in the
 middle of the night and had a script that converted the mbox to
 maildir (found on a qmail site) and it went fast and quick and mail
 access was turned off for only a short time...

 Probably less of a hassle then moving to cyrus but my experience
 with cyrus was long ago
I made the switch from an mbox - cyrus/maildir setup several months 
ago and it went smoothly.  You just need to make sure you run 
reconstruct after the conversion so the index is up to date.
-- 
Anish Mistry
[EMAIL PROTECTED]
AM Productions http://am-productions.biz/


pgpPRxHuflclO.pgp
Description: PGP signature


Re: Trouble with nss|pam|openldap

2006-05-24 Thread Jason Lixfeld

On 23-May-06, at 8:48 PM, Atom Powers wrote:

On 5/23/06, Jason Lixfeld jason+lists.freebsd- 
[EMAIL PROTECTED] wrote:

I'm using openssh-portable and the latest versions of openldap,
pam_ldap and nss_ldap.  It appears as though the system is using

...

I'm not using ssh-portable, but I have it working with the built-in  
ssh.


built-in works?  Interesting.  Reason I'm using -portable was because  
I read that the built-in ssh didn't support PAM.


I will try the built-in and see what happens.


...

user password, even after I enter it in.  I tried putting the
pam_ldap lib in the password section of the /etc/pam.d/sshd file, but
that was useless too.  Local users can ssh in fine.


The pam.d config would be my first guess. What gets logged to all.log?


I have no all.log currently.  The only thing showing up in messages  
though is:


May 23 18:48:00 ricky slapd[7745]: nss_ldap: could not search LDAP  
server - Server is unavailable


That error seems to creep up only when I restart slapd though.



I searched through the bugs and it seems there is a bug in nss_ldap
with regards to getpwuid, but that seems to be more if an indicator
about why finger doesn't work, not why ssh does't work

# id testuser seems to work, finger doesn't.  Curious.  Anyway, it
still appears as though at least some portions of the system are
using LDAP, which is good.
$ id testuser
uid=2000(testuser) gid=2000(testuser) groups=2000(testuser)
$ finger testuser
finger: testuser: no such user
$


id works because it's using the name service to look up the user (you
added ldap to your nsswitch.conf, right?)

finger doesn't work because you don't have a /etc/pam.d/finger file.
Either create one or add pam_ldap to your /etc/pam.d/system file. (I
always create a new conf file for my ldap enabled apps)


Interesting.  Finger *did* work during some of my first attempts at  
getting this working.  I changed something (I don't recall what) and  
then finger stopped working.



Here is my /etc/pam.d/sshd file, I use the exact same file for all my
ldap enabled apps.:
(if somebody sees a bug in there, or can suggest any improvement, by
all means let me know.)
--

# auth
authsufficient  /usr/local/lib/pam_ldap.so
authrequiredpam_nologin.so  no_warn
authsufficient  pam_opie.so no_warn  
no_fake_prompts
authrequisite   pam_opieaccess.so   no_warn  
allow_local
#auth   sufficient  pam_krb5.so no_warn  
try_first_pass
#auth   sufficient  pam_ssh.so  no_warn  
try_first_pass
authrequiredpam_unix.so no_warn  
try_first_pass


# account
account sufficient  /usr/local/lib/pam_ldap.so
#accountrequiredpam_krb5.so
account requiredpam_login_access.so
account requiredpam_unix.so

# session
#sessionoptionalpam_ssh.so
session requiredpam_permit.so

# password
#password   sufficient  pam_krb5.so no_warn  
try_first_pass
passwordrequiredpam_unix.so no_warn  
try_first_pass


This seems to all work now with built-in ssh.  How strange.

Now, I seem to have hit another snag and a bug (Both of which I  
remember reading about this in my travels:)


$id testuser
id: testuser: no such user
# sudo su
Password:
# id testuser
uid=2000(testuser) gid=2000(testuser) groups=2000(testuser)
# cd ~testuser
# pwd
/usr/home/testuser
#ssh [EMAIL PROTECTED]
%id testuser
id: testuser: no such user
%pwd
/usr/home/testuser
%ls -al
Assertion failed: (cfg-ldc_uris[__session.ls_current_uri] != NULL),  
function do_init, file ldap-nss.c, line 1193.

Abort (core dumped)
%


--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--



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


Re: cron job errors

2006-05-24 Thread Mark Busby
Mark Busby [EMAIL PROTECTED] writes:
   I getting errors from cron on this job.
   owner of /usr/libexec/sav-entropy is root:wheel

   email notice:
   Subject: Cron [EMAIL PROTECTED] /usr/libexec/save-entropy
 X-Cron-Env: SHELL=/bin/sh
 X-Cron-Env: PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
 X-Cron-Env: HOME=/
 X-Cron-Env: LOGNAME=operator
 X-Cron-Env: USER=operator
   add: not found

   crontab entry:
   # Save some entropy so that /dev/random can re-seed on boot.
 */11*   *   *   *   operator /usr/libexec/save-entropy
  Did you update your system lately?
Compare the script to its source:
 diff -q /usr/src/libexec/save-entropy/save-entropy.sh 
/usr/libexec/save-entropy

Yes I did update to 6.1, running diff on the files shows no problems there.
   
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


upload-only ftp server

2006-05-24 Thread User Gandalf


 Dear List,

I would like to install an ftp server. Some of the users want to upload 
files to the server. I would not like to start an ftp server at all, 
because I'm too paranoid. But my users demand it. I looked at the ports 
tree and I found many ftp servers. I cannot choose between them. Can you 
recommend one for me? I only need one ftp user (possibly with a 
password), and upload/list files only. The most important thing is 
security, and the ability to handle passive transfers.


Thanks,

  Laci

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


Traffic shaping with ipfw/DUMMYNET when using natd

2006-05-24 Thread G-der

I've been setting up ipfw and DUMMYNET to do some traffic shaping on my
network.  Right now to test things out I've basicly put everything into two
categories.  There's traffic from 10.0.10.10 which is lower priority (this
is a download machine) and then there's everything else.

The biggest problem I've runinto is that because natd gets the packets first
thing the only way to catch outgoing traffic is on the internal network
interface.  That is if you want to limit based on which internal machine is
generating the traffic like in my case.  After the divert rule for natd the
src-ip field gets changed to my external ip address.  This has a side effect
of limiting all the traffic on that internal interface, even stuff that is
not bound for the internet.

I've tried playing around a little bit with the bridged, diverted, and
diverted-output commands but can't get any of them to catch the packets.

Is there  a way to limit outgoing traffic based on which machine owns the
traffic internally that doesn't have to be done on the internal interface?
Would it be better practice to scan outgoing traffic before the divert rules
for natd?

   extif=rl0
   intif=rl1

   #INCOMING TRAFFIC
   #Tested max incoming at 5914Kbit/s

   ${fwcmd} pipe 1 config bw 5800Kbit/s
   ${fwcmd} queue 1 config pipe 1 weight 2 #for torrent traffic
   ${fwcmd} queue 5 config pipe 1 weight 10#for everything else

   ${fwcmd} add 1000 queue 1 ip from any to 10.0.10.10 in via ${extif}
   ${fwcmd} add 5000 queue 5 ip from any to any in via ${extif}


   #OUTGOING TRAFFIC
   #Tested max outgoing at 390Kbit/s

   ${fwcmd} pipe 2 config bw 360Kbit/s
   ${fwcmd} queue 6 config pipe 2 weight 2
   ${fwcmd} queue 10 config pipe 2 weight 10
   ${fwcmd} add 6000 queue 6 ip from 10.0.10.10 to any in via ${intif}
   ${fwcmd} add 8000 queue 10 ip from any to any in via ${intif}

Here's the rules, I appreciate the assistance.  Please cc me on reply, I'm
not a regular subscriber.

Thank you

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


Firewall with 3 NIC (1 wireless) problem

2006-05-24 Thread Mark Moellering
I am attempting to add a wireless capabilities to an existing network / 
firewall structure.  I added a wireless NIC card to the firewall (Netgear 
WPN311) and followed the wireless instructions.  I also added a similar card 
to an existing computer (Netgear WG311T).
The Firewall's internal wired network is on 192.168.1.1 and the 
Wireless card 
is set to 192.168.2.1
The client computer can find the wireless network and I can ping the 
wireless 
card (192.168.2.1)  However, I can get nowhere else.  I cannot get to the 
wired subnet nor outside access to the internet.  I tried adding a bridge 
from the wired to the wireless network interfaces but that did nothing.  I 
tried putting the wireless Nic to 192.168.1.249 but that made things worse.  
Any help would be greatly appreciated.
Both client and firewall are running Freebsd 6.1  Relevant (that I can 
think 
of) files from the firewall are included...

Thanks in Advance.

Mark
interface=ath0
driver=bsd
logger_syslog=-1
logger_syslog_level=0
logger_stdout=-1
logger_stdout_level=0
debug=6
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=wheel
ssid=mynet
wpa=1
wpa_passphrase=secretword
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP TKIP
# $FreeBSD: src/share/examples/pf/faq-example1,v 1.1 2004/09/14 01:07:18 mlaier 
Exp $
# $OpenBSD: faq-example1,v 1.2 2003/08/06 16:04:45 henning Exp $

#
# Firewall for Home or Small Office
# http://www.openbsd.org/faq/pf/example1.html
#


# macros
int_if = bge0
wint_if = ath0
ext_if = rl0

tcp_services = { 22, 113 }
icmp_types = echoreq

priv_nets = { 127.0.0.0/8, 192.168.0.0/16, 172.16.0.0/12, 10.0.0.0/8 }

# options
set block-policy return
set loginterface $ext_if

# scrub
scrub in all

# nat/rdr
nat on $ext_if from $int_if:network to any - ($ext_if)
nat on $ext_if from $wint_if:network to any - ($ext_if)
rdr on $int_if proto tcp from any to any port 21 - 127.0.0.1 port 8021
rdr on $wint_if proto tcp from any to any port 21 - 127.0.0.1 port 8021


# filter rules
block all

pass quick on lo0 all

block drop in  quick on $ext_if from $priv_nets to any
block drop out quick on $ext_if from any to $priv_nets

pass in on $ext_if inet proto tcp from any to ($ext_if) \
   port $tcp_services flags S/SA keep state

pass in inet proto icmp all icmp-type $icmp_types keep state

pass in  on $int_if from $int_if:network to any keep state
pass out on $int_if from any to $int_if:network keep state

pass in on $wint_if from $wint_if:network to any keep state
pass out on $wint_if from $wint_if:network to any keep state

pass out on $ext_if proto tcp all modulate state flags S/SA
pass out on $ext_if proto { udp, icmp } all keep state

pass in on $ext_if inet proto tcp from any to ($ext_if) \
   user proxy keep state
# $FreeBSD: src/etc/sysctl.conf,v 1.8 2003/03/13 18:43:50 mux Exp $
#
#  This file is read when going to multi-user and its contents piped thru
#  ``sysctl'' to adjust kernel values.  ``man 5 sysctl.conf'' for details.
#

# Uncomment this to prevent users from seeing information about processes that
# are being run under another UID.
#security.bsd.see_other_uids=0

net.link.ether.bridge.enable=1
net.link.ether.bridge.config=bge0, ath0

# -- sysinstall generated deltas -- # Thu May 11 16:26:43 2006
# Created: Thu May 11 16:26:43 2006
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
gateway_enable=YES
linux_enable=YES
moused_enable=YES
usbd_enable=YES

#Internal Wired Network
ifconfig_bge0=inet 192.168.1.1  netmask 255.255.255.0
hostname=Firewall.mynet.com

#Wireless Network
ifconfig_ath0=192.168.2.1 netmask 255.255.255.0 ssid mynet mode 11g mediaopt 
hostap
hostapd_enable=YES

#External Gateway Interface
ifconfig_rl0=DHCP
inetd_enable=YES

pf_enable=YES
pf_rules=/etc/pf.conf
pflog_enable=YES
pflog_logfile=var/log/pflog

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

Re: upload-only ftp server

2006-05-24 Thread Eric
User Gandalf wrote:
 
  Dear List,
 
 I would like to install an ftp server. Some of the users want to upload
 files to the server. I would not like to start an ftp server at all,
 because I'm too paranoid. But my users demand it. I looked at the ports
 tree and I found many ftp servers. I cannot choose between them. Can you
 recommend one for me? I only need one ftp user (possibly with a
 password), and upload/list files only. The most important thing is
 security, and the ability to handle passive transfers.
 

vsftpd does all that and more.  its easy to set up too
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Trouble with nss|pam|openldap

2006-05-24 Thread Atom Powers

On 5/24/06, Jason Lixfeld [EMAIL PROTECTED] wrote:

On 23-May-06, at 8:48 PM, Atom Powers wrote:

I have no all.log currently.  The only thing showing up in messages
though is:



You have to enable all.log in syslog.conf, and then touch
/var/log/all.log. I always turn this on because it can catch messages
that are not configured to go to another log file, and sometimes it's
nice to have all your logs in one place. But if you have a noisy
service it can fill your file system.


May 23 18:48:00 ricky slapd[7745]: nss_ldap: could not search LDAP
server - Server is unavailable

That error seems to creep up only when I restart slapd though.


 I searched through the bugs and it seems there is a bug in nss_ldap
 with regards to getpwuid, but that seems to be more if an indicator
 about why finger doesn't work, not why ssh does't work

 # id testuser seems to work, finger doesn't.  Curious.  Anyway, it
 still appears as though at least some portions of the system are
 using LDAP, which is good.
 $ id testuser
 uid=2000(testuser) gid=2000(testuser) groups=2000(testuser)
 $ finger testuser
 finger: testuser: no such user
 $

 id works because it's using the name service to look up the user (you
 added ldap to your nsswitch.conf, right?)

 finger doesn't work because you don't have a /etc/pam.d/finger file.
 Either create one or add pam_ldap to your /etc/pam.d/system file. (I
 always create a new conf file for my ldap enabled apps)


On reflection I may be way off base with this. finger doesn't run *as*
another user, and you don't log into finger. So it shouldn't need a
pam.d file.

Finger doesn't work for ldap accounts on my systems.


Interesting.  Finger *did* work during some of my first attempts at
getting this working.  I changed something (I don't recall what) and
then finger stopped working.

This seems to all work now with built-in ssh.  How strange.

Now, I seem to have hit another snag and a bug (Both of which I
remember reading about this in my travels:)

$id testuser
id: testuser: no such user
# sudo su
Password:
# id testuser
uid=2000(testuser) gid=2000(testuser) groups=2000(testuser)
# cd ~testuser
# pwd
/usr/home/testuser
#ssh [EMAIL PROTECTED]
%id testuser
id: testuser: no such user
%pwd
/usr/home/testuser
%ls -al
Assertion failed: (cfg-ldc_uris[__session.ls_current_uri] != NULL),
function do_init, file ldap-nss.c, line 1193.
Abort (core dumped)
%



I don't seem to have this problem:

[EMAIL PROTECTED]:~$finger apowers
finger: apowers: no such user
[EMAIL PROTECTED]:~$id apowers
uid=1133(apowers) gid=1133(apowers) groups=1133(apowers), 0(wheel)
[EMAIL PROTECTED]:~$ssh localhost
Password:

FreeBSD 6.1-RELEASE (SMP) #0: Sun May  7 04:42:56 UTC 2006
[EMAIL PROTECTED]:~$id apowers
uid=1133(apowers) gid=1133(apowers) groups=1133(apowers), 0(wheel)
[EMAIL PROTECTED]:~$pwd
/home/apowers
[EMAIL PROTECTED]:~$ls -al
total 53216
snip

What does your nsswitch.conf look like?
I have:
#nsswitch.conf
group: files ldap
hosts: files dns
networks: files
passwd: files ldap
shells: files


--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Disk Geometry Errors.

2006-05-24 Thread Lisandro Grullon

Good Morning,

Last night I was trying installing a new Areca controller 1120 8 ports using
a 5 bay (300GB seagate) drives Raid 5. The main OS is install using the SATA
controller in RAID 1 configuration of the mother board, the addition of last
night was a separate controller I install.The install when good and I
installed my modules in the kernel, now my problem is when I try to
partition the volume using fdisk/label with system install it is giving me
nasty disk geometry incorrect error, can anyone tell me what is this all
about? Thank you.


--
Lisandro Grullon
New York City College of Technology
Division of Continuing Education
Director of Network Operations
Lisandro Office:1718-552-1178
Lisandro E-mail:   [EMAIL PROTECTED]
The only reason for time is so that everything doesn't happen at once..
Albert Einstein
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: LIB_DEPENDS problem

2006-05-24 Thread db

libpqxx.so is not a broken link:

work# ls -l /usr/local/lib/*pqxx*
-rwxr-xr-x  1 root  wheel  332194 May  4 14:56 
/usr/local/lib/libpqxx-2.5.5.so

-rw-r--r--  1 root  wheel  439800 May  4 14:56 /usr/local/lib/libpqxx.a
-rwxr-xr-x  1 root  wheel 851 May  4 14:56 /usr/local/lib/libpqxx.la
lrwxr-xr-x  1 root  wheel  16 May  4 14:56 /usr/local/lib/libpqxx.so 
- libpqxx-2.5.5.so

work# ldconfig -r | grep pqxx
work#

Sorry for not quoting you this time, but your reply was download via 
pop3 at work and now I'm home and the archive is not updated.


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


Re: upload-only ftp server

2006-05-24 Thread N.J. Thomas
* User Gandalf [EMAIL PROTECTED] [2006-05-24 16:32:55 +0200]:
 I looked at the ports tree and I found many ftp servers. I cannot
 choose between them. Can you recommend one for me?

Second the recommendation for vsftpd.

Thomas

-- 
N.J. Thomas
[EMAIL PROTECTED]
Etiamsi occiderit me, in ipso sperabo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Conexant AccessRunner ADSL USB modem

2006-05-24 Thread Grad

Hi,
I am a complete newbie in FreeBSD and i was wondering if i can use my
usb modem (Crypto F200 with Conexant AccessRunner Chipset) to connect to the
internet using FreeBSD 6.1. The dmesg
command indicates that the OS sees the modem using ugen0.
I understand that this driver is the one generally used for usb devices.
Even if this is the driver and my modem is supported how exactly can i
connect to my ISP because I cannot see anyplace that i could declare
username and password.
Thanks in advance,
Trapatsas Panagiotis
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: upload-only ftp server

2006-05-24 Thread Derek Ragona

I use vsftpd

-Derek


At 09:32 AM 5/24/2006, User Gandalf wrote:


 Dear List,

I would like to install an ftp server. Some of the users want to upload 
files to the server. I would not like to start an ftp server at all, 
because I'm too paranoid. But my users demand it. I looked at the ports 
tree and I found many ftp servers. I cannot choose between them. Can you 
recommend one for me? I only need one ftp user (possibly with a password), 
and upload/list files only. The most important thing is security, and the 
ability to handle passive transfers.


Thanks,

  Laci

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

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



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

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


Re: Trouble with nss|pam|openldap

2006-05-24 Thread Jason Lixfeld

I don't seem to have this problem:

[EMAIL PROTECTED]:~$finger apowers
finger: apowers: no such user
[EMAIL PROTECTED]:~$id apowers
uid=1133(apowers) gid=1133(apowers) groups=1133(apowers), 0(wheel)
[EMAIL PROTECTED]:~$ssh localhost
Password:

FreeBSD 6.1-RELEASE (SMP) #0: Sun May  7 04:42:56 UTC 2006
[EMAIL PROTECTED]:~$id apowers
uid=1133(apowers) gid=1133(apowers) groups=1133(apowers), 0(wheel)
[EMAIL PROTECTED]:~$pwd
/home/apowers
[EMAIL PROTECTED]:~$ls -al
total 53216
snip


What version of OpenLDAP/pam_ldap/nss_ldap are you running?  I  
believe it's either a bug in OpenLDAP or NSS, can't remember which,  
but I do remember reading about something extremely similar to my  
issue out there.  Need to refresh.



What does your nsswitch.conf look like?
I have:
#nsswitch.conf
group: files ldap
hosts: files dns
networks: files
passwd: files ldap
shells: files


Mine is the same.

On another note, I just tested pam_mkhomedir...  sweeet!



--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--



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


apache2 mod_php5

2006-05-24 Thread FreeBSD Daemon
Dear list,

I found this warning: 
http://terra.di.fct.unl.pt/docs/php/install.apache2.php.htm
about using apache2 with php in production environment.

I planed to use the www/apache2 + www/mod_php5 ports ... should I worry and
rather stick with apache 1.3?

TIA

Zheyu Shen (沈哲宇)

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


Re: Disk Geometry Errors.

2006-05-24 Thread Kevin Kinsey

Lisandro Grullon wrote:

Good Morning,

Last night I was trying installing a new Areca controller 1120 8 ports 
using a 5 bay (300GB seagate) drives Raid 5. The main OS is install using the 
SATA controller in RAID 1 configuration of the mother board, the addition of 
last night was a separate controller I install.The install when good and I

installed my modules in the kernel, now my problem is when I try to
partition the volume using fdisk/label with system install it is giving me
nasty disk geometry incorrect error, can anyone tell me what is this all
about? Thank you.


We'd probably need some more information.  Does sysinstall crash?
Does the fdisk information get written to disk anyway?  The label?

KDK

--
Zero Mostel: That's it baby!  When you got it, flaunt it!  Flaunt it!
-- Mel Brooks, The Producers

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


Re: apache2 mod_php5

2006-05-24 Thread Kevin Kinsey

FreeBSD Daemon wrote:

Dear list,

I found this warning: 
http://terra.di.fct.unl.pt/docs/php/install.apache2.php.htm

about using apache2 with php in production environment.

I planed to use the www/apache2 + www/mod_php5 ports ... should I worry and
rather stick with apache 1.3?

TIA



I am quite sure that this page is a copy of the PHP
website from quite some time ago.

Compare http://www.php.net/manual/en/install.unix.apache2.php,
which doesn't seem to show the same message any longer.

Apache2 and PHP are much more stable when together these days.

Kevin Kinsey

--
The Fifth Rule:
You have taken yourself too seriously.

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


Re: apache2 mod_php5

2006-05-24 Thread Kevin Kinsey

FreeBSD Daemon wrote:


I planed to use the www/apache2 + www/mod_php5 ports ... should I worry and
rather stick with apache 1.3?



Also, the www/mod_php5 port has been removed.
Use lang/php5 instead, which should give options
for the module, CGI, and CLI.

Kevin Kinsey

--
He who hesitates is last.

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


Auto Replay

2006-05-24 Thread mamaj m


Dear all,
I have freebsd 5.3
and i install on it open webmail 1.14 whan i  confugare the open web to auto 
replay i have this error


The original message was received at Wed, 24 May 2006 14:51:00 +0300 (EEST) 
from [10.1.1.124] with id k4OBowOq094870


  - The following addresses had permanent fatal errors - | 
/usr/local/www/cgi-bin/openwebmail/vacation.pl -t60s -a [EMAIL PROTECTED]  
jhon

   (expanded from: [EMAIL PROTECTED])

  - Transcript of session follows - 550 5.7.1 
/home/hmousleh/.forward: line 1: | 
/usr/local/www/cgi-bin/openwebmail/vacation.pl -t60s -a [EMAIL PROTECTED]  
jhon... User [EMAIL PROTECTED] doesn't have a valid shell for mailing 
to programs


_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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


Auto Replay error

2006-05-24 Thread mamaj m

Dear all,
I have freebsd 5.3
and i install on it open webmail 1.14 whan i  confugare the open web to auto 
replay i have this error


The original message was received at Wed, 24 May 2006 14:51:00 +0300 (EEST) 
from [10.1.1.124] with id k4OBowOq094870


  - The following addresses had permanent fatal errors - | 
/usr/local/www/cgi-bin/openwebmail/vacation.pl -t60s -a [EMAIL PROTECTED]  
jhon

   (expanded from: [EMAIL PROTECTED])

  - Transcript of session follows - 550 5.7.1 
/home/hmousleh/.forward: line 1: | 
/usr/local/www/cgi-bin/openwebmail/vacation.pl -t60s -a [EMAIL PROTECTED]  
jhon... User [EMAIL PROTECTED] doesn't have a valid shell for mailing 
to programs


_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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


Can drive with 6.1 be directly transferred from one machine to another?

2006-05-24 Thread Garrett Cooper
   Ok, so the back story is that something hardware-related in my older 
machine fileserver died, all the info's on a series of SCSI disks, and 
my other desktop doesn't support SCSI, nor does it have the space for 
the drives/card (yay for dell), thus I need to either buy replacement 
parts or buy a new machine (I'm weighing the pros and cons right now).
   So I was wondering if my disk with all of the compiled binaries for 
my 1.2 GHz could simply be moved from one machine to another and just 
work without having to reinstall or recompile FreeBSD or not. I would 
think that I could just move the drive to another machine and boot from 
it, given the fact that Intel loves making their instruction sets 
backwards compatible, but I just need to make sure since I don't want to 
invest in something more expensive and discover I have to start from 
square one.

   Overall, time is of more value to me right now than anything else.
   Thanks,
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Auto Replay error

2006-05-24 Thread mamaj m

Dear all,
I have freebsd 5.3
and i install on it open webmail 1.14 whan i  confugare the open web to auto 
replay i have this error


postmaster notify: /home/rani/.forward: line 1: | 
/usr/local/www/cgi-bin/openwebmail/vacation.pl -t60s -a rani... rani... 
User [EMAIL PROTECTED] doesn't have a valid shell for mailing to 
programs


_
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


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


Re: Can drive with 6.1 be directly transferred from one machine to another?

2006-05-24 Thread Garrett Cooper

Garrett Cooper wrote:
   Ok, so the back story is that something hardware-related in my 
older machine fileserver died, all the info's on a series of SCSI 
disks, and my other desktop doesn't support SCSI, nor does it have the 
space for the drives/card (yay for dell), thus I need to either buy 
replacement parts or buy a new machine (I'm weighing the pros and cons 
right now).
   So I was wondering if my disk with all of the compiled binaries for 
my 1.2 GHz could simply be moved from one machine to another and just 
work without having to reinstall or recompile FreeBSD or not. I would 
think that I could just move the drive to another machine and boot 
from it, given the fact that Intel loves making their instruction sets 
backwards compatible, but I just need to make sure since I don't want 
to invest in something more expensive and discover I have to start 
from square one.

   Overall, time is of more value to me right now than anything else.
   Thanks,
-Garrett
Another valid question I suppose is whether or not I can move the 
machine from a box with a Celeron CPU to one with an AMD CPU (not sure 
if vendors matter even though ISAs are the same).

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


Re: NO_RESCUE option in make.conf

2006-05-24 Thread vittorio
Alle 18:38, martedì 23 maggio 2006, Pietro Cerutti ha scritto:
l On 5/23/06, vittorio [EMAIL PROTECTED] wrote:
  I know but:
 
  1) I need more room on the hd of my dual boot laptop.

 You ain't gaining much space by removing /rescue. It takes 6.9M on my
 6.1-STABLE.
 You may want to consider removing /usr/src and /usr/obj which take
 respectively 442M and 2G instead.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NO_RESCUE option in make.conf

2006-05-24 Thread vittorio
I always do it, of course. I meant that eliminating /rescue is ** one *** of 
the actions I take to spare juicy hd room.
Ciao
Vittoiro

Alle 18:38, martedì 23 maggio 2006, Pietro Cerutti ha scritto:
 On 5/23/06, vittorio [EMAIL PROTECTED] wrote:
  I know but:
 
  1) I need more room on the hd of my dual boot laptop.

 You ain't gaining much space by removing /rescue. It takes 6.9M on my
 6.1-STABLE.
 You may want to consider removing /usr/src and /usr/obj which take
 respectively 442M and 2G instead.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Implementing IMAP advice for first timer

2006-05-24 Thread Pete Slagle

Eric wrote:


I recommend checking out dovecot as well. i switched from courier to
dovecot recently and couldnt be happier.


What motivated you to switch, and how do you find that dovecot improves 
on courier-imap?


Just curious, I have been considering trying dovecot, but courier works 
well enough that I haven't.



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


Re: Disk Geometry Errors.

2006-05-24 Thread Lisandro Grullon

Hi Kevin and thanks for repplyng, sysinstall does not crach at all, the
problem is that the information is not retain by the label. I keep getting
that contact Disk Geometry error when I try fdisk into the volume/drive.
Any ideas what is happening. let me know what other information you may need
to assist me further.

On 5/24/06, Kevin Kinsey [EMAIL PROTECTED] wrote:


Lisandro Grullon wrote:
 Good Morning,

 Last night I was trying installing a new Areca controller 1120 8 ports
 using a 5 bay (300GB seagate) drives Raid 5. The main OS is install
using the
 SATA controller in RAID 1 configuration of the mother board, the
addition of
 last night was a separate controller I install.The install when good and
I
 installed my modules in the kernel, now my problem is when I try to
 partition the volume using fdisk/label with system install it is giving
me
 nasty disk geometry incorrect error, can anyone tell me what is this all
 about? Thank you.

We'd probably need some more information.  Does sysinstall crash?
Does the fdisk information get written to disk anyway?  The label?

KDK

--
Zero Mostel: That's it baby!  When you got it, flaunt it!  Flaunt it!
-- Mel Brooks, The Producers





--
Lisandro Grullon
New York City College of Technology
Division of Continuing Education
Director of Network Operations
Lisandro Office:1718-552-1178
Lisandro E-mail:   [EMAIL PROTECTED]
The only reason for time is so that everything doesn't happen at once..
Albert Einstein
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Implementing IMAP advice for first timer

2006-05-24 Thread Eric
Pete Slagle wrote:
 Eric wrote:

 I recommend checking out dovecot as well. i switched from courier to
 dovecot recently and couldnt be happier.

 What motivated you to switch, and how do you find that dovecot improves
 on courier-imap?

 Just curious, I have been considering trying dovecot, but courier works
 well enough that I haven't.

i heard about dovecot and the fact that it was faster so i started
looking into it, seeing how hard it was to convert, etc.

I am glad i did. it is a lot faster both via Horde+Imp and thunderbird.

Dont get me wrong, courier worked very well for me for a long time, but
dovecot uses less resources and is a lot faster.  its also only one port
vs several for courier if you use authlib and stuff.

check out the dovecot page for conversion info. it was very easy.

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


can't start apache 1.3 inside jail

2006-05-24 Thread Andy Greenwood

I've built and installed apache13 from ports in my jail, but apachectl
start just gives me

[EMAIL PROTECTED] ~]# apachectl start
/usr/local/sbin/apachectl start: httpd could not be started

and httpd -X exits immediately with no output. I've tried to run truss
on apachectl start, but I'm not really sure on how to interpret the
output (attached). Any help would be much appreciated.

[EMAIL PROTECTED] ~]# uname -a
FreeBSD prison.example.com 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May
21 08:46:15 EDT 2006
[EMAIL PROTECTED]:/jail/obj/jail/src/sys/BEHEMOTH  i386
# truss httpd -X
mmap(0x0,3608,(0x3)PROT_READ|PROT_WRITE,(0x1000)MAP_ANON,-1,0x0) = 671715328 
(0x28099000)
munmap(0x28099000,0xe18) = 0 (0x0)
__sysctl(0xbfbfe778,0x2,0x28095998,0xbfbfe774,0x0,0x0) = 0 (0x0)
mmap(0x0,32768,(0x3)PROT_READ|PROT_WRITE,(0x1002)MAP_ANON|MAP_PRIVATE,-1,0x0) = 
671715328 (0x28099000)
issetugid()  = 0 (0x0)
open(/etc/libmap.conf,0x0,0666)= 3 (0x3)
fstat(3,0xbfbfde90)  = 0 (0x0)
read(0x3,0x2809d000,0x1000)  = 0 (0x0)
close(3) = 0 (0x0)
open(/var/run/ld-elf.so.hints,0x0,00)  = 3 (0x3)
read(0x3,0xbfbfe740,0x80)= 128 (0x80)
lseek(3,0x80,SEEK_SET)   = 128 (0x80)
read(0x3,0x2809f000,0x24)= 36 (0x24)
close(3) = 0 (0x0)
access(/usr/local/lib/libcrypt.so.3,0) ERR#2 'No such file or 
directory'
access(/usr/local/lib/mysql/libcrypt.so.3,0)   ERR#2 'No such file or 
directory'
access(/lib/libcrypt.so.3,0)   = 0 (0x0)
open(/lib/libcrypt.so.3,0x0,00)= 3 (0x3)
fstat(3,0xbfbfe780)  = 0 (0x0)
read(0x3,0x280948e0,0x1000)  = 4096 (0x1000)
mmap(0x0,16384,(0x5)PROT_READ|PROT_EXEC,(0x20002)MAP_NOCORE|MAP_PRIVATE,3,0x0) 
= 671748096 (0x280a1000)
mprotect(0x280a3000,4096,(0x7)PROT_READ|PROT_WRITE|PROT_EXEC) = 0 (0x0)
mprotect(0x280a3000,4096,(0x5)PROT_READ|PROT_EXEC) = 0 (0x0)
mmap(0x280a4000,4096,(0x3)PROT_READ|PROT_WRITE,(0x12)MAP_FIXED|MAP_PRIVATE,3,0x3000)
 = 671760384 (0x280a4000)
close(3) = 0 (0x0)
access(/usr/local/lib/libexpat.so.6,0) = 0 (0x0)
open(/usr/local/lib/libexpat.so.6,0x0,027757763770) = 3 (0x3)
fstat(3,0xbfbfe780)  = 0 (0x0)
read(0x3,0x280948e0,0x1000)  = 4096 (0x1000)
mmap(0x0,122880,(0x5)PROT_READ|PROT_EXEC,(0x20002)MAP_NOCORE|MAP_PRIVATE,3,0x0) 
= 671764480 (0x280a5000)
mprotect(0x280bf000,4096,(0x7)PROT_READ|PROT_WRITE|PROT_EXEC) = 0 (0x0)
mprotect(0x280bf000,4096,(0x5)PROT_READ|PROT_EXEC) = 0 (0x0)
mmap(0x280c,12288,(0x3)PROT_READ|PROT_WRITE,(0x12)MAP_FIXED|MAP_PRIVATE,3,0x1b000)
 = 671875072 (0x280c)
close(3) = 0 (0x0)
access(/usr/local/lib/libc.so.6,0) = 0 (0x0)
open(/usr/local/lib/libc.so.6,0x0,027757763770) = 3 (0x3)
fstat(3,0xbfbfe780)  = 0 (0x0)
read(0x3,0x280948e0,0x1000)  = 4096 (0x1000)
mmap(0x0,856064,(0x5)PROT_READ|PROT_EXEC,(0x20002)MAP_NOCORE|MAP_PRIVATE,3,0x0) 
= 671887360 (0x280c3000)
mprotect(0x2817b000,4096,(0x7)PROT_READ|PROT_WRITE|PROT_EXEC) = 0 (0x0)
mprotect(0x2817b000,4096,(0x5)PROT_READ|PROT_EXEC) = 0 (0x0)
mmap(0x2817c000,20480,(0x3)PROT_READ|PROT_WRITE,(0x12)MAP_FIXED|MAP_PRIVATE,3,0xb9000)
 = 672645120 (0x2817c000)
mmap(0x28181000,77824,(0x3)PROT_READ|PROT_WRITE,(0x1012)MAP_ANON|MAP_FIXED|MAP_PRIVATE,-1,0x0)
 = 672665600 (0x28181000)
close(3) = 0 (0x0)
mmap(0x0,36864,(0x3)PROT_READ|PROT_WRITE,(0x1002)MAP_ANON|MAP_PRIVATE,-1,0x0) = 
672743424 (0x28194000)
sysarch(0xa,0xbfbfe7f0)  = 0 (0x0)
mmap(0x0,4696,(0x3)PROT_READ|PROT_WRITE,(0x1000)MAP_ANON,-1,0x0) = 672780288 
(0x2819d000)
munmap(0x2819d000,0x1258)= 0 (0x0)
mmap(0x0,520,(0x3)PROT_READ|PROT_WRITE,(0x1000)MAP_ANON,-1,0x0) = 672780288 
(0x2819d000)
munmap(0x2819d000,0x208) = 0 (0x0)
mmap(0x0,936,(0x3)PROT_READ|PROT_WRITE,(0x1000)MAP_ANON,-1,0x0) = 672780288 
(0x2819d000)
munmap(0x2819d000,0x3a8) = 0 (0x0)
mprotect(0x280c3000,757760,(0x7)PROT_READ|PROT_WRITE|PROT_EXEC) = 0 (0x0)
mmap(0x0,21800,(0x3)PROT_READ|PROT_WRITE,(0x1000)MAP_ANON,-1,0x0) = 672780288 
(0x2819d000)
munmap(0x2819d000,0x5528)= 0 (0x0)
mprotect(0x280c3000,757760,(0x5)PROT_READ|PROT_EXEC) = 0 (0x0)
sigprocmask(0x1,0x28094820,0xbfbfe7c0)   = 0 (0x0)
sigprocmask(0x3,0x28094830,0x0)  = 0 (0x0)
readlink(/etc/malloc.conf,A,63) = 2 (0x2)
issetugid()  = 0 (0x0)
mmap(0x0,4096,(0x3)PROT_READ|PROT_WRITE,(0x1002)MAP_ANON|MAP_PRIVATE,-1,0x0) = 
672780288 (0x2819d000)
break(0x807f000)   

Re: quota and /var/mail

2006-05-24 Thread patrick

If you want to only have one set of quotas, you might consider
switching to a Postfix/Maildir setup where your users' inboxes will be
located in their home folder rather than in /var/mail.

It's a fairly easy switch: install Postfix from
/usr/ports/mail/postfix, and then you just need to configure one line
in your Postfix's main.cf to turn on Maildir support:

http://www.postfix.org/faq.html#maildir

Though, there might be a bit of a learning curve with respect to the
differences between Sendmail and Postfix to convert the rest of your
configuration over. It all depends on how complicated your current
setup is.

Patrick


On 5/23/06, Marwan Sultan [EMAIL PROTECTED] wrote:

Hello Mike,

  Thank you again for your support, this is the output of mount and fstab

# DeviceMountpoint  FStype  Options Dump
Pass#
/dev/ad0s1b noneswapsw  0   0
/dev/ad0s1a /   ufs rw  1   1
/dev/ad0s1e /tmpufs rw  2   2
/dev/ad0s1f /usrufs rw,userquota,groupquota
2   2
/dev/ad0s1g /varufs rw  2   2
/dev/acd0c  /cdrom  cd9660  ro,noauto   0   0
proc/proc   procfs  rw  0   0
$ mount
/dev/ad0s1a on / (ufs, local)
/dev/ad0s1e on /tmp (ufs, local, soft-updates)
/dev/ad0s1f on /usr (ufs, local, with quotas, soft-updates)
/dev/ad0s1g on /var (ufs, local, soft-updates)
procfs on /proc (procfs, local)

I just want the quota to read the Shell user (home directory) size plus the
INBOX mails
which stay in /var/mail/$UserName

  Currently the quota reads the home directory and ignores the $inbox
  Thak you mike

  Marwan

At 07:37 PM 21/05/2006, Marwan Sultan wrote:


  No when I enabled quota I did the configuration on /usr
  shall i enable it on /var to?
  then how to make the sendmail or the shell reads the user quota on his
home directory and
  his /var/mail/$username ?


Hi,
 It all depends on how you have it mounted.  Quotas follow the
partition. So if you have /var/mail as its own partition, you need to do it
there. If you have /var/mail as a subdirectory of /var than do it on /var.

What is the contents of /etc/fstab on the box ?

  if webmin can read the home directory quota and add to it the
/var/mail/$userInbox size
  then for sure I can do it some how?

I dont use webmin so I am not sure how it calculates things.

 ---Mike

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

_
Don't just search. Find. Check out the new MSN Search!
http://search.msn.com/

___
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: Implementing IMAP advice for first timer.

2006-05-24 Thread David Robillard

--

Message: 29
Date: Tue, 23 May 2006 19:23:47 -0800
From: Noah [EMAIL PROTECTED]
Subject: Implementing IMAP advice for first timer
To: freebsd-questions freebsd-questions@freebsd.org
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain;   charset=iso-8859-1

FreeBSD-4.11

Well I want to get IMAP running on my FreeBSD box and would like to have a
safe, non service-interrupting strategy to implementing it.  I am leaning
toward installing cyrus imapd.  I have some questions about how to get things
working.

1)  Can somebody please recommend a good FAQ about how-to get IMAP running 
my
FreeBSD machine?


I'm actually writing a step-by-step guide on how I installed
Sendmail+TLS+SASL+Cyrus-IMAP. The document is still at a very early
beta stage, but it could help you out. Tell me if you'd be interested.
Meanwhile, take a look at the following ports which I used in my
setup:

mail/cyrus-imapd23
security/cyrus-sasl2
security/cyrus-sasl2-saslauthd
mail/sendmail

Note that mail/sendmail is listed here because to have a TLS/SSL and
SASLAUTH enabled sendmail daemon, you need to recompile it.



2)  Are there things I should be aware of before I start the process?


You should be confortable with the configuration of Sendmail and with
the use of OpenSSL. I would also recommend to try your setup on a test
machine rather then your production environment.



3)  I don't completely understand how IMAP works – is there a good tutorial
about this subject?


Read the documentation that comes with the cyrus-IMAP port. You can
also read the Cyrus-IMAP Wiki at http://cyrusimap.web.cmu.edu/twiki/
But to understand how IMAP works, then read the relevant RFC which
you can find a list here http://www.imap.org/biblio.html



4)  I don't completely understand how local mail delivery will change – is
there a good tutorial about this subject?

This is not exactly true.  If you switch to Cyrus from something
else, you will have to  make sure that your mail is delivered to
Cyrus instead if however it was being done before (local mbox or
maildir for example).  I have not run Cyrus in many years but they
had their own delivery agent that your local mail agent (mda/mta like
sendmail, exim, etc) would hand off to.  Has this changed or does it
still work that way?


Yes, that is still how it works. When installing mail/cyrus-imapd23
you need to change your sendmail configuration to change your MAILER
from `local' to `cyrusv2'.

Regards,

David

--
David Robillard
UNIX systems administrator
CISSP
Sun Certified Security Administrator
Sun Certified Systems Administrator
Montreal: +1 514 966 0122
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Disk Geometry Errors.

2006-05-24 Thread jdow

One thing that comes to mind, as I read below, is that it appears you
setup the drives for RAID 1. Then you transplanted to them to a RAID 5
controller. Of course the partition data will be wrong. The hidden
blocks the two RAID controllers use are probably different and the
method of storage for RAID 5 is quite different from that used by RAID 1.

(Worse yet, you may have managed to hose the drives so that any data
on them is gone.)

{^_^}   Joanne
- Original Message - 
From: Lisandro Grullon [EMAIL PROTECTED]


Hi Kevin and thanks for repplyng, sysinstall does not crach at all, the
problem is that the information is not retain by the label. I keep getting
that contact Disk Geometry error when I try fdisk into the volume/drive.
Any ideas what is happening. let me know what other information you may need
to assist me further.

On 5/24/06, Kevin Kinsey [EMAIL PROTECTED] wrote:


Lisandro Grullon wrote:
 Good Morning,

 Last night I was trying installing a new Areca controller 1120 8 ports
 using a 5 bay (300GB seagate) drives Raid 5. The main OS is install
using the
 SATA controller in RAID 1 configuration of the mother board, the
addition of
 last night was a separate controller I install.The install when good and
I
 installed my modules in the kernel, now my problem is when I try to
 partition the volume using fdisk/label with system install it is giving
me
 nasty disk geometry incorrect error, can anyone tell me what is this all
 about? Thank you.

We'd probably need some more information.  Does sysinstall crash?
Does the fdisk information get written to disk anyway?  The label?

KDK

--
Zero Mostel: That's it baby!  When you got it, flaunt it!  Flaunt it!
-- Mel Brooks, The Producers





--
Lisandro Grullon
New York City College of Technology
Division of Continuing Education
Director of Network Operations
Lisandro Office:1718-552-1178
Lisandro E-mail:   [EMAIL PROTECTED]
The only reason for time is so that everything doesn't happen at once..
Albert Einstein
___
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: Trouble with nss|pam|openldap

2006-05-24 Thread Atom Powers

On 5/24/06, Jason Lixfeld [EMAIL PROTECTED] wrote:

On 23-May-06, at 8:48 PM, Atom Powers wrote:

%ls -al
Assertion failed: (cfg-ldc_uris[__session.ls_current_uri] != NULL),
function do_init, file ldap-nss.c, line 1193.
Abort (core dumped)
%


I was able to reproduce this problem when I removed my
/usr/local/etc/nss_ldap.conf file.
It seems that some applications look for the *ldap.conf in
/usr/local/etc and some in /usr/local/etc/openldap.

I create links to /usr/local/etc/openldap/ldap.conf for all the oher
ldap.conf and nss_ldap.conf files.

--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can drive with 6.1 be directly transferred from one machine to another?

2006-05-24 Thread Andrea Venturoli

Garrett Cooper wrote:

   So I was wondering if my disk with all of the compiled binaries for 
my 1.2 GHz could simply be moved from one machine to another and just 
work without having to reinstall or recompile FreeBSD or not.


Mostly yes.
You might encounter problems if:
_ the kernel you have been using doesn't have the module for some of 
your new hardware (did you build a custom kernel?);
_ you compiled your system with a specific CPUTYPE and your new CPU does 
not match that;

_ your disks are going to have a new name on your new system;
_ ...

These are almost always easily solved, but watch especially out for the 
CPUTYPE thing.


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


Re: Can drive with 6.1 be directly transferred from one machine to another?

2006-05-24 Thread Atom Powers

On 5/24/06, Garrett Cooper [EMAIL PROTECTED] wrote:


my 1.2 GHz could simply be moved from one machine to another and just
work without having to reinstall or recompile FreeBSD or not. I would
think that I could just move the drive to another machine and boot from
it, given the fact that Intel loves making their instruction sets
backwards compatible, but I just need to make sure since I don't want to
invest in something more expensive and discover I have to start from
square one.


I do this fairly often, between similar architectures, using the
default kernel.
You may have to update hostname, IP, DHCP config, etc depending on how
your system/network is configured.

But, as always, make sure you have a good backup. You should also have
a live cd (like FreeSBIE) handy in case your drive designations change
or some hardware is not supported.

--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Firewall with 3 NIC (1 wireless) problem

2006-05-24 Thread fbsd
This may be a wild shot in the dark.
Netgear WPN311  WG311T are both CLIENT RangeMax Wireless PCI
Adapter cards.
Looks to me like you are missing hardware needed to make your wanted
wireless network to work.

On your wired LAN you cable a Nic card in your gateway box to
a hub/router/switch through which all other PC's on the LAN are
connected into.

A wireless system works much the same way. Your gateway box should
have a Nic cabled to an wireless base/router through which all other
PC's on the wireless LAN broadcast/communicate with.

You need a Netgear RangeMax Wireless Router WPN824 which is a
stand-a-lone piece of equipment cabled to your gateway box. The
Netgear WPN311 card you have in the gateway box is useless. Use it
for some other PC you want on your wireless LAN.

Please take note that the built in hardware wireless wep/wpa
encryption security is a laugh. Any body with some free software off
the internet can drive down your street and pick up your wireless
base broadcast and gain access to your network and the public
internet through you if you only rely on wep/wpa encryption for
access security. There are many solutions out there. Review the
questions list archives on wireless security for many suggestion on
how to protect your wireless network.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Mark
Moellering
Sent: Wednesday, May 24, 2006 10:33 AM
To: freebsd-questions@freebsd.org
Subject: Firewall with 3 NIC (1 wireless) problem


I am attempting to add a wireless capabilities to an existing
network /
firewall structure.  I added a wireless NIC card to the firewall
(Netgear
WPN311) and followed the wireless instructions.  I also added a
similar card
to an existing computer (Netgear WG311T).
The Firewall's internal wired network is on 192.168.1.1 and the
Wireless card
is set to 192.168.2.1
The client computer can find the wireless network and I can ping
the wireless
card (192.168.2.1)  However, I can get nowhere else.  I cannot get
to the
wired subnet nor outside access to the internet.  I tried adding a
bridge
from the wired to the wireless network interfaces but that did
nothing.  I
tried putting the wireless Nic to 192.168.1.249 but that made things
worse.
Any help would be greatly appreciated.
Both client and firewall are running Freebsd 6.1  Relevant (that I
can think
of) files from the firewall are included...

Thanks in Advance.

Mark

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


Re: LIB_DEPENDS problem

2006-05-24 Thread Kris Kennaway
On Wed, May 24, 2006 at 03:00:10PM +, db wrote:
 libpqxx.so is not a broken link:
 
 work# ls -l /usr/local/lib/*pqxx*
 -rwxr-xr-x  1 root  wheel  332194 May  4 14:56 
 /usr/local/lib/libpqxx-2.5.5.so
 -rw-r--r--  1 root  wheel  439800 May  4 14:56 /usr/local/lib/libpqxx.a
 -rwxr-xr-x  1 root  wheel 851 May  4 14:56 /usr/local/lib/libpqxx.la
 lrwxr-xr-x  1 root  wheel  16 May  4 14:56 /usr/local/lib/libpqxx.so 
 - libpqxx-2.5.5.so
 work# ldconfig -r | grep pqxx
 work#

I don't know why it might not be known to ldconfig, but that is the
cause of your problem.  The port DTRT to update ldconfig at install
time:

INSTALLS_SHLIB= yes

Try rerunning ldconfig -R (or reboot).

Kris


pgpKrzF8OgpLf.pgp
Description: PGP signature


Re: LIB_DEPENDS problem

2006-05-24 Thread db

Kris Kennaway wrote:

work# ls -l /usr/local/lib/*pqxx*
-rwxr-xr-x  1 root  wheel  332194 May  4 14:56 
/usr/local/lib/libpqxx-2.5.5.so

-rw-r--r--  1 root  wheel  439800 May  4 14:56 /usr/local/lib/libpqxx.a
-rwxr-xr-x  1 root  wheel 851 May  4 14:56 /usr/local/lib/libpqxx.la
lrwxr-xr-x  1 root  wheel  16 May  4 14:56 /usr/local/lib/libpqxx.so 
- libpqxx-2.5.5.so

work# ldconfig -r | grep pqxx
work#


Try rerunning ldconfig -R (or reboot).
  

I tried (both), but no luck :-(

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


Re: LIB_DEPENDS problem

2006-05-24 Thread Kris Kennaway
On Wed, May 24, 2006 at 08:56:44PM +, db wrote:
 Kris Kennaway wrote:
 work# ls -l /usr/local/lib/*pqxx*
 -rwxr-xr-x  1 root  wheel  332194 May  4 14:56 
 /usr/local/lib/libpqxx-2.5.5.so
 -rw-r--r--  1 root  wheel  439800 May  4 14:56 /usr/local/lib/libpqxx.a
 -rwxr-xr-x  1 root  wheel 851 May  4 14:56 /usr/local/lib/libpqxx.la
 lrwxr-xr-x  1 root  wheel  16 May  4 14:56 /usr/local/lib/libpqxx.so 
 - libpqxx-2.5.5.so
 work# ldconfig -r | grep pqxx
 work#
 
 Try rerunning ldconfig -R (or reboot).
   
 I tried (both), but no luck :-(

Reinstall the port then, something seems to be wrong with it (corrupt
library?).

Kris


pgpjvEMNomiKV.pgp
Description: PGP signature


Re: LIB_DEPENDS problem

2006-05-24 Thread db

Kris Kennaway wrote:

work# ls -l /usr/local/lib/*pqxx*
-rwxr-xr-x  1 root  wheel  332194 May  4 14:56 
/usr/local/lib/libpqxx-2.5.5.so

-rw-r--r--  1 root  wheel  439800 May  4 14:56 /usr/local/lib/libpqxx.a
-rwxr-xr-x  1 root  wheel 851 May  4 14:56 /usr/local/lib/libpqxx.la
lrwxr-xr-x  1 root  wheel  16 May  4 14:56 /usr/local/lib/libpqxx.so 
- libpqxx-2.5.5.so

work# ldconfig -r | grep pqxx
work#
   


Try rerunning ldconfig -R (or reboot).
 
  

I tried (both), but no luck :-(



Reinstall the port then, something seems to be wrong with it (corrupt
library?).
  

Ok tried that and still no luck :-(

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


Re: LIB_DEPENDS problem

2006-05-24 Thread Kris Kennaway
On Wed, May 24, 2006 at 09:11:58PM +, db wrote:
 Kris Kennaway wrote:
 work# ls -l /usr/local/lib/*pqxx*
 -rwxr-xr-x  1 root  wheel  332194 May  4 14:56 
 /usr/local/lib/libpqxx-2.5.5.so
 -rw-r--r--  1 root  wheel  439800 May  4 14:56 /usr/local/lib/libpqxx.a
 -rwxr-xr-x  1 root  wheel 851 May  4 14:56 /usr/local/lib/libpqxx.la
 lrwxr-xr-x  1 root  wheel  16 May  4 14:56 
 /usr/local/lib/libpqxx.so - libpqxx-2.5.5.so
 work# ldconfig -r | grep pqxx
 work#

 
 Try rerunning ldconfig -R (or reboot).
  
   
 I tried (both), but no luck :-(
 
 
 Reinstall the port then, something seems to be wrong with it (corrupt
 library?).
   
 Ok tried that and still no luck :-(

What port are you having problems with again?

Kris


pgpHt0REyn1Zu.pgp
Description: PGP signature


Re: LIB_DEPENDS problem

2006-05-24 Thread db

Kris Kennaway wrote:

What port are you having problems with again?
  

It's not in the port collection yet:

PORTNAME=   esad
PORTVERSION=0.1
CATEGORIES= net
MASTER_SITES=   http://esad.trunet.dk/  #no you can't download anything 
until it is ready


MAINTAINER= [EMAIL PROTECTED]
COMMENT=Multi-service framework

INSTALLS_SHLIB= yes

#LIB_DEPENDS=   cppe:${PORTSDIR}/devel/cppe \ (also a port not in the 
collection)

LIB_DEPENDS=ACE_SSL:${PORTSDIR}/devel/ace \
   pqxx:${PORTSDIR}/databases/postgresql-libpqxx

WRKSRC= ${WRKDIR}/esad

do-install:
   ${INSTALL_DATA} ${WRKSRC}/plugins/relay/relay.so 
${PREFIX}/lib/esad/relay.so
   ${INSTALL_DATA} ${WRKSRC}/plugins/maildir/maildir.so 
${PREFIX}/lib/esad/maildir.so

   ${INSTALL_PROGRAM} ${WRKSRC}/src/esad ${PREFIX}/bin/esad

.include bsd.port.mk


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


Re: LIB_DEPENDS problem

2006-05-24 Thread Kris Kennaway
On Wed, May 24, 2006 at 09:46:18PM +, db wrote:
 Kris Kennaway wrote:
 What port are you having problems with again?
   
 It's not in the port collection yet:
 
 PORTNAME=   esad
 PORTVERSION=0.1
 CATEGORIES= net
 MASTER_SITES=   http://esad.trunet.dk/  #no you can't download anything 
 until it is ready
 
 MAINTAINER= [EMAIL PROTECTED]
 COMMENT=Multi-service framework
 
 INSTALLS_SHLIB= yes
 
 #LIB_DEPENDS=   cppe:${PORTSDIR}/devel/cppe \ (also a port not in the 
 collection)
 LIB_DEPENDS=ACE_SSL:${PORTSDIR}/devel/ace \
pqxx:${PORTSDIR}/databases/postgresql-libpqxx

Grrr..this is your fault since that's not the library name installed
by that port.

Kris


pgpKKqy9p2Bt7.pgp
Description: PGP signature


RE: Trouble with nss|pam|openldap

2006-05-24 Thread Ansar Mohammed
Have you tried nss_ldap without pam?



 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-freebsd-
 [EMAIL PROTECTED] On Behalf Of Atom Powers
 Sent: May 24, 2006 3:23 PM
 To: Jason Lixfeld
 Cc: FreeBSD Questions Mailing List
 Subject: Re: Trouble with nss|pam|openldap
 
 On 5/24/06, Jason Lixfeld [EMAIL PROTECTED]
 wrote:
  On 23-May-06, at 8:48 PM, Atom Powers wrote:
 
  %ls -al
  Assertion failed: (cfg-ldc_uris[__session.ls_current_uri] != NULL),
  function do_init, file ldap-nss.c, line 1193.
  Abort (core dumped)
  %
 
 I was able to reproduce this problem when I removed my
 /usr/local/etc/nss_ldap.conf file.
 It seems that some applications look for the *ldap.conf in
 /usr/local/etc and some in /usr/local/etc/openldap.
 
 I create links to /usr/local/etc/openldap/ldap.conf for all the oher
 ldap.conf and nss_ldap.conf files.
 
 --
 --
 Perfection is just a word I use occasionally with mustard.
 --Atom Powers--
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-
 [EMAIL PROTECTED]

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


Darkice FreeBSD named pipe (fwd)

2006-05-24 Thread Jason L. Ellison

I'm cross posting this incase anyone knows the answer.

-- Forwarded message --

Hello List,

  I was using darkice to write a [file] to a named pipe.  This functioned
on linux but on FreeBSD 6.1 darkice fails to use the fifo as a file.  Is
this a darkice issue?  Or have I done something wrong in FreeBSD land?

-Jason Ellison


alpha# /usr/local/bin/darkice -c /usr/local/etc/darkice.cfg
DarkIce 0.17 live audio streamer, http://darkice.sourceforge.net
Copyright (c) 2000-2006, Tyrell Hungary, http://tyrell.hu

Using config file: /usr/local/etc/darkice.cfg
Using OSS DSP input device: /dev/dsp2
Using POSIX real-time scheduling, priority 30
DarkIce: DarkIce.cpp:1100: can't open connector [0]


# cat /usr/local/etc/darkice.cfg
[general]
duration= 0# duration of encoding, in seconds. 0 means
forever
bufferSecs  = 5 # size of internal slip buffer, in seconds
reconnect   = yes   # reconnect to the server(s) if disconnected
!-- realtime= yes --

[input]
device  = /dev/dsp2  # OSS DSP soundcard device for the audio
input
sampleRate  = 44100 # sample rate in Hz. try 11025, 22050 or 44100
bitsPerSample   = 16# bits per sample. try 16
channel = 2 # channels. 1 = mono, 2 = stereo

[file-0]
bitrateMode = cbr
format  = mp2
bitrate = 160
-- quality = 0.8 --
fileName= /tmp/stream.fifo
samplerate  = 44100
highpass= -1
lowpass = -1


# ls -l /tmp/stream.fifo
prw-rw-rw-  1 root  wheel  0 May 24 16:03 /tmp/stream.fifo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Intel Mac experiences

2006-05-24 Thread James Earl

Hi,

I'm just curious if there's any developers playing around with getting
FreeBSD installed onto an Intel Mac, and if you could share any
experiences or development plans?  My 6.1-RELEASE installation CD gets
just past the boot menu and then stops.  OpenBSD boots further but not
all the way, and Gentoo Linux LiveCD runs great.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


private vhost

2006-05-24 Thread Ralphy
hello 

i would like to ask what command can show me the privates vhosts 'ip' in my 
root , i have some ips 'private in root' and wanna check wich of them are , thx
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Conexant AccessRunner ADSL USB modem

2006-05-24 Thread Mikhail Goriachev
Grad wrote:
 Hi,
 I am a complete newbie in FreeBSD and i was wondering if i can use my
 usb modem (Crypto F200 with Conexant AccessRunner Chipset) to connect to
 the
 internet using FreeBSD 6.1. The dmesg
 command indicates that the OS sees the modem using ugen0.
 I understand that this driver is the one generally used for usb devices.
 Even if this is the driver and my modem is supported how exactly can i
 connect to my ISP because I cannot see anyplace that i could declare
 username and password.
 Thanks in advance,
 Trapatsas Panagiotis


Hi,

This is a good starting point for you:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ppp-and-slip.html

and

/usr/share/examples/ppp

I personally stay away from USB (ADSL) modems. I prefer the ones that
connect through Ethernet and support half or full bridge mode.

I hope this helps.

Cheers,
Mikhail.


-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: http://www.webanoide.org

PGP Key ID: 0x4E148A3B
PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: CD Burning Not Working

2006-05-24 Thread Jacob Jennings
In response to burncd, I receive this error upon running it:

burncd: ioctl(CDIOCSTART): Input/output error

which seems a lot less exhaustive and to the point than the other junk that 
was spit out by dmesg and cdrecord. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: upload-only ftp server

2006-05-24 Thread Paul Schmehl
--On May 24, 2006 4:32:55 PM +0200 User Gandalf [EMAIL PROTECTED] 
wrote:




  Dear List,

I would like to install an ftp server. Some of the users want to upload
files to the server. I would not like to start an ftp server at all,
because I'm too paranoid. But my users demand it. I looked at the ports
tree and I found many ftp servers. I cannot choose between them. Can you
recommend one for me? I only need one ftp user (possibly with a
password), and upload/list files only. The most important thing is
security, and the ability to handle passive transfers.

Is there a reason they can't use sftp?  You're most likely already running 
sshd, which means you already have sftp capabilities builtin.  If the issue 
is usability, there are a number of gui clients available for all platforms 
(WinSCP for Windows, for example) that make the process painless.


Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Re: how to change roots shell

2006-05-24 Thread [EMAIL PROTECTED]
On  Fri, May 19, 2006 08:17 PM, Izwan Mohd wrote:

 Stoller wrote:
 
On  Fri, May 19, 2006 08:04 AM  Andy Greenwood  wrote
snip

 how is he supposed to complete step one? Single-user mode is 
 going to be the best way to get this fixed, IMHO
snip

  My reading of his question leads me to believe that his problem 
 was how to effect the change, not how to login.


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

 then you are not reading his question very well :p not actually right 
This is the first time that I have seen :p, but it looks somewhat 
insulting to me.  If it is, I don't want to communicate with you anymore!!!

But I'll finish this for the others who may be reading it.

 his problem was he acidently change the root shell to non-existant 
 prog now he can't login to root account and want to recover it.
 

 how is he supposed to complete step one? Single-user mode is going 
 to be the best way to get this fixed, IMHO
 
Have you tried Single-user mode?  Well, I have.  When one runs that 
way, you run as  root  but with an empty  PATH  so you have to know where each 
command that you want to invoke is located or you have to set up the  PATH  
variable.   vipw  is in  /usr/sbin .
This user should be more paranoid.  He should create two other
 superuser  accounts so that he has more chances of running as the
 superuser  even if one  superuser's  account is discombobulated.
I have at least 3   superuser  accounts (starting different login shells).
 
 yeah belive so too if he can't do all the command given before 
 Single-User mode is the only way to change it


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


Re: upload-only ftp server

2006-05-24 Thread Mikhail Goriachev
Paul Schmehl wrote:
 --On May 24, 2006 4:32:55 PM +0200 User Gandalf
 [EMAIL PROTECTED] wrote:
 

   Dear List,

 I would like to install an ftp server. Some of the users want to upload
 files to the server. I would not like to start an ftp server at all,
 because I'm too paranoid. But my users demand it. I looked at the ports
 tree and I found many ftp servers. I cannot choose between them. Can you
 recommend one for me? I only need one ftp user (possibly with a
 password), and upload/list files only. The most important thing is
 security, and the ability to handle passive transfers.

 Is there a reason they can't use sftp?  You're most likely already
 running sshd, which means you already have sftp capabilities builtin. 
 If the issue is usability, there are a number of gui clients available
 for all platforms (WinSCP for Windows, for example) that make the
 process painless.


Yeah, I agree. I forced my users to use SFTP through FileZilla on
windows. They actually think they're using FTP instead of SFTP. So
everyone is happy including me.

Cheers,
Mikhail.


-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: http://www.webanoide.org

PGP Key ID: 0x4E148A3B
PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can drive with 6.1 be directly transferred from one machine to another?

2006-05-24 Thread Mikhail Goriachev
Garrett Cooper wrote:
 Another valid question I suppose is whether or not I can move the
 machine from a box with a Celeron CPU to one with an AMD CPU (not sure
 if vendors matter even though ISAs are the same).
 -Garrett


I guess it would depend on the AMD processor. If it's 32bits then it
falls into i386 category, same as the Celerons. If it is 64bits then it
*might* still work in 32bits mode (backward compatibility). In the
latter case I'd get and AMD64 copy of FreeBSD.

Cheers,
Mikhail.


-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: http://www.webanoide.org

PGP Key ID: 0x4E148A3B
PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Anyone using sysutils/nut ?

2006-05-24 Thread Mikhail Goriachev
Scott Tuc Ellentuch at T-B-O-H wrote:
 I'm going by :

 /usr/local/share/doc/nut/shutdown.txt

 Subsection How you set it up, item #2 :

 2. Edit your shutdown scripts to check for the POWERDOWNFLAG so they
 know
when to power off the UPS.  You must check for this file, as you
 don't
want this to happen during normal shutdowns!

You can use upsdrvctl to start the shutdown process in your UPS 
hardware.  Use this script as an example, but change the paths to
suit your system:
 My bad.  I did edit rc.shutdown on both a 5.4 and a 6.0 system with no
 troubles.  The end of my file shows this:

 # Inserted next 5 lines March 13, 2006 for UPS shutdown.
 if (test -f /etc/killpower)
 then
 echo Killing the power, bye!
 /usr/local/libexec/nut/upsdrvctl shutdown
 fi

 echo '.'
 exit 0

   But doesn't that immediately shut down your system causing it
 to need FSCK when it comes back up?


Hi,

I got the following line in /usr/local/etc/nut/upsmon.conf:

SHUTDOWNCMD /sbin/shutdown -p now

As far as I'm concerned the system powers off cleanly without the need
of FSCK.

Cheers,
Mikhail.


-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: http://www.webanoide.org

PGP Key ID: 0x4E148A3B
PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: quota and /var/mail

2006-05-24 Thread Mike Tancsa
On Wed, 24 May 2006 11:02:44 -0700, in sentex.lists.freebsd.questions
you wrote:

If you want to only have one set of quotas, you might consider
switching to a Postfix/Maildir setup where your users' inboxes will be
located in their home folder rather than in /var/mail.

It's a fairly easy switch: install Postfix from
/usr/ports/mail/postfix, and then you just need to configure one line
in your Postfix's main.cf to turn on Maildir support:

http://www.postfix.org/faq.html#maildir

Though, there might be a bit of a learning curve with respect to the
differences between Sendmail and Postfix to convert the rest of your
configuration over. It all depends on how complicated your current
setup is.

Maildir is certainly a better way to go.  If you want to stick with
sendmail, you can also use procmail as your LDA.  However, again, it
requires a bit of learning as it works differently.

---Mike

Mike Tancsa, Sentex communications http://www.sentex.net
Providing Internet Access since 1994
[EMAIL PROTECTED], (http://www.tancsa.com)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Trouble with nss|pam|openldap

2006-05-24 Thread Jason Lixfeld

On 24-May-06, at 6:15 PM, Ansar Mohammed wrote:


Have you tried nss_ldap without pam?


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


Re: Anyone using sysutils/nut ?

2006-05-24 Thread Tuc at T-B-O-H
 
 Scott Tuc Ellentuch at T-B-O-H wrote:
I'm going by :
 
/usr/local/share/doc/nut/shutdown.txt
 
Subsection How you set it up, item #2 :
 
  2. Edit your shutdown scripts to check for the POWERDOWNFLAG so they
  know
 when to power off the UPS.  You must check for this file, as you
  don't
 want this to happen during normal shutdowns!
 
 You can use upsdrvctl to start the shutdown process in your UPS 
 hardware.  Use this script as an example, but change the paths to
 suit your system:
  My bad.  I did edit rc.shutdown on both a 5.4 and a 6.0 system with no
  troubles.  The end of my file shows this:
 
  # Inserted next 5 lines March 13, 2006 for UPS shutdown.
  if (test -f /etc/killpower)
  then
  echo Killing the power, bye!
  /usr/local/libexec/nut/upsdrvctl shutdown
  fi
 
  echo '.'
  exit 0
 
  But doesn't that immediately shut down your system causing it
  to need FSCK when it comes back up?
 
 
 Hi,
 
 I got the following line in /usr/local/etc/nut/upsmon.conf:
 
 SHUTDOWNCMD /sbin/shutdown -p now
 
 As far as I'm concerned the system powers off cleanly without the need
 of FSCK.
 
 Cheers,
 Mikhail.
 
The issue isn't with the upsmon or SHUTDOWNCMD... Its with the
fact that /etc/killpower gets set, and somewhere you need to put 
upsdrvctl shutdown. Its during the shutdown -p now that at some point
needs to be run, and if its run in /etc/rc.shutdown then the shutdown isn't
finished and shutting it off at that point the filesystems are dirty.

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


Re: Trouble with nss|pam|openldap

2006-05-24 Thread Dan Nelson
In the last episode (May 24), Jason Lixfeld said:
 On 24-May-06, at 6:15 PM, Ansar Mohammed wrote:
 
 Have you tried nss_ldap without pam?
 
 How is that even possible?

It's possible, but not too useful.  If you always force people to ssh
in via keys, for example, you don't need pam_ldap.  PAM only job is
authentication, NSS handles everything after that.

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


RAID-10 controller for FreeBSD 6.1 -- opinions please.

2006-05-24 Thread Hugo Silva

Hello,

I am planning to deploy a server that will make use of hardware RAID 
(10). However, I don't mess with RAID+FreeBSD for quite some years now, 
so I don't know which adapter(s) are currently the most stable and best 
supported. What I would like are opinions and experiences from people 
that have been sucessfully using RAID with SCSI disks on FreeBSD 6.0 or 6.1.


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


Re: CD Burning Not Working

2006-05-24 Thread Kevin Kinsey

Jacob Jennings wrote:

In response to burncd, I receive this error upon running it:

burncd: ioctl(CDIOCSTART): Input/output error

which seems a lot less exhaustive and to the point than the other junk that 
was spit out by dmesg and cdrecord. 


So, I'm late to the party, and dense as lead, but I have to ask.

You're doing this as root, or a normal user?

Kevin Kinsey

--
What sane person could live in this world and not be crazy?
-- Ursula K. LeGuin

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


Re: Anyone using sysutils/nut ?

2006-05-24 Thread Mikhail Goriachev
Tuc at T-B-O-H wrote:
   The issue isn't with the upsmon or SHUTDOWNCMD... Its with the
 fact that /etc/killpower gets set, and somewhere you need to put 
 upsdrvctl shutdown. Its during the shutdown -p now that at some point
 needs to be run, and if its run in /etc/rc.shutdown then the shutdown isn't
 finished and shutting it off at that point the filesystems are dirty.


Oh, I see the dilemma now. In my case my box powers off but the UPS
stays on till it drastically dies (if power is still unavailable).
You're trying to shutdown both the system and the UPS, aren't you? So
then they can automatically come back up again when power returns.


Cheers,
Mikhail.

-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: http://www.webanoide.org

PGP Key ID: 0x4E148A3B
PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Portmanager Output Resolution

2006-05-24 Thread Jim Angstadt
Hi All,

Having run portmanager -u several times now, I am
very pleased to say that my times have decreased from
an initial 38 hours to about 2 hours, per run.

Along the way, I have cleaned up conflicts and did
pkg_delete on several applications that were
included in base or that really were not needed.

Now I'm faced with situations where I don't have a
clue.  Below is partial output from portmanager -s. 
I have manipulated each line to avoid line wrapping
problems, I hope.

00129 have:cdrtools-2.01_4
/sysutils/cdrtools
OLD available: cdrtools-2.01_5
00131 have:libcdio-0.76_1
/sysutils/libcdio
OLD available: libcdio-0.77
00141 have:dvd+rw-tools-6.1
/sysutils/dvd+rw-tools
built with OLD dependency: cdrtools-2.01_5
00186 have:nautilus-cd-burner-2.14.1
/sysutils/nautilus-cd-burner
built with OLD dependency: cdrtools-2.01_5
00250 have:sound-juicer-2.14.3
/audio/sound-juicer
OLD available: sound-juicer-2.14.3_1
00255 have:gnome2-2.14.1
/x11/gnome2
built with OLD dependency: sound-juicer-2.14.3_1

In the case of cdrtools or libcdio or sound-juicer, 
I think this is telling me that I have an older 
version installed and a newer version is available.

What should I do in this situation?

In the case of dvd+rw-tools or nautilus-cd-burner or
gnome2, apparently I have a solid-gold chance to mess
up dependencies.

What should I do here?

Please note that I am new to FreeBSD and have a very 
limited exposure to using make to build packages.
Any links to dealing with portmanager output 
would be appreciated.

Jim


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Anyone using sysutils/nut ?

2006-05-24 Thread Tuc at T-B-O-H
 
 Tuc at T-B-O-H wrote:
  The issue isn't with the upsmon or SHUTDOWNCMD... Its with the
  fact that /etc/killpower gets set, and somewhere you need to put 
  upsdrvctl shutdown. Its during the shutdown -p now that at some point
  needs to be run, and if its run in /etc/rc.shutdown then the shutdown isn't
  finished and shutting it off at that point the filesystems are dirty.
 
 
 Oh, I see the dilemma now. In my case my box powers off but the UPS
 stays on till it drastically dies (if power is still unavailable).
 You're trying to shutdown both the system and the UPS, aren't you? 

Exactly, yes.

 So
 then they can automatically come back up again when power returns.

That what I want to do, yea.

I think I'm finding that the UPS I bought (MGE Ellipse Pulsar)
isn't really a UPS, but a toy.  Now to decide if I give the next step up
(Evolution) a try or is it just wasting more money.

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


Re: Portmanager Output Resolution

2006-05-24 Thread Aaron Holmes

Jim Angstadt wrote:

Hi All,

Having run portmanager -u several times now, I am
very pleased to say that my times have decreased from
an initial 38 hours to about 2 hours, per run.

Along the way, I have cleaned up conflicts and did
pkg_delete on several applications that were
included in base or that really were not needed.

Now I'm faced with situations where I don't have a
clue.  Below is partial output from portmanager -s. 
I have manipulated each line to avoid line wrapping

problems, I hope.

00129 have:cdrtools-2.01_4
/sysutils/cdrtools
OLD available: cdrtools-2.01_5
00131 have:libcdio-0.76_1
/sysutils/libcdio
OLD available: libcdio-0.77
00141 have:dvd+rw-tools-6.1
/sysutils/dvd+rw-tools
built with OLD dependency: cdrtools-2.01_5
00186 have:nautilus-cd-burner-2.14.1
/sysutils/nautilus-cd-burner
built with OLD dependency: cdrtools-2.01_5
00250 have:sound-juicer-2.14.3
/audio/sound-juicer
OLD available: sound-juicer-2.14.3_1
00255 have:gnome2-2.14.1
/x11/gnome2
built with OLD dependency: sound-juicer-2.14.3_1

In the case of cdrtools or libcdio or sound-juicer, 
I think this is telling me that I have an older 
version installed and a newer version is available.


What should I do in this situation?

In the case of dvd+rw-tools or nautilus-cd-burner or
gnome2, apparently I have a solid-gold chance to mess
up dependencies.

What should I do here?

Please note that I am new to FreeBSD and have a very 
limited exposure to using make to build packages.
Any links to dealing with portmanager output 
would be appreciated.


Jim


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___

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

  

Is it absolutely necessary for you to update these dependencies?
If it is, you can try portupgrade port but that my very well break 
everything :p

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


Re: Anyone using sysutils/nut ?

2006-05-24 Thread Mikhail Goriachev
Tuc at T-B-O-H wrote:
 Tuc at T-B-O-H wrote:
 The issue isn't with the upsmon or SHUTDOWNCMD... Its with the
 fact that /etc/killpower gets set, and somewhere you need to put 
 upsdrvctl shutdown. Its during the shutdown -p now that at some point
 needs to be run, and if its run in /etc/rc.shutdown then the shutdown isn't
 finished and shutting it off at that point the filesystems are dirty.

 Oh, I see the dilemma now. In my case my box powers off but the UPS
 stays on till it drastically dies (if power is still unavailable).
 You're trying to shutdown both the system and the UPS, aren't you? 

   Exactly, yes.
 So
 then they can automatically come back up again when power returns.

   That what I want to do, yea.
 
   I think I'm finding that the UPS I bought (MGE Ellipse Pulsar)
 isn't really a UPS, but a toy.  Now to decide if I give the next step up
 (Evolution) a try or is it just wasting more money.


I got an MGE Pulsar EXtreme C 3200. In current setup it lasts for hours.
When deployed, my main objective was to shutdown the box, hence saving
it from disasters. I never considered doing the same with the UPS. I
guess it is time for me to finish the job.


-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: http://www.webanoide.org

PGP Key ID: 0x4E148A3B
PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


dd to create .iso of a cd

2006-05-24 Thread Jonathan Horne
i hate to ask another back when i used linux question, but here goes:

back when i used linux, i would create a .iso file of a cd like this:

dd if=/dev/cdrom of=/path/destfile.iso

... and it would just work.  made a perfect copy every time (specifically,
of microsoft cds at the office, and each one was able to burn to a
bootable copy of what ever it was).  well, i tried to do this in freebsd,
but no luck.  i was able to take a .iso file, but it did not make a
bootable disk once it was burned.  my command was the same as above, but
added bs=2048 at the end(as per what i read in the handbook).

can anyone recommend how to create a .iso image in freebsd that will
render a bootable .iso file?  i hate to have to keep a linux box around
the office just for the purpose of successfully creating a .iso file  :)

cheers,
jonathan

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


newbie cyrus-imapd config

2006-05-24 Thread Noah
Hi,

okay I am trying to configure and implement cyrus-imapd 2.3.3 on my FreeBSD
machine.  I am looking for a good HOW-TO tutorial to get started.

This is what I came up with:

http://en.tldp.org/HOWTO/Cyrus-IMAP-7.html

Might there be other tutorials that explain things well.

Cheers,

Noah

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


Re: Portmanager Output Resolution

2006-05-24 Thread Jim Angstadt


--- Aaron Holmes [EMAIL PROTECTED] wrote:

 Jim Angstadt wrote:
  Hi All,
 
  Having run portmanager -u several times now, I
 am
  very pleased to say that my times have decreased
 from
  an initial 38 hours to about 2 hours, per run.
 
  Along the way, I have cleaned up conflicts and
 did
  pkg_delete on several applications that were
  included in base or that really were not needed.
 
  Now I'm faced with situations where I don't have a
  clue.  Below is partial output from portmanager
 -s. 
  I have manipulated each line to avoid line
 wrapping
  problems, I hope.
 
  00129 have:cdrtools-2.01_4
  /sysutils/cdrtools
  OLD available: cdrtools-2.01_5
  00131 have:libcdio-0.76_1
  /sysutils/libcdio
  OLD available: libcdio-0.77
  00141 have:dvd+rw-tools-6.1
  /sysutils/dvd+rw-tools
  built with OLD dependency: cdrtools-2.01_5
  00186 have:nautilus-cd-burner-2.14.1
  /sysutils/nautilus-cd-burner
  built with OLD dependency: cdrtools-2.01_5
  00250 have:sound-juicer-2.14.3
  /audio/sound-juicer
  OLD available: sound-juicer-2.14.3_1
  00255 have:gnome2-2.14.1
  /x11/gnome2
  built with OLD dependency: sound-juicer-2.14.3_1
 
  In the case of cdrtools or libcdio or
 sound-juicer, 
  I think this is telling me that I have an older 
  version installed and a newer version is
 available.
 
  What should I do in this situation?
 
  In the case of dvd+rw-tools or nautilus-cd-burner
 or
  gnome2, apparently I have a solid-gold chance to
 mess
  up dependencies.
 
  What should I do here?
 
  Please note that I am new to FreeBSD and have a
 very 
  limited exposure to using make to build
 packages.
  Any links to dealing with portmanager output 
  would be appreciated.
 
  Jim

[...]

 Is it absolutely necessary for you to update these
 dependencies?
 If it is, you can try portupgrade port but that my
 very well break 
 everything :p

So far, the few apps that I have used appear to work
as expected, but I have not tested many that I hope to
use.

I was under the impression that it is desirable and
reasonable to resolve portmanager output.  Is this a
mistaken idea?

Thanks,
Jim




__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Portmanager Output Resolution

2006-05-24 Thread Aaron Holmes

Jim Angstadt wrote:

--- Aaron Holmes [EMAIL PROTECTED] wrote:

  

Jim Angstadt wrote:


Hi All,

Having run portmanager -u several times now, I
  

am


very pleased to say that my times have decreased
  

from


an initial 38 hours to about 2 hours, per run.

Along the way, I have cleaned up conflicts and
  

did


pkg_delete on several applications that were
included in base or that really were not needed.

Now I'm faced with situations where I don't have a
clue.  Below is partial output from portmanager
  
-s. 


I have manipulated each line to avoid line
  

wrapping


problems, I hope.

00129 have:cdrtools-2.01_4
/sysutils/cdrtools
OLD available: cdrtools-2.01_5
00131 have:libcdio-0.76_1
/sysutils/libcdio
OLD available: libcdio-0.77
00141 have:dvd+rw-tools-6.1
/sysutils/dvd+rw-tools
built with OLD dependency: cdrtools-2.01_5
00186 have:nautilus-cd-burner-2.14.1
/sysutils/nautilus-cd-burner
built with OLD dependency: cdrtools-2.01_5
00250 have:sound-juicer-2.14.3
/audio/sound-juicer
OLD available: sound-juicer-2.14.3_1
00255 have:gnome2-2.14.1
/x11/gnome2
built with OLD dependency: sound-juicer-2.14.3_1

In the case of cdrtools or libcdio or
  
sound-juicer, 

I think this is telling me that I have an older 
version installed and a newer version is
  

available.


What should I do in this situation?

In the case of dvd+rw-tools or nautilus-cd-burner
  

or


gnome2, apparently I have a solid-gold chance to
  

mess


up dependencies.

What should I do here?

Please note that I am new to FreeBSD and have a
  
very 


limited exposure to using make to build
  

packages.

Any links to dealing with portmanager output 
would be appreciated.


Jim
  


[...]

  

Is it absolutely necessary for you to update these
dependencies?
If it is, you can try portupgrade port but that my
very well break 
everything :p



So far, the few apps that I have used appear to work
as expected, but I have not tested many that I hope to
use.

I was under the impression that it is desirable and
reasonable to resolve portmanager output.  Is this a
mistaken idea?

Thanks,
Jim




__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___

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

  
I guess it would depend on who you ask. I, personally tend to live by 
If it ain't broke, don't fix it at least if it's a production box.
I don't use any sort of GUI of my FreeBSD systems, so I will leave this 
to someone else to answer. sorry.


Aaron

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


Re: Firewall with 3 NIC (1 wireless) problem

2006-05-24 Thread Dennis Olvany

net.link.ether.bridge.enable=1
net.link.ether.bridge.config=bge0, ath0


Let's have a look at ifconfig and netstat -r. Whats with this bridge? 
Think you'd be better off without it.

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


Re: Anyone using sysutils/nut ?

2006-05-24 Thread Garance A Drosihn

At 10:54 AM -0400 5/22/06, Scott Tuc Ellentuch at T-B-O-H wrote:

Hi,

I'd like to find out where to put the
upsdrvctl shutdown in the shutdown process. Putting
it in rc.shutdown causes me to have dirty filesystems
constantly that sometimes don't allow the system to
come up.


I seem to recall someone saying that the best way to do
this was to create some flag-file, and then reboot instead
of shutdown.  Then very early in the system-startup you
look for that flag-file, and run 'upsdrvctl shutdown'.

Since you just successfully went through the complete
shutdown, all the disks should be in a safe state.
So, the UPS will yank the power out from under the
computer, but it won't matter.

The trick, of course, is to add some logic there so you
can boot up after the power has returned!  Either check
the last-change date of the flag-file, or maybe do
something to re-mount '/' as writable, delete the one
file, and re-mount it back as read-only.  I have never
done any of this with my own UPS, so I'm not sure of
the details...   :-)

--
Garance Alistair Drosehn=   [EMAIL PROTECTED]
Senior Systems Programmer   or  [EMAIL PROTECTED]
Rensselaer Polytechnic Instituteor  [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: Anyone using sysutils/nut ?

2006-05-24 Thread Garance A Drosihn

At 10:54 AM -0400 5/22/06, Scott Tuc Ellentuch at T-B-O-H wrote:

Hi,

I'd like to find out where to put the
upsdrvctl shutdown in the shutdown process. Putting
it in rc.shutdown causes me to have dirty filesystems
constantly that sometimes don't allow the system to
come up.


It occurs to me that I did save away the message that
said the right way to do it:


At 11:21 AM -0700 5/19/00, Mike Smith wrote:


The canonical way to do this is actually to shudown
and reboot.

In the _startup_ phase, while the root filesystem is
still mounted readonly, you check the UPS status.  At
this point, you have access to the disk in a read-only
fashion, and you can power-off (or have the UPS die)
at any time.


So, you don't create any flag-file as I had guessed in my
previous message.  The one thing you need to make sure if
is that your UPS-reading program can *run* before /usr is
mounted.  You could test that by booting up in single-user
mode, and see if the program works.

--
Garance Alistair Drosehn=   [EMAIL PROTECTED]
Senior Systems Programmer   or  [EMAIL PROTECTED]
Rensselaer Polytechnic Instituteor  [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: dd to create .iso of a cd

2006-05-24 Thread Mikhail Goriachev
Jonathan Horne wrote:
 i hate to ask another back when i used linux question, but here goes:
 
 back when i used linux, i would create a .iso file of a cd like this:
 
 dd if=/dev/cdrom of=/path/destfile.iso
 
 ... and it would just work.  made a perfect copy every time (specifically,
 of microsoft cds at the office, and each one was able to burn to a
 bootable copy of what ever it was).  well, i tried to do this in freebsd,
 but no luck.  i was able to take a .iso file, but it did not make a
 bootable disk once it was burned.  my command was the same as above, but
 added bs=2048 at the end(as per what i read in the handbook).
 
 can anyone recommend how to create a .iso image in freebsd that will
 render a bootable .iso file?  i hate to have to keep a linux box around
 the office just for the purpose of successfully creating a .iso file  :)


Hi,

This is weird because it works for me. I do:

$dd if=/dev/acd0 of=file.iso bs=2048
$burncd -f /dev/acd0 data file.iso fixate

My burnt copies boot boxen without problems. How do you burn your ISOs?

Cheers,
Mikhail.


-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: http://www.webanoide.org

PGP Key ID: 0x4E148A3B
PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >