Re: How to make sendmail listen on an address other than the loopback

2007-12-28 Thread Andrew Falanga
On Friday 28 December 2007 11:24:50 Derek Ragona wrote:
> At 11:33 AM 12/28/2007, Andrew Falanga wrote:
> >Hi,
> >
> >I'm trying to get an e-mail system working for my church
> >(whitneybaptist.org).
> >I've added a file called local-host-names in /etc/mail as described in the
> >Handbook, then did "/etc/rc.d/sendmail restart" and then did "sockstat |
> > grep sendmail" and got the following results:
> >
> >root sendmail   32889 3  tcp4   127.0.0.1:25  *:*
> >root sendmail   32889 4  dgram  -> /var/run/logpriv
> >smmspsendmail   696   3  dgram  -> /var/run/log
> >
> >
> >Now, with the exception of the additional file, nothing has been done to
> > this stock sendmail configuration (system is 6.2-RELEASE-p7).  How would
> > I make sendmail listen on the ip of 192.168.2.23?  I do have some
> > experience with sendmail, however, it was several years ago and I've
> > forgotten quite a bit. Why isn't it listening on that address now?
> >
> >Andy
>
> Take a look at your settings for sendmail in /etc/rc.conf vs
> /etc/default/rc.conf
>
> You need two instances of sendmail running, one for local delivery, another
> for external mail send receive.
>
>  -Derek

Derek,

Thank you.  Interesting that the Handbook didn't mention it.  At least, this 
section didn't mention it and this is what I was looking to:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sendmail.html

Thanks again.  I set "sendmail_enable='YES'" in /etc/rc.conf (per instructions 
to leave alone /etc/defaults/rc.conf) and then did /etc/rc.d/sendmail restart 
and it worked.

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


Re: dovecot questions

2007-12-28 Thread Andrew Falanga
On Wednesday 26 December 2007 16:13:50 Peter Schuller wrote:
>
> Dovecot doesn't really care. You provide the method of obtaining the user
> list from the database, in the form of SQL statements (assuming they differ
> from defaults), and it's up to you to make sure this returns the
> appropriate information (so in other words, dovecot doesn't add users for
> you).
>
> I used to run a pg+dovecot+postfix, but have since moved away from it and I
> don't have the configs easily accessible to check out specifics. But
> googling, this should be useful in terms of providing a bunch of real-world
> configuration examples:
>
>http://www.gjdv.at/snippets/linux/virtual_mail_hosting

Thanks for this link.  I think it will be helpful, though at this point, I'm 
overwhelmed.

>
> > Also, with respect to the configuration file (dovecot.conf) why are there
> > so many passdb/userdb?  If I have passdb sql "turned on", should I "turn
> > off" all other passdb sections?  What is the significance of the userdb
> > static { } section in that file?  It appears that it is necessary for use
> > if using a single user to access several mailboxes (i.e. virtual users
> > which is what I want to implement).  Is this true?
>
> I can't answer each one of the above off hand, but things like uids is
> controlled by the user database that it sounds like you want to keep in
> PostgreSQL. This includes the ability to set the uid/gid, which you can
> have different for each user, the same, or some combination thereof, on a
> per-user basis. Your exact table design is up to you, as long as you can
> give dovecot the appropriate SQL statements for obtaining relevant
> information.

Ok, if I may run this by you, I've made a user id for this virtual mail stuff, 
the virtual mail user is "vmail."  Yes I know, very inventive.  The users 
home directory is /usr/home/vmail, but I'm thinking that what dovecot cares 
about is where mail is stored.  In this case, I'm pretty sure 
it's /var/mail/vmail.  

I've followed the instructions in http://wiki.dovecot.org/AuthDatabase/SQL and 
created the table as defined on this page.  If my understaning is correct, 
this field will contain the entry "/var/mail/vmail," correct?  Further, if 
I'm following, dovecot somehow delivers all mails to this virtual user and 
somehow categorizes them according to the virtual users?  Does this sound 
correct?

I wonder, sometimes attachments get large, if I'm anywhere near correct, I 
wonder if I should use a directory under /usr instead of /var?

>
> > If I'm understanding things correctly, the next, very important item, is
> > how do I setup new users and how would those users then manage things
> > like passwords, etc.?
>
> This is up to you. dovecot does not provide and user interfaces for
> managing accounts (that I am aware of). Typically a reason to have the user
> database in a relational database would be to enable the construction of
> such interfaces, or perhaps use of existing tools. But unless I am missing
> something, user management is beyond the scope of what dovecot itself is
> providing.


Ok, that makes it simpler though some additional work for me coming up with an 
easy way to add people to the list.

Thanks for all the help.

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


How to make sendmail listen on an address other than the loopback

2007-12-28 Thread Andrew Falanga
Hi,

I'm trying to get an e-mail system working for my church (whitneybaptist.org).  
I've added a file called local-host-names in /etc/mail as described in the 
Handbook, then did "/etc/rc.d/sendmail restart" and then did "sockstat | grep 
sendmail" and got the following results:

root sendmail   32889 3  tcp4   127.0.0.1:25  *:*
root sendmail   32889 4  dgram  -> /var/run/logpriv
smmspsendmail   696   3  dgram  -> /var/run/log


Now, with the exception of the additional file, nothing has been done to this 
stock sendmail configuration (system is 6.2-RELEASE-p7).  How would I make 
sendmail listen on the ip of 192.168.2.23?  I do have some experience with 
sendmail, however, it was several years ago and I've forgotten quite a bit.  
Why isn't it listening on that address now?

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


dovecot questions

2007-12-26 Thread Andrew Falanga
Hi,

I'm trying to install and configure Dovecot.  Thanks to the efforts of the 
port maintainer for Dovecot, installation was mindless.  However, 
configuration isn't quite so simple.  There were several in this list that 
suggested the use of Dovecot when I inquired for suggestions as to a good 
POP/IMAP server.

So, I'm hoping that these same folks can offer help in getting me running.  
The WIKI for Dovecot is helpful, but seems to assume much in terms of what 
the reader will understand.  How do I add users to the system?  If I've done 
my work correctly, I've setup my Dovecot system to store virtual users in a 
PostgreSQL database.  However, how do I add users?

Also, with respect to the configuration file (dovecot.conf) why are there so 
many passdb/userdb?  If I have passdb sql "turned on", should I "turn off" 
all other passdb sections?  What is the significance of the userdb static { } 
section in that file?  It appears that it is necessary for use if using a 
single user to access several mailboxes (i.e. virtual users which is what I 
want to implement).  Is this true?

If I'm understanding things correctly, the next, very important item, is how 
do I setup new users and how would those users then manage things like 
passwords, etc.?

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


Re: SSH through port forwarding

2007-12-18 Thread Andrew Falanga
>
>
> Security through obscurity is a poor substitute for security. Port
> scanners
> will eventually find that port also.
>
> Have you checked to see if a firewall is set up that could be blocking the
> port?
>

Not a thorough check, but my father did turn off the firewall system on that
linksys router.  I believe he checked some box that basically opened up
everything.  I'm expecting that it's more likely what someone else said
earlier that the ISP may be blocking it.  I say this for two reasons:

1) When a connection attempt is made, the error I get is a time out not a
refusal to connect.  No pun intended but that smells, or should I say
sniffs, of a firewall.
2) On a different system that I help build here in Boise, I'm getting the
same problem when we set it up at my friends house.

Andy

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


SSH through port forwarding

2007-12-17 Thread Andrew Falanga
Hi,

I'm having a difficult time working with my father to get the port
forwarding working on his Linksys router to forward SSH requests to his
FreeBSD machine at home.  As near as we can figure, it's setup correctly.
In case anyone here uses this router it is WRT54G and details (including a
users manual) can be found at,
http://www.linksys.com/servlet/Satellite?c=L_Product_C2&childpagename=US%2FLayout&pagename=Linksys%2FCommon%2FVisitorWrapper&cid=1149562300349.

Now, I'm in Idaho and he's in NY (which does make things difficult).  Is
there any special tricks to setting up port forwarding for SSH?  Probably
should have checked this first, but I'm going to go look on the handbook
too, just to see.

Andy

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Suggestions please for what POP or IMAP servers to use

2007-12-14 Thread Andrew Falanga
On Dec 13, 2007 10:06 PM, Ted Mittelstaedt <[EMAIL PROTECTED]> wrote:

> > The developer is very adamant about writing dovecot strictly to
> > the letter of the IMAP specification.  He's also discovered many
> > of the popular clients have bugs, and are unable to work (or at
> > least have issues) with an IMAP server that goes purely by the rules.
> >
> > He refused to "break" his software to work around bugs on the
> > client side, but ultimately compromised by writing in
> > work-arounds that you can enable in the config file.  You can
> > enable them all if you like.
> >
>
> Which is a really dumb attitude since the dovecot developer was
> not the author of the IMAP standard and probably was in diapers
> when the standard was first written:


I agree with your sentiment that, "who can use a server that no client can
connect to?"  However, that being said, why write a standard you don't
intend to adhere too?  It's a crying shame that folks write standards for
things like IMAP and e-mail client providers don't follow them.  I wished
more people were like this fellow who writes Dovecot!  If more people were
strict about server interfaces, then perhaps more vendors would write their
code to the standard instead of those who write the standards enabling poor
compliance by "dumbing" down their servers.

Ok, I'm off my soap box.

Andy
-- 
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Suggestions please for what POP or IMAP servers to use

2007-12-13 Thread Andrew Falanga
On Dec 13, 2007 9:27 AM, Monah Baki <[EMAIL PROTECTED]> wrote:

> I'll 3rd it too, been using it for 2 years, amazing.
>
>
> > Daniel Bye wrote:
> >>> with sendmail for the MTA, but I've not used any servers that will
> >>> allow for
> >>> POP and IMAP.  What in the ports would be good suggestions from those
> >>> here
> >>> who've used them?
> >>
> >> dovecot is excellent - easy setup, stable and reliable, provides IMAP
> >
> > I'll 2nd Dovecot.  Been running it for IMAP for 3 years or more. See
> > ports/mail/dovecot and www.dovecot.org
>

sounds like everyone is sold on dovecot.  Great!.  I've a few questions.  I
went and looked it up on freshports.org and found the main web site.  Can
anyone explain to me what problems they have with mail clients attaching?
See http://wiki.dovecot.org/Clients .  This shows some interesting problems
and I'd like to know if everyone using dovecot sees these problems.

Second, how do programs like dovecot manage users?  Does each user of the
e-mail system need to be a user of the FreeBSD system (installed locally)?

Thanks,
Andy


-- 
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Suggestions please for what POP or IMAP servers to use

2007-12-12 Thread Andrew Falanga
Hi,

I'm working on setting up a server for both WWW and e-mail.  We're using
apache 2.2 w/PHP support (for phpWebSite) and for e-mail I'd like to stay
with sendmail for the MTA, but I've not used any servers that will allow for
POP and IMAP.  What in the ports would be good suggestions from those here
who've used them?

thanks,
Andy

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Having problems burning a DVD

2007-11-24 Thread Andrew Falanga
Ok, I've made copies of the DVDs I want to burn.  I used the technique
described in this thread, "duplicating a dvd video" started by a "Dave" back
in July.  Basically, the technique is nothing more than a copy of the disk,
"cp /dev/acd0 /path/to/*.iso."

I'm going off of the instructions in the Handbook for burning DVD video's
and such.  The dvd utilities were already installed so I didn't have to
worry about that.  I added the line, hw.ata.atapi_dma="1" as described in
the handbook.  Rebooted and I'm still getting this error when I use the
command growisofs -Z /dev/acd0 -dvd-video /usr/local/dvds/whereisGod1.iso:

:-( unable to CAMGETPASSTHRU for /dev/acd0: Inappropriate ioctl for device

>From dmesg, my DVD burner is:
acd0: DVDR  at ata1-master UDMA33

I looked through the list of DVD drives from the handbook and I didn't see
mine listed and therefore take that to mean folks don't usually have
problems with this drive.  So, what am I doing wrong?

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


Re: Socket programming question

2007-11-14 Thread Andrew Falanga
On Nov 14, 2007 4:55 PM, Heiko Wundram (Beenic) <[EMAIL PROTECTED]> wrote:

>
> Sorry to say that, but it doesn't make sense as it's worded. The
> descriptor
> returned by socket(2) is valid if it's >= 0 (that's the API contract for
> the
> socket(2) C function), and remains valid until the program ends (unless
> you
> close the descriptor with close(2) before your program terminates, in
> which
> case the descriptor first becomes invalid [i.e. EBADF], but might be
> reused
> later by another call to socket(2) or open(2), in which case the
> descriptor
> again becomes valid but is associated with another object and possibly
> also
> with another type of object [file/pipe vs. socket]).
>
> That's the API-contract that's specified in POSIX, and to which FreeBSD
> sticks. As an application programmer, you can (and have to) rely on this
> behaviour; any derivation from this is a kernel bug, and should be posted
> as
> a PR.
>
> Generally, the easy way to query whether a descriptor is valid is by
> simply
> calling the respective function you want to execute on it, and if that
> returns errno = EBADF, then you know that the descriptor is invalid. In
> case
> it returns something else, it just tells you that the descriptor is valid,
> but doesn't tell you whether the descriptor is really associated with what
> you think it is. But if you follow the flow of control in the program, you
> should be able to make out where the descriptor is created and how it's
> modified, and thus be able to deduce (under the condition that the kernel
> sticks to POSIX specifications) what the state of the descriptor is at the
> time of usage.
>

Thanks.  Actually, this suggestion of yours I think does answer my
question.  I was thinking that in my testing program, I would be using
something like that after thinking things through.  Thanks again.

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


Socket programming question

2007-11-14 Thread Andrew Falanga
Hi,

My question has to do with how someone would find out if a call to socket(2)
actually produced a socket.  I know that the API works, I've programmed with
it many times, but is there a way to find out if 's' returned by socket(2)
is actually valid in whatever kernel structure it is stored?  I understand
that I may have the process entirely mixed up.  But it seems to me that the
socket is somehow known to the kernel and I should be able to query the
kernel somehow and discover if it is valid.

Let me know if my question doesn't make sense as worded and I'll try to
explain myself better.  Another question related to this one, would someone
in this list know where the source code is, in the system source tree, for
the select call?

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


Re: Botched X.org upgrade, need help

2007-11-10 Thread Andrew Falanga
On Nov 9, 2007 7:00 AM, Adam J Richardson <[EMAIL PROTECTED]> wrote:

> Andrew Falanga wrote:
> Hi Andy,
>
> I botched my 6.9-7.2 upgrade too. It's easy to do even if you follow the
> instructions. Can't remember what the problem was now, certainly it was
> something no one else had, typical. :^) Ah well, all fixed now anyway.
>
> It's easy to botch even a simple install of X. Took me a while to learn
> that you have to install 1) Xorg, 2) mesa-demos, 3) nVidia driver, in
> that order (assuming you want mesa-demos, of course).
>
> Regards,
> Adam J Richardson
>


Thanks.  Unfortunately, I'm using amd64 and the nVidia driver isn't yet
ported (there was a thread on the reason why quite some time ago, it's
something to do with FreeBSD internally).

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


Re: Botched X.org upgrade, need help

2007-11-08 Thread Andrew Falanga
On Nov 8, 2007 8:03 PM, Beech Rintoul <[EMAIL PROTECTED]> wrote:

> From UPDATING:
>
> "If you plan on keeping your current /etc/X11/xorg.conf, make sure you
> change ModulePath to /usr/local/lib/xorg/modules prior to running X."
>
> Otherwise, just move /etc/X11/xorg.conf and restart X you can then add
> in your video configs from the original.
>
> Beech
>
>
Well, that's what I get for not reading down far enough in the Caveats
section.  Thanks for the tip.

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


Re: Botched X.org upgrade, need help

2007-11-08 Thread Andrew Falanga
On Nov 8, 2007 12:37 PM, Warren Block <[EMAIL PROTECTED]> wrote:

> On Thu, 8 Nov 2007, Andrew Falanga wrote:
>
> > Well, at last I think it's botched.  I really was following the
> directions
> > (I have the script file as UPDATING suggests to prove it :-), but the
> > upgrade didn't work as the X server failed to start after I rebooted.
>  I'm
> > hoping some kind person here will know the answer before I e-mail the
> list
> > mentioned in that section of UPDATING.  Anyway, that's basically, what
> > happened.  I have kdm set to start on bootup and it complained that X
> failed
> > to start.
> >
> > When I got to the point of "portupgrade -aP" in the UPDATING section for
> > X.org 6.9 -> 7.2; I decided to go with that command instead of
> "portupgrade
> > -a" thinking that by now, even for amd64, the packages would be
> available.
> > Perhaps a bad assumption.  Anyway, once that completed, the stats
> reported
> > by portupgrade were disconcerting but I thought that it was ok and
> > continued.  portupgrade reported that only 2 packages were porcessed,
> most
> > were ignored with 50 some skipped and 1 failed.
> >
> > I then proceeded to the mergebase.sh script, ran that and when I was
> > satisfied that all was done as expected, I rebooted my machine.  Well,
> > that's when X failed to start.  So, how would I go about correcting this
> > problem?
>
> You'll at least have to do a portupgrade -a to get all the ports that
> still need to be built.
>
> -Warren Block * Rapid City, South Dakota USA
>


I was wondering about that.  Can I do that although I've completed the
instructions for the X.org update?  That is, I've already run that script
they mention at the end and /usr/X11R6 is now a symlink to /usr/local.
Also, I did a pkg_info | grep xorg and it looks like everything was upgraded
to 7.3 ok.

At any rate, here's what the log file said when X.org tried to load.

X.Org X Server 1.4.0
Release Date: 5 September 2007
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 6.2-RELEASE-p7 amd64
Current Operating System: FreeBSD sniper 6.2-RELEASE-p7 FreeBSD
6.2-RELEASE-p7 #1: Sat Sep  8 13:37:08 MDT 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
amd64
Build Date: 08 November 2007  01:09:22AM

Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Nov  8 19:28:38 2007
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "X.org Configured"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Card0"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/X11R6/lib/X11/fonts/CID/" does not exist.
Entry deleted from font path.
(==) Including the default font path
/usr/local/lib/X11/fonts/misc/,/usr/local/lib/X11/fonts/TTF/,/usr/local/lib/X11/fonts/OTF,/usr/local/lib/X11/fonts/Type1/,/usr/local/lib/X11/fonts/100dpi/,/usr/local/lib/X11/fonts/75dpi/.
(**) FontPath set to:
/usr/X11R6/lib/X11/fonts/misc/,
/usr/X11R6/lib/X11/fonts/TTF/,
/usr/X11R6/lib/X11/fonts/Type1/,
/usr/X11R6/lib/X11/fonts/75dpi/,
/usr/X11R6/lib/X11/fonts/100dpi/,
/usr/local/lib/X11/fonts/misc/,
/usr/local/lib/X11/fonts/TTF/,
/usr/local/lib/X11/fonts/OTF,
/usr/local/lib/X11/fonts/Type1/,
/usr/local/lib/X11/fonts/100dpi/,
/usr/local/lib/X11/fonts/75dpi/
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(**) ModulePath set to "/usr/X11R6/lib/modules"
(II) Loader magic: 0x67eda0
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.3
X.Org Video Driver: 2.0
X.Org XInput driver : 2.0
X.Org Server Extension : 0.3
X.Org Font Renderer : 0.5
(II) Loader running on freebsd
(II) LoadModule: "pcidata"
(WW) Warning, couldn't open module pcidata
(II) UnloadModule: "pcidata"
(EE) Failed to load module "pcidata" (module does not exist, 0)

Fatal server error:
Unable to load required base modules, Exiting...


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


Botched X.org upgrade, need help

2007-11-08 Thread Andrew Falanga
Well, at last I think it's botched.  I really was following the directions
(I have the script file as UPDATING suggests to prove it :-), but the
upgrade didn't work as the X server failed to start after I rebooted.  I'm
hoping some kind person here will know the answer before I e-mail the list
mentioned in that section of UPDATING.  Anyway, that's basically, what
happened.  I have kdm set to start on bootup and it complained that X failed
to start.

When I got to the point of "portupgrade -aP" in the UPDATING section for
X.org 6.9 -> 7.2; I decided to go with that command instead of "portupgrade
-a" thinking that by now, even for amd64, the packages would be available.
Perhaps a bad assumption.  Anyway, once that completed, the stats reported
by portupgrade were disconcerting but I thought that it was ok and
continued.  portupgrade reported that only 2 packages were porcessed, most
were ignored with 50 some skipped and 1 failed.

I then proceeded to the mergebase.sh script, ran that and when I was
satisfied that all was done as expected, I rebooted my machine.  Well,
that's when X failed to start.  So, how would I go about correcting this
problem?

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


Re: Where do I find the PERL compatible functions for php

2007-10-03 Thread Andrew Falanga
On 10/2/07, Kevin Kinsey <[EMAIL PROTECTED]> wrote:
>
>
> Actually, it's been "split out" for some time now; you can get
> PCRE support for your pre-existing PHP installation by installing
> ports/devel/php5-pcre.  But, since most users want PHP to support
> many technologies/modules, the general thing to do is to install
> ports/lang/php5-extensions and, in this case, be sure that "pcre"
> is checked during the configure stage (which, I believe, it is
> by default); after that, devel/php5-pcre and several other php5-foo
> ports will be added to your system, and PHP will suddenly grok
> things like XML, SQL, and Perl-compatible regular expressions
> (or at least whatever you enabled).
>
>
One of the irritating things, but also very practical, about Google mail is
that messages I send to this list do not show up in my inbox until someone
responds.  I was actually able to figure this out last night by going to
php.net and searching under the extension categories and found PCRE.  I then
went to freshports.org and found php5-pcre in /usr/ports/devel/php5-pcre.
Once I knew where to find it in the ports, I was able to fix the problem.
This also helped me fix the lack of php5-xml and php5-sessions.

One question I have for the maintainers of these ports and the ports
infrastructure, why are these all listed in different places?

/usr/ports/devel/php5-pcre/
/usr/ports/textproc/php5-xml/
/usr/ports/www/php5-session/

Not that these categories are wrong, or don't make sense, but why wouldn't
they all be lumped under /usr/ports/lang, or /usr/ports/devel or something
like that?

Oh, lastly, once a port has been built, how can one redo the build of that
port with different options selected?

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


Where do I find the PERL compatible functions for php

2007-10-02 Thread Andrew Falanga
Hi,

Installed PHP 5 using the ports collection in preparation for installing
phpWebSite (a CMS system).  When trying to run the setup program (an
index.php) file on the server I get, "*Fatal error*: Call to undefined
function preg_match() in *
/usr/local/www/apache22/data/phpwebsite_1_3_1/setup/index.php* on line *136"
*.  I've found from the php.net web site that this is the PERL compatible
regular expression stuff.  Since it's not there, how would I get it?

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


CMS ideas and suggestions

2007-09-24 Thread Andrew Falanga
Hello everyone,

At the suggestion of someone who responded to my requests for help with
WebGUI, I decided to ask this question here.  What CMS programs would the
community here suggest for use because, to be frank, I'm less than impressed
with WebGUI.  It is for use with my church.  The following are at least some
of the requirements.

1) Most important, it must be completely simple for the computer illiterate
and especially web illiterate to maintain.  Basically, a very simple and
easy to use GUI interface for web site maintenance is a must.

2) Calendaring

3) Username/password authentication to the site for maintenance and upkeep.
Ideally, this system would use OpenSSL or something similar for encrypting
username/password combinations.

4) The capacity for a public and then private side to the church web site.
That is, we'd like the ability to have the "front" end that is available to
the world, e.g. welcome to the church, etc.  Then have an area for church
members to log into that provides greater depth to information access
(perhaps prayer chains, etc.).


They are the must haves for the site, now for the "like to have also" in the
site.

1) Possibly, though probably not a deal breaker if not possible, a system
that would allow a central figure to review changes made by individuals
before being published to the site.

2) Written in PHP.

3) Utilizes PostgreSQL instead of MySQL.

4) Has an integrated (or module available) to allow e-mail access, i.e.
send/receive.

5) If possible, something in the FreeBSD ports collection.


Just a quick review of Content Management Systems from www.freshports.org, I
saw and am interested in comments about tikiwiki.  However, I saw while
looking through Content Management Systems at wikipedia, that there are many
open source, freely available CMS programs to be looked at.  From this site,
I've downloaded and am trying phpWebSite.

Anyone with experience with these systems (CMS, not necessarily tikiwiki,
WebGUI or phpWebSite), your feedback would be greatly appreciated.  Also,
recommendations as to computer "horse" power necessary for these systems
would also be nice.  We're using, what most small churches would probably
use, an older system that was replaced by a laptop for the secretary.  It's
an AMD Duron 700 mHz w/256 mb of RAM.  I'm not planning on running X on this
system, to conserve resources, but should we look into a beefier system at a
later time?

Thanks for any insight into this.

Andy
[image: Close] Read more >>   Options >>
[image: Visit Answers.com] 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: perl configuration question

2007-08-24 Thread Andrew Falanga
On 8/24/07, Nikola Lecic <[EMAIL PROTECTED]> wrote:
> On Thu, 23 Aug 2007 20:40:32 -0600
>
> (3) Maybe you should consider using another CMS software, there is a
> lot of choice, including Perl-based if you prefer that. The most
> important thing is that they are truly ported, so you have just to
> type 'make install' to get running (and optimised) FreeBSD version.
>

Thank you for the great notes!  I'm not necessarily hung up on WebGUI.
 That was a flashy system that appealed to others in the church and
was just their first choice.  I do not believe they would be of the
mind set "WebGUI or nothing!" so what other choices are there?  Your
point above makes me think there are ported CMS packages within the
ports collection?  Is this true?  If so, are they comparable to WebGUI
in capability?

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


Re: perl configuration question

2007-08-24 Thread Andrew Falanga
On 8/23/07, Foo JH <[EMAIL PROTECTED]> wrote:
> Have you tried simply installed Perl from the packages in the FreeBSD
> install CD?
>

Yes, I installed perl from ports.

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


perl configuration question

2007-08-23 Thread Andrew Falanga
Hi,

I'm trying to install WebGUI on a FreeBSD system for my church.
WebGUI uses PERL for its operation.  The program has a test
environment perl script that it tries to run to make sure the
environment can run WebGUI.  On a couple of the perl modules it tries
to install, it bails saying that "make" is no good.

I'm guessing this is because perl is expecting GNU make not BSD make,
and since it's looks for /usr/bin/make, I'm sure it's getting the
wrong version.  I'm pretty much a perl neophyte, having written only
one perl script in my life and that was so pitifully little that it
really wasn't worthy of being called a script; I do not know how to
fix this.  How does one fix the configuration of perl (if this is even
the problem, I'm going to try and see if this is something WebGUI is
trying to use).

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


The Elephant file system

2007-08-16 Thread Andrew Falanga
Hi,

I was doing some research for file systems at work and came across
some semi-technical papers on a file system called elephant.  Since
this paper mentions that the designers first tried their
implementation on FreeBSD 2.2.7, I thought I'd ask here if anyone has
ever heard of this file system.  If so, is this something that is
available in FreeBSD or is this just an interesting academic exercise?
 If this isn't is use, why?  Also, if not in use, is there another
file system (by another name) that does something similar?  This file
system sounds like a great idea.

A link to get the paper I mentioned is here:

http://www.hpl.hp.com/personal/Alistair_Veitch/papers/elephant-hotos/index.html

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


Re: The output of ls

2007-07-27 Thread Andrew Falanga
On 7/27/07, Kris Kennaway <[EMAIL PROTECTED]> wrote:
> On Fri, Jul 27, 2007 at 01:57:54PM -0600, Andrew Falanga wrote:
>
> RTFM ;-)

Ouch!  I deserved that one.  Thanks.  This is really going to hurt (me
that is), but the reason I didn't find it in the manual is because the
manual page I read was on Linux.  Before asking the question here, I
wanted to make sure that FreeBSD's 'ls -lR' worked in the same manner.
 I didn't think to read the manual pages for FreeBSD before posting.

Honestly, yet another reason I've ultimately decided I don't care for
Linux.  The documentation is rather poor compared to FreeBSD.

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


The output of ls

2007-07-27 Thread Andrew Falanga
Hi,

I'm wondering what the output means when one does an "ls -lR".  Here's
some sample output from my home dir:

./programs:
total 900
-rwxr-xr-x  1 afalanga  afalanga5467 Sep 25  2006 4or6
-rw-r--r--  1 afalanga  afalanga 606 Dec 20  2006 abc.cxx
-rwxr-xr-x  1 afalanga  afalanga8436 Dec 20  2006 abs
-rw-r--r--  1 afalanga  afalanga 970 Dec 12  2006 bindtest.c
-rwxr-xr-x  1 afalanga  afalanga5666 Dec 12  2006 bt
-rw-r--r--  1 afalanga  afalanga 654 Jun  5 08:12 filetest.cxx
-rwxr-xr-x  1 afalanga  afalanga5223 Nov 16  2006 foo
-rw-r--r--  1 afalanga  afalanga 397 Nov 16  2006 foo.c
-rw-r--r--  1 afalanga  afalanga 502 May 25 07:20 foo.cxx
-rwxr-xr-x  1 afalanga  afalanga8733 May 25 07:20 foocxx
-rwxr-xr-x  1 afalanga  afalanga9359 Jun  5 08:12 ft
-rw-r--r--  1 afalanga  afalanga 172 Dec 20  2006 negtest.cxx
-rwxr-xr-x  1 afalanga  afalanga6986 Dec 20  2006 nt
-rw-r--r--  1 afalanga  afalanga 100 Nov 16  2006 obj.c
-rw-r--r--  1 afalanga  afalanga 796 Nov 16  2006 obj.o
-rwxr-xr-x  1 afalanga  afalanga6316 May 23 10:43 td
-rw---  1 afalanga  afalanga  327680 May 23 10:22 td.core
-rwxr-xr-x  1 root  afalanga5552 Jul 26  2006 test
-rw-r--r--  1 afalanga  afalanga1267 May 23 10:43 test.c
-rw-r--r--  1 afalanga  afalanga 407 Jan 10  2007 test.cxx
-rwxr-xr-x  1 afalanga  afalanga8760 Jan 10  2007 testc
-rw---  1 afalanga  afalanga  430080 Jan  3  2007 testc.core
-rw-r--r--  1 afalanga  afalanga 100 Jun  5 07:45 testtest.txt
-rw-r--r--  1 afalanga  afalanga 185 Dec 15  2006 timetest.cxx
-rwxr-xr-x  1 afalanga  afalanga7008 Dec 15  2006 tt
-rw-r--r--  1 afalanga  afalanga1142 Sep 25  2006 v6.c
-rw-r--r--  1 afalanga  afalanga  67 Jan  5  2007 willitwork

./scripts:
total 4
-rw-r--r--  1 afalanga  afalanga   970 Oct 12  2006 newtables.sql
-rwxr--r--  1 afalanga  afalanga  1777 Jun  1 10:59 test.tcl


Right underneath the directory that is being probed at that point is a
number, "total X".  What is X referring to?  Is it blocks, bytes,
what?

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


Re: make and gmake on FreeBSD

2007-07-26 Thread Andrew Falanga

On 7/26/07, Dima Sorkin <[EMAIL PROTECTED]> wrote:

Hi.
 I have a FreeBSD 6.2, installed it from the distribution disks, no
changes by me.

There is a "make" and a "gmake" installed on it. They report that they
are the same programm, but in fact they behave completely different.
In fact only "gmake" behaves
like "GNU make" should behave and only with "gmake"
I succeed to build serious projects.

 What happens here ?  What I the "make", where did it come from ?

How do I cause to system "make" behave as "gmake" ?

Thanks, regards,
 Dima.

P.S.  see their output:
[EMAIL PROTECTED] /usr/home/dsorkin]$ make --version
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i386-portbld-freebsd6.2
[EMAIL PROTECTED] /usr/home/dsorkin]$ gmake --version
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.


make is BSD make, gmake is GNU make (hence the reason it behaves like
GNU make :-).  Others from this list can give you a more in-depth
discussion of the differences.  It's odd that you get the same results
as shown above.  BSD make doesn't have a --version option.  I would
suspect you have an alias, or something similar, setup to "link" make
to gmake.

I've used gmake "extensively" for my projects, but never BSD make.  I
believe that BSD make is the version use by many of the ports
packages, and most definitely by the system build environment.  Please
note that many of the ports use gmake as well.

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


Re: Does anyone on this list use WebGUI on FreeBSD

2007-07-05 Thread Andrew Falanga

On 7/4/07, Pieter de Goeje <[EMAIL PROTECTED]> wrote:

[EMAIL PROTECTED]:/usr/ports> make quicksearch name=apreq2
Port:   libapreq2-2.08
Path:   /usr/ports/www/libapreq2
Info:   Generic Apache2 Request Library

Port:   p5-libapreq2-2.08
Path:   /usr/ports/www/p5-libapreq2
Info:   Generic Apache2 Request Library

You need the 2nd result.

HTH,
Pieter de Goeje

PS.
I suggest you read up on "man ports" (especially the section on search).




I see.  I was doing "make search name=apreq" and was returning no hits.  Thanks.

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


How does one start mysql after installing from ports

2007-07-04 Thread Andrew Falanga

This is pretty pathetic but I'm batting a 1000 on this one.  I
installed mysql a few weeks ago on this web server I'm making for my
church and didn't do anything with it at that point (that was the
first mistake).  I've not used mysql (I usually use PostgreSQL) but
WebGUI wants mysql.  So, being completely unfamiliar with it, I cannot
figure out how to start this thing.

I eventually figured out that the mysqld process starts by using
mysqld_safe in /usr/local/bin.  However, I can't get it to start.  At
first it was because the directory /var/db/mysql didn't exist.  I
created that and now I get this:

whitbap# mysqld_safe
Starting mysqld daemon with databases from /var/db/mysql
STOPPING server from pid file /var/db/mysql/whitbap.pid
070704 16:09:42  mysqld ended

(And the contents of /var/db/mysql/whitbap.err:
whitbap# cat /var/db/mysql/whitbap.err
070704 16:02:41  mysqld started
070704 16:02:42  InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: 'create'.
InnoDB: Cannot continue operation.
070704 16:02:42  mysqld ended

070704 16:09:42  mysqld started
070704 16:09:42  InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: 'create'.
InnoDB: Cannot continue operation.
070704 16:09:42  mysqld ended


I'm assuming that a process, perhaps similar to PostgreSQL, is
applicable for MySQL too.  For example, in PostgreSQL, one must first
usr 'initdb' to initialize the data area.  Is this true for MySQL too?

Please tell me how to work MySQL (to anyone on this list that uses it).

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


Does anyone on this list use WebGUI on FreeBSD

2007-07-04 Thread Andrew Falanga

Hi,

I'm wondering, does anyone here use WebGUI on their FreeBSD installs
and if so, or even if not would know, what is this

LoadModule apreq_module modules/mod_apreq2.so

mentioned in the installation text file?  I can't seem to find it in
ports, this could simply mean that it's just not in ports, but I would
figuring that it most likely is and it's just not called that.

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


mod_perl port

2007-07-04 Thread Andrew Falanga

Hi,

I installed Apache 2.2 and the appropriate mod_perl port for this
version of apache.  However, it is not referenced in
/usr/local/etc/apache/httpd.conf.  How do I get it there?

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


Re: Help getting apache 22 working

2007-06-27 Thread Andrew Falanga

On 6/27/07, Norberto Meijome <[EMAIL PROTECTED]> wrote:

accf_http is not compulsory for apache to work.


Ah, ok.  That's good to know, though I did put the module to autoload
in my loader.conf file.


>
> However, the server still isn't working as a "lynx localhost" is
> denied and sockstat doesn't show any listening sockets on port 80.
> What else needs to be done to get apache 22 working?

did you add  the enabling line in /etc/rc.conf? For version 2.2 it should be

apache22_enable="YES"



Not yet.  I was just trying to start it via "/usr/local/sbin/apachectl".



( you actually need to check the startup script at /usr/local/etc/rc.d/, in
this case /usr/local/etc/rc.d/apache22 to see what _enable line is needed )

then you start the webserver with

/usr/local/etc/rc.d/apache22 start

( or 'forcestart' instead of start if you don't have the _enable line in
rc.conf)

Also, make sure you have no firewall in place stopping the traffic.


Thanks for the info.  I actually found that, apparently, apache 22 is
much more of a stickler for an IP address to hostname than is apache
1.3.  I did a little bit of slight of hand in /etc/hosts and then
started apache and it actually started for me.

I didn't think this was the problem because on my personal machine I'm
running 1.3 and I get this same error, but the server still starts.

Thanks everybody.

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


Help getting apache 22 working

2007-06-27 Thread Andrew Falanga

Hi,

I've installed apache 22 on my churches web server and am having some
difficulty getting it working.  I've figured out that I need something
call accept filters accept_filter(9) for this as the server was
complaining about a missing file named "httpready" (or something like
this).  I found from the Apache site linked in the handbook that I
need to have a kernel module named accf_http loaded, which I have
done.  This has actually eliminated that error.

However, the server still isn't working as a "lynx localhost" is
denied and sockstat doesn't show any listening sockets on port 80.
What else needs to be done to get apache 22 working?

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


Re: Re[2]: How do I get libphp5.so back

2007-06-25 Thread Andrew Falanga

On 6/24/07, Gerard <[EMAIL PROTECTED]> wrote:

On June 23, 2007 at 06:20PM Andrew Falanga wrote:


> I found this just before reading this message.  I was reading in
> UPDATING on something that wasn't quite related to my problem about
> PHP and saw a suggestion to do "make config" before upgrading.  Well,
> I decided to try that and sure enough, the Apache module wasn't
> selected.
>
> I figure what must have happened was some time ago I did a portupgrade
> -a and in that I must have deselected that module from the build and
> lost it.  Thanks again.  Everything's working now, even the pgsql
> module.

Hi Andy,

I is always a good idea to run 'make config' or perhaps 'make
config-recursive' or 'make config-conditional' in a port before
installing it for the first time. Check out 'man ports' for further
information.



Thanks, I'll look into this.

Andy
___
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 libphp5.so back

2007-06-23 Thread Andrew Falanga

On 6/23/07, Joe Holden <[EMAIL PROTECTED]> wrote:

Run "make config" in /usr/ports/lang/php5, make sure the apache option
is selected.

HTH,
Joe



I found this just before reading this message.  I was reading in
UPDATING on something that wasn't quite related to my problem about
PHP and saw a suggestion to do "make config" before upgrading.  Well,
I decided to try that and sure enough, the Apache module wasn't
selected.

I figure what must have happened was some time ago I did a portupgrade
-a and in that I must have deselected that module from the build and
lost it.  Thanks again.  Everything's working now, even the pgsql
module.

Andy
___
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 libphp5.so back

2007-06-23 Thread Andrew Falanga

On 6/23/07, Garrett Cooper <[EMAIL PROTECTED]> wrote:


Reinstall php and all modules -- that should fix the problem (based
on past experience).
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"



Ok, I went to /usr/ports/lang/php5 and did "make install clean".  The
build went great but then the script bailed saying that a previous
install was detected and to do a "make deinstall" and then "make
reinstall".  I did.  However, I still don't have the libphp5.so module
in /usr/local/libexec/apache.  How do I reinstall this port and make
this work?

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


How do I get libphp5.so back

2007-06-23 Thread Andrew Falanga

Hi,

I'm working on doing some more development on my php and I've just
discovered that somehow the libraries were removed.  It must have been
through a portupgrade I had done recently.  It's been several months
since I've done anything with it and I noticed that the following
lines were commented in my httpd.conf file:

LoadModule php5_modulelibexec/apache/libphp5.so
AddModule mod_php5.c

I uncommented them, but apache won't start now because these files are
to be found.  However, both packages php5 and php5-pgsql are installed
on my system.  How would I get these back?

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


Having problems with dhcp6 (still), can anyone help

2007-06-22 Thread Andrew Falanga

Hi,

I'm having a difficult time getting this dhcp for IPv6 (dhcp6 from
ports) working.  I'm embedding my config files in this message.

[dhcp6s.conf]
# The followings are a sample configuration to provide a DNS server address
# for every client as well as to delegate a permanent IPv6 prefix
# 2001:db8:::/48 to a client whose DUID is 00:01:00:01:aa:bb.

option domain-name "ipv6.isolated";
option domain-name-servers fec0::1;

# The followings are a sample configuration to provide an IPv6 address
# from an address pool 2001:db8:1:2::1000-2000 for 3600[s].
# Note. You have to send an RA to fxp0; otherwise a client cannot be sure
# about the prefix-length and the default router.  If you want to prevent
# stateless address configuration via RA, please set the autonomous-flag to
# OFF in your RA configuration.

interface sis0 {
address-pool isolated_pool 3600;
};

pool isolated_pool {
range fec0::11 to fec0::20;
};

[dhcp6c.conf]
# The followings are a sample configuration for requiring the "stateless"
# DHCPv6 service.
interface sis0 {
information only;
};

(There's actually a little more in this file, but it's all commented out.)

As you can see from the config files, in my isolated environment, I'm
using IPv6 addresses fec0::/64 (can't remember the RFC number, that
this is the equivalent to 192.168.0.0).

Basically, nothing is happening.  I have a server on which I start
dhcp6s.  Using sockstat, I can see that this process is actually
listening for incoming requests.  Then, on my client side I start
dhcp6c.  Well, to help me work out the issues I installed wireshark to
see what's happening on the wire ... the answer is ... nothing.  Not a
single packet.

If there is anyone on this list that is familiar with how to setup
this software, please enlighten me.  I'm been searching through what
VERY limited documentation for dhcp6 exists and haven't made any
headway as of yet.  I found some discussion boards on sourceforge.net
for this software project, but there was pitiful little there as well,
not to mention only a few postings.

Any help is appreciated.

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


Re: To install xorg meta port in preparation for xorg upgrade

2007-06-21 Thread Andrew Falanga

On 6/21/07, Jonathan Horne <[EMAIL PROTECTED]> wrote:

On Thursday 21 June 2007 09:32:31 Andrew Falanga wrote:
> Hi,
>
> How can one install the xorg meta port for version 6.9 before
> beginning the upgrade to 7.2?  I have already updated my ports tree,
> and I don't think I do one of these numbers any longer:
>
> cd /usr/ports/x11/xorg && make install clean
>
> I then thought about downloading the 6.9 xorg package, but all I found
> on the freebsd  ftp servers was a package for 7.2.  I see in the
> UPDATING file for ports that if one doesn't have the meta port
> installed, they will missout on several sub ports for xorg 7.2.
>
> Andy
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

i think the easiest way will be to set the variable PACKAGESITE to
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.2-release/All/

(or that of your other favorite mirror)

for bash-like shells,
export
PACKAGESITE=ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.2-release/All/

or csh-like shells,
setenv PACKAGESITE
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.2-release/All/

then 'pkg_add -r xorg' and it should grab it.  if not, try naming it by full
package name, 'pkg_add -r xorg-6.9.0'.

good luck,


Thanks for the instructions.  This would have been easier than the
method I was working to use.  I managed to find xorg-6.9.0 under the
directory you mention above ".../ports/i386/packages-6.2-release/..."
and downloaded it.  But, when I did the package add, it wouldn't go
for me because the package dri was missing.  Well, I probably
overlooked it somehow, but I couldn't find the "dri" package on the
ftp server.  Thankfully, a thought dawned on me that perhaps these
packages would exist in the cd's I burned of 6.2-RELEASE.  I was able
to find both packages on that CD (disk 1) and although there was a
slight warning when I did the pkg_add for the dri package (some other
package it requires was of a higher version than it was looking for),
all installed ok and I'm now working through the install to xorg 7.2.

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


To install xorg meta port in preparation for xorg upgrade

2007-06-21 Thread Andrew Falanga

Hi,

How can one install the xorg meta port for version 6.9 before
beginning the upgrade to 7.2?  I have already updated my ports tree,
and I don't think I do one of these numbers any longer:

cd /usr/ports/x11/xorg && make install clean

I then thought about downloading the 6.9 xorg package, but all I found
on the freebsd  ftp servers was a package for 7.2.  I see in the
UPDATING file for ports that if one doesn't have the meta port
installed, they will missout on several sub ports for xorg 7.2.

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


Getting INDEX-6.bz2 solved

2007-06-20 Thread Andrew Falanga

Ok,

Sorry for not posting a follow-up to my original request for help, but
google mail doesn't show messages sent from me until someone responds.
As I was thinking about the problem, I noticed that the fetch
directive for "make fetchindex" in /usr/ports was trying to get the
file from htt://www.freebsd.org/ports/INDEX-6.bz2.  Well, I realized
that our IT structure here is for a proxy server for http stuff.
After reading through the manual pages for fetch(8) and fetch(3) I
did:

setenv HTTP_PROXY 

and walla, everything worked.  So, problem solved.

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


How does one get the INDEX-6.bz2 file for the ports index "manually"

2007-06-20 Thread Andrew Falanga

Hi,

Well, the subject line pretty much says it all.  I'm working on
updating the xorg packages on my installation so that I can install
WireShark.  I'm to the point in the upgrade that I'm rebuilding the
ports index (I installed portupgrade-devel in favor of the current
version of portupgrade as mentioned in the UPDATING file).

As the instructions say, since I haven't altered the environment in
any way, I didn't have to rebuild the index, I could simply do "make
fetchindex".  Well, this simple step isn't working so simply.  At
home, it did, but here at work I'm having difficulty.  The connection
is constantly refused.  Where does this file reside?  I'd like to just
download it directly to /usr/ports and have the make system do what
must be done.  This at least works with other packages that I've had
refusals on when installing.

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


Re: Configuring dhcp6

2007-06-19 Thread Andrew Falanga

On 6/19/07, Michael K. Smith - Adhost <[EMAIL PROTECTED]> wrote:

> >
>
> Ok, I've got a couple of more questions.  Why does the port not
> install the command "dhcp6sctl"?  This is mentioned in manual pages
> like, dhcp6s(8), and so forth but doing a "man dhcp6sctl" returns that
> no manual page exists.  Also, I can't find the command either.  Lastly
> how do I generate this dhcp6sctlkey file that is also mentioned in the
> manual pages?  On the system I'm running the server on, the syslog
> spits out something that the file can't be found, and sure enough it's
> not there.  It's supposed to be in /usr/local/etc.
>
> Andy

Did you look in /usr/local/sbin for dhcp6ctl?  Here's the pkg-plist
locations.

etc/dhcp6s.conf.sample
etc/dhcp6c.conf.sample
sbin/dhcp6c
sbin/dhcp6relay
sbin/dhcp6s
sbin/dhcp6ctl

Regards,

Mike



Mike,

Very interesting, the name of the binary is different than the manual
pages say it is.  I was looking for dhcp6sctl no dhcp6ctl as is listed
above.  This would explain why I couldn't find it with either find or
whereis.

An excerpt from the manual pages:
dhcp6s(8)
SEE ALSO
dhcp6s.conf(5), dhcp6sctl(8), dhcp6c(8)

So, who maintains the software?  Or is this a ports issue?

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


Re: Configuring dhcp6

2007-06-19 Thread Andrew Falanga

On 6/19/07, Michael K. Smith - Adhost <[EMAIL PROTECTED]> wrote:
> Could you post your config for reference?  One thing that comes to mind
> is to make sure your mask is set to a /64.
>
> Regards,
>
> Mike
>



Ok, I've got a couple of more questions.  Why does the port not
install the command "dhcp6sctl"?  This is mentioned in manual pages
like, dhcp6s(8), and so forth but doing a "man dhcp6sctl" returns that
no manual page exists.  Also, I can't find the command either.  Lastly
how do I generate this dhcp6sctlkey file that is also mentioned in the
manual pages?  On the system I'm running the server on, the syslog
spits out something that the file can't be found, and sure enough it's
not there.  It's supposed to be in /usr/local/etc.

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


Re: Configuring dhcp6

2007-06-19 Thread Andrew Falanga

On 6/19/07, Michael K. Smith - Adhost <[EMAIL PROTECTED]> wrote:

Could you post your config for reference?  One thing that comes to mind
is to make sure your mask is set to a /64.

Regards,

Mike



Sure,

# The followings are a sample configuration to provide a DNS server address
# for every client as well as to delegate a permanent IPv6 prefix
# 2001:db8:::/48 to a client whose DUID is 00:01:00:01:aa:bb.

option domain-name "ipv6.isolated";
option domain-name-servers fec0::1;

# The followings are a sample configuration to provide an IPv6 address
# from an address pool 2001:db8:1:2::1000-2000 for 3600[s].
# Note. You have to send an RA to fxp0; otherwise a client cannot be sure
# about the prefix-length and the default router.  If you want to prevent
# stateless address configuration via RA, please set the autonomous-flag to
# OFF in your RA configuration.

interface sis0 {
address-pool isolated_pool 3600;
};

pool isolated_pool {
range fec0::11 to fec0::20 ;
};

As you can see, it's pretty much the
/usr/local/etc/dhcp6s.conf.sample.  You know, from making this post, I
see that because I decided against having any "host" directives in the
file, the one line that did have the subnet mask, or prefix, set to
/64 is now missing.

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


Configuring dhcp6

2007-06-19 Thread Andrew Falanga

Hello,

Has anyone on this list used dhcp6 from ports?  What's the magic
behind getting it to work?  I'm trying to configure for a very simple
environment and my hosts are getting anything.  My config file is
basically just the sample file from the port install with the
exceptions that the interface string has been changed and I'm using a
different IPv6 address block (per the RFC or IPv6 addressing, I'm
using fec0::).

Is there anything else?  I'm reading through the manual pages and the
dhcp6s program starts ok, that is, it starts without complaint and is
running (as sockstat attests to).  If anyone out there uses this, I'd
really appreciate any insights.

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


Re: Upgrading x.org to 7.2 (to make other ports happy)

2007-06-19 Thread Andrew Falanga

On 6/19/07, Alex Zbyslaw <[EMAIL PROTECTED]> wrote:

The big clue is in the text description where it refers to script(1)
i.e. a command with a manual page in section 1 of the manual!  It's
always worth a quick man or apropos if you come across something you
don't recognise.



Yes.  Your point is taken.

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


Re: Upgrading x.org to 7.2 (to make other ports happy)

2007-06-18 Thread Andrew Falanga


Please read the instructions more carefully.  You are supposed to run a
program called "script" with the parameter "xorg-upgrade".  script is a
program which will create a file called xorg-upgrade.  All the commands
you subsequently  type and all the output you get will be logged in the
file xorg-upgrade, so that if something goes wrong you have a log of the
errors to refer to, cut-and-pate from etc.


I just read my reply to this from the weekend.  Wow, it sounds like
I'm a complete idiot.  Ok, what I meant to say (had other things on my
mind this weekend) was that being unfamiliar with 'script' I thought
it was some sort of interpreter through which I had to run this
"xorg-upgrade" script mentioned in the UPDATING file.  As you can see,
my lack of understanding for script lead to a bad assumption.

Thanks again for setting me straight.  Just for the record, once my
understanding was set right, the upgrade went flawlessly.  Great
instructions!

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


Re: Upgrading x.org to 7.2 (to make other ports happy)

2007-06-15 Thread Andrew Falanga

On 6/15/07, Alex Zbyslaw <[EMAIL PROTECTED]> wrote:

Andrew Falanga wrote:

> I come back a
> little later to find that I've got to update X.org according
> /usr/ports/UPDATING.  I open this file and read up on what it says.
> In there it says I need to run a script called "xorg-upgrade" however,
> this script does not exist on this box.

Please read the instructions more carefully.  You are supposed to run a
program called "script" with the parameter "xorg-upgrade".  script is a
program which will create a file called xorg-upgrade.  All the commands
you subsequently  type and all the output you get will be logged in the
file xorg-upgrade, so that if something goes wrong you have a log of the
errors to refer to, cut-and-pate from etc.



I did read through that part, but I made a bad assumption.  I was
assuming that the script xorg-upgrade was something separate because
other instructions in there said to be sure to use a filesystem with
lots of space.  I was thinking that the script program was some sort
of program that would capture the output of the program so that
"developers could see it" or something like that.  Bogus assumption
because I'm not at all familiar with script.  Thanks for setting me
straight.

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


Upgrading x.org to 7.2 (to make other ports happy)

2007-06-15 Thread Andrew Falanga

Hi,

Ok, last night I sit down to continue installing software on that web
server I mentioned a couple of days ago.  By the way, the culprit was
definitely heat.  Last night, I successfully recompiled the GENERIC
kernel for 6.2p5 without a hitch, and the day before I successfully
completed the "buildworld".  Continuing on, after getting the system
caught up, I updated my ports tree using csup and proceeded to
portupgrade all installed ports (only about 5 at this time).  However,
X.org is among them.

So, the portupgrade program is doing its thing I figure since it took
a little over an hour to compile all of X before, I was going to do
other things and so left the box to its own devices.  I come back a
little later to find that I've got to update X.org according
/usr/ports/UPDATING.  I open this file and read up on what it says.
In there it says I need to run a script called "xorg-upgrade" however,
this script does not exist on this box.  I just finished a search on
www.x.org for "xorg-upgrade" with no results.  So, where am I supposed
to get this script?  The UPDATING file doesn't mention that.

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


Re: samba and IPv6

2007-06-14 Thread Andrew Falanga

On 6/14/07, Lowell Gilbert <[EMAIL PROTECTED]> wrote:

"Andrew Falanga" <[EMAIL PROTECTED]> writes:

> Does samba actually support this?  I'm not turning up much information
> from the "official HOW-TO" at samba.org.  In fact, not a single link
> in the HOW-TO even mentions IPv6.

There's a link on the Samba front page from last week.
The short version is that it doesn't do it yet, and probably won't
until Samba 4 (which has other changes for interoperating with
Vista -- which is the first Windows to really do IPv6 well).
There are patch sets around if you're willing to get your hands
a bit dirty.


Nope, don't mind getting my hands dirty (I do most of the work on my
automobiles too).  However, I take it from this that because I must
get my hands dirty, none of these patches are in the ports system?  I
ask because I noticed as I installed vim last night that many patches
were downloaded along with the main vim tar-ball.

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


samba and IPv6

2007-06-14 Thread Andrew Falanga

Hi,

Does samba actually support this?  I'm not turning up much information
from the "official HOW-TO" at samba.org.  In fact, not a single link
in the HOW-TO even mentions IPv6.

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


Re: samba config problems

2007-06-14 Thread Andrew Falanga

On 6/14/07, Reid Linnemann <[EMAIL PROTECTED]> wrote:


Don't forget to cc: freebsd-questions@freebsd.org



Once again I apologize to the forum.  I keep forgetting to do this.


The rc script at /usr/local/etc/rc.d/samba follows the FreeBSD rcng
scheme, if the rcvar 'samba_enable' is not set to 'yes', then the script
will not start or stop the samba process.

Run the script without any commands to see usage. To check the status of
rcvars that control the script's behavior, run the script with the
'rcvar' argument; e.g.

~/> /usr/local/etc/rc.d/samba rcvar
# samba
$samba_enable=YES
# nmbd
$nmbd_enable=YES
# smbd
$smbd_enable=YES
# winbindd
$winbindd_enable=NO

Note that nothign is stopping you from running smbd and nmbd manually,
the rc control script simply automates the control of the daemon for you.



Ah, thank you.  Very enlightening.  I guess I'll have to read through
that section of the Handbook to make sure I understand how all that
works together.  I finally did get it working by starting the smbd
"manually."

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


samba config problems

2007-06-14 Thread Andrew Falanga

I'm trying to get samba working in a test environment.  I do not need
great functionality, so I'm going off of the simple setup stuff in the
Handbook.  This should be enough.  I've configured my
/usr/local/etc/smb.conf file for a single share (the /tmp share) and
changed the workgroup name and set passwd backend = smbpasswd; I then
tried to start samba with /usr/local/etc/rc.d/samba start.  After
this, I get only, "Removing stale Samba tdb files:  done."  The
handbook shows that I should see,

Starting SAMBA: removing stale tdbs :
Starting nmbd.
Starting smbd.

I then tried "sockstat" and did not see any listening sockets for the
daemon "smbd."  I don't know if I would, but I wanted to try this.
I'm not convinced at this point that I'm actually getting samba to
start.  How can I verify this?

I'm trying to add users to the smbpasswd file using smbpasswd, but
this is to no avail.  What am I doing wrong?

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


Re: Fresh install won't compile requirement libraries for cvsup (the verdict is in)

2007-06-14 Thread Andrew Falanga

The verdict is in!  The problem was heat.  Before swapping out memory,
I turned on the system to see what the fan was doing.  Nothing was the
answer.  It wasn't spinning at all.  I went digging through my old
hardware and found a fan of the right type and dimensions that fit
nicely, and more importantly worked.

So, before swapping out memory I tried it.  The build of
cvsup-without-gui still failed, but not due to a hang or sig11
problems.  It died for something else, and since I'm just going to use
csup, I'm not going to worry about it.

After updating my ports and source trees with csup, I successfully
completed a compile of vim (to include gvim which required X to be
compiled and installed).  And then I successfully completed a "make
buildworld" of the sources.  Tonight, I'm going to rebuild the kernel
and do the installs.

I can eliminate some of the confusion everyone was having when I said
it was a K6 700mHz CPU.  It wasn't a K6 at all.  When I pulled off the
heat sink, I saw that the chip was stamped "Duron."  I had seen 700mHz
on either the BIOS or the dmesg output during boot, and because the
case had a K6 sticker on it, assumed that was the CPU type.

At any rate, I want to thank everyone for the great suggestions
especially that link to the sig 11 stuff for gcc compiling.  That was
very informative.  Looks like everything is working ok now.

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


nvidia driver on amd64

2007-06-13 Thread Andrew Falanga

Hi,

I was just wondering, a while ago I remember seeing a port for the
nvidia driver.  I was just wondering, does this work on amd64?

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


Re: Fresh install won't compile requirement libraries for cvsup

2007-06-13 Thread Andrew Falanga

On 6/13/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:


The CPU on basically every x86 machine after the original
pentium runs faster than the bus (or memory) speed.

http://en.wikipedia.org/wiki/Front_Side_Bus

The board will probably have jumpers (though sometimes
boards this old will have bios options) to select Front Side
Bus speed (typically 33, 50, 60, 66, 75, 100, 120, and 133MHz
on a machine of this age) and a second set of jumpers to
select the CPU multiplier.
An old K6-III 450MHz I have here uses a 100MHz bus and
a 4.5:1 multiplier (which alternately might have been marked
9:2) to obtain the 450MHz CPU speed.  A 700MHz CPU on
a 100MHz bus would require a 7:1.  If it really does have a
133MHz bus, it might be set to something like 5.2:1.

In any case, your troubles are likely either bad memory or
a too-hot CPU, the second of which might be something
as simple as dust or a bad fan bearing.

--
--



My suspicion is also for the memory.  Due to some laziness on my part,
I'm going to just swap out the PC 133 stuff with the PC 100 stuff that
I have to see if that fixes it.  This PC 100 stuff used to run a
Fedora, and later, an OpenBSD system.  On both I performed builds of
various software.  So, I'm going to give it a try.

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


Re: Fresh install won't compile requirement libraries for cvsup

2007-06-13 Thread Andrew Falanga

On 6/13/07, Ian Smith <[EMAIL PROTECTED]> wrote:

On Tue, 12 Jun 2007 10:02:38 -0600 Andrew Falanga <[EMAIL PROTECTED]> wrote:

 > a hard hang.  Nothing worked.  I could not even Alt+ to a
 > different pseudo terminal.  The system just hard hanged.  I rebooted
 > and tried the install again with the same result.

At the same place?  If so, I'd tend to suspect memory rather than cpu.


No it did not stop at the same place.  I still suspect memory versus
the cpu, especially considering that, apparently, there were several
generations of the K6.  I didn't know this.  For several years, I did
not have the time or money to play with hardware and therefore lost
touch with much of the hardware that was out there.



 > I'm wondering if it could be hardware, specifically memory.  I've
 > never seen a FreeBSD, OpenBSD or Linux (for that matter) hard hang on
 > program compilation apart from hardware problems.  Also of particular
[..]
 > System configuration is as follows:
 >
 > AMD K6 700mHz
 > 256mb RAM (PC 133)
 > 13gb HDD

700MHz?  Please show us the line from your /var/run/dmesg.boot showing
the exact cpu and clock.  This will also indicate features & stepping
that should pinpoint the cpu model.  From one 4.10 system hereabouts:

 CPU: AMD-K6(tm) 3D processor (400.91-MHz 586-class CPU)
   Origin = "AuthenticAMD"  Id = 0x58c  Stepping = 12
   Features=0x8021bf
   AMD Features=0x8800
 real memory  = 134152192 (131008K bytes)

That's a K6-2, though it doesn't say so there.  From memory, the fastest
ever K6-2 was ~550MHz, but people did tend to wildly overclock them ..


I will provide this info., hopefully tonight when I get home.  I'm
pretty sure this was never over clocked.  It was the secretaries
computer of the church I attend.  I'm working on remaking the system
into a web server as the secretary was just given a laptop.



As others have mentioned, K6s don't like running too hot.  I nurse two,
the 400 and a 450MHz box that run forever as long as the cpu fan is ok.
And when they do overheat, they'll freeze, but I've never actually seen
one damaged (as opposed to a couple of fried P3s of similar vintage)

If you really are running it at 700MHz (at what bus speed setting?) then
I'd treat it to a new heat sink with fresh thermal paste and a BIG fan.


Ok, sounds good.  I'll see what I can find for this CPU.



And sure it's best to run matched-speed memory.  Your BIOS probably lets
you play with wait states and such, but the basic PCI bus speed might be
something weird if you've managed to crank the cpu up to 700MHz ..



How do wait states relate to memory speed?  Please enlighten me.  I
have an idea, but I'm only theorizing, I'd like to know what it really
means.  If it's more in depth than one would like to type in a
response, sending a link is fine.  I learned quite a bit on the "Sig
11" links given earlier.

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


Re: Fresh install won't compile requirement libraries for cvsup

2007-06-13 Thread Andrew Falanga

On 6/12/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

On 12/06/07, Andrew Falanga <[EMAIL PROTECTED]> wrote:


First off, my apologies to the group.  I think I've been hitting
"reply" only and not "reply-to-all".


> >
> > If the compiler (cc) dies with a 'fatal signal 11', you could have a
> > memory problem. See e.g. 
http://www.ibiblio.org/pub/Linux/docs/faqs/GCC-SIG11-FAQ
> >
> > Roland
>
> Ok, while researching these things I found this.  Does FreeBSD have a
> work around?
>
> http://membres.lycos.fr/poulot/k6bug.html
>
> This machine I'm having problems with is an AMD K6.

A K6-700?  Without doing too much
flabulous research, I believe the K6
stopped at 300MHz.  A 700 would be
a K6-III, which would not have the
32MB problem.  Flaky and heat-sen-
sitive they are indeed.  And there is
a lot of junk 133 memory out there
too.

Based on my limited experience, about
60% of the time you can run 100MHz
memory at 133MHz. If not you may have
to rejumper your bus-speed to 100.
If you are further unlucky the board
won't have a 7:1 multiplier and you'll
be stuck underclocking pretty seriously.



What is a 7:1 multiplier?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Fresh install won't compile requirement libraries for cvsup

2007-06-12 Thread Andrew Falanga


If the compiler (cc) dies with a 'fatal signal 11', you could have a
memory problem. See e.g. 
http://www.ibiblio.org/pub/Linux/docs/faqs/GCC-SIG11-FAQ

Roland


Ok, while researching these things I found this.  Does FreeBSD have a
work around?

http://membres.lycos.fr/poulot/k6bug.html

This machine I'm having problems with is an AMD K6.

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


Re: Fresh install won't compile requirement libraries for cvsup

2007-06-12 Thread Andrew Falanga

On 6/12/07, Roland Smith <[EMAIL PROTECTED]> wrote:

On Tue, Jun 12, 2007 at 10:02:38AM -0600, Andrew Falanga wrote:
>  Hi,
>
>  I just installed a fresh 6.2-RELEASE i386 system last night and was
>  trying to get cvsup-without-gui installed from ports and was having
>  some interesting problems.  The install of FreeBSD went flawlessly,
>  and the system boots without a hitch.

You don't need cvsup-without-gui anymore. A rewrite in C called csup is
part of the base system in 6.2.

This should be fixed in the handbook, as it still references cvsup.

Roland


Thank you for this.  I was not aware.  However, would it still not
behoove me to find out what is going on, if there really is a problem?
I'm looking to install WebGUI on this system which requires MySQL and
ImageMagick (both of which are in the ports).  Wouldn't a compilation
of other program produce similar results?

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


Fresh install won't compile requirement libraries for cvsup

2007-06-12 Thread Andrew Falanga

Hi,

I just installed a fresh 6.2-RELEASE i386 system last night and was
trying to get cvsup-without-gui installed from ports and was having
some interesting problems.  The install of FreeBSD went flawlessly,
and the system boots without a hitch.

After installing the ports tree, I went and did "make install clean"
in the dir for cvsup-without-gui.  The script appeared to be working
through the requirements just fine too.  It downloaded all necessary
files and was proceeding to the build phase.  I'm not sure in which
package this occurred but the build just died on me.  No errors, just
a hard hang.  Nothing worked.  I could not even Alt+ to a
different pseudo terminal.  The system just hard hanged.  I rebooted
and tried the install again with the same result.

I'm wondering if it could be hardware, specifically memory.  I've
never seen a FreeBSD, OpenBSD or Linux (for that matter) hard hang on
program compilation apart from hardware problems.  Also of particular
interest with this machine, is that during startup it takes (no
exaggeration) about 2 minutes for sshd to start (at least, "starting
sshd" is the last line on stdout printed during startup at this
point).  I've never seen a system take that long start sshd, even
slower machines than this one.  On the initial startup, I chalked it
up to the generation of key pairs, but it happened on the second
startup too.

System configuration is as follows:

AMD K6 700mHz
256mb RAM (PC 133)
13gb HDD

I have 384mb of PC 100 memory laying around that I was going to try
and test my theory on, but wanted to consult some of the more
experienced on this forum before going "hog" wild on this.  Just out
of curiosity, what are the impacts of using memory chips of unlike
speeds in the system at the same time?  I've heard, in times past,
that if one does mix memory chips, the slower chips should be used in
the lower priority (i.e. higher numbered) slots.  Is this true, or is
this bogus?

I'm running FreeBSD 6.2 at work on two "lost-leader", no name
"cheap-o" laptops also with 256mb of memory with no problems (granted,
they are Celeron 1.7gHz but still).  I'm even running X with XFCE or
KDE on them.  I'm really suspecting faulty memory.  Oh, by the way,
this is to be a web server therefore, I'm not going to be running any
GUIs by default.  Text based administration only.

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


Flatbed scanners for FreeBSD

2007-06-02 Thread Andrew Falanga

Hi everybody,

What scanners are best used with FreeBSD?  I'm hoping for one that I
can use in both Windoze and FreeBSD.  Preferably, one that is USB.
I've never configured a scanner for FreeBSD before and would like
recommendations on hardware before purchasing.

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


Re: How does FreeBSD handle tcp checksum offloading

2007-05-24 Thread Andrew Falanga

On 5/24/07, Erik Trulsson <[EMAIL PROTECTED]> wrote:


Checksum offloading is usually enabled by default for hardware that supports
it (assuming that the driver for that hardware also supports it of course.)

To see if a particular interface uses checksum offloading you can look at
the output of 'ifconfig -m'.
The "options" line in the output refers to those features that are enabled,
while the "capabilities" line refers to those features that are available.
(Checksum offloading for receive and transmit show up as RXCSUM and TXCSUM
respectively.)
Ifconfig can also be used to enable/disable the offloading - see the
ifconfig(8) manpage for details and syntax.

It can sometimes be desirable to turn of checksum offloading if one suspects
that the hardware has some bugs in it that can cause the checksum to be
wrong.  (For those cases were the hardware has known bugs in this area, the
driver normally disable checksum offloading by default.)


Most hardware supported by the fxp(4) driver do not have support for
checksum offloading, but some do.
(The fairly commonly used  82559 chip does not support checksum while the
less common 82550 chip does, for example.)





Thanks for the info.  This is cool.  My Intel NIC is the 82550.  That
explains a few things.  Thanks again for the info on how these are
used FreeBSD.

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


How does FreeBSD handle tcp checksum offloading

2007-05-24 Thread Andrew Falanga

Hi,

I'm curious as to how FreeBSD handles checksum offloading for TCP
packets.  Is this on by default?  It seems that it's only relevant for
specific drivers rather than something that's just assumed.  How can I
determine if this is supported for the hardware I'm running?  Is it
common for tcp checksum offloading to be in the fxp driver?  Can one
turn it off (though, it honestly sounds like no one would wish to do
so)?

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


How to retrieve the list of files to merge by hand

2007-05-21 Thread Andrew Falanga

Hi,

I just upgraded my box here at home last night and I made a little
mistake (fortunately, not one large enough to keep things from
working).  I updated my source tree to 6.2-RELEASE-p4 and did the
"make buildworld" and "make buildkernel."  Then I dropped to single
user mode to do the installs for both.  At the end, as per some
instructions from a friend, I did "mergemaster -i -a".  At the end was
quite a long list of files left for me to merge by hand.  This was
actually a surprise to me because I'd updated two boxes at work
earlier in the week and the largest number of file to update by hand
was only 2.

At any rate, because I was in single user mode, and hadn't started
mergemaster with something like, "mergemaster -i -a | tee
merge.output" or something (that's the small mistake that won't happen
again), I don't have the list of files to merge.

At any rate, with exception to rc.conf and /etc/ttys, I haven't
modified anything the system uses anyway.  Is there a way of
retrieving this list?  As a side note, in an effort to get this list
(via a pipe command such as the one above), I reran the mergemaster
command, but got a much different set of results.  Did I completely
eliminate any chance I had at getting them?

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


Re: Problems upgrading a 6.0 install to 6.2-RELEASE-p4

2007-05-18 Thread Andrew Falanga

On 5/18/07, Andreas Rudisch <[EMAIL PROTECTED]> wrote:

On Fri, 18 May 2007 17:54:41 +0200, Andrew Falanga <[EMAIL PROTECTED]>
wrote:

In /usr/src/UPDATING you can find.

20060204:
 The 'audit' group was added to support the new auditing
functionality
 in the base system.  Be sure to follow the directions for updating,
 including the requirement to run mergemaster -p.

Either you add the group manually or you make sure to use mergemaster
and merge the required files _correctly_.

Andreas


Now that is frustrating.  I did search that file for "audit" and
"AUDIT," I had not hits.  I must have made typo and didn't realize.

At any rate, thanks to all.  I did as Mikhail suggested, and added the
audit group by hand.  As I commented to someone else, I feel very
stupid for not putting 2 and 2 together.  For some reason, I was
thinking that "audit group" was referring to something other than a
user group.  Yeah, it's stupid I know, but I did add the group and the
"make installworld" went smoothly and the box is working now.

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


Re: Problems upgrading a 6.0 install to 6.2-RELEASE-p4

2007-05-18 Thread Andrew Falanga

On 5/18/07, Mikhail Goriachev <[EMAIL PROTECTED]> wrote:

Andrew Falanga wrote:


You really must read the following (or at least skim through):

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

and

/usr/src/Makefile


All correct instructions are in there and you shouldn't skip any steps.

mergemaster will take care of that audit group among other things.



Regards,
Mikhail.



Ok, I'm reading through the web link you sent.  I see in section
23.4.1 the steps are:

# make buildworld
# make buildkernel
# make installkernel
# reboot



# mergemaster -p
# make installworld
# mergemaster
# reboot

I did these steps then, and I'm still getting the missing audit group
errors.  What is this audit group, what's its function, etc.?  Since
nothing of "world" has been installed yet, can I simply erase /usr/src
and replace with the 6.0-RELEASE cd's, which I have, and then do the
cvsup once again.  This time doing a mergemaster *before* I buildworld
and then installworld?

Andy

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


Problems upgrading a 6.0 install to 6.2-RELEASE-p4

2007-05-18 Thread Andrew Falanga

Hi again,

Ok, here's the steps I was given to upgrade my 6.0 system to 6.2-RELEASE-p4.

1) cvsup /usr/src using the tags necessary (I was using RELENG_6_2).
2) cd /usr/src
3) make buildworld
4) make buildkernel KERNCONF=GENERIC
*here I actually used a different kernel because I had to add
"options SMP" to the conf

5) make installworld
6) make installkernel KERNCONF=GENERIC
7) reboot (and hopefully all is well)

So, everything is great until step 5.  When I type "make installworld"
I get, "ERROR: Required audit gropup is missing, see
/usr/src/UPDATING."  So I got to take a look at that file.  There is a
lot of interesting stuff there, but nothing about an audit group that
should be present (at least a search for "audit group" returned no
hits).

What is this error talking about?  Which section of the UPDATING file
should I read and follow to correct this?  I read, "When upgrading
from one major version to another it is generally best to upgrade to
the latest code in the currently installed branch first, then do an
upgrade to the new branch."  Does this refer to an upgrade from, say,
5.1 to 6.2, or does this apply to 6.0 to 6.2 as well?

I also see,

To rebuild everything and install it on the current system

make buildworld
make kernel KERNCONF=...


mergemaster -p
make installworld
make delete-old
mergemaster


Is this the procedure I should follow?  What is the correct path to go
from here?

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


Kernel build question (options and so forth)

2007-05-17 Thread Andrew Falanga

Hi,

In addition to my quest to upgrade this 6.0-RELEASE to 6.2-RELEASE-p4,
I have a question about the kernel and SMP.  This system has two
processors and I want to make sure I'm going to build an SMP capable
kernel, especially, considering I'm going from 6.0 to 6.2.  I managed
to find a past posting to this list saying that from 6.2 on, SMP is
detected and used by default; will this happen for me?  Should I edit
/usr/src/sys//conf/MYKERNEL with something like "options SMP" or
whatever it is?  (I'm only guessing here, and I want to make sure I
get an SMP kernel.)

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


Re: A little bit of help understanding CVS and cvsup

2007-05-17 Thread Andrew Falanga

On 5/17/07, John Nielsen <[EMAIL PROTECTED]> wrote:

On Thursday 17 May 2007 02:31:59 pm Andrew Falanga wrote:
> On 5/17/07, Alex Zbyslaw <[EMAIL PROTECTED]> wrote:
> > Andrew Falanga wrote:
> >
> > You can find a description of release tags in the handbook.
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html
> > and also a description of -STABLE and -CURRENT
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.
> >html.
> >
> > Later bits in that section also describe the update procedure *even if
> > you are updating to a RELEASE./RELENG rather then CURRENT or STABLE*.
> >
> > A brief description of the strings in tags is a follows:
> >
> > CURRENT == bleeding edge
> >
> > STABLE == merely leading edge
> >
> > RELENG == what you are calling "stable"; a release plus security patches
> > only
> >
> > RELEASE == sort of you are calling stable, exactly what was released
> > (not recommended since it lacks any security patches)
> >
> > The latest release is 6.2, so the tag you want in your supfile is
> > RELENG_6_2.  That string won't be in any supfile on your system.  It's
> > impossible for it to be, since that would require predicting what will
> > be the latest release at the point in the future when you chose to
> > upgrade :-)
> >
> > In technical terms, CURRENT is the top of the main development trunk,
> > and is often referred to with a leading number (e.g. 7-CURRENT), but the
> > number does no more than denote the numeric tag that will be applied
> > when the next branch is made.  Once 7.0 starts being created, CURRENT
> > will be 8-CURRENT.
> >
> > STABLE is the latest branch.  Code here will become the next Release.
> > Moving code from CURRENT to STABLE, involves a CVS merge operation and
> > is often referred to as MFC - merge from CURRENT.
> >
> > RELENG is a branch created when a specific release is made.  It denotes
> > the latest code on that branch, but the only changes made will be
> > critical security fixes.
> >
> > RELEASE is just the point on the RELENG branch which is the actual code
> > which was released on the Release CDs.
> >
> > --Alex
> >
> > PS
> >
> > Be really nice if all this info was clearly in the FAQ, and the FAQ was
> > searchable apart from the whole website.  As things stand, a search for
> > "stable" returns precisely nothing, which can't be right.
>
> Thank you for the detailed description.  Just one last question for
> you and the list, what sort of heart ache can I expect to encounter if
> I use the label RELEASE_6_2 in my supfile on a system that is 6.0?  I
> need to upgrade a 6.0-RELEASE (no patches) system.  Will I encounter
> compiler problems (that is, I'm using a compiler that's older than I
> should for 6.2), or similar?  Or, should the upgrade be just as smooth
> as the run through I just completed on a non-critical notebook running
> 6.2-RELEASE (or rather, it was running 6.2-RELEASE, now it's
> 6.2-RELEASE-p4)?

In my experiences upgrades that don't cross major version boundaries are
relatively painless. I haven't done a 6.0-6.2 upgrade, but I've done multiple
6.0-6.1 and 6.1-6.2 upgrades, and both were quite minor so I don't think
doing it in one go would introduce any problems. Compiler changes in
particular will typically only happen across major versions. Nothing like
that going on with 6.x. Should be smooth, just with a longer mergemaster
step.

JN


I figured as much, but didn't want to shoot myself in the foot, as it were.

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


Re: A little bit of help understanding CVS and cvsup

2007-05-17 Thread Andrew Falanga

On 5/17/07, Alex Zbyslaw <[EMAIL PROTECTED]> wrote:

Andrew Falanga wrote:

You can find a description of release tags in the handbook.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html
and also a description of -STABLE and -CURRENT
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html.

Later bits in that section also describe the update procedure *even if
you are updating to a RELEASE./RELENG rather then CURRENT or STABLE*.

A brief description of the strings in tags is a follows:

CURRENT == bleeding edge

STABLE == merely leading edge

RELENG == what you are calling "stable"; a release plus security patches
only

RELEASE == sort of you are calling stable, exactly what was released
(not recommended since it lacks any security patches)

The latest release is 6.2, so the tag you want in your supfile is
RELENG_6_2.  That string won't be in any supfile on your system.  It's
impossible for it to be, since that would require predicting what will
be the latest release at the point in the future when you chose to
upgrade :-)

In technical terms, CURRENT is the top of the main development trunk,
and is often referred to with a leading number (e.g. 7-CURRENT), but the
number does no more than denote the numeric tag that will be applied
when the next branch is made.  Once 7.0 starts being created, CURRENT
will be 8-CURRENT.

STABLE is the latest branch.  Code here will become the next Release.
Moving code from CURRENT to STABLE, involves a CVS merge operation and
is often referred to as MFC - merge from CURRENT.

RELENG is a branch created when a specific release is made.  It denotes
the latest code on that branch, but the only changes made will be
critical security fixes.

RELEASE is just the point on the RELENG branch which is the actual code
which was released on the Release CDs.

--Alex

PS

Be really nice if all this info was clearly in the FAQ, and the FAQ was
searchable apart from the whole website.  As things stand, a search for
"stable" returns precisely nothing, which can't be right.





Thank you for the detailed description.  Just one last question for
you and the list, what sort of heart ache can I expect to encounter if
I use the label RELEASE_6_2 in my supfile on a system that is 6.0?  I
need to upgrade a 6.0-RELEASE (no patches) system.  Will I encounter
compiler problems (that is, I'm using a compiler that's older than I
should for 6.2), or similar?  Or, should the upgrade be just as smooth
as the run through I just completed on a non-critical notebook running
6.2-RELEASE (or rather, it was running 6.2-RELEASE, now it's
6.2-RELEASE-p4)?

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


A little bit of help understanding CVS and cvsup

2007-05-17 Thread Andrew Falanga

Hi,

This question probably hasn't much to do with CVS directly but using
cvsup.  I want/need to update a 6.0-RELEASE system.  However, this
system has some critical data on it and I'd rather not move to code
that is perhaps experimental or "bleeding-edge" technology.  I see in
/usr/share/examples/cvsup several supfiles named various things.  I
see from the handbook that standard-supfile applies to, what seems
like, the bleeding-edge and the stable-supfile is what I'm looking for
.. yes?

How do I ensure I update the sources to the most current, STABLE, branch?

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


Re: How to recompile the VIM port for GUI

2007-05-12 Thread Andrew Falanga

On 5/11/07, RW <[EMAIL PROTECTED]> wrote:


Don't do that.

I'm wondering if this is due to the prefix change. Look at the output
of:

   pkg_info -px "^gtk-"

If you don't see

CWD to /usr/local

for your GTK ports, you'll need the rebuild some stuff:

  pkgdb -Ff
  portupgrade -rf pkg-config\*



What is the pkg-config* package anyway?  When you said here that I'd
have to rebuild some stuff, I didn't think you meant every single port
in the system.

I finally got the pkgdb -Ff to work, but I had to remove a couple of
packages that kept kicking it out because two packages placed files in
the same place.  I don't recall the packages now, but it the pkgdb did
finally work.  Then I did the portupgrade -rf pkg-config\*.  That was
last night (Friday) @ ~10.  It's probably taken longer than it should
have because I went to bed at 12 and got up through the night to
answer the prompts.  However, here it is 8:34 on Saturday night (MST)
and it's still building KDE.

I think that there was some things that hadn't upgraded before even
though I thought that they had.  I have a very serious question now.
How am I supposed to know to check that stuff you said to with
"pkg_info -px "^gtk-" and look for "CWD /usr/local" instead of what I
had for everything "CWD /usr/X11"?  How did you know that?  Would that
all have been in that /usr/ports/UPDATING?

Thanks for the help.

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


Re: Further questions on making wireshark work

2007-05-11 Thread Andrew Falanga


I can't offer feedback on any of the questions. However, I see wireshark
in the ports tree here:

   /usr/ports/net/wireshark


Yes, that's where it's supposed to be.  It's a real curiosity that I
don't have it even after doing a cvsup.

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


Further questions on making wireshark work

2007-05-11 Thread Andrew Falanga

Hi,

Many thanks to Eric for pointing me in the correct direction with
Wireshark and Ethereal.  Interestingly, I couldn't find the directory
(or the port) for wireshark on my system but did find the references
to it on www.freshports.org.  So, I downloaded the pre-compiled
package for wireshark from freebsd.org and installed wireshark that
way.

Now, when I try to start the program, I get the following error message:

/libexec/ld-elf.so.1: Shared object "libnetsnmp.so.10" not found,
required by "wireshark"

I know that this error is coming from the linker.  However, I'm not
sure how to fix it because I checked and the net-snmp port is loaded
on my system.  How do I get this shared object so that I can use
wireshark?

By the way, I didn't do a force install even if some dependencies are
absent.  I simply did pkg_add wireshare-xxx.  I actually had to
install a few extra packages that were lacking on my system for the
pkg_add to work.

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


Re: How to recompile the VIM port for GUI

2007-05-11 Thread Andrew Falanga

On 5/11/07, RW <[EMAIL PROTECTED]> wrote:

On Fri, 11 May 2007 07:48:16 -0600
"Andrew Falanga" <[EMAIL PROTECTED]> wrote:

> On 5/11/07, Pietro Cerutti <[EMAIL PROTECTED]> wrote:
> > Andrew Falanga wrote:
> > > Hi,
> > Hello,
> > > So, how do I modify the build environment properly to allow for
> > > the building of the GUI?  There are several variables referenced
> > > in the Makefile in /usr/ports/editors/vim, but I'm not sure what
> > > to make of them.
> >
> > cd /usr/ports/editors/vim
> > make WITH_GTK2=yes
> > make install
> >
>
> Thanks, I'll give that a try tonight.


I don't think this should be needed. Setting WITH_GTK2=yes makes it
use gtk 2.x instead of gtk 1.x. I have it working and up-to-date with
the latter.

Check that you don't have NO_GUI or WITHOUT_X11 defined somewhere.


I saw both of those in the make file.  Would I want to do the same
thing as was suggested above, but with those variables; e.g. make
NO_GUI=no?

It's for this reason that I asked about this here.  Where would they
be defined?  All I did, if I recall, was install the vim port from
using sysinstall when I originally installed FreeBSD.  After that, I
installed cvsup-without-gui, updated my ports tree and then used
portupgrade to upgrade the vim port (after installing portupgrade of
course).  I didn't actually define NO_GUI or WITHOUT_X11 anywhere when
I originally did the install, and when I had originally installed the
vim port it did work with the GUI.

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


What happened to ethereal in the ports

2007-05-11 Thread Andrew Falanga

Hi,

I was needing to do some packet analysis this week (that's what
prompted my question earlier about tcpdump), and in doing so I went to
/usr/ports and did "make search name=ethereal" and was returned 4
hits.  Basically, these hits were for ethereal or ethereal-lite.  The
directory was  /usr/ports/net/ethereal.  I tried to cd to that
directory and nothing.  The directory doesn't exist.

I go to http://www.freebsd.org/ports/index.html and search for
ethereal, same thing, no hits.  Same result after searching through
http://www.freshports.org.  So, I remembered being told (from someone
here) to read /usr/ports/UPDATING for questions to be answered about
issues like this.  I went to see that file and there was nothing in it
about ethereal.  Well, that is, no hits in vim after searching for
"ethereal" or "Ethereal".

So, long story short, what happened to it?  Why was it removed?  If it
was because there was no maintainer, that doesn't make any sense since
many of the ports I've found are marked as "no maintainer".  Can I
simply download and install and expect it to work?

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


Re: How to recompile the VIM port for GUI

2007-05-11 Thread Andrew Falanga

On 5/11/07, Pietro Cerutti <[EMAIL PROTECTED]> wrote:

Andrew Falanga wrote:
> Hi,
Hello,
> So, how do I modify the build environment properly to allow for the
> building of the GUI?  There are several variables referenced in the
> Makefile in /usr/ports/editors/vim, but I'm not sure what to make of
> them.

cd /usr/ports/editors/vim
make WITH_GTK2=yes
make install



Thanks, I'll give that a try tonight.

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


How to recompile the VIM port for GUI

2007-05-10 Thread Andrew Falanga

Hi,

As I'd mentioned before, I upgraded my vim installation using
portupgrade.  However, when the upgrade completed, I could no longer
start vim in the GUI.  I get an error saying that GUI stuff wasn't
compiled.  I asked here at that time and was told to check up with the
port maintainer.  I've done this, but to no avail.  I've heard nary a
peep from the maintainer.

So, how do I modify the build environment properly to allow for the
building of the GUI?  There are several variables referenced in the
Makefile in /usr/ports/editors/vim, but I'm not sure what to make of
them.

Can someone please educate me on how to make vim work with a GUI using
the ports rather than downloading and installing from scratch?  It's
not that I'm scared to install in that manner, it's just that I'd
rather make the port work.

Thanks,
Andy
___
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 get the syntax correct for my tcpdump command

2007-05-10 Thread Andrew Falanga

On 5/10/07, Chuck Swiger <[EMAIL PROTECTED]> wrote:

On May 10, 2007, at 12:19 PM, Andrew Falanga wrote:
> I want to capture only the IPv6 UDP traffic from my FreeBSD box to a
> host I'm trying to mount through NFS.  A couple of days ago, I got it,
> but I had to kill that terminal session abnormally and the commands
> aren't in my history.  So, I have something like this,
>
> tcpdump -v -s 192 -i fxp0 ip6 host remote
>
> The above works.  However, when I try to modify the command to filter
> out only the UDP traffic, I've tried something like this:

   tcpdump -v -s 192 -i fxp0 ip6 host _remote_ and proto \\udp

--
-Chuck




Thanks to everyone.  I don't know what I was doing a couple of days
ago, but apparently I wasn't doing what I thought I was since the
above works and I know I wasn't entering the command like that.

Thanks again.

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


Can't get the syntax correct for my tcpdump command

2007-05-10 Thread Andrew Falanga

Hi,

I'm about to launch this computer through the roof!  This tcpdump is
more finicky than feline when it comes to eating.  What really bugs me
is that just a couple of days ago I was doing this very same thing
with no problems.  For some reason, however, I just can't resurrect
the memory of how the syntax goes.

I want to capture only the IPv6 UDP traffic from my FreeBSD box to a
host I'm trying to mount through NFS.  A couple of days ago, I got it,
but I had to kill that terminal session abnormally and the commands
aren't in my history.  So, I have something like this,

tcpdump -v -s 192 -i fxp0 ip6 host remote

The above works.  However, when I try to modify the command to filter
out only the UDP traffic, I've tried something like this:

tcpdump -v -s 192 -i fxp0 ip6 udp host remote

To which tcpdump complains of syntax errors.  Variations I've tried are:

tcpdump -v -s 192 -i fxp0 ip6 proto udp host remote

tcpdump -v -s 192 -i fxp0 udp ip6 host remote

All to no avail.  As I said, I'm rather steamed that just two days ago
I was getting what I want and today my memory won't cooperate with me.
Please help!

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


Code beautification and/or printing utilities that are not part of an editor

2007-04-19 Thread Andrew Falanga

Another question for everyone.  Are there any programs, hopefully
available in the ports, that one can use to print source code files to
a printer (or create as a postscript file)?

I'd like something that I can feed a C++ program, have it parse
through the code, print line numbers to the left of the page and
(optionally) color code the syntax.  Does anything like this exist?

If it's something as simple as a string of chained command line aps,
hey, that's fine.  Please someone point me in the correct direction.

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


Question about the Window Maker window manager

2007-04-19 Thread Andrew Falanga

If anyone using FreeBSD regularly uses the Window Maker window
manager, I have a question about some behavior I saw today that I
don't quite get.  I wasn't doing anything processor intensive, but I
could not open anything.  I'd double click on the terminal icon that
is on the desktop and it would act like it was trying to do something,
but then nothing happened.  I tried to open the "Control Panel", also
an icon from the desktop but to no avail as well.  I couldn't even
start a program from the menus when right clicking on the desktop to
display the menu.

I was, however, able to exit the window manager and then re-open it,
at which time all worked as expected.  Does anyone else experience
such things with Window Maker and if so, short of restarting Window
Maker, how does one go about correcting it?

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


Recompiling the vim port for gui capability

2007-04-14 Thread Andrew Falanga

Hi,

I recently updated some of my ports (due to the fact that I now have a high
speed connection to the Internet at home).  One of the ports I updated was
vim.  I used portupgrade -r  and let it do its thing.  All
went well, but now gvim no longer exists.  When I was try to execute it, I
get, "E25: GUI cannot be used: Not enabled at compile time".  I've built vim
at work simply from the source code from vim.org and I know how to build for
GUI support.  However, I'm not very familiar with the BSD make or the ports
making process and couldn't find a clean way of defining, or in this case
preventing the definition of,

.if defined(NO_GUI)
WITHOUT_X11=yes
.endif

I took this from /usr/ports/editors/vim/Makefile.  How do I manipulate the
ports build process to recompile vim with GUI support?  I would rather use
vim/gvim than any other editor and without GUI support, it's quite lame.

By the way, after reading the response to my post about how to get
portupgrade back, I went to look through the /usr/ports/UPGRADING file for
vim notes.  However, the only thing I found concerning vim was something to
with vim-part, or something similar to that, with respect to the KDE
distribution.  There was nothing about the actual VIM port.  Oh, nearly
forgot, before this, I had vim 6.x installed from ports.  I did have the GUI
version before hand.

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


Re: how does one get portupgrade back

2007-04-14 Thread Andrew Falanga

Bill,

Thank you for this.  Until I got my high speed line, I didn't even think
about updating.  It would simply take too long.  Consequently, I've not kept
in memory certain things like the file you reference above.  Thank you.

Andy

(High speed is awesome.  I just updated Firefox to 2.0.0.5, or something
similar, and it took only 3 - 4 minutes to down load the 35mb *.bz2 file.  I
wouldn't have even thought about it before hand.)

On 4/13/07, Bill Moran <[EMAIL PROTECTED]> wrote:


"Andrew Falanga" <[EMAIL PROTECTED]> wrote:
>
> HI,
>
> I was going through cvsup and portupgrade since I just got broadband
into my
> home.  I had forgotten that some time ago I had already installed
> portupgrade and went to install it again.  I went to
/usr/ports/sysutils/
> and found to my astonishment that the directory "portupgrade" no longer
> exists.  That's when I found out that I had already installed it at some
> time in the past by doing "which portupgrade".  The only reason I'm
asking
> about this is because the portupgrade program complained that it
couldn't
> change directory to the directory listed above.  So, I installed
> cvsup-without-gui and upgraded my ports collection (I actally did this
> before checking for portupgrade).
>
> So, how should I go about restoring that directory?

Read /usr/ports/UPDATING before doing ports maintenance in the future.

In this case, ports tools have moved to a new category in
/usr/ports/ports-mgmnt

--
Bill Moran
http://www.potentialtech.com


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


how does one get portupgrade back

2007-04-13 Thread Andrew Falanga

HI,

I was going through cvsup and portupgrade since I just got broadband into my
home.  I had forgotten that some time ago I had already installed
portupgrade and went to install it again.  I went to /usr/ports/sysutils/
and found to my astonishment that the directory "portupgrade" no longer
exists.  That's when I found out that I had already installed it at some
time in the past by doing "which portupgrade".  The only reason I'm asking
about this is because the portupgrade program complained that it couldn't
change directory to the directory listed above.  So, I installed
cvsup-without-gui and upgraded my ports collection (I actally did this
before checking for portupgrade).

So, how should I go about restoring that directory?

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


Re: About file systems and formats

2007-03-29 Thread Andrew Falanga

On 3/29/07, Ivan Voras <[EMAIL PROTECTED]> wrote:


Andrew Falanga wrote:
> Yesterday while working on a problem at work, a colleague and I were
> talking
> about the various file systems and something that I have always wondered
on
> is what are the various file systems doing when a format is being done.
> For
> example, at home, my PC has 2 80gb drives.  One for Windows and the
other
> for FreeBSD.  It took Windows nearly an hour (give or take) to format
the
> 80gb drive.  On the other hand, it took FreeBSD little more than 3 - 5
> minutes to format its 80gb drive.

This is too slow for the FreeBSD case. By default, Windows will do a
full format - in effect, will write zeroes all over the drive, with the
intent of checking if the drive is capable of it. Unix format (newfs)
will only initialize file system structures - in effect, will write out
(initially empty) file tables to the drive. This takes about 5-10
seconds on 250 GB drives, so 3-5 minutes you got is way too much.
There's no way of making newfs to the "checking" phase; there are
separate utilities for that.



Wow, I guess so!  I did this some time ago and was trying to be conservative
in my time table as I actually couldn't remember the exact time.



my colleague and I because there such a speed difference in formatting
> things (once windows is installed) when choosing between a "Quick
> Format" or
> a "Full Format".

Yes, Quick format will just write the file tables (this is simplified,
but you'll get the picture) on Windows, too.




Sounds like we were on track.  The system just creates the appropriate data
structures using newfs and one can use the smartmon Chuck mentioned to keep
track of the surface, i.e. looking for disk defects.

Thanks for the links to the source (Chuck).

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


About file systems and formats

2007-03-29 Thread Andrew Falanga

Yesterday while working on a problem at work, a colleague and I were talking
about the various file systems and something that I have always wondered on
is what are the various file systems doing when a format is being done.  For
example, at home, my PC has 2 80gb drives.  One for Windows and the other
for FreeBSD.  It took Windows nearly an hour (give or take) to format the
80gb drive.  On the other hand, it took FreeBSD little more than 3 - 5
minutes to format its 80gb drive.

Both drives are similar in capability.  They are both 7200 rpm drives, etc.
So what is so much different about NTFS from FFS?  Are the file systems
really that different that MS's system is simply dog slow, or is the format
for FreeBSD skipping some "integrity" checks on the surface of the drive or
whatever (this assumes that the MS install process is actually doing this).
Please understand, I intend only to find the answer to the question with
this.  I'm looking for starting a "war" about who's file system rocks more
than the other.  The idea of an integrity check was just speculation between
my colleague and I because there such a speed difference in formatting
things (once windows is installed) when choosing between a "Quick Format" or
a "Full Format".

Can someone here offer some in depth information on this for me?  Thanks.

Andy

P.S. on a side note, but related to this, in what directories under the
system sources will I find the source code for the FFS used by FreeBSD, and
how are those modules structured?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ps oddity

2007-02-01 Thread Andrew Falanga

On 2/1/07, Fabian Keil <[EMAIL PROTECTED]> wrote:


"Andrew Falanga" <[EMAIL PROTECTED]> wrote:

> A couple of months ago I wrote a daemon process that opens up
connections on
> TCP and listens for incoming data (that ultimately ends up in a
database).
> Now, when I was writing it, I was debugging and what not under my own
user
> id.  However, the program now runs as root because it's started
> automatically when the system comes up at boot time.

That alone doesn't sound like a particular good reason to me.

> Now, here's the strange part.  When running under my user id, even in
daemon
> mode, ps -aux | grep  would show me the daemon process.  However,
now
> that it's running as root, it doesn't.

Does ps -aux really no longer list the process,
or does it get lost after the grep?

Fabian


I do not believe so.  When I did the same ps | grep command when running

the program under my userid, I would see matches for both the program and
for the grep.

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


ps oddity

2007-02-01 Thread Andrew Falanga

Hi,

A couple of months ago I wrote a daemon process that opens up connections on
TCP and listens for incoming data (that ultimately ends up in a database).
Now, when I was writing it, I was debugging and what not under my own user
id.  However, the program now runs as root because it's started
automatically when the system comes up at boot time.

Now, here's the strange part.  When running under my user id, even in daemon
mode, ps -aux | grep  would show me the daemon process.  However, now
that it's running as root, it doesn't.  Why is that?  The only way I've been
able to tell that it's running is by using sockstat.

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


Need to make sure my understanding of newsyslog is correct for a daemon I'm writing

2007-01-05 Thread Andrew Falanga

Hi everybody,

I'm working on the finishing touches to a server program I've just written
and one of the things it needs to log information to a log file.  I'm going
to log to /var/log/file.log and to manage the growth I'm going to add this
log file to the newsyslog.conf file.  However, I'd like to make sure that
the code I'm writing will work with how newsyslog is going to work.

Basically, I'm installing a signal handler for SIGHUP to do the following:

reset the put pointer to the beginning of the file;
flush any data that may be in the buffer;
close the file;
reopen file;


Does this sound correct?  I'm going on the assumption (and this is what I
want to have clarified) that newsyslog, when it finds that file x meets the
rotate criteria, follows these steps:

1) copy file x contents to x.0
2) truncate file x to zero bytes
3) send SIGHUP to process id

Is this how newsyslog would truncate the file?  Am I missing something?
Should my signal handler function look differently?

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


What options to netstat will tell me what protocols are listening on what ports?

2006-12-22 Thread Andrew Falanga

Hi,

In Linux, I would normally use 'netstat -tl' to see a listing of all
listening ports on the tcp protocol; however I'm not having as much luck in
determining what options I need for netstat in FreeBSD.  What are the
options that I need to use?

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


Re: compilation problems with some code from Linux

2006-12-16 Thread Andrew Falanga

On 12/8/06, Lane <[EMAIL PROTECTED]> wrote:


On Friday 08 December 2006 11:21, Andrew Falanga wrote:
> Hi,
>
> I'm trying to port some code from Linux to FreeBSD and I've got an issue
> that revolves around something I've never dealt with before.  The code
> includes the following header:
>
> #include 
>
> Apparently, program is attempting to make use of the xucred structure
> defined in there, because the rest of the stuff in the file seems to be
for
> the kernel.  However, when I try to compile, gcc continually bails with
the
> following error (among others), "NGROUPS was not declared in this
scope."
> The NGROUPS appears to be a macro, but it's not defined earlier
on.  Would
> anyone here know where it's defined so I can include that file too?
>
> Secondly, I'm also getting errors because gcc can't find 
> either.  True enough, there isn't any vfs.h file in /usr/include/sys.
> Since this file is in Linux, what should I include for FreeBSD?
>
> Thanks,
> Andy
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
Andy,

I won't pretend to know exactly which header files correspond for your
port,
but in the past I've found some things that work for me:

use

locate vfs.h

to find similar file names.  On 6.x and 5.x I see that these are possible
candidates:

/usr/X11R6/include/gnome-vfs-2.0/libgnomevfs/gnome-vfs.h
/usr/include/fs/devfs/devfs.h
/usr/include/sys/statvfs.h
/usr/local/include/af_vfs.h
/usr/src/sys/compat/svr4/svr4_statvfs.h
/usr/src/sys/fs/devfs/devfs.h
/usr/src/sys/nfs4client/nfs4_vfs.h
/usr/src/sys/sys/statvfs.h


But you'd have to compare the functions and structures defined in
sys/vfs.h on
linux to determine which is your best match up.

There is /usr/ports/devel/mipsel-linux-kernel-headers/ which, according to
pkg-plist will install mipsel-linux/include/linux/vfs.h.  That may be
exactly
what you need (although it may be overkill).  Or it may be the LAST thing
you
need :)

Sometimes a porter will simply create a patch file
in /usr/ports//files that will create a skeleton version of the
file which includes only the items you need.  I've done this for
development
on my own system.

As far as the NGROUP or other macros ... yikes!  You may have to recreate
that
functionality entirely.

I ran this:

#!/bin/sh
for each in `locate  .h | grep '\.h$'`
do
if [ -f $each ]; then
MYF=`cat $each | grep -i ngroups`
if [ "x$MYF" != "x" ]; then
echo $each : "$MYF"
fi
MYF=""
fi
done


It could probably be done more easily with sed and some elbow grease, but
it
does show NGROUPS defined here:

/usr/X11R6/include/X11/Xos.h : #define NGROUPS 16

and

/usr/include/sys/param.h

among other places.

Good luck!

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





Thank you everyone.  I'm sorry that I didn't reply sooner.  I did get this
worked out, but unfortunately I don't remember the include file I had to
use.  I found in a different file than the one I was editing at the time I
wrote this a nice comment explaining why the "#include "
preprocessor directive was there.  I found that function in a different
include file for FreeBSD, changed the code and all was well.

Thanks again.

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


compilation problems with some code from Linux

2006-12-08 Thread Andrew Falanga

Hi,

I'm trying to port some code from Linux to FreeBSD and I've got an issue
that revolves around something I've never dealt with before.  The code
includes the following header:

#include 

Apparently, program is attempting to make use of the xucred structure
defined in there, because the rest of the stuff in the file seems to be for
the kernel.  However, when I try to compile, gcc continually bails with the
following error (among others), "NGROUPS was not declared in this scope."
The NGROUPS appears to be a macro, but it's not defined earlier on.  Would
anyone here know where it's defined so I can include that file too?

Secondly, I'm also getting errors because gcc can't find 
either.  True enough, there isn't any vfs.h file in /usr/include/sys.  Since
this file is in Linux, what should I include for FreeBSD?

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


resolv.conf and IPv6 and DHCP for IPv6

2006-12-05 Thread Andrew Falanga

Is there anything different with entries in resolv.conf for IPv6 addresses?
I'm looking at the manual page for resolv.conf and didn't find anything
specific to IPv6.  Therefore, I'm assuming that the entry would simply be:

nameserver fec0::3

vs.

nameserver 192.168.0.1

Or whatever.  Is this correct?



Secondly, does there exist any documentation for configuring the dhcpd
program from ports?

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


Re: Configuring DNS (BIND) in isolation

2006-12-04 Thread Andrew Falanga



You're on the right track.  Yes, you'ld need a zone file for the root of
your DNS -- if it's all served from one machine then that would replace
the
'hint' zone and named.root stuff in the example named.conf

The zone file for '.' would contain an SOA record and then delegation for
whatever forward and reverse domains you want to use.  Eg. supposing you
want to use the TLD 'in.isolation' with IP numbers from 192.168.0.0/24
then you'ld need something like:

;
; Root of the private domain name system
;
$TTL 604800; 1 week

@ IN  SOA ns0.in.isolation. hostmaster.in.isolation. (
  2006120100 ;  Serial
  1800   ;  Refresh (30min)
  900;  Retry (15min)
  604800 ;  Expire (1week)
  86400 );  Minimum (1day)
in.isolation.IN  NS ns0.in.isolation.
0.168.192.in-addr.arpa.  IN  NS ns0.in.isolation.
ns0.in.isolation.IN  A 192.168.0.1   ; Glue
;
; That's All Folks!
;



Ok, here's the problems I've got so far.  I've made the following files,

isolated.zone, isolated.rev, localhost.rev, localhost-v6.rev and root.zone

The isolated.* files are for the forward addresses and the reverse pointers
for 192.168.0.0/24 that I've set up.  The root.zone file contains, what I
thought should be, for the "." zone.  (Matthew, from your message above, I
wasn't clear if all I'd need is what you have above, or that it was implied
that I'd need a SOA for the "." zone as well.  So, I made one.)

Now, I'm getting a few errors.  Sometimes it seems that named can't find the
files that I told it to look for in named.conf.  I used the original
named.conf file as a reference, and just filled in the "blanks" as it were,
for my zones.

Also, named keeps complaining about rndc.key files missing.  How do I
generate these key files?  I didn't find anything from 'man rndc'?

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


Re: Configuring DNS (BIND) in isolation

2006-12-04 Thread Andrew Falanga

On 12/4/06, David Robillard <[EMAIL PROTECTED]> wrote:


> Hello,
>
> I have a need to make my own DNS system on an isolated network.  Years
ago,
> I administered DNS for a couple of different companies, but that was
quite a
> while ago and since I've turned to programming I haven't done much in
the
> way of network administration.  I recall from using BIND 4, when I was
> reading up on it, that it is most certainly possible to configure an
entire
> DNS system on a totally isolated network.
>
> Would I need zone files for the root, ".", zone and any other zones I
> configure; e.g. "isolation."?  This would seem to be the way to go about
it,
> but I'm having some difficulty visualizing it in my head.  I just did
some
> searches online for the O'Reilly book "DNS & BIND".  I recall using this
> book in the past and it was quite helpful (and unfortunately for me,
> belonged to my former employers).  Would this book be a good reference
for
> this task as well, or are there better books that I might want to look
into
> getting for this?  Or, are there good on-line resources that could help
me
> muddle through?
>
> Any help is greatly appreciated.
>
> Thanks,
> Andy

Hello Andy,

First, you need to know that BIND has jumped from version 4 directly
to version 8 and is now at version 9. There is a whole world of
difference between the version 4 that you've worked with in the past
and the latest version 9 (such as Views, DNSSEC, IXFR, etc).

Now, the book you mentioned above is still THE reference on the topic.
O'Reilly recently published the 5th edition of "DNS & BIND" which
covers everything BIND 9 has to offer. Plus an extended chapter on the
DNS architecture itself. It's a great book, you should get yourself a
copy if you're interested by DNS.

Third, while "DNS & BIND" is a fine book, you'll have more direct help
from another O'Reilly book called "DNS & BIND Cookbook" from Cricket
Liu. It presents some common DNS related tasks in the form of easy to
follow "recipes". It sure is a great help when it actually is time to
build and configure your DNS servers.

Moreover, FreeBSD is an excellent platform for building DNS servers.
I've built DNS servers out of Solaris, AIX, RedHat and FreeBSD
machines and BSD is by far the easiest and more flexible to setup and
secure.


Finally, if for various reasons you don't have the time or expertise
to setup your own DNS machine. Then have a look at the appliances from
the author of "DNS & BIND" Cricket Liu's company called Infoblox at
http://www.infoblox.com.


Cheers,

David
--
David Robillard
UNIX systems administrator & Oracle DBA
CISSP, RHCE & Sun Certified Security Administrator
Montreal: +1 514 966 0122




I wanted to thank everyone who answered, but I think my first reply went
only to the individual of whose e-mail I chose to respond to (sorry) and
thanks everyone.  I think I've got what I need to get going.

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


Configuring DNS (BIND) in isolation

2006-12-01 Thread Andrew Falanga

Hello,

I have a need to make my own DNS system on an isolated network.  Years ago,
I administered DNS for a couple of different companies, but that was quite a
while ago and since I've turned to programming I haven't done much in the
way of network administration.  I recall from using BIND 4, when I was
reading up on it, that it is most certainly possible to configure an entire
DNS system on a totally isolated network.

Would I need zone files for the root, ".", zone and any other zones I
configure; e.g. "isolation."?  This would seem to be the way to go about it,
but I'm having some difficulty visualizing it in my head.  I just did some
searches online for the O'Reilly book "DNS & BIND".  I recall using this
book in the past and it was quite helpful (and unfortunately for me,
belonged to my former employers).  Would this book be a good reference for
this task as well, or are there better books that I might want to look into
getting for this?  Or, are there good on-line resources that could help me
muddle through?

Any help is greatly appreciated.

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


Re: Change an IP address without a reboot

2006-11-03 Thread Andrew Falanga

On 11/2/06, Vince Hoffman <[EMAIL PROTECTED]> wrote:


You have the order wrong

[EMAIL PROTECTED]
(00:22:37 <~>) 0 # ifconfig xl0 inet6 2001:470:1f01:244::30
[EMAIL PROTECTED]
(00:23:27 <~>) 0 # ifconfig xl0
xl0: flags=8843 mtu 1500
options=9
inet6 fe80::211:d8ff:fe9f:531c%xl0 prefixlen 64 scopeid 0x1
inet 10.0.0.100 netmask 0xff80 broadcast 10.0.0.127
inet6 2001:470:1f01:244::30 prefixlen 64
ether 00:11:d8:9f:53:1c
media: Ethernet autoselect (100baseTX )
status: active
[EMAIL PROTECTED]
(00:23:32 <~>) 0 # ifconfig xl0 inet6 2001:470:1f01:244::30 remove
[EMAIL PROTECTED]
(00:23:34 <~>) 0 # ifconfig xl0
xl0: flags=8843 mtu 1500
options=9
inet6 fe80::211:d8ff:fe9f:531c%xl0 prefixlen 64 scopeid 0x1
inet 10.0.0.100 netmask 0xff80 broadcast 10.0.0.127
ether 00:11:d8:9f:53:1c
media: Ethernet autoselect (100baseTX )
status: active



Interesting!  Thanks much for this.  I tried and it works.  Interesting that
for IPv4 this command works:

ifconfig  delete 


but for IPv6 one must do:

ifconfig  inet6  remove

Thanks again.

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


Re: Change an IP address without a reboot

2006-11-02 Thread Andrew Falanga

On 11/2/06, Steve Bertrand <[EMAIL PROTECTED]> wrote:


mybox# ifconfig
rl0: flags=8843 mtu 1500
options=8
inet 208.70.104.3 netmask 0xff80 broadcast 208.70.104.127
inet 192.168.250.1 netmask 0xff00 broadcast 192.168.250.255

...now,

mybox# ifconfig rl0 delete 192.168.250.1

...and finally,

newmarlo# ifconfig
rl0: flags=8843 mtu 1500
options=8
inet 208.70.104.3 netmask 0xff80 broadcast 208.70.104.127



This seems to work for IPv4 address as I tried the above.  I added the
address and then deleted it.  However, when I attempt to delete the IPv6
address I've given to the interface, I continually get "bad value."  For
example,

ifconfig sis0 inet6 fec0:1:1:1::2/64

ifconfig sis0 delete fec0:1:1:1::2

Which returns:

ifconfig: fec0:1:1:1::2: Bad value

I've even tried expressing all 8 "blocks" of the IPv6 address.  Could this
be a defect in how ifconfig handles IPv6 addresses?  If so, whom do I
contact to look into it?

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


<    1   2   3   >