Re: Completely disable sendmail

2005-12-15 Thread Pietro Cerutti
On 12/15/05, Russell E. Meek <[EMAIL PROTECTED]> wrote:
> Pietro,
>
> *sendmail_enable="NONE"* in your rc.conf will shutdown Sendmail
> completely and globally.
>

Same thing with "NONE" instead of "NO", moreover `man sendmail.rc` says

sendmail_enable
 (str) If set to ``YES'', run the sendmail(8) daemon at system
 boot time.  If set to ``NO'', do not run a sendmail(8) daemon to
 listen for incoming network mail.  This does not preclude a
 sendmail(8) daemon listening on the SMTP port of the loopback
 interface.  The ``NONE'' option is deprecated and should not be
 used.  It will be removed in a future release.


>
> Russell E, Meek
>

Thanx,

Any other ideas?

--
Pietro Cerutti
<[EMAIL PROTECTED]>

Beansidhe - SwiSS Death / Thrash Metal


Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming or what?"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


[solved]: Locale problems with perl

2005-12-15 Thread Erik Norgaard

Erik Norgaard wrote:

perl: warning: Please check that your locale settings:
LC_ALL = (unset),
LANG = "en_GB.ISO_8859-1"
are supported and installed on your system.

In login.conf I have:

en_GB:English users:\
:charset=iso-8859-1:\
:lang=en_GB.ISO8859-1:\
:tc=default:


Reading above again, there is an underscore in en_GB.ISO_8859-1, in my 
.bash_profile, for some reason I overrode a perfectly good LANG setting 
with this one - doh! Now I just how I got away without noticing this for 
so long... (no, that's not a question for the list :)


I appologize for the inconvenience...

Erik
--
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt
Subject ID:  9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72
Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song)

2005-12-15 Thread Sasa Stupar



--On 14. december 2005 20:01 -0800 Ted Mittelstaedt <[EMAIL PROTECTED]> 
wrote:






-Original Message-
From: Danial Thom [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 14, 2005 11:14 AM
To: Ted Mittelstaedt; Drew Tomlinson
Cc: freebsd-questions@freebsd.org
Subject: RE: Polling For 100 mbps Connections? (Was Re: Freebsd Theme
Song)




Well, if polling does no good for fxp, due to
the
hardware doing controlled interrupts, then why
does
the fxp driver even let you set it as an
option?
And why have many people who have enabled it on
fxp seen an improvement?


They haven't, freebsd accounting doesn't work
properly with polling enabled, and "they" don't
have the ability to "know" if they are getting
better performance, because "they", like you,
have no clue what they're doing. How about all
the idiots running MP with FreeBSD 4.x, when we
know its just a waste of time? "they" all think
they're getting worthwhile performance, because
"they" are clueless.



I would call them idiots if they are running MP under
FreeBSD and assuming that they are getting better
performance without actually testing for it.  But
if they are just running MP because they happen to be
using an MP server, and they want to see if it will
work or not, who cares?


Maybe its tunable because they guy who wrote the
driver made it a tunable? duh. I've yet to see
one credible, controlled test that shows polling
vs properly tuned interrupt-driven.



Hm, OK I believe that.  As I recall I asked you earlier to
post the test setup you used for your own tests
"proving" that polling is worse, and you haven't
done so yet.  Now you are saying you have never seen
a credible controlled test that shows polling vs
interrupt-driven.  So I guess either you were blind
when you ran your own tests, or your own tests
are not credible, controlled polling vs properly
tuned interrupt-driven.  As I have been saying
all along.  Now your agreeing with me.


The only advantage of polling is that it will
drop packets instead of going into livelock. The
disadvantage is that it will drop packets when
you have momentary bursts that would harmlessly
put the machine into livelock. Thats about it.



Ah, now I think suddenly I see what the chip on your
shoulder is.  You would rather have your router based
on FreeBSD go into livelock while packets stack up,
than drop anything.  You tested the polling code and found
that yipes, it drops packets.

What may I ask do you think that a Cisco or other
router does when you shove 10Mbt of traffic into it's
Ethernet interface destined for a host behind a T1 that
is plugged into the other end?  (and no, source-quench
is not the correct answer)

I think the scenario of it being better to momentary go into
livelock during an overload is only applicable to one scenario,
where the 2 interfaces in the router are the same capacity.
As in ethernet-to-ethernet routers.  Most certainly not
Ethernet-to-serial routers, like what most routers are
that aren't on DSL lines.

If you have a different understanding then please explain.



I've read those datasheets as well and the
thing I
don't understand is that if you are pumping
100Mbt
into an Etherexpress Pro/100 then if the card
will
not interrupt more than this throttled rate you
keep
talking about, then the card's interrupt
throttling
is going to limit the inbound bandwidth to
below
100Mbt.


Wrong again, Ted. It scares me that you consider
yourself knowlegable about this. You can process
# interrupts X ring_size packets; not one per
interrupt. You're only polling 1000x per second
(or whatever you have hz set to), so why do you
think that you have to interrupt for every packet
to do 100Mb/s?


I never said anything about interrupting for every
packet, did I?  Of course not since I know what
your talking about.  However, it is you who are throwing
around the numbers - or were in your prior post -
regarding the fxp driver and hardware.  Why should
I have to do the work digging around in the datasheets
and doing the math?

Since you seem to be wanting to argue this from a
theory standpoint, then your only option is to do the
math.  Go ahead, look up the datasheet for the 82557.
I'm sure it's online somewhere, and tell us what it says
about throttled interrupts, and run your numbers.


Do you not understand that packet
processing is the same whether its done on a
clock tick or a hardware interrupt? Do you not
understand that a clock tick has more overhead
(because of other assigned tasks)? Do you not
understand that getting exactly 5000 hardware
interrupts is much more efficient than having
5000 clock tick interrupts per second? What part
of this don't you understand?



Well, one part I don't understand is why when
one of those 5000 clock ticks happens and the fxp driver
finds no packets to take off the card, that it takes
the same amount of time for the driver to process
as when the fxp driver finds packets to process.
At least, that seems to be what your arguing.

As I've stated b

Re: TouchPoint on IBM Thinkpad works in console but not X

2005-12-15 Thread Pietro Cerutti
On 12/15/05, TuxGirl <[EMAIL PROTECTED]> wrote:
> Hi,

Hi!

>
> When I'm in the console, my mouse works great --- no problems
> whatsoever.  However, once I start X, if I just touch the touchpoint
> once, the mouse runs off and hides in the upper right corner and
> refuses to come out.
>
> I'm sure that this is something with my xorg.conf, but I can't seem to
> find it anywhere, and I'm quite stumped at this point.
>
> I haven't been able to find anything about this in a quick check of
> google, so I was wondering if anyone here has any ideas.  I started
> working from an xorg.conf that I was using on this machine on Linux,
> and I've been slowly modifying it to resolve the inconsistencies
> between Linux and FreeBSD.
>
> In the process of debugging, I've switched off all the X modules and
> switched my driver from radeon to ati (at least in Linux, ati
> generallly worked a bit easier, although radeon supported more of the
> nice features).   I think I've got most of the unnecessary features
> commented out, and it's still doing the same thing.  Here's the
> uncommented sections that define the mouse:
>
> Section "InputDevice"
>   Identifier"Configured Mouse"
>   Driver"mouse"
>   Option   "Device""/dev/sysmouse"
>   Option   "Protocol"  "PS/2"
> EndSection
>
> I'm including the full xorg.conf as an attachment in case that will help.
>

Try modifing with these lines...

option "Device" "/dev/psm0"
option "Protocol" "auto"

>
> Thanks,
> ~Erin


--
Pietro Cerutti
<[EMAIL PROTECTED]>

Beansidhe - SwiSS Death / Thrash Metal


Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming or what?"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Multiboot SATA/PATA (changed subject)

2005-12-15 Thread Erik Norgaard

Andrew Falanga wrote:

I'm new to FreeBSD but not to UNIX.  The guy who burned me the 6.0 
release iso's told me that during the install, FreeBSD would detect my 
Windows XP drive but it didn't.  I have two hard drives, one for FreeBSD 
one for Windows.  The FreeBSD drive is SATA and the Windows is PATA 
(IDE, but I'm sure you all knew that).


I have the same or similar problem, only that both my hard drives are 
SATA: (dmesg)


ad4: 38146MB  at ata2-master SATA150
ad5: 38146MB  at ata2-slave SATA150
Trying to mount root from ufs:/dev/ad4s1a

The boot loader gives me two options F1 FreeBSD and F5 Unknown but 
chosing either will boot FreeBSD?


Cheers, Erik
--
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt
Subject ID:  9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72
Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: TouchPoint on IBM Thinkpad works in console but not X

2005-12-15 Thread TuxGirl
Pietro,

> Try modifing with these lines...
>
> option "Device" "/dev/psm0"
> option "Protocol" "auto"

I tried this, and it gave the following errors:
(EE) xf86OpenSerial: Cannot open device /dev/psm0Device busy.
(EE) Configured Mouse: cannot open input device
(EE) PreInit failed for input device "Configured Mouse"

No core pointer
Fatal server error: failed to initialize core devices

lower down:
X connection to :0.0 broken (explicit kill or server shutdown).
xauth: (argv):1: bad display name ".hsd1.ut.comcast.net.:0" in "remove" command

Wild guess here, but I'm thinking it might not be able to use it since
it's being used in the console.   I don't actually use the mouse in
the console, though, so if there's a way to stop using it there, and
just use it in X, I'd be happy to do that.  I'm not sure how I would
go about doing that, though.

I could be off on the wrong track, though.  Any ideas?

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


Re: TouchPoint on IBM Thinkpad works in console but not X

2005-12-15 Thread Pietro Cerutti
On 12/15/05, TuxGirl <[EMAIL PROTECTED]> wrote:
> Wild guess here, but I'm thinking it might not be able to use it since
> it's being used in the console.

Yes, this is the problem

> I don't actually use the mouse in
> the console, though, so if there's a way to stop using it there, and
> just use it in X, I'd be happy to do that.  I'm not sure how I would
> go about doing that, though.

add the line

moused_enable="NO"

in your /etc/rc.conf

> Thanks,
> ~Erin
>

Regards,

--
Pietro Cerutti
<[EMAIL PROTECTED]>

Beansidhe - SwiSS Death / Thrash Metal


Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming or what?"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Insecure Web App Hosting

2005-12-15 Thread Chad Leigh -- Shire.Net LLC


On Dec 14, 2005, at 11:10 PM, Anish Mistry wrote:


On Wednesday 14 December 2005 07:13 pm, Mike Esquardez wrote:

i have to install a server that will host a "test drive" of a web
app on the internet. from my inital look at the app, it looks like
it will be a target to be exploited. i am not involved with the
code so fixing it is not an option. what i would like to try and do
is host it in a manner where i can minimize the risk and damage. it
will only have sample data and it doesnt have to be "live". some
ideas i have-

automate disk imaging or rsync.
read only filesystem.
integrity tool.
live cd version of the app.

any other ideas?

its using apache/php/mysql and i have explained that it might not
be fully functional or might have to be offline for a small amount
of time each day. i have only just switched to freebsd so if any
one has any links to some docs or tools that would be helpful.
thankyou.
Mike

1) Setup a "jail" and make sure to set a high enough "securelevel"


Also, you can set up your jail so that the "system" parts of the jail  
filesystem (not var and etc but / and /usr /lib /bin /sbin etc) are  
read only so that no system executables can be modified at all from  
inside the jail.  This should prevent most root-kit type things being  
installed and replacing system binaries.


google on jail and nullfs and readonly to see previous discussions

Chad


- Create a separate partition to run the jail and enable quotas
2) Setup suphp to run the php scripts as an unprivleged non-www user,
make sure to run php in safe_mode
3) Make sure the the database user (It's not using "root" right?) only
has privileges to access it's tables, and better yet restrict that to
the normal table operations (DELETE, UPDATE, SELECT, INSERT) if the
application isn't doing anything fancy.

--
Anish Mistry


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



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


Re: TouchPoint on IBM Thinkpad works in console but not X

2005-12-15 Thread Jim White
On 12/15/05, Pietro Cerutti <[EMAIL PROTECTED]> wrote:
>
> On 12/15/05, TuxGirl <[EMAIL PROTECTED]> wrote:
> > > Wild guess here, but I'm thinking it might not be able to use it since
> > > it's being used in the console.
> >
> > Yes, this is the problem
> >
> > > I don't actually use the mouse in
> > > the console, though, so if there's a way to stop using it there, and
> > > just use it in X, I'd be happy to do that.  I'm not sure how I would
> > > go about doing that, though.
> >
> > add the line
> >
> > moused_enable="NO"
> >
> > in your /etc/rc.conf
>
>

Or you could set the Protocol line in your xorg.conf to sysmouse instead of
ps/2 to keep console mouse access.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problem adding user with pw

2005-12-15 Thread Ashley Moran
On Wednesday 14 December 2005 19:56, Tofik Suleymanov wrote:
> maybe missing entry in /etc/shells ?


AGGGHHH!

I found the answer: shells is a comma-separated list; shellpath is a 
colon-separated list.

So my new /etc/pw.conf reads
shellpath /bin:/usr/bin:/usr/local/bin
shells sh,csh,tcsh,bash
defaultshell bash

And it all works fine.  Oh how I wish I read the man page fully before 
starting...

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


Re: Completely disable sendmail

2005-12-15 Thread Scott Mitchell
On Thu, Dec 15, 2005 at 09:30:07AM +0100, Pietro Cerutti wrote:
> Same thing with "NONE" instead of "NO", moreover `man sendmail.rc` says
> 
> sendmail_enable
>  (str) If set to ``YES'', run the sendmail(8) daemon at system
>  boot time.  If set to ``NO'', do not run a sendmail(8) daemon to
>  listen for incoming network mail.  This does not preclude a
>  sendmail(8) daemon listening on the SMTP port of the loopback
>  interface.  The ``NONE'' option is deprecated and should not be
>  used.  It will be removed in a future release.

Hi Pietro,

Setting the 4 sendmail*_enable variables to NO as you've done will prevent
any sendmail daemons from running.  However, it doesn't stop anything from
directly invoking /usr/sbin/sendmail - which is what cron does when it
wants to send some mail.  When sendmail is invoked this way it will try to
deliver the mail according to its submit.cf configuration file.

You should be able to disable any email sending from cron by adding a
MAILTO=""
line to your crontab file.  It might still be a good idea to fix your
sendmail configuration so you can actually send mail from this system.

Cheers,

Scott

-- 
===
Scott Mitchell   | PGP Key ID | "Eagles may soar, but weasels
Cambridge, England   | 0x54B171B9 |  don't get sucked into jet engines"
scott at fishballoon.org | 0xAA775B8B |  -- Anon
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: this AMD motherboard?

2005-12-15 Thread Roland Smith
On Wed, Dec 14, 2005 at 06:16:41PM -0800, Gary Kline wrote:
>   Can anyone tell if the graphics chips on this card will  work
>   with X?

> http://www.ecs.com.tw/ECSWeb/Products/ProductsDetail.aspx?DetailID=422&MenuID=24&LanID=9

Looks like it will work:
http://www.winischhofer.at/linuxsispart1.shtml#12

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgpMvhDpykgCR.pgp
Description: PGP signature


Re: Multiboot SATA/PATA (changed subject)

2005-12-15 Thread Alex Zbyslaw

Erik Norgaard wrote:


Andrew Falanga wrote:

I'm new to FreeBSD but not to UNIX.  The guy who burned me the 6.0 
release iso's told me that during the install, FreeBSD would detect 
my Windows XP drive but it didn't.  I have two hard drives, one for 
FreeBSD one for Windows.  The FreeBSD drive is SATA and the Windows 
is PATA (IDE, but I'm sure you all knew that).



I have the same or similar problem, only that both my hard drives are 
SATA: (dmesg)


ad4: 38146MB  at ata2-master SATA150
ad5: 38146MB  at ata2-slave SATA150
Trying to mount root from ufs:/dev/ad4s1a

The boot loader gives me two options F1 FreeBSD and F5 Unknown but 
chosing either will boot FreeBSD?


F5 is "next disk".  There are only 4 slices that FreeBSD can 
theoretically boot from (F1-F4) and F5 moves you on to whatever the next 
disk is (and on the last disk moves you back to the first).  I suggest 
that F5 is actually doing nothing, and that the loader just times out 
and boots from the FreeBSD disk, probably because you have not installed 
the FreeBSD boot loader on the Windows disk.


--Alex

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


Re: pine

2005-12-15 Thread Giorgos Keramidas
On 2005-12-14 18:37, Ted Mittelstaedt <[EMAIL PROTECTED]> wrote:
>On December 14, 2005 12:35 PM, gwen <[EMAIL PROTECTED]> wrote:
>> Have you ever seen the output of tcpdump?  You see anything on the
>> same network as you.  So any of the following *likely* situations
>> leaves your non-encrypted password open for sniffing:
>>
>> 1) Wireless access, *any* wireless access.
>
> Er, WEP anyone?

That's hardly enough...

http://blogs.zdnet.com/Ou/index.php?p=41

> Do you really think if this poster is smart enough to figure out how
> to turn on SSL on pine that he hasn't already thought of that?

Probably, but that's a very valid rhetorical question :)

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


Re: pine

2005-12-15 Thread Giorgos Keramidas
On 2005-12-15 17:44, caleb <[EMAIL PROTECTED]> wrote:
> Hi everyone,
> I am thinkng of switching ISP's, registering a domain and setting up
> my own mail server.
[...]
> The ISP I am using (according to thier 'technical support') does not
> use any encryption with the POP server and I am able to telnet into
> the SMTP server on port 25 and have my way with it.
[...]
> I also plan to try thunderbird (*sigh* I have to use X), to see if
> there is any difference between it's connection and pine's

FWIW, the easiest way, by far, to configure outgoing email access once
and for all, for any possible mailer or other program that runs on your
machine is to configure Sendmail or install another equally powerful
MTA, like Postfix.

If you have a static IP address of your own, and a registered domain
name (which seems to be the plan, as far as I can tell), this is
immensely useful & easy to set up.  Then you don't have to worry about
picking out the "right" application (Pine or Mutt or Mozilla or
Thunderbird or whatever) to match the settings of your ISP, because
those are abstracted away by your local mail server.

- Giorgos

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


Re: Expect-5.32.1 and Hangups when Spawning a Shell

2005-12-15 Thread Martin McCormick
Rob writes:
>Ports has now a more recent expect (5.43.0), which I
>use

That definitely is the better route.  This particular system
is in use 24/7 by our group and once was a version or two ahead of the
FreeBSD that our DNS's and dhcp servers were using.

Time and a complete failure of a hard drive on our master DNS last
Summer means that it has version 4.11 and the rest need to catch up or
go to version 5.x or 6.x.

Many thanks.

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


6-STABLE buildworld error

2005-12-15 Thread Per olof Ljungmark
CVSUP to STABLE today and got the following result from a fresh 6.0 CD 
install.


FreeBSD 6.0-RELEASE #0: Thu Nov  3 09:36:13 UTC 2005 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386


[make -j4 buildworld]

===> gnu/usr.bin/texinfo/doc
makeinfo --no-split -I /usr/src/gnu/usr.bin/texinfo/doc -I 
/usr/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc 
/usr/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc/info.texi 
 -o info.info
makeinfo --no-split -I /usr/src/gnu/usr.bin/texinfo/doc -I 
/usr/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc 
/usr/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc/info-stnd.texi 
 -o info-stnd.info
ln -fs 
/usr/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc/texinfo.txi 
texinfo.texi

gzip -cn info.info > info.info.gz
makeinfo --no-split -I /usr/src/gnu/usr.bin/texinfo/doc -I 
/usr/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc 
texinfo.texi  -o texinfo.info

gzip -cn info-stnd.info > info-stnd.info.gz
gzip -cn texinfo.info > texinfo.info.gz
1 error
*** Error code 2
1 error
*** Error code 2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 6-STABLE buildworld error

2005-12-15 Thread Giorgos Keramidas
On 2005-12-15 13:50, Per olof Ljungmark <[EMAIL PROTECTED]> wrote:
> CVSUP to STABLE today and got the following result from a fresh 6.0 CD
> install.
>
> FreeBSD 6.0-RELEASE #0: Thu Nov  3 09:36:13 UTC 2005
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
>
> [make -j4 buildworld]

  ^

> ===> gnu/usr.bin/texinfo/doc
> makeinfo --no-split -I /usr/src/gnu/usr.bin/texinfo/doc -I
> /usr/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc
> /usr/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc/info.texi
>  -o info.info
> makeinfo --no-split -I /usr/src/gnu/usr.bin/texinfo/doc -I
> /usr/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc
> /usr/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc/info-stnd.texi
>  -o info-stnd.info
> ln -fs
> /usr/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc/texinfo.txi
> texinfo.texi
> gzip -cn info.info > info.info.gz
> makeinfo --no-split -I /usr/src/gnu/usr.bin/texinfo/doc -I
> /usr/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc
> texinfo.texi  -o texinfo.info
> gzip -cn info-stnd.info > info-stnd.info.gz
> gzip -cn texinfo.info > texinfo.info.gz
> 1 error
> *** Error code 2
> 1 error
> *** Error code 2

Try again without -j4, as it tends to "hide" the real problem.

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


rc question: one-time script

2005-12-15 Thread Nikos Vassiliadis
Hello list,

Is there any way of runnning a script, only once?
at boot time for example? and all that in an rc friendly
way, without having to change the /etc/rc* scripts?

thanks in advance

Nikos

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


Re: rc question: one-time script

2005-12-15 Thread Mike Jeays
On Thu, 2005-12-15 at 15:53 +0200, Nikos Vassiliadis wrote:
> Hello list,
> 
> Is there any way of runnning a script, only once?
> at boot time for example? and all that in an rc friendly
> way, without having to change the /etc/rc* scripts?
> 
> thanks in advance
> 
> Nikos
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

This quote from 'man 5 crontab' should help.

 Instead of the first five fields, one of eight special strings may
 appear:

   string  meaning
   --  ---
   @reboot Run once, at startup.
   @yearly Run once a year, "0 0 1 1 *".
   @annually   (same as @yearly)
   @monthlyRun once a month, "0 0 1 * *".
   @weekly Run once a week, "0 0 * * 0".
   @daily  Run once a day, "0 0 * * *".
   @midnight   (same as @daily)
   @hourly Run once an hour, "0 * * * *".



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


Re: rc question: one-time script

2005-12-15 Thread Doug Poland

On Thu, December 15, 2005 07:53, Nikos Vassiliadis wrote:
> Hello list,
>
> Is there any way of runnning a script, only once?
> at boot time for example? and all that in an rc friendly
> way, without having to change the /etc/rc* scripts?
>
man 5 crontab | grep -C5 reboot


-- 
Regards,
Doug

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


Re: rc question: one-time script

2005-12-15 Thread Vasilkov Vasily
On Thu, 15 Dec 2005 16:53:42 +0300, Nikos Vassiliadis <[EMAIL PROTECTED]>  
wrote:



Hello list,

Is there any way of runnning a script, only once?
at boot time for example? and all that in an rc friendly
way, without having to change the /etc/rc* scripts?

thanks in advance

Nikos

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




 Put your scripts into /usr/local/etc/rc.d/ folder...

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


Re: grub doesn't know ufs filesystem

2005-12-15 Thread Roberto Nunnari

Hi Micah and Harley,

Thanks for your answer.

Humm.. I don't have any other grub on my path, and running
which returns:
# which grub
/usr/local/sbin/grub

The ports were updated quite recently.. in occasion of
last update world.

I did some more testing.. the strange thing is that I use
the same grub boot floppy and the results are ok on the
newly installed freebsd boxes, while on the two that
are already installed the results are bad..


test 1:
===
- made a grub floppy
- boot the existing FreeBSD boxes (2 boxes) from grub floppy
result --> grub doesn't know the ufs filesystem

test 2:
===
- installed a brand new FreeBSD 5-3-RELEASE with default
  partitioning on the whole disk on a separate pc
- boot with grub floppy
result --> grub recognizes the ufs filesystem

test 3:
===
- same as test2, but / root has now soft-updates option
- boot with grub floppy
result --> grub recognizes the ufs filesystem

test 4:
===
- same as test2, but partitioning done with partition magic
  as was done on the computers of test1
- boot with grub floppy
result --> grub recognizes the ufs filesystem

All that seams to point out that there's something wrong
with the existing FreeBSD boxes.. but What? I must say
that both boxes had all filesystem dumped and restored
after repartitioning for permitting the use of dumping
software such as ghost (that didn't like the partitioning
done by freebsd during installation..)

Any more ideas?


Harley D. Eades III wrote:

On Wed, 2005-12-14 at 08:36 -0800, Micah wrote:


Roberto Nunnari wrote:


Hello list.

Please also reply to my mailbox, as I'm not on the list.
Thank you.

I have a old grub floppy that I use time to time to
boot/recover pc with different OS.. Today I wanted to
boot a freebsd 5.3-RELEASE-p23 box, but to my surprise
grub reported:

Filesystem type unknown, partition type 0xa5

and thus cannot mount /boot/loader

So I thought I'd make a grub floppy with a recent version,
but even with version 0.97 things won't change..

# cd /usr/ports/sysutils/grub
# make install
# grub
[ Minimal BASH-like line editing is supported.  For the first word, TAB
  lists possible command completions.  Anywhere else TAB lists the 
possible

  completions of a device/filename. ]

grub> root (hd0,0,a)
Filesystem type unknown, partition type 0xa5

grub> kernel /boot/loader

Error 17: Cannot mount selected partition

grub> root (hd0, 
Possible partitions are:
  Partition num: 0, [BSD sub-partitions immediately follow]
BSD Partition num: 'a',  Filesystem type unknown, partition type 0xa5
BSD Partition num: 'b',  Filesystem type unknown, partition type 0xa5
BSD Partition num: 'd',  Filesystem type unknown, partition type 0xa5
BSD Partition num: 'e',  Filesystem type unknown, partition type 0xa5
BSD Partition num: 'f',  Filesystem type unknown, partition type 0xa5

grub> quit

# mount
/dev/ad0s1a on / (ufs, local, soft-updates)
devfs on /dev (devfs, local)
/dev/ad0s1e on /tmp (ufs, local, soft-updates)
/dev/ad0s1f on /usr (ufs, local, soft-updates)
/dev/ad0s1d on /var (ufs, local, soft-updates)
linprocfs on /usr/compat/linux/proc (linprocfs, local)
devfs on /var/named/dev (devfs, local)

Any hint/thought/advice?

Best regards.


I just installed grub from ports and duplicated your test and it works 
fine.  I'd start by checking your installation and making sure you don't 
have any other grubs in your path.  Some of the grubs that ship with 
Linux distros do not support ufs.  Do a find/locate on grub to see what 
turns up.  Do a which grub, you should get /usr/local/sbin/grub.  If 
not, issue /usr/local/sbin/grub from a command prompt and duplicate your 
test.  If that's broken, make sure your ports tree is up to date, make 
sure /usr/ports/devel/autoconf259 /usr/ports/devel/automake19 
/usr/ports/devel/gmake are up to date (grub's build dependancies) then

deinstall, clean, and reintsall the grub port.


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



I can second this, I use grub all the time, as well as test grub2 on
FreeBSD and both work great for me.

--Harley 
-BEGIN GEEK CODE BLOCK-

G: GCS-- d- a? C B- E+++ W+++ N++ w--- X+++ b++ G e* r x+ z+
--END GEEK CODE BLOCK--



--
  Roberto Nunnari -software engineer-
   mailto:[EMAIL PROTECTED]
 Scuola Universitaria Professionale della Svizzera Italiana
 Dipartimento Tecnologie Innovative
  http://www.dti.supsi.ch
 SUPSI-DTI
 Via Cantonaletel: +41-91-6108561
 6928 Manno """   fax: +41-91-6108570
 Switzerland   (o o)
===oOO==(_)==OOo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ques

Re: rc question: one-time script

2005-12-15 Thread Nikos Vassiliadis
On Thursday 15 December 2005 16:08, Mike Jeays wrote:
> On Thu, 2005-12-15 at 15:53 +0200, Nikos Vassiliadis wrote:
> > Hello list,
> >
> > Is there any way of runnning a script, only once?
> > at boot time for example? and all that in an rc friendly
> > way, without having to change the /etc/rc* scripts?
> >
> > thanks in advance
> >
> > Nikos
> >
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "[EMAIL PROTECTED]"
>
> This quote from 'man 5 crontab' should help.
>
>  Instead of the first five fields, one of eight special strings may
>  appear:
>
>string  meaning
>--  ---
>@reboot Run once, at startup.
>@yearly Run once a year, "0 0 1 1 *".
>@annually   (same as @yearly)
>@monthlyRun once a month, "0 0 1 * *".
>@weekly Run once a week, "0 0 * * 0".
>@daily  Run once a day, "0 0 * * *".
>@midnight   (same as @daily)
>@hourly Run once an hour, "0 * * * *".

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


Re: 6-STABLE buildworld error

2005-12-15 Thread Per olof Ljungmark

Giorgos Keramidas wrote:

On 2005-12-15 13:50, Per olof Ljungmark <[EMAIL PROTECTED]> wrote:


CVSUP to STABLE today and got the following result from a fresh 6.0 CD
install.

FreeBSD 6.0-RELEASE #0: Thu Nov  3 09:36:13 UTC 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

[make -j4 buildworld]



  ^



===> gnu/usr.bin/texinfo/doc
makeinfo --no-split -I /usr/src/gnu/usr.bin/texinfo/doc -I
/usr/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc
/usr/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc/info.texi
-o info.info
makeinfo --no-split -I /usr/src/gnu/usr.bin/texinfo/doc -I
/usr/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc
/usr/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc/info-stnd.texi
-o info-stnd.info
ln -fs
/usr/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc/texinfo.txi
texinfo.texi
gzip -cn info.info > info.info.gz
makeinfo --no-split -I /usr/src/gnu/usr.bin/texinfo/doc -I
/usr/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc
texinfo.texi  -o texinfo.info
gzip -cn info-stnd.info > info-stnd.info.gz
gzip -cn texinfo.info > texinfo.info.gz
1 error
*** Error code 2
1 error
*** Error code 2



Try again without -j4, as it tends to "hide" the real problem.


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


Re: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song)

2005-12-15 Thread Drew Tomlinson

On 12/15/2005 12:33 AM Sasa Stupar wrote:




--On 14. december 2005 20:01 -0800 Ted Mittelstaedt 
<[EMAIL PROTECTED]> wrote:






-Original Message-
From: Danial Thom [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 14, 2005 11:14 AM
To: Ted Mittelstaedt; Drew Tomlinson
Cc: freebsd-questions@freebsd.org
Subject: RE: Polling For 100 mbps Connections? (Was Re: Freebsd Theme
Song)




Well, if polling does no good for fxp, due to
the
hardware doing controlled interrupts, then why
does
the fxp driver even let you set it as an
option?
And why have many people who have enabled it on
fxp seen an improvement?



They haven't, freebsd accounting doesn't work
properly with polling enabled, and "they" don't
have the ability to "know" if they are getting
better performance, because "they", like you,
have no clue what they're doing. How about all
the idiots running MP with FreeBSD 4.x, when we
know its just a waste of time? "they" all think
they're getting worthwhile performance, because
"they" are clueless.



I would call them idiots if they are running MP under
FreeBSD and assuming that they are getting better
performance without actually testing for it.  But
if they are just running MP because they happen to be
using an MP server, and they want to see if it will
work or not, who cares?


Maybe its tunable because they guy who wrote the
driver made it a tunable? duh. I've yet to see
one credible, controlled test that shows polling
vs properly tuned interrupt-driven.



Hm, OK I believe that.  As I recall I asked you earlier to
post the test setup you used for your own tests
"proving" that polling is worse, and you haven't
done so yet.  Now you are saying you have never seen
a credible controlled test that shows polling vs
interrupt-driven.  So I guess either you were blind
when you ran your own tests, or your own tests
are not credible, controlled polling vs properly
tuned interrupt-driven.  As I have been saying
all along.  Now your agreeing with me.


The only advantage of polling is that it will
drop packets instead of going into livelock. The
disadvantage is that it will drop packets when
you have momentary bursts that would harmlessly
put the machine into livelock. Thats about it.



Ah, now I think suddenly I see what the chip on your
shoulder is.  You would rather have your router based
on FreeBSD go into livelock while packets stack up,
than drop anything.  You tested the polling code and found
that yipes, it drops packets.

What may I ask do you think that a Cisco or other
router does when you shove 10Mbt of traffic into it's
Ethernet interface destined for a host behind a T1 that
is plugged into the other end?  (and no, source-quench
is not the correct answer)

I think the scenario of it being better to momentary go into
livelock during an overload is only applicable to one scenario,
where the 2 interfaces in the router are the same capacity.
As in ethernet-to-ethernet routers.  Most certainly not
Ethernet-to-serial routers, like what most routers are
that aren't on DSL lines.

If you have a different understanding then please explain.



I've read those datasheets as well and the
thing I
don't understand is that if you are pumping
100Mbt
into an Etherexpress Pro/100 then if the card
will
not interrupt more than this throttled rate you
keep
talking about, then the card's interrupt
throttling
is going to limit the inbound bandwidth to
below
100Mbt.



Wrong again, Ted. It scares me that you consider
yourself knowlegable about this. You can process
# interrupts X ring_size packets; not one per
interrupt. You're only polling 1000x per second
(or whatever you have hz set to), so why do you
think that you have to interrupt for every packet
to do 100Mb/s?



I never said anything about interrupting for every
packet, did I?  Of course not since I know what
your talking about.  However, it is you who are throwing
around the numbers - or were in your prior post -
regarding the fxp driver and hardware.  Why should
I have to do the work digging around in the datasheets
and doing the math?

Since you seem to be wanting to argue this from a
theory standpoint, then your only option is to do the
math.  Go ahead, look up the datasheet for the 82557.
I'm sure it's online somewhere, and tell us what it says
about throttled interrupts, and run your numbers.


Do you not understand that packet
processing is the same whether its done on a
clock tick or a hardware interrupt? Do you not
understand that a clock tick has more overhead
(because of other assigned tasks)? Do you not
understand that getting exactly 5000 hardware
interrupts is much more efficient than having
5000 clock tick interrupts per second? What part
of this don't you understand?



Well, one part I don't understand is why when
one of those 5000 clock ticks happens and the fxp driver
finds no packets to take off the card, that it takes
the same amount of time for the driver to process
as when the fxp driver finds packets to process.
At least, that s

Re: grub doesn't know ufs filesystem

2005-12-15 Thread Roberto Nunnari

One more note.. let's call 'bad' the pc that grub doesn't
like and ok the others.. and note that the two pc have
identical disk drives.. so..

bad# fdisk
*** Working on device /dev/ad0 ***
parameters extracted from in-core disklabel are:
cylinders=29777 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=29777 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 30009357 (14653 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:

The data for partition 3 is:

The data for partition 4 is:



ok# fdisk
*** Working on device /dev/ad0 ***
parameters extracted from in-core disklabel are:
cylinders=29777 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=29777 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 30009357 (14653 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 3/ sector 63
The data for partition 2 is:

The data for partition 3 is:

The data for partition 4 is:



as you can see, there's a difference in the end head..
bad says end head is 254, while ok says end head is 3
Could that be a source of trouble?


bad# disklabel ad0s1
# /dev/ad0s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:   52428804.2BSD 2048 16384 32776
  b:  1048576   524288  swap
  c: 300093570unused0 0 # "raw" part, 
don't edit

  d:   524288  15728644.2BSD 2048 16384 32776
  e:   524288  20971524.2BSD 2048 16384 32776
  f: 27387917  26214404.2BSD 2048 16384 28552


ok# disklabel ad0s1
# /dev/ad0s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:   52428804.2BSD 2048 16384 32776
  b:   996992   524288  swap
  c: 300093570unused0 0 # "raw" part, 
don't edit

  d:   524288  15212804.2BSD 2048 16384 32776
  e:   524288  20455684.2BSD 2048 16384 32776
  f: 27387917  25698564.2BSD 2048 16384 28552


the disklabel is essentialy the same.. apart from the
size of the swap and consequently the offset of the
rest of the internal partitions..

Again.. any ideas?
--
Robi

Harley D. Eades III wrote:

On Wed, 2005-12-14 at 08:36 -0800, Micah wrote:


Roberto Nunnari wrote:


Hello list.

Please also reply to my mailbox, as I'm not on the list.
Thank you.

I have a old grub floppy that I use time to time to
boot/recover pc with different OS.. Today I wanted to
boot a freebsd 5.3-RELEASE-p23 box, but to my surprise
grub reported:

Filesystem type unknown, partition type 0xa5

and thus cannot mount /boot/loader

So I thought I'd make a grub floppy with a recent version,
but even with version 0.97 things won't change..

# cd /usr/ports/sysutils/grub
# make install
# grub
[ Minimal BASH-like line editing is supported.  For the first word, TAB
  lists possible command completions.  Anywhere else TAB lists the 
possible

  completions of a device/filename. ]

grub> root (hd0,0,a)
Filesystem type unknown, partition type 0xa5

grub> kernel /boot/loader

Error 17: Cannot mount selected partition

grub> root (hd0, 
Possible partitions are:
  Partition num: 0, [BSD sub-partitions immediately follow]
BSD Partition num: 'a',  Filesystem type unknown, partition type 0xa5
BSD Partition num: 'b',  Filesystem type unknown, partition type 0xa5
BSD Partition num: 'd',  Filesystem type unknown, partition type 0xa5
BSD Partition num: 'e',  Filesystem type unknown, partition type 0xa5
BSD Partition num: 'f',  Filesystem type unknown, partition type 0xa5

grub> quit

# mount
/dev/ad0s1a on / (ufs, local, soft-updates)
devfs on /dev (devfs, local)
/dev/ad0s1e on /tmp (ufs, local, soft-updates)
/dev/ad0s1f on /usr (ufs, local, soft-updates)
/dev/ad0s1d on /var (ufs, local, soft-updates)
linprocfs on /usr/compat/linux/proc (linprocfs, local)
devfs on /var/named/dev (devfs, local)

Any hint/thought/advice?

Best regards.


I just installed grub from ports and duplicated your test and it works 
fine.  I'd start by checking your installation and making sure you don't 
have any other grubs in your path.  Some of the grubs that ship with 
Linux distros do not support ufs.  Do a find/locate on grub to see what 
turns up.  Do a which grub, you should get /usr/local/sbin/grub.  If 
not, issue /usr/local/sbin/grub from 

KDE 3.5 status?

2005-12-15 Thread Kirk Strauser
Does anybody know where I can find the status of porting KDE 3.5 to FreeBSD?
-- 
Kirk Strauser


pgpUA7Neg99Ya.pgp
Description: PGP signature


Re: grub doesn't know ufs filesystem

2005-12-15 Thread Micah

Roberto Nunnari wrote:

One more note.. let's call 'bad' the pc that grub doesn't
like and ok the others.. and note that the two pc have
identical disk drives.. so..

bad# fdisk
*** Working on device /dev/ad0 ***
parameters extracted from in-core disklabel are:
cylinders=29777 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=29777 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 30009357 (14653 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:

The data for partition 3 is:

The data for partition 4 is:



ok# fdisk
*** Working on device /dev/ad0 ***
parameters extracted from in-core disklabel are:
cylinders=29777 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=29777 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 30009357 (14653 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 3/ sector 63
The data for partition 2 is:

The data for partition 3 is:

The data for partition 4 is:



as you can see, there's a difference in the end head..
bad says end head is 254, while ok says end head is 3
Could that be a source of trouble?


bad# disklabel ad0s1
# /dev/ad0s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:   52428804.2BSD 2048 16384 32776
  b:  1048576   524288  swap
  c: 300093570unused0 0 # "raw" part, 
don't edit

  d:   524288  15728644.2BSD 2048 16384 32776
  e:   524288  20971524.2BSD 2048 16384 32776
  f: 27387917  26214404.2BSD 2048 16384 28552


ok# disklabel ad0s1
# /dev/ad0s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:   52428804.2BSD 2048 16384 32776
  b:   996992   524288  swap
  c: 300093570unused0 0 # "raw" part, 
don't edit

  d:   524288  15212804.2BSD 2048 16384 32776
  e:   524288  20455684.2BSD 2048 16384 32776
  f: 27387917  25698564.2BSD 2048 16384 28552


the disklabel is essentialy the same.. apart from the
size of the swap and consequently the offset of the
rest of the internal partitions..

Again.. any ideas?
--
Robi

Harley D. Eades III wrote:


On Wed, 2005-12-14 at 08:36 -0800, Micah wrote:


Roberto Nunnari wrote:


Hello list.

Please also reply to my mailbox, as I'm not on the list.
Thank you.

I have a old grub floppy that I use time to time to
boot/recover pc with different OS.. Today I wanted to
boot a freebsd 5.3-RELEASE-p23 box, but to my surprise
grub reported:

Filesystem type unknown, partition type 0xa5

and thus cannot mount /boot/loader

So I thought I'd make a grub floppy with a recent version,
but even with version 0.97 things won't change..

# cd /usr/ports/sysutils/grub
# make install
# grub
[ Minimal BASH-like line editing is supported.  For the first word, TAB
  lists possible command completions.  Anywhere else TAB lists the 
possible

  completions of a device/filename. ]

grub> root (hd0,0,a)
Filesystem type unknown, partition type 0xa5

grub> kernel /boot/loader

Error 17: Cannot mount selected partition

grub> root (hd0, 
Possible partitions are:
  Partition num: 0, [BSD sub-partitions immediately follow]
BSD Partition num: 'a',  Filesystem type unknown, partition type 
0xa5
BSD Partition num: 'b',  Filesystem type unknown, partition type 
0xa5
BSD Partition num: 'd',  Filesystem type unknown, partition type 
0xa5
BSD Partition num: 'e',  Filesystem type unknown, partition type 
0xa5
BSD Partition num: 'f',  Filesystem type unknown, partition type 
0xa5


grub> quit

# mount
/dev/ad0s1a on / (ufs, local, soft-updates)
devfs on /dev (devfs, local)
/dev/ad0s1e on /tmp (ufs, local, soft-updates)
/dev/ad0s1f on /usr (ufs, local, soft-updates)
/dev/ad0s1d on /var (ufs, local, soft-updates)
linprocfs on /usr/compat/linux/proc (linprocfs, local)
devfs on /var/named/dev (devfs, local)

Any hint/thought/advice?

Best regards.



I just installed grub from ports and duplicated your test and it 
works fine.  I'd start by checking your installation and making sure 
you don't have any other grubs in your path.  Some of the grubs that 
ship with Linux distros do not support ufs.  Do a find/locate on grub 
to see what turns up.  Do a which grub, you should get 
/usr/local/sbin/grub.  If not, 

Re: KDE 3.5 status?

2005-12-15 Thread Louis J. LeBlanc
On Thu, December 15, 2005 10:12 am, Kirk Strauser wrote:
> Does anybody know where I can find the status of porting KDE 3.5 to
> FreeBSD?
> --
> Kirk Strauser
>

Perhaps here:
http://freebsd.kde.org/

I suspect it's already building on FreeBSD, and may already be in the
ports.  Try updating your ports directory, and if it's not there, you
might try the port maintainer.

HTH
Lou
-- 
Louis LeBlanc [EMAIL PROTECTED]
Fully Funded Hobbyist,   KeySlapper Extrordinaire :þ
http://www.keyslapper.net   Ô¿Ô¬

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


Re: KDE 3.5 status?

2005-12-15 Thread Kirk Strauser
On Thursday 15 December 2005 09:18, Louis J. LeBlanc wrote:

> Perhaps here:
> http://freebsd.kde.org/

Nothing there...

> Try updating your ports directory, and if it's not there, you might try
> the port maintainer. 

...and it's not in ports yet.  I'd rather the maintainer be spending his 
time on the port than answer my emails, so I'll go back to waiting 
patiently.
-- 
Kirk Strauser


pgp8cOPTDmzmw.pgp
Description: PGP signature


Re: pine

2005-12-15 Thread Igor Robul
On Wed, Dec 14, 2005 at 12:21:19PM -0800, Ted Mittelstaedt wrote:
> The first thing you can do is go out and shoo the crackers
> off the telephone pole who are tapped into your phone line
> and sniffing your passwords.
By the way, is there any relative cheap solution to do this?
I mean we can record phone conversation, but how can we decode all this 
V.90, PPP, IP, TCP out of recorded audio?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: grub doesn't know ufs filesystem

2005-12-15 Thread Igor Robul
On Wed, Dec 14, 2005 at 03:52:33PM +0100, Roberto Nunnari wrote:
> grub reported:
> 
> Filesystem type unknown, partition type 0xa5
> 
> and thus cannot mount /boot/loader

You are correct. Old versions of grub don't know about UFS2 filesystem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


dvdrecord?

2005-12-15 Thread Wojciech Puchar
why there is no dvdrecord in ports? it was available in NetBSD, and i used 
it for recording DVD-R?


or maybe other tool? (but not growisofs that works good with DVD+R only)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 6-STABLE buildworld error

2005-12-15 Thread Giorgos Keramidas
On 2005-12-15 15:23, Per olof Ljungmark <[EMAIL PROTECTED]> wrote:
>Giorgos Keramidas wrote:
>>On 2005-12-15 13:50, Per olof Ljungmark <[EMAIL PROTECTED]> wrote:
>>> CVSUP to STABLE today and got the following result from a fresh 6.0 CD
>>> install.
>>>
>>> FreeBSD 6.0-RELEASE #0: Thu Nov  3 09:36:13 UTC 2005
>>> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
>>>
>>> [make -j4 buildworld]
>>
>>   ^
>>> gzip -cn info-stnd.info > info-stnd.info.gz
>>> gzip -cn texinfo.info > texinfo.info.gz
>>> 1 error
>>> *** Error code 2
>>> 1 error
>>> *** Error code 2
>>
>> Try again without -j4, as it tends to "hide" the real problem.
>
> Hmmm... "make buildworld" worked fine...

You can always report this to Ruslan (ru at freebsd.org), but it's not a
serious bug IMHO.  Probably something related to the dependencies listed
in the build makefiles.

- Giorgos

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


Re: dvdrecord?

2005-12-15 Thread Giorgos Keramidas
On 2005-12-15 16:56, Wojciech Puchar <[EMAIL PROTECTED]> wrote:
> why there is no dvdrecord in ports? it was available in NetBSD, and i
> used it for recording DVD-R?
>
> or maybe other tool? (but not growisofs that works good with DVD+R only)

Note that I haven't recorded any DVD's yet, but:

  - Is burncd(8) not good enough?
  - If not, why?

Soren Schmidt, who maintains burncd, can probably fix any problems you
have with it, if you submit a bug report explaining why it doesn't work
for you.

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


Re: dvdrecord?

2005-12-15 Thread Wojciech Puchar

used it for recording DVD-R?

or maybe other tool? (but not growisofs that works good with DVD+R only)


Note that I haven't recorded any DVD's yet, but:

 - Is burncd(8) not good enough?


yes


 - If not, why?


because it burns only CDs not DVDs, at least as Soren stated.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: dvdrecord?

2005-12-15 Thread Andrew L. Gould
On Thu, 15 Dec 2005 16:56:25 +0100 (CET)
Wojciech Puchar <[EMAIL PROTECTED]> wrote:

> why there is no dvdrecord in ports? it was available in NetBSD, and i
> used it for recording DVD-R?
> 
> or maybe other tool? (but not growisofs that works good with DVD+R
> only) ___

I use growisofs to burn database backup files to DVD-R on a regular
basis.  The port name, dvd+rw-tools, is a little misleading in this
regard.

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


Re: dvdrecord?

2005-12-15 Thread Wojciech Puchar

or maybe other tool? (but not growisofs that works good with DVD+R
only) ___


I use growisofs to burn database backup files to DVD-R on a regular
basis.  The port name, dvd+rw-tools, is a little misleading in this
regard.


i'n now writing DVD-R from image with it, now 800MB and still going.
anyway it can't record DVD-R from pipe, and can't have extra RAM buffer.

dvdrecord CAN write from pipe in -dao mode if size is entered in options

i were using that script:

mkisofs -rq -jcharset iso8859-2 . 2>/dev/null| \
 dvdrecord $* -v tsize=`mkisofs -rq -jcharset iso8859-2 --print-size .`x2k \
 -delay=5 driveropts=burnfree -dao -

to write directly files in dao mode to DVD-R.

now i'm unable to do it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: dvdrecord?

2005-12-15 Thread Giorgos Keramidas
On 2005-12-15 17:11, Wojciech Puchar <[EMAIL PROTECTED]> wrote:
> >>used it for recording DVD-R?
> >>
> >>or maybe other tool? (but not growisofs that works good with DVD+R only)
> >
> >Note that I haven't recorded any DVD's yet, but:
> >
> > - Is burncd(8) not good enough?
>
> yes
>
> > - If not, why?
>
> because it burns only CDs not DVDs, at least as Soren stated.

I may be very wrong, but the manpage in CURRENT (and 6.0-RELEASE) says,
among other things:

 dvdrw Set the write mode to write a DVD+RW from the following
   image.  DVDs only have one track.

I'll have to test it and see how things work.  A friend whom I asked
just a few minutes ago says that he's only ever used growisofs for
recording DVDs.

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


Re: dvdrecord?

2005-12-15 Thread Wojciech Puchar

I may be very wrong, but the manpage in CURRENT (and 6.0-RELEASE) says,
among other things:

dvdrw Set the write mode to write a DVD+RW from the following
  image.  DVDs only have one track.


+RW

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


Re: dvdrecord?

2005-12-15 Thread Marc Fonvieille
On Thu, Dec 15, 2005 at 05:24:46PM +0100, Wojciech Puchar wrote:
> >>or maybe other tool? (but not growisofs that works good with DVD+R
> >>only) ___
> >
> >I use growisofs to burn database backup files to DVD-R on a regular
> >basis.  The port name, dvd+rw-tools, is a little misleading in this
> >regard.
> >
> i'n now writing DVD-R from image with it, now 800MB and still going.
> anyway it can't record DVD-R from pipe, and can't have extra RAM buffer.
> 
> dvdrecord CAN write from pipe in -dao mode if size is entered in options
> 
> i were using that script:
> 
> mkisofs -rq -jcharset iso8859-2 . 2>/dev/null| \
>  dvdrecord $* -v tsize=`mkisofs -rq -jcharset iso8859-2 --print-size .`x2k \
>  -delay=5 driveropts=burnfree -dao -
>
[...]

Well, does it really beat a 
growisofs -dvd-compat -Z /dev/cd0 -J -R /path/to/yourdata
(which works fine with -/+R)?

Marc


pgpqmCQT8PszD.pgp
Description: PGP signature


Re: dvdrecord?

2005-12-15 Thread Chuck Swiger
Wojciech Puchar wrote:
[ ... ]
>> I use growisofs to burn database backup files to DVD-R on a regular
>> basis.  The port name, dvd+rw-tools, is a little misleading in this
>> regard.
>>
> i'n now writing DVD-R from image with it, now 800MB and still going.
> anyway it can't record DVD-R from pipe, and can't have extra RAM buffer.
> 
> dvdrecord CAN write from pipe in -dao mode if size is entered in options
> 
> i were using that script:
> 
> mkisofs -rq -jcharset iso8859-2 . 2>/dev/null| \
>  dvdrecord $* -v tsize=`mkisofs -rq -jcharset iso8859-2 --print-size .`
>  x2k -delay=5 driveropts=burnfree -dao -
> 
> to write directly files in dao mode to DVD-R.

On burners which do not have buffer-underrun correction capabilities (ie,
"BurnProof", "JustLink", etc), trying to create the ISO image on the fly and
pipe it to the burning process can result in coasters.  YMMV, but I prefer to
create the .ISO image seperately, and confirm it contains what I think it should
contain seperately, before trying to burn it.

However, there's room for more tools in ports, so if you like dvdrecord enough
to want to use it under FreeBSD, why not port it yourself?

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


Re: this AMD motherboard?

2005-12-15 Thread Gary Kline
On Thu, Dec 15, 2005 at 11:50:42AM +0100, Roland Smith wrote:
> On Wed, Dec 14, 2005 at 06:16:41PM -0800, Gary Kline wrote:
> > Can anyone tell if the graphics chips on this card will  work
> > with X?
> 
> > http://www.ecs.com.tw/ECSWeb/Products/ProductsDetail.aspx?DetailID=422&MenuID=24&LanID=9
> 
> Looks like it will work:
> http://www.winischhofer.at/linuxsispart1.shtml#12

On the specs sheet URL I see "Sis Real256E 2D/3D"; I don't see the
same designation on the winischhofer.at page.  What am I missing?

gary

> 
> Roland
> -- 
> R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
> public key: http://www.xs4all.nl/~rsmith/pubkey.txt



-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: dvdrecord?

2005-12-15 Thread Andrew L. Gould
On Thu, 15 Dec 2005 17:24:46 +0100 (CET)
Wojciech Puchar <[EMAIL PROTECTED]> wrote:

> >> or maybe other tool? (but not growisofs that works good with DVD+R
> >> only) ___
> >
> > I use growisofs to burn database backup files to DVD-R on a regular
> > basis.  The port name, dvd+rw-tools, is a little misleading in this
> > regard.
> >
> i'n now writing DVD-R from image with it, now 800MB and still going.
> anyway it can't record DVD-R from pipe, and can't have extra RAM
> buffer.
> 
> dvdrecord CAN write from pipe in -dao mode if size is entered in
> options
> 
> i were using that script:
> 
> mkisofs -rq -jcharset iso8859-2 . 2>/dev/null| \
>   dvdrecord $* -v tsize=`mkisofs -rq -jcharset iso8859-2
> --print-size .`x2k \ -delay=5 driveropts=burnfree -dao -
> 
> to write directly files in dao mode to DVD-R.
> 
> now i'm unable to do it.

Growisofs can burn iso images or use mkisofs internally to burn
datafiles directly to the DVD-/+R.  In the "Examples" section
of the growisofs man page, you will find the following:

"To master and burn an ISO9660 volume with Joliet and Rock-Ridge
extensions on a DVD:
growisofs -Z /dev/dvd -R -J /some/files

To append more data to same DVD:
growisofs -M /dev/dvd -R -J /more/files"

"To use growisofs to write a pre-mastered ISO-image to a DVD:
growisofs -dvd-compat -Z /dev/dvd=image.iso"

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


Re: dvdrecord?

2005-12-15 Thread Wojciech Puchar

 -delay=5 driveropts=burnfree -dao -


[...]

Well, does it really beat a
growisofs -dvd-compat -Z /dev/cd0 -J -R /path/to/yourdata
(which works fine with -/+R)?


are you sure it works with -R?

manual says that only images can be recorded with DVD-R
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: dvdrecord?

2005-12-15 Thread Wojciech Puchar

On burners which do not have buffer-underrun correction capabilities (ie,
"BurnProof", "JustLink", etc), trying to create the ISO image on the fly and
pipe it to the burning process can result in coasters.  YMMV, but I prefer to

 ^^^


anyway - it may not :)

already recorded 800 DVD's without single failed.


However, there's room for more tools in ports, so if you like dvdrecord enough
to want to use it under FreeBSD, why not port it yourself?

because i'm asking why it wasn't first - i'm sure that there are many 
people who needs this

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


Re: dvdrecord?

2005-12-15 Thread Wojciech Puchar

extensions on a DVD:
   growisofs -Z /dev/dvd -R -J /some/files

To append more data to same DVD:
   growisofs -M /dev/dvd -R -J /more/files"

"To use growisofs to write a pre-mastered ISO-image to a DVD:
   growisofs -dvd-compat -Z /dev/dvd=image.iso"

Andrew



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


Re: dvdrecord?

2005-12-15 Thread Dev Tugnait
On Thu, 2005-12-15 at 18:09 +0100, Wojciech Puchar wrote:
> >>  -delay=5 driveropts=burnfree -dao -
> >>
> > [...]
> >
> > Well, does it really beat a
> > growisofs -dvd-compat -Z /dev/cd0 -J -R /path/to/yourdata
> > (which works fine with -/+R)?
> 
> are you sure it works with -R?

"To use growisofs to write a pre-mastered ISO-image to a DVD:
growisofs -dvd-compat -Z /dev/dvd=image.iso"

What is this long discussion for? Instead of attempting to burn a disc
you're asking the same questions repeatedly. For the last time yes it
can burn -/+/+RW/-RW
 
> 
> manual says that only images can be recorded with DVD-R
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
-- 
Dev Tugnait <[EMAIL PROTECTED]>

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


Re: dvdrecord?

2005-12-15 Thread Marc Fonvieille
On Thu, Dec 15, 2005 at 06:09:40PM +0100, Wojciech Puchar wrote:
> >> -delay=5 driveropts=burnfree -dao -
> >>
> >[...]
> >
> >Well, does it really beat a
> >growisofs -dvd-compat -Z /dev/cd0 -J -R /path/to/yourdata
> >(which works fine with -/+R)?
> 
> are you sure it works with -R?
> 

I'm sure of it.

> manual says that only images can be recorded with DVD-R

where?

The only problems I'm aware are documented at
http://fy.chalmers.se/~appro/linux/DVD+RW/hcn.html

Marc


pgpv3t08wcLPh.pgp
Description: PGP signature


Sasl Help

2005-12-15 Thread Tom Grove

has anyone ever seen this error?  why would this be happening?

"unknown authentication mechanism: sasldb"

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


Re: this AMD motherboard?

2005-12-15 Thread Roland Smith
On Thu, Dec 15, 2005 at 08:48:55AM -0800, Gary Kline wrote:
> On Thu, Dec 15, 2005 at 11:50:42AM +0100, Roland Smith wrote:
> > On Wed, Dec 14, 2005 at 06:16:41PM -0800, Gary Kline wrote:
> > >   Can anyone tell if the graphics chips on this card will  work
> > >   with X?
> > 
> > > http://www.ecs.com.tw/ECSWeb/Products/ProductsDetail.aspx?DetailID=422&MenuID=24&LanID=9
> > 
> > Looks like it will work:
> > http://www.winischhofer.at/linuxsispart1.shtml#12
> 
>   On the specs sheet URL I see "Sis Real256E 2D/3D"; I don't see the
>   same designation on the winischhofer.at page.  What am I missing?

I quote from section 2:

  "Finally, "Real256", "Ultra256" and "Mirage" are marketing names for the
   3D engines of the 661, 741, 760 and 761."

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgpQ3WGUxQYoM.pgp
Description: PGP signature


Re: KDE 3.5 status?

2005-12-15 Thread Norbert Papke
On December 15, 2005 07:12 am, Kirk Strauser wrote:
> Does anybody know where I can find the status of porting KDE 3.5 to
> FreeBSD?

Please see

http://frontrangebsd.org/pipermail/kde-freebsd/2005-December/011800.html

Cheers.

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


Re: dvdrecord?

2005-12-15 Thread Wojciech Puchar

What is this long discussion for? Instead of attempting to burn a disc
you're asking the same questions repeatedly. For the last time yes it
can burn -/+/+RW/-RW

yes it can - just finished recording second DVD from directly files and 
dvdrecord looks like obsolete. thank you.


BTW - anyone knows what's the status of mount_udf?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: dvdrecord?

2005-12-15 Thread Chuck Swiger
Wojciech Puchar wrote:
>> On burners which do not have buffer-underrun correction capabilities (ie,
>> "BurnProof", "JustLink", etc), trying to create the ISO image on the
>> fly and pipe it to the burning process can result in coasters.  YMMV, but I
>> prefer to
> 
>  ^^^
> anyway - it may not :)
> 
> already recorded 800 DVD's without single failed.

On decent hardware, there shouldn't be a problem, especially if your burner can
handle underruns.  However, I get bug reports from people using older burners
and slow drives, people using USB burners at USB-1 speeds, and other
circumstances which are somewhat marginal.

As others have said, you can have growisofs invoke mkisofs on your behalf to
burn a filesystem tree directly without creating a seperate .ISO file as an
intermediate step.  If you want to do so in DAO mode, one can use the
(undocumented) flag: "-use-the-force-luke=dao".

>> However, there's room for more tools in ports, so if you like
>> dvdrecord enough to want to use it under FreeBSD, why not port it yourself?
>>
> because i'm asking why it wasn't first - i'm sure that there are many
> people who needs this

dvd+rw-tools was added to ports back in 2003, and depended on the mkisofs port
(aka cdrtools).  Apparently, dvdrecord is a fork of cdrtools, but I don't know
which one appeared first.

There's also burncd by Soren, which works fine for CD-R/RW burning, but doesn't
do DVD-burning especially well.  YMMV.

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


Re: this AMD motherboard?

2005-12-15 Thread Gary Kline
On Thu, Dec 15, 2005 at 06:25:36PM +0100, Roland Smith wrote:
> On Thu, Dec 15, 2005 at 08:48:55AM -0800, Gary Kline wrote:
> > On Thu, Dec 15, 2005 at 11:50:42AM +0100, Roland Smith wrote:
> > > On Wed, Dec 14, 2005 at 06:16:41PM -0800, Gary Kline wrote:
> > > > Can anyone tell if the graphics chips on this card will  work
> > > > with X?
> > > 
> > > > http://www.ecs.com.tw/ECSWeb/Products/ProductsDetail.aspx?DetailID=422&MenuID=24&LanID=9
> > > 
> > > Looks like it will work:
> > > http://www.winischhofer.at/linuxsispart1.shtml#12
> > 
> > On the specs sheet URL I see "Sis Real256E 2D/3D"; I don't see the
> > same designation on the winischhofer.at page.  What am I missing?
> 
> I quote from section 2:
> 
>   "Finally, "Real256", "Ultra256" and "Mirage" are marketing names for the
>3D engines of the 661, 741, 760 and 761."
> 

YEs!  I was using links and searching on /SiS, but found the 
"Real256" string.  Thanks for ferreting this out!

gary





-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: Sasl Help

2005-12-15 Thread Anish Mistry
On Thursday 15 December 2005 12:25 pm, Tom Grove wrote:
> unknown authentication mechanism: sasldb
Your saslauthd is probably not built with sasldb support.
You also need to provide more information.

-- 
Anish Mistry


pgp3hilwNnbxU.pgp
Description: PGP signature


Re: dvdrecord?

2005-12-15 Thread Wojciech Puchar

On decent hardware, there shouldn't be a problem, especially if your burner can
handle underruns.  However, I get bug reports from people using older burners


with no burnproof still no problems on PII/400 with 160GB IDE drive.


There's also burncd by Soren, which works fine for CD-R/RW burning, but doesn't
do DVD-burning especially well.  YMMV.


already used it for CD's and works fine.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Gnome port forcing Apache 2.0 on me during install

2005-12-15 Thread Wes Santee

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Greetings,

I run Apache 1.3+ssl on a computer that I'm installing Gnome 2.12.2 via
the meta-port in x11/gnome2.  As part of that install, it builds and
installs www/gnome-user-share.  *That* port forces the www/apache20 port
upon me.

Since my version of Apache conflicts with the version it wants,
portmanager dutifully uninstalls my version and installs 2.0 in an
unconfigured state.

Seems to me there should be some sort of warning, opt-out choice, or
choice to pick a different http server (if gnome-user-share permits it)
before doing this to a user.  There are a lot of http servers listed and
maintained in the ports tree.

Are my only options to either suck it up and configure Apache 2.0 for my
~ machine, or ditch gnome-user-share and tell portmanager to never
install it so I can run the web server I want?

Cheers,
- -Wes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (MingW32)

iQIVAwUBQ6G2p4rq8W17hxGfAQh1Gg//VkWExdYQGrR4rKjHjaK6G8t7sxi5CNgL
JTnq55ihSzK6PK40GuHn2UIhfXFm7kY3lst7GSkN2QxtyhHRRyOWM6Z3+pOm6G6q
+L3RUmpqDtqJP5AeyIJcK7LPvgyRX2nRT1DEcbwNfxGWd5XVJhvK7pOASL+MElq7
xrjcBaaZgVuLXa0lv2fdd8EXiuE/xRGWPw0vTc/AdXJS4B/koa6iOVXism20g6ML
1uJMdHM3N+hvi5+NAPaKauDUDG2+DbmfDLBxJXS/S+Y24YrmCDYOSxlpgvW9os4L
dyeChyCBL0TV75CIM+CuYp3oSXfIkFwHgzhFqEyDDkQj2GUR3G1o/yDoqObaYj5y
2/4N+7DLGeaMxwmGZLxIYvopyqmW/mAPnj2QuNlJLPQY6kywllwsBt0xi9ET18Qo
Fof2vS8ptxbSNPNjNrcgikonyKe2tksOXv4ixOw3p4Ps6rY9ANJl1MkHZZ7ELhdd
oigU9/P5bGNbT9EEvBOac6OaVuLyin0g/mZObA9xuNNnVyzQQCfNhRcwct5U/UkM
v/45PMmayDHGMBG4NRgg6fOps5+JYNduZk2InEYyHYCO3DDZC0lrYh3comQVQ4iY
2SnCw+WQfo9xTpEOwMrxK+WTuF1IaQ2HNsyp7oVzYVfrMWMX91/n8Yj0A+teVS2w
uUlwJypBMf4=
=0eM8
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Gnome port forcing Apache 2.0 on me during install

2005-12-15 Thread Michael C. Shultz
On Thursday 15 December 2005 10:32, Wes Santee wrote:
> Greetings,
>
> I run Apache 1.3+ssl on a computer that I'm installing Gnome 2.12.2 via
> the meta-port in x11/gnome2.  As part of that install, it builds and
> installs www/gnome-user-share.  *That* port forces the www/apache20 port
> upon me.
>
> Since my version of Apache conflicts with the version it wants,
> portmanager dutifully uninstalls my version and installs 2.0 in an
> unconfigured state.
>
> Seems to me there should be some sort of warning, opt-out choice, or
> choice to pick a different http server (if gnome-user-share permits it)
> before doing this to a user.  There are a lot of http servers listed and
> maintained in the ports tree.
>
> Are my only options to either suck it up and configure Apache 2.0 for my
> ~ machine, or ditch gnome-user-share and tell portmanager to never
> install it so I can run the web server I want?
>
> Cheers,
> -Wes

The only gnome port I can find that as that port as a dependency is 
x11/gnome2-power-tools, not x11/gnome2.

-Mike

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


RE: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song)

2005-12-15 Thread Danial Thom


--- Ted Mittelstaedt <[EMAIL PROTECTED]>
wrote:

> 
> 
> >-Original Message-
> >From: Danial Thom
> [mailto:[EMAIL PROTECTED]
> >Sent: Wednesday, December 14, 2005 11:14 AM
> >To: Ted Mittelstaedt; Drew Tomlinson
> >Cc: freebsd-questions@freebsd.org
> >Subject: RE: Polling For 100 mbps Connections?
> (Was Re: Freebsd Theme
> >Song)
> >
> 
> >> Well, if polling does no good for fxp, due
> to
> >> the
> >> hardware doing controlled interrupts, then
> why
> >> does
> >> the fxp driver even let you set it as an
> >> option?
> >> And why have many people who have enabled it
> on
> >> fxp seen an improvement?
> >
> >They haven't, freebsd accounting doesn't work
> >properly with polling enabled, and "they"
> don't
> >have the ability to "know" if they are getting
> >better performance, because "they", like you,
> >have no clue what they're doing. How about all
> >the idiots running MP with FreeBSD 4.x, when
> we
> >know its just a waste of time? "they" all
> think
> >they're getting worthwhile performance,
> because
> >"they" are clueless.
> >
> 
> I would call them idiots if they are running MP
> under
> FreeBSD and assuming that they are getting
> better
> performance without actually testing for it. 
> But
> if they are just running MP because they happen
> to be
> using an MP server, and they want to see if it
> will
> work or not, who cares?
> 
> >Maybe its tunable because they guy who wrote
> the
> >driver made it a tunable? duh. I've yet to see
> >one credible, controlled test that shows
> polling
> >vs properly tuned interrupt-driven.
> >
> 
> Hm, OK I believe that.  As I recall I asked you
> earlier to
> post the test setup you used for your own tests
> "proving" that polling is worse, and you
> haven't
> done so yet.  Now you are saying you have never
> seen
> a credible controlled test that shows polling
> vs
> interrupt-driven.  So I guess either you were
> blind
> when you ran your own tests, or your own tests
> are not credible, controlled polling vs
> properly
> tuned interrupt-driven.  As I have been saying
> all along.  Now your agreeing with me.
> 
> >The only advantage of polling is that it will
> >drop packets instead of going into livelock.
> The
> >disadvantage is that it will drop packets when
> >you have momentary bursts that would
> harmlessly
> >put the machine into livelock. Thats about it.
> >
> 
> Ah, now I think suddenly I see what the chip on
> your
> shoulder is.  You would rather have your router
> based
> on FreeBSD go into livelock while packets stack
> up,
> than drop anything.  You tested the polling
> code and found
> that yipes, it drops packets.
> 
> What may I ask do you think that a Cisco or
> other
> router does when you shove 10Mbt of traffic
> into it's
> Ethernet interface destined for a host behind a
> T1 that
> is plugged into the other end?  (and no,
> source-quench
> is not the correct answer)
> 
> I think the scenario of it being better to
> momentary go into
> livelock during an overload is only applicable
> to one scenario,
> where the 2 interfaces in the router are the
> same capacity.
> As in ethernet-to-ethernet routers.  Most
> certainly not
> Ethernet-to-serial routers, like what most
> routers are
> that aren't on DSL lines.
> 
> If you have a different understanding then
> please explain.


Yes, going into livelock for a moment is better
than dropping a bucket of packets. If your
machine is in constant livelock, then its too
slow and it doesn't matter whether you run
polling or interrupts; you need a new machine.

You also can't grasp the point that clock ticks
do more than just poll, you're forcing a LOT of
other stuff to get done a lot more often than
necessary. You also don't understand that polling
occurs MILLIONS of times per second on machines
that aren't loaded. The HZ setting is the minimum
number of polls per second. Its a perfect example
of using a setting without having any idea how it
works just because some idiot falsely claimed it
was better without really testing it.
> 
> >> 
> >> I've read those datasheets as well and the
> >> thing I
> >> don't understand is that if you are pumping
> >> 100Mbt
> >> into an Etherexpress Pro/100 then if the
> card
> >> will
> >> not interrupt more than this throttled rate
> you
> >> keep
> >> talking about, then the card's interrupt
> >> throttling 
> >> is going to limit the inbound bandwidth to
> >> below
> >> 100Mbt.  
> >
> >Wrong again, Ted. It scares me that you
> consider
> >yourself knowlegable about this. You can
> process
> >#interrupts X ring_size packets; not one per
> >interrupt. You're only polling 1000x per
> second
> >(or whatever you have hz set to), so why do
> you
> >think that you have to interrupt for every
> packet
> >to do 100Mb/s?
> 
> I never said anything about interrupting for
> every
> packet, did I?  Of course not since I know what
> your talking about.

You said that the throttled interrupts would keep
the controller from being able to do full
100Mb/s, which is wrong

Re: Gnome port forcing Apache 2.0 on me during install

2005-12-15 Thread Wes Santee

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Michael C. Shultz wrote:
| On Thursday 15 December 2005 10:32, Wes Santee wrote:
|
|>Greetings,
|>
|>I run Apache 1.3+ssl on a computer that I'm installing Gnome 2.12.2 via
|>the meta-port in x11/gnome2.  As part of that install, it builds and
|>installs www/gnome-user-share.  *That* port forces the www/apache20 port
|>upon me.
|>[snip]
|
| The only gnome port I can find that as that port as a dependency is
| x11/gnome2-power-tools, not x11/gnome2.
|
| -Mike

You're right.  Originally when I installed Gnome2, I used the
gnome2-lite meta-port.  It lists other ports to install to get the more
"full featured" Gnome.  After I while I removed the gnome2-lite port and
installed the gnome2 full port since I was slowly adding the add-on
ports it mentioned anyway.  I assumed the bits I had already added were
part of the full port.

Guess I can just delete the port and be done with it.  That solution
doesn't really address the larger issue of a port that will toss your
HTTP server out without so much as a how-do-you-do, but at least I can
go back to my known configuration easily enough.

Cheers,
- -Wes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (MingW32)

iQIVAwUBQ6HHz4rq8W17hxGfAQhZjQ/9HDsPaj5efTxIG2LTXxIDgU/f1Zr47XKG
/Z0rV+VJ5VLhNfNnwy67cFJ2OgriucgToY0BbN0KjWk+uvRPaLV8w2ca/UvHp6HX
IY4VvfCyrx0QIpjKHhB4aCBjcHy8zvWCnvNlUriUzM26dnZ38Vs2gvKgkcBPmVwH
9GvqX/dPk5r0MnOA8FlfszWFfuLvLZFUTBbd3ZxCE7HlFa4JdhWLm5oC50KqG1Wt
+PzIjwundw3HLr/v9SaVEP1KYngpFQbL9e0VzxXEv1L+1GEwQpv2zeNs9yU/qUzK
ny/tH7L80XZ36n/pNPwfMTmPDIJY4IR9GcWI1RUmHFrdf7h3OglA79Ucdf+JTLpT
UJt05cqW4wtVcyqnWzYY6rgul4ehCD79+OOiZEJwq6xBbsAZtkuLg0G4p6dsrOKp
RLqJ3XylIzxFQK6JvXfs2lPFkygxk40iq31+cOU0z/cfM9Z27+LoXy8A8ct7SjDE
OiV9etK5I6q8nXCKfRxzHGl+fvfhIdjltKpaqxdj2PBFhl7UkE88azgElscxw5QD
HTMLCj0eJQB+h4xFd4BV4QduZZFnng3P2ArtDAEA9Eg3BPa5JwnktpnXo4UYsdRP
4p6XcUL03xztxce7xqzfLBEMujSkvkoUH+gEK0omiRYcbk18MyFWCeW2ZCMVWIGN
HZKDvlqpdMA=
=752p
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


shebang line parsing changes in 6.0

2005-12-15 Thread Daniel Rench
I upgraded a test box to 6.0 recently and various things broke, all
related to the shebang line parsing changes (see:
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/kern/imgact_shell.c ).

I found the "historical" parsing behavior really, really useful. Like
if I wanted a script to always run as a particular user, I'd use
"#!/usr/local/bin/sudo -u someuser /bin/sh", or if I wanted  to ensure
only one copy of a script ran at a time, "#!/usr/local/bin/setlock
/some/lock/file /bin/sh" (using setlock from the daemontools package),
etc.

I guess I could write a program to split argv[1] on whitespace and
exec, but is there a simpler way to work around this?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Gnome port forcing Apache 2.0 on me during install

2005-12-15 Thread Michael C. Shultz
On Thursday 15 December 2005 11:45, Wes Santee wrote:
> Michael C. Shultz wrote:
> | On Thursday 15 December 2005 10:32, Wes Santee wrote:
> |>Greetings,
> |>
> |>I run Apache 1.3+ssl on a computer that I'm installing Gnome 2.12.2 via
> |>the meta-port in x11/gnome2.  As part of that install, it builds and
> |>installs www/gnome-user-share.  *That* port forces the www/apache20 port
> |>upon me.
> |>[snip]
> |
> | The only gnome port I can find that as that port as a dependency is
> | x11/gnome2-power-tools, not x11/gnome2.
> |
> | -Mike
>
> You're right.  Originally when I installed Gnome2, I used the
> gnome2-lite meta-port.  It lists other ports to install to get the more
> "full featured" Gnome.  After I while I removed the gnome2-lite port and
> installed the gnome2 full port since I was slowly adding the add-on
> ports it mentioned anyway.  I assumed the bits I had already added were
> part of the full port.
>
> Guess I can just delete the port and be done with it.  That solution
> doesn't really address the larger issue of a port that will toss your
> HTTP server out without so much as a how-do-you-do, but at least I can
> go back to my known configuration easily enough.
>
> Cheers,
> -Wes

Since apache seems very critical to you maybe adding 
IGNORE|www/apache*| to /usr/local/etc/portmanager/pm-020.conf
would be a good idea, it would stop surprises.

When you know you want to upgrade apache then comment out
that line and do a portmanager www/apache{version}, just a suggestion...

-Mike



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


cascade/chain proxy

2005-12-15 Thread Efren Bravo
Hi,

I need a proxy to install on my box that it can
be connected in
cascade/chain with a squid's proxy. The parent
proxy (squid) has users authentication.  
 
I've tried with squid on my box (squid.conf:
cache_peer parent_proxy_ip parent 3128 0 no-query
default login=PASS) but I can only open the main
page of any site, the links doesn't work.  
 
Can anyone tell me the name of a proxy to do
this?

Thanks...

Efren Bravo.



__ 
Renovamos el Correo Yahoo! 
Nuevos servicios, más seguridad 
http://correo.yahoo.es
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song)

2005-12-15 Thread Sasa Stupar



--On 15. december 2005 6:33 -0800 Drew Tomlinson <[EMAIL PROTECTED]> 
wrote:



On 12/15/2005 12:33 AM Sasa Stupar wrote:




--On 14. december 2005 20:01 -0800 Ted Mittelstaedt
<[EMAIL PROTECTED]> wrote:





-Original Message-
From: Danial Thom [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 14, 2005 11:14 AM
To: Ted Mittelstaedt; Drew Tomlinson
Cc: freebsd-questions@freebsd.org
Subject: RE: Polling For 100 mbps Connections? (Was Re: Freebsd Theme
Song)




Well, if polling does no good for fxp, due to
the
hardware doing controlled interrupts, then why
does
the fxp driver even let you set it as an
option?
And why have many people who have enabled it on
fxp seen an improvement?



They haven't, freebsd accounting doesn't work
properly with polling enabled, and "they" don't
have the ability to "know" if they are getting
better performance, because "they", like you,
have no clue what they're doing. How about all
the idiots running MP with FreeBSD 4.x, when we
know its just a waste of time? "they" all think
they're getting worthwhile performance, because
"they" are clueless.



I would call them idiots if they are running MP under
FreeBSD and assuming that they are getting better
performance without actually testing for it.  But
if they are just running MP because they happen to be
using an MP server, and they want to see if it will
work or not, who cares?


Maybe its tunable because they guy who wrote the
driver made it a tunable? duh. I've yet to see
one credible, controlled test that shows polling
vs properly tuned interrupt-driven.



Hm, OK I believe that.  As I recall I asked you earlier to
post the test setup you used for your own tests
"proving" that polling is worse, and you haven't
done so yet.  Now you are saying you have never seen
a credible controlled test that shows polling vs
interrupt-driven.  So I guess either you were blind
when you ran your own tests, or your own tests
are not credible, controlled polling vs properly
tuned interrupt-driven.  As I have been saying
all along.  Now your agreeing with me.


The only advantage of polling is that it will
drop packets instead of going into livelock. The
disadvantage is that it will drop packets when
you have momentary bursts that would harmlessly
put the machine into livelock. Thats about it.



Ah, now I think suddenly I see what the chip on your
shoulder is.  You would rather have your router based
on FreeBSD go into livelock while packets stack up,
than drop anything.  You tested the polling code and found
that yipes, it drops packets.

What may I ask do you think that a Cisco or other
router does when you shove 10Mbt of traffic into it's
Ethernet interface destined for a host behind a T1 that
is plugged into the other end?  (and no, source-quench
is not the correct answer)

I think the scenario of it being better to momentary go into
livelock during an overload is only applicable to one scenario,
where the 2 interfaces in the router are the same capacity.
As in ethernet-to-ethernet routers.  Most certainly not
Ethernet-to-serial routers, like what most routers are
that aren't on DSL lines.

If you have a different understanding then please explain.



I've read those datasheets as well and the
thing I
don't understand is that if you are pumping
100Mbt
into an Etherexpress Pro/100 then if the card
will
not interrupt more than this throttled rate you
keep
talking about, then the card's interrupt
throttling
is going to limit the inbound bandwidth to
below
100Mbt.



Wrong again, Ted. It scares me that you consider
yourself knowlegable about this. You can process
# interrupts X ring_size packets; not one per
interrupt. You're only polling 1000x per second
(or whatever you have hz set to), so why do you
think that you have to interrupt for every packet
to do 100Mb/s?



I never said anything about interrupting for every
packet, did I?  Of course not since I know what
your talking about.  However, it is you who are throwing
around the numbers - or were in your prior post -
regarding the fxp driver and hardware.  Why should
I have to do the work digging around in the datasheets
and doing the math?

Since you seem to be wanting to argue this from a
theory standpoint, then your only option is to do the
math.  Go ahead, look up the datasheet for the 82557.
I'm sure it's online somewhere, and tell us what it says
about throttled interrupts, and run your numbers.


Do you not understand that packet
processing is the same whether its done on a
clock tick or a hardware interrupt? Do you not
understand that a clock tick has more overhead
(because of other assigned tasks)? Do you not
understand that getting exactly 5000 hardware
interrupts is much more efficient than having
5000 clock tick interrupts per second? What part
of this don't you understand?



Well, one part I don't understand is why when
one of those 5000 clock ticks happens and the fxp driver
finds no packets to take off the card, that it takes
the same amount of time for the dri

Changing shells (was: pkg_add not installing lsof (and other programs)?)

2005-12-15 Thread TuxGirl
> If you install bash, be aware that you have that you have to add it
> (with it's full path, /usr/local/bin/bash) to /etc/shells befor trying
> to change your shell (with 'pw usermod yourname -s bash').

amon-re# pw usermod erins -s zsh
pw: no default shell available or defined

I've added it to /etc/shells:
# $FreeBSD: src/etc/shells,v 1.5 2000/04/27 21:58:46 ache Exp $
#
# List of acceptable shells for chpass(1).
# Ftpd will not allow users to connect who are not using
# one of these shells.

/bin/sh
/bin/csh
/bin/tcsh
/usr/local/bin/zsh
/usr/local/bin/rzsh
/usr/local/bin/bash

When I log in as my user (erins), if I run ps, it shows sh as the
shell running.  Am I missing an important step someplace here?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: cascade/chain proxy

2005-12-15 Thread Wojciech Puchar


I need a proxy to install on my box that it can
be connected in
cascade/chain with a squid's proxy. The parent
proxy (squid) has users authentication.

I've tried with squid on my box (squid.conf:
cache_peer parent_proxy_ip parent 3128 0 no-query
default login=PASS) but I can only open the main
page of any site, the links doesn't work.


please send me your squid config privately.

i'm using that configuration and it works fine.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


run commands on boot/loading modules

2005-12-15 Thread TuxGirl
Hi,

There are 3 commands I was having to run each time that I started up
my computer, and I'm trying to figure out the correct way to have them
run automatically.

kldload if_iwi
iwicontrol -i iwi- -d /usr/local/share/iwi-firmware -m bss
kldload snd_ich

I added these commands to the bottom of /etc/rc.conf, and they appear
to be working, but during boot, I see a lot of errors relating to
them.  (I haven't found the boot log yet, so I can't post them here,
but in essence, they were complaining that files existed, and i know
that it tried to load the modules at least twice...

So, I'm guessing that /etc/rc.conf isn't the right place to add these
3 lines.  I just want the commands to run once during the boot, and
probably sometime near the end of boot so that I don't have to worry
about them depending on something that's done earlier on (at least for
the wireless stuff).

Thanks again to everyone for all the help!

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


Re: Changing shells (was: pkg_add not installing lsof (and other programs)?)

2005-12-15 Thread Lee Capps
At 13:58 Thu 15 Dec 2005, TuxGirl wrote:
> > If you install bash, be aware that you have that you have to add it
> > (with it's full path, /usr/local/bin/bash) to /etc/shells befor trying
> > to change your shell (with 'pw usermod yourname -s bash').
> 
> amon-re# pw usermod erins -s zsh
> pw: no default shell available or defined
> 
> I've added it to /etc/shells:
> # $FreeBSD: src/etc/shells,v 1.5 2000/04/27 21:58:46 ache Exp $
> #
> # List of acceptable shells for chpass(1).
> # Ftpd will not allow users to connect who are not using
> # one of these shells.
> 
> /bin/sh
> /bin/csh
> /bin/tcsh
> /usr/local/bin/zsh
> /usr/local/bin/rzsh
> /usr/local/bin/bash
> 
> When I log in as my user (erins), if I run ps, it shows sh as the
> shell running.  Am I missing an important step someplace here?

Try: man chsh

It's just an aspect of the same command, but 

chsh -s bash username

should work.  (Worked for me!)

HTH,

-- 
Lee Capps
Technology Specialist
CTE Resource Center


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


Re: run commands on boot/loading modules

2005-12-15 Thread albi
On Thu, 15 Dec 2005 14:13:01 -0700
TuxGirl <[EMAIL PROTECTED]> wrote:

> There are 3 commands I was having to run each time that I started up
> my computer, and I'm trying to figure out the correct way to have them
> run automatically.
> 
> kldload if_iwi
> iwicontrol -i iwi- -d /usr/local/share/iwi-firmware -m bss
> kldload snd_ich

/etc/rc.local would be the place to add commands like that

-- 
grtjs, albi
gpg-key: lynx -dump http://scii.nl/~albi/gpg.asc | gpg --import
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


"fopen" call...

2005-12-15 Thread Vasilkov Vasily

Hi all..
   this is the part of my source

   FILE *source;
   source = fopen("/home/user/test.c", "r");
   if (source) {
 printf("fopen error");
 exit(0);
   };

 file "/home/user/test.c" exists and its access mode is 777..., but
 when I run program, I get "fopen error" message...

 Can anybody explain me this subj?





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


Re: "fopen" call...

2005-12-15 Thread Michael C. Shultz
On Thursday 15 December 2005 13:41, Vasilkov Vasily wrote:
> Hi all..
> this is the part of my source
> 
> FILE *source;
> source = fopen("/home/user/test.c", "r");
> if (source) {
>   printf("fopen error");
>   exit(0);
> };
> 
>   file "/home/user/test.c" exists and its access mode is 777..., but
>   when I run program, I get "fopen error" message...
>
>   Can anybody explain me this subj?
>
>
Try  

if(source == NULL )


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


Re: "fopen" call...

2005-12-15 Thread Nicolas Blais
On December 15, 2005 04:41 pm, Vasilkov Vasily wrote:
> Hi all..
> this is the part of my source
> 
> FILE *source;
> source = fopen("/home/user/test.c", "r");
> if (source) {
>   printf("fopen error");
>   exit(0);
> };
> 
>   file "/home/user/test.c" exists and its access mode is 777..., but
>   when I run program, I get "fopen error" message...
>
>   Can anybody explain me this subj?
>
>

From man fopen:

RETURN VALUES
 Upon successful completion fopen(), fdopen() and freopen() return a FILE
 pointer.  Otherwise, NULL is returned and the global variable errno is
 set to indicate the error.

That means that your code should be:

 FILE *source;
 source = fopen("/home/user/test.c", "r");
 if (!source) {
   printf("fopen error");
   exit(0);
 };

Nicolas.

-- 
FreeBSD 7.0-CURRENT #4: Sat Dec 10 11:55:08 EST 2005 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CLK01A 
PGP? (updated 16 Nov 05) : http://www.clkroot.net/security/nb_root.asc


pgp4AJwFcAyhT.pgp
Description: PGP signature


Re: run commands on boot/loading modules

2005-12-15 Thread Vasilkov Vasily

On Fri, 16 Dec 2005 00:13:01 +0300, TuxGirl <[EMAIL PROTECTED]> wrote:


Hi,

There are 3 commands I was having to run each time that I started up
my computer, and I'm trying to figure out the correct way to have them
run automatically.

kldload if_iwi
iwicontrol -i iwi- -d /usr/local/share/iwi-firmware -m bss
kldload snd_ich

I added these commands to the bottom of /etc/rc.conf, and they appear
to be working, but during boot, I see a lot of errors relating to
them.  (I haven't found the boot log yet, so I can't post them here,
but in essence, they were complaining that files existed, and i know
that it tried to load the modules at least twice...

So, I'm guessing that /etc/rc.conf isn't the right place to add these
3 lines.  I just want the commands to run once during the boot, and
probably sometime near the end of boot so that I don't have to worry
about them depending on something that's done earlier on (at least for
the wireless stuff).

Thanks again to everyone for all the help!

~Erin


  "dmesg"  - boot log...


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


gvinum + swap on 5.4-STABLE

2005-12-15 Thread Ludo Koren

Hello,

is it possible to use swap on vinum volume? I know there was some
problems on earlier 5.x version with vinum.

Thanks,

lk

PS: I cannot find anything on the topic in the mail archive...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: "fopen" call...

2005-12-15 Thread Vasilkov Vasily

 Thanks a lot... it works...


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


Re: run commands on boot/loading modules

2005-12-15 Thread Roland Smith
On Thu, Dec 15, 2005 at 02:13:01PM -0700, TuxGirl wrote:
> Hi,
> 
> There are 3 commands I was having to run each time that I started up
> my computer, and I'm trying to figure out the correct way to have them
> run automatically.
> 
> kldload if_iwi
> iwicontrol -i iwi- -d /usr/local/share/iwi-firmware -m bss
> kldload snd_ich

To load the modules, put the following in /boot/loader.conf

if_iwi_load="YES"
snd_ich_load="YES"


> So, I'm guessing that /etc/rc.conf isn't the right place to add these
> 3 lines.  

Yes. :-) Every rc script sources rc.conf, so your commands are all
executed dozens of times. rc.conf is only for setting variables.

> I just want the commands to run once during the boot, and
> probably sometime near the end of boot so that I don't have to worry
> about them depending on something that's done earlier on (at least for
> the wireless stuff).

If you have a single iwi device, it will be named iwi0, I think.

From looking at /etc/rc.d/netif, you'll see that it executes a shell
function ifscript_up for every interface. You can find ifscript_up in
/etc/network.subr. Looking at it, you can see that you should create a
script /etc/start_if.iwi0, with the iwicontrol command in it.

HTH,

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgpSryx9Qtj4f.pgp
Description: PGP signature


Re: Changing shells (was: pkg_add not installing lsof (and other programs)?)

2005-12-15 Thread Vasilkov Vasily

On Thu, 15 Dec 2005 23:58:44 +0300, TuxGirl <[EMAIL PROTECTED]> wrote:


If you install bash, be aware that you have that you have to add it
(with it's full path, /usr/local/bin/bash) to /etc/shells befor trying
to change your shell (with 'pw usermod yourname -s bash').


amon-re# pw usermod erins -s zsh
pw: no default shell available or defined

I've added it to /etc/shells:
# $FreeBSD: src/etc/shells,v 1.5 2000/04/27 21:58:46 ache Exp $
#
# List of acceptable shells for chpass(1).
# Ftpd will not allow users to connect who are not using
# one of these shells.

/bin/sh
/bin/csh
/bin/tcsh
/usr/local/bin/zsh
/usr/local/bin/rzsh
/usr/local/bin/bash

When I log in as my user (erins), if I run ps, it shows sh as the
shell running.  Am I missing an important step someplace here?


  If you wanna change default shell, edit /etc/master.passwd and run
  pwd_mkdb -p /etc/master.passwd
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


arp messages

2005-12-15 Thread Robert Fitzpatrick
I get these messages in the log, these are the mac addresses for NICs
all on my network, my switch and destination server:

esmtp.webtent.net kernel log messages:
> arp: 208.38.145.35 moved from 00:10:e0:01:86:d9 to 00:b0:64:4d:0b:70 on em0
> arp: 208.38.145.42 moved from 00:10:e0:01:86:d9 to 00:b0:64:4d:0b:70 on em0
> arp: 208.38.145.40 moved from 00:b0:64:4d:0b:70 to 00:10:e0:01:b1:7a on em0
> arp: 208.38.145.40 moved from 00:10:e0:01:b1:7a to 00:b0:64:4d:0b:70 on em0

I found this note, is this the proper way to disable these messages in
my FreeBSD 5.4 server?

http://listserver.uk.freebsd.org/pipermail/freebsd-users/2004-August/009605.html
>It's just arp telling you that both nics are on the same network. 
>This will stop arp messages being logged
>
>Sysctl net.link.ether.inet.log_arp_movements=0

--
Robert

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


flash 6 and 7

2005-12-15 Thread dick hoogendijk
Is it possible to have flash 7 as well as flash 6 installed at the same
time?

I know flash 7 is alpha support, but I'd like to try it with mozilla on
a freebsd-6 box. But only if my flash 6 keeps working ;-)

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 6.0 +++ The Power to Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Courier and postfix

2005-12-15 Thread Playnet
Hello freebsd-questions,

How i can install subj?
Or i need use Exim?
I have LDAP server and userlist within. What better for auth via LDAP
and good work? Postfix + ... (cyrus?) or Exim + ... (courier?) ?

Where i can read about pluses and minuses these MTAs?

FreeBSD 5.3

-- 
Best regards,
Playnet

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


Running sendmail w/o FQDN

2005-12-15 Thread Doug Hawkins
I am also having problems with sendmail configuration on my machine.  I 
suppose it's all related to the fact that I don't have a fully qualified 
domain name (FQDN), but I have not been able to find a simple method to 
allow sendmail to operate as the "local message manager" without having 
a FQDN -- and not complain about it.  I've skimmed the 180k 
'/usr/share/sendmail/cf/README' and 'man sendmail' and a few .cf files.


There must be a simple way to have a "development' machine that's on a 
private LAN which has internet access and DNS via a router, but is not 
allocated an FQDN.  When I wasn't running 'inetd' everything was fine, 
but I'd like those services (ftp, Samba's swat, etc.) to be available to 
the other LAN machines.


I also get the 'sendmail sleeping' message when the machine is booting 
because it can't find its FQDN.


Can anyone help?

Thanks,
Doug

I get this in my message log every 10 minutes:

{Date} {hostname} inetd[PID]: netbios-ns/udp: bind: Address already in use
{Date} {hostname} inetd[PID]: ssh/tcp: bind: Address already in use
{Date} {hostname} inetd[PID]: ssh/tcp: bind: Address already in use

"Networking and Services" part of my /etc/rc.conf:

ifconfig_rl0="DHCP"   # Handled by my ADSL router/modem
hostname="beastie"
sendmail_enable="NO"
inetd_enable="YES"
nfs_client_enable="YES"
nfs_server_enable="YES"
ntpdate_enable="YES"
ntpdate_flags="-b tk1.ihug.co.nz"
router_enable="NO"
rpc_lockd_enable="YES"
rpc_statd_enable="YES"
rpcbind_enable="YES"
sshd_enable="YES"
usbd_enable="YES"
dictd_enable="YES"
mysql_enable="YES"
mysql_dbdir="/bsd5/var/db/mysql"
samba_enable="YES"
apache_enable="YES"
gdm_enable="YES"

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


RE: Running sendmail w/o FQDN

2005-12-15 Thread Ruben Bloemgarten
It seems that you are trying to run samba and ssh both from inetd and
independantly. Hence the bind:already in use. This is not sendmail related.
Do you want to use sendmail as an mua or as an mta ? 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Doug Hawkins
Sent: December 16, 2005 1:21 AM
To: freebsd-questions@freebsd.org
Subject: Running sendmail w/o FQDN

I am also having problems with sendmail configuration on my machine.  I 
suppose it's all related to the fact that I don't have a fully qualified 
domain name (FQDN), but I have not been able to find a simple method to 
allow sendmail to operate as the "local message manager" without having 
a FQDN -- and not complain about it.  I've skimmed the 180k 
'/usr/share/sendmail/cf/README' and 'man sendmail' and a few .cf files.

There must be a simple way to have a "development' machine that's on a 
private LAN which has internet access and DNS via a router, but is not 
allocated an FQDN.  When I wasn't running 'inetd' everything was fine, 
but I'd like those services (ftp, Samba's swat, etc.) to be available to 
the other LAN machines.

I also get the 'sendmail sleeping' message when the machine is booting 
because it can't find its FQDN.

Can anyone help?

Thanks,
Doug

I get this in my message log every 10 minutes:

{Date} {hostname} inetd[PID]: netbios-ns/udp: bind: Address already in use
{Date} {hostname} inetd[PID]: ssh/tcp: bind: Address already in use
{Date} {hostname} inetd[PID]: ssh/tcp: bind: Address already in use

"Networking and Services" part of my /etc/rc.conf:

ifconfig_rl0="DHCP"   # Handled by my ADSL router/modem
hostname="beastie"
sendmail_enable="NO"
inetd_enable="YES"
nfs_client_enable="YES"
nfs_server_enable="YES"
ntpdate_enable="YES"
ntpdate_flags="-b tk1.ihug.co.nz"
router_enable="NO"
rpc_lockd_enable="YES"
rpc_statd_enable="YES"
rpcbind_enable="YES"
sshd_enable="YES"
usbd_enable="YES"
dictd_enable="YES"
mysql_enable="YES"
mysql_dbdir="/bsd5/var/db/mysql"
samba_enable="YES"
apache_enable="YES"
gdm_enable="YES"

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


-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.13.13/200 - Release Date: 12/14/2005

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.13.13/200 - Release Date: 12/14/2005
 

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


File Integrity Checker Do You?

2005-12-15 Thread Sean Murphy
Do you think products such as tripwire, YAFIC, and other file checkers 
are necessary?


Especially since you must check the reports daily and update the database.

They do put a high load on my systems when they run.

How many SysAdmins use products such as these?

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


NCQ Re: Disk write caching, hw.ata.wc and atacontrol disagree)

2005-12-15 Thread Dieter
>> So hw.ata.wc thinks that the disk write cache is off,
>> but atacontrol cap thinks the disk write cache is on?

> I remember this is working but there was a reporting problem
> in atacontrol.

Looks like "atacontrol cap" reports the state of the disk *before*
hw.ata.wc took effect.

It would be less confusing if "atacontrol cap" reported the state
of the disk at the time atacontrol is run.

> You should easily be able to tell whether it is on or off by the
> write performance.  It should plummet by a factor of 4 or so.

I'm seeing only ~10% of the performance I get with the write cache on.

Which leads to:

Feature  Support  EnableValue   Vendor
Native Command Queuing (NCQ)   yes   -  31/0x1F

Where is the knob to turn on NCQ?  My controller and disks claim to support
it, but grepping the 6.0 man pages finds nothing.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


good nic for server??? 3com 3C2000-T driver support in freebsd 5.4 ????

2005-12-15 Thread kyr
I want to ask if 3com 3C2000-T network adapter is suported by freebsd 
5.4 (i know that it is suported by release 6 but our server has 5.4).
Anyway does anybody have any suggestion for a good network card for a 
server?

We DON"T need gigabit but if it worth the money ... ok

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


Dual-core processors and FreeBSD 6.0

2005-12-15 Thread Justin Franks

Hello,
I would like to know if FreeBSD 6.0 supports dual-core CPU chips. Note, 
dual-core is different from dual CPU.
On Jun. 13, 2005 PT Wired magazine explained a dual-core CPU as the following in a 
article titled "The New Chips on the Block"
"A dual-core processor differs from a single-core chip in that it has two physical computer processing unit, or CPU, cores on a 
single die."

Link here:
http://www.wired.com/news/infostructure/0,1377,67795,00.html



-Justin Franks
Ph: 415.261.0706
Fx: 925-935-6096
http://www.inetassociation.com 


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


Re: Dual-core processors and FreeBSD 6.0

2005-12-15 Thread Dev Tugnait
On Thu, 2005-12-15 at 18:57 -0800, Justin Franks wrote:
> Hello,
> I would like to know if FreeBSD 6.0 supports dual-core CPU chips. 

Yes

> Note, dual-core is different from dual CPU.
> On Jun. 13, 2005 PT Wired magazine explained a dual-core CPU as the following 
> in a article titled "The New Chips on the Block"
> "A dual-core processor differs from a single-core chip in that it has two 
> physical computer processing unit, or CPU, cores on a 
> single die."
> Link here:
> http://www.wired.com/news/infostructure/0,1377,67795,00.html
> 
> 
That googling energy should have been saved by visiting freebsd.org

http://www.freebsd.org/platforms/amd64.html

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

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


chroot and /dev

2005-12-15 Thread Dieter
How does one provide one or two devices, e.g. /dev/null
for a chroot environment?

Device nodes created by mknod do not work.

mount_devfs creates an entire device tree, negating
the security of the chroot.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: chroot and /dev

2005-12-15 Thread Kris Kennaway
On Thu, Dec 15, 2005 at 07:18:11PM +, Dieter wrote:
> How does one provide one or two devices, e.g. /dev/null
> for a chroot environment?
> 
> Device nodes created by mknod do not work.
> 
> mount_devfs creates an entire device tree, negating
> the security of the chroot.

See the jail manpage (jail is better than chroot if security is your
goal).

Kris


pgptHJjQW11pZ.pgp
Description: PGP signature


Ebay Auction Win

2005-12-15 Thread georgevarshock
Dear CatBecca,
I won you Ebay Auction for a Jolly N- Bank.  I paid and would like to 
receive this item.

Sincerely,
George Varshock
geological1

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


Re: Ebay Auction Win- Item 6574118600

2005-12-15 Thread georgevarshock
Ebay Item #6574118600
> 
> From: <[EMAIL PROTECTED]>
> Date: 2005/12/15 Thu PM 11:28:35 EST
> To: 
> Subject: Ebay Auction Win
> 
> Dear CatBecca,
> I won you Ebay Auction for a Jolly N- Bank.  I paid and would like to 
> receive this item.
> 
> Sincerely,
> George Varshock
> geological1
> 
> 

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


Re: Ebay Auction Win- Item 6574118600

2005-12-15 Thread Kris Kennaway
On Thu, Dec 15, 2005 at 11:30:19PM -0500, [EMAIL PROTECTED] wrote:
> Ebay Item #6574118600
> > 
> > From: <[EMAIL PROTECTED]>
> > Date: 2005/12/15 Thu PM 11:28:35 EST
> > To: 
> > Subject: Ebay Auction Win
> > 
> > Dear CatBecca,
> > I won you Ebay Auction for a Jolly N- Bank.  I paid and would like to 
> > receive this item.
> > 
> > Sincerely,
> > George Varshock
> > geological1

The mind boggles how you managed to screw up this email :)

Kris


pgpCEnGfEDEih.pgp
Description: PGP signature


Re: good nic for server??? 3com 3C2000-T driver support in freebsd 5.4 ????

2005-12-15 Thread David Kelly


On Dec 15, 2005, at 8:46 PM, kyr wrote:

I want to ask if 3com 3C2000-T network adapter is suported by  
freebsd 5.4 (i know that it is suported by release 6 but our server  
has 5.4).
Anyway does anybody have any suggestion for a good network card for  
a server?

We DON"T need gigabit but if it worth the money ... ok


My favorite NIC is the Intel Etherexpress products. This 10/100 PCI  
card is often found used for $5. IIRC back in the days when  
ftp.cdrom.com was setting single-machine 24 hour anonymous ftp server  
world records it was using these NICs.


Another nice thing is former FreeBSDers apparently liked it well  
enough when they went to Apple that MacOS X automagically uses this  
non-Mac PC card with no additional drivers or nothing.


And if one *must* use Windows the download-from-Intel drivers add  
significantly more function than the default Microsoft driver, such  
as VLAN support.


--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.

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


shell script doesnot executing

2005-12-15 Thread Anirban Adhikary
  Hi guys
This is Anirban here. I have the problem again with the previous shell
script.Which was
Write a shell script that will check whether a server is up or not(on ping)
& log the report to a file.

I have tried to write the program in the following way

#! /bin/sh
echo -n "Enter the IP or Hostname of the Server"
read host
#echo $host
ping -c2 $host &>file2
if [ $? = 0 ];then
echo "Server is up and working" $host
else
echo"Server is not up and not working" $host
fi

But when I am trying to execute the program in the case when the server is
not up it is showing
The server is up and running but from the ping statistics it is showing that
100% loss is occured.I am not able to point the problem.(i used the chmod
755 filename before executing the program)

Please help me.And one more thing is there any other option to check the
connectivity without ping command?
 with regards
Anirban
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD 5.4 smbfs problem

2005-12-15 Thread RdBSD
Dear All,

My last email about mounting FreeBSD 6.0 stable box to our NT system
has a problem. And now I've been downgrading to 5.4. The problem's
gone. Is this a bug in FreeBSD 6.0 System ?

Now i can mount our NT system from freeBSD 5.4Stable box, but i have a
litle problem. I see in kernel log say :

smb_maperror: Unmapped error 1:158

this log appear when i try to mounting and execute excel file from NT
share. Then excel say something like sharing violation error ?

Is this some kernel errors or samba errors ?

Thanks for helping me.

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


Re: Ebay Auction Win- Item 6574118600

2005-12-15 Thread Chad Leigh -- Shire.Net LLC


On Dec 15, 2005, at 9:51 PM, Kris Kennaway wrote:

On Thu, Dec 15, 2005 at 11:30:19PM -0500, [EMAIL PROTECTED]  
wrote:

Ebay Item #6574118600


From: <[EMAIL PROTECTED]>
Date: 2005/12/15 Thu PM 11:28:35 EST
To: 
Subject: Ebay Auction Win

Dear CatBecca,
I won you Ebay Auction for a Jolly N- Bank.  I paid and would  
like to receive this item.


Sincerely,
George Varshock
geological1


The mind boggles how you managed to screw up this email :)


I agree!  It would be interesting to know how it happened...

Relevant info for those whose interest was piqued by this though  
(besides looking at the auction itself which is real):





Chad




Kris


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



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


atheros wireless setup

2005-12-15 Thread Jim Pazarena

I can't believe how incredibly easy it was to get
the wireless going in my laptop.

add:  if_ath_load="YES"   to /boot/loader.conf

and:   ifconfig_ath0="dhcp"   to /etc/rc.conf

and it "works" !

please tell me where I can read up on how to "control" the
wireless link. Such as how to enter the "SSID", and connect
speed etc.

Thanks!
Jim

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


Download the whole ports tree

2005-12-15 Thread Simon Maginnity
Hi everyone,
I have unlimited bandwidth for the next month or so and
will not have access to the net again for a few month¹s after January. What
I would like to do is grab a copy of the whole freeBSD ports tree while I
can, so I can just play with different programs and things at will on a test
server. Really just for my own amusement.

Is it possible to get a copy of the whole ports tree down if I have enough
free space etc etc, or just a copy of one branch like www???

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


  1   2   >