Re: Migrate primary disk (duplicate)

2005-08-02 Thread alexandre . delay
  I made several tests. the exact problem is to install the freebsd boot
  manager.

 But your fdisk -B -b /boot/boot0 should have done that.  I'm not
 sure if it has defaults that would work for you though.  boot0cfg
 tells you what defaults it will use and lets you change them.

I agree with you that fdisk and boot0cfg ?!should!? have done that.
I tried a lot of different commands:
   fdisk -B...
   fdisk -b /boot/boot0...
   boot0cfg -B ...
   boot0cfg -b /boot/boot0 ...

  If I use any command line utility to restore the boot manager, it doesnt
  work.

 Does any include boot0cfg?

yes

  If I use /stand/sysinstall, choose fdisk and Install the FreeBSD boot
  Manager, it works
 
  What is the exact command line for this?

 Depends upon what you want.  Read boot0cfg manpage; it's short.
 I used this once:

   boot0cfg -Bv -o packet,noupdate -s 3 -t  ad0

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


RE: using distcc

2005-08-02 Thread Norbert Koch
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Antoine Solomon
 Sent: Monday, August 01, 2005 8:59 PM
 To: [EMAIL PROTECTED]
 Subject: using distcc
 
 
 I just wanted to know if anyone ever used distcc with freebsd...   I
 had some problems setting up and would like to know how anyone else
 setup their systems...
 Thanks 
 -- 
 Antoine W. Solomon Jr.


I'm successfully running distcc in combination with ccache
on two FreeBSD-4.11 boxes.
What problems do you have?

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


Differences between FreeBSD 5.4 and 6.0 releases

2005-08-02 Thread Justin Franks

I've been using FreeBSD since the 3.x trains and run 5.4 now.
Can someone please bullet point the main features of 6.0, specifically the 
features that 6.0 will have that 5.4 does not?
Thanks.


-Justin Franks
Ph: 415.261.0706
Fx: 925-935-6096
http://www.sfcolocation.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Lotus Notes 6.5.1

2005-08-02 Thread Ivailo Tanusheff
(Didn't changed subject last time)

Hi,

I want to find a way to run Lotus Notes 6.5.1 on my FreeBSD Workstation.
Is there anyone who has made this?
I have installed wine, but when I try to install or run the client nothing 

happens. Later I've copied notes installation from a windows box but still 

I can't run the application.

Ivailo Tanusheff
Senior System administrator
ProCredit Bank (Bulgaria) AD

tel. +359 2 921 7161
fax +359 2 921 7110
http://www.procreditbank.bg


Disclaimer: The information contained in this message is intended solely 
for the use of individual or entity to whom it is addressed and other 
authorized to receive it. It may contain confidential or legally 
privileged information. If you are not the intended recipient you are 
hereby notified that any disclosure, copying, distribution or taking any 
action in reliance on the contents of this message is strictly prohibited 
and may be unlawful. If you have received this communication in error, 
please notify us immediately by responding to this email and then delete 
it from your system. ProCredit Bank is neither liable for the proper and 
complete transmission of the information contained in this message nor for 

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


Opteron + Tyan B2891 board

2005-08-02 Thread Norberto Meijome

Hi list,
Does anyone have any (good/bad) experience with the Tyan B2891 board

http://www.tyan.com/products/html/gt24b2891_spec.html

In particular, the SATA-II controller - not too worried about the RAID 
functionality as it isn't that good (will probably go GEOM way)


I plan to have 2 x Opteron CPUs, Freebsd-amd64 5.4, 4 x WDC SATA-II 
250GB drives, 4 GB RAM.


thanks for any comments / advice.

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


Where are these function definition

2005-08-02 Thread Bsderss
Hi,
 
I cd into pppd directory in folder /usr/src and found
the following functions declared in the pppd.h header
 file, but I couldn't found where these APIs are
defined.
 
/* Procedures exported from demand.c */
void demand_conf __P((void)); /* config interface(s)
for demand-dial */
void demand_block __P((void)); /* set all NPs to queue
up packets */
void demand_unblock __P((void)); /* set all NPs to
pass packets */
void demand_discard __P((void)); /* set all NPs to
discard packets */
void demand_rexmit __P((int)); /* retransmit saved
frames for an NP */
int loop_chars __P((unsigned char *, int)); /* process
chars from loopback */
int loop_frame __P((unsigned char *, int)); /* process
frame from loopback */
 
/* Procedures exported from sys-*.c */
void sys_init __P((void)); /* Do system-dependent
initialization */
void sys_cleanup __P((void)); /* Restore system state
before exiting */
void sys_check_options __P((void)); /* Check options
specified */
void sys_close __P((void)); /* Clean up in a child
before execing */
int ppp_available __P((void)); /* Test whether ppp
kernel support exists */
void open_ppp_loopback __P((void)); /* Open loopback
for demand-dialling */
void establish_ppp __P((int)); /* Turn serial port
into a ppp interface */
void restore_loop __P((void)); /* Transfer ppp unit
back to loopback */
void disestablish_ppp __P((int)); /* Restore port to
normal operation */
void clean_check __P((void)); /* Check if line was
8-bit clean */
void set_up_tty __P((int, int)); /* Set up port's
speed, parameters, etc. */
void restore_tty __P((int)); /* Restore port's
original parameters */
void setdtr __P((int, int)); /* Raise or lower port's
DTR line */
void output __P((int, u_char *, int)); /* Output a PPP
packet */
void wait_input __P((struct timeval *));
 
Can anyone please tell me how to find out where these
APIs are defined in freebsd src?
 
Thanks
Sam


__
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]


ATA over 127 GByte on FBSD 4.8 ?

2005-08-02 Thread Mark Terribile


 [materribile wrote]
  ===I recently replaced smaller drives with a 160G and 250G drives (IDE).
  They were on the Gigabyte motherboard's SiS 963 chipset.  I discovered that
  attempts to access anything above 127G resulted in errors:
  ...
[Kris Kennaway wrote]
 Try 4.11 if you don't want to make the leap to 5.x - it's unlikely
 that anyone will be able to help you if the problem is in 4.8 itself.
 4.11 can definitely access 127GB.

Looming over this is the possibility that, after I install 4.11, it still
won't work, not because of a basic problem in the OS, but because I have
some setting wrong somewhere.  I'd be grateful for suggestions on what to
check -- and for any history about when support for 127 GByte entered
FreeBSD.  (Is this `lba48 support'?)  I did go back and read release notes;
if it was in there I missed it.

Mark Terribile


__
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]


How to test if online?

2005-08-02 Thread Christian Tischler
Hi all,
I am using a FreeBSD box as an DSL router. Sometimes the inet connection
does down and ppp is unable to reconnect. I want to detect via a cron
script if I am online and if not reinitilize the connection. The script
works ok when run manually, but when executed from cron it sometimes
reinitializes the connection even when it is not neccessary.
Now my question would be how I could improve the script, or if there is
a better way. As you can see from the script I am not really a
programmer, but I tried what I could.

#!/bin/sh
if !(/sbin/ping  -c 1 freebsd.org) then
/usr/bin/killall ppp
/bin/sleep 1
/sbin/ifconfig xl1 down
/sbin/ifconfig xl1 up
/bin/sleep 1
/usr/sbin/ppp -quiet -ddial -nat tdsl
fi
-

thanks in advance

Christian Tischler

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


Re: problem with burncd, hardware or not ?

2005-08-02 Thread guzman
I shuold have mentionned it, but I did try cdrecord with atapicam enabled,
same results...

On Sun, Jul 31, 2005 at 02:34:15PM -0700, Gary W. Swearingen wrote:
 [EMAIL PROTECTED] writes:
 
  only wrote -1 of 32768 bytes: Input/output error
  burncd: ioctl(CDRIOCFLUSH): Input/output error
 
 I got something like that on 5.4 (i386 or amd64, I forget) and cured
 it by using cdrecord from cdrtools port after rebuilding kernel to
 support it.  That might tell you whether it's hardware or software.
 Some would say you should use send-pr.

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


IPFILTER NAT for UDP

2005-08-02 Thread Matthias Apitz

Hi,

I've the following problem (or perhaps some misunderstanding) of IPFILTER
and NAT for NTP in FreeBSD 6.0-BETA1:

the NAT rules is:

map em1 xxx.xxx.xxx.32/27 - A.B.C.D/32

and the IPF rule is:

pass out log first quick on em1 proto udp from any to any port = 123 keep state

If now some host of the xxx.xxx.xxx.32/27 network ask for NTP with

/usr/sbin/ntpdate -v NTP-SERVER-ADDR

it works fine; the UDP pkg goes out, UDP comes back and a 'ipnat -l'
showes the entry in the NAT table on the firewall like this:

# ipnat -l | fgrep 123
MAP xxx.xxx.xxx.xxx123   - - A.B.C.D   123   [NTP-SERVER-ADDR 123]

The problem is now, if I'm using the same 'ntpdate' query while
sitting on the firewall A.B.C.D itself, the UDP goes out as well
but of course without passing through NAT and the UDP pkg which
is coming back from the same NTP-SERVER-ADDR finds the tuple in the
NAT table:

A.B.C.D   123   [NTP-SERVER-ADDR 123]

and is trying to deliver it via NAT to xxx.xxx.xxx.xxx, but of course
the state in the IPFILTER is invalid which let ipf
blocking the pkg and saying:

10:22:16.895810 em1 @0:30 b NTP-SERVER-ADDR,123 - xxx.xxx.xxx.xxx,123 PR udp 
len 20 76 IN NAT

What can I do? And it seems that the (first) entry in the NAT table is
sitting there for 10 minutes, why?

Thx

matthias
-- 
Matthias Apitz / Sisis Informationssysteme GmbH
Gruenwalder Weg 28g / D-82041 Oberhaching
Fon: ++49 89 / 61308-351, Fax: -399, Mobile ++49 170 4527211
http://www.sisis.de/~guru/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


can't find libexpact.so.4

2005-08-02 Thread service
I have FreeBSD 5.4 and did an everything install.  With everything installed, I 
can't figure out how libexpact.so.4 is not there.

Hopefully,  someone can help me find it.

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


Re: Differences between FreeBSD 5.4 and 6.0 releases

2005-08-02 Thread Björn König

Justin Franks wrote:

I've been using FreeBSD since the 3.x trains and run 5.4 now.
Can someone please bullet point the main features of 6.0, specifically 
the features that 6.0 will have that 5.4 does not?

Thanks.


Hello Justin,

the release notes gives some hints about the new features:

ftp://ftp2.freebsd.org/pub/FreeBSD/releases/i386/6.0-BETA1/RELNOTES.HTM

Regards Björn

--
Björn König ([EMAIL PROTECTED])
student at the Technische Universität Berlin
http://bkoenig.alpha-tierchen.de/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


dual boot with freebsd boot loader

2005-08-02 Thread Petre Bandac
hello

I have the following configuration

ad0s1 - win xp with ntfs 
ad0s2 - freebsd

they were installed in the above order, so now I can use only freebsd

is there a way to configure freebsd's boot loader to be able to boot
from the win partition (I googled around and found boot0cfg (8), but
didn't have the time to play with it)

what I want to know is if (making a similarity with linux's lilo) I can
make the boot loader to  have the options 1) boot win, 2) boot freebsd

I do not want to install grub or other boot loader unless the default
freebsd boot manager cannot be used in the configuration described above

thanks,

petre

-- 
Login: petreName: Petre Bandac
Directory: /home/petre  Shell: /usr/local/bin/zsh
On since Tue Jul 26 10:40 (EEST) on ttyv5, idle 7 days 2:40 (messages
off) Last login Tue Aug  2 08:53 (EEST) on ttyp6 from lubyanka
New mail received Fri Feb 25 18:30 2005 (EET)
 Unread since Wed Feb 23 16:47 2005 (EET)
No Plan.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


unable to find /dev/ad0s1b in /dev/ *resolved*

2005-08-02 Thread iv gan
Hello,
would like to post the solution of the problem I encountered during
the net install of freebsd 5.3 on a compaq deskpro, because I have
nowhere found a solution for that problem (maybe it is pretty
silly?!?).

The installation is done via the pxe driver of the installed machine.
The kernel is booting normally, then the mfsroot is loaded and then is
loaded the install.cfg file that have to configure and the install the
selected packages. The problem was that once the disk slice and the
labels set up, there was a strange error
unable to find device node for /dev/ads01b in dev! The creation of
the file system will be aborted
In the same time on the second console there are messages telling me
evethyng is alright.
DEBUG: Scanning disk ad0 for swap partitions
DEBUG: Found Swapdev ad ad0s1b!

So the clue is that you don't have to do a diskPartitionWrite in your
install.cfg
Once this line is commented no more problems for me. 

Here is an example of the install.cfg :


# Turn on extra debugging.
debug=YES

# Ok, this ought to turn off ALL prompting, don't complain to me that you
# lost a machine because you netbooted it on  the same subnet as this 
# box
#Interactive=yes
noWarn=NO
tryDHCP=YES


# My host specific data
hostname=yourmachinename
domainname=your.domain.name
# DHCP does this for us
#nameserver=10.0.0.1
#defaultrouter=10.0.0.1
#ipaddr=DHCP
#netmask=255.255.255.0



# Which installation device to use 
nfs=192.168.100.1:/usr/local/export/freebsd

#the net device of the compaq deskpro
netDev=fxp0

#netDev=bge0
tryDHCP=YES
mediaSetNFS



# Select which distributions we want.
# you can choose between many packages to install
# man sysinstall to see all the options
#dists= bin  compat22 compat3x comPat4x sbin ssbin sbase
#dists= bin doc games manpages catpages proflibs dict info des
compat1x compat20  compat21 compat22 compat3x crypto
#distSetCustom
distSetUser
#distExtractAlL



# Now set the parameters for the partition editor on sd0.  
#diskInteractive
disk=ad0
#geometry=19386/16/63
bootManager=standard
partition=all
diskPartitionEditor
# comment out the next line if you have the /dev/ad0s1b problem
# diskPartitionWrite


# root, tmp, usr 2gb, var 1,5gb, home 1gb, swap 512mb

ad0s1-2=swap 1048576 none
ad0s1-1=ufs  4194304 /
ad0s1-3=ufs  4194304 /tmp 1
ad0s1-4=ufs  4194304 /usr 1
ad0s1-5=ufs  3145728 /var 1
ad0s1-6=ufs  2097152 /home 1

diskLabelEditor
diskLabelCommit

# OK, everything is set.  Do it!
installCommit
package=bash-2.05b.007
packageAdd

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


Upgrading Perl bsdpan / cpan-ports to freebsd-ports

2005-08-02 Thread Sander Holthaus - Orange XL
I'm trying to upgrade all of my Perl modules installed through CPAN to
FreeBSD-port one's, but I'm running into a few difficulties with the
following ports:
 
bsdpan-DB_File-1.810 DB_File - Perl5 access to Berkeley DB version 1.x
bsdpan-PerlIO-via-QuotedPrint-0.06 PerlIO::via::QuotedPrint - PerlIO
layer for quoted-printabl
bsdpan-Pod-LaTeX-0.57 Pod::LaTeX - Convert Pod data to formatted Latex
bsdpan-Pod-Perldoc-3.13 Unknown perl module
bsdpan-Term-Cap-1.09 Term::Cap - Perl termcap interface
bsdpan-Test-1.25Test - provides a simple framework for writing test
scripts
bsdpan-Text-Soundex-3.02 Text::Soundex - Implementation of the Soundex
Algorithmas
bsdpan-Unicode-Collate-0.40 Unicode::Collate - Unicode Collation
Algorithm
bsdpan-Unicode-Normalize-0.30 Unicode::Normalize - Unicode Normalization
Forms
bsdpan-bignum-0.15  bignum - Transparent BigNumber support for Perl
bsdpan-if-0.0401if - Cuse a Perl module if a condition holds

All but bsdpan-DB_File-1.810, bsdpan-PerlIO-via-QuotedPrint-0.06 and
bsdpan-Text-Soundex-3.02 where installed for 5.8.2. The
/usr/local/lib/perl5/5.8.2/-directory doesn't exist anymore, meaning they
are broken (pkg_info -g bsdpan confirms this). Doing a pkg_info -R bsdpan*
returns no results, nor does pkg_info -r p5* | grep bsdpan. 
 
Can I conclude that I can safely delete all those packages? Any reason I
cannot find an appropriate FreeBSD-port for them?
 
Kind Regards,
Sander Holthaus
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


replacing select() with kqueue() for pppd?

2005-08-02 Thread Bsderss
Hi,

Is possible replace all select() functions with
kqueue() and kevent() for FreeBSD 5.x or Current?

Sam





Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ATA over 127 GByte on FBSD 4.8 ?

2005-08-02 Thread Glenn Dawson

At 12:32 AM 8/2/2005, Mark Terribile wrote:



 [materribile wrote]
  ===I recently replaced smaller drives with a 160G and 250G drives (IDE).
  They were on the Gigabyte motherboard's SiS 963 chipset.  I 
discovered that

  attempts to access anything above 127G resulted in errors:
  ...
[Kris Kennaway wrote]
 Try 4.11 if you don't want to make the leap to 5.x - it's unlikely
 that anyone will be able to help you if the problem is in 4.8 itself.
 4.11 can definitely access 127GB.

Looming over this is the possibility that, after I install 4.11, it still
won't work, not because of a basic problem in the OS, but because I have
some setting wrong somewhere.


Are you asking for solutions to problems you don't have yet?


I'd be grateful for suggestions on what to
check -- and for any history about when support for 127 GByte entered
FreeBSD.  (Is this `lba48 support'?)  I did go back and read release notes;
if it was in there I missed it.


According to CVS logs, 48 bit addressing first appeared in version 
1.60.2.19 of ata-disk.c which was included in the 4.5 release.


-Glenn



Mark Terribile


__
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]


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


Re: Where are these function definition

2005-08-02 Thread David Taylor
On Tue, 02 Aug 2005, Bsderss wrote:
 Hi,
  
 I cd into pppd directory in folder /usr/src and found
 the following functions declared in the pppd.h header
  file, but I couldn't found where these APIs are
 defined.
  
 /* Procedures exported from demand.c */
  
[snip]
 /* Procedures exported from sys-*.c */
  ^^^

AFAICS, they're in demand.c and sys-bsd.c in /usr/src/usr.sbin/pppd/

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


Re: LDAP/nss_ldap adduser script

2005-08-02 Thread martin
 On Wed, Jul 27, 2005 at 10:39:14AM +0100, [EMAIL PROTECTED] wrote:

   I've had a look at the adduser script and it should be straight
 forward
 enough to tailer to this purpose, and I can't see any difficulties in
 writing them - check /etc/ldap.conf for the location of the users 
 groups, pops the details into an ldif and runs it through the ldap

 I'm not sure that such utilities exist, because each environment is
 very different.  On my systems, I'm planning to write own scripts for
 creating, deleting users, etc.  I will be much easier than adaption
 someone's scripts for own purpose.

Each to their own, but most of the stuff is fairly generic. I've written
the scripts to read the ldap settings from the relevent files (the admin
user, and the user  group context).


 client. The one thing I am not sure about is getting the next available
 uid number, but I'm sure the answer will become apparent.

 From my point of view the easiest solution is some directory with files,
 a name of each file is equal to UID of user.  A script should find non-
 existent file with name from UID_min to UID_max and create it.  As an
 optimization it possible to keep list of unused numbers (in file).

Yuch! And what happens if the information gets out of sync. I've come up
with a solution, which was much easier than I had thought -

user_base=`awk '/nss_base_passwd/ {print $2}' /etc/ldap.conf | cut -f1 -d?`
get_next_uid() {

lastuid=`ldapsearch -LLL -b $user_base
objectclass=posixAccount |\
 awk '/uidNumber/ {print $2}' | sort | tail -n1`
if [ -z $lastuid ]; then
uid=$startuid
else
uid=`expr $lastuid + 1`
fi
}

it pulls out all the uids already assigned, sorts them, takes the last
one, and adds one on (or sets it to startuid if none found). It might fall
over if huge numbers of users are in there, but should work for most.



   So before I get into the meat of this, I wanted to check if anyone has
 any suggestions or comments.

 How do you export user home directories?

Thats another task - I'm just interested in easily adding and removing
users easily.

If you are interested, I can send you the full scripts - they are pretty
sparse and general, so should be easy to adapt.

Cheers,
Martin








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


Install freebsd in PocketPC?

2005-08-02 Thread Bsderss
Hi,

Can anyone please tell me which PocketPC/Palm is
compatible with FreeBSD? I want to install freebsd in
my palm/pocketpc.

Thanks
Sam.


__
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]


ftp.bg.freebsd.org maintenance

2005-08-02 Thread Dimitar Vasilev
Hello all!
Tommorow -3.08.2005 there will be a maintenance of ftp.bg.freebsd.org
between 21.00 pm and 24.00 p.m. EEST /19-22 p.m. GMT.
The cause for outage is routine upgrade.
Thank you for your understanding!
Please forward to questions, if possible.
Best regards,
Dimitar Vassilev
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: LDAP/nss_ldap adduser script

2005-08-02 Thread Joerg Pulz

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Tue, 2 Aug 2005, [EMAIL PROTECTED] wrote:


On Wed, Jul 27, 2005 at 10:39:14AM +0100, [EMAIL PROTECTED] wrote:


  I've had a look at the adduser script and it should be straight
forward
enough to tailer to this purpose, and I can't see any difficulties in
writing them - check /etc/ldap.conf for the location of the users 
groups, pops the details into an ldif and runs it through the ldap


I'm not sure that such utilities exist, because each environment is
very different.  On my systems, I'm planning to write own scripts for
creating, deleting users, etc.  I will be much easier than adaption
someone's scripts for own purpose.


Each to their own, but most of the stuff is fairly generic. I've written
the scripts to read the ldap settings from the relevent files (the admin
user, and the user  group context).




client. The one thing I am not sure about is getting the next available
uid number, but I'm sure the answer will become apparent.


From my point of view the easiest solution is some directory with files,
a name of each file is equal to UID of user.  A script should find non-
existent file with name from UID_min to UID_max and create it.  As an
optimization it possible to keep list of unused numbers (in file).


Yuch! And what happens if the information gets out of sync. I've come up
with a solution, which was much easier than I had thought -

user_base=`awk '/nss_base_passwd/ {print $2}' /etc/ldap.conf | cut -f1 -d?`
get_next_uid() {

   lastuid=`ldapsearch -LLL -b $user_base
objectclass=posixAccount |\
awk '/uidNumber/ {print $2}' | sort | tail -n1`
   if [ -z $lastuid ]; then
   uid=$startuid
   else
   uid=`expr $lastuid + 1`
   fi
}

it pulls out all the uids already assigned, sorts them, takes the last
one, and adds one on (or sets it to startuid if none found). It might fall
over if huge numbers of users are in there, but should work for most.





  So before I get into the meat of this, I wanted to check if anyone has
any suggestions or comments.


How do you export user home directories?


Thats another task - I'm just interested in easily adding and removing
users easily.

If you are interested, I can send you the full scripts - they are pretty
sparse and general, so should be easy to adapt.


Hi

so, why all this scripting?? you could simply use the following line to 
get the next free uid (as long as the system is configured to use LDAP 
accounts)


pw usernext | cut -f1 -d:
the 'cut' is necessary as 'pw usernext' reports the next free uid:gid in 
combination (is this a bug??)


pw groupnext
reports only the next free gid

regards
Joerg

- -- 
The beginning is the most important part of the work.

-Plato
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFC72X8SPOsGF+KA+MRAquVAKCv3jjm4V8INAEuHbAEY2kGk0heYgCfSYaX
yhF36rOl+da279CW6IsGAco=
=czue
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Migrate primary disk (duplicate)

2005-08-02 Thread Alexandre D.
Here is the complete process I follow:

   sysctl kern.geom.debugflags=16
   dd if=/dev/zero of=/dev/${disk} bs=1k count=1
   fdisk -BI ${disk}
   disklabel -B -w -r ${disk}s1 auto
   disklabel -R ${disk}s1 generique.disklabel
   newfs /dev/${disk}s1a
   newfs /dev/${disk}s1d
   mount /dev/${disk}s1a ./mnt
   cd ./mnt
   dump 0uafL - / | restore xf -
   cd ..
   umount ./mnt
   mount /dev/${disk}s1d ./mnt
   cd ./mnt
   dump 0uafL - /usr | restore xf -
   cd ..
   umount ./mnt


-generique.disklabel file---
  a: 4194304004.2BSD
  b:  2097152   *  swap 
  d: * *4.2BSD 


--

If I do the same with /stand/sysinstall in stead of 
   dd if=/dev/zero of=/dev/${disk} bs=1k count=1
   fdisk -BI ${disk}
   disklabel -B -w -r ${disk}s1 auto

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


Re: can't find libexpact.so.4

2005-08-02 Thread Björn König

[EMAIL PROTECTED] wrote:


I have FreeBSD 5.4 and did an everything install.


Do you really installed around 1 packages or just the whole base system?


With everything installed, I can't figure out how libexpact.so.4 is not there.


First of all I don't know libexpact, only libexpect or libexpat. Due to 
the version number I think you mean libexpat. The package with the name 
'expat' installs libexpat.so.5 which is newer that your expected 
library. Give a little bit more information about the program that want 
to use this library or what you like to do with this library.


Regards Björn

--
Björn König ([EMAIL PROTECTED])
student at the Technische Universität Berlin
http://bkoenig.alpha-tierchen.de/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


polling decreases throughput ~50%

2005-08-02 Thread Victor Semionov
Hello,

I've noticed something that seems strange to me and I'd like to ask for an 
explanation, because I don't think it should be happening.

I was uploading some large file to my neighbor's windows box. With polling 
disabled, the transfer rate was 8 MB/s and CPU usage was 90%. I turned on 
polling with sysctl and CPU usage decreased to 50%, which I expected, but 
also the transfer rate dropped to 4.5 MB/s, about half. The numbers are 
approximate. The interface is a RealTek (rl driver). No background jobs were 
running. kern.polling.* all defaults.

Why is that? I thought polling should decrease CPU usage by avoiding too many 
context switches when a hw irq is generated frequently, but it shouldn't make 
the transfer slower if there are no other jobs running.

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


Re: Install freebsd in PocketPC?

2005-08-02 Thread nawcom
unfortunately theres no support for the array of arm processors usually 
used in the palm pdas. I know that netbsd supports windows ce based pdas 
that use a mips based system and the usual HP iPAQ (hpcarm), but 
unfortunately the processors used in most palms dont include a MMU 
(memory management unit) This pretty much represents the support for 
virtual memory, which netbsd needs to run.


I'm sure there is a linux project out there that supports palms.
Good luck,
Ben

Bsderss wrote:


Hi,

Can anyone please tell me which PocketPC/Palm is
compatible with FreeBSD? I want to install freebsd in
my palm/pocketpc.

Thanks
Sam.


__
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]
 



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


Re: Install freebsd in PocketPC?

2005-08-02 Thread nawcom

http://www.uclinux.org/

Linux for systems without MMU (includes palm support)

-Ben

nawcom wrote:

unfortunately theres no support for the array of arm processors 
usually used in the palm pdas. I know that netbsd supports windows ce 
based pdas that use a mips based system and the usual HP iPAQ 
(hpcarm), but unfortunately the processors used in most palms dont 
include a MMU (memory management unit) This pretty much represents the 
support for virtual memory, which netbsd needs to run.


I'm sure there is a linux project out there that supports palms.
Good luck,
Ben

Bsderss wrote:


Hi,

Can anyone please tell me which PocketPC/Palm is
compatible with FreeBSD? I want to install freebsd in
my palm/pocketpc.

Thanks
Sam.


__
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]
 



___
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: audio - mp3 kaudiocreator replacement

2005-08-02 Thread dick hoogendijk
On Sun, 31 Jul 2005 16:43:21 +0200
dick hoogendijk [EMAIL PROTECTED] wrote:

 I once used kaudiocreator to rip some CD's and convert them to MP3
 files.
 Another approach would be a really good script to rip/encode CD's.
 Suggestions?

Someone mailed me a suggestion: GRIP.
I installed it and I must say, it works very nice.

I have ONE big qustion about ripping/encoding in FreeBSD though: SPEED.

Today I ripped + encoded the same CD in windows/musicmatch. The
rip/encoding (simultaniously) had a 18,2x speed! It went very very
fast. The whole CD was ready (ripped/encoded; mp3,224b,cbr,lame) in
less then three minutes.

GRIP rips with a 4.4x speed and also has to encode the track after
that. Much much slower.. All on the same hardware :-/

Does anybody has some suggestions how I can speed up the process of
ripping / encoding. It should be possible to gain speed in FreeBSD too
I guess. Or is musicmatch really such a speed monster.?

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.11-stable ++ FreeBSD 5.4
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: LDAP/nss_ldap adduser script

2005-08-02 Thread Andrey Simonenko
On Tue, Aug 02, 2005 at 02:24:26PM +0200, Joerg Pulz wrote:
 user_base=`awk '/nss_base_passwd/ {print $2}' /etc/ldap.conf | cut -f1 -d?`
 get_next_uid() {
 
lastuid=`ldapsearch -LLL -b $user_base
 objectclass=posixAccount |\
 awk '/uidNumber/ {print $2}' | sort | tail -n1`
if [ -z $lastuid ]; then
uid=$startuid
else
uid=`expr $lastuid + 1`
fi
 }

#!/bin/sh

uid_min=1000
uid_max=2000

get_uid()
{
uid=${uid_min}
sort -g list-uid | while read uid_used; do
if [ ${uid} -eq ${uid_used} ]; then
uid=`expr ${uid} + 1`
if [ ${uid} -eq ${uid_max} ]; then
echo Out of UID numbers;
exit 1
fi
else
echo ${uid}
break;
fi
done
}

uid=`get_uid`
if [ $? -ne 0 ]; then
echo ${uid}
exit 1
fi
echo Lowest unused UID: ${uid}

 so, why all this scripting?? you could simply use the following line to 
 get the next free uid (as long as the system is configured to use LDAP 
 accounts)

Because everyone has own environment and not enough details about
his/her environment give many solutions, sometimes not optimal for
another environment.  Yours idea is good (if LDAP accounts work on
the system), especially that pw uses bitmap to find first unused UID
(if reuseuids is 'yes').

 the 'cut' is necessary as 'pw usernext' reports the next free uid:gid in 
 combination (is this a bug??)

This is documented in pw(8) manual page.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cannot connect to Internet...http proxy?

2005-08-02 Thread Lowell Gilbert
perikillo [EMAIL PROTECTED] writes:

   In my work, we connect to the internet over one http proxy
 (squid) running on fedora, with windows(98/2k/xp) we dont have any
 problem to acces to the outside. I have my user and password, the 
 proxy have the IP: 192.168.1.2 Port 3128
 
   I need to access to the internet to update my system because i
 only download the mini-iso, and i need to update ports and kernel, i
 need to install some packages, but went the /stand/sysinstall ask me
 how i want to connect to the internet i chose HTTP Proxy, them he ask:
 
 Please enter the address of the http proxy in this format: 
 hostname: port (the ':port' is optional, default is 3128 )
 
I give the IP of my proxy: 192.168.1.2, but he dont ask my user and
 password, and say:
 
 No Such directory: ftp://ftp4.freebsd.org/pub/FreeBSD
 /snapshots/i386/5.3-RELEASE please check URL and try again
 
   We use one DHCP server with windows that give the IP, i receive the
 IP, but still cannot connect my freebsd box to the internet, some docs
 say that if we receive our IP address from some DHCP we dont need to
 worry about the DNS. I dont have nothing on /etc/resolv.conf
 
   Our subnet is W.X.2.Z  -- my IP is 192.168.2.22
 
   I forget something?, i need to ask something more to the person is
 in charge of the Internet access?
 
   I really need to setup freebsd, because we need to test some
 software before next friday. Hope you could help me, thanks.

Set the HTTP_PROXY environment variable.
See man 3 fetch.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Lotus Notes 6.5.1

2005-08-02 Thread Daniel Marsh
On Tue, 02 Aug 2005 14:49:07 +0800, Ivailo Tanusheff  
[EMAIL PROTECTED] wrote:



(Didn't changed subject last time)

Hi,

I want to find a way to run Lotus Notes 6.5.1 on my FreeBSD Workstation.
Is there anyone who has made this?
I have installed wine, but when I try to install or run the client  
nothing


happens. Later I've copied notes installation from a windows box but  
still


I can't run the application.



Have you tried the Linux emulation with the Linux version of Lotus Notes??

Please report if this works as I am personally interested...

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


Re: xmlcatmgr: entry already exists

2005-08-02 Thread Lowell Gilbert
David LeCount [EMAIL PROTECTED] writes:

 When trying to portupgrade -f sdocbook-xml, it fails
 with the following error:
 
 xmlcatmgr: entry already exists for
 `/usr/local/share/xml/sdocbook/4.1.2.5/catalog' of
 type `CATALOG'
 
 When I do a pkg_info | grep sdocbook, nothing shows
 up. I've searched and haven't been able to find this
 error anywhere.

What else thinks it owns that file?  
pkg_which(1) might help you figure it out.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Differences between FreeBSD 5.4 and 6.0 releases

2005-08-02 Thread Justin Franks

Thanks. Think I'll stick with 5.4 for now.
CARP is really the main piece that concerns me.




- Original Message - 
From: Björn König [EMAIL PROTECTED]

To: Justin Franks [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Tuesday, August 02, 2005 3:17 AM
Subject: Re: Differences between FreeBSD 5.4 and 6.0 releases



Justin Franks wrote:

I've been using FreeBSD since the 3.x trains and run 5.4 now.
Can someone please bullet point the main features of 6.0, specifically the 
features that 6.0 will have that 5.4 does not?
Thanks.


Hello Justin,

the release notes gives some hints about the new features:

ftp://ftp2.freebsd.org/pub/FreeBSD/releases/i386/6.0-BETA1/RELNOTES.HTM

Regards Björn

--
Björn König ([EMAIL PROTECTED])
student at the Technische Universität Berlin
http://bkoenig.alpha-tierchen.de/



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


Re: missing /dev/sequencer and /dev/midi under 5.4

2005-08-02 Thread Lowell Gilbert
Ben Paley [EMAIL PROTECTED] writes:

 Hello,
 
 I'm running FreeBSD 5.4 with a custom kernel on a Dell Inspiron 6000 - the 
 Dell website only says SoundBlaster compatible for the sound card.
 
 Normal sound stuff works fine (though I can't hear the cd player, actually, 
 now that I think of it...) but midi doesn't work: kmidi complains 
 that /dev/sequencer is busy, but actually it doesn't exist, and neither 
 does /dev/midi.
 
 I guess I need to enable midi in the kernel, but what device / options?

I'm not sure that MIDI is supported by the kernel these days.
Does anyone know for sure?

 I'm sure I don't need all this stuff in there, but I haven't got round to 
 experimenting with what I can take out. Could that be my problem?

Nope.  The extra stuff wouldn't hurt.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: camcontrol error

2005-08-02 Thread Lowell Gilbert
[EMAIL PROTECTED] writes:

 i have a problem with camcontrol (running FreeBSD 5.4-STABLE).
 Checking the defects on my drive will print out an error which i do not
 know:
 
 #camcontrol defects da0 -G -f bfi
 camcontrol: Error returned from read defect data command
 
 #camcontrol defects da0 -f phys -G
 camcontrol: Error returned from read defect data command
 
 So, what could be the problem?

Probably just that the drive doesn't support the READ DEFECT DATA
command.  Try the block format, but some drives just don't support
it at all.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: missing /dev/sequencer and /dev/midi under 5.4

2005-08-02 Thread Ben Paley
On Tuesday 02 August 2005 14:59, Lowell Gilbert wrote:
 Ben Paley [EMAIL PROTECTED] writes:

  I guess I need to enable midi in the kernel, but what device / options?

 I'm not sure that MIDI is supported by the kernel these days.
 Does anyone know for sure?

Not me, that's certain. I guess another approach is to put something 
in /boot/loader.conf...  but what? 

[EMAIL PROTECTED] locate snd | grep mid
[EMAIL PROTECTED] locate snd | grep seq
[EMAIL PROTECTED]

doesn't look too good, does it?

Well, I shall try audio/xmms-midi - from what I can gather, it plays midi 
files through whatever xmms normally uses, which will do, I suppose!

Thanks a lot for your help, I really appreciate a reply even if it's to let me 
know not to bother! ;-)

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


Re: Install freebsd in PocketPC?

2005-08-02 Thread Bsderss


--- nawcom [EMAIL PROTECTED] wrote:

 http://www.uclinux.org/
 
 Linux for systems without MMU (includes palm
 support)
 
I wonder how much effort to create a verion like this
in FreeBSD. There is FreeSBIE live CD already.

Thanks
Sam

 -Ben
 
 nawcom wrote:
 
  unfortunately theres no support for the array of
 arm processors 
  usually used in the palm pdas. I know that netbsd
 supports windows ce 
  based pdas that use a mips based system and the
 usual HP iPAQ 
  (hpcarm), but unfortunately the processors used in
 most palms dont 
  include a MMU (memory management unit) This pretty
 much represents the 
  support for virtual memory, which netbsd needs to
 run.
 
  I'm sure there is a linux project out there that
 supports palms.
  Good luck,
  Ben
 
  Bsderss wrote:
 
  Hi,
 
  Can anyone please tell me which PocketPC/Palm is
  compatible with FreeBSD? I want to install
 freebsd in
  my palm/pocketpc.
 
  Thanks
  Sam.
 
 
 
 __
  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]
   
 
 
  ___
  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]
 


__
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: Extigy Driver For FreeBSD

2005-08-02 Thread Lowell Gilbert
Pavel Horvath [EMAIL PROTECTED] writes:

 I have recently tried FreeBSD 5.4 and I liked it alot much better than
 linux. The only problem I got with FreeBSD is that there is no sound
 driver for my card Creative Extigy USB. I looked on the forums but did
 not find any solution to my problem. So here I'm asking if you're
 going to release this driver for my card.

That's a kind of weird device; it's only USB 1.1, and doesn't
implement the USB audio protocol completely.  OSS claim to support 
it, though: http://www.opensound.com/osshw.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cores and crashes on 4.X and 5.X

2005-08-02 Thread Lowell Gilbert
Tuc at T-B-O-H [EMAIL PROTECTED] writes:

 Hi,
 
   I previously posted a message about after upgrading to
 5.3-RELEASE-p15 and getting random segfaults, or :
 
 /libexec/ld-elf.so.1: top: Shared object has no run-time symbol table
 
 
   I ran memtest on it for about 25 cycles, and it didn't show any
 problems.
 
   Its still happening, and I can't figure out why. It'll happen for
 a while then stop.
 
   Well, I just also upgraded a *DIFFERENT* computer to the RELENG_4
 tree, and now I'm getting the same exact issues happening. (Infact, today
 I recompiled the kernel just incase and installed it, I had to 
 installworld 6 times to get it to complete). On that matchine I ran
 memtest for 250 cycles with no problems. Whats worse, is I'm also getting
 panic's (I didn't save because of disk problems, will try next time) on 
 the 4.X machine and having the text screen turn graphics all of a sudden.
 
   WHY, running the latest of 4 and 5 on different computers do I 
 show the same type of problems DIRECTLY after upgrades?

You are probably doing the upgrade wrong.  You did read the notes at
the bottom of /usr/src/UPDATING, right?

 Any way to track
 this down... HELP!

Well, try the upgrade again.  buildworld, buildkernel, installkernel,
reboot with the new kernel, mergemaster -p, installworld, mergemaster.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


CAM SCSI, finding out bus ID, target and LUN

2005-08-02 Thread Reinhold Huber
Hello,

I'm trying to get bus ID, target and LUN to an open fd which is afaik
opened to the device special file, e.g. /dev/cd0 .

So how do I get the information? Up to now, I didn't find IOCTL calls
(like in NetBSD) which deliver this kind of info, and first tries to
browse in CAM examples didn't help either.

I tried on FreeBSD 5.3 and currently hope that there are no big
changes to this between 5.3 and 5.4 or even -current. If I'm
wrong with this, please correct me.

Any pointer to docs or source is welcome.

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


Re: Lotus Notes 6.5.1

2005-08-02 Thread Thorsten . Mein


[EMAIL PROTECTED] wrote on 02.08.2005 15:35:41:

 On Tue, 02 Aug 2005 14:49:07 +0800, Ivailo Tanusheff
 [EMAIL PROTECTED] wrote:

  (Didn't changed subject last time)
 
  Hi,
 
  I want to find a way to run Lotus Notes 6.5.1 on my FreeBSD
Workstation.
  Is there anyone who has made this?
  I have installed wine, but when I try to install or run the client
  nothing
 
  happens. Later I've copied notes installation from a windows box but
  still
 
  I can't run the application.


 Have you tried the Linux emulation with the Linux version of Lotus
Notes??

 Please report if this works as I am personally interested...

I hope it can be only work wiht the Linux version because there is no
client for FreeBSD.
Please report i´m also personally interested.

Thorsten


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

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


Re: growisofs: no mkisofs options are permitted with =, aborting

2005-08-02 Thread Chuck Swiger

Carl Delsey wrote:
[ ... ]

You're right. My mistake. That's what I get for using my eyes to search a
document instead of using the search feature. :-)


No worry: growisofs' manpage and the way it uses command line arguments is not 
entirely consistent :-)


To some extent, Andy doesn't want to fully document everything to encourage 
people to either use the source, luke, or to create more user-friendly (but 
seperate) frontends like k3b.  I don't fully understand the mindset of not 
making a program fully documented or oriented towards its users, but Andy has 
been reasonably responsive to integrating FreeBSD changes for the port, so I'm 
not going to complain...


--
-Chuck

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


Re: ATA over 127 GByte on FBSD 4.8 ?

2005-08-02 Thread Mark Terribile

Glenn,

 At 12:32 AM 8/2/2005, Mark Terribile wrote: 
   [materribile wrote]
===I recently replaced smaller drives with a 160G and 250G drives
   (IDE).  ... attempts to access anything above 127G resulted in errors:
 [Kris Kennaway wrote]
   Try 4.11 if you don't want to make the leap to 5.x ...
   4.11 can definitely access 127GB.
 
 Looming over this is the possibility that, after I install 4.11, it still
 won't work, not because of a basic problem in the OS, but because I have
 some setting wrong somewhere.
 
 Are you asking for solutions to problems you don't have yet?

I want to solve the actual problem, not make new ones, since ...

 ...
 According to CVS logs, 48 bit addressing first appeared in version 
 1.60.2.19 of ata-disk.c which was included in the 4.5 release.

Well, if it's supposed to work in 4.5 and beyond, and if it doesn't work on my
4.8, it's a fair bet that the problem is something in my configuration.  If I
don't fix that, 4.11 may not work either, and I'll have the added handicap of
all the additional variables that the update may introduce.  So suggestions
on things to check first are still very welcome.

I'll need to set a whole day aside for the upgrade to deal with surprises.  I
won't get that for at least a week and a half, so I have plenty of time to
check other things first.

Mark Terribile





Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


jails - How to bind amd / portmap to a specific IP

2005-08-02 Thread Norberto Meijome

Hi,
FreeBSD 4.11
I'm building a jail. The host has amd running and it's listening on 
*:[several ports], but i'm not interested in also listening on the 
jail's IP.


where do I tell amd to bind only to host_IP rather than 0.0.0.0 . what 
about portmap? (same problem)


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


Re: DVD burning..

2005-08-02 Thread Jeff Mitchell
On Mon, 1 Aug 2005, Chuck Swiger wrote:

# Is sysctl hw.ata.atapi_dma set to 1?  It looks like your system isn't 
# able

Aha, that seems to be it; I had slapped that into my rc.local with 
some other sysctl's (before I found out about /etc/sysctl.conf), and that 
one is read-only by that stage of loading. Had to be in /boot/loader.conf 
to 'take'.

# to send enough data to the burner to run at 4x, perhaps try burning at 1x
# speed and see whether that is more reliable.  (Often that works better with
# low-quality DVD-R media, anyway...)

Seems to be chugging away nicely now:

 738590720/2937458688 (25.1%) @3.9x, remaining 7:23
 757071872/2937458688 (25.8%) @3.9x, remaining 7:17
 775520256/2937458688 (26.4%) @3.9x, remaining 7:12

So I imagine I'm good to go :) This ought to me nightly automated 
backups a snap!

Thanks Chuck, Greg and others who emailed me diretly. 

jeff

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


Re: How do I get rid of booteasy??? re-install windows xp mbr using ntfs???

2005-08-02 Thread Bob Johnson
On 7/29/05, Jerry Tarwid [EMAIL PROTECTED] wrote:
 I am dual booting with Winblows XP and FreeBSD. I installed the FreeBSD Boot
 manager so I can dual boot. I now want to remove it! I have freaking scoured
 the [EMAIL PROTECTED] net  still have NOT found an answer??? Anyone I'm 
 using an
 NTFS volume so fdisk/mbr doesn't work and neither does booting to an xp cd
 recovery console and using fixboot or fixmbr. The [EMAIL PROTECTED] booteasy 
 boot
 manager still leaves something in the mbrnothing works! I cannot believe
 that I am the only human being on the planet that has encountered this
 problem! A LITTLE HELP???

fdisk /MBR doesn't work if you have NTFS on the drive?  That's news to
me.  The boot sector shouldn't care what filesystem you happen to have
put in one of the partitions.

You will need to mark the Windows partition as the active partition,
otherwise it will try to boot to whatever IS marked as the active
partition, which may result in discouraging error messages.  And I've
noticed that odd things can happen when XP isn't installed in the
first partition on the disk, but I don't know if that would cause what
you are seeing now.

For future reference, you don't need a boot manager to dual-boot with
XP.   It has its own boot manager that works just fine.  Somewhere on
freebsd.org there is a howto that explains how to do it, although the
last time I looked it was talking about Windows NT.  Still works the
same.

My solution was to delete Windows and only boot to FreeBSD.

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


Re: DVD burning..

2005-08-02 Thread Marc Fonvieille
On Tue, Aug 02, 2005 at 11:24:59AM -0400, Jeff Mitchell wrote:
 On Mon, 1 Aug 2005, Chuck Swiger wrote:
 
 # Is sysctl hw.ata.atapi_dma set to 1?  It looks like your system isn't 
 # able
 
   Aha, that seems to be it; I had slapped that into my rc.local with 
 some other sysctl's (before I found out about /etc/sysctl.conf), and that 
 one is read-only by that stage of loading. Had to be in /boot/loader.conf 
 to 'take'.

[...]

This and many other things are documented in the Handbook.

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


Re: ATA over 127 GByte on FBSD 4.8 ?

2005-08-02 Thread Matt Virus

Mark Terribile wrote:

===I recently replaced smaller drives with a 160G and 250G drives (IDE).
They were on the Gigabyte motherboard's SiS 963 chipset.  I discovered that
attempts to access anything above 127G resulted in errors:



You need a new ide controller.  I have several 200 and 250gb drives 
functioning in a fbsd 4.5 environment.  Your controllers do not support 
lba48.  $20 at the local computer store fixes your problems.




--
Matt Virus (veer-iss)
http://www.mattvirus.net

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


Re: dual boot with freebsd boot loader

2005-08-02 Thread Björn König

Petre Bandac wrote:


I have the following configuration

ad0s1 - win xp with ntfs 
ad0s2 - freebsd


they were installed in the above order, so now I can use only freebsd

is there a way to configure freebsd's boot loader to be able to boot
from the win partition (I googled around and found boot0cfg (8), but
didn't have the time to play with it)


Yes, this is possible.

# sysctl kern.geom.debugflags=16// make the MBR writable
# boot0cfg -s 1 /dev/ad0// set default selection

You'll find further information and even examples in the manpage of 
boot0cfg.



what I want to know is if (making a similarity with linux's lilo) I can
make the boot loader to  have the options 1) boot win, 2) boot freebsd


This should be the default behaviour of boot0. In case you didn't 
installed it yet you can do it with


# sysctl kern.geom.debugflags=16// make the MBR writable
# boot0cfg -B /dev/ad0  // install boot0

Regards Björn


--
Björn König ([EMAIL PROTECTED])
student at the Technische Universität Berlin
http://bkoenig.alpha-tierchen.de/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: growisofs: no mkisofs options are permitted with =, aborting

2005-08-02 Thread Marc Fonvieille
On Tue, Aug 02, 2005 at 10:50:01AM -0400, Chuck Swiger wrote:
 Carl Delsey wrote:
 [ ... ]
 You're right. My mistake. That's what I get for using my eyes to search a
 document instead of using the search feature. :-)
 
 No worry: growisofs' manpage and the way it uses command line arguments is 
 not entirely consistent :-)
 
 To some extent, Andy doesn't want to fully document everything to encourage 
 people to either use the source, luke, or to create more user-friendly 
 (but seperate) frontends like k3b.  I don't fully understand the mindset of 
 not making a program fully documented or oriented towards its users, but 
 Andy has been reasonably responsive to integrating FreeBSD changes for the 
 port, so I'm not going to complain...


I do not agree with that statement, Andy helped us to clearly document
growisofs in the Handbook, it's just a shame people hardly read the DVD
section.  Regarding the complex or invisible options, they should not
be used/exist if DVD burners firmware or DVD media were without bugs :(

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


Re: Cores and crashes on 4.X and 5.X

2005-08-02 Thread Tuc at T-B-O-H
 
 You are probably doing the upgrade wrong.  You did read the notes at
 the bottom of /usr/src/UPDATING, right?

You mean :

If you find this document useful, and you want to, you may buy the
author a beer.


Cause if so, I'll buy him one when/if he wants.

Otherwise, I'm doing everything the same I've done for YEARS,
the same on about 100 production servers that ran 4.X and 5.X . This
seems to just be happening on 2 different laptops, and only since I
upgraded them to the most current of 4.X for the 1, and 5.X of the other.

My script I use is :

cvsup -g -L 2 ./stable-supfile  (cd /usr/src;make buildworld)  (cd /usr/src;
make buildkernel KERNCONF=TOSHIBA)
echo Press ENTER to install kernel
read c
(cd /usr/src;make installkernel KERNCONF=TOSHIBA)
echo Need to reboot


Then

echo Press ENTER to mergemaster
read a
mergemaster -p
echo Press ENTER to installworld
read b
(cd /usr/src;make installworld)
echo Press ENTER to mergemaster
read c
mergemaster
echo REBOOT

 
  Any way to track
  this down... HELP!
 
 Well, try the upgrade again.  buildworld, buildkernel, installkernel,
 reboot with the new kernel, mergemaster -p, installworld, mergemaster.

I did this on the 4.X system, and I had to do the installworld
a few times since I got things like :

Jul 27 09:23:14 toshiba /kernel: pid 413 (hostname), uid 0: exited on signal 11 
(core dumped)
Jul 27 09:23:14 toshiba /kernel: pid 412 (csh), uid 0: exited on signal 11 (core
 dumped)
Jul 27 09:23:14 toshiba /kernel: Jul 27 09:23:14 toshiba /kernel: pid 413 (hostn
ame), uid 0: exited on signal 11 (core dumped)
Jul 27 09:23:14 toshiba /kernel: Jul 27 09:23:14 toshiba /kernel: pid 412 (csh),
 uid 0: exited on signal 11 (core dumped)


But eventually got it to take.  But its still acting a little weird,
like all of sudden going to graphics mode on a text screen. 

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


Re: CAM SCSI, finding out bus ID, target and LUN

2005-08-02 Thread Kenneth D. Merry
On Tue, Aug 02, 2005 at 16:32:00 +0200, Reinhold Huber wrote:
 Hello,
 
 I'm trying to get bus ID, target and LUN to an open fd which is afaik
 opened to the device special file, e.g. /dev/cd0 .
 
 So how do I get the information? Up to now, I didn't find IOCTL calls
 (like in NetBSD) which deliver this kind of info, and first tries to
 browse in CAM examples didn't help either.
 
 I tried on FreeBSD 5.3 and currently hope that there are no big
 changes to this between 5.3 and 5.4 or even -current. If I'm
 wrong with this, please correct me.
 
 Any pointer to docs or source is welcome.

(For this sort of query you might get better answers from the freebsd-scsi
list, CCed.)

You could try issuing the CAMGETPASSTHRU ioctl.  Unfortunately it was
broken for the cd(4) driver before 5.4 when there is no media in the drive.

It will give you the pass(4) instance associated with that particular cd(4)
instance.  It doesn't work for the da(4) driver, since the GEOM code has
taken over the ioctl routine for that driver.  It should work for the
cd(4), ch(4), pass(4), pt(4), sa(4) and ses(4) drivers.

The CCB header for the XPT_GDEVLIST CCB returned from the CAMGETPASSTHRU
ioctl should have the correct path, target and LUN if that's all you want.
(The pass driver instance and unit number are in the payload.)

If you want something that works consistently across all CAM peripheral
drivers, you'll need to know the device name and unit number of the device
you're talking to.

Then you can open its associated pass(4) device with cam_open_spec_device(3).

If you just have the device path name, you can try cam_open_device(3).  It
will attempt to parse out the path name for you.

In either case, the cam_device structure returned will also have the path,
target and LUN for the device.

One obvious prerequisite for all of this is that you have to know ahead of
time that you're talking to a CAM device.  These mechanisms don't work
otherwise.

Ken
-- 
Kenneth Merry
[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: DVD burning..

2005-08-02 Thread Dick Hoogendijk
On 02 Aug Marc Fonvieille wrote:
 On Tue, Aug 02, 2005 at 11:24:59AM -0400, Jeff Mitchell wrote:
  On Mon, 1 Aug 2005, Chuck Swiger wrote:
  
  # Is sysctl hw.ata.atapi_dma set to 1?  It looks like your system
  isn't # able
  
  Aha, that seems to be it; I had slapped that into my rc.local
  with some other sysctl's (before I found out about
  /etc/sysctl.conf), and that one is read-only by that stage of
  loading. Had to be in /boot/loader.conf to 'take'.
 
 [...]
 
 This and many other things are documented in the Handbook.

True. The handbook states hw.ata.atapi_dma=1 should be in
/boot/loader.conf, however, what about hw.ata.ata_dma? It is set to 1
on my fbsd-4.11-stable box but I can not find where is is set.

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.11-stable ++ FreeBSD 5.4
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Networking with FreeBSD

2005-08-02 Thread Stephan Weaver

Hello Everyone.

We are going to be connecting our Stores to our Main Head Office Via Fiber.
We want to separate our Internal Lan from the store computers.
So we have decided to separate them by networks [ip addressing] because of 
security.



Head Office
I have 3 Servers in my LAN. And 4 Networks in Total inside of out Head 
Office.

10.10.10.1 - Pixel Replication Server
192.168.1.1 - Web Based Server [Delivery Server]
192.168.100.1 - File Server
Including Internet Users.
192.168.0.1-254 [ Lan ].


The store computers that need to access specific servers, are only on that 
network.

For example.
Store 1, Computer 1 Needs to Replicate [he will have an ip of 10.10.10.105]
Store 1, Computer 2 [The Delivery Pc]. he will have an ip of 192.168.1.105
Store 1, Computer 3 Will access the File Server by having an ip of 
192.168.100.105.



Now the Risk involved with this is we have no Real Security, For Example.
A Malicious user can easily change his ip address to 192.168.0.105 For 
Example and Get on our Head Office Internal Network. Which We don't Want.



So i would like to Setup, Install And Configure a FreeBSD Based Firewall, 
that will have 4 Network Cards, and will be placed between Our Head Office 
Switch, and out Fibre Switch [Wan].


But AFAIK, By Placing all these network cards in the Same Machine, FreeBSD 
Will Bridge All Those Networks.
How Can i keep the networks Separate, and Secure the Servers by Firewalling 
by ip addressing?



I would appreciate Advice / Suggestions / Anything That will give me a 
better clue on how to secure my network.




Yours Sincerely,
Stephan Weaver

_
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]


Re: growisofs: no mkisofs options are permitted with =, aborting

2005-08-02 Thread Chuck Swiger

Marc Fonvieille wrote:

On Tue, Aug 02, 2005 at 10:50:01AM -0400, Chuck Swiger wrote:

[ ... ]
To some extent, Andy doesn't want to fully document everything to encourage 
people to either use the source, luke, or to create more user-friendly 
(but seperate) frontends like k3b.  I don't fully understand the mindset of 
not making a program fully documented or oriented towards its users, but 
Andy has been reasonably responsive to integrating FreeBSD changes for the 
port, so I'm not going to complain...


I do not agree with that statement, Andy helped us to clearly document
growisofs in the Handbook, it's just a shame people hardly read the DVD
section.  Regarding the complex or invisible options, they should not
be used/exist if DVD burners firmware or DVD media were without bugs :(


The Handbook has good documentation on using dvd+rw-tools as well as other 
software, and I would second the recomendation that people take a look at it if 
they want to burn CD's or DVD's.


You are welcome to hold the opinion that the documentation is complete, but:

13-sec% cd /usr/ports/sysutils/dvd+rw-tools  make extract  /dev/null
14-sec% grep luke work/dvd+rw-tools-5.21.4.10.8/growisofs.c
 * - undocumented -use-the-force-luke flag to overwrite the media
 * - extended syntax for -use-the-force-luke option, it's now possible
 *   to engage DVD-R[W] dummy mode by -use-the-force-luke=[tty,]dummy
 * - complement -use-the-force-luke=dao[:size] to arrange for piping
 * - implement -use-the-force-luke=seek:N -Z /dev/dvd=image to arrange
 *   -use-the-force-luke=seek:N it's easier to maintain tar-formatted
 * - -use-the-force-luke=tracksize:size option by suggestion from K3b;
 * - -use-the-force-luke=wrvfy for WRITE AND VERIFY(10);
 * - -use-the-force-luke=4gms to allow ISO9660 directory structures
 * - more sane sanity check for -use-the-force-luke=tracksize:N;
 * - -use-the-force-luke=break:size to set Layer Break position for
 * - -use-the-force-luke=noload to leave tray ejected at the end;
else if (!strncmp(opt,-use-the-force-luke,19))

...or consult the manpage, again:

  There're   several   undocumented   options   commonly   denoted   with
   -use-the-force-luke prefix. Some of them serve debugging purposes. Some
   require  certain  knowledge  about  recording process or even OS kernel
   internals and as being such can induce confusing behaviour. Some are to
   be  used in very specific situations better recognized by front-ends or
   automated scripts. Rationale behind leaving these options  undocumented
   is  that  those  few users who would actually need to use them directly
   can as well consult the source code  or  obtain  specific  instructions
   elsewhere.

--
-Chuck

The human race's favorite method for being in control of the facts
 is to ignore them.  -Celia Green

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


Sendmail 8.13.3 and FreeBSD 4.11 local mail problem

2005-08-02 Thread Chris Boyd
I'm having an odd problem on a server running Sendmail 8.13.3 under
4.11.

I've set up sendmail with a set of DNSBLs, local host names, access
table for relaying from a static IP, virtusertable, and authenticated
relaying.

I am able to send and receive email normally through the system--it
correctly handles everything thrown at it, except for emails that are
generated on the local system.  So things like the periodic reports get
dumped with error messages in the mail log like this:

Aug  2 11:31:05 www sendmail[49806]: j72GV5MF049806: from=user,
size=214, class=0, nrcpts=1,
msgid=[EMAIL PROTECTED], [EMAIL PROTECTED]
Aug  2 11:31:05 www sm-mta[49807]: STARTTLS=server, relay=localhost
[127.0.0.1], version=TLSv1/SSLv3, verify=NO, cipher=DHE-DSS-AES256-SHA,
bits=256/256
Aug  2 11:31:05 www sendmail[49806]: STARTTLS=client, relay=[127.0.0.1],
version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-DSS-AES256-SHA,
bits=256/256
Aug  2 11:31:05 www sendmail[49806]: j72GV5MF049806:
[EMAIL PROTECTED], ctladdr=user (1001/1001), delay=00:00:00,
xdelay=00:00:00, mailer=relay, pri=30214, relay=[127.0.0.1] [127.0.0.1],
dsn=5.6.0, stat=Data format error
Aug  2 11:31:05 www sendmail[49806]: j72GV5MF049806: j72GV5MG049806:
DSN: Data format error
Aug  2 11:31:05 www sm-mta[49807]: j72GV5GO049807: [EMAIL PROTECTED]...
user on this server
Aug  2 11:31:05 www sendmail[49806]: j72GV5MG049806: to=user,
delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31238,
relay=[127.0.0.1], dsn=5.3.0, stat=User unknown
Aug  2 11:31:05 www sm-mta[49807]: j72GV5GO049807: from=, size=1238,
class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Aug  2 11:31:05 www sendmail[49806]: j72GV5MG049806: j72GV5MH049806:
return to sender: User unknown
Aug  2 11:31:05 www sm-mta[49807]: j72GV5GQ049807:
[EMAIL PROTECTED]... user on this server
Aug  2 11:31:05 www sendmail[49806]: j72GV5MH049806: to=postmaster,
delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=32262,
relay=[127.0.0.1] [127.0.0.1], dsn=5.3.0, stat=User unknown
Aug  2 11:31:05 www sm-mta[49807]: j72GV5GQ049807: from=, size=2262,
class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Aug  2 11:31:05 www sendmail[49806]: j72GV5MG049806: Losing
./qfj72GV5MG049806: savemail panic
Aug  2 11:31:05 www sendmail[49806]: j72GV5MG049806: SYSERR(root):
savemail: cannot save rejected email anywhere




Various web sites on Google suggest doing date | sendmail -v -Am
postmaster which works.


Any suggestions are appreciated.

--Chris

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


Re: ATA over 127 GByte on FBSD 4.8 ?

2005-08-02 Thread Glenn Dawson

At 08:14 AM 8/2/2005, Mark Terribile wrote:


Glenn,

 At 12:32 AM 8/2/2005, Mark Terribile wrote:
   [materribile wrote]
===I recently replaced smaller drives with a 160G and 250G drives
   (IDE).  ... attempts to access anything above 127G resulted in errors:
 [Kris Kennaway wrote]
   Try 4.11 if you don't want to make the leap to 5.x ...
   4.11 can definitely access 127GB.
 
 Looming over this is the possibility that, after I install 4.11, it still
 won't work, not because of a basic problem in the OS, but because I have
 some setting wrong somewhere.

 Are you asking for solutions to problems you don't have yet?

I want to solve the actual problem, not make new ones, since ...

 ...
 According to CVS logs, 48 bit addressing first appeared in version
 1.60.2.19 of ata-disk.c which was included in the 4.5 release.

Well, if it's supposed to work in 4.5 and beyond, and if it doesn't work on my
4.8, it's a fair bet that the problem is something in my configuration.  If I
don't fix that, 4.11 may not work either, and I'll have the added handicap of
all the additional variables that the update may introduce.  So suggestions
on things to check first are still very welcome.

I'll need to set a whole day aside for the upgrade to deal with surprises.  I
won't get that for at least a week and a half, so I have plenty of time to
check other things first.


I didn't see your first email.  I went back and read it though, and the SIS 
963 south bridge isn't supported (recognized) at all in 4.x.


Based on CVS logs, it looks like support for SIS 963 south bridge wasn't 
available until 5.1 RELEASE.


-Glenn



Mark Terribile





Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs

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


package database corruption

2005-08-02 Thread dave
Hello,
I've got a 5.4 box, that was working fine until it somehow lost it's
correct date. A port upgrade was atempted while in this state then when it
failed, it was handed off to me to fix. THe problem is in the f-prot-sig
package, it's not updating it's either wanting v 20050705 or 20050730 it
says 20050730 is install but a portversion -l  shows f-prot-sig still
needing updating. I tried just updating that package with portupgrade
f-prot-sig and it said the package wasn't updated because it was already
marked as ignored. I'm hoping i don't have to uninstall and reinstall the
packages on this box, any help appreciated.
Thanks.
Dave.

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


Re: cannot install ntop under freeBSD 5.5

2005-08-02 Thread Shantanoo Mahajan
+++ PK [freebsd] [31-07-05 22:34 -0400]:
| 
| 
| I sent 3 mails to the port maintainer but I didn't get any replies.
| That's very strange !

People prefer plain-text e-mails :).

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


Re: Networking with FreeBSD

2005-08-02 Thread Kevin Kinsey

Stephan Weaver wrote:


Hello Everyone.

We are going to be connecting our Stores to our Main Head Office Via 
Fiber.

We want to separate our Internal Lan from the store computers.
So we have decided to separate them by networks [ip addressing] 
because of security.



Head Office
I have 3 Servers in my LAN. And 4 Networks in Total inside of out Head 
Office.

10.10.10.1 - Pixel Replication Server
192.168.1.1 - Web Based Server [Delivery Server]
192.168.100.1 - File Server
Including Internet Users.
192.168.0.1-254 [ Lan ].


The store computers that need to access specific servers, are only on 
that network.

For example.
Store 1, Computer 1 Needs to Replicate [he will have an ip of 
10.10.10.105]
Store 1, Computer 2 [The Delivery Pc]. he will have an ip of 
192.168.1.105
Store 1, Computer 3 Will access the File Server by having an ip of 
192.168.100.105.


Now the Risk involved with this is we have no Real Security, For Example.
A Malicious user can easily change his ip address to 192.168.0.105 For
Example and Get on our Head Office Internal Network. Which We don't Want.

So i would like to Setup, Install And Configure a FreeBSD Based 
Firewall, that
will have 4 Network Cards, and will be placed between Our Head Office 
Switch, and out Fibre Switch [Wan].


But AFAIK, By Placing all these network cards in the Same Machine, 
FreeBSD Will Bridge All Those Networks.
How Can i keep the networks Separate, and Secure the Servers by 
Firewalling by ip addressing?


I would appreciate Advice / Suggestions / Anything That will give me a 
better clue on how to secure my network.


Yours Sincerely,
Stephan Weaver



This is probably not Real Helpful(tm), but maybe we can get the
ball rolling here (so I've included your entire post)  --- I'm looking
at m0n0wall (http://m0n0.ch/wall) to do a little of this on a smaller
scale --- basically just keeping 2 LAN's on the same wire seperate
from one another, and limiting access to the big bad Net via a
captive portal.

Not sure if it would be any help to you, however

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


Re: DVD burning..

2005-08-02 Thread Garrett Cooper

On Tue, 2 Aug 2005, Dick Hoogendijk wrote:


On 02 Aug Marc Fonvieille wrote:

On Tue, Aug 02, 2005 at 11:24:59AM -0400, Jeff Mitchell wrote:

On Mon, 1 Aug 2005, Chuck Swiger wrote:

# Is sysctl hw.ata.atapi_dma set to 1?  It looks like your system
isn't # able

Aha, that seems to be it; I had slapped that into my rc.local
with some other sysctl's (before I found out about
/etc/sysctl.conf), and that one is read-only by that stage of
loading. Had to be in /boot/loader.conf to 'take'.


[...]

This and many other things are documented in the Handbook.


True. The handbook states hw.ata.atapi_dma=1 should be in
/boot/loader.conf, however, what about hw.ata.ata_dma? It is set to 1
on my fbsd-4.11-stable box but I can not find where is is set.


	Probably just a default when you built your kernel (because IIRC 
you can specify defaults for your sysctl in the kernel config somewhere). 
Put hw.ata.ata_dma=0 in your sysctl.conf file if you _really_ want it 
turned off.

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


Re: growisofs: no mkisofs options are permitted with =, aborting

2005-08-02 Thread Marc Fonvieille
On Tue, Aug 02, 2005 at 12:31:17PM -0400, Chuck Swiger wrote:
 
 The Handbook has good documentation on using dvd+rw-tools as well as other 
 software, and I would second the recomendation that people take a look at 
 it if they want to burn CD's or DVD's.
 
 You are welcome to hold the opinion that the documentation is complete, but:
 
 13-sec% cd /usr/ports/sysutils/dvd+rw-tools  make extract  /dev/null
 14-sec% grep luke work/dvd+rw-tools-5.21.4.10.8/growisofs.c
  * - undocumented -use-the-force-luke flag to overwrite the media
  * - extended syntax for -use-the-force-luke option, it's now possible
  *   to engage DVD-R[W] dummy mode by -use-the-force-luke=[tty,]dummy
  * - complement -use-the-force-luke=dao[:size] to arrange for piping
  * - implement -use-the-force-luke=seek:N -Z /dev/dvd=image to arrange
  *   -use-the-force-luke=seek:N it's easier to maintain tar-formatted
  * - -use-the-force-luke=tracksize:size option by suggestion from K3b;
  * - -use-the-force-luke=wrvfy for WRITE AND VERIFY(10);
  * - -use-the-force-luke=4gms to allow ISO9660 directory structures
  * - more sane sanity check for -use-the-force-luke=tracksize:N;
  * - -use-the-force-luke=break:size to set Layer Break position for
  * - -use-the-force-luke=noload to leave tray ejected at the end;
 else if (!strncmp(opt,-use-the-force-luke,19))
 
 ...or consult the manpage, again:
 
   There're   several   undocumented   options   commonly   denoted   
   with
-use-the-force-luke prefix. Some of them serve debugging purposes. 
Some
require  certain  knowledge  about  recording process or even OS 
kernel
internals and as being such can induce confusing behaviour. Some are 
to
be  used in very specific situations better recognized by front-ends 
or
automated scripts. Rationale behind leaving these options  
undocumented
is  that  those  few users who would actually need to use them 
directly
can as well consult the source code  or  obtain  specific  
instructions
elsewhere.


I don't see the problem, the text above clearly explain the reason.
And according to questions on freebsd-questions@,, the main problem is
the fact no one read the existing documentation;  For example, a recent
thread about DVD burning speed/DMA issue... with the solution documented
in many places...

However I can understand your point of view regarding the fact the
manual page do not even mention briefly the invisible options.  A
volunteer should write a patch against the manual page and send it to
Andy.

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


Re: ATA over 127 GByte on FBSD 4.8 ?

2005-08-02 Thread Mark Terribile


Glen,

 I didn't see your first email.  I went back and read it though, and the SIS 
 963 south bridge isn't supported (recognized) at all in 4.x.
 
 Based on CVS logs, it looks like support for SIS 963 south bridge wasn't 
 available until 5.1 RELEASE.

Thanks for your help.  I'm still, well, not confused exactly, but uncertain.

The SiS 963 seems to work with everything else I'm putting through it,
including the Adaptec SCSI controller (which has only 36G disks); should
it somehow prevent exactly these transfers from working with the Promise
Ultra 133 TX2?

Mark Terribile

__
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: Networking with FreeBSD

2005-08-02 Thread Garrett Cooper

On Tue, 2 Aug 2005, Stephan Weaver wrote:


Hello Everyone.

We are going to be connecting our Stores to our Main Head Office Via Fiber.
We want to separate our Internal Lan from the store computers.
So we have decided to separate them by networks [ip addressing] because of 
security.



Head Office
I have 3 Servers in my LAN. And 4 Networks in Total inside of out Head 
Office.

10.10.10.1 - Pixel Replication Server
192.168.1.1 - Web Based Server [Delivery Server]
192.168.100.1 - File Server
Including Internet Users.
192.168.0.1-254 [ Lan ].


The store computers that need to access specific servers, are only on that 
network.

For example.
Store 1, Computer 1 Needs to Replicate [he will have an ip of 10.10.10.105]
Store 1, Computer 2 [The Delivery Pc]. he will have an ip of 192.168.1.105
Store 1, Computer 3 Will access the File Server by having an ip of 
192.168.100.105.



Now the Risk involved with this is we have no Real Security, For Example.
A Malicious user can easily change his ip address to 192.168.0.105 For 
Example and Get on our Head Office Internal Network. Which We don't Want.



So i would like to Setup, Install And Configure a FreeBSD Based Firewall, 
that will have 4 Network Cards, and will be placed between Our Head Office 
Switch, and out Fibre Switch [Wan].


But AFAIK, By Placing all these network cards in the Same Machine, FreeBSD 
Will Bridge All Those Networks.
How Can i keep the networks Separate, and Secure the Servers by Firewalling 
by ip addressing?



I would appreciate Advice / Suggestions / Anything That will give me a better 
clue on how to secure my network.




Yours Sincerely,
Stephan Weaver


	I can tell you as of right now that you're going to have to setup 
a NAT with your FreeBSD box acting as the gateway using something like 
ipf, ipfilter, etc. However, I have little experience with this, and 
depending on what you want in terms of user interaction, different 
solutions will pose certain pros and cons.
	Also, no one outside of the network can just change their IP 
address to 192.168.0.x because the 192.168.x.y IP address blocks are 
reserved as Class C addresses which under all correct implementations of 
IP physically inaccessible outside the network. Therefore, that isn't so 
much of an issue... however, it still doesn't hurt to have a firewall 
because you don't want someone tunnelling in and wreaking havok on your 
network. That is of course if the information you listed above was in fact 
what's currently implemented as opposed to what should be implemented.

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


Re: DVD burning..

2005-08-02 Thread Marc Fonvieille
On Tue, Aug 02, 2005 at 06:25:06PM +0200, Dick Hoogendijk wrote:
 On 02 Aug Marc Fonvieille wrote:
  On Tue, Aug 02, 2005 at 11:24:59AM -0400, Jeff Mitchell wrote:
   On Mon, 1 Aug 2005, Chuck Swiger wrote:
   
   # Is sysctl hw.ata.atapi_dma set to 1?  It looks like your system
   isn't # able
   
 Aha, that seems to be it; I had slapped that into my rc.local
 with some other sysctl's (before I found out about
 /etc/sysctl.conf), and that one is read-only by that stage of
 loading. Had to be in /boot/loader.conf to 'take'.
  
  [...]
  
  This and many other things are documented in the Handbook.
 
 True. The handbook states hw.ata.atapi_dma=1 should be in
 /boot/loader.conf, however, what about hw.ata.ata_dma? It is set to 1
 on my fbsd-4.11-stable box but I can not find where is is set.


man ata

it's set to 1 by default.

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


Re: Networking with FreeBSD

2005-08-02 Thread Stephan Weaver




From: Garrett Cooper [EMAIL PROTECTED]
To: Stephan Weaver [EMAIL PROTECTED]
CC: freebsd-questions@freebsd.org
Subject: Re: Networking with FreeBSD
Date: Tue, 2 Aug 2005 10:10:44 -0700 (PDT)

On Tue, 2 Aug 2005, Stephan Weaver wrote:


Hello Everyone.

We are going to be connecting our Stores to our Main Head Office Via 
Fiber.

We want to separate our Internal Lan from the store computers.
So we have decided to separate them by networks [ip addressing] because of 
security.



Head Office
I have 3 Servers in my LAN. And 4 Networks in Total inside of out Head 
Office.

10.10.10.1 - Pixel Replication Server
192.168.1.1 - Web Based Server [Delivery Server]
192.168.100.1 - File Server
Including Internet Users.
192.168.0.1-254 [ Lan ].


The store computers that need to access specific servers, are only on that 
network.

For example.
Store 1, Computer 1 Needs to Replicate [he will have an ip of 
10.10.10.105]

Store 1, Computer 2 [The Delivery Pc]. he will have an ip of 192.168.1.105
Store 1, Computer 3 Will access the File Server by having an ip of 
192.168.100.105.



Now the Risk involved with this is we have no Real Security, For Example.
A Malicious user can easily change his ip address to 192.168.0.105 For 
Example and Get on our Head Office Internal Network. Which We don't Want.



So i would like to Setup, Install And Configure a FreeBSD Based Firewall, 
that will have 4 Network Cards, and will be placed between Our Head Office 
Switch, and out Fibre Switch [Wan].


But AFAIK, By Placing all these network cards in the Same Machine, FreeBSD 
Will Bridge All Those Networks.
How Can i keep the networks Separate, and Secure the Servers by 
Firewalling by ip addressing?



I would appreciate Advice / Suggestions / Anything That will give me a 
better clue on how to secure my network.




Yours Sincerely,
Stephan Weaver


	I can tell you as of right now that you're going to have to setup a NAT 
with your FreeBSD box acting as the gateway using something like ipf, 
ipfilter, etc. However, I have little experience with this, and depending 
on what you want in terms of user interaction, different solutions will 
pose certain pros and cons.
	Also, no one outside of the network can just change their IP address to 
192.168.0.x because the 192.168.x.y IP address blocks are reserved as Class 
C addresses which under all correct implementations of IP physically 
inaccessible outside the network. Therefore, that isn't so much of an 
issue... however, it still doesn't hurt to have a firewall because you 
don't want someone tunnelling in and wreaking havok on your network. That 
is of course if the information you listed above was in fact what's 
currently implemented as opposed to what should be implemented.

Just a few minor thoughts.
-Garrett




Nothing is implimented as yet, i am looking for solutions.


Thanks EVERYONE!
Love You Guys
stephan weaver

_
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]


Re: polling decreases throughput ~50%

2005-08-02 Thread Bill Campbell
On Tue, Aug 02, 2005, Victor Semionov wrote:
Hello,

I've noticed something that seems strange to me and I'd like to ask for an 
explanation, because I don't think it should be happening.

I was uploading some large file to my neighbor's windows box. With polling 
disabled, the transfer rate was 8 MB/s and CPU usage was 90%. I turned on 
polling with sysctl and CPU usage decreased to 50%, which I expected, but 
also the transfer rate dropped to 4.5 MB/s, about half. The numbers are 
approximate. The interface is a RealTek (rl driver). No background jobs were 
running. kern.polling.* all defaults.

Why is that? I thought polling should decrease CPU usage by avoiding too many 
context switches when a hw irq is generated frequently, but it shouldn't make 
the transfer slower if there are no other jobs running.

I certainly don't claim to be an expert on this subject so take this with a
grain of salt.

Interrupts were originally created to eliminate the need for polling
allowing processes to sleep until an interrupt occurs rather than having
the process in a loop testing to see if any input is ready or the device is
available for further work.

The only place I've seen polling used effectively on *nix systems is on
parallel printer ports where cheap hardware or printers wouldn't properly
support interrupts.

The other place I've seen polling used was with some brain-dead accounting
software written in Business BASIC that polled the keyboard for input, and
could suck every available cycle -- particularly if the connection to the
session terminated abnormally.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``If the future navigation system [for interactive networked services on
the NII] looks like something from Microsoft, it will never work.''
(Chairman of Walt Disney Television  Telecommunications)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


5.4-rel Bootloader Wedgie on Supermicro 5013C-MT

2005-08-02 Thread Spud Pecker
The boot loader on i386 5.4-rel locks up at the count down screen on
the Supermicro SuperServer 5013C-MT.  Is anyone working on this issue?
 Is there a developer that needs hardware to test on?

http://supermicro.com/products/system/1U/5013/SYS-5013C-MT.cfm

Best regards,

Joe Hamelin
Windermere Technology
[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: ATA over 127 GByte on FBSD 4.8 ?

2005-08-02 Thread Glenn Dawson

At 10:10 AM 8/2/2005, Mark Terribile wrote:



Glen,

 I didn't see your first email.  I went back and read it though, and the 
SIS

 963 south bridge isn't supported (recognized) at all in 4.x.

 Based on CVS logs, it looks like support for SIS 963 south bridge wasn't
 available until 5.1 RELEASE.

Thanks for your help.  I'm still, well, not confused exactly, but uncertain.

The SiS 963 seems to work with everything else I'm putting through it,
including the Adaptec SCSI controller (which has only 36G disks); should
it somehow prevent exactly these transfers from working with the Promise
Ultra 133 TX2?


If you use (additional) disk controllers that are supported, then they will 
work as expected.  The limitations imposed by not having support for the 
SIS 963 only affect the ability to use features provided by the SIS 963.


-Glenn



Mark Terribile

__
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]


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


Re: Networking with FreeBSD

2005-08-02 Thread Chuck Swiger

Stephan Weaver wrote:
[ ... ]
But AFAIK, By Placing all these network cards in the Same Machine, 
FreeBSD Will Bridge All Those Networks.


FreeBSD is well-behaved in terms of security.  It will not act as a layer-2 
bridge or as a layer-3 IP router/firewall, unless and until you tell it to do so.


See the options set in /etc/rc.conf and /etc/defaults/rc.conf such as:

gateway_enable=NO # Set to YES if this host will be a gateway.
router_enable=NO  # Set to YES to enable a routing daemon.
firewall_enable=NO# Set to YES to enable firewall functionality
firewall_script=/etc/rc.firewall # Which script to run to set up the firewall
firewall_type=UNKNOWN # Firewall type (see /etc/rc.firewall)

...or man bridge.

How Can i keep the networks Separate, and Secure the Servers by 
Firewalling by ip addressing?


Well, if you set the machines up on three or four seperate subnets, each on a 
seperate collision domain (ie, each with it's own hub or switch VLAN), you can 
firewall traffic both by subnet and by individual IPs.  A proper ruleset will 
integrate anti-spoofing rules which will prevent a machine from sending traffic 
as if it were an IP on another subnet, or at least prevent the traffic from 
going through the firewall to reach your private internal networks.


Obviously, you want to keep untrusted machines on another subnet than the 
servers you are protecting.  Go read Building Internet Firewalls published by 
O'Reilley, as well as http://www.ietf.org/rfc/rfc2196.txt...


--
-Chuck

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


Re: Networking with FreeBSD

2005-08-02 Thread Stephan Weaver




From: Chuck Swiger [EMAIL PROTECTED]
To: Stephan Weaver [EMAIL PROTECTED]
CC: freebsd-questions@freebsd.org
Subject: Re: Networking with FreeBSD
Date: Tue, 02 Aug 2005 13:38:27 -0400

Stephan Weaver wrote:
[ ... ]
But AFAIK, By Placing all these network cards in the Same Machine, FreeBSD 
Will Bridge All Those Networks.


FreeBSD is well-behaved in terms of security.  It will not act as a layer-2 
bridge or as a layer-3 IP router/firewall, unless and until you tell it to 
do so.


See the options set in /etc/rc.conf and /etc/defaults/rc.conf such as:

gateway_enable=NO # Set to YES if this host will be a 
gateway.

router_enable=NO  # Set to YES to enable a routing daemon.
firewall_enable=NO# Set to YES to enable firewall 
functionality
firewall_script=/etc/rc.firewall # Which script to run to set up the 
firewall

firewall_type=UNKNOWN # Firewall type (see /etc/rc.firewall)

...or man bridge.

How Can i keep the networks Separate, and Secure the Servers by 
Firewalling by ip addressing?


Well, if you set the machines up on three or four seperate subnets, each on 
a seperate collision domain (ie, each with it's own hub or switch VLAN), 
you can firewall traffic both by subnet and by individual IPs.  A proper 
ruleset will integrate anti-spoofing rules which will prevent a machine 
from sending traffic as if it were an IP on another subnet, or at least 
prevent the traffic from going through the firewall to reach your private 
internal networks.


Obviously, you want to keep untrusted machines on another subnet than the 
servers you are protecting.  Go read Building Internet Firewalls 
published by O'Reilley, as well as http://www.ietf.org/rfc/rfc2196.txt...


--
-Chuck




Thank You So Very Much for your quick response.
I am familar with firewalling, but i never done something like this.
Mabee you can give me an actual Example from my reference.
Using my networks ect.


What i want to do is seperate the network's on the same wire.

_
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]


Re: dual boot with freebsd boot loader

2005-08-02 Thread Bob Johnson
On 8/2/05, Petre Bandac [EMAIL PROTECTED] wrote:
 hello
 
 I have the following configuration
 
 ad0s1 - win xp with ntfs 
 ad0s2 - freebsd
 
 they were installed in the above order, so now I can use only freebsd
 
 is there a way to configure freebsd's boot loader to be able to boot
 from the win partition (I googled around and found boot0cfg (8), but
 didn't have the time to play with it)
 

Yes.

 what I want to know is if (making a similarity with linux's lilo) I can
 make the boot loader to  have the options 1) boot win, 2) boot freebsd
 
 I do not want to install grub or other boot loader unless the default
 freebsd boot manager cannot be used in the configuration described above
 

If you install the FreeBSD bootmanager, it will do that by default,
but I usually
use the Windows boot manager.  There is a FAQ entry for it, see 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NT-BOOTLOADER

It talks about Windows NT, but it works the same.

The FreeBSD boot manager will automatically boot you to the O/S that you 
last selected manually.  I believe the NT boot manager will always boot to 
the same default unless you manually intervene, but I may be remembering 
that wrong.

The NT boot loader is much prettier.

To get your system to boot to FreeBSD so you can make a copy of boot1, 
you may need to run Windows fdisk to set the FreeBSD partition to be the 
active partition.  Then use FreeBSD fdisk to change back to Windows so 
you can set it up.

- Bob

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


pam_radius

2005-08-02 Thread Sean P. Malone
I’m rolling out a new email system and would love it if I could get that 
system to authentic the user off of our existing Active Directory user 
database.


As I understand, the pam_radius module should enable me to achieve the 
task.  However, the only instructions that I’ve been able to find are at:


https://www.freebsd.uwaterloo.ca/twiki/bin/view/Freebsd/PamRadius?shin=print.patern

While these are helpful, I’m still not able to get my BSD system to 
authenticate against a MS IAS – although the attempts are logged on the 
IAS box without error.


Does anyone know of a good additional source of information?

Thanks!

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


Re: Networking with FreeBSD

2005-08-02 Thread Chuck Swiger

Stephan Weaver wrote:
[ ... ]

Thank You So Very Much for your quick response.


You're welcome.


I am familar with firewalling, but i never done something like this.
Mabee you can give me an actual Example from my reference.
Using my networks ect.


Sure, if I had lots of free time and nothing else to do, I could probably write 
up a security policy, firewall rules, along with pretty network topology 
diagrams and so forth.  But I was up 'til 2AM doing pretty much just that for a 
client yesterday (*), and I'd rather not spend that much effort again today 
without a good cause, or at least more beer.  :-)


There is an expectation on the freebsd lists that you spend your own time to 
learn about the tasks you want to accomplish before asking other people to 
repeat what the documentation says for your own specific use case.  (Read the 
docs.  Try stuff out.  Ask questions which show what you've done and what the 
specific error message or problem you have is.)



What i want to do is seperate the network's on the same wire.


Hmm.  Why do you want to put separate subnets on the same wire?

(What does that mean to you, anyway?  Using the same external ISP connection? 
All boxes all on the same ethernet hub?  Something else?  Consider IPsec. :-)


--
-Chuck

(*): Client is in Denmark.  They wanted stuff urgently by this morning their 
time, after getting me something to respond to yesterday at 4PM my time.  Bleh, 
this global outsourcing thing really is overrated


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


Re: polling decreases throughput ~50%

2005-08-02 Thread Chuck Swiger

Bill Campbell wrote:

On Tue, Aug 02, 2005, Victor Semionov wrote:

[ ... ]
I was uploading some large file to my neighbor's windows box. With polling 
disabled, the transfer rate was 8 MB/s and CPU usage was 90%. I turned on 
polling with sysctl and CPU usage decreased to 50%, which I expected, but 
also the transfer rate dropped to 4.5 MB/s, about half. The numbers are 
approximate. The interface is a RealTek (rl driver). No background jobs were 
running. kern.polling.* all defaults.


What is kern.hz set to?  Does increasing it improve throughput?

Why is that? I thought polling should decrease CPU usage by avoiding too many 
context switches when a hw irq is generated frequently, but it shouldn't make 
the transfer slower if there are no other jobs running.


You have to poll often enough to keep the pipe full, otherwise your max 
throughput can be limited.  Also, rl hardware isn't the greatest and probably 
requires a lot more CPU than a device with working buffer/DMA design.



I certainly don't claim to be an expert on this subject so take this with a
grain of salt.

Interrupts were originally created to eliminate the need for polling
allowing processes to sleep until an interrupt occurs rather than having
the process in a loop testing to see if any input is ready or the device is
available for further work.


Blocking was created to eliminate the need for polling/sitting in a loop 
testing a condition.  Interrupts were created to take the CPU away from normal 
processing in order to attend a high-priority, time-critical condition or 
signal which can't wait.


A good serial chip/UART, or a NIC receiving packets, shouldn't fire an 
interrupt just because a character/packet came in, they should fire an 
interrupt when their SILO/buffer is getting full or has some data which hasn't 
been serviced in a while.  (Interrupt coalescing)


--
-Chuck

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


RE: Migrate primary disk (duplicate)

2005-08-02 Thread Alexandre D.
I tried:

1) boot0cfg -Bv -s 1 -t 20 ad2
= the boot process stops displaying F1 FreeBSD ... Default: F1
2) boot0cfg -Bv -o packet,noupdate -s 1 -t 20 ad2
after doing a sysctl kern.geom.debugflags=16
= the boot process passes F1 FreeBSD ... Default: F1 and then stops 
at
can't load kernel (boot2 I guess)



-Message d'origine-
De : Gary W. Swearingen [mailto:[EMAIL PROTECTED]
Envoye : mardi 2 aout 2005 00:30
A : Alexandre D.
Cc : freebsd-questions@freebsd.org
Objet : Re: Migrate primary disk (duplicate)


Alexandre D. [EMAIL PROTECTED] writes:

 I made several tests. the exact problem is to install the freebsd boot
 manager.

But your fdisk -B -b /boot/boot0 should have done that.  I'm not
sure if it has defaults that would work for you though.  boot0cfg
tells you what defaults it will use and lets you change them.

 If I use any command line utility to restore the boot manager, it doesnt
 work.

Does any include boot0cfg?

 If I use /stand/sysinstall, choose fdisk and Install the FreeBSD boot
 Manager, it works

 What is the exact command line for this?

Depends upon what you want.  Read boot0cfg manpage; it's short.
I used this once:

  boot0cfg -Bv -o packet,noupdate -s 3 -t  ad0

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


D-Link Wireless card

2005-08-02 Thread Beecher Rintoul
Hi,
I'm attempting to get a D-Link DWL-AG530 wireless card to work in
FreeBSD. Since the card is not supported, I fetched and built the
driver with ndis which built and installed ok. I made sure to use the
correct winblows XP drivers (I tried them in XP and they work). When I
kldload the module the card is not recognized at all and does not
create ndis0. I've scoured the ndis manpages and everything seems
correct. Has anyone had experience with this?

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


Re: package database corruption

2005-08-02 Thread Kris Kennaway
On Tue, Aug 02, 2005 at 12:44:05PM -0400, dave wrote:
 Hello,
 I've got a 5.4 box, that was working fine until it somehow lost it's
 correct date. A port upgrade was atempted while in this state then when it
 failed, it was handed off to me to fix. THe problem is in the f-prot-sig
 package, it's not updating it's either wanting v 20050705 or 20050730 it
 says 20050730 is install but a portversion -l  shows f-prot-sig still
 needing updating. I tried just updating that package with portupgrade
 f-prot-sig and it said the package wasn't updated because it was already
 marked as ignored. I'm hoping i don't have to uninstall and reinstall the
 packages on this box, any help appreciated.

Make sure you updated your index (e.g. make fetchindex) before
updating ports, or portupgrade won't know which need to be updated.

Kris


pgp9KID6HSyID.pgp
Description: PGP signature


Re: package database corruption

2005-08-02 Thread Bryan Maynard
On Tuesday 02 August 2005 07:36 pm, Kris Kennaway wrote:
On Tue, Aug 02, 2005 at 12:44:05PM -0400, dave wrote:
 Hello,
 I've got a 5.4 box, that was working fine until it somehow lost
 it's correct date. A port upgrade was atempted while in this state
 then when it failed, it was handed off to me to fix. THe problem is
 in the f-prot-sig package, it's not updating it's either wanting v
 20050705 or 20050730 it says 20050730 is install but a portversion
 -l  shows f-prot-sig still needing updating. I tried just
 updating that package with portupgrade f-prot-sig and it said the
 package wasn't updated because it was already marked as ignored. I'm
 hoping i don't have to uninstall and reinstall the packages on this
 box, any help appreciated.

Make sure you updated your index (e.g. make fetchindex) before
updating ports, or portupgrade won't know which need to be updated.

You could also give portsnap a go. It's under the ports collection.

Kris
Thanks,

Bryan
-- 
Open Source: by the people, for the people.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


hard drive not properly dismounted

2005-08-02 Thread dwinner-lists
Hello,

I have a second hard drive in my docking station that gets mounted at each boot 
as /hd2.

For the  past few weeks, everytime I boot, I get the message

/hd2 not properly dismounted

I have a script in /usr/local/etc/rc.d that automatically mounts and unmounts 
/hd2 at boot and shutdown.

Also, if I just unmount /hd2 manually, I still get that message.

I've run fsck on it, can still access when booted, and don't see anything wrong.

Why am I getting that message?

Any ideas?

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


Re: Networking with FreeBSD

2005-08-02 Thread Nikolas Britton
On 8/2/05, Kevin Kinsey [EMAIL PROTECTED] wrote:
 Stephan Weaver wrote:
 
  Hello Everyone.
 
  We are going to be connecting our Stores to our Main Head Office Via
  Fiber.
  We want to separate our Internal Lan from the store computers.
  So we have decided to separate them by networks [ip addressing]
  because of security.
 
 
  Head Office
  I have 3 Servers in my LAN. And 4 Networks in Total inside of out Head
  Office.
  10.10.10.1 - Pixel Replication Server
  192.168.1.1 - Web Based Server [Delivery Server]
  192.168.100.1 - File Server
  Including Internet Users.
  192.168.0.1-254 [ Lan ].
 
 
  The store computers that need to access specific servers, are only on
  that network.
  For example.
  Store 1, Computer 1 Needs to Replicate [he will have an ip of
  10.10.10.105]
  Store 1, Computer 2 [The Delivery Pc]. he will have an ip of
  192.168.1.105
  Store 1, Computer 3 Will access the File Server by having an ip of
  192.168.100.105.
 
  Now the Risk involved with this is we have no Real Security, For Example.
  A Malicious user can easily change his ip address to 192.168.0.105 For
  Example and Get on our Head Office Internal Network. Which We don't Want.
 
  So i would like to Setup, Install And Configure a FreeBSD Based
  Firewall, that
  will have 4 Network Cards, and will be placed between Our Head Office
  Switch, and out Fibre Switch [Wan].
 
  But AFAIK, By Placing all these network cards in the Same Machine,
  FreeBSD Will Bridge All Those Networks.
  How Can i keep the networks Separate, and Secure the Servers by
  Firewalling by ip addressing?
 
  I would appreciate Advice / Suggestions / Anything That will give me a
  better clue on how to secure my network.
 
  Yours Sincerely,
  Stephan Weaver
 
 
 This is probably not Real Helpful(tm), but maybe we can get the
 ball rolling here (so I've included your entire post)  --- I'm looking
 at m0n0wall (http://m0n0.ch/wall) to do a little of this on a smaller
 scale --- basically just keeping 2 LAN's on the same wire seperate
 from one another, and limiting access to the big bad Net via a
 captive portal.
 
 Not sure if it would be any help to you, however
 

I'm a big fan of m0n0wall! The thing can do just about anything and
it's so easy to setup and  maintain it.

This problem should be a simple fix... Treat your connections to the
stores as if it where a connection the public Internet! If I wanted to
connect my LAN/Servers to the Internet then I would setup a firewall
(m0n0wall) that has a deny all policy. After I've done that I would
setup some pass rules like, store server with the IP address of xyz
can access HQ server that has the IP address of xyz only on port xyz.
If you want you could setup a DMZ and put your HQ servers there.

All WANs, MANs, 802.11x, Ethernet over AC power lines, etc. should
always be treated like the public Internet.

m0n0wall can do everything you need... Have you thought about site to
site VPNs using the Internet to connect the stores?... what kind of
bandwidth do you need?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Dell PowerEdge1850 Won't Take a Freebsd4.11 Installation.

2005-08-02 Thread Martin McCormick
I just powered up a shiny new Dell Poweredge 1850 with the
idea of installing FreeBSD4.11 on it.  Everything started out okay
until I got to the part in the Standard Installation where it was
going to extract the distributions just after formatting the disk,
actually the hardware raid disks.

At that point, every single distribution prompted the message
that roughly goes:

User Information.  Unable to extract blablabla from acd0.

So far, game over.

A 750 server which also has a RAID controller is, so far,
taking the installation perfectly.

The CDROM drive works well enough to boot and the boot process
looks right until I try to extract the distributions such as /bin,
etc.

Are there any other things to investigate before saying that
4.11 and Dell 1850's don't get along?

Thanks for any ideas.

Martin McCormick WB5AGZ  Stillwater, OK 
OSU Information Technology Division Network Operations Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Networking with FreeBSD

2005-08-02 Thread Stephan Weaver




From: Chuck Swiger [EMAIL PROTECTED]
To: Stephan Weaver [EMAIL PROTECTED]
CC: freebsd-questions@freebsd.org
Subject: Re: Networking with FreeBSD
Date: Tue, 02 Aug 2005 14:26:07 -0400

Stephan Weaver wrote:
[ ... ]

Thank You So Very Much for your quick response.


You're welcome.


I am familar with firewalling, but i never done something like this.
Mabee you can give me an actual Example from my reference.
Using my networks ect.


Sure, if I had lots of free time and nothing else to do, I could probably 
write up a security policy, firewall rules, along with pretty network 
topology diagrams and so forth.  But I was up 'til 2AM doing pretty much 
just that for a client yesterday (*), and I'd rather not spend that much 
effort again today without a good cause, or at least more beer.  :-)


There is an expectation on the freebsd lists that you spend your own time 
to learn about the tasks you want to accomplish before asking other people 
to repeat what the documentation says for your own specific use case.  
(Read the docs.  Try stuff out.  Ask questions which show what you've done 
and what the specific error message or problem you have is.)



What i want to do is seperate the network's on the same wire.


Hmm.  Why do you want to put separate subnets on the same wire?

(What does that mean to you, anyway?  Using the same external ISP 
connection? All boxes all on the same ethernet hub?  Something else?  
Consider IPsec. :-)


--
-Chuck

(*): Client is in Denmark.  They wanted stuff urgently by this morning 
their time, after getting me something to respond to yesterday at 4PM my 
time.  Bleh, this global outsourcing thing really is overrated





What i want to do in a nutshell,
Connect all stores together via fibre, and protect my HeadOffice Lan, which 
will now be connected to all the stores. And Have some sort of security.


_
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]


Re: can't find libexpact.so.4

2005-08-02 Thread Michael Nottebrock
On Tuesday, 2. August 2005 22:49, [EMAIL PROTECTED] wrote:

[Please keep the mailing list CC'd.]

 The first version of apache2 was 2.0.46. It complains that it can't find
 libexpact.so.4
 I just downloaded apache-2.0.54
 from the FreeBSD 5.4 section from ftp1.  This time  it complains that
 mod_ext_filter.so can't be found.  This is the error message I received.

 Syntax error on line 237 of  /usr/local/etc/apache2/httpd.conf:
 Cannot load /usr/local/etc/apache2/mod_ext_filter.so into server:
 Cannot open /usr/local/etc/apche2/mod_ext_filter.so
   ^

That is a typo, and the complete path in there is wrong as well - apache2 
modules go into /usr/local/libexec/apache2 by default.

I have no idea what exactly you downloaded, but I have the suspicion it was 
not a binary package. Did you extract the archive yourself and did configure, 
make, make install in the dir you got? If so, you should go there again and 
do make uninstall.

The actual binary package of apache2 for FreeBSD 5.4-RELEASE is 
ftp://ftp1.freebsd.org/pub/FreeBSD/ports/i386/packages-5.4-release/All/apache-2.0.53_1.tbz

You can install it with pkg_add. You can also just do pkg_add -r apache2 and 
FreeBSD will automatically fetch and install a binary package of apache2 for 
you. Remember to read the instructions the package displays after 
installation.

-- 
   ,_,   | Michael Nottebrock   | [EMAIL PROTECTED]
 (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org


pgpLPbQ02kMiJ.pgp
Description: PGP signature


Re: growisofs: no mkisofs options are permitted with =, aborting

2005-08-02 Thread Hanspeter Roth
  On Aug 01 at 22:08, Carl Delsey spoke:

 Finally, if none of those things work, you might try:
 growisofs -Z /dev/cd0=/dev/fd/0  image.iso

Ok, I tried this too, but the result is the same.
And I also tried with -dvd-compat.
I also tried on NetBSD and OpenBSD. I got the same message:

growisofs: no mkisofs options are permitted with =, aborting...

When I tried on Linux it worked.
Also on FreeBSD it works with `burncd' (with it's own syntax).

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


Re: D-Link Wireless card

2005-08-02 Thread nawcom
can you give the debug for it? (at least i) need a little more info to 
help you out here. i've handled some d-links before via ndis and it 
seemed to load ok. email the debug and hopefully i can help.


theres a known issue with HAL in which a patch is available for it.
http://people.freebsd.org/~sam/ath-dtim.patch

try patching and rebuilding the driver and let me know how it works - 
and email the debug for loading the module


Beecher Rintoul wrote:


Hi,
I'm attempting to get a D-Link DWL-AG530 wireless card to work in
FreeBSD. Since the card is not supported, I fetched and built the
driver with ndis which built and installed ok. I made sure to use the
correct winblows XP drivers (I tried them in XP and they work). When I
kldload the module the card is not recognized at all and does not
create ndis0. I've scoured the ndis manpages and everything seems
correct. Has anyone had experience with this?

Thanks,
Beech
___
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: hard drive not properly dismounted

2005-08-02 Thread Bryan Maynard
On Tuesday 02 August 2005 08:08 pm, [EMAIL PROTECTED] wrote:
Hello,

I have a second hard drive in my docking station that gets mounted at
 each boot as /hd2.

For the  past few weeks, everytime I boot, I get the message

/hd2 not properly dismounted

I have a script in /usr/local/etc/rc.d that automatically mounts and
 unmounts /hd2 at boot and shutdown.

Also, if I just unmount /hd2 manually, I still get that message.

I've run fsck on it, can still access when booted, and don't see
 anything wrong.

Why am I getting that message?

If the laptop (or docking station) lost power or was forcably powered 
off the drive will be left in an inconsistant state - causing the error 
message you're seeing.

I have had this happen to me a few times. I booted into single-user mode 
by entering boot -s at the boot countdown (after pressing space). 
Once the system is up (and before I mount any drives) I run fsck -y. 
This runs fsck and answers yes to all questions. Check the man-page 
for all availible options. If you want to run fsck interactively, leave 
-y off.

Any ideas?

Hope that helps :-D

Thanks,
DW

Thanks,

Bryan
-- 
Open Source: by the people, for the people.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


5.4 on i386g++ -pg - fail

2005-08-02 Thread db
Hi all

I'm trying to build some C++ code with -pg, but I get:
/usr/bin/ld: cannot find -lstdc++_p
Clearly FreeBSD hasn't got a profiled version of the standard C/C++ libs by 
default, so how do I compile it with the normal libs? (I haven't got the 
need for standard lib stats).

Best regards
db

Ps: Please cc to me as I am not on the list.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Reading the volume-id/label of a cd/dvd ?

2005-08-02 Thread dgmm
On Sunday 31 July 2005 17:26, Warren Block wrote:
 A way to tell if there's media in the drive would be nice...

KAudioCreator does this.  I don't know how.  I've not looked.

Somewhere to start though :-)

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


Re: Install freebsd in PocketPC?

2005-08-02 Thread Bob Johnson
On 8/2/05, Bsderss [EMAIL PROTECTED] wrote:
 Hi,
 
 Can anyone please tell me which PocketPC/Palm is
 compatible with FreeBSD? I want to install freebsd in
 my palm/pocketpc.
 

None that I know of at the moment.  I believe someone has OpenBSD sort
of working on some ARM-based systems.  I also think I remember someone
saying they were going to start working on getting FreeBSD running on
one of the ARM PDAs (maybe the Sharp Zaurus?), but I have no idea
whether they ever made progress.

Check the archives of the freebsd-arm mailing list: 
http://lists.freebsd.org/mailman/listinfo/freebsd-arm

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


Re: Networking with FreeBSD

2005-08-02 Thread Nikolas Britton
On 8/2/05, Stephan Weaver [EMAIL PROTECTED] wrote:
 
 
 From: Chuck Swiger [EMAIL PROTECTED]
 To: Stephan Weaver [EMAIL PROTECTED]
 CC: freebsd-questions@freebsd.org
 Subject: Re: Networking with FreeBSD
 Date: Tue, 02 Aug 2005 14:26:07 -0400
 
 Stephan Weaver wrote:
 [ ... ]
 Thank You So Very Much for your quick response.
 
 You're welcome.
 
 I am familar with firewalling, but i never done something like this.
 Mabee you can give me an actual Example from my reference.
 Using my networks ect.
 
 Sure, if I had lots of free time and nothing else to do, I could probably
 write up a security policy, firewall rules, along with pretty network
 topology diagrams and so forth.  But I was up 'til 2AM doing pretty much
 just that for a client yesterday (*), and I'd rather not spend that much
 effort again today without a good cause, or at least more beer.  :-)
 
 There is an expectation on the freebsd lists that you spend your own time
 to learn about the tasks you want to accomplish before asking other people
 to repeat what the documentation says for your own specific use case.
 (Read the docs.  Try stuff out.  Ask questions which show what you've done
 and what the specific error message or problem you have is.)
 
 What i want to do is seperate the network's on the same wire.
 
 Hmm.  Why do you want to put separate subnets on the same wire?
 
 (What does that mean to you, anyway?  Using the same external ISP
 connection? All boxes all on the same ethernet hub?  Something else?
 Consider IPsec. :-)
 
 --
 -Chuck
 
 (*): Client is in Denmark.  They wanted stuff urgently by this morning
 their time, after getting me something to respond to yesterday at 4PM my
 time.  Bleh, this global outsourcing thing really is overrated
 
 
 
 What i want to do in a nutshell,
 Connect all stores together via fibre, and protect my HeadOffice Lan, which
 will now be connected to all the stores. And Have some sort of security.

What fibre? how far are the stores? fibre networking gear? you have
fibre going all the way to your stores from HQ?

Also, why do you have pixel, httpd, and samba servers on different LANs?

Internet
   |   
   |   |WANs 1-4, 192.168.2/24, 192.168.3/24, 192.168.4/24, 192.168.5/24
Firewall -- DMZ 192.168.1/24 - Pixel, httpd, samba
   |
   |
HQ LAN 192.168.0/24


OR: 

Internet
  |
  |   |-WAN, 192.168.2/24
Firewall --- DMZ, 192.168.1/24 - Pixel, httpd
  |
  |--- Samba
  |
HQ LAN 192.168.0/24

OR:

Internet
  |
  |   |---WAN(s)
Firewall
  |
  |
HQ LAN

Etc.  

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


Monitor tools

2005-08-02 Thread Sanchez, David
I want to know if there is any tools that could monitor the performance of
my free bsd server ??

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


Problem about the $DISPLAY environment variable

2005-08-02 Thread Kun Niu
Dear all,

This problem occurs when I start to launch startkde.
First, it mentioned $DISPLAY was not set.
Then I use command export DISPLAY=:0.0 to set it.
After that I typed the command startkde.
The error was can't connect to :0.0
Can someone tell me how to solve the problem?
Any help would be appreciated.
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]


running lighttpd with FastCGI

2005-08-02 Thread David Banning
I am attempting to run lighttpd with FastCGI. I understand I must
first get FastCGI support into php4. Can anyone point me in the right
direction? I have tried all types of switches while compiling php4.

I have been looking for any switches I can set by scanning through
the Makefile of php4 in the ports.


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


Re: Monitor tools

2005-08-02 Thread Murray Taylor
cd /usr/ports
make search key=monitor | more

take your pick ... it then depends on what you wish to monitor

mjt

On Wed, 3 Aug 2005 09:58, Sanchez, David wrote:
 I want to know if there is any tools that could monitor the performance of
 my free bsd server ??
 
 Regards Desh
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 ***This Email has been scanned for Viruses by MailMarshal.***
 

-- 
Murray Taylor
Special Projects Engineer
-
Bytecraft Systems  Entertainment
Phone : 61 3 8710 2555
Fax   : 61 3 8710 2599
Direct: 61 3 9238 4275
Mobile: 61 0417 319 256
Email: [EMAIL PROTECTED]
or visit us on the web
http://www.bytecraftsystems.com
http://www.bytecraftentertainment.com

---
The information transmitted in this e-mail is for the exclusive
use of the intended addressee and may contain confidential
and/or privileged material. Any review, re-transmission,
dissemination or other use of it, or the taking of any action
in reliance upon this information by persons and/or entities
other than the intended recipient is prohibited. If you
received this in error, please inform the sender and/or
addressee immediately and delete the material. 

E-mails may not be secure, may contain computer viruses and
may be corrupted in transmission. Please carefully check this
e-mail (and any attachment) accordingly. No warranties are
given and no liability is accepted for any loss or damage
caused by such matters.
---

***This Email has been scanned for Viruses by MailMarshal.***
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


interrupt issue, storm on parallel port, 5.4

2005-08-02 Thread dave
Hello,
I've got a printserver that has an hp deskjet printer attached via
parallel port. I just got an email with the following message:

Interrupt storm detected on irq7: lpt0; throttling interrupt source

I've checked lpt0 in dmesg and this error didn't come up then, do i have to
worry about this? This is on a 5.4-p1 system, if so is there a fix?
Thanks.
Dave.

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


vinum problem

2005-08-02 Thread yuri
Hi all,
 
I'm makara from Cambodia. I'm freebsd newbie. I try to configure vinum I always 
get this messages every time when I start vinum
 
vinum: Inappropriate ioctl for device
 
and a few minute later my pc is restart. I hope you can solv the problem. 
Thanks sorry for my english.


-
 Start your day with Yahoo! - make it your home page 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem about the $DISPLAY environment variable

2005-08-02 Thread Dan Nelson
In the last episode (Aug 03), Kun Niu said:
 This problem occurs when I start to launch startkde. First, it
 mentioned $DISPLAY was not set. Then I use command export
 DISPLAY=:0.0 to set it. After that I typed the command startkde. The
 error was can't connect to :0.0 Can someone tell me how to solve
 the problem? Any help would be appreciated. Thanks in advance.:)

startkde is meant to be run after X has started.  It doesn't start X
itself.  Try putting it in your ~/.xinitrc file, then run startx.

-- 
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]


samba 3 and local wheel group membership

2005-08-02 Thread Tom McLaughlin
[DISCLAIMER: The box in question is a CentOS machine but wheel group
usage isn't common in the Linux world so I'm hoping another FreeBSD user
has run into this.]

I have a box at work running Samba 3 which I have added as a domain
member to an existing Windows domain with a Windows (I believe NT4) PDC.
The box running Samba has no local unix users and groups except for root
and the other builtin accounts.  All user authentication is done through
pam_winbind and user information is handled by inbind.  What I would
like to do is have users that are members of the Windows domian's Server
Admin group gain membership to the local unix wheel group when they
login via ssh to the domain member.  This is mainly to make sudo happy
which doesn't seem to like group names with spaces in them.

I've read chapters 11 and 12 of the Samba How-To but their instructions
appear to be geared towards mapping a domain group to a unix group from
the PDC running Samba.  I've tried the following on the domain member
running Samba based on the How-To:

net groupmap add unixgroup=wheel ntgroup=Server Admin

But when I ssh in as my user and run `groups` I do not see myself as a
member of the wheel group.  I also can't alter files with wheel write
permissions.  

Has someone else setup their box so domain users that are members of a
particular Windows domain group become members of the local unix wheel
group upon login?  Should I be making changes directly on the PDC and
not through Samba to accomplish this?  Thanks.

Tom

-- 
BSD# Project - Mono on FreeBSD
http://www.mono-project.com/Mono:FreeBSD

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


Re: Wireless access points for FreeBSD 4.3?

2005-08-02 Thread Jamie Ann P. Zamodio
--- Chuck Swiger [EMAIL PROTECTED] wrote:

 Anyway, if you are stuck using 4.3 for unimaginable
 reasons, I suspect the 
 atheros or PRISM-2/2.5 chipsets are what you are
 looking for.

Yeah, I'm stuck using 4.3. I'd update if I could, but
unfortunately I can't.

 Your question doesn't make it entirely clear whether
 you are looking for a 
 wireless card/NIC for a FreebSD machine to talk to a
 base station, or whether 
 you are having an issue sending traffic to or from a
 wired FreeBSD machine to 
 some other Linux box via basestation to wireless...?

I'm sorry, I assumed wireless access point = base
station. Yes, I'm sending traffic from a wired FreeBSD
machine to a wireless Linux box via a base station.
 
 It may be the case that you want to bridge or NAT a
 wireless subnet onto your 
 LAN, but you should consult your basestation's docs
 for how to do that; FreeBSD 
 would use nothing but normal TCP/IP routing to the
 basestation.

Please correct me if I'm wrong... FreeBSD 4.3 doesn't
care what type of base station I use, as long as I can
configure the base station to make them see each
other?
'Cause that's my real problem, as we only have
relatively new base stations in the lab, and I don't
know if 4.3 will work with them. If they won't then
should I start scrounging about for older base
stations?

Again, thanks in advance,
Jamie





Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >