Re: Which compiler is used for ISO binaries?

2004-04-10 Thread Kris Kennaway
On Sat, Apr 10, 2004 at 10:10:00PM -0700, Seunghun T. Lee wrote:
> Hello,
> 
> I was just wondering which compiler is used to compile the binaries
> on the freebsd iso's. I am holding out from upgrading until it is
> compiled with gcc3 preferably gcc3.3. I remember it was a big deal
> when RH linux was shipped compiled with gcc3 and advertised speed
> increase. I'm currently on freebsd 5.0p4 current or something like
> that. I'm intrigued by ATAng, since the only way i'm getting the ata
> drives to spindown is with a patch i found online.

FreeBSD 5.2-CURRENT uses gcc 3.3.3, and has been using gcc 3.x for
nearly 2 years.

I think reports of major speed increases for real-world applications
are likely to be mostly hype, though (yes, I'm sure you can find
microbenchmarks that demonstrate performance increases).

> also, 5.3R's release date is "TBD 2004." What's TBD stand for?

To Be Determined.

> frankly, is 5.3R worth waiting for? or should i go with 5.2.1? 

Take a look at the features listed for 5.2.1 (and 5.2 and 5.1 and 5.0,
back to whatever version you currently have installed) and decide for
yourself whether it's worthwhile updating.

Kris



pgp0.pgp
Description: PGP signature


Re: Off topic but sendmail help needed

2004-04-10 Thread Malcolm Kay
On Sunday 11 April 2004 10:40, Rob wrote:
> It does nothing at all, just right back to the prompt. I think Warren has
> found the answer to the problem.

I think it probably has done something. But traditional BSD utilities 
don't flash lights or make a song and dance unless something
is wrong.

See what files in the directory now have a recent time and date.

Malcolm

>
> -Original Message-
> From: [EMAIL PROTECTED]

>
> What does it tell you when you just do "make"?
>



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


Re: Off topic but sendmail help needed

2004-04-10 Thread Malcolm Kay
On Sunday 11 April 2004 07:02, Rob wrote:
> That's really strange then. The Makefile is right there in the /etc/mail
> directory and this is what it looks like:
>
>
> # $FreeBSD: src/contrib/sendmail/etc.mail/Makefile,v 1.1 2000/07/07
> 21:06:52 qzhou Exp $
>
> all: access.db mailertable.db virtusertable.db catchall.db aliases.db

Your Makefile does not contain an "install" target.

From the date in the header I would guess this corresponds to around
FreeBSD release 4.2.

It would seem yu don't need:
# make install
but:
# make
should be sufficient;
or if you wish to be specific/pedantic:
# make all

Malcolm

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


Re: java

2004-04-10 Thread Ruslan N. Gogunsci
On Sun, Apr 11, 2004 at 12:06:27PM +1200, Jonathan Chen wrote:
> On Sun, Apr 11, 2004 at 06:06:53AM -0500, nathan owens wrote:
> > Should i get 4.9 or 5.2.1 if i want java?
> 
> Java 1.4 is officially supported on 4.9, but it should work on 5.2.1
> with a couple of tweaks.
I use Java 1.4 on 5.2.1 without problems, but I use it for simple programs
and didn't try for biggest programs.

> -- 
> Jonathan Chen <[EMAIL PROTECTED]>
> ---
> "I love deadlines. I like the whooshing sound they make as they fly by"
> - Douglas Adams
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


quick audio question-- Real Player 8

2004-04-10 Thread Jeronimo Romero

Running FreeBSD 4.9 release on IBM R30 Laptop.installed realaudio player
8 from ports. works great. But sometimes I get following error:

"Cannot Open Audio Device. Another Application may be using it." I
almost always seem to get this message after turning on gaim (gnome
aim).  tried running lsof to see what was holding up audio device but
could not find anything. Anyone have any ideas. I'm not on the list so
please cc if you don't mind. Thanks. 

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


Which compiler is used for ISO binaries?

2004-04-10 Thread Seunghun T. Lee
Hello,

I was just wondering which compiler is used to compile the binaries
on the freebsd iso's. I am holding out from upgrading until it is
compiled with gcc3 preferably gcc3.3. I remember it was a big deal
when RH linux was shipped compiled with gcc3 and advertised speed
increase. I'm currently on freebsd 5.0p4 current or something like
that. I'm intrigued by ATAng, since the only way i'm getting the ata
drives to spindown is with a patch i found online.

also, 5.3R's release date is "TBD 2004." What's TBD stand for?

frankly, is 5.3R worth waiting for? or should i go with 5.2.1? 
This is my very first freebsd install (started with 5.0R when it
just came out) and I don't think I took very good care of it. ports
building are failing left and right, for one. It's acting as my
household all-purpose server for the family as well as my personal
desktop, so I left it alone all this while. I'm itching to start
fresh with the knowledge i gained about freebsd.

Lastly, does anybody have any personal experience with freebsd nfs
server and mac os x nfs client? more specifically, how to map uid
and gid?

thanks in advance

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


Re: nForce2 Soundstorm on 5.2.1 Release

2004-04-10 Thread Kevin D. Kinsey, DaleCo, S.P.
Casey wrote:

Hello,



Also, on a completely unrelated note, how do you get the mouse scroll 
wheel to work?  I've got a Microsoft Optical mouse(PS/2) and while I 
can use the wheel as a middle button, the scroll function doesn't seem 
to help.

   Thank you
 Casey


Hi, Casey!

Check the FAQ  --- if you are on your FBSD system,
is should be in /usr/share/doc/en/books/faq, but it
might be easier to find from www.freebsd.org
I'm sure there's a FAQ called "I've got a mouse with
a fancy wheel" or something like that 
Good luck!

Kevin Kinsey

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


Re: Tracerouting

2004-04-10 Thread Kevin D. Kinsey, DaleCo, S.P.
Jeff Coleman wrote:

I have a Dlink 614 + router I use on my network using roadrunner as my
isp
I am running 5.2 freebsd
I installed the MTR package and it can resolve names when it runs
Ping works fine, and using Links text browser I can access the net.
Traceroute itself however will not resolve names of hops past the dlink
router.
 

A post on this list, I think earlier today, talked about this.
The router probably doesn't pass the proper type of ICMP
packets back to you, but I can't say for sure 
Also. how does one rename or alias to programs that have been installed
to make them easier to run?
 

Well, it's not usually necessary, because the program names
in 'Nix are notoriously short ("ls", "cp", "mv", "rm", "cat", etc).
However, for the current session, "alias myalias someprogram" will
work.
For *every* session, you should put the aliases in your resource
file (.profile for sh/bash, .cshrc for csh/tcsh).
Several are already set up.  You can list the aliases
present in the current environment by using "alias"
with no arguments, but I'd recommend looking at the
stock .profile or .cshrc so you can learn a thing or two.
Note that I've set up, somewhat in jest, a set of
"Win User Aliases", a metasyntactic joke ;-) , and
some stuff for userland ppp.
<[EMAIL PROTECTED]> [/etc] 
[23:28] 
%

<[EMAIL PROTECTED]> [/etc] 
[23:37] 
% grep alias /root/.cshrc
alias h history 25
alias j jobs -l
alias lsls -FG
alias lals -a
alias lfls -FA
alias llls -lAFG
alias mail  mutt
alias pico  nano
alias dir   ls
alias rmrm -i
alias mewhoami
alias a:"mount_msdosfs /dev/fd0 /floppy && cd /floppy && ls -l"
alias tm/usr/local/textmaker5/textmaker/tm
alias upping -t2 yahoo.com
alias dial  ppp -nat -background myisp
alias undial"source /root/.cshrc && /bin/kill -9 `cat 
/var/run/tun0.pid`"
alias cls   clear
alias foo   echo "bar is the answer!"


Thanks in advance from a newbie
 

You're welcome.  Welcome to FreeBSD!

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


AGP Probe problems (5.2.1/5.2/4.9)

2004-04-10 Thread nathan swenson
Hi,

I'm trying to install FreeBSD for the first time, but I've run into a
problem. I have tried 4.9, 5.2, and 5.2.1. There are a couple of symptoms
for what I think are the same problem.
1. On booting from the CD, during the machine hangs after the following
message (I'm guessing it is probing the hardware):
agp0:  mem 0-0x at
device 0.0 on pci0
The same thing happens regardless of which boot option I choose (regular,
no ACPI, safe, etc).
So I couldn't install from CD. After some experimentation, I ended up
booting from the floppy images (apparently the floppy images don't do the
same stuff to probe the hardware). I was able to install just fine this
way.
But when I booted the machine after the install completed, I get the same
message.
Can anyone help me? I would really like to use FreeBSD on this machine.

The hardware is:
HP NetServer e60
dual P3-500
256mb ram
SCSI and IDE drives
I have successfully used Linux (2.2 and 2.4 kernels, RedHat), Solaris, and
Windows 2000 on this hardware. The AGP implementation may be buggy on the
hardware, but these other OSes work ok.
Any ideas?

Thanks,
Nate Swenson
_
Persistent heartburn? Check out Digestive Health & Wellness for information 
and advice. http://gerd.msn.com/default.asp

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


enabling splash screen delays booting

2004-04-10 Thread Tadimeti Keshav
hi all,
I wanted to have an image flash up on the screen
instead of having to watch lines scroll on the screen
when the system boots up.

(device splash is enabled in GENERIC by default)
SO I did:
1.kldload splash_bmp
2.then copied a BMP file(PEA.bmp) to /boot/kernel
3. to /boot/loader.conf
   3.1 splash_bmp_load="YES"
   3.2 bitmap_load="YES"
   3.3 bitmap_name="PEA.bmp"

(as I am writing this mail away from the BSD m/c, I
realise that I am not sure the BMP is 320*200 & is
probably more than 256 colours)

When I rebooted, all I saw was text, then the BSD
devil (beastie) and then text again. Since I did not
see my desired BMP, I kldunload'ed the splash_bmp, and
commented out the lines from /boot/loader.conf

BSD "beastie" is not my default screen saver - green
saver is.

Now when I reboot the m/c, all I get is a blank screen
(probably my current GREEN screen saver) instead of
the BSD devil.

Why is the screen saver getting picked up now that
SPLASH has been disabled? Or is there some other
problem?

Any help will be appreciated. TIA
rgds,

=
-- K E S H A V  T A D I M E T I --






Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


nForce2 Soundstorm on 5.2.1 Release

2004-04-10 Thread Casey
Hello,

   I have an Asus A7N8X Deluxe motherboard, which has a nVidia 
Soundstorm audio chipset on it.  However, I can't seem to get this 
chipset to detect in 5.2.1 Release, no matter what I try.  Being 
relatively new to FreeBsd, I don't really know that many ways to go 
about trying to get it to detect.  I was hoping someone out there might 
be able to tell me something to try, or at least confirm for me that 
this chipset doesn't currently have a driver that works, so I can stop 
banging my head against the wall.

Also, on a completely unrelated note, how do you get the mouse scroll 
wheel to work?  I've got a Microsoft Optical mouse(PS/2) and while I can 
use the wheel as a middle button, the scroll function doesn't seem to help.

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


Re: Can't *write* to a hard disk, not even a slice using fdisk(8).

2004-04-10 Thread Malcolm Kay
On Sunday 11 April 2004 07:15, Julien Gabel wrote:

> I want to say that it is a mirror created with a hardware HighPoint HPT374
> (channel 2+3) UDMA133 controller ; not created using software, like vinum
> for example.
>
> >> - But when I tried to create a slice on it, I get:
> >>   # fdisk -BI ad10
> >>   *** Working on device /dev/ad10 ***
> >>   fdisk: can't write fdisk partition table: Operation not permitted

> There is no partition mounted on it because the miror is actually breack,
> so this disk is totally not used at this time.
>
> Before that, a /home was mounted on the device corresponding to the mirror,
> i.e. /dev/ar1 (which was made from /dev/ad8 + /dev/ad10). Actually, and
> because I had some activity on this machine, I made the /home partition
> available under the /dev/ad8 device alone, which is the other identical
> disk which previously formed the mirror and works like a charm.

I take it that you are still trying to manage ad10 through the RAID capable
controller.

No real information but I would guess the controller is still seeing 
information on the drive ad10 which ties it in with some other disk for RAID.

If you have a regular on board ATA interface I'd try plugging the drive in 
there (you can do it with all other drives removed for safety) and then try 
to initialise using an installation CD. If that works I imagine you can put
every thing back in your prefered configuration and continue.

Malcolm


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


Re: Can't *write* to a hard disk, not even a slice using fdisk(8).

2004-04-10 Thread Joan Picanyol i Puig
On Sun, 11 Apr 2004 00:45:14 +0200, Julien Gabel wrote:
>> GEOM doesn't let you touch the disk if some partition is mounted off it.
>> Try setting kern.geom.debugflags to 1

I suck. This should have said:

GEOM doesn't let you write to an active device, except if you set
kern.geom.debugflags=16

> I changed the sysctl's flag :
>  # sysctl kern.geom.debugflags=1
>  kern.geom.debugflags: 0 -> 1

so this should be 16 not 1

>  # mount
>  /dev/ar0s1a on / (ufs, local)
>  devfs on /dev (devfs, local)
>  /dev/ad8s1d on /home (ufs, local, nodev, noexec, nosuid, with quotas,
> soft-updates)
>  /dev/ar0s1e on /tmp (ufs, local, nodev, nosuid, soft-updates)
>  /dev/ar0s1f on /usr (ufs, local, soft-updates)
>  /dev/ar0s1d on /var (ufs, local, noexec, soft-updates)

If ad8 is part of ar0 GEOM will try to keep you from shooting yourself on
the foot. You should take ad8 out of the array first.

 
> Because the problematic disk is not actually used, I can try some commands
> on it if someone think it may be interesting.

On the hardware side, you should look for some diagnostic tool from the
manufacturer.

qvb
-- 
pica


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


Re: GPL: implications for FreeBSD-on-hardware for sale?

2004-04-10 Thread Paul A. Hoadley
On Sat, Apr 10, 2004 at 11:04:46AM -0700, Gary W. Swearingen wrote:

> We all use loose language like that, but a "software seller" should
> keep in mind that usually he's really doing two things: publishing
> (or at least distributing) copies of the software and licensing use
> of the software.  The GPL seems to permit charging anything for the
> publishing (but see clause 3b for an exception) while prohibiting
> any charge for the licensing (but see the clauses which require fees
> in the form of cross-licensing some derivative works).  I have no
> idea how it's legally permissible to say that your one "bundle"
> price only applies to the publishing and not the licensing, but I've
> never heard that any publishers or licensors worry about it.

Now this is more like the kind of complexity I was expecting.  :-)

> Also remember that not only the chunks of software like "readline"
> carry licensed and sub-licensable copyrights, but that your
> arrangment of the chunks as the collection that you publish (your
> product) is copyrightable, and a careful buyer will want a license
> for that too, which must (per the GPL) be compatible with the GPL.
> (The GPL does, of course, allow distribution with closed-source
> software.  I think the GPL's "further restrictions" clause should be
> a problem here, but I'm not aware that any GPL licensor has
> complained about any "further restrictions" in such kinds of GPL
> derivatives as your product will be.)

Maybe some more specifics would be helpful.  The application is a web
application.  It may or may not end up open source, but it will be for
sale, and I don't want it to inherit a restrictive license.

It uses some PHP (Open Publication License), is served by Apache
(Apache Software License), and is backed by PostgreSQL (BSD license).
Currently I'm using a PHP template engine called Smarty (LGPL).  Here,
my application would be a 'work that uses the library'.

So I don't think my application is a derivative work of any of these.

> > Would it be arguable that I was, in fact, selling only the
> > hardware and my own software application, and giving away the
> > (GPL- and BSD-licensed) open source software for free?
> 
> I'll have to refer you to a lawyer.  Maybe it depends upon what the
> sales contract says.  Maybe not.  Or maybe if you have no right to
> sell licenses for a fee, then it's implied that you're not selling
> it.

I'll have to look into it further.

> But it's easy to get too wrapped up in worrying about technicalities
> that most people seem happy to ignore.

Excellent point.  :-)  (But, then, I don't want to be a test case
either.  :-)

> Good question; I've not seen this bundling issued discussed before.

It must have arisen somewhere---people have done this before.  I'll
search harder...  Thanks for the input, Gary.


-- 
Paul.

mailto:[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


RE: Off topic but sendmail help needed

2004-04-10 Thread Rob
Yeah, I believe it's 4.4 and I've been on this server for years. They are
supposed to take care of the upgrades but they never do. I would do it
myself but if anything goes wrong they charge to fix it and so I've pretty
much left it alone up until now. I'll probably end up switching providers in
a few weeks so I may have a shot at the upgrades next weekend.

-Original Message-
From: Warren Block [mailto:[EMAIL PROTECTED]
Sent: Saturday, April 10, 2004 6:23 PM
To: Rob
Cc: [EMAIL PROTECTED]
Subject: RE: Off topic but sendmail help needed


On Sat, 10 Apr 2004, Rob wrote:

> That's really strange then. The Makefile is right there in the /etc/mail
> directory and this is what it looks like:

> # $FreeBSD: src/contrib/sendmail/etc.mail/Makefile,v 1.1 2000/07/07
21:06:52
> qzhou Exp $

That's really old.  And it's telling you the truth--it doesn't have an
"install" target.  This suggests that it's time to cvsup to 4.9, or at
least something later than what you have.  What release is it, maybe 4.4
or so?

-Warren Block * Rapid City, South Dakota USA

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


RE: Off topic but sendmail help needed

2004-04-10 Thread Rob
It does nothing at all, just right back to the prompt. I think Warren has
found the answer to the problem.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Viktor Lazlo
Sent: Saturday, April 10, 2004 6:36 PM
To: Rob
Cc: [EMAIL PROTECTED]
Subject: RE: Off topic but sendmail help needed


Yes, I just have never seen that error message before unless I was
attempting to run make outside of /etc/mail.

What does it tell you when you just do "make"?

Cheers,

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

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


Tracerouting

2004-04-10 Thread Jeff Coleman
I have a Dlink 614 + router I use on my network using roadrunner as my
isp

I am running 5.2 freebsd
I installed the MTR package and it can resolve names when it runs
Ping works fine, and using Links text browser I can access the net.

Traceroute itself however will not resolve names of hops past the dlink
router.

Also. how does one rename or alias to programs that have been installed
to make them easier to run?

Thanks in advance from a newbie

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


Re: spam in an inbox.

2004-04-10 Thread Eduardo Viruena Silva
On Sat, 10 Apr 2004, albi wrote:

> On Sat, 10 Apr 2004 15:03:09 -0500 (CDT)
> Eduardo Viruena Silva <[EMAIL PROTECTED]> wrote:
>
> > I have a system that uses procmail & spamassassing to filter spam, but
> > there is an old account of a friend of mine that had not activated
> > its filter and received a lot of spam messages.
> >
> > Now, we have his inbox and about 9000 messages which are spam and
> > messages he wants to read.
> >
> > Is it possible now to filter the already received messages and
> > discard the spam from them?
> >
> > How can I do that?
>
> hi, take a look at the manual-page of "formail", it's part of procmail
> afaik, a Google-search for "formail filter" might help
>
> HTH,GL
>

Thanks, something like:

formail -s procmail -m .procmailrc < inbox

did the job.

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


Re: java

2004-04-10 Thread Jonathan Chen
On Sun, Apr 11, 2004 at 06:06:53AM -0500, nathan owens wrote:
> Should i get 4.9 or 5.2.1 if i want java?

Java 1.4 is officially supported on 4.9, but it should work on 5.2.1
with a couple of tweaks.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
---
"I love deadlines. I like the whooshing sound they make as they fly by"
- Douglas Adams
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Bandwidth tracking/monitoring on Freebsd

2004-04-10 Thread Jorge Mario G.
Hi there

I use IP Accouting
It does that and whole lot more, like quotas,
reminders and stuff like that

http://ipa-system.sourceforge.net/

_
Do You Yahoo!?
Información de Estados Unidos y América Latina, en Yahoo! Noticias.
Visítanos en http://noticias.espanol.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


java

2004-04-10 Thread nathan owens
Should i get 4.9 or 5.2.1 if i want java?

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


gbde: total_sectors disagree

2004-04-10 Thread Maarten
Hi,

I wanted to toy around with an encrypted drive, so I added the GEOM_BDE option to my 
5.2.1-P4 kernel and installed a 40Gb Maxtor I had laying around in an old Compaq PII.
Now, all is well, until I try to initialize the drive:

$ gbde init ad2s1c -L /etc/gbde/ad2s1c.lock   
gbde: total_sectors disagree with first_sector and last_sector

Any idea what's going wrong?

Regards,
-- 
Maarten de Vries

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


RE: Off topic but sendmail help needed

2004-04-10 Thread Viktor Lazlo
On Sat, 10 Apr 2004, Rob wrote:

> Yes. Is this correct?
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Viktor Lazlo
> Sent: Saturday, April 10, 2004 5:40 PM
> To: Rob
> Cc: [EMAIL PROTECTED]
> Subject: RE: Off topic but sendmail help needed
>
>
> On Sat, 10 Apr 2004, Rob wrote:
>
> > Thanks for the help,
> >
> > I have got my mc file all ready to go with the dnsbl lines I need, but
> when
> > I try to make I get this error:
> >
> > make: don't know how to make install. Stop
> >
>
> Are you attempting to run this from /etc/mail?
>
> Cheers,
>
> Viktor

Yes, I just have never seen that error message before unless I was
attempting to run make outside of /etc/mail.

What does it tell you when you just do "make"?

Cheers,

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


RE: Off topic but sendmail help needed

2004-04-10 Thread Warren Block
On Sat, 10 Apr 2004, Rob wrote:

> That's really strange then. The Makefile is right there in the /etc/mail
> directory and this is what it looks like:

> # $FreeBSD: src/contrib/sendmail/etc.mail/Makefile,v 1.1 2000/07/07 21:06:52
> qzhou Exp $

That's really old.  And it's telling you the truth--it doesn't have an
"install" target.  This suggests that it's time to cvsup to 4.9, or at
least something later than what you have.  What release is it, maybe 4.4
or so?

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


5.2.1 FTP install over ISDN com-port ppp

2004-04-10 Thread Srdjan Kupresanin
Hi! 
 
I am a new addition to the FreeBSD community and don't even have a working
installation yet. Please help with that, as I tried all other resources on
the net (or at least I think I did).
 
Anyway, I am trying to install 5.2.1 over FTP (I have downloaded the
bootable CD image) and when I connect to my ISP through my ISDN TA on com1
and using ppp PAP/CHAP, the connection gets established, but then the
installation tries to establish IPv6 protocol, which gets rejected. It loops
three times, and then stalls indefinitely.
 
If you need more info, I'd be happy to provide.
 
Please help!
 
Thanks a mil.
 
Srdjan - baboo
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Networking Questions

2004-04-10 Thread Bob Johnson
On Saturday 10 April 2004 01:54 pm, Rob G <"Rob G" 
<[EMAIL PROTECTED]>> wrote:
> Hi All,
>
> I am new to the list, but I have tried researching the archives and
> couldn't find exactly what I am looking for and would like your
> opinion on how to do this:
>
> I have a 4Meg DSL connection with Multiple Static IPs.
>
> 69.63.33.### is my main IP that my router or System that does
> authentication will always get.
>
> 209.213.231.###/29 is my block of 8 other IP's that route to my main
> IP.
>

If your ISP is already routing these numbers to your main IP, then it 
should be easy.

> Right now I have my fsb box running mail/web and other services and I
> would like it to do the routing for my internal network of 4 or so
> computers.  I have a Hub that I can plug these other systems in to so
> that is not a problem.
>

I believe all you need to do is set gateway_enable="YES" in rc.conf (and 
reboot -- I don't know the manual way to accomplish that).  I think 
your box will automatically figure out which IP numbers are on which 
interface, and forward appropriately.  If not, you will need to set up 
a static route to tell it which interface the 209.../29 subnet is on, 
since it won't use the default gateway to the Internet.  Manually, you 
use the route(8) command to do this.  I think you can automate it with 
the static_routes="" entry in rc.conf, but I don't know the syntax.

> What would be the best way to use my block of statics and have them
> Route properly through my BSD box.  I would like to stay away from
> NAT as I know it right now, broadband router, as it causes havoc with
> my filesharing programs and would like to have my other systems
> pretty much open to the internet and then start locking them down as
> need be once I get them seeing the outside world and the outside
> world seeing them.

You shouldn't need to run a real router daemon for this simple 
situation, so you don't need to mess with router_enable in rc.conf.

Now that I've typed all this, it occurs to me that the better answer is 
for you to read the appropriate section of the FreeBSD Handbook:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-routing.html

>
> Regards,
> Rob G
> [EMAIL PROTECTED]

Good luck.

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


RE: Off topic but sendmail help needed

2004-04-10 Thread Rob
Yes. Is this correct?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Viktor Lazlo
Sent: Saturday, April 10, 2004 5:40 PM
To: Rob
Cc: [EMAIL PROTECTED]
Subject: RE: Off topic but sendmail help needed


On Sat, 10 Apr 2004, Rob wrote:

> Thanks for the help,
>
> I have got my mc file all ready to go with the dnsbl lines I need, but
when
> I try to make I get this error:
>
> make: don't know how to make install. Stop
>
> I've been going around in circles with this all day and it's making me
nuts.

Are you attempting to run this from /etc/mail?

Cheers,

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

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


Re: Can't *write* to a hard disk, not even a slice using fdisk(8).

2004-04-10 Thread Julien Gabel
>> Here is my problem. I had a hard disk for one year now, working together
>> with an other identical disk in a _hard_ mirror.

> What's a '_hard_ mirror'? How did you set it up?

I want to say that it is a mirror created with a hardware HighPoint HPT374
(channel 2+3) UDMA133 controller ; not created using software, like vinum
for example.

>> - But when I tried to create a slice on it, I get:
>>   # fdisk -BI ad10
>>   *** Working on device /dev/ad10 ***
>>   fdisk: can't write fdisk partition table: Operation not permitted

> GEOM doesn't let you touch the disk if some partition is mounted off it.
> Try setting kern.geom.debugflags to 1

There is no partition mounted on it because the miror is actually breack,
so this disk is totally not used at this time.

Before that, a /home was mounted on the device corresponding to the mirror,
i.e. /dev/ar1 (which was made from /dev/ad8 + /dev/ad10). Actually, and
because I had some activity on this machine, I made the /home partition
available under the /dev/ad8 device alone, which is the other identical
disk which previously formed the mirror and works like a charm.

I changed the sysctl's flag :
 # sysctl kern.geom.debugflags=1
 kern.geom.debugflags: 0 -> 1

But when I try :
 # fdisk -BI ad10
 *** Working on device /dev/ad10 ***
 fdisk: can't write fdisk partition table: Operation not permitted

I just get these messages via syslog :
 # tail -8 /var/log/messages
 Apr 10 23:39:04 bento kernel: g_slice_config(ad10, 0, 0)
 Apr 10 23:39:04 bento kernel: g_slice_config(ad10, 1, 0)
 Apr 10 23:39:04 bento kernel: g_slice_config(ad10, 2, 0)
 Apr 10 23:39:04 bento kernel: g_slice_config(ad10, 3, 0)
 Apr 10 23:39:04 bento kernel: g_slice_config(ad10, 0, 1)
 Apr 10 23:39:04 bento kernel: g_slice_config(ad10, 1, 1)
 Apr 10 23:39:04 bento kernel: g_slice_config(ad10, 2, 1)
 Apr 10 23:39:04 bento kernel: g_slice_config(ad10, 3, 1)

>> 3/ Anything else to say to diagnose my problem?

> Please show us /etc/fstab and the output of mount

 # grep /home /etc/fstab
 #/dev/ar1s1d   /home   ufs   rw,nosuid,nodev,noexec,userquota   2   2
 /dev/ad8s1d/home   ufs   rw,nosuid,nodev,noexec,userquota   2   2

 # mount
 /dev/ar0s1a on / (ufs, local)
 devfs on /dev (devfs, local)
 /dev/ad8s1d on /home (ufs, local, nodev, noexec, nosuid, with quotas,
soft-updates)
 /dev/ar0s1e on /tmp (ufs, local, nodev, nosuid, soft-updates)
 /dev/ar0s1f on /usr (ufs, local, soft-updates)
 /dev/ar0s1d on /var (ufs, local, noexec, soft-updates)

Because the problematic disk is not actually used, I can try some commands
on it if someone think it may be interesting.

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


RE: Off topic but sendmail help needed

2004-04-10 Thread Viktor Lazlo
On Sat, 10 Apr 2004, Rob wrote:

> Thanks for the help,
>
> I have got my mc file all ready to go with the dnsbl lines I need, but when
> I try to make I get this error:
>
> make: don't know how to make install. Stop
>
> I've been going around in circles with this all day and it's making me nuts.

Are you attempting to run this from /etc/mail?

Cheers,

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


RE: Off topic but sendmail help needed

2004-04-10 Thread Rob
That's really strange then. The Makefile is right there in the /etc/mail
directory and this is what it looks like:


# $FreeBSD: src/contrib/sendmail/etc.mail/Makefile,v 1.1 2000/07/07 21:06:52
qzhou Exp $

all: access.db mailertable.db virtusertable.db catchall.db aliases.db

access.db: access
/usr/sbin/makemap hash access < access

virtusertable.db: virtusertable
/usr/sbin/makemap hash virtusertable < virtusertable

catchall.db: catchall
/usr/sbin/makemap hash catchall < catchall

mailertable.db: mailertable
/usr/sbin/makemap hash mailertable < mailertable

aliases.db: aliases
newaliases

mailertable:
@echo Generating empty mailertable
sed -e 's/^/#/' < mailertable.sample > mailertable

access:
@echo Generating empty access
sed -e 's/^/#/' < access.sample > access

virtusertable:
@echo Generating empty virtusertable
sed -e 's/^/#/' < virtusertable.sample > virtusertable

catchall:
@echo Generating empty catchall
sed -e 's/^/#/' < catchall.sample > catchall

clean:
rm -f access.db virtusertable.db mailertable.db catchall.db

-Original Message-
From: Warren Block [mailto:[EMAIL PROTECTED]
Sent: Saturday, April 10, 2004 5:28 PM
To: Rob
Cc: [EMAIL PROTECTED]
Subject: RE: Off topic but sendmail help needed


On Sat, 10 Apr 2004, Rob wrote:

> Thanks for the help,
>
> I have got my mc file all ready to go with the dnsbl lines I need, but
when
> I try to make I get this error:
>
> make: don't know how to make install. Stop
>
> I've been going around in circles with this all day and it's making me
nuts.
> :-)

That would mean the Makefile is gone or overwritten, or you're not
in /etc/mail when you try it.  Here's the version comment from mine:

# $FreeBSD: src/etc/mail/Makefile,v 1.9.2.25 2003/07/12 23:23:46 gshapiro
Exp $

-Warren Block * Rapid City, South Dakota USA

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


RE: Off topic but sendmail help needed

2004-04-10 Thread Warren Block
On Sat, 10 Apr 2004, Rob wrote:

> Thanks for the help,
>
> I have got my mc file all ready to go with the dnsbl lines I need, but when
> I try to make I get this error:
>
> make: don't know how to make install. Stop
>
> I've been going around in circles with this all day and it's making me nuts.
> :-)

That would mean the Makefile is gone or overwritten, or you're not
in /etc/mail when you try it.  Here's the version comment from mine:

# $FreeBSD: src/etc/mail/Makefile,v 1.9.2.25 2003/07/12 23:23:46 gshapiro Exp $

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


RE: Off topic but sendmail help needed

2004-04-10 Thread Rob
Thanks for the help,

I have got my mc file all ready to go with the dnsbl lines I need, but when
I try to make I get this error:

make: don't know how to make install. Stop

I've been going around in circles with this all day and it's making me nuts.
:-)


-Original Message-
From: Warren Block [mailto:[EMAIL PROTECTED]
Sent: Saturday, April 10, 2004 5:17 PM
To: Rob
Cc: [EMAIL PROTECTED]
Subject: Re: Off topic but sendmail help needed


On Sat, 10 Apr 2004, Rob wrote:

> I have a freebsd box that was configured by Interland. They offer no
support
> on sendmail configuration and I would like to add some of the dnsbl lists
to
> stop some of the spam received by the server.

The FreeBSD /etc/mail/Makefile makes this pretty easy.

Edit the /etc/mail/hostname.mc file.  If you don't have one, I think the
first make will create it.  Add this type of line for the DNSBLs you
want to use (warning: one long line):

FEATURE(`dnsbl', `list.dsbl.org', `"554 Mail from " $&{client_addr} "
rejected, site listed on http://www.dsbl.org";')

Important note: please don't use any DNSBL without at least reading
their policies.  Misunderstanding are way too easy to make.

Then do a 'make all install restart' and it's done.

-Warren Block * Rapid City, South Dakota USA

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


Re: Can't *write* to a hard disk, not even a slice using fdisk(8).

2004-04-10 Thread Joan Picanyol i Puig
On Sat, 10 Apr 2004 15:22:16 +0200, Julien Gabel wrote:

> Hello,
> 
> Here is my problem. I had a hard disk for one year now, working together
> with an other identical disk in a _hard_ mirror.
What's a '_hard_ mirror'? How did you set it up?

> - But when I tried to create a slice on it, I get:
>   # fdisk -BI ad10
>   *** Working on device /dev/ad10 ***
>   fdisk: can't write fdisk partition table: Operation not permitted
GEOM doesn't let you touch the disk if some partition is mounted off it.
Try setting kern.geom.debugflags to 1
 
> 3/ Anything else to say to diagnose my problem?
Please show us /etc/fstab and the output of mount

qvb
-- 
pica


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


Re: Off topic but sendmail help needed

2004-04-10 Thread Warren Block
On Sat, 10 Apr 2004, Rob wrote:

> I have a freebsd box that was configured by Interland. They offer no support
> on sendmail configuration and I would like to add some of the dnsbl lists to
> stop some of the spam received by the server.

The FreeBSD /etc/mail/Makefile makes this pretty easy.

Edit the /etc/mail/hostname.mc file.  If you don't have one, I think the
first make will create it.  Add this type of line for the DNSBLs you
want to use (warning: one long line):

FEATURE(`dnsbl', `list.dsbl.org', `"554 Mail from " $&{client_addr} " rejected, site 
listed on http://www.dsbl.org";')

Important note: please don't use any DNSBL without at least reading
their policies.  Misunderstanding are way too easy to make.

Then do a 'make all install restart' and it's done.

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


RE: Off topic but sendmail help needed

2004-04-10 Thread J.D. Bronson
At 04:07 PM 4/10/2004, you wrote:
Yeah, I tried that... I just got an 'unable to make" error.

At this point, postfix is looking very attractive.
Postfix is very easy to install and configure. Sendmail is not for the 
faint of heart. However, once you learn how to use m4 to make sendmail.cf 
it really becomes trivial. This seems to be the most difficulty people end 
up having.

Perhaps a post to the sendmail newsgroup (or google) could help.

I personally dont use ports or packages - as I compile everything from 
scratch...so I wont be the best person to ask.

But seriously, it is not all that difficult.

If you dont have time, postfix is an excellent alternate MTA.

 -Jeff 

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


Re: problems with Mutt and esmtp

2004-04-10 Thread Ross A. Beyer
> > I'm having a problem getting the Mutt and esmtp programs to work
> > together.  What happens is that when I run Mutt and hit send, Mutt
> > will just hang forever displaying its "Sending message..." message.
> > I think that it might be something to do with the sending of the
> > control character signalling the end of message, but I don't know
> > for sure.
>
>You might use the ``tcpflow'' program to look at the traffic between
>mutt and the mail server.  Tcpflow uses a command syntax virtually
>identical to tcpdump, but splits out each connection into separate
>files making it much easier to look at the converstation.

Bill,

Thanks for your reply, but I guess I don't understand how that would
help me.  My problem is not inter-machine communication, it seems
to be inter-process communication.  Both Mutt and esmtp work
independently of each other.  I can have Mutt use the local sendmail
and it works fine.  I can run esmtp from the command line locally
(presumably just like Mutt would) and it happily creates an SSH
tunnel to the remote server, and talks to the sendmail daemon there,
and delivers.  However, when I have 'set sendmail="/usr/local/bin/esmtp"'
in my ~/.mutt/muttrc Mutt just hangs trying to send the mail, no
error message, nothing.

Perhaps I'm not understanding how tcpflow would help me diagnose
what things are being traded between these two programs running
locally.

I know that tons of people must be using Mutt & esmtp together just
fine.  Is there a particular config variable that I didn't set, a
peculiarity that I'm not taking into account, or something about
FreeBSD or my shell (tcsh) that is intercepting a control character
or something?
-- 
 Ross

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


RE: Off topic but sendmail help needed

2004-04-10 Thread Rob
Yeah, I tried that... I just got an 'unable to make" error.

At this point, postfix is looking very attractive.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Saturday, April 10, 2004 4:42 PM
To: Rob
Cc: [EMAIL PROTECTED]
Subject: Re: Off topic but sendmail help needed


> Can someone point me in the right direction so I can get this working.

Just use the Makefile in /etc/mail (or switch to postfix, cough).

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


Re: Off topic but sendmail help needed

2004-04-10 Thread jan . muenther
> Can someone point me in the right direction so I can get this working.

Just use the Makefile in /etc/mail (or switch to postfix, cough).
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Off topic but sendmail help needed

2004-04-10 Thread Rob
I have a freebsd box that was configured by Interland. They offer no support
on sendmail configuration and I would like to add some of the dnsbl lists to
stop some of the spam received by the server.

I have looked over the sendmail.org site and now I think I'm even dumber
that I was before.

I have tried all kinds of iterations of:

/m4 /etc/mail/freebsd.mc > sendmail.cf

and have had no luck in generating a working sendmail.cf file. My current
sendmail.cf file is 45k ish and every time I attempt generating a new one it
never gets above .5k. I am using the freebsd.mc file they told me I needed
to use.

Can someone point me in the right direction so I can get this working.

Thanks.

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


Re: Bandwidth tracking/monitoring on Freebsd

2004-04-10 Thread Chuck Swiger
Dragoncrest wrote:
Hi all.  Got a question.  I got a box on my network that I'd like to be
able to track bandwidth usage on.  Just to see how much traffic is
passing through it in a one month period and daily over a 24 hour
period.  Is there some kind of application I can use to log total bytes
sent and total bytes recieved?  I don't need to know specifically WHAT
was sent, but rather HOW MUCH of it was sent.  [ ... ]
Try something like the following IPFW rules, replacing IIF with the name of 
the network interface you want to pay attention to:

add pipe 11 tcp from any to any in via IIF
add pipe 11 udp from any to any in via IIF
add pipe 11 ip from any to any in via IIF
pipe 11 config queue 60
add pipe 12 tcp from any to any out via IIF
add pipe 12 udp from any to any out via IIF
add pipe 12 ip from any to any out via IIF
pipe 12 config queue 60
The normal periodic processing ought to cause these stats to be reset daily. 
This really is the easiest way of accomplishing what you've asked for, but:

What is the easiest way to do this short of setting up IPFW and doing a
kernel compile and all that nasty stuff.  Any suggestions will be welcome.
...another approach would be to run 'netstat -s' on a daily basis, parse the 
output, and subtract values to obtain daily deltas.  You'd have to write 10-20 
lines of shell code using grep and awk, or use Python or Perl to do the task.

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


Re: Bandwidth tracking/monitoring on Freebsd

2004-04-10 Thread Martin Hudec
Hello,

There is MRTG (/usr/ports/net-mgmt/mrtg) for constant monitoring
of inbound/outbound traffic, data are also available in graph format.
Or you can try ntop (/usr/ports/net/ntop). Or you can write your own script
analyzing data from ipfw counting :). I use mrtg and ntop for monitoring
of my bandwith, and management is satisfied with both. There are more tools,
maybe others might point you to them.


Cheers,

Martin

On Sat, Apr 10, 2004 at 04:20:21PM -0400 or thereabouts, Dragoncrest wrote:
> Hi all.  Got a question.  I got a box on my network that I'd like to be
> able to track bandwidth usage on.  Just to see how much traffic is
> passing through it in a one month period and daily over a 24 hour
> period.  Is there some kind of application I can use to log total bytes
> sent and total bytes recieved?  I don't need to know specifically WHAT
> was sent, but rather HOW MUCH of it was sent.  IE 6 gigs inbound
> traffic, 2 gigs outbound traffic.  It's running Freebsd 4.9 right now. 
> What is the easiest way to do this short of setting up IPFW and doing a
> kernel compile and all that nasty stuff.  Any suggestions will be welcome.

-- 
Martin Hudec| corwin at aeternal.net
| corwin at web.markiza.sk
http://www.aeternal.net | cell +421 907 303 393

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


Re: Portupgrade problem

2004-04-10 Thread Kent Stewart
On Saturday 10 April 2004 01:17 pm, Chuck Swiger wrote:
> Kent Stewart wrote:
> > On Saturday 10 April 2004 12:05 pm, Chuck Swiger wrote:
>
> [ ... ]
>
> > I could do the && thing but I want the log more than I care if it
> > runs or not. I could cut back on some of the tee but I see mail
> > after it runs.
>
> That's OK-- the "&& thing" is mostly useful within a one-liner
> anyway.  Your script already has explicit sequencing of lines anyway
> and does a few more useful things, besides.  :-)

FWIW, the mirror is on a slower machine that 6 other computers use. The 
INDEX files are only built on an AMD 2400+. They are ftp'ed to the 
other machines where I only do the cvsup and create the logs. 

The other machines are only cvsup'ed when necessary. They may go for 
several weeks. When the ports are updated, they are updated from 
packages created on ruby and shared on the other 4.x computers..

I try to keep ruby in such a state that if someone has problems building 
a port, I can test build it on an up todate system. The logs let me 
come close to pin pointing who broke things if it was the committer. 
Cvsuplog makes that easier because it creates an HTML link to the 
cvsweb cgi for the file that was changed.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: spam in an inbox.

2004-04-10 Thread Chuck Swiger
Eduardo Viruena Silva wrote:
Is it possible now to filter the already received messages and
discard the spam from them?
How can I do that?
Hav him open the messages using an MTA which performs it's own spam filtering, 
such as Mozilla or Apple's Mail.app.  Use that MTA to zap and delete the spam, 
and then he can go back to using whatever his normal MTA is...

Of course, I can make a program that decides where each message starts and
where it ends, save it in a file and then filter it with spamassassin and
with the filtered file use grep to find "X-Spam-flag: YES to discard this
message.
I think it is too complicated... Is there an easier solution?
See above.  The other approach would be to install procmail and use formail to 
handle the hard part of splitting the messages up, although I would expect 
that SpamAssassin can be fed an entire mailbox at a time instead...

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


Bandwidth tracking/monitoring on Freebsd

2004-04-10 Thread Dragoncrest
Hi all.  Got a question.  I got a box on my network that I'd like to be
able to track bandwidth usage on.  Just to see how much traffic is
passing through it in a one month period and daily over a 24 hour
period.  Is there some kind of application I can use to log total bytes
sent and total bytes recieved?  I don't need to know specifically WHAT
was sent, but rather HOW MUCH of it was sent.  IE 6 gigs inbound
traffic, 2 gigs outbound traffic.  It's running Freebsd 4.9 right now. 
What is the easiest way to do this short of setting up IPFW and doing a
kernel compile and all that nasty stuff.  Any suggestions will be welcome.

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


Re: Portupgrade problem

2004-04-10 Thread Chuck Swiger
Kent Stewart wrote:
On Saturday 10 April 2004 12:05 pm, Chuck Swiger wrote:
[ ... ]
I could do the && thing but I want the log more than I care if it runs 
or not. I could cut back on some of the tee but I see mail after it 
runs.
That's OK-- the "&& thing" is mostly useful within a one-liner anyway.  Your 
script already has explicit sequencing of lines anyway and does a few more 
useful things, besides.  :-)

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


Re: Portupgrade problem

2004-04-10 Thread Kent Stewart
On Saturday 10 April 2004 12:05 pm, Chuck Swiger wrote:
> Kent Stewart wrote:
> > On Saturday 10 April 2004 07:51 am, Andreas Davour wrote:
> >>Now I think I know how to do these things and after another upgrade
> >> I think I'm ready to at least do the cvsup part using cron.
> >
> > The hardest part of a cron job is finding that magic time after the
> > hour that never fails because your cvsup-mirror is over committed.
> > The mirrors always update on the hour and you have to wait at least
> > 10 minutes for the mirror to finish its cvsup. If you don't, you
> > are getting data from the mirror's previous update.
>
> Try something like:
>
>   cvsup /etc/ports-supfile && portsdb -Uu
>
> ...as your cron job, or else put the commands into a script which you
> run from cron.  The second command will run once the first command is
> finished, so you don't need to worry about the cvsup not finishing
> before doing the portsdb.
>
> [ I don't see a need to automaticly update the ports tree every hour
> from a cvsup mirror: doing so creates 24 cvsup sessions per day per
> machine.  Isn't once a day frequent enough?  :-) ]

I do it twice and cvsup my mirror about every 4 hours. My cronjob fires 
off uports. It is

ruby# cat uports
#! /bin/sh
export 
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin
cd /root/cvsup
cvsup -g -L 2 ports-supfile 2>&1 | tee /var/log/build/ports_cvsup.log

cd /var/log/build

# Now convert the log to html`
cvsuplog < ports_cvsup.log > ports-`date "+%Y%m%d-%H%M"`.html

# Now update the index pages.
cd /usr/ports
#
# make bzip2 backup and save 4 old ones for the days when make index
# is broken
#
rm INDEX.3.bz2
mv INDEX.2.bz2 INDEX.3.bz2
mv INDEX.1.bz2 INDEX.2.bz2
mv INDEX.0.bz2 INDEX.1.bz2
bzip2 -c INDEX > INDEX.0.bz2
#
# make new INDEX
#
make index 2>&1 | tee /var/log/build/make-index-`date 
"+%Y%m%d-%H%M"`.log
portsdb -u

I could do the && thing but I want the log more than I care if it runs 
or not. I could cut back on some of the tee but I see mail after it 
runs.

Kent

-- 
Kent Stewart
Richland, WA

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


spam in an inbox.

2004-04-10 Thread Eduardo Viruena Silva

Hello, FreeBSD gurus!

I have a system that uses procmail & spamassassing to filter spam, but
there is an old account of a friend of mine that had not activated
its filter and received a lot of spam messages.

Now, we have his inbox and about 9000 messages which are spam and
messages he wants to read.

Is it possible now to filter the already received messages and
discard the spam from them?

How can I do that?

Of course, I can make a program that decides where each message starts and
where it ends, save it in a file and then filter it with spamassassin and
with the filtered file use grep to find "X-Spam-flag: YES to discard this
message.

I think it is too complicated... Is there an easier solution?

Thanks in advance.

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


Re: WRITE_DMA failure during install of 5.2.1-RELEASE

2004-04-10 Thread Martin Hudec
Hello Chuck,

well I tried hutils diagnostics utility from samsung site, which
showed up errors (both during selftest or low level format), then I took the
hard drive and put it into another computer, where I was able to run both 
diagnostics and low lever format successfully without any errors.
I took also Western Digital drive and put it into failing computer,
again it was new drive and I went to same errors during diagnostics from
WD utilities..

So I assume that something on mainboard (probably disk controller) is
failing so I will make a complaint to supplier of hardware :)


Thank you..


Cheers,

Martin


On Sat, Apr 10, 2004 at 03:12:37PM -0400 or thereabouts, Chuck Swiger wrote:
> Looks like the hard drive is failing.  You ought to try running a 
> diagnostic scan on it (look for a utility from the vendor's website)...

-- 
=--
:
:. kind regards
:.. Martin Hudec
:.:
:.: :m: +421.907.303393
:.: :@: [EMAIL PROTECTED]
:.: :w: http://www.aeternal.net

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


Re: WRITE_DMA failure during install of 5.2.1-RELEASE

2004-04-10 Thread Chuck Swiger
Martin Hudec wrote:
I am seeing following error during instalation of base system
to / as:
ad0: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=2305439
ad0: FAILURE - WRITE_DMA status=51  error=84 
 LBA=2305439
Looks like the hard drive is failing.  You ought to try running a diagnostic 
scan on it (look for a utility from the vendor's website)...

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


Re: Portupgrade problem

2004-04-10 Thread Chuck Swiger
Kent Stewart wrote:
On Saturday 10 April 2004 07:51 am, Andreas Davour wrote:
Now I think I know how to do these things and after another upgrade I
think I'm ready to at least do the cvsup part using cron.
The hardest part of a cron job is finding that magic time after the hour 
that never fails because your cvsup-mirror is over committed. The 
mirrors always update on the hour and you have to wait at least 10 
minutes for the mirror to finish its cvsup. If you don't, you are 
getting data from the mirror's previous update. 
Try something like:

	cvsup /etc/ports-supfile && portsdb -Uu

...as your cron job, or else put the commands into a script which you run from 
cron.  The second command will run once the first command is finished, so you 
don't need to worry about the cvsup not finishing before doing the portsdb.

[ I don't see a need to automaticly update the ports tree every hour from a 
cvsup mirror: doing so creates 24 cvsup sessions per day per machine.  Isn't 
once a day frequent enough?  :-) ]

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


Re: GPL: implications for FreeBSD-on-hardware for sale?

2004-04-10 Thread Gary W. Swearingen
"Paul A. Hoadley" <[EMAIL PROTECTED]> writes:

> On Sat, Apr 10, 2004 at 09:46:29AM +0100, Matthew Seaman wrote:
>
>> There's no problem with selling GPL'd programs for money.  As the
>> cant goes "Free speech, not free beer".

We all use loose language like that, but a "software seller" should
keep in mind that usually he's really doing two things: publishing (or
at least distributing) copies of the software and licensing use of the
software.  The GPL seems to permit charging anything for the
publishing (but see clause 3b for an exception) while prohibiting any
charge for the licensing (but see the clauses which require fees in
the form of cross-licensing some derivative works).  I have no idea
how it's legally permissible to say that your one "bundle" price only
applies to the publishing and not the licensing, but I've never heard
that any publishers or licensors worry about it.

Also remember that not only the chunks of software like "readline"
carry licensed and sub-licensable copyrights, but that your arrangment
of the chunks as the collection that you publish (your product) is
copyrightable, and a careful buyer will want a license for that too,
which must (per the GPL) be compatible with the GPL.  (The GPL does,
of course, allow distribution with closed-source software.  I think
the GPL's "further restrictions" clause should be a problem here, but
I'm not aware that any GPL licensor has complained about any "further
restrictions" in such kinds of GPL derivatives as your product will
be.)

> Would it be arguable that I was, in fact, selling only the
> hardware and my own software application, and giving away the (GPL-
> and BSD-licensed) open source software for free?

I'll have to refer you to a lawyer.  Maybe it depends upon what the
sales contract says.  Maybe not.  Or maybe if you have no right to
sell licenses for a fee, then it's implied that you're not selling it.

But it's easy to get too wrapped up in worrying about technicalities
that most people seem happy to ignore.

Good question; I've not seen this bundling issued discussed before.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Networking Questions

2004-04-10 Thread Rob G
Hi All,

I am new to the list, but I have tried researching the archives and couldn't
find exactly what I am looking for and would like your opinion on how to do
this:

I have a 4Meg DSL connection with Multiple Static IPs.

69.63.33.### is my main IP that my router or System that does authentication
will always get.

209.213.231.###/29 is my block of 8 other IP's that route to my main IP.

Right now I have my fsb box running mail/web and other services and I would
like it to do the routing for my internal network of 4 or so computers.  I
have a Hub that I can plug these other systems in to so that is not a
problem.

What would be the best way to use my block of statics and have them Route
properly through my BSD box.  I would like to stay away from NAT as I know
it right now, broadband router, as it causes havoc with my filesharing
programs and would like to have my other systems pretty much open to the
internet and then start locking them down as need be once I get them seeing
the outside world and the outside world seeing them.

Regards,
Rob G
[EMAIL PROTECTED]


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


Re: Remote Single User Mode.

2004-04-10 Thread Josh Paetzel
On Sat, Apr 10, 2004 at 10:29:31AM -0700, Bill Campbell wrote:
> On Sat, Apr 10, 2004, Grant Peel wrote:
> >Happy Easter all!
> >
> >Here is an off-the-wall question
> 
> >I have 4 servers in Toronto (I live in London, about 120 miles south). Most
> >admin I can do remotely of course, but I was wondering, if there exists a
> >software/hardware solution that might actually allow one to reboot any one
> >of the machines remotely and alllow access in single user mode. Obviously,
> >that machine would not be accessable via the normal netwrk method, but
> >again, is there a KVM - software that would allow local access in single
> >user mode VIA a network connection to one of the other servers, or the KVM
> >directly?
> 
> I haven't tried this on FreeBSD, but several years ago I had to do some
> single user work on an SCO OpenServer box in Texas.  I had the owner of the
> machine start sshd in single user mode, then I could ssh into the system to
> work.  The SCO box activates the network in single user.  FreeBSD would
> probably require starting network services manually.
> 
> Bill

You might want to look into PC Weasel cards.

Josh Paetzel

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


make buildworld sendmail problem

2004-04-10 Thread Chris Strzelczyk
Hello,

I am trying to upgrade my 4.8 box to 4.9.  A while back I recompiled my
sendmail so that I could run SpamAssasin.  Now when I try to run a make
build world I get the following:

m4 -D_CF_DIR_=/usr/src/etc/sendmail/../../contrib/sendmail/cf/  
/usr/src/etc/sendmail/../../contrib/sendmail/cf/m4/cf.m4
/usr/src/etc/sendmail/freebsd.submit.mc > freebsd.submit.cf
chmod 444 freebsd.submit.cf
make: don't know how to make /etc/mail/ed.mc". Stop
*** Error code 2

Stop in /usr/src/etc.
*** Error code 1

Stop in /usr/src.
*** Error code 1


Do I have to give make buildworld any special flags so it knows how to
compile my current sendmail?

Thank you for any help.

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


Re: Remote Single User Mode.

2004-04-10 Thread Bill Campbell
On Sat, Apr 10, 2004, Grant Peel wrote:
>Happy Easter all!
>
>Here is an off-the-wall question

>I have 4 servers in Toronto (I live in London, about 120 miles south). Most
>admin I can do remotely of course, but I was wondering, if there exists a
>software/hardware solution that might actually allow one to reboot any one
>of the machines remotely and alllow access in single user mode. Obviously,
>that machine would not be accessable via the normal netwrk method, but
>again, is there a KVM - software that would allow local access in single
>user mode VIA a network connection to one of the other servers, or the KVM
>directly?

I haven't tried this on FreeBSD, but several years ago I had to do some
single user work on an SCO OpenServer box in Texas.  I had the owner of the
machine start sshd in single user mode, then I could ssh into the system to
work.  The SCO box activates the network in single user.  FreeBSD would
probably require starting network services manually.

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

``If we got one-tenth of what was promised to us in these acceptance
speeches there wouldn't be any inducement to go to heaven.''
Will Rogers
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Changing the default text size on console session [SOLVED]

2004-04-10 Thread Colin J. Raven
Greetings and thanks/kudos to all respondents on this issue.

The short form of the answer - for the archives - is:

man vidcontrol (yes, really) 

Scroll lock to give some control over screenfuls of stuff that normally
go whizzing by.
(Dunno why I didn't know this, but that's why we ask questions I guess)

So anyway, in alphabetical order (by first name) thanks to:

Charles Allen <[EMAIL PROTECTED]>
David Fleck <[EMAIL PROTECTED]>
Eric F Crist <[EMAIL PROTECTED]>
Josh Paetzel <[EMAIL PROTECTED]>
Malcolm Kay <[EMAIL PROTECTED]>

Regards to all & many thanks,
-Colin


-- 
http://www.fastmail.fm - Send your email first class
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Changing the default text size on console session

2004-04-10 Thread Malcolm Kay
On Sunday 11 April 2004 00:32, Colin J. Raven wrote:
> Hi all!
>
> My question may not be specific to FreeBSD, but can anyone tell me how to
> change the default font size on a console (directly connected monitor)
> session when there is no X running?
>
> I'm used to accessing BSD boxes remotely via Putty, but now I have one at
> home plus a decent size monitor, and the text size is just overwhelming.
> Since you can't page up/down in a console session, it's proving to be
> somewhat of a problem.
>

It is not too clear what you want.
Do you wish to change the font, screen lines etc  through a Putty console;
or on a console displaying on the BSD machine.

In the latter case use vidcontrol -- see the man page. To get much flexibility
you'll need to load the vesa.ko kernel module.

As for scrolling; this is turned on and off by the scroll-lock key.

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


RE: Mounting a NTFS (read-only) disk...

2004-04-10 Thread Ralph M. Los
-Original Message-
From: Josh Paetzel [mailto:[EMAIL PROTECTED] 
Sent: Saturday, April 10, 2004 12:56 PM
To: Ralph M. Los
Cc: [EMAIL PROTECTED]
Subject: Re: Mounting a NTFS (read-only) disk...


On Sat, Apr 10, 2004 at 12:46:41PM -0400, Ralph M. Los wrote:
> Hi,
>   I've got my FreeBSD box as a file-server.  I added in a 60gb
disk I 
> want to copy the data off of, and format for FreeBSD, slice out, etc.

> When I go to /stand/sysinstall and try to label "ad5" (the added 60gb 
> disk), I get an error.  I go to Label, and select "Mount Point" by 
> pressing "m", and get this error:
> 
> Fatal Error: Bogus partition under cursor??? - PRESS ANY KEY TO QUIT
> 
>  after which it promptly throws me back to my prompt, erroring out of 
> sysinstall.  Am I doing something wrong?  Is there a better way to 
> mount that disk read-only for now?
> 
> Thanks all in advance.

not sure if this is what you want, but here's what I 'think' you might
be 
looking for:

mkdir /dos
mount_ntfs -r /dev/ad5s0 /dos

Hope this helps.

Josh Paetzel

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Josh - like a charm.  The -r option didn't work though, complained about
being an illegal option. I guess I'll just try and NOT write to it :)

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


Re: Mounting a NTFS (read-only) disk...

2004-04-10 Thread Josh Paetzel
On Sat, Apr 10, 2004 at 12:46:41PM -0400, Ralph M. Los wrote:
> Hi,
>   I've got my FreeBSD box as a file-server.  I added in a 60gb
> disk I want to copy the data off of, and format for FreeBSD, slice out,
> etc.  When I go to /stand/sysinstall and try to label "ad5" (the added
> 60gb disk), I get an error.  I go to Label, and select "Mount Point" by
> pressing "m", and get this error:
> 
> Fatal Error: Bogus partition under cursor??? - PRESS ANY KEY TO QUIT
> 
>  after which it promptly throws me back to my prompt, erroring out of
> sysinstall.  Am I doing something wrong?  Is there a better way to mount
> that disk read-only for now?
> 
> Thanks all in advance.

not sure if this is what you want, but here's what I 'think' you might be 
looking for:

mkdir /dos
mount_ntfs -r /dev/ad5s0 /dos

Hope this helps.

Josh Paetzel

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


Mounting a NTFS (read-only) disk...

2004-04-10 Thread Ralph M. Los
Hi,
I've got my FreeBSD box as a file-server.  I added in a 60gb
disk I want to copy the data off of, and format for FreeBSD, slice out,
etc.  When I go to /stand/sysinstall and try to label "ad5" (the added
60gb disk), I get an error.  I go to Label, and select "Mount Point" by
pressing "m", and get this error:

Fatal Error: Bogus partition under cursor??? - PRESS ANY KEY TO QUIT

 after which it promptly throws me back to my prompt, erroring out of
sysinstall.  Am I doing something wrong?  Is there a better way to mount
that disk read-only for now?

Thanks all in advance.

-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+  Ralph | Internet Systems & Security   +
+   Boundariez.com   | -"Specializing in Paranoia"-  +
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+  ralph[!at]boundariez[dot!]com |  Never understimate the power +
+AIM: SekurityWizard | stupid people +
+ICQ: 2206039|in large groups+
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 

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


Re: How can I remove this file ?

2004-04-10 Thread Eric Brunner-Williams
i normally keep a -stable and a -current.
when removing -stable
rm -rf ./\-stable
path here is relative, abspath works as well.

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


Re: How can I remove this file ?

2004-04-10 Thread Shaun T. Erickson
Nick wrote:
-Original Message-
From: [EMAIL PROTECTED] [mailto:owner-freebsd-
[EMAIL PROTECTED] On Behalf Of Supote Leelasupphakorn
Sent: Friday, April 09, 2004 7:41 AM
To: [EMAIL PROTECTED]
Subject: How can I remove this file ?
Hi lists

 How can I delete file named prefix with "-" ?

TIA
Pote


rm ./-file
rm -- -file

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


Re: Changing the default text size on console session

2004-04-10 Thread Josh Paetzel
> I'm used to accessing BSD boxes remotely via Putty, but now I have one at
> home plus a decent size monitor, and the text size is just overwhelming.
> Since you can't page up/down in a console session, it's proving to be
> somewhat of a problem.
> 
> Regards to all & TIA,
> -Colin

There's always scroll lock

Josh Paetzel

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


Re: static NAT and firewalls

2004-04-10 Thread Micheal Patterson

- Original Message - 
From: "Sebastian Kutsch" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, April 10, 2004 6:17 AM
Subject: static NAT and firewalls


> Hi,
>
> if have have configured static NAT on machine A do the TCP/IP-packeges
> get injectet into the firewall of the machine A or do they reach machine
> B unfiltered?
>
> Sebastian
>


Sebastian,

Provided that you have an entry at the beginning of your firewall to divert
to natd, all traffic will hit that rule, get passed to natd and then
injected back into the firewall after the divert rule and then pass out
through the firewall.

--

Micheal Patterson
Network Administration
TSG Incorporated
405-917-0600

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


RE: How can I remove this file ?

2004-04-10 Thread Nick
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owner-freebsd-
> [EMAIL PROTECTED] On Behalf Of Supote Leelasupphakorn
> Sent: Friday, April 09, 2004 7:41 AM
> To: [EMAIL PROTECTED]
> Subject: How can I remove this file ?
> 
> Hi lists
> 
>   How can I delete file named prefix with "-" ?
> 
> TIA
> Pote

rm ./-file



Nick Radonicich
[EMAIL PROTECTED]


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


Re: Portupgrade problem

2004-04-10 Thread Kent Stewart
On Saturday 10 April 2004 07:51 am, Andreas Davour wrote:
> I wanted to send my heartfelt thanks to all who chimed in with
> helpful suggestions on my portupgrade problem.
>
> I have now learned that ports-all is proably the best option for a
> ports-supfile, and I'll have to look into the issue about a refuse
> file instead when I want to limit the selection.
>
> I have also learnt the importance of running 'portsdb -Uu' after
> upgrading.

Since you will now be running portsdb -uU, you should refuse 
ports/INDEX[-5]. This dependis on whether you are running 4.x or [-5] 
if you are running 5.x. You are going to recreate the INDEX file and it 
takes a long time to redownload even over a 100Mbps network. Since you 
have recreated your INDEX file, cvsup will download it everytime you 
cvsup ports-all. The refuse saves you from re-downloading a don't need 
5 MB file.

>
> Now I think I know how to do these things and after another upgrade I
> think I'm ready to at least do the cvsup part using cron.

The hardest part of a cron job is finding that magic time after the hour 
that never fails because your cvsup-mirror is over committed. The 
mirrors always update on the hour and you have to wait at least 10 
minutes for the mirror to finish its cvsup. If you don't, you are 
getting data from the mirror's previous update. 

I currently schedule my local mirror update at 25 minutes after the 
hour. It has been more than 2 days since the update failed. All mirrors 
are not created equal. When something major like  FreeBSD 4.10 is 
released, there is no magic time and you will probably find that the 
cronjob frequently fails for around a day.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: Changing the default text size on console session

2004-04-10 Thread David Fleck
On Sat, 10 Apr 2004, Colin J. Raven wrote:
> My question may not be specific to FreeBSD, but can anyone tell me how to
> change the default font size on a console (directly connected monitor)
> session when there is no X running?

I don't remember exactly, but the first step is 'man vidcontrol' followed
by 'man syscons'.


--
David Fleck
[EMAIL PROTECTED]

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


Changing the default text size on console session

2004-04-10 Thread Colin J. Raven
Hi all!

My question may not be specific to FreeBSD, but can anyone tell me how to
change the default font size on a console (directly connected monitor)
session when there is no X running?

I'm used to accessing BSD boxes remotely via Putty, but now I have one at
home plus a decent size monitor, and the text size is just overwhelming.
Since you can't page up/down in a console session, it's proving to be
somewhat of a problem.

Doubtless this is hardly revolutionary stuff, but a fair amount of
Googling hasn't provided a definitive answer thus far.

Regards to all & TIA,
-Colin

-- 
http://www.fastmail.fm - A fast, anti-spam email service.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RiscOS Window Decorations

2004-04-10 Thread Andreas Davour

So, now I have a new and shiny KDE3.2 installed. Great desktop and all, I
still have hit ona minor snafu, though. I hope anyone here can help me
with it. If there is a better list for KDE related questions, please let
me know.

Well. I used RiscOS looking window decorations before, but now after the
upgrade they seems to have dissapeared.

I tried to check the kde-look webpage, but found no trace of it. Not even
the one I used for KDE3.1 for some odd reason! Are there anyone who can
tell where I can find RiscOS window decorations? There is a RiscOS theme
already, oddly enough...

/andreas

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


Re: Portupgrade problem

2004-04-10 Thread Martin Hudec
You're welcome :).


Cheers,

Martin

On Sat, Apr 10, 2004 at 04:51:10PM +0200 or thereabouts, Andreas Davour wrote:
> 
> I wanted to send my heartfelt thanks to all who chimed in with helpful
> suggestions on my portupgrade problem.
> 
> I have now learned that ports-all is proably the best option for a
> ports-supfile, and I'll have to look into the issue about a refuse file
> instead when I want to limit the selection.
> 
> I have also learnt the importance of running 'portsdb -Uu' after
> upgrading.
> 
> Now I think I know how to do these things and after another upgrade I
> think I'm ready to at least do the cvsup part using cron.
> 
> Once again, many thanks!

-- 
=--
:
:. kind regards
:.. Martin Hudec
:.:
:.: :m: +421.907.303393
:.: :@: [EMAIL PROTECTED]
:.: :w: http://www.aeternal.net

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


Re: Portupgrade problem

2004-04-10 Thread Andreas Davour

I wanted to send my heartfelt thanks to all who chimed in with helpful
suggestions on my portupgrade problem.

I have now learned that ports-all is proably the best option for a
ports-supfile, and I'll have to look into the issue about a refuse file
instead when I want to limit the selection.

I have also learnt the importance of running 'portsdb -Uu' after
upgrading.

Now I think I know how to do these things and after another upgrade I
think I'm ready to at least do the cvsup part using cron.

Once again, many thanks!

/andreas

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


Re: direction needed [ part of 5.2 portupgrade hairball ]

2004-04-10 Thread Kent Stewart
On Saturday 10 April 2004 02:16 am, Jay Moore wrote:
> On Saturday 10 April 2004 04:01 am, Matthew Seaman wrote:
> > > --->  Skipping 'x11-toolkits/eel2' (eel2-2.4.1) because
> > > 'x11-toolkits/ libbonoboui' (libbonoboui-2.4.1) failed
> >
> > You need to work out why the update to libbonoboui-2.4.1 failed. 
> > Once you've got that to compile correctly you should then be able
> > to get the rest of the gettext dependents to update.
>
> Where would I look for clues as to the cause of the failure?
>

You also have the conflict problem of kdebase-3.1.4 which you need to 
deal with before you can upgrade to kde-3.2.1.

Fruit Salad (http://www.fruitsalad.org/) has packages kde-3.2.1 for 
FreeBSD-5.2 Release that you can download. That will be much faster 
than building them on your machine.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: Traceroute issue

2004-04-10 Thread Bob Johnson
On Friday 09 April 2004 09:51 am, Jeff Coleman <"Jeff Coleman" 
<[EMAIL PROTECTED]>> wrote:
> I am a new user of BSD and have set up a machine to learn on,
> I have version 5.2 on it  and it cannot traceroute out. none of the
> hops resolve
> Pings work fine, and nslookup does as well.
>

In my experience, this is usually caused by a firewall that blocks 
either the traceroute packets, or the replies to them.  For traceroute 
to work correctly, you must be able to receive ICMP TIME EXCEEDED and 
ICMP PORT UNREACHABLE packets, and the target system must reject 
(rather than accept or silently drop) the query packet that reaches it.  
You must also be able to send UDP packets to arbitrary ports.

If you are not seeing anything at all along a multi-hop path, I suspect 
that you have a firewall blocking incoming ICMP TIME EXCEEDED packets, 
but there are many other possibilities.  If you are running a firewall 
on your system (e.g. IPFW), then try turning it off and doing a 
traceroute.

BSD ping uses ICMP ECHO REQUEST and ECHO RESPONSE packets, so if it is 
working then at least some ICMP packets are getting through.

- Bob

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


Traceroute issue

2004-04-10 Thread Jeff Coleman
I am a new user of BSD and have set up a machine to learn on, 
I have version 5.2 on it  and it cannot traceroute out. none of the hops
resolve
Pings work fine, and nslookup does as well.

Help?

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


Can't *write* to a hard disk, not even a slice using fdisk(8).

2004-04-10 Thread Julien Gabel
Hello,

Here is my problem. I had a hard disk for one year now, working together
with an other identical disk in a _hard_ mirror. One month ago, I noticed
the mirror was not active, found that the second part of the mirror was
not responding and decided to recreate completely the mirror after making
some fresh backup (from the valid part of the RAID-1).

Te newly created mirror seems to work fine until yesterday, when I need
to reboot the system... and the mirror was not responding for a second
time. But this time it was not possible to create a new fs on the recreated
mirror as I did before. For the moment, the system works great on a single
disk.

But the fact that the BIOS and FreeBSD sees the "faulting" disk without
problem makes me in doubt. I can't see any error from the OS point of view
(nor in syslog nor in console) but now I can't even _partition_ it with
fdisk(8), saying that "Operation not permitted"!

- My OS release is FreeBSD 5.2.1-RELEASE-p4.

- The disk is a 120Go/8Mo from Maxtor (UDMA133).

- What dmesg(8) says about it:
  # grep ad10 /var/run/dmesg.boot
  GEOM: create disk ad10 dp=0xc6ab2660
  ad10: 117246MB  [238216/16/63] at ata5-master UDMA133

- But when I tried to create a slice on it, I get:
  # fdisk -BI ad10
  *** Working on device /dev/ad10 ***
  fdisk: can't write fdisk partition table: Operation not permitted

1/ How can I be certain that the hard disk is dead (even if it seems
   not to be)?
2/ Is there someting I can do to test/repair it?
3/ Anything else to say to diagnose my problem?

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


Re: Remote Single User Mode.

2004-04-10 Thread Olaf Hoyer
On Sat, 10 Apr 2004, Grant Peel wrote:

> Happy Easter all!
>
> Here is an off-the-wall question
>
> I have 4 servers in Toronto (I live in London, about 120 miles south). Most admin I 
> can do remotely of course, but I was wondering, if there exists a software/hardware 
> solution that might actually allow one to reboot any one of the machines remotely 
> and alllow access in single user mode. Obviously, that machine would not be 
> accessable via the normal netwrk method, but again, is there a KVM - software that 
> would allow local access in single user mode VIA a network connection to one of the 
> other servers, or the KVM directly?

Hi!

Well, as long as you can set up a serial console to them (whether in
software, like described in the handbook, or via hardware BIOS
redirection like Dell, HP and so on), then you could simply buy a remote
console switch off-the-rack, and be happy.

I worked a lot with the cyclades-TS series, you simply connect via ssh
to them (they run embedded linux), and they forward this connection to
the specific serial port. The also do other nifty things, you can have
the console output of the servers logged via nfs to a remote machine
etc.

www.cyclades.com, they are not cheap, but are working well (once you got
he right firmware, I'd go for 1.3.9 at the time of this writing, the
1.3.10 has other hitches I dislike)


HTH
Olaf




-- 
Olaf Hoyer[EMAIL PROTECTED]
Fuerchterliche Erlebniss geben zu raten,
ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist.
(Nietzsche, Jenseits von Gut und Boese)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


static NAT and firewalls

2004-04-10 Thread Sebastian Kutsch
Hi,

if have have configured static NAT on machine A do the TCP/IP-packeges
get injectet into the firewall of the machine A or do they reach machine
B unfiltered?

Sebastian


--

If you share pain
there is less of it.
If you share joy
there is more of it.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


mailman - partition virtual domain name?

2004-04-10 Thread Noah
mailman-2.1.4
sendmail-8.12.11
freeBSD-4.9-STABLE

I am placing listnames in the /etc/mail/aliases file to have the forwarded to
mailman for processing.  

I running virtual hosts on a machine and I want to stop people from sending to
[EMAIL PROTECTED] and only allow people to post to [EMAIL PROTECTED]

currently users can post to both [EMAIL PROTECTED] and [EMAIL PROTECTED]

thank you,

Noah

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


Re: KMail seeing local maildirs differently than IMAP-server

2004-04-10 Thread Joan Picanyol i Puig
On Fri, 09 Apr 2004 18:48:23 +0200, Geert Hendrickx wrote:

> i see some ambiguity in using maildirs through IMAP and directly through
> the filesystem, especially when using KMail.  

It's one of the issues that I've been fighting for quite a long time, and
still haven't found a final answer.
 
> The "canonical" directory for maildirs is ~/Maildir, where the inbox is
> in the root of that directory, and any other mail-directory is a
> subdirectory of it.  The IMAP-servers I tried (courier-imap, imap-uw and
> dovecot, all in /usr/ports/mail) only use the subdirectories whose name
> starts with a dot.

Further, most IMAP servers don't accept subsubdirs as I have in my
~/Maildir/ hierarchy. The dot is IMAP's traditional hierarchy delimitor;
however, the server is free to choose it's own and the client must
understand it. 

 
> KMail on the other hand, when using maildirs as "local folders", always
> assumes they are in ~/Mail

This should be configurable. Try Evolution instead.

 
> Creating some symlinks to "mirror" the situation might be a usable
> solution, but that's not very elegant.  Anyone knows a better solution?

Well FSOV of "elegant" and "better" you might find my solution
interesting. I use bincimap because of it's flexibility in directory
serving. I use an IMAPdir depot which I locate on a hidden subdirectory
populated with symlinks to the real Maildir subdirs.

qvb
-- 
pica


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


Re: direction needed [ part of 5.2 portupgrade hairball ]

2004-04-10 Thread Jay Moore
On Saturday 10 April 2004 04:57 am, Matthew Seaman wrote:

> Well, start with the output from trying to compile the
> x11-toolkits/libbonoboui port.

I did this:

# cd x11-toolkits/libbonoboui
# make

and got the output shown below at the end of the process.

If I read this correctly (and I probably don't) it says libbonoboui failed 
because gtk2 is unavailable. ?!? Wait - I ran "portupgrade -fr gettext" on 
April 7 to fix the gtk2 problem, then it failed due to libbonoboui, and 
libbonoboui failed because of gtk2... a Catch-22?

I'm still awfully confused :)

--- result of make on x11-toolkits/libbonoboui --
gnome-config: not found
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'gtk+-2.0', required by 'libgnomecanvas-2.0', not found

configure: error: Library requirements (libgnomecanvas-2.0 >= 1.116.0 
libbonobo-2.0 >= 2.3.3  libgnome-2.0 >= 1.116.0 
bonobo-activation-2.0 >= 1.0.0  libxml-2.0 >= 2.4.20
gconf-2.0 >= 1.1.9  gtk+-2.0 >= 2.2.0) not met; consider 
adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a 
nonstandard prefix so pkg-config can find them.
===>  Script "configure" failed unexpectedly.
Please report the problem to [EMAIL PROTECTED] [maintainer] and attach the
"/usr/ports/x11-toolkits/libbonoboui/work/libbonoboui-2.4.3/config.log"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. an `ls /var/db/pkg`).
*** Error code 1

Stop in /usr/ports/x11-toolkits/libbonoboui.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: GPL: implications for FreeBSD-on-hardware for sale?

2004-04-10 Thread Paul A. Hoadley
On Sat, Apr 10, 2004 at 01:55:23AM -0700, Cory Petkovsek wrote:

> Your own proprietary binaries you can distribute along side the GPL
> and BSD code, provided you don't have GPL code within your programs.
> It can all be bundled together as long as you have licensing,
> copyrights and required source as part of the package (or possibly
> available, but not part of the package).

Thanks for that.  Again, then, I think I was interpreting the text of
the license too restrictively---obviously my own code does not become
a derivative work just because it's sitting on the same disk.  (Not
sure why I thought it would.)

Thanks for the input, Cory.


-- 
Paul.

mailto:[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: Remote Single User Mode.

2004-04-10 Thread Matthew Seaman
On Sat, Apr 10, 2004 at 06:03:48AM -0400, Grant Peel wrote:

> I have 4 servers in Toronto (I live in London, about 120 miles south). Most admin I 
> can do remotely of course, but I was wondering, if there exists a software/hardware 
> solution that might actually allow one to reboot any one of the machines remotely 
> and alllow access in single user mode. Obviously, that machine would not be 
> accessable via the normal netwrk method, but again, is there a KVM - software that 
> would allow local access in single user mode VIA a network connection to one of the 
> other servers, or the KVM directly?

The device you're looking for is a 'Console Server'.  There are any
number of such devices available off the shelf -- Lantronix makes some
reasonably good ones.

However, if you don't want to spend money, you can daisy-chain your
FreeBSD boxes together using null-modem cables between the serial
ports and use tip(1) as a terminal emulator. In any case you need to
make your servers use a serial port as the system console:

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

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: GPL: implications for FreeBSD-on-hardware for sale?

2004-04-10 Thread Paul A. Hoadley
On Sat, Apr 10, 2004 at 09:46:29AM +0100, Matthew Seaman wrote:

> There's no problem with selling GPL'd programs for money.  As the
> cant goes "Free speech, not free beer".

I guess I'm interpreting Section 1 too restrictively then.  I took
"You may charge a fee for the physical act of transferring a copy" to
be fairly limiting on the magnitude of this fee.  I guess it's not
then.

> All you have to do to comply with the GPL is make available the
> sources to the software you're using to your customers, or let them
> know how they can retrieve them from a third party.  In this case,
> probably just pointing them in the direction of the FreeBSD servers
> would be sufficient.

OK.

> If you're dead against redistributing GPL'd stuff, you'll find it
> difficult to produce a completely GPL-free setup: removing things
> like the C compiler and gdb and texinfo is easy enough, but such
> things as readline and the regex libraries are harder to deal with.

I'm not against it.  I just want to make sure I get the specifics of
the license exactly right.  :-)

Thanks a lot for your input, Matthew.


-- 
Paul.

mailto:[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


WRITE_DMA failure during install of 5.2.1-RELEASE

2004-04-10 Thread Martin Hudec
Hello,

I am seeing following error during instalation of base system
to / as:

ad0: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=2305439
ad0: FAILURE - WRITE_DMA status=51  error=84 
 LBA=2305439

System being installed is: FreeBSD 5.2.1-RELEASE

Hardware is: Athlon XP2200+, 256MB DDR333 RAM, 80GB Samsung harddrive,
ASRock K7S8XE mainboard (SiS748 chipset) with SAMSUNG DVD-ROM.

Can anyone tell me what's wrong?

Cheers,

Martin

-- 
=--
:
:. kind regards
:.. Martin Hudec
:.:
:.: :m: +421.907.303393
:.: :@: [EMAIL PROTECTED]
:.: :w: http://www.aeternal.net

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


Re: vmware trouble

2004-04-10 Thread dick hoogendijk
On 09 Apr Yuriy Gerasimov wrote:
> I have FreeBSD 5.2-RELEASE and installed vmware
> vmware3-3.2.1.2242_6,1.
> 
> I cannot Power it On. I have just error
> 
> Cannot attach shared memory segment: Invalid argument.
> Failed to initialize SVGA device.
> 
> I tryed to set up different OS there (DOS and Win98) but always I had 
> this error.

You have to read the documentation on this. You need to make sure some
kernel settings are in order and you also have to recompile your kernel
probably. It's all in the vmware3 port directory (the info that is..)

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.9 ++ Debian GNU/Linux (Woody)
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilya
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Remote Single User Mode.

2004-04-10 Thread Grant Peel
Happy Easter all!

Here is an off-the-wall question

I have 4 servers in Toronto (I live in London, about 120 miles south). Most admin I 
can do remotely of course, but I was wondering, if there exists a software/hardware 
solution that might actually allow one to reboot any one of the machines remotely and 
alllow access in single user mode. Obviously, that machine would not be accessable via 
the normal netwrk method, but again, is there a KVM - software that would allow local 
access in single user mode VIA a network connection to one of the other servers, or 
the KVM directly?

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


Re: direction needed [ part of 5.2 portupgrade hairball ]

2004-04-10 Thread Matthew Seaman
On Sat, Apr 10, 2004 at 03:16:06AM -0600, Jay Moore wrote:
> On Saturday 10 April 2004 04:01 am, Matthew Seaman wrote:
> 
> > > --->  Skipping 'x11-toolkits/eel2' (eel2-2.4.1) because 'x11-toolkits/
> > > libbonoboui' (libbonoboui-2.4.1) failed
> >
> > You need to work out why the update to libbonoboui-2.4.1 failed.  Once
> > you've got that to compile correctly you should then be able to get
> > the rest of the gettext dependents to update. 
> 
> Where would I look for clues as to the cause of the failure?

Well, start with the output from trying to compile the
x11-toolkits/libbonoboui port.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: direction needed [ part of 5.2 portupgrade hairball ]

2004-04-10 Thread Jay Moore
On Saturday 10 April 2004 04:01 am, Matthew Seaman wrote:

> > --->  Skipping 'x11-toolkits/eel2' (eel2-2.4.1) because 'x11-toolkits/
> > libbonoboui' (libbonoboui-2.4.1) failed
>
> You need to work out why the update to libbonoboui-2.4.1 failed.  Once
> you've got that to compile correctly you should then be able to get
> the rest of the gettext dependents to update. 

Where would I look for clues as to the cause of the failure?

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


Re: direction needed [ part of 5.2 portupgrade hairball ]

2004-04-10 Thread Matthew Seaman
On Sat, Apr 10, 2004 at 02:51:07AM -0600, Jay Moore wrote:

> I've completed 'portupgrade -fr gettext'.  At the tail end of that process I 
> received a list of ports that were skipped or failed (see below). I'm 
> guessing that these exceptions are a result of unsatisfied dependencies, but 
> I don't know how to resolve them without (potentially) creating still more 
> problems.

> --->  Skipping 'x11-toolkits/eel2' (eel2-2.4.1) because 'x11-toolkits/
> libbonoboui' (libbonoboui-2.4.1) failed

You need to work out why the update to libbonoboui-2.4.1 failed.  Once
you've got that to compile correctly you should then be able to get
the rest of the gettext dependents to update.

Hint: once you've solved the libbonoboui problem, you can restart the
original update without recompiling everything again by:

# portupgrade -fr gettext -x '>=libbonoboui'

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: FreeBSD and Debugging?

2004-04-10 Thread Daan Vreeken [PA4DAN]
On Saturday 10 April 2004 07:23, Brandon Erhart wrote:
> Thank you. You are my new god. I had checked out a version of valgrind for
> BSD (one of the patches) and it failed to compile.
>
> Everything seems to be working, except I get this warning at the beginning
> of the program:
>
> "Warning: ignoring --pointercheck=yes, because i386_set_ldt failed
> (errno=45)"
Sounds like you need "options   USER_LDT" in you kernel.

grtz,
Daan

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


Re: GPL: implications for FreeBSD-on-hardware for sale?

2004-04-10 Thread Cory Petkovsek
On Sat, Apr 10, 2004 at 05:15:15PM +0930, Paul A. Hoadley wrote:
> Hello,
> 
> For a certain niche market, I am considering selling a software
> application by pre-installing it on a small machine running FreeBSD,
> and then selling the whole thing.  Are there any implications arising
> from the GPL (or other more-restrictive-than-BSD licensed) code in the
> tree?  
You are allowed to charge for GPL software.  Look at redhat, suse, etc.  What
the GPL requires is that any GPL software you distribute, you must provide the
source code and the same rights you have under the GPL (get source, modify,
redistribute).

> Would it be arguable that I was, in fact, selling only the
> hardware and my own software application, and giving away the (GPL-
> and BSD-licensed) open source software for free?  
You don't need to argue.  You can sell your own GPL software for $500, but you
need to provide the GPLed source and the redistrib/modify rights.

Your own proprietary binaries you can distribute along side the GPL and BSD
code, provided you don't have GPL code within your programs.  It can all be
bundled together as long as you have licensing, copyrights and required source
as part of the package (or possibly available, but not part of the package).

Cory

-- 
Cory Petkovsek   Adapting Information
Adaptable IT ConsultingTechnology to Your
(858) 705-1655   Business
[EMAIL PROTECTED]  www.AdaptableIT.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


direction needed [ part of 5.2 portupgrade hairball ]

2004-04-10 Thread Jay Moore
I'm still trying to bring the portupgrade process to successful conclusion on 
my 5.2 system. I'm trying to avoid any more "well, let's try this and see 
what happens" experiments as they simply take so long - so I'm asking for 
some directions to help me reach the end from here.

I've completed 'portupgrade -fr gettext'.  At the tail end of that process I 
received a list of ports that were skipped or failed (see below). I'm 
guessing that these exceptions are a result of unsatisfied dependencies, but 
I don't know how to resolve them without (potentially) creating still more 
problems.

Any advice would be appreciated - if there's something I should be reading to 
help sort this out for myself I'd appreciate a pointer... so far I've been 
unable to find any specific advice in the handbook.

Thanks,
Jay

# portupgrade -fr gettext

... finished at approx 10:50 PM CDST, April 8, 2004
the final result was:

[Updating the pkgdb  in /var/db/pkg ... - 224 packages 
found (-0 +1) . done]
--->  Skipping 'x11-toolkits/eel2' (eel2-2.4.1) because 'x11-toolkits/
libbonoboui' (libbonoboui-2.4.1) failed
--->  Skipping 'www/libgtkhtml' (libgtkhtml-2.4.1_1) because 'accessibility/
gail' (gail-1.4.1) failed
--->  Skipping 'www/epiphany' (epiphany-1.0.6) because 'x11-toolkits/
libbonoboui' (libbonoboui-2.4.1) failed
--->  Skipping 'x11/gnomepanel' (gnomepanel-2.4.1) because 'x11/
gnomedesktop' (gnomedesktop-2.4.1.1_1) failed
--->  Skipping 'sysutils/gnomesystemmonitor' (gnomesystemmonitor-2.4.0) 
because 'x11-toolkits/libbonoboui' (libbonoboui-2.4.1) failed
--->  Skipping 'deskutils/gnomeutils2' (gnomeutils2-2.4.1,1) because 'x11/
gnomepanel' (gnomepanel-2.4.1) failed
--->  Skipping 'x11-fm/nautilus2' (nautilus2-2.4.1) because 'x11-toolkits/
eel2' (eel2-2.4.1) failed
--->  Skipping 'sysutils/nautilus-cd-burner' (nautilus-cd-burner-0.5.3_3) 
because 'x11-toolkits/eel2' (eel2-2.4.1) failed
--->  Skipping 'deskutils/gucharmap' (gucharmap-gnome-1.2.0) because 
'x11-toolkits/libbonoboui' (libbonoboui-2.4.1) failed
--->  Skipping 'graphics/eog2' (eog2-2.4.1) because 'x11-toolkits/
eel2' (eel2-2.4.1) failed
--->  Skipping 'graphics/gpdf' (gpdf-0.111) because 'x11-toolkits/
libbonoboui' (libbonoboui-2.4.1) failed
--->  Skipping 'print/ggv2' (ggv2-2.4.0.2) because 'x11-toolkits/
libbonoboui' (libbonoboui-2.4.1) failed
--->  Skipping 'archivers/fileroller' (fileroller-2.4.2_1,1) because 
'x11-toolkits/libbonoboui' (libbonoboui-2.4.1) failed
--->  Skipping 'sysutils/gnomecontrolcenter2' (gnomecontrolcenter2-2.4.0) 
because 'x11-toolkits/eel2' (eel2-2.4.1) failed
--->  Skipping 'x11-toolkits/gtksourceview' (gtksourceview-0.7.0) because 
'graphics/libgnomecanvas' (libgnomecanvas-2.4.0) failed
--->  Skipping 'editors/gedit2' (gedit2-2.4.1) because 'x11-toolkits/
gtksourceview' (gtksourceview-0.7.0) failed
** Listing the failed packages (*:skipped / !:failed)
! mail/mutt (mutt-1.4.2.1)  (uninstall error)
! devel/libglade2 (libglade2-2.0.1_1)   (configure error)
* graphics/libgnomecanvas (libgnomecanvas-2.4.0)
! x11-toolkits/libwnck (libwnck-2.4.0.1)(configure error)
! editors/openoffice-1.1 (openoffice-1.1.0_1)   (unknown build error)
! x11/kdelibs3 (kdelibs-3.1.4_1)(install error)
* graphics/kdegraphics3 (kdegraphics-3.1.4)
* editors/koffice-kde3 (koffice-1.2.1_1,1)
* x11/kdebase3 (kdebase-3.1.4)
* misc/kdeutils3 (kdeutils-3.1.4)
* games/kdegames3 (kdegames-3.1.4)
* x11-clocks/kdetoys3 (kdetoys-3.1.4)
* devel/kdesdk3 (kdesdk-3.1.4)
* devel/kdevelop (kdevelop-2.1.5)
! x11-toolkits/gtk-engines2 (gtk-engines2-2.2.0)(configure 
error)
! net/samba (samba-2.2.8a_2)(uninstall error)
! www/mozilla (mozilla-gtk2-1.5_1)  (configure error)
* x11-wm/metacity (metacity-2.6.3)
* net/kdenetwork3 (kdenetwork-3.1.4)
* www/quanta (quanta-3.1.4,2)
* x11-wm/kdeartwork3 (kdeartwork-3.1.4_1)
! sysutils/gconf-editor (gconf-editor-2.4.0,1)  (configure error)
* deskutils/kdepim3 (kdepim-3.1.4)
* x11-toolkits/libgnomeprintui (libgnomeprintui-2.4.1)
* accessibility/gail (gail-1.4.1)
* graphics/librsvg2 (librsvg2-2.4.0_1)
* sysutils/kdeadmin3 (kdeadmin-3.1.4_1)
* multimedia/kdemultimedia3 (kdemultimedia-3.1.4)
* misc/kdeaddons3 (kdeaddons-3.1.4)
* x11-toolkits/libbonoboui (libbonoboui-2.4.1)
* x11-toolkits/libgnomeui (libgnomeui-2.4.0.1_1)
* x11/gnomedesktop (gnomedesktop-2.4.1.1_1)
* x11-toolkits/eel2 (eel2-2.4.1)
* www/libgtkhtml (libgtkhtml-2.4.1_1)
* www/epiphany (epiphany-1.0.6)
* x11/gnomepanel (gnomepanel-2.4.1)
* sysutils/gnomesystemmonitor (gnomesystemmonitor-2.4.0)
* deskutils/gnomeutils2 (gnomeutils2-2.4.1,1)
* x11-fm/nautilus2 (nautilus2-2.4.1)
* sysutils/nautilus-cd-burner (nautilus-cd-burner-0.5.3_3)

Re: GPL: implications for FreeBSD-on-hardware for sale?

2004-04-10 Thread Matthew Seaman
On Sat, Apr 10, 2004 at 05:15:15PM +0930, Paul A. Hoadley wrote:

> For a certain niche market, I am considering selling a software
> application by pre-installing it on a small machine running FreeBSD,
> and then selling the whole thing.  Are there any implications arising
> from the GPL (or other more-restrictive-than-BSD licensed) code in the
> tree?  Would it be arguable that I was, in fact, selling only the
> hardware and my own software application, and giving away the (GPL-
> and BSD-licensed) open source software for free?  I presume that the
> GPL would require me to at least make the source code of the
> GPL-covered parts of FreeBSD available on request (Section 3(b)),
> given that I would not be including the FreeBSD source code (it simply
> wouldn't be required) in the installation.
> 
> This bridge must have been crossed before.  Does anyone have any
> experience here?

There's no problem with selling GPL'd programs for money.  As the cant
goes "Free speech, not free beer".  All you have to do to comply with
the GPL is make available the sources to the software you're using to
your customers, or let them know how they can retrieve them from a
third party.  In this case, probably just pointing them in the
direction of the FreeBSD servers would be sufficient.

If you're dead against redistributing GPL'd stuff, you'll find it
difficult to produce a completely GPL-free setup: removing things like
the C compiler and gdb and texinfo is easy enough, but such things as
readline and the regex libraries are harder to deal with.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


GPL: implications for FreeBSD-on-hardware for sale?

2004-04-10 Thread Paul A. Hoadley
Hello,

For a certain niche market, I am considering selling a software
application by pre-installing it on a small machine running FreeBSD,
and then selling the whole thing.  Are there any implications arising
from the GPL (or other more-restrictive-than-BSD licensed) code in the
tree?  Would it be arguable that I was, in fact, selling only the
hardware and my own software application, and giving away the (GPL-
and BSD-licensed) open source software for free?  I presume that the
GPL would require me to at least make the source code of the
GPL-covered parts of FreeBSD available on request (Section 3(b)),
given that I would not be including the FreeBSD source code (it simply
wouldn't be required) in the installation.

This bridge must have been crossed before.  Does anyone have any
experience here?


-- 
Paul.

mailto:[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: sendmail/strace hanging

2004-04-10 Thread Matthew Seaman
On Fri, Apr 09, 2004 at 06:27:42PM -0700, Cory Petkovsek wrote:
> On Fri, Apr 09, 2004 at 10:16:42AM +0100, Matthew Seaman wrote:
> > On Thu, Apr 08, 2004 at 04:08:39PM -0700, Cory Petkovsek wrote:
> > 
> > > Stopping sendmail with `sh /etc/rc.sendmail stop` works quickly.  Starting it
> > > takes about 3min.   Both sendmail-submit and sendmail-clientmqueue take a
> > > while before moving.  Booting also has this delay.
> > 
> > In the interests of eliminating the obvious: you have confirmed that
> > this is not some sort of DNS timeout?  Delays of that length on
> > starting up sendmail are usually due to waiting out the DNS timeouts.
> 
> Would dns timeouts affect mailq?  My dns is setup correctly locally, which is
> where I was trying to send my tests, to my local mailhub.  What is also
> interesting is that it has started working again at a normal speed, without any
> changes or restarts.  It was slow over config changes, make world, and
> reboots.  But became slow, then became normal just by sitting idle.  I have a
> p4 with HT and an SMP/HT kernel.  Could that have anything to do with it?

Hmmm... Very strange.  I wonder if it's sendmail causing the effect at
all -- sounds like it might be something more systemic.  Do you have
ACPI enabled?  Could it be that the system is throttling the CPU under
load -- perhaps to keep the CPU cool?

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature