cpio misunderstanding?

2010-12-24 Thread Joe Kraft
Let me state a couple of given's up front:
1) I would post this on a FreeSBIE list if I could find one.
2) I think the issue I have right now is not understanding completely the 
limitations of cpio.

My problem is that when building the file system to use for making the iso 
cpio fails when copying some of the files saying Operation not permitted.  
These are some of the files fairly important to the operating system like 
libexec/ld-elf.so.1 and lib/libc.so.7.

I don't see any reason for copying the other 16,540 files and failing on 
these 22 important files.  

Can anyone point me in the right direction for a better understanding of 
what's going on, or even just call me an idiot and tell me the simple thing 
I've missed?  Either will be appreciated.

Joe.


Details
I'm using 8.1-STABLE FreeBSD 8.1-STABLE #2, and freesbie-2.0.20070710 from 
ports.  I've updated the kernel conf file to match GENERIC, with the 
following lines from the original FreeSBIE kernel added at the end:
   device   bktr
   options  IPFIREWALL
   options  IPFIREWALL_VERBOSE
   options  IPFIREWALL_DEFAULT_TO_ACCEPT
   device   pf
   device   pflog
   device   pfsync
   options  IPSTEALTH
   options  IPDIVERT
   options  GEOM_UZIP
   options  GEOM_LABEL
   options  VESA
   options  SC_PIXEL_MODE

The system seems to build fine but hits a snag in this section of the 
script:
# If FILE_LIST isn't defined...
if [ -z ${FILE_LIST:-} ]; then
# then copy the whole filesystem
find . -print -depth | cpio -dump -l -v ${CLONEDIR}  ${LOGFILE} 
21
else
# else pass it to cpio
... more code to dump filenames from ${FILE_LIST} to cpio ...
fi


If I try to run it manually on one of the files that fails, I get this:

slug# echo /usr/local/freesbie-fs/libexec/ld-elf.so.1 | cpio -dump -l -v 
/usr/local/freesbie-clone

/usr/local/freesbie-clone/usr/local/freesbie-fs/libexec/ld-elf.so.1

cpio: Can't create '/usr/local/freesbie-clone/usr/local/freesbie-
fs/libexec/ld-elf.so.1': Operation not permitted
0 blocks


I can use cp to copy the file, so I don't understand what's going on here.  
Does anyone have any ideas?  

/Details

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


Re: cpio misunderstanding?

2010-12-24 Thread Joe Kraft
Pegasus Mc Cleaft wrote:

 If I try to run it manually on one of the files that fails, I get this:
 
 slug# echo /usr/local/freesbie-fs/libexec/ld-elf.so.1 | cpio -dump -l
 -v /usr/local/freesbie-clone
 
 /usr/local/freesbie-clone/usr/local/freesbie-fs/libexec/ld-elf.so.1
 
 cpio: Can't create '/usr/local/freesbie-clone/usr/local/freesbie-
 fs/libexec/ld-elf.so.1': Operation not permitted
 0 blocks
 
 
 I can use cp to copy the file, so I don't understand what's going on
 here. Does anyone have any ideas?
 
 I don't know if this is your problem, but whenever I see that Operation
 not permitted error I start to suspect file flags. You might want to
 check for extra flags put on the source file or destination directory and
 see if anything weird had been set on it.
 
 You can look at the flags with the command ls -lao. You may also want
 to do a man chflags and read the manual page there.
 

OK, now I know what's going on.  I just don't know why.  The immutable flag 
was set on all these files, if you clear it cpio will happily copy them to 
the new directory.  I'm guessing it's a change in how the installation 
copies the files with the schg intact, I ran into a discussion about that 
from 2008.  The original FreeSBIE scripts were based on FBSD 6.2 and maybe 
never ran into this issue.

I don't quite get why this works this way though.  I understand the 
immutable flag will keep the file itself from being changed, deleted or 
moved.  But I don't see in any documentation that the immutable flag will 
not allow a file to be copied.  I did note that when using the 'cp' command 
it cleared the immutable bit on the new file instead of keeping it, but at 
least it makes the copy.

Joe.

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


Re: kde/kdm + nsswitch + ldap = nologon

2009-03-08 Thread Joe Kraft

 
 I'd like to duplicate your setup none-the-less to learn.  Can you provide
 all the pam files, showconfig for the openldap and kdm-related port so I
 can run with the same port?
 
 gdm offers pam integration by the description.  I'd be looking at options
 in pam, and making sure the console logins work off pam too to make the
 comparison to apples to apples the same.
 
 Please give me the showconfig from the items above.

Was going to send as an e-mail to keep the gigantic post off the list, but
my mailer went stupid this morning...

OK...we'll start with the server.  Note that while I'm using the SASL
portion of the port, I'm not using any of the SASL type functionality yet.

Just incase you missed the part from the original post... I ran into a bug
report from last summer that appears to still be open with exactly the same
issue (http://www.freebsd.org/cgi/query-pr.cgi?pr=124321).  I get the same
error messages and such, with any luck it's based on misconfiguration of
something.

I hope all of this helps.
Joe.




From the ldap server:
shadow# uname -a
FreeBSD shadow.casa.local 6.3-STABLE FreeBSD 6.3-STABLE #1: Sat Apr  5
14:49:53 EDT 2008 j...@shadow.casa.local:/usr/obj/usr/src/sys/GENERIC  i386

shadow# pkg_info |grep ldap
nss_ldap-1.257  RFC 2307 NSS module
openldap-sasl-client-2.4.11 Open source LDAP client implementation with
SASL2 support
openldap-sasl-server-2.4.11_2 Open source LDAP server implementation
pam_ldap-1.8.4  A pam module for authenticating with LDAP

shadow# cd /usr/ports/net/openldap24-server
shadow# make showconfig
=== The following configuration options are available for
openldap-sasl-server-2.4.11_2:
 SASL=on With (Cyrus) SASL2 support
 DNSSRV=off With Dnssrv backend
 PASSWD=off With Passwd backend
 PERL=off With Perl backend
 RELAY=off With Relay backend
 SHELL=off With Shell backend (disables threading)
 SOCK=off With Sock backend
 ODBC=off With SQL backend
 RLOOKUPS=off With reverse lookups of client hostnames
 SLP=off With SLPv2 (RFC 2608) support
 SLAPI=off With Netscape SLAPI plugin API
 TCP_WRAPPERS=on With tcp wrapper support
 BDB=on With BerkeleyDB support
 ACCESSLOG=off With In-Directory Access Logging overlay
 AUDITLOG=off With Audit Logging overlay
 CONSTRAINT=off With Attribute Constraint overlay
 DDS=off Dynamic Directory Services overlay
 DENYOP=off With Deny Operation overlay
 DYNGROUP=off With Dynamic Group overlay
 DYNLIST=off With Dynamic List overlay
 LASTMOD=off With Last Modification overlay
 MEMBEROF=off With Reverse Group Membership overlay
 PPOLICY=off With Password Policy overlay
 PROXYCACHE=off With Proxy Cache overlay
 REFINT=off With Referential Integrity overlay
 RETCODE=off With Return Code testing overlay
 RWM=off With Rewrite/Remap overlay
 SEQMOD=on Sequential Modify overlay
 SYNCPROV=on With Syncrepl Provider overlay
 TRANSLUCENT=off With Translucent Proxy overlay
 UNIQUE=off With attribute Uniqueness overlay
 VALSORT=off With Value Sorting overlay
 SMBPWD=off With Samba Password hashes overlay
 DYNAMIC_BACKENDS=on Build dynamic backends
=== Use 'make config' to modify these settings

shadow# cat slapd.conf
#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include /usr/local/etc/openldap/schema/core.schema
include /usr/local/etc/openldap/schema/cosine.schema
include /usr/local/etc/openldap/schema/inetorgperson.schema
include /usr/local/etc/openldap/schema/nis.schema
include /usr/local/etc/openldap/schema/samba.schema

pidfile /var/run/openldap/slapd.pid
argsfile/var/run/openldap/slapd.args

# Load dynamic backend modules:
modulepath  /usr/local/libexec/openldap
moduleload  back_bdb


###
###
## BDB database definitions
###
###

## main part ##
databasebdb
directory   /var/db/openldap-data
suffix dc=casa,dc=local
rootdn cn=Manager,dc=casa,dc=local
rootpw {crypt}PasswordGoesHere

 access control #

access to * by * write

# users can authenticate and change their password
access to
attrs=userPassword,sambaNTPassword,sambaLMPassword,sambaPwdLastSet,sambaPwdMustChange,shadowLastChange,shadowMax
   by dn=cn=samba,ou=DSA,dc=casa,dc=local write
   by dn=cn=smbldap-tools,ou=DSA,dc=casa,dc=local write
   by dn=cn=nssldap,ou=DSA,dc=casa,dc=local write
   by self write
   by anonymous auth
   by * none

# some attributes need to be readable anonymously so that 'id user' can
answer correctly
access to
attrs=objectClass,entry,homeDirectory,uid,uidNumber,gidNumber,memberUid

kde/kdm + nsswitch + ldap = nologon

2009-03-07 Thread Joe Kraft
I'm trying to implement SSO using Samba-3.2.4 with an LDAP backend.  The 
intent is to use ldap directly for FBSD clients and Samba for MS Windows 
clients.


The LDAP server (openldap 2.4.11) is running on a FBSD 6.3 server and is 
setup and seems to be working fine, I can log in locally or through SSH 
using the ldap accounts.


I'm working on the first client which is a FBSD 7.1 machine.  I can use 
ldap to login on this machine, but I'm having issues with logging in 
using kdm.  I can see all the users both from local files and from ldap, 
but I can't log in using either.  Even when kdm won't allow a login, I 
can ctrlaltF8 and get a normal login shell and login with local or 
ldap accounts.  The ldap lines are included in my /etc/pam.d/kde file.


If I remove ldap from the nsswitch.conf file it will start working with 
local logins on kdm again.


I ran into a bug report from last summer that appears to still be open 
with exactly the same issue 
(http://www.freebsd.org/cgi/query-pr.cgi?pr=124321).


Does anyone know a workaround or have a patch for the issue?  I can 
provide config files and such if anyone thinks it might help.


Thanks,
Joe.

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


Re: kde/kdm + nsswitch + ldap = nologon

2009-03-07 Thread Joe Kraft
I guess it's probably worth mentioning that I'm working with KDE 3.5.10
right now.  Is this something likely solved in KDE 4.2 so I've hit my
reason to upgrade?

Joe.

Joe Kraft wrote:

 I'm trying to implement SSO using Samba-3.2.4 with an LDAP backend.  The
 intent is to use ldap directly for FBSD clients and Samba for MS Windows
 clients.
 
 The LDAP server (openldap 2.4.11) is running on a FBSD 6.3 server and is
 setup and seems to be working fine, I can log in locally or through SSH
 using the ldap accounts.
 
 I'm working on the first client which is a FBSD 7.1 machine.  I can use
 ldap to login on this machine, but I'm having issues with logging in
 using kdm.  I can see all the users both from local files and from ldap,
 but I can't log in using either.  Even when kdm won't allow a login, I
 can ctrlaltF8 and get a normal login shell and login with local or
 ldap accounts.  The ldap lines are included in my /etc/pam.d/kde file.
 
 If I remove ldap from the nsswitch.conf file it will start working with
 local logins on kdm again.
 
 I ran into a bug report from last summer that appears to still be open
 with exactly the same issue
 (http://www.freebsd.org/cgi/query-pr.cgi?pr=124321).
 
 Does anyone know a workaround or have a patch for the issue?  I can
 provide config files and such if anyone thinks it might help.
 
 Thanks,
 Joe.


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


Re: kde/kdm + nsswitch + ldap = nologon

2009-03-07 Thread Joe Kraft
Tim Judd wrote:

 On Sat, Mar 7, 2009 at 7:59 AM, Joe Kraft jvk-l...@thekrafts.org wrote:
 
 I'm trying to implement SSO using Samba-3.2.4 with an LDAP backend.  The
 intent is to use ldap directly for FBSD clients and Samba for MS Windows
 clients.

 The LDAP server (openldap 2.4.11) is running on a FBSD 6.3 server and is
 setup and seems to be working fine, I can log in locally or through SSH
 using the ldap accounts.

 I'm working on the first client which is a FBSD 7.1 machine.  I can use
 ldap to login on this machine, but I'm having issues with logging in
 using
 kdm.  I can see all the users both from local files and from ldap, but I
 can't log in using either.  Even when kdm won't allow a login, I can
 ctrlaltF8 and get a normal login shell and login with local or ldap
 accounts.  The ldap lines are included in my /etc/pam.d/kde file.

 If I remove ldap from the nsswitch.conf file it will start working with
 local logins on kdm again.

 I ran into a bug report from last summer that appears to still be open
 with exactly the same issue
 (http://www.freebsd.org/cgi/query-pr.cgi?pr=124321 ).

 Does anyone know a workaround or have a patch for the issue?  I can
 provide config files and such if anyone thinks it might help.

 Thanks,
 Joe.

 
 
 True SSO is accomplished by Kerberos.  Your LDAP implementation is
 re-authenticating/re-authorizing on every service.
 
 I'm by NO means an expert with pam -- it confuses me, but there are some
 basic concepts that I think  there might be missing in your setup.
 
 First question I've got is shouldn't you need to create the rules for kdm
 in a file called 'kdm' in pam?
 
 Second is that some options/arguments that pam can use such as
 USE_FIRST_PASS would probably help you here.
 
 Third is whether the sufficient/required column in the pam file is there.
 
 Now we have to deal weather kdm uses pam or nsswitch.  And if it uses
 nsswitch, then we have to go through all that troubleshooting all over
 again.  Or maybe it doesn't even have any concept to use alternate auth
 mechanisms other than just the local files...
 
 
 
 I'm only providing an insight to something your eyes may have overlooked.
 
 I hope this triggers something to get it working.  G'luck


Thanks for the thoughts, I had Kerberos set up once when I was going the
other way...with all clients working through an AD domain.  I'm trying to
go the other way now and get everything working through a Samba Domain.  I
might look into it again in the future once I get the basics working.

I thought maybe I had it when you mentioned creating rules for kdm instead
of kde in pam.  Unfortunately it didn't work.

kdm seems to use nsswitch to get the names, because if I use the
line passwd: files ldap in nsswitch.conf kdm shows me all the ldap users
as well as the local users with their icons down the left side of the login
window.  I just can't use them to login, no matter what I do it tells me my
password is invalid.  I can't even get it to login with a local account
from 'files'.  What I can do is drop to one of the other ttys and use an
accounts with the same password that failed in kdm to login.  I'm using the
same pam file for login as I am for kde (and now kdm).

All I have to do is change the line to passwd: files and I can login again
with the local accounts through kdm again.

Certainly doesn't make sense to me right now...

Joe.

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


Re: Looking for pointer to VPN / IPSEC info

2009-01-13 Thread Joe Kraft
Bill Campbell wrote:

 On Mon, Jan 12, 2009, Joe Kraft wrote:
I have a personal network behind a FreeBSD firewall running IPFW.  It's
been working fine for years, but as I'm getting more mobile in my work I'd
like to be able to access my network while traveling.

At work the problem is solved with an IPSEC VPN client that I run to
connect
to the appropriate server.  As I looked through my normal traveling gear
my laptop (Windows XP Pro) and handheld (iPaq 211) both seem to have IPSEC
clients built in.

Can someone point me to a VPN for dummies documentation so I can set up my
firewall to also provide me an access point for me to connect to my home
network while I'm travelling?
 
 We usually use OpenVPN rather than IPSec as it's generally easier
 to set up, works from roaming systems behind NAT firewalls, and
 there are easy-to-use clients for Windows, OS X, Linux, and
 various other flavors of Unix.  OpenVPN uses user-space SSL, and
 does not require any kernel support.
 
 Bill

Thanks for the pointer, OpenVPN looks great.  I don't see support for
Windows Mobile clients though, I did find a project to build a client but
it didn't seem to be complete though.

Joe.

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


Looking for pointer to VPN / IPSEC info

2009-01-12 Thread Joe Kraft
I have a personal network behind a FreeBSD firewall running IPFW.  It's been
working fine for years, but as I'm getting more mobile in my work I'd like
to be able to access my network while traveling.

At work the problem is solved with an IPSEC VPN client that I run to connect
to the appropriate server.  As I looked through my normal traveling gear my
laptop (Windows XP Pro) and handheld (iPaq 211) both seem to have IPSEC
clients built in.

Can someone point me to a VPN for dummies documentation so I can set up my
firewall to also provide me an access point for me to connect to my home
network while I'm travelling?

I've looked through the handbook, but it seems to only discuss the old KAME
version of IPSEC and also doesn't appear to apply to my situation where the
client will have some random IP address.

I appreciate any pointers to HOWTO documents, books or other references that
might be of use to further my education.

Joe.

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


Re: Experience with genealogy software?

2008-04-09 Thread Joe Kraft

Leslie Jensen wrote:



Joe Kraft skrev:
I'm looking for a web based collaborative geneology software to run on 
FreeBSD.  Does anyone here have an experience with any of the packages 
out there?


I'm looking at PhpGedView, GeneWeb and Poplar.  Any recommendations?

I'm also looking at the info on GRAMPS, but don't see anything to 
provide web based access to a GRAMPS database.


I'm running Gramps and it suits my needs. I found the webbased programs 
to be less intuitive.


You need to export the database if you want to share it.
/Leslie



Thanks for the recommendation.

With the little bit of experimentation from yesterday, I like Gramps 
also.  I guess the perfect solution for what I'd like is to use the 
Gramps database and application locally, but have a web application that 
would access the same database.


It would also be nice to be able to moderate the changes from web users 
kind of like what musicbrains.org does for mp3 tags.


Joe.

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


Experience with genealogy software?

2008-04-07 Thread Joe Kraft
I'm looking for a web based collaborative geneology software to run on 
FreeBSD.  Does anyone here have an experience with any of the packages 
out there?


I'm looking at PhpGedView, GeneWeb and Poplar.  Any recommendations?

I'm also looking at the info on GRAMPS, but don't see anything to 
provide web based access to a GRAMPS database.


Thanks,
Joe.

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


What to backup for named?

2007-04-22 Thread Joe Kraft
After a recent disk failure, I left myself a note to add the DNS/DHCP 
info to my backup.


I have a small, over-engineered for my education, network of 10 
computers in my house.  I run BIND with dynamic zones on my FreeBSD 
server, I also use the DNS service on my Win2k-AD server.  They both are 
designated as slaves for each other.


What do I need to backup?  Are just the configuration files from 
/var/namedb/etc/namedb enough to recreate everything if my FBSD server 
dies?  Or are there some database files I should be keeping also?


I tried googling, but either this is way to easy of a question or I'm 
not looking in the right places.


Thanks for any insight,
Joe.

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


Re: Fetching sources from Windows?

2007-04-07 Thread Joe Kraft

Jerry McAllister wrote:

On Mon, Mar 05, 2007 at 12:45:55PM -0500, frzburn wrote:


Hi!
I have a slow Internet connection at home, and I would like to know if it is
possible to fetch the STABLE sources from somewhere else (ex.: at work).
What I want is to get the latest sources, like described in the handbook (
http://www.ca.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html),
even if it means downloading all of it, since there no way to diff with my
current source...


Basically, that is what I do.  I only have a regular old phone modem at home.
I take my home machine in to the office where I have a reliable 100 Mb/s
and do my installs there.   The only problem is fixing up IPs and host
names.

If I ever get rich and get a laptop with significant disk, I can just
carry that and pull everything down to it and take it home to work
on the desktop machine - or I could get one of those nice big USB drives
and download everything to that.

jerry

I have a computer that's not connected to the internet that I keep up to 
date using CTM.  I've subscribed to one of the ctm-XXX mail list with my 
work address and I just save the messages to a relatively small USB 
memory stick from the windows machine.  Once I have the updates on there 
I bring the stick home and run ctm-rmail and it updates my source tree.


It would have been even easier if I was able to get ftp access to get 
the CTM updates directly without resorting to using e-mail for the transfer.


Setting it up is discussed in the handbook, I've only been doing it for 
a couple of weeks, but it seems to work for me.


Joe.

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


Re: Marvell 88SE61xx

2007-04-04 Thread Joe Kraft

Alexander Anderson wrote:

Thu, Mar 29, 2007 at 10:43:51 PM, Alexander Anderson wrote:

Hello.
I'm installing FreeBSD 6.2-RELEASE on a brand new system with Intel
D975XBX2 board. It seems that FreeBSD does not support the onboard Marvell
88SE6145 SATA controller. Could someone confirm this?

At first, when I tried to boot the installation CD, the loader hung very
early in the process with the message BTX halted. But when I went to the
BIOS and disabled Secondary SATA controller (in Advanced, Peripheral
Configuration), the CD booted and the install began alright.


[snip]


Now that I figured out what was causing the BTX halted error, I'm going
to complete the installation, and then try to enable the Marvell
controller back. Let's see if that works.


No one seems to have replied ...but I'll draw the summary, anyway.

The installation has completed successfully with Marvell 88SE6145 SATA
RAID controller disabled. When I go to BIOS and enable it back, the system
still boots, but dmesg shows no sign of Marvell's presence.

I'm still not sure if the controller is just not configured correctly or
if it is not supported under FreeBSD at all, however, I'm leaning towards
the latter.



I ran into the same problem with my installation on the same mobo.  I 
didn't have to disable the controller or anything, but there needs to be 
a SATA drive connected to port 0 of the controller or SYSINSTALL bombs 
with the BTX halted failure.  I vaguely remember something on this list 
a few months back about that in general, not specifically with this mobo.


I don't remember about the Marvell controller, if it showed up or not. 
It seems it did though, but I might have added something to GENERIC for 
it.  I'm on the road for a while, but if you're still interested I'll 
look when I get home.


Joe Kraft.

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


Re: CTM update from mail

2007-03-27 Thread Joe Kraft


I'm preparing to take a computer on the road with me where I won't 
have direct access to the internet, but will be able to receive e-mail 
on a different computer through a webmail interface.  I intend to keep 
up to date using CTM, and have looked through the handbook but there 
seems to be an important part missing.


I'm trying to figure out how to use updates received in the mail.  The 
updates are split into multiple parts and CTM doesn't seem to process 
them directly.  I can't figure out how to reconstruct the original 
cvs-cur.*.gz file from the parts.




I finally figured this out, so I'll answer my own question in case 
someone as stupid as I happens upon this thread while searching for 
their own answer.


RTFM, ctm_rmail.  It's also mentioned in the handbook, although I swear 
someone added it in the last couple of days because I didn't see it last 
week when I was looking for it.  ;-)


Joe.

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


Re: CTM update from mail

2007-03-23 Thread Joe Kraft
I remember using uuencode and shar to send files through e-mail many 
years ago when BITNET was the thing at school.  This looks somewhat 
similar, but I can't figure out how to put the parts together again.


Partial solutions or guesses will be greatfully accepted at this point, 
they may provide the nudge to get me moving forward on this again.


Thanks,
Joe.

Joe Kraft wrote:
I'm preparing to take a computer on the road with me where I won't have 
direct access to the internet, but will be able to receive e-mail on a 
different computer through a webmail interface.  I intend to keep up to 
date using CTM, and have looked through the handbook but there seems to 
be an important part missing.


I have downloaded the baseline and a few updates through FTP and when I 
have the files (cvs-cur.13214.gz for example) the updating works fine.


I'm trying to figure out how to use updates received in the mail.  The 
updates are split into multiple parts and CTM doesn't seem to process 
them directly.  I can't figure out how to reconstruct the original 
cvs-cur.*.gz file from the parts.


Could someone point me in the right direction?  The handbook mentions 
the ctm-users list, but I've looked through the posts since 2003 and 
there's been very little in the last few years except spam.


Joe Kraft.



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


CTM update from mail

2007-03-21 Thread Joe Kraft
I'm preparing to take a computer on the road with me where I won't have 
direct access to the internet, but will be able to receive e-mail on a 
different computer through a webmail interface.  I intend to keep up to 
date using CTM, and have looked through the handbook but there seems to 
be an important part missing.


I have downloaded the baseline and a few updates through FTP and when I 
have the files (cvs-cur.13214.gz for example) the updating works fine.


I'm trying to figure out how to use updates received in the mail.  The 
updates are split into multiple parts and CTM doesn't seem to process 
them directly.  I can't figure out how to reconstruct the original 
cvs-cur.*.gz file from the parts.


Could someone point me in the right direction?  The handbook mentions 
the ctm-users list, but I've looked through the posts since 2003 and 
there's been very little in the last few years except spam.


Joe Kraft.

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


Dealing with ipcheck output

2005-11-10 Thread Joe Kraft
I'm running ipcheck as a cron job, it runs fine and seems to keep my 
address updated with dyndns.com but I'm trying to figure out how to deal 
with the e-mails I get from cron.


I would prefer to not get the ones that don't show anything abnormal, 
but keep the ones that show something else like a change in IP, or a 
failure.


I don't know python at all, so I don't understand where the return comes 
from, but it outputs a '0' on the first line and a set of empty brackets 
'[]' on the second line.


Joe

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


vr0 up, but doesn't pass data

2005-10-01 Thread Joe Kraft
I have 5.3-RELEASE with a GENERIC kernel running on a new (old) Mach 
Speed V600DAP motherboard which uses the VIA KT600 Northbridge and VIA 
VT8237 Southbridge chipsets.  It has an onboard NIC which is detected as 
vr0.  It appears to ifconfig to be working, but doesn't seem to pass any 
data.  No DHCP, ping, nslookup etc.


I haven't been able to find anything like this on google or searching 
past postings.  I'm beginning to wonder if it's just not supposed to 
work.  As I was typing this I realized I didn't have 5.4 loaded on this 
machine, so I'll try that tomorrow.  If anyone has run across this 
problem with this motherboard or chipsets I would appreciate any 
pointers you could give.


Thanks,
Joe.



--
vr0: VIA VT6102 Rhine II 10/100BaseTX port 0xe400-0xe4ff mem 
0xee001000-0xee0010ff irq 23 at device 18.0 on pci0

miibus0: MII bus on vr0
ukphy0: Generic IEEE 802.3u media interface on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr0: Ethernet address: 00:30:18:b0:67:2a
--

The ifconfig shows it up and active, which is corroborated by the 
associated lights on the switch and the NIC.  If you unplug the wire the 
status changes to inactive just like you would expect it to.

--
ifconfig vr0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 10.0.0.103 netmask 0xff00 broadcast 10.0.0.255
inet6 fe80::230:18ff:feb0:672a%vr0 prefixlen 64 scopeid 0x1
ether 00:30:18:b0:67:2a
media: Ethernet autoselect (100baseTX full-duplex)
status: active
--

I've tried swapping out cables, switches and using different ports.  I'm 
convinced that none of those are contributing to the problem.  If the 
full dmesg or kernel config would help they are attached.
Script started on Fri Sep 30 21:46:45 2005
shadow# ifconfig 
vr0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 10.0.0.103 netmask 0xff00 broadcast 10.0.0.255
inet6 fe80::230:18ff:feb0:672a%vr0 prefixlen 64 scopeid 0x1 
ether 00:30:18:b0:67:2a
media: Ethernet autoselect (100baseTX full-duplex)
status: active
plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST mtu 1500
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet 127.0.0.1 netmask 0xff00 
inet6 ::1 prefixlen 128 
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 


shadow# dmesg -a 
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.3-RELEASE #0: Fri Nov  5 04:19:18 UTC 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) XP 2900+ (1999.78-MHz 686-class CPU)
  Origin = AuthenticAMD  Id = 0x6a0  Stepping = 0
  
Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
  AMD Features=0xc040AMIE,DSP,3DNow!
real memory  = 536805376 (511 MB)
avail memory = 515629056 (491 MB)
ACPI APIC Table: KT600  AWRDACPI
ioapic0 Version 0.3 irqs 0-23 on motherboard
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: KT600 AWRDACPI on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x4008-0x400b on acpi0
cpu0: ACPI CPU (3 Cx states) on acpi0
acpi_tz0: Thermal Zone on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 
0x5000-0x500f,0x4080-0x40ff,0x4000-0x407f,0xcf8-0xcff on acpi0
ACPI link \\_SB_.PCI0.ALKA has invalid initial irq 15, ignoring
pci0: ACPI PCI bus on pcib0
agp0: VIA 8377 (Apollo KT400/KT400A/KT600) host to PCI bridge mem 
0xe800-0xebff at device 0.0 on pci0
pcib1: PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
pci1: display, VGA at device 0.0 (no driver attached)
atapci0: VIA 8237 UDMA133 controller port 
0xd000-0xd00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 15.0 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
uhci0: VIA 83C572 USB controller port 0xd400-0xd41f irq 21 at device 16.0 on 
pci0
uhci0: [GIANT-LOCKED]
usb0: VIA 83C572 USB controller on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: VIA 83C572 USB controller port 0xd800-0xd81f irq 21 at device 16.1 on 
pci0
uhci1: [GIANT-LOCKED]
usb1: VIA 83C572 USB controller on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: VIA 83C572 USB controller port 0xdc00-0xdc1f irq 21 at device 16.2 on 
pci0
uhci2: [GIANT-LOCKED]
usb2: VIA 83C572 USB controller on uhci2
usb2: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: VIA 83C572 USB controller port 0xe000-0xe01f irq 21 at device 

Re: Booting FreeBSD-5.3 from NTLDR

2005-01-31 Thread Joe Kraft
Joe Kraft wrote:
Rakhesh Sasidharan wrote:
I'm doing it with Win2k, I haven't tried it yet with XP though.  And 
I'll preface this, with I'm doing this from memory because I can't find 
the web page they originally came from.
Shame on me for taking a stab at this one without confirming what I was 
saying, and confusing the whole problem with one *little* character.  :-)

When you've got FBSD running, save a copy of /boot/boot0 somewhere you 
will be able to get to it from Windows.
This should have said boot1, for all the reasons mentioned in the rest 
of the thread and in the handbook.  Sorry,

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


Re: Booting FreeBSD-5.3 from NTLDR

2005-01-30 Thread Joe Kraft
Rakhesh Sasidharan wrote:
I didnt see a copy of this mail returned to me, so am sure if it has
reached the list. Since I just subscribed, its possible something is
wrong -- and so am resending it.
Sorry for the inconv. :)) 

On Sun, 30 Jan 2005 10:47:41 +0400, Rakhesh Sasidharan
[EMAIL PROTECTED] wrote:
Hi,
Are there any issues in booting FreeBSD using NTLDR? My machine has
Windows XP, Fedora Core 3, and FreeBSD-5.3, and while I know I can use
GRUB to boot FreeBSD, I want to try booting it using NTLDR. Just for
kicks -- its something I haven't tried so far. :))
My ad0 disk has WinXP (and NTLDR), while ad1 has FreeBSD. I tried the
usual suggestions of extracting the first 512 bytes of /dev/ad1
(using dd) into a file and telling NTLDR to use that file for
booting. But it doesn't work. Then I tried extracting 512 bytes from
other locations like /dev/ad1s1 and /dev/ad1s1a and /dev/ad1s1c,
but to no avail. Finally I even tried copying over copying
/boot/boot1 (and even /boot/boot2 and /boot/loader coz I was at
my wits end) to a file, and telling NTLDR to use that file for booting
-- but again nada! Most of the times I'd get a Boot Error message,
while at other times nothing happens.
Searching around on Google, I found a post to freebsd-stable that asks
the same question
(http://www.mail-archive.com/freebsd-stable@freebsd.org/msg64950.html).
The reply given there was to use this program called BOOTPART (can be
run from Windows, it extracts the bootsector of any partition you
specify, which can then be used to boot into that partition using
NTLDR). Using that program does allow me extract the bootsectors of
the FreeBSD partition, and use that from NTLDR to boot into it -- but
I am still stumped -- how does this program manage to extract the
bootsectors, while dd is not? I've used the dd method to
successfully boot into Fedora Core 3 using NTLDR, so I know it
generally does the job.
Any suggestions folks? Is there some incompatibility thing with NTLDR,
or am I going wrong somewhere?
Thanks,
Rakhesh


I'm doing it with Win2k, I haven't tried it yet with XP though.  And 
I'll preface this, with I'm doing this from memory because I can't find 
the web page they originally came from.

I had Win2k set up already with an empty partition for FBSD.  A fresh 
backup of the windows part, and the magic recovery disk may ease 
concerns of trashing what you have, but I like to live dangerously so I 
didn't have them.

Boot the FBSD install CD and install, when you're setting up the 
partition I've tried to get the installer to leave the boot loader 
alone, but NTLDR gets clobbered every time.

When you've got FBSD running, save a copy of /boot/boot0 somewhere you 
will be able to get to it from Windows.

Now you've bot FBSD but not windows, now go back to your Win2k install 
CD and repair your current installation, all you should have do do is 
the 'inspect boot files part.

Once windows restarts, as administrator you need to edit boot.ini to 
add an entry for FBSD.  Mine looks like (the last line wrapped, but 
should be a single line):

[EMAIL PROTECTED] mnt]# cat boot.ini
[boot loader]
timeout=10
default=C:\freebsd.boot
[operating systems]
C:\freebsd.boot=FreeBSD
multi(0)disk(0)rdisk(0)partition(1)\WINNT=Microsoft Windows 2000 
Professional /fastdetect

Then copy the boot0 file to C: drive (I called it freebsd.boot). 
Restart the computer and you should have two choices in the list and you 
can choose to boot windows or FBSD.

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


Re: ipmon writes to security.* in 5.3

2005-01-30 Thread Joe Kraft
Joe Kraft wrote:
I have a 5.3-STABLE machine with ipfilter built into the kernel.  When 
running ipmon logging to syslog, the information is being dumped to the 
security.* service instead of the local0.* service like the handbook 
says it should.

OK I'm feeling a stupid, only a little though...because the info in the 
handbook doesn't match the reality (given in the manpage) WRT the 
facility name used by ipmon.

The handbook 
(http://www4.pt.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls-ipf.html) 
says:
24.5.7 IPMON Logging
Syslogd uses its own special method for segregation of log data. It uses 
special groupings called ``facility'' and ``level''. IPMON in -Ds mode 
uses local0 as the ``facility'' name. All IPMON logged data goes to 
local0. The following levels can be used to further segregate the logged 
data if desired:

The ipmon(8) manpage says:
-s Packet  information  read in will be sent through syslogd rather 
than saved to a file.  The default facility  when  compiled  and 
installed is security.  The following levels are used:

-
So now I have two more questions.
First, what is the best way to go about getting this fixed so noone else 
makes the same mistake I did?  A simple post somewhere explaining what's 
incorrect, or do I need to create a diff and upload it somewhere?

Second, what else uses the security syslog facility?  Is my security log 
going to have other things than just my firewall logs that I will now 
have to go digging for?

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


ipmon writes to security.* in 5.3

2005-01-29 Thread Joe Kraft
I have a 5.3-STABLE machine with ipfilter built into the kernel.  When 
running ipmon logging to syslog, the information is being dumped to the 
security.* service instead of the local0.* service like the handbook 
says it should.

I've taken a quick look at the code and it appears it should be going to 
local0.* like expected and like it did for me on 4.10, but it's not.

I see the following in UPDATE:
20041003:
The pfil API has gained an additional argument to pass an inpcb.
You should rebuild all pfil consuming modules: ipfw, ipfilter
and pf.
but I don't think that should affect me since I installed 5.3-RELEASE 
and have rebuilt to the current (two weeks ago) 5.3-STABLE.

Does anyone have any recommendations?  Pointers to blatantly obvious 
documentation are perfectly acceptable, if warranted.

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


Re: Problems logging w/ IPF on FreeBSD 5.3-STABLE

2005-01-28 Thread Joe Kraft
Nelis Lamprecht wrote:
On Mon, 29 Nov 2004 18:28:06 -0800, FMorales [EMAIL PROTECTED] wrote:

bash-2.05b$ cat /etc/rc.conf | grep ip
ipfilter_enable=YES
ipfilter_rules=/etc/ipf.rules
ipmon_enable=YES
ipmon_flags=-Ds

change the above to read something along the lines of:
ipmon_flags=-Dn /var/log/ipfilter.log
remove the s in other words and put in the path to your log file to
output the data.
I have the same problem with my logs in 5.3, but I would like them to 
run through syslogd because I would like them written to another machine 
also.  The same syslog.conf worked find on 4.10.

The following /etc/syslog.conf results in firewall logs going to 
messages and security but not firewall.log and not remotely to kara.

local0.*/var/log/firewall.log
*.err;kern.debug;auth.notice;mail.crit  /dev/console
*.notice;authpriv.none;kern.debug;local0.none;lpr.info;mail.crit;news.err 
  /var/log/messages
security.*  /var/log/security
auth.info;authpriv.info /var/log/auth.log
mail.info   /var/log/maillog
lpr.info/var/log/lpd-errs
ftp.info/var/log/xferlog
cron.*  /var/log/cron
*.=debug/var/log/debug.log
*.emerg *

local0.*@kara
If I give the command 'logger -p local0.notice where does this go ' 
the log goes to the local and remote machines.

What am I missing?  Did ipmon start forwarding to a different service?
Joe.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


mbmon with Tyan 2510

2005-01-23 Thread Joe Kraft
Has anyone used the sysutils/xmbmon port to get status from the Tyan 
S2510 motherboard?  I'm using FBSD 5.3.

mbmon seems to detect the system monitor chip and read it OK, but it 
doesn't report everything.

I'm only receiving one temperature value and two fan speeds.  The 
temperature appears to be the case temp. The fan speed is from one of 
the CPUs and the other from one of the case fans.

[EMAIL PROTECTED] joe]$ mbmon -d
Using SMBus access method[ServerWorks(ServerSet Chipset)]!!
* Nat.Semi.Con. Chip LM80 found.
[EMAIL PROTECTED] joe]$ mbmon
Temp.= 24.3,  0.0,  0.0; Rot.= 7031, 3443,0
Vcore = 1.46, 2.79; Volt. = 3.44, 2.90,  0.63,  -0.10, -0.00
Any help you can provide to help me figure this out would be appreciated.
Joe.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sendmail: host name lookup failure

2005-01-20 Thread Joe Kraft
Paul A. Hoadley wrote:
On Mon, Dec 20, 2004 at 10:54:42PM +1030, Paul A. Hoadley wrote:
I am told it's running Windows 2000 DNS Server.  Presumably that's
Microsoft's own DNS implementation built into Windows 2000.

(By 'sometimes' I don't mean it's non-deterministic.  Every time
sendmail asks for the  record of an unqualified hostname, the
nameserver responds with SERVFAIL.)
The consequence of this is that sendmail repeatedly defers delivery
until the mail expires.

Curiously, sendmail's WorkAroundBroken option did not help, and
I don't know why.  Daryl Tester suggested using a mailertable entry,
and this worked.

I still don't know why WorkAroundBroken isn't working in this
case.

  I'm running into the exact same problem.  My dns is a Win2k server, 
the mail server is FBSD5.3 called kara.home.local.  The dig to 
kara.home.local works fine, but to kara fails.

have you found out any more about why it's not working?  I'm also 
curious about the entry in mailertable because my feeble attempt didn't 
work.

I appreciate any info you can pass on.
Thanks,
Joe.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Build maildrop from port

2004-11-07 Thread Joe Kraft
I'm trying to install maildrop from ports.  It will build and install
fine when doing the default build, but I want to include the userdb
support.  When I build with the WITH_USERDB=yes WITH_GDBM=yes knobs, it
seems to build OK but then won't install.  It gives this error:

/bin/sh ./mkinstalldirs /usr/local/bin
/bin/sh ./mkinstalldirs /usr/local/bin
install  -o root -g wheel -m 555 makedat/makedat /usr/local/bin/makedat
install: /usr/local/bin/makedat: Too many levels of symbolic links
*** Error code 71

Stop in /usr/ports/mail/maildrop/work/maildrop-1.6.3.
*** Error code 1

I've tried updating ports and rebuilding, I've also tried rebuilding all
dependancies. 

Can anyone point me down the right path for this one?

Appreciate the help,
Joe.


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


Re: Parental Controls

2004-10-22 Thread Joe Kraft

Joe Kraft wrote:
For me it meets the overall monitoring requirement, but so burdensome as 
to make e-mail a pain for them.  
Sorry, missed a word here.  I meant ..., but NOT so burdensome...
Joe.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Parental Controls

2004-10-21 Thread Joe Kraft

Geert Hendrickx wrote:
On Sun, Oct 10, 2004 at 01:42:26AM -0700, Ted Mittelstaedt wrote:

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Joe Kraft
Sent: Saturday, October 09, 2004 11:40 PM
To: [EMAIL PROTECTED]
Subject: Re: Parental Controls
I believe this road is the way to go, I'm using postfix so if this exact 
solution doesn't work there is certainly a similar one.

Yeah, ok, right.
When you can get postfix to do this, let us know how you did it.
Ted

In postfix's main.cf, set always_bcc = [EMAIL PROTECTED]
It forwards all incoming and outgoing mail to the address specified.  

GH
OK, so what I did is similar to what Geert recommended.  While I was 
looking up always_bcc, I found the sender_bcc_map and receiver_bcc_map, 
using the two of those I can specify which accounts to apply that for 
instead of blindly applying it to the whole site.

After I had that working, being one to not leave well enough alone, I 
set up up a virtual mail address to log these mails and allow us to 
review them and delete them.

For me it meets the overall monitoring requirement, but so burdensome as 
to make e-mail a pain for them.  Thinking this through and speculating a 
bit, I could come up with a solution similar to the milter which puts 
stuff into a logfile by defining a transport that does that in the 
master.cf file.

Thanks guys for pointing me in the right direction.
Joe.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Parental Controls

2004-10-09 Thread Joe Kraft
I'm looking for some type of parental control that would allow easy 
screening of e-mail coming in and out for my kids.

I'm thinking of something where all inbound and outbound communications 
would need to be approved before being sent.  Maybe it could be as easy 
as having postfix deliver me a copy of what they're sending.

From what I've seen, this is a question that tends to drift off topic 
quickly.  Please only technical replies, no philosophical, first 
amendment, parenting type replies.

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


Re: Installing ports

2004-08-24 Thread Joe Kraft
Florian Hengstberger wrote:
fetch time out
It seemed to me that the mirror servers are not uptodate or that
some filenames have changed in the meantime, because fetching data
from ftp-servers worked a few times. 
But in nearly all cases I had to copy the files manually in
/usr/ports/distfiles as make install finally suggested.
I had similar problems and it took me a while to figure it out.  The 
FTPs that worked for me were the ones I manually started, not the ones 
done by the ports makefiles.  I'm accessing through a firewall and it 
seems that when ftp is used there it doesn't automagically try to use 
passive mode.  I needed to add FTP_PASSIVE_MODE=YES to my environment 
variables.  I don't remember exactly where it went though.

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


Re: sendmail from 4.10-STABLE firewall

2004-08-24 Thread Joe Kraft

Chuck Swiger wrote:
Joe Kraft wrote:
I'm using a 4.10-STABLE based firewall, which is happily chugging 
along. It's sending it's daily messages to a local account via 
sendmail, which I check by logging in using an ssh connection.
[ ... ]
3) Is there a way to convince sendmail to send to something like 
[EMAIL PROTECTED]  I could just put that in my existing aliases file and 
not have to install anything more.

The key part of your request is answered by using IP addrs in square 
brackets, which will not require DNS MX or A lookups.  So, add something 
like:

[EMAIL PROTECTED]
...to the ~/.forward file of root or wherever the mail is going to now.  
Yes, you could put this in the aliases, or even use a mailertable to 
redirect all local mail to the other system.

I tried doing it that way and it wouldn't go out either.  I wound up 
adding the 10.0.0.55 server to /etc/hosts and letting sendmail do it's 
lookup there.  I never convinced sendmail to send to to the user foo on 
the 10.0.0.55 server, is that supposed to be possible?

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


sendmail from 4.10-STABLE firewall

2004-08-22 Thread Joe Kraft
I'm using a 4.10-STABLE based firewall, which is happily chugging along. 
 It's sending it's daily messages to a local account via sendmail, 
which I check by logging in using an ssh connection.

I would like to have it send those mails to another mail server behind 
the firewall, but I'm curious recommendations for the best way to do 
that.  I've looked at a couple of different ways:

1) Add the local domain DNS to it's list so it can find the IP of the 
local mail server.  It seems like this would decrease the security of 
the firewall a bit.

2) The handbook has a section about setting up to send only using the 
mail/ssmtp port.  This looks like my local mailer needs to resolve 
somehow (/etc/hosts??) on my firewall

3) Is there a way to convince sendmail to send to something like 
[EMAIL PROTECTED]  I could just put that in my existing aliases file and 
not have to install anything more.

4) Better options??
I appreciate recommendations you can provide or any pointers to existing 
information to help me figure out the best solution.

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


Re: Mouse problems with KVM switch

2004-08-20 Thread Joe Kraft
For what it's worth, I have a cheap 4 port KVM which works fine (scroll 
wheel and all) with Win2k, FBSD 4.10, FBSD5.2 etc.  As long as I use a 
PS2 mouse, if I use a converter on either end it none of the machines 
recognize the mouse in varying degrees of failure.

My KVM is marked PS-104 on the front, but I can't see any visible 
brand names its buried so I can't dig it out.  It supports hotkeys, and 
works fine with PS2 keyboards/mice.  It fails if you attach a USB mouse 
with a USB/PS2 converter, or if you use a PS2/USB converter to attach it 
to a USB port on the PC.

I've just resigned myself to use a PS2 mouse with my KVM, and hoping it 
doesn't break.

Joe.

Mattias Björk wrote:
Hi,
Jay O'Brien wrote:
I had the same problems with a 4-port KVM.
I am using a 2-port KVM successfully between an XP box and a FreeBSD 
4.10 box.  I've found that the scroll wheel doesn't work after 
switching back to Windows unless I also reset the KVM (Scroll Lock 
twice + End), but that's not a big deal. 

I have tryed to reset/rescan but it does not seem to help or even work. 
But I will try it out. It says for Auto Scan:

To start Auto Scan automatically scans all ports one by one at a fixed 
interval:

left Ctrl + left Ctrl + F1
But that does not help or even work, but perhaps im doing something 
wrong. Manual scan is the same but F2 instead of F1.

Perhaps the problem is the mouse, Im using a Logitech Click! optical 
mouse. I have also tried my trackball Marbel Mouse and both are USB 
with a PS/2 converter. Perhaps that is the problem, but then again I 
have tryed a none mouse as well. But still that did not solve the problem.

Here's the 2-port KVM switch:
http://airlinkplus.com/kvm/akvm2.htm
It's available at Fry's:
http://shop1.outpost.com/product/3891817
Jay O'Brien
Rio Linda, CA USA

I live in sweden so I have to find a shop here in sweden. But I will 
solve this problem some how. Thanks for the reply anyway.


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

Thanks for the help/answer
Mvh Mattias Björk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

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


Building KSambaPlugin Port question pt2

2004-03-30 Thread Joe Kraft
I don't know if it helps but I figured out that it doesn't freeze with the
command line:
kcmshell --nocrashhandler kcmsambaconf

Can anyone give me a nudge in the right direction?

Joe.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Joe Kraft
 Sent: Saturday, March 13, 2004 10:32
 To: [EMAIL PROTECTED]
 Subject: KSambaPlugin question


 I've been looking at the KSambaPlugin and am interested in it. I noticed
  there used to be a port for this KControl plugin, but it appears to not
  have been updated and was removed.  I figured it's as good of a place as
  any to start digging into FreeBSD, but I've run into a problem with it.

  I've made the changes to the port files and it configures and 
 builds fine,
  but it won't run.  I'm new with programming on FreeBSD, so forgive me if
  this is an easy problem to solve...

  I'm using KDE 3.2, Samba 3.0.1, FreeBSD 5.2, and ksambaplugin 0.5.  
    kde-3.2.0   The meta-port for KDE
    kdebase-3.2.0_1 Basic applications for the KDE system
    kdelibs-3.2.0   Base set of libraries needed by KDE programs
    samba-3.0.1_2,1 A free SMB and CIFS client and server for UNIX
    samba-libsmbclient-3.0.1 The shared lib from the samba packages

  The compile is relatively clean, only a few messages about 
 unused variables
  and arguments and a couple about using some print headers which are
  supposed to be for internal KDE use.  No errors though.

  What is happening is that the plugin is freezing when it's called.  I've
  tracked it down to the external process call (testParam.start), 
 which never
  returns.  Here's the relevant code parts:

  --- start code ---
    KProcess testParam;
    testParam  testparm;
    testParam  -V;
    _parmOutput = QString();
    _sambaVersion = 2;

    connect( testParam, SIGNAL(receivedStdout(KProcess*,char*,int)),
    this, SLOT(testParmStdOutReceived(KProcess*,char*,int)));

  =if (testParam.start(KProcess::Block,KProcess::Stdout)) {
  if (_parmOutput.find(3)  -1)
    _sambaVersion = 3;
    } 
  --- end code ---
  --- more code ---
    void SambaFile::testParmStdOutReceived(KProcess *, char *buffer, int
  buflen)
    {
  _parmOutput+=QString::fromLatin1(buffer,buflen);
    }
  --- end more code ---

  I can run the 'testparm -V' from a shell to get the samba 
 version, but the
  response seems to get lost here.  Is there anything that should be
  different in this snippet of code?  It appears the plugin has only been
  tested in Linux; so, is there a common problem I'm running into here. 
  Pointers to any additional documentation I should read would be
  appreciated.

  Thanks,
  Joe.

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

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