Re: Uptime

2007-03-22 Thread David J Brooks
On Friday 23 March 2007 01:45:16 am Stan Cooper wrote:
> Hi;
> How do I  determine the uptime of my server?
> Thanks,
> Stan2

Oddly enough, by typing 'uptime' at the command prompt.

David
-- 
An adequate bootstrap is a contradiction in terms.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: model DDBB

2007-03-22 Thread Pietro Cerutti

On 3/23/07, Miguel Alcántara <[EMAIL PROTECTED]> wrote:

Hello to all.

I need to model data bases, so, my question is if some of you could know
about a good database designer like ERWin, but that resides in ports. I've
just installed pydbdesigner, but doesn't fit my needs at all, in fact,
nothing at all.


Some years ago I used this one, even if it's not in ports, and I was
pretty happy with it:

http://www.azzurri.jp/en/software/clay/

You'll need the Eclipse platform


Thanks in advance.

Hope this helps,


--
$ miguel_alcántara $

"… empiezo acá con la idea de ir allá en un experimento para aumentar, por
ejemplo, la velocidad del cable interoceánico del Atlántico; pero cuando he
llegado en parte a la meta, me encuentro con un fenómeno que me empuja en
otra dirección [...] hacia algo completamente inesperado".

Thomas A. Edison.

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




--
Pietro Cerutti

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
  www.asciiribbon.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

RE: Uptime

2007-03-22 Thread Don O'Neil
Type uptime at the prompt. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stan Cooper
Sent: Thursday, March 22, 2007 11:45 PM
To: freebsd-questions@freebsd.org
Subject: Uptime

Hi;
How do I  determine the uptime of my server?
Thanks,
Stan2
 
-
TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

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


Re: Uptime

2007-03-22 Thread Jeff Mohler

You measure the time between kicking it, and someone catching it, I think.

No..thats hangtime.


Try:  uptime



On 3/23/07, Stan Cooper <[EMAIL PROTECTED]> wrote:


Hi;
How do I  determine the uptime of my server?
Thanks,
Stan2

-
TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "
[EMAIL PROTECTED]"


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


Re: Uptime

2007-03-22 Thread Bachilo Dmitry
В сообщении от Пятница 23 марта 2007 12:45 Stan Cooper написал(a):
> Hi;
> How do I  determine the uptime of my server?
> Thanks,
> Stan2
>

give the 'uptime' comand in console.

С уважением, Бачило Дмитрий
Руководитель отдела системной интеграции
ООО "Компания Солинк"
--
With Best Regards, Bachilo Dmitry
Head of systems integration dept
Solink Company Ltd.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Problems with "burncd" - cannot mount result on unix or windows

2007-03-22 Thread Jonathan McKeown
On Thursday 22 March 2007 23:42, Jerry McAllister wrote:
> On Thu, Mar 22, 2007 at 12:31:32PM -0700, UCTC Sysadmin wrote:
[broken CDs under burncd]
> The main thing I did was take out the '-s max' speed parameter

Just as a further point of reference, I also found that -s max caused the 
DVD+RW drive in my laptop (6.1), and the CD writer in my desktop PC at home 
(5.4), to make shiny coasters. Setting an actual speed worked fine, except 
for a further odd problem on the DVD+RW laptop drive.

burncd data image.iso

works fine, but

burncd data image.iso fixate

causes an I/O error at the fixate stage - exactly as though the drive (or 
utiliy, or OS) has memorised the fact that the drive contains a blank CD and 
continues to treat it as empty media even after writing to it.

In the end the only way I found to close off a disc and write a ToC is:

burncd data image.iso

burncd fixate

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


Uptime

2007-03-22 Thread Stan Cooper
Hi;
How do I  determine the uptime of my server?
Thanks,
Stan2
 
-
TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


model DDBB

2007-03-22 Thread Miguel Alcántara

Hello to all.

I need to model data bases, so, my question is if some of you could know
about a good database designer like ERWin, but that resides in ports. I've
just installed pydbdesigner, but doesn't fit my needs at all, in fact,
nothing at all.

Thanks in advance.

--
$ miguel_alcántara $

"… empiezo acá con la idea de ir allá en un experimento para aumentar, por
ejemplo, la velocidad del cable interoceánico del Atlántico; pero cuando he
llegado en parte a la meta, me encuentro con un fenómeno que me empuja en
otra dirección [...] hacia algo completamente inesperado".

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

Re: SOLVED: Re: Problems with "burncd" - cannot mount result on unix or windows

2007-03-22 Thread Eric Crist


On Mar 22, 2007, at 6:16 PM, UCTC Sysadmin wrote:

[snip]


So THE FAQ and/or HOWTO SUCKS, is the problem. If that offends  
purists, try fixing your transmission
under deadline with a japanese shop manual translated into english  
and no diagrams. Documentation makes
all the difference, both to novices and to professionals. Someone  
who knows the how and what should
write a contributed thing - whenever they have the time and desire  
to educate the unwashed masses.


-foo-


Um, you seem to have done a fair job, why not do:

[EMAIL PROTECTED]:~-> diff smart ass
1,2d0
< SMART ASS REMARKS
<
47,48d44
<
< DRY SARCASM & FURTHER SMART ASS REMARKS
[EMAIL PROTECTED]:~->

And commit it yourself?
-
Eric F Crist
Secure Computing Networks


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


Re: SOLVED: Re: Problems with "burncd" - cannot mount result on unix or windows

2007-03-22 Thread Chris Hill

On Thu, 22 Mar 2007, UCTC Sysadmin wrote:

[snip]


mount -t cd9660 /dev/acd0 /mnt

fails and the CD is also unreadable on windows.

Well duh. That is because THE FILE SYSTEM HAS TO BE CREATED MANUALLY. 
Now, users used to smart unix commands read the man page and it SAYS 
of burncd


fixate writes a TOC and makes the CD readable

I am writing an ISO9660 device (a device for which ISO9660 is a 
reasonable default FS - yes? no?) Any meaningful defaults here? Did 
the man page tell me I hade to wrap my data inside a filesystem image? 
I did not see that. So DUH is right.


I then said, hey.

mkisofs -R -o image.raw junk.tar

THEN said

burncd -f /dev/acd0 data image.raw fixate

and VOILA like magic all is good. It works and reads on unix and windows like 
a champ.


===

So THE FAQ and/or HOWTO SUCKS, is the problem.


Not sure which FAQ you are referring to, and I thought HOWTO was a Linux 
thing. How about the handbook instead. This whole mkisofs business is 
pretty well documented at 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html 
Having read that, I've never had a single problem writing data CDs under 
FreeBSD, and I'm a long way from being a guru.


If that offends purists, try fixing your transmission under deadline 
with a japanese shop manual translated into english and no diagrams.


Been there, done that. How about fixing your transmission with no 
documentation at all, only your (meager) previous experience to go on. 
And still with a deadline. And the deadline is tomorrow, but it's the 
weekend so no shops are open. And Tim Berners-Lee is 22 years old, so 
nothing online even if you could afford a computer.


In my experience, documentation (especially API documentation) is 
usually wrong in some respect or another. That's why anyone trying to 
write a driver really needs to have the hardware.


Documentation makes all the difference, both to novices and to 
professionals.


I agree completely. Good documentation makes the difference between a 
painless experience and a painful one.


Someone who knows the how and what should write a contributed thing - 
whenever they have the time and desire to educate the unwashed masses.


Please feel free to do so. It would be much appreciated by the next 
person who finds himself in your position.



-foo-


 -bar-

--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging <|> ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: SOLVED: Re: Problems with "burncd" - cannot mount result on unix or windows

2007-03-22 Thread Paul Schmehl
--On March 22, 2007 4:16:58 PM -0700 UCTC Sysadmin 
<[EMAIL PROTECTED]> wrote:


So THE FAQ and/or HOWTO SUCKS, is the problem. If that offends purists,
try fixing your transmission
under deadline with a japanese shop manual translated into english and
no diagrams. Documentation makes
all the difference, both to novices and to professionals. Someone who
knows the how and what should
write a contributed thing - whenever they have the time and desire to
educate the unwashed masses.


man (8) burncd
" In the examples above, the files burned to data CD-Rs are assumed to be
ISO9660 file systems.  mkisofs(8), available in the FreeBSD Ports 
Collec-
tion, as part of the sysutils/cdrtools port, is commonly used to 
create

ISO9660 file system images from a given directory tree."

Hm.
man (8) mkisofs
"mkisofs  is  effectively  a  pre-mastering  program  to   generate   an
  ISO9660/JOLIET/HFS hybrid filesystem.

  mkisofs  is  capable  of  generating  the  System  Use Sharing 
Protocol
  records (SUSP) specified by the Rock Ridge Interchange Protocol. 
This
  is  used  to  further describe the files in the iso9660 filesystem 
to a
  unix host, and provides information such as longer filenames, 
uid/gid,

  posix permissions, symbolic links, block and character devices."

If you don't like man pages, there's always the handbook:

"CDs have a number of features that differentiate them from conventional 
disks. Initially, they were not writable by the user. They are designed so 
that they can be read continuously without delays to move the head between 
tracks. They are also much easier to transport between systems than 
similarly sized media were at the time.


CDs do have tracks, but this refers to a section of data to be read 
continuously and not a physical property of the disk. To produce a CD on 
FreeBSD, you prepare the data files that are going to make up the tracks 
on the CD, then write the tracks to the CD.


The ISO 9660 file system was designed to deal with these differences. It 
unfortunately codifies file system limits that were common then. 
Fortunately, it provides an extension mechanism that allows properly 
written CDs to exceed those limits while still working with systems that 
do not support those extensions.


The sysutils/cdrtools port includes mkisofs(8), a program that you can use 
to produce a data file containing an ISO 9660 file system. It has options 
that support various extensions, and is described below.


Which tool to use to burn the CD depends on whether your CD burner is 
ATAPI or something else. ATAPI CD burners use the burncd program that is 
part of the base system. SCSI and USB CD burners should use cdrecord from 
the sysutils/cdrtools port. It is also possible to use cdrecord and other 
tools for SCSI drives on ATAPI hardware with the ATAPI/CAM module.


If you want CD burning software with a graphical user interface, you may 
wish to take a look at either X-CD-Roast or K3b. These tools are available 
as packages or from the sysutils/xcdroast and sysutils/k3b ports. 
X-CD-Roast and K3b require the ATAPI/CAM module with ATAPI hardware."


Unix systems *assume* you can read.  Perhaps that's a bad assumption, but 
that's the assumption they make.  Unfortunately, many people are impatient 
and get ahead of themselves, thinking that partial knowledge is all that's 
required.  Sometimes that works.  Sometimes it doesn't.


Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Re: SOLVED: Re: Problems with "burncd" - cannot mount result on unix or windows

2007-03-22 Thread Greg 'groggy' Lehey
[Format recovered--see http://www.lemis.com/email/email-format.html]

Line length unified.

On Thursday, 22 March 2007 at 16:16:58 -0700, UCTC Sysadmin wrote:
> In looking at the documentation for "cdrecord", the examples showed
> a two-step process of making an ISO image then burning it.
>
> Here's my deal:
>
> NEVER HAVING BURNED a CD or DVD on FreeBSD before - I go to the
> documentation to FIND OUT HOW and there really is no HOW

You mention documentation above, but you don't say what you're
referring to.

> So I look in vain for
>
> "What you need to do in the kernel if anything to support burning CDs/DVDs"
> "What additional support libraries or software would be needed"
> "The stepwise process for burning CDs or DVDs"

What's wrong with the information in the handbook?
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html

> So THE FAQ and/or HOWTO SUCKS, is the problem.

I see two problems, both of them different:

- You don't say what you read, and what you didn't understand about
  it.
- You didn't submit an update.

> If that offends purists,

I think what's more likely to offend is a complaint without
substantiation.  I'm not saying that there are no errors in the
documentation--of course there are--but how can we fix them (if they
exist) based on your rant?

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpyICFizbfKZ.pgp
Description: PGP signature


Re: SOLVED: Re: Problems with "burncd" - cannot mount result on unix or windows

2007-03-22 Thread Chuck Swiger

On Mar 22, 2007, at 4:16 PM, UCTC Sysadmin wrote:
In looking at the documentation for "cdrecord", the examples showed  
a two-step process

of making an ISO image then burning it.

Here's my deal:

NEVER HAVING BURNED a CD or DVD on FreeBSD before -
I go to the documentation to FIND OUT HOW
and there really is no HOW

So I look in vain for

"What you need to do in the kernel if anything to support burning  
CDs/DVDs"

"What additional support libraries or software would be needed"
"The stepwise process for burning CDs or DVDs"


It helps if people read the FreeBSD handbook:

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


I created a junk file called "junk.tar" as a single file to put on  
a CD to prove the command works.

I then use

burncd -f /dev/acd0 data junk.tar fixate

and of course trying to

mount -t cd9660 /dev/acd0 /mnt

fails and the CD is also unreadable on windows.


"tar tf /dev/acd0" would give you the contents of the junk.tar file  
you burned.



Well duh. That is because THE FILE SYSTEM HAS TO BE CREATED MANUALLY.
Now, users used to smart unix commands read the man page and it  
SAYS of burncd


fixate writes a TOC and makes the CD readable

I am writing an ISO9660 device (a device for which ISO9660 is a  
reasonable default FS - yes? no?)
Any meaningful defaults here? Did the man page tell me I hade to  
wrap my data inside a filesystem image?

I did not see that. So DUH is right.


There are lots of possible filesystems one could put on a CD.   
ISO-9660 is a common choice, and even a reasonable default, but if  
you want to write files directly to the CD as a block-access device,  
you can.



I then said, hey.

mkisofs -R -o image.raw junk.tar

THEN said

burncd -f /dev/acd0 data image.raw fixate

and VOILA like magic all is good. It works and reads on unix and  
windows like a champ.


===

So THE FAQ and/or HOWTO SUCKS, is the problem. If that offends  
purists, try fixing your transmission
under deadline with a japanese shop manual translated into english  
and no diagrams. Documentation makes
all the difference, both to novices and to professionals. Someone  
who knows the how and what should
write a contributed thing - whenever they have the time and desire  
to educate the unwashed masses.


Actually, "man burncd" does give a bunch of examples-- it has an  
entire section of them-- and finishes with the comment:


 In the examples above, the files burned to data CD-Rs are  
assumed to be
 ISO9660 file systems.  mkisofs(8), available in the FreeBSD  
Ports Collec-
 tion, as part of the sysutils/cdrtools port, is commonly used  
to create

 ISO9660 file system images from a given directory tree.

--
-Chuck

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


SOLVED: Re: Problems with "burncd" - cannot mount result on unix or windows

2007-03-22 Thread UCTC Sysadmin

In looking at the documentation for "cdrecord", the examples showed a two-step 
process
of making an ISO image then burning it.

Here's my deal:

NEVER HAVING BURNED a CD or DVD on FreeBSD before -
I go to the documentation to FIND OUT HOW
and there really is no HOW

So I look in vain for

"What you need to do in the kernel if anything to support burning CDs/DVDs"
"What additional support libraries or software would be needed"
"The stepwise process for burning CDs or DVDs"

I created a junk file called "junk.tar" as a single file to put on a CD to 
prove the command works.
I then use

burncd -f /dev/acd0 data junk.tar fixate

and of course trying to

mount -t cd9660 /dev/acd0 /mnt

fails and the CD is also unreadable on windows.

Well duh. That is because THE FILE SYSTEM HAS TO BE CREATED MANUALLY.
Now, users used to smart unix commands read the man page and it SAYS of burncd

fixate writes a TOC and makes the CD readable

I am writing an ISO9660 device (a device for which ISO9660 is a reasonable 
default FS - yes? no?)
Any meaningful defaults here? Did the man page tell me I hade to wrap my data 
inside a filesystem image?
I did not see that. So DUH is right.

I then said, hey.

mkisofs -R -o image.raw junk.tar

THEN said

burncd -f /dev/acd0 data image.raw fixate

and VOILA like magic all is good. It works and reads on unix and windows like a 
champ.

===

So THE FAQ and/or HOWTO SUCKS, is the problem. If that offends purists, try 
fixing your transmission
under deadline with a japanese shop manual translated into english and no 
diagrams. Documentation makes
all the difference, both to novices and to professionals. Someone who knows the 
how and what should
write a contributed thing - whenever they have the time and desire to educate 
the unwashed masses.

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


Re: Summary: Tell portupgrade to use passive ftp

2007-03-22 Thread Eric P. Scott
[Jeffrey Goldberg]
>As an aside, I'd like to rant that there is no reason for ftp to  
>exist anymore.  Sure it is stateful in a way that HTTP isn't, but  
>that isn't enough to justify its continued use.

I have very good connectivity to several FTP-only mirror sites,
and relatively poor connectivity to any that serve up HTTP.  None
of those servers are under my administrative control.

Make trouble somewhere else, OK?

>By default (at least in 6.2-RELEASE) fetch is called with the -p  
>option, thus making my request to the list even less coherent.  This  
>is defined by
>
>   FETCH_ARGS?=-ApRr
>
>in bsd.port.mk

Well, um, no, not necessarily.  For instance, I almost always use
portupgrade with a -PP option, so my fetch defaults actually come
from pkg_fetch, not bsd.port.mk.  On my network, anything that
attempts IPv6 resolution is bad, so I put the following in my
/usr/local/etc/pkgtools.conf:

  ENV['PKG_FETCH'] = "/usr/bin/fetch -4pao '%2$s' '%1$s'"

This speeds things up immensely...

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


Re: portupgrade: Download -> single user -> upgrade

2007-03-22 Thread Pietro Cerutti

On 3/22/07, Kyrre Nygård <[EMAIL PROTECTED]> wrote:

Hey!

I was wondering if anybody could give me a quick cheat sheet for how
to automatically:

1) Download all outdated ports

man portupgrade
(hint: -F option)


2) Switch to single user mode
3) Upgrade those ports


Please someone correct me if I'm wrong, but I think you can't "go into
single user mode and then run application X" automatically.


Thanks a lot.


Hope this helps,


All the best,

;-)


Kyrre



--
Pietro Cerutti

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
  www.asciiribbon.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: okwin 4.11 okbridge

2007-03-22 Thread [EMAIL PROTECTED]

On 22/03/07, bela.reiner <[EMAIL PROTECTED]> wrote:

I am trying to play on okwin 4.11  but I can't error  NAT FORWARDING
OR YOU ARE FIREWALLAD I CAN;T SERVE
I can pl on okbridge plus or ok 4.02
i would like solve the problem can you help

   BILL REINER


At some point I suppose everyone asks
such questions:
a) Where did I come from?
b) How did all of this come to be?
c) What the heck is okwin?

To answer such questions, most people
(and a certain small percentage of semi-
sentient parrots) often turn to religion or
science.  In this case, I have turned to
google (may he live forever), who, when
these simple queries were put to her
produced (loosely):

a) The earliest known case of HIV-1
in a human was from a blood sample
collected in 1959 from a man in Kin-
shasa, Democratic Republic of Congo.

b) Injecting the manure directly into
the ground is an approach that may
have a significant _impact_ on the
amount of nitrogen available for next
year's corn crop. (Obliviously we ask:
whence comest all this Impaction?
The manure injectors, my friend.
The manure injectors.)

c) I am running Win95 since septem-
ber 96. In one of my software named
okbridge i got very often a message:
okwin caused a GPF in module okwin.exe

So we are starting to get a picture here:
Google (may she live forever) knows, and
from now until this vile impaction ceases,
we can sleep peacefully knowing that:


I am trying to play on okwin 4.11  but I can't


I hope this helps?

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


Re: Problems with "burncd" - cannot mount result on unix or windows

2007-03-22 Thread Tore Lund
UCTC Sysadmin wrote:
> Using a Sony CRX850E slimline CD burner / DVD reader
> FreeBSD 6.1
> 
> I write a single file to the CD and say "-fixate"; the command shows the 
> progress of writing
> and then finishes with no error message. Trying to then mount that CD on 
> FreeBSD says "unrecognizable"
> and on windows says "maybe disk is blank."

Care to show us the command you are using and what sort of "file" you
are writing?  In any case, drop the hyphen before "fixate".

> Is burncd broken?

No, it isn't.  I burn CDs with this command:

burncd -f /dev/acd0 data cd.iso fixate

-- 
Tore

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


Re: Split a PDF page

2007-03-22 Thread Don Hinton
On Thursday 22 March 2007 16:52, Andrea Venturoli wrote:
> Hello.
> I've got a PDF document with two side-by-side pages in A3 format.
> Is there a way I can get the two single A4 pages, either as subsequent
> pages of a new document or as different new documents?
>
> Anything in the port tree?

Try PDFjam:

/usr/ports/print/pdfjam

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

-- 
Don Hinton  or 
Institute for Software Integrated Systems (ISIS), Vanderbilt University
tel: 615.480.5667 or 615.870.9728


pgpf75owzRqld.pgp
Description: PGP signature


RE: Where to start troubleshooting Intel PRO/1000 performanceproblems?

2007-03-22 Thread Tamouh H.
> Sally,
> 
> On 3/22/07, Sally Janghos <[EMAIL PROTECTED]> wrote:
> > I'm looking for some suggestions on where to start troubleshooting 
> > performance issues on a Intel PRO 1000 card.
> >
> > It's installed in a box with the following configuration:
> > FreeBSD 6.1
> > AMD Athlon(tm) XP 2100+ (1741.42-MHz 686-class CPU)
> > Dell CERC SATA RAID 2
> >
> > The file transfer(ftp/smb/scp) speeds from/to this machine do not 
> > appear to go above 10Mb.  The other machine doing the transfers has 
> > similar specs(same Ethernet Card) but is a Windows XP box.  
> I've tried 
> > replacing the switch with a crossover cable between the 
> machines and 
> > the same speed persists.  Any suggestions on where to start 
> and what 
> > tools should I use to do the benchmarks?
> 
> please supply the output of "ifconfig"
> 
> regards,
> 
> usleep


and 
> systat -ifwhile sending/receiving a file from the other server.


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


Re: remote logging with syslogd

2007-03-22 Thread Guido Demmenie


On Mar 22, 2007, at 10:44 PM, Guido Demmenie wrote:



On Mar 22, 2007, at 3:45 PM, David Robillard wrote:


Hello,

I'm trying to put up a remote logging server. I want to let my
Airport Express send its logs to my FreeBSD server.

So I said to my Airport to send its logs to the internal ip of my
server, I suppose it works because that's what Apple hardware does.
Now I did the following things on my bsdbox:


I appended to syslog.conf:

# Log remote Airport Express
+airport
*.* /var/log/airport.log
!*

I touched /var/log/airport.log and it has rw-r- root:wheel  
rights


And to rc.conf I added:

syslogd_enable="YES"
syslogd_flags="-b myhostname.intranet -a *.intranet"

I restarted syslogd via:
# /etc/rc.d/syslogd restart

I suppose it should work, but nothing appears in /var/log/airport  
and

there should be something that it listens for input or not?

Also I checked netstat -a | grep syslog
udp4   0  0  myhostname.intranet..syslo *.*

So it looks like it is not listening.

Anyone any ideas what I'm doing wrong?


The Apple AirPort products, both Extreme and Express, do not use the
standard syslog UDP port 514. They send it at a higher port. Just  
like

most Cisco devices do.

So to enable logging on a FreeBSD host, you must change your
rc.conf(5) syslog_flags line to enable other non-standard syslog
ports. Try something like this:

syslogd_flags="-b myhostname.intranet -a *.intranet:*"

Since you're using names instead of IP addresses in your
configuration, make sure your DNS resolves both A and PTR records for
the AirPort.


Thnx for the tip. Found out that it was not the airport UDP port.  
It is
some misconfiguration in my DNS, but still don't get why it doesn't  
work
as expected. For some reason my DNS-name is snipped just before the  
TLD.


Oh btw i changed some configs

I prepended to /etc/syslog.conf the next and deleted what I wrote  
above

# Log remote Airport Express
+airport.intranet.mydomain.org
*.* /var/log/airport.log
+*
!*

And in rc.conf I changed the above to:
syslogd_enable="YES"
syslogd_flags="-b myhostname.intranet.mydomain.org -a  
airport.intranet.mydomain.org"


So what comes in on syslogd looks like "airport.intranet.mydomain"  
so no

.org or something. I really don't get where that comes from. But now
syslogd rejects because of "name mismatch".

I suppose something is wrong with either my DNS or my DHCP (appending
the domainname??), but at dhcpd I have the option "domain-name" set to
"intranet.mydomain.org". So still don't get whats going wrong.

My dns gives a the right IP and reverse gives right name.
dig airport.intranet.mydomain.org --> 10.0.10.30
dig -x 10.0.10.30 --> airport.intranet.mydomain.org


Found out some more ... it has to do with the line in rc.conf
when I change that to:

syslogd_flags="-b myhostname.intranet.mydomain.org -a  
airport.intranet.mydomain"


than it works, but still I don't understand why, for if I dig this  
name I get nothing.


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


Re: Split a PDF page

2007-03-22 Thread Chuck Swiger

On Mar 22, 2007, at 2:52 PM, Andrea Venturoli wrote:

I've got a PDF document with two side-by-side pages in A3 format.
Is there a way I can get the two single A4 pages, either as  
subsequent pages of a new document or as different new documents?


Anything in the port tree?


Acrobat, maybe?

/usr/ports/print/acrobatviewer

Alternatively, if you convert the PDF file to PostScript, (GNU)  
enscript ought to have an "N-up" filter which can deal with A3 -> A4  
conversions and so forth:


/usr/ports/print/enscript-a4

--
-Chuck

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


Re: Where to start troubleshooting Intel PRO/1000 performance problems?

2007-03-22 Thread usleepless

Sally,

On 3/22/07, Sally Janghos <[EMAIL PROTECTED]> wrote:

I'm looking for some suggestions on where to start troubleshooting
performance issues on a Intel PRO 1000 card.

It's installed in a box with the following configuration:
FreeBSD 6.1
AMD Athlon(tm) XP 2100+ (1741.42-MHz 686-class CPU)
Dell CERC SATA RAID 2

The file transfer(ftp/smb/scp) speeds from/to this machine do not appear to
go above 10Mb.  The other machine
doing the transfers has similar specs(same Ethernet Card) but is a Windows
XP box.  I've tried replacing the switch with
a crossover cable between the machines and the same speed persists.  Any
suggestions on where to start and what tools
should I use to do the benchmarks?


please supply the output of "ifconfig"

regards,

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


Re: How Do I Surf From FBSD?

2007-03-22 Thread Danny Pansters
On Thursday 22 March 2007 21:22:15 Stan Cooper wrote:
> Hi;
> I have a server I just built with FBSD and I'd like to be able to surf
> using a browser. What do I need to build to make that happen?
> Thanks,
> Stan2

If you mean a browser on the console (not in XWindow system) there's lynx and 
links for that. Lynx is one of the first things I install (after joe) on a 
non-X box. 

Dan

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


Split a PDF page

2007-03-22 Thread Andrea Venturoli

Hello.
I've got a PDF document with two side-by-side pages in A3 format.
Is there a way I can get the two single A4 pages, either as subsequent 
pages of a new document or as different new documents?


Anything in the port tree?

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


Re: remote logging with syslogd

2007-03-22 Thread Guido Demmenie


On Mar 22, 2007, at 3:45 PM, David Robillard wrote:


Hello,

I'm trying to put up a remote logging server. I want to let my
Airport Express send its logs to my FreeBSD server.

So I said to my Airport to send its logs to the internal ip of my
server, I suppose it works because that's what Apple hardware does.
Now I did the following things on my bsdbox:


I appended to syslog.conf:

# Log remote Airport Express
+airport
*.* /var/log/airport.log
!*

I touched /var/log/airport.log and it has rw-r- root:wheel rights

And to rc.conf I added:

syslogd_enable="YES"
syslogd_flags="-b myhostname.intranet -a *.intranet"

I restarted syslogd via:
# /etc/rc.d/syslogd restart

I suppose it should work, but nothing appears in /var/log/airport and
there should be something that it listens for input or not?

Also I checked netstat -a | grep syslog
udp4   0  0  myhostname.intranet..syslo *.*

So it looks like it is not listening.

Anyone any ideas what I'm doing wrong?


The Apple AirPort products, both Extreme and Express, do not use the
standard syslog UDP port 514. They send it at a higher port. Just like
most Cisco devices do.

So to enable logging on a FreeBSD host, you must change your
rc.conf(5) syslog_flags line to enable other non-standard syslog
ports. Try something like this:

syslogd_flags="-b myhostname.intranet -a *.intranet:*"

Since you're using names instead of IP addresses in your
configuration, make sure your DNS resolves both A and PTR records for
the AirPort.


Thnx for the tip. Found out that it was not the airport UDP port. It is
some misconfiguration in my DNS, but still don't get why it doesn't work
as expected. For some reason my DNS-name is snipped just before the TLD.

Oh btw i changed some configs

I prepended to /etc/syslog.conf the next and deleted what I wrote above
# Log remote Airport Express
+airport.intranet.mydomain.org
*.* /var/log/airport.log
+*
!*

And in rc.conf I changed the above to:
syslogd_enable="YES"
syslogd_flags="-b myhostname.intranet.mydomain.org -a  
airport.intranet.mydomain.org"


So what comes in on syslogd looks like "airport.intranet.mydomain" so no
.org or something. I really don't get where that comes from. But now
syslogd rejects because of "name mismatch".

I suppose something is wrong with either my DNS or my DHCP (appending
the domainname??), but at dhcpd I have the option "domain-name" set to
"intranet.mydomain.org". So still don't get whats going wrong.

My dns gives a the right IP and reverse gives right name.
dig airport.intranet.mydomain.org --> 10.0.10.30
dig -x 10.0.10.30 --> airport.intranet.mydomain.org

So anyone any ideas?

TIA

--Guido
www.rottnic.nl



Re: Problems with "burncd" - cannot mount result on unix or windows

2007-03-22 Thread Jerry McAllister
On Thu, Mar 22, 2007 at 12:31:32PM -0700, UCTC Sysadmin wrote:

> Using a Sony CRX850E slimline CD burner / DVD reader
> FreeBSD 6.1
> 
> I write a single file to the CD and say "-fixate"; the command shows the 
> progress of writing
> and then finishes with no error message. Trying to then mount that CD on 
> FreeBSD says "unrecognizable"
> and on windows says "maybe disk is blank."

This was covered about a week ago in questions.
I had similar problems and am not at all sure why or that the
changes I made fixed the problem, but it now works for me, at
least for the ISOs I have made in the last couple of weeks.  I
haven't gotten to making my CD backup of my web page yet.

The main thing I did was take out the '-s max' speed parameter and
came up with this which works:
  /usr/sbin/burncd -v -f /dev/acd0 data FreeBSD62-disc1.iso fixate

It makes a both bootable and mountable CD.

Although I have used -s max successfully in the past, burncd
stopped working when I went to FreeBSD 6.xx - could neither boot
nor mount the resulting burned CDs.   Taking out that parameter 
seemed to get it working again.

> 
> Is burncd broken?

Maybe, at least sort of??   
Or is it my CD burner getting old?
Except the problem showed up on all of the machines that
I brought up to 6.xx.   I doubt that all their Cd burners would
simultaneously die at the same time.   A couple are barely used
and I don't really stress my main one all that much.

jerry

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


Re: How Do I Surf From FBSD?

2007-03-22 Thread Jerry McAllister
On Thu, Mar 22, 2007 at 01:22:15PM -0700, Stan Cooper wrote:

> Hi;
> I have a server I just built with FBSD and I'd like to be able to surf using
> a browser. What do I need to build to make that happen?
> Thanks,
> Stan2

First you need to configure X-windows and have it running.
You configure it first to properly run you graphics card
and monitor, keyboard and mouse.   Once you are happy with that
then you edit:   /usr/X11R6/lib/X11/xinit/xinitrc  
and set it up so it starts with the xterms and such that you want.
You can make individual xinitrc-s for users and put them in
their home directories as .xinitrc as well.   Copy that file
and modify it to suit.

Then
  CD to:   /usr/ports/www/firefox
  Type:make clean
   make
   make install
   make distclean

Now you have the firefox browser installed.
You can start it from the command line and/or you can
hook it up with an icon in your X-windows window manager.
Each window manager is different.   

I have been using AfterStep which is kind of basic - no frills.   
I have been lazy with it (and maybe a little ignorant), so I just 
replace Netscape startup with Firefox startup by editing the 
AfterStep setup file:  
  /usr/X11R6/lib/X11/afterstep/system.steprc
and changing the line that reads:  
   *Wharf Netscape netscape3.xpm Exec "-" netscape &
to be: 
   *Wharf Netscape netscape3.xpm Exec "-" firefox &
Then when I click on the Netscape icon it starts firefox.
There is no doubt a nice Firefox icon I could put there
in place of the netscape3.xmp but I haven't bothered to
look for it.

voila, you have a browser.

There are others such as Opera that are popular.  Look
in that   /usr/ports/wwwdirectory to find scads of stuff
including three or four browsers you can install.   

In addition to this KDE and Gnome install browsers if you
install one of them.   I don't bother with them because they
are too much bloat for my purposes, but a lot of people use them.

Learn as much as you can about the ports  (/usr/ports) system
if you want to get a lot out of FreeBSD.  That is where you
find all the nice things you can easily install and use.

jerry

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


portupgrade: Download -> single user -> upgrade

2007-03-22 Thread Kyrre Nygård

Hey!

I was wondering if anybody could give me a quick cheat sheet for how 
to automatically:


1) Download all outdated ports
2) Switch to single user mode
3) Upgrade those ports

Running portupgrade -a doesn't work very well when it's time to 
upgrade running processes.


I assume this involves a bit more than just the portupgrade commands?

Thanks a lot.

All the best,
Kyrre

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


Re: Automating MERGEMASTER(8)

2007-03-22 Thread Kyrre Nygård

At 00:29 17.03.2007, Pieter de Goeje wrote:

On Friday 16 March 2007 10:32, Kyrre Nygård wrote:
> Hello,
>
> Is it possible to make MERGEMASTER(8) automatically replace files
> with a FreeBSD CVS Id, and skip (or prompt interactively) the ones
> without a FreeBSD CVS Id? The ones without are most certainly my own
> personalized configuration files. I'd really like to keep them
> intact. And on every MERGEMASTER(8) session I tend to replace every
> single file but them.
>
> Thanks everyone!
>
> All the best,
> Kyrre
mergemaster -U

Cheers,

Pieter


aah thanks a lot man :D 


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


Problems with "burncd" - cannot mount result on unix or windows

2007-03-22 Thread UCTC Sysadmin

Using a Sony CRX850E slimline CD burner / DVD reader
FreeBSD 6.1

I write a single file to the CD and say "-fixate"; the command shows the 
progress of writing
and then finishes with no error message. Trying to then mount that CD on FreeBSD says 
"unrecognizable"
and on windows says "maybe disk is blank."

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


Where to start troubleshooting Intel PRO/1000 performance problems?

2007-03-22 Thread Sally Janghos
I'm looking for some suggestions on where to start troubleshooting performance 
issues on a Intel PRO 1000 card.

It's installed in a box with the following configuration:
FreeBSD 6.1
AMD Athlon(tm) XP 2100+ (1741.42-MHz 686-class CPU)
Dell CERC SATA RAID 2

The file transfer(ftp/smb/scp) speeds from/to this machine do not appear to go 
above 10Mb.  The other machine
doing the transfers has similar specs(same Ethernet Card) but is a Windows XP 
box.  I've tried replacing the switch with
a crossover cable between the machines and the same speed persists.  Any 
suggestions on where to start and what tools
should I use to do the benchmarks?

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


Re: Downloads

2007-03-22 Thread youshi10

On Wed, 21 Mar 2007, Ray wrote:


On Wednesday 21 March 2007 5:57 pm, Jim Priovolos wrote:

Hi, I've downloaded the 6.2 files. When I burned a CD with the boot file it
didn't make my laptop boot off it after powering up with it in the CD
drive.

The *disk1 file burnt to a CD gave the same results.

I tried the *disk1 file using ftp through a browser and also command line
ftp set to binary.

I checked the boot order and CD is first. If I put a Windows boot CD in
there it will boot off of it.

Any ideas?

I've got a Compaq Presario 2500 laptop with XP on it now.

Hi Jim,
the first question is how did you burn the *disk1 file? You have to burn it as
a disk image, not just a data cd. when you put the *disk one into your
machine when windows is running, do you see just one file on it, or many? If
you are using windows to burn the cd, (windows is good for something ;))
you'll probably have to use a separate burning program like nero and choose
disk image. (I'm just getting started here myself, so if your burning under
something besides windows, ask here again for a how to)
Ray



Thanks for the help in advance,
Jim P.


Ray,
You don't even need to do that in some cases. If you run XP (like most 
people do), there's always ISO Recorder, a free util for burning ISOs (google 
it for more info).
-Garrett

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


Re: ssh via html

2007-03-22 Thread youshi10

On Thu, 22 Mar 2007, Alain G. Fabry wrote:


On Thu, Mar 22, 2007 at 02:28:21PM +0100, Koen de Wijs wrote:

Maybe this site will help

http://www.netspace.org/ssh/




Hello,

I want to login on my freebsd remotely by ssh.
I don't want to download putty every time I want to login in my compter
from a computer that isn't mine.
I would like a html website that makes a shell and do everything over ssl.

Does anyone know a program/port that can help me?


Thanks,

Koen de Wijs


This assumes that you aren't behind a proxy or firewall that blocks ssh 
traffic; I tried doing the same thing from work but that doesn't fly because 
our IT dept blocks that sort of traffic over security concerns.

For getting something to work completely in that case you might have to get a 
VPN / SSL / TLS tunnel setup to stream the connection..

-Garrett

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


Re: Updating GCC

2007-03-22 Thread youshi10

On Thu, 22 Mar 2007, White Hat wrote:


--- Chuck Swiger <[EMAIL PROTECTED]> wrote:


On Mar 22, 2007, at 12:34 PM, White Hat wrote:

Add:

CC?=/usr/local/bin/gcc
CXX?=   /usr/local/bin/g++

...to /etc/make.conf.  You might also find

looking

at /usr/ports/Mk/
bsd.gcc.mk to be informative...


Thanks! One other question; why the '?' mark? I

was

Googling for information on gcc, and it listed

'cxx='

sans a question mark in it.


It means "set CC to this value if it's not already
set to something".

Some ports already know they need a newer version of
gcc (using
"USE_GCC="), and the "make world" infrastructure to
rebuild the
kernel/userland need to use the system-provided
compiler, so using
the question mark lets things which know better use
the exact
compiler they want.


Thanks! I could not find that information anywhere,
although I am sure it does exist.


Does the make.conf manpage need to be updated? It doesn't appear to reference 
either USE_GCC= or CC= or CXX= at all..
-Garrett

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


Re: How Do I Surf From FBSD?

2007-03-22 Thread Stan Cooper
Thanks!2

Pietro Cerutti <[EMAIL PROTECTED]> wrote: On 3/22/07, Stan Cooper  wrote:
> Hi;
> I have a server I just built with FBSD and I'd like to be able to surf using
> a browser. What do I need to build to make that happen?

I think the first problem here is having the words "server" and "surf"
in the same sentence...

Anyway,
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html


> Thanks,
> Stan2
>
> -
> Don't get soaked.  Take a quick peek at the forecast
>  with theYahoo! Search weather shortcut.

-- 
Pietro Cerutti

- ASCII Ribbon Campaign -
 against HTML e-mail and
 proprietary attachments
   www.asciiribbon.org


 
-
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How Do I Surf From FBSD?

2007-03-22 Thread Pietro Cerutti

On 3/22/07, Stan Cooper <[EMAIL PROTECTED]> wrote:

Hi;
I have a server I just built with FBSD and I'd like to be able to surf using
a browser. What do I need to build to make that happen?


I think the first problem here is having the words "server" and "surf"
in the same sentence...

Anyway,
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html



Thanks,
Stan2

-
Don't get soaked.  Take a quick peek at the forecast
 with theYahoo! Search weather shortcut.


--
Pietro Cerutti

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
  www.asciiribbon.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How Do I Surf From FBSD?

2007-03-22 Thread Peter A. Giessel
On 2007/03/22 12:22, Stan Cooper seems to have typed:
> Hi;
> I have a server I just built with FBSD and I'd like to be able to surf using
> a browser. What do I need to build to make that happen?

This is covered in the handbook:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


How Do I Surf From FBSD?

2007-03-22 Thread Stan Cooper
Hi;
I have a server I just built with FBSD and I'd like to be able to surf using
a browser. What do I need to build to make that happen?
Thanks,
Stan2
 
-
Don't get soaked.  Take a quick peek at the forecast 
 with theYahoo! Search weather shortcut.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Updating GCC

2007-03-22 Thread White Hat
--- Chuck Swiger <[EMAIL PROTECTED]> wrote:

> On Mar 22, 2007, at 12:34 PM, White Hat wrote:
> >> Add:
> >>
> >> CC?=   /usr/local/bin/gcc
> >> CXX?=  /usr/local/bin/g++
> >>
> >> ...to /etc/make.conf.  You might also find
> looking
> >> at /usr/ports/Mk/
> >> bsd.gcc.mk to be informative...
> >
> > Thanks! One other question; why the '?' mark? I
was
> > Googling for information on gcc, and it listed
> 'cxx='
> > sans a question mark in it.
> 
> It means "set CC to this value if it's not already
> set to something".
> 
> Some ports already know they need a newer version of
> gcc (using  
> "USE_GCC="), and the "make world" infrastructure to
> rebuild the  
> kernel/userland need to use the system-provided
> compiler, so using  
> the question mark lets things which know better use
> the exact  
> compiler they want.

Thanks! I could not find that information anywhere,
although I am sure it does exist.



 

Finding fabulous fares is fun.  
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel 
bargains.
http://farechase.yahoo.com/promo-generic-14795097
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


okwin 4.11 okbridge

2007-03-22 Thread bela.reiner
I am trying to play on okwin 4.11  but I can't error  NAT FORWARDING 
OR YOU ARE FIREWALLAD I CAN;T SERVE 
I can pl on okbridge plus or ok 4.02 
i would like solve the problem can you help

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


Re: ssh via html

2007-03-22 Thread Eric P. Scott
>I want to login on my freebsd remotely by ssh.

>I would like a html website that makes a shell and do everything over ssl.

You're asking for different things, but you should be asking for
different things--because there probably isn't a single solution
that will work in all cases.


Web-based Option: SSH terminal applet

I like AppGate's MindTerm (www.appgate.com/mindterm), but there
are others.  Caveats: (1) the web browser has to support Java;
(2) you will need to run a secure [https] server on the same
machine you want to SSH into [due to Java applet security
restrictions]; (3) you are still vulnerable to keystroke loggers
or other spyware on the client side.


Web-based Option: AJAX terminal client

The best known is Phil Endecott's AnyTerm (anyterm.org), but
Antony Lesuisse's Ajaxterm (antony.lesuisse.org/qweb/trac/wiki/AjaxTerm)
is becoming increasingly popular.  Caveats: (1) requires a
"modern" browser supporting XmlHTTP; (2) you will need to run a
secure [https] web server; (3) same as above; (4) likely to be
slow.


Option: Portable Software

Type "portable applications" (or "portable apps") into your
favorite search engine, and you'll find a whole bunch of
interesting things (including Firefox Portable and portaPuTTY).
You can stick these on a USB flash device.  Caveats: (1) requires
Microsoft Windows on the client side (versions other than 2000 or
XP may be problematic); (2) writable flash drives are susceptable
to malware that may be present on the client computer; (3) same
as above.


Option: Live CD

Booting a disc like FreeSBIE (www.freesbie.org) or KNOPPIX
(www.knopper.net/knoppix/index-en.html) isolates you from
whatever evil bits may be lurking on a computer's hard drive, and
gives you a predictable, reasonably trustable environment.
Caveats: (1) requires rebooting; (2) assumes it can configure
networking via DHCP, and there are no "corporate firewalls"
blocking egress; (3) still vulnerable to hardware keystroke
loggers, etc.


Option: None of the above

Use your own portable computer or smartphone.  Caveat: may
require subscription to a wireless carrier's data plan and/or
additional network adapter hardware


Always assume everything you do is being watched by someone else
who does not have your best interests in mind.  Use one-time
passwords (or some other replay-resistant authentication) to
enhance security.  Learn how to differentiate legitimate servers
from impostors; beware of "man-in-the-middle" attacks.  Spoofed
DNS and "transparent proxies" are more common than you think.

Web-based solutions generally require paying someone for
something, even if it's just a server certificate.

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


Re: TCP conection problems IBM VM -> FreeBSD

2007-03-22 Thread Chuck Swiger

On Mar 22, 2007, at 12:00 PM, Torbjorn Granlund wrote:

  The second line should have been smtp.swox.se.smtp SYN+ACK'ing the
  ISN of 27523124.  vm is sending a RST to that because the sequence
  #'s don't match.  It's also odd that the set of options being  
listed
  don't correspond at all...if you run the tcpdump for several  
minutes,

  can you track down other SYN requests which do correspond?


These are the ones the correspond.  They come in bursts like that.  If
I let it run a little longer, I get output like this:

19:45:56.939958 IP vm.se.lsoft.com.58679 > bang.swox.se.smtp: S  
678305700:678305700(0) win 8192 0,nop,nop,nop,timestamp 2317060084 0>
19:45:56.940154 IP bang.swox.se.smtp > vm.se.lsoft.com.58679: S  
3183232720:3183232720(0) ack 678305701 win 57344 1460,nop,wscale 0,nop,nop,timestamp 24588210 2317060084>


Notice the ACK from vm.se.lsoft.com is off by one, but the timestamp  
option corresponds.  Looks to be a bug with the vm machine, the bang  
machine is behaving properly per the TCP requirements.


Hmm, I wonder if something in between is fragmenting the initial  
traffic and causing vm to get confused?  Try setting the interface  
MTUs down to 1024 or 512 and see whether that makes any difference...



  Sometimes this kind of re-writing can happen if natd or PF is
  attempting to translate the packets, perhaps when they shouldn't if
  both sides of your router box are using routable IPs


I don't run natd at all, and to get the output above from tcpdump I
had disabled pf with pfctl -d.  With pf running, it silently drops the
2nd packet.  Could that too be related to ISN's?


Yes, pf tracks connection state and will drop subsequent traffic  
which does match an legit connection or a new (permitted) connection  
open attempt.



The outside of the fbsd 6.2 router has two addresses, one routable and
one not routable.  This is due to the default setup my ISP is
providing: Their is a little net 192.168.0.0/30 between their router
and my fbsd 6.2 router.


OK.  That shouldn't matter then, if you're just doing straight  
routing via this /30, rather than re-writing the packets.


--
-Chuck

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


Re: Updating GCC

2007-03-22 Thread Dan Nelson
In the last episode (Mar 22), White Hat said:
> FreeBSD-6.2
> 
> The installed version is gcc-3.4.6, while the ports have version
> 4.3.0 available. If I install the newer version will it replace the
> older version? If not and I don't think it will, how do I force the
> use of the newer version of Gcc when making a port? I tried Googling
> for this but without success. The FreeBSD handbook doesn't seem to
> have any available information on this either.

Port versions of gcc install into /usr/local/bin with a version-number
suffix.  So the gcc43 port will install gcc43, g++43, etc.

If you want a port to build with a particular version of gcc, add a
USE_GCC=4.3 line to the port Makefile.  This is mentioned in the
"USE_*" section of

http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-depend.html

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


Re: Updating GCC

2007-03-22 Thread Chuck Swiger

On Mar 22, 2007, at 11:55 AM, White Hat wrote:

The installed version is gcc-3.4.6, while the ports
have version 4.3.0 available. If I install the newer
version will it replace the older version?


Nope.


If not and I don't think it will, how do I force the use of the
newer version of Gcc when making a port?


Add:

CC?=/usr/local/bin/gcc
CXX?=   /usr/local/bin/g++

...to /etc/make.conf.  You might also find looking at /usr/ports/Mk/ 
bsd.gcc.mk to be informative...


--
-Chuck

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


Re: TCP conection problems IBM VM -> FreeBSD

2007-03-22 Thread Torbjorn Granlund
Chuck Swiger <[EMAIL PROTECTED]> writes:

  On Mar 21, 2007, at 5:03 PM, Torbjorn Granlund wrote:
When vm attempts to make a TCP connection (e.g., on port 25) to
smtp.swox.se I see the following traffic on the router:
   
22:46:27.015389 IP vm.se.lsoft.com.47218 > smtp.swox.se.smtp: S 
27523124:27523124(0) win 8192 
22:46:27.015523 IP smtp.swox.se.smtp > vm.se.lsoft.com.47218: S 
1745147473:1745147473(0) ack 3530628660 win 57344 
22:46:27.056277 IP vm.se.lsoft.com.47218 > smtp.swox.se.smtp: R 
3530628660:3530628660(0) win 0
  
I.e., the vm box appears to dislike the SYNACK from smtp.swox.se, and
sends an RST.  One might ask if it is the fault of vm or of  
smtp.swox.se.
  
  The second line should have been smtp.swox.se.smtp SYN+ACK'ing the  
  ISN of 27523124.  vm is sending a RST to that because the sequence  
  #'s don't match.  It's also odd that the set of options being listed  
  don't correspond at all...if you run the tcpdump for several minutes,  
  can you track down other SYN requests which do correspond?

These are the ones the correspond.  They come in bursts like that.  If
I let it run a little longer, I get output like this:
  
19:45:56.939958 IP vm.se.lsoft.com.58679 > bang.swox.se.smtp: S 
678305700:678305700(0) win 8192 
19:45:56.940154 IP bang.swox.se.smtp > vm.se.lsoft.com.58679: S 
3183232720:3183232720(0) ack 678305701 win 57344 
19:45:56.974421 IP vm.se.lsoft.com.58679 > bang.swox.se.smtp: R 
678305701:678305701(0) win 0
19:45:59.939737 IP vm.se.lsoft.com.58679 > bang.swox.se.smtp: S 
678305700:678305700(0) win 8192 
19:45:59.939905 IP bang.swox.se.smtp > vm.se.lsoft.com.58679: S 
1749284606:1749284606(0) ack 678305701 win 57344 
19:45:59.978666 IP vm.se.lsoft.com.58679 > bang.swox.se.smtp: R 
678305701:678305701(0) win 0
19:46:05.940041 IP vm.se.lsoft.com.58679 > bang.swox.se.smtp: S 
678305700:678305700(0) win 8192 
19:46:05.940205 IP bang.swox.se.smtp > vm.se.lsoft.com.58679: S 
2664894402:2664894402(0) ack 678305701 win 57344 
19:46:05.977251 IP vm.se.lsoft.com.58679 > bang.swox.se.smtp: R 
678305701:678305701(0) win 0
  
The ISN's don't match here either.

  Sometimes this kind of re-writing can happen if natd or PF is  
  attempting to translate the packets, perhaps when they shouldn't if  
  both sides of your router box are using routable IPs
  
I don't run natd at all, and to get the output above from tcpdump I
had disabled pf with pfctl -d.  With pf running, it silently drops the
2nd packet.  Could that too be related to ISN's?

The outside of the fbsd 6.2 router has two addresses, one routable and
one not routable.  This is due to the default setup my ISP is
providing: Their is a little net 192.168.0.0/30 between their router
and my fbsd 6.2 router.

(I have a routable address on the interface in order to allow pf's nat
to provide a sensible return address for the nat'ed packets.)

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


Updating GCC

2007-03-22 Thread White Hat
FreeBSD-6.2

The installed version is gcc-3.4.6, while the ports
have version 4.3.0 available. If I install the newer
version will it replace the older version? If not and
I don't think it will, how do I force the use of the
newer version of Gcc when making a port? I tried
Googling for this but without success. The FreeBSD
handbook doesn't seem to have any available
information on this either.

Ciao!


-- 
White Hat 
[EMAIL PROTECTED]


 

Don't get soaked.  Take a quick peek at the forecast
with the Yahoo! Search weather shortcut.
http://tools.search.yahoo.com/shortcuts/#loc_weather
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ktrace UHCI controller

2007-03-22 Thread Fahnmusa C Jangaba


hi

I am running freebsd 6.1 and I am trying to use ktrace to see why the uhci0
controller process stops responding to usb events. I am use ktrace with the
-p option to attach to a process and also with all trace points turned on.
I  don't see any calls in the file ktrace.out file . Am i using ktrace
wrong or is there another way to trace what the uhci0 process is doing and
find out why it is stuck.

thanks

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


Re: help on picking an IMAP server

2007-03-22 Thread RW
On Thu, 22 Mar 2007 01:40:48 -0500
David Banning <[EMAIL PROTECTED]> wrote:

> I have been using imap-uw for some time but now I would like to 
> have an imap server that can have subfolders. Out with imap-uw..
> 
> I tried dovecot but I was unable to get it to create subfolders,
> although it seems some say you can, may people are having problems
> doing so, and I didn't like the fact that it changes the format of
> the folders from the mbox standard.

AFAIK imap-uw does support subfolders, to the same extent that UNIX
supports subdirectories. The problem is that you can't have a
mailbox file and a subdirectory of the same name in a directory. So in
foo/bar, bar is a mailbox and foo/ is a  directory - so there can't be
a top-level mailbox called foo.

It's just a matter of organizing your mailboxes to take account of
this.





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


Re: help on picking an IMAP server

2007-03-22 Thread David Banning
> P.S. Just tried creating a subfolder with Outlook Express 6.00.2800.1807
> and Apple Mail Version 2.1 (752/752.2) and the previously mentioned
> IMAPs server, and it still works for both of them, so its not just in
> Thunderbird that it works.

OK  - I have it working - it seems the problem was slashes / in the 
existing Outlook directory names which imap does not allow.

here is my only problem now;

My incoming mail is still being directed to /var/mail in mbox format
- which is what I want, as most users are not imap.

but opening the imap inbox gives an error, presumably because it is
looking for maildir format and is finding mbox. Can dovecot be 
permitted to read incoming mail from as mbox format?

I have this in my dovecot.conf;

mail_location = maildir:~/Maildir/:INBOX=/var/mail/%u

I am wondering if something like;

mail_location = maildir:~/Maildir/:INBOX=mbox:/var/mail/%u

would work


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


Re: help on picking an IMAP server

2007-03-22 Thread Eric

David Banning wrote:

P.S. Just tried creating a subfolder with Outlook Express 6.00.2800.1807
and Apple Mail Version 2.1 (752/752.2) and the previously mentioned
IMAPs server, and it still works for both of them, so its not just in
Thunderbird that it works.


OK  - I have it working - it seems the problem was slashes / in the 
existing Outlook directory names which imap does not allow.


here is my only problem now;

My incoming mail is still being directed to /var/mail in mbox format
- which is what I want, as most users are not imap.

but opening the imap inbox gives an error, presumably because it is
looking for maildir format and is finding mbox. Can dovecot be 
permitted to read incoming mail from as mbox format?


I have this in my dovecot.conf;

mail_location = maildir:~/Maildir/:INBOX=/var/mail/%u

I am wondering if something like;

mail_location = maildir:~/Maildir/:INBOX=mbox:/var/mail/%u

would work


it should, but i would check the dovecot lists as i am sure there are 
people doing this.  you can certainly give that second one a try and see 
if it works.


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


Re: help on picking an IMAP server

2007-03-22 Thread Peter A. Giessel
On 2007/03/22 9:38, David Banning seems to have typed:
> I have this in my dovecot.conf;
> 
> mail_location = maildir:~/Maildir/:INBOX=/var/mail/%u
> 
> I am wondering if something like;
> 
> mail_location = maildir:~/Maildir/:INBOX=mbox:/var/mail/%u
> 
> would work


I would check the dovecot documentation Perhaps start with:
http://wiki.dovecot.org/MailLocation/Mbox
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


portupgrade -rf gettext problems

2007-03-22 Thread Dino Vliet
Hi folks,

I saw this in usr/ports/UPDATING:

20070318:
  AFFECTS: users of devel/gettext (ie: YOU)
  AUTHOR: [EMAIL PROTECTED]

  As a result of the upgrade to gettext-0.16.1, the shared library version
  of libintl has changed, so you will need to rebuild all ports that
  depend on gettext (ie: most of them, sorry).

  portupgrade -rf gettext


When I issued this last command, portupgrade -rf gettext I get this result:

--->  Packages processed: 182 done, 0 ignored, 79 skipped and 7 failed
** Could not clean up temporary directory: Directory not empty - 
/var/tmp/portupgradeRtIfghsG

So, what to do next? Should I continue this command until all packages are 
processed and none of them skipped and failed? Or can I continue upgrading all 
my ports as from now?

Thanks in advanced






 

Expecting? Get great news right away with email Auto-Check. 
Try the Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD 5.5 : How to recreate /usr/share/locale & /usr/local/share/locale (Message Catalog System: corrupt file.)

2007-03-22 Thread Guill. Moreno-Socias

  Hello.

  I think have a problem of locale.  In /etc/login.conf I have:

default:\
[...]
   :charset=ISO-8859-15:\
   :lang=fr_FR.ISO8859-15:

and this gives at every login:

Message Catalog System: corrupt file.

  Can this be related to a corrupt /usr/share/locale or
/usr/local/share/locale? How could I recreate them?

  uname -a gives:

FreeBSD fermat.math.uvsq.fr 5.5-RELEASE-p11 FreeBSD 5.5-RELEASE-p11 #0: Sat
Mar  3 17:42:29 CET 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/FERMAT2
i386

  Thanks in advance for your help.

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


what's the problem it is

2007-03-22 Thread Frank
hi,
I don't know what's the problem it is?

Making all in tests
Making all in cases
cd ../ .. && /bin/sh ./config.status tests/cases/Makefile
config.status: creating tests/cases/Makefile
Making all in results
cd ../ .. && /bin/sh ./config.status tests/results/Makefile
config.status: creating tests/results/Makefile
cd .. && /bin/sh ./config.status tests/Makefile
config.status: creating tests/Makefile
Making all in doc
cd .. && /bin/sh .config.status doc/Makefile
config.status: creating doc/Makefile
cd . && /bin/sh ./config.status intltoolize
config.status: creating intltoolize
make: don't know how to make intltool-update. Stop
*** Error code 1

Stop in /usr/ports/textproc/intltool/work/intltool-0.34.1.
www# make install 
Making install intests
Making install in cases
Making install in results
Making install in doc
/bin/sh ../mkinstalldirs /usr/local/man/man8
mkdir -p -- /usr/local/man/man8
   /usr/bin/install -c -m 644 ./intltoolize.8 /usr/local/man/man8/intltoolize.8
   /usr/bin/install -c -m 644 ./intltool-extract.8 
/usr/local/man/man8/intltool-ex
   /usr/bin/install -c -m 644 ./intltool-merge.8 
/usr/local/man/man8/intltool-merg
   /usr/bin/install -c -m 644 ./intltool-prepare.8 
/usr/local/man/man8/intltool-pr
/usr/bin/install -c -m 644 ./intltool-update.8 
/usr/local/man/man8/intltool-upd
make: don't know how to make intltool-update. Stop
*** Error code 1

Stop in /usr/ports/textproc/intltool/work/intltool-0.34.1.
www# cd config.status
config.status: Not a directory.
www# cd /config.status
/config.status: No such file or directory.
www# cd config.status
config.status: Not a directory.
www# make
Making all in tests
Making all in cases
Making all in results
Making all in doc
make: don't know how to make intltool-update. Stop
*** Error code 1

Stop in /usr/ports/textproc/intltool/work/intltool-0.34.1.

regards,

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


Re: help on picking an IMAP server

2007-03-22 Thread Bill Moran
In response to David Banning <[EMAIL PROTECTED]>:

> > You must have been doing something wrong.  I have Dovecot in multiple
> > places and never had any trouble creating folders/subfolders.
> > 
> > I use Maildir format for my mail store, for multiple reasons that you
> > can research via Google if you're curious.  Perhaps the Maildir support
> > is better than mbox.  If that's the case, you may want to consider
> > switching to Maildir -- there is at least one mbox -> Maildir conversion
> > utility out there.
> 
> Hi Bill. 
> 
> I have Googled away and found lots of people who complain that they can't
> creat subfolders under dovecot. I havn't seen anyone's problem resolved
> in the theads. I have converted mbox to Maildir. I attempt to create
> a subfolder from within Outlook - no go. How are you creating
> the subfolders?

Personally, I use Sylpheed, and it just works fine without having to do
anything special.  I can verify that it works fine with Thunderbird,
Outlook Express, and SquirrelMail -- from first-hand experience.

I just talked to an associate who was having trouble creating folders
on a Dovecot server using Outlook.  He was also having a bunch of other
problems with Outlook, so he switched to Outlook Express instead of
trying to mess with the Dovecot server.  I suppose it's possible that
there's some compatibility problem between Outlook and Dovecot, but I
can't say for sure.

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


Re: started playing with jails

2007-03-22 Thread Bill Moran
In response to "Jonathan Horne" <[EMAIL PROTECTED]>:

> another quick jails question:
> 
> in my VMware environment, its quite common to create a VM on one machine, and
> then take the VM's files and move them to another machine.  how well would 
> this
> work with a jail?  say, so tar the entire root directory of the jail, and
> move/untar on to another server?

In theory, it should work fine.  I've never tried it.

I expect you'll need to have _exactly_ the same versions of FreeBSD on
each machine.

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


Re: help on picking an IMAP server

2007-03-22 Thread Kenny Dail
> I have been using imap-uw for some time but now I would like to 
> have an imap server that can have subfolders. Out with imap-uw..
> 
> I tried dovecot but I was unable to get it to create subfolders,
> although it seems some say you can, may people are having problems
> doing so, and I didn't like the fact that it changes the format of
> the folders from the mbox standard.
How long ago did you try Dovecot? There have been a lot of fixes
regarding mbox so far this year. Check the Dovecot list for details. 

> any suggestions?
Is mbox necessary? I would bet you'd be happier with a maildir backend.
There are plenty of tools for converting.
> 

-- 
Kenny Dail <[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: started playing with jails

2007-03-22 Thread Jonathan Horne
another quick jails question:

in my VMware environment, its quite common to create a VM on one machine, and
then take the VM's files and move them to another machine.  how well would this
work with a jail?  say, so tar the entire root directory of the jail, and
move/untar on to another server?

thanks,
jonathan


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


Re: TCP conection problems IBM VM -> FreeBSD

2007-03-22 Thread Chuck Swiger

On Mar 21, 2007, at 5:03 PM, Torbjorn Granlund wrote:

When vm attempts to make a TCP connection (e.g., on port 25) to
smtp.swox.se I see the following traffic on the router:

22:46:27.015389 IP vm.se.lsoft.com.47218 > smtp.swox.se.smtp: S  
27523124:27523124(0) win 8192 0,nop,nop,nop,timestamp 1888741492 0>
22:46:27.015523 IP smtp.swox.se.smtp > vm.se.lsoft.com.47218: S  
1745147473:1745147473(0) ack 3530628660 win 57344 
22:46:27.056277 IP vm.se.lsoft.com.47218 > smtp.swox.se.smtp: R  
3530628660:3530628660(0) win 0


I.e., the vm box appears to dislike the SYNACK from smtp.swox.se, and
sends an RST.  One might ask if it is the fault of vm or of  
smtp.swox.se.


The second line should have been smtp.swox.se.smtp SYN+ACK'ing the  
ISN of 27523124.  vm is sending a RST to that because the sequence  
#'s don't match.  It's also odd that the set of options being listed  
don't correspond at all...if you run the tcpdump for several minutes,  
can you track down other SYN requests which do correspond?


Sometimes this kind of re-writing can happen if natd or PF is  
attempting to translate the packets, perhaps when they shouldn't if  
both sides of your router box are using routable IPs


--
-Chuck

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


Re: help on picking an IMAP server

2007-03-22 Thread Peter A. Giessel
On 2007/03/22 8:14, Peter A. Giessel seems to have typed:
> On 2007/03/22 6:52, David Banning seems to have typed:
>> a subfolder from within Outlook - no go. How are you creating
>> the subfolders?
> 
> Just tried creating a subfolder on dovecot running on FreeBSD with
> Thunderbird 1.5.0.10 as a client.  Worked perfectly.  Using IMAPs
> (secure IMAP) and Maildir.  Dovecot was compiled/installed from ports.
> 
> Other system info:
> 
> ~]> dovecot --version
> 1.0.rc24
> ~]> uname -a
> FreeBSD maru.leela.ws 6.2-RELEASE-p1 FreeBSD 6.2-RELEASE-p1 #6: Wed Feb 21 
> 06:46:58 AKST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/LEELA_HR  i386

P.S. Just tried creating a subfolder with Outlook Express 6.00.2800.1807
and Apple Mail Version 2.1 (752/752.2) and the previously mentioned
IMAPs server, and it still works for both of them, so its not just in
Thunderbird that 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: safe0 and kernel panic

2007-03-22 Thread Sam Leffler
Lowell Gilbert wrote:
> "Rajkumar S" <[EMAIL PROTECTED]> writes:
> 
>> Further to my previous mail.
>>
>> On 3/20/07, Rajkumar S <[EMAIL PROTECTED]> wrote:
>>> safe0 mem 0xf612-0xf6121fff irq 22 at device 10.0 on pci0
>>> safe0: cannot allocate DMA tag
>>> device_attach: safe0 attach returned 6
>> While running cryptokeytest from  /usr/src/tools/tools/crypto
>> test 0
>> cryptokeytest: /dev/crypto: No such file or directory
>>
>> So it seems the driver is not really up.
> 
> Seems like it.  I can see where the safe(4) device might depend
> completely on DMA.
> 
> 
I have no context.  I see a device not attaching for some reason.  Then
/dev/crypto not being present (is cryptodev loaded in the kernel?).  But
a subject line about a panic.

If you've submitted a PR please send me a pointer.  Otherwise you might
consider submitting one w/ details like what version of freebsd you're
running.

Sam

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


Re: Using TSC without disabling ACPI

2007-03-22 Thread Vlad GALU

On 3/22/07, Lowell Gilbert <[EMAIL PROTECTED]> wrote:

"Vlad GALU" <[EMAIL PROTECTED]> writes:

> Hello list, I've been trying to use TSC without disabling ACPI
> and I failed. Is there a way I can achieve that? As long as ACPI was
> in use, the system always chose ACPI-fast.

It varies a bit with the FreeBSD version, but did you try setting the
kern.timecounter.hardware sysctl?


  Yes, sure. It is ignored unless I completely disable ACPI.



--
If it's there, and you can see it, it's real.
If it's not there, and you can see it, it's virtual.
If it's there, and you can't see it, it's transparent.
If it's not there, and you can't see it, you erased it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: No core dump after panic

2007-03-22 Thread Rajkumar S

On 3/22/07, Simon Chang <[EMAIL PROTECTED]> wrote:

Check out "man savecore" for a list of flags.


Thanks, I will check that out.


Have you submitted a formal PR?  I have to say that I have not had
experience with that device or driver.  What other responses have you
gotten from people?


Yes, 110663, Sam Leffler the author of the driver has responded. I
hope he will fix this problem.

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


Re: help on picking an IMAP server

2007-03-22 Thread Peter A. Giessel
On 2007/03/22 6:52, David Banning seems to have typed:
> I have Googled away and found lots of people who complain that they can't
> creat subfolders under dovecot. I havn't seen anyone's problem resolved
> in the theads. I have converted mbox to Maildir. I attempt to create
> a subfolder from within Outlook - no go. How are you creating
> the subfolders?

Just tried creating a subfolder on dovecot running on FreeBSD with
Thunderbird 1.5.0.10 as a client.  Worked perfectly.  Using IMAPs
(secure IMAP) and Maildir.  Dovecot was compiled/installed from ports.

Other system info:

~]> dovecot --version
1.0.rc24
~]> uname -a
FreeBSD maru.leela.ws 6.2-RELEASE-p1 FreeBSD 6.2-RELEASE-p1 #6: Wed Feb 21 
06:46:58 AKST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/LEELA_HR  i386

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


Re: safe0 and kernel panic

2007-03-22 Thread Rajkumar S

On 3/22/07, Sam Leffler <[EMAIL PROTECTED]> wrote:

I have no context.  I see a device not attaching for some reason.  Then
/dev/crypto not being present (is cryptodev loaded in the kernel?).  But
a subject line about a panic.


The device is not attaching because bus_dma_tag_create function fails
with the error ENOMEM. (in line 300, safe.c). I have changed
BUS_DMA_ALLOCNOW flag in bus_dma_tag_create to BUS_DMA_COHERENT and
the panic disappears. BUS_DMA_COHERENT was just taken randomly (as in
some other flag) with no idea about it's use or purpose.


If you've submitted a PR please send me a pointer.  Otherwise you might
consider submitting one w/ details like what version of freebsd you're
running.


The PR Number is 110662. I have tried to put as much information as
possible, I am always ready to provide additional details or do some
testing/debugging.

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


ktrace UHCI controller

2007-03-22 Thread Fahnmusa C Jangaba


Hi

I am running freebsd 6.1 and I am trying to use ktrace to see why the uhci0
controller process stops responding to usb events. I am use ktrace with the
-p option to attach to a process and also with all trace points turned on.
I  don't see any calls in the file ktrace.out file . Am i using ktrace
wrong or is there another way to trace what the uhci0 process is doing and
find out why it is stuck.

thanks

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


Westell USB network adapter

2007-03-22 Thread White Hat
Having gotten sick of my cable company, I am
considering switching to Verizon FIOS. They want to
install a Actiontec Router Model MI424-WR. They
recommend the Westell USB network adapter. Does anyone
have any experience with that unit and FBSD. I can use
any adapter I want as long as it works with their
router. I can use a hard wired system; however, if I
can get the wireless system working correctly, I would
rather do it that way. There are three computers on
this network, two WinXP and one FBSD-6.2 system.

Thanks!


-- 
White Hat 
[EMAIL PROTECTED]


 

Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


PluginManager

2007-03-22 Thread Frank
hi,
I'd like to ask where to download PluginManager, i can't find it in 
FreeBSD.org.

regards,

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


Re: creating rc.d scripts

2007-03-22 Thread Jim Stapleton

This:

(0) ~  > sudo rcorder /usr/local/etc/rc.d/* /etc/rc.d/*
/etc/rc.d/dumpon
/etc/rc.d/initrandom
/etc/rc.d/geli
/etc/rc.d/gbde
/etc/rc.d/encswap
/etc/rc.d/ccd
/etc/rc.d/swap1
/etc/rc.d/mdconfig
/etc/rc.d/ramdisk
/etc/rc.d/early.sh
/etc/rc.d/fsck
/etc/rc.d/root
/etc/rc.d/mountcritlocal
/etc/rc.d/var
/etc/rc.d/cleanvar
/etc/rc.d/random
/etc/rc.d/adjkerntz
/etc/rc.d/atm1
/etc/rc.d/hostname
/etc/rc.d/ipfilter
/etc/rc.d/ipnat
/etc/rc.d/ipfs
/etc/rc.d/kldxref
/etc/rc.d/sppp
/etc/rc.d/addswap
/etc/rc.d/auto_linklocal
/etc/rc.d/sysctl
/etc/rc.d/serial
/etc/rc.d/pccard
/etc/rc.d/netif
/etc/rc.d/ip6addrctl
/etc/rc.d/atm2
/etc/rc.d/pfsync
/etc/rc.d/pflog
/etc/rc.d/pf
/etc/rc.d/isdnd
/etc/rc.d/ppp
/etc/rc.d/routing
/etc/rc.d/ip6fw
/etc/rc.d/network_ipv6
/etc/rc.d/devd
/etc/rc.d/ipsec
/etc/rc.d/ipfw
/etc/rc.d/nsswitch
/etc/rc.d/mroute6d
/etc/rc.d/route6d
/etc/rc.d/mrouted
/etc/rc.d/routed
/etc/rc.d/NETWORKING
/etc/rc.d/mountcritremote
/etc/rc.d/devfs
/etc/rc.d/ipmon
/etc/rc.d/mdconfig2
/etc/rc.d/ramdisk-own
/etc/rc.d/newsyslog
/etc/rc.d/syslogd
/etc/rc.d/savecore
/etc/rc.d/ldconfig
/etc/rc.d/archdep
/etc/rc.d/abi
/etc/rc.d/SERVERS
/etc/rc.d/named
/etc/rc.d/ntpdate
/etc/rc.d/rpcbind
/etc/rc.d/nisdomain
/etc/rc.d/ypserv
/etc/rc.d/ypxfrd
/etc/rc.d/ypupdated
/etc/rc.d/ypbind
/etc/rc.d/ypset
/etc/rc.d/yppasswdd
/etc/rc.d/wpa_supplicant
/etc/rc.d/accounting
/etc/rc.d/nfsclient
/etc/rc.d/amd
/etc/rc.d/atm3
/etc/rc.d/auditd
/etc/rc.d/tmp
/etc/rc.d/cleartmp
/etc/rc.d/dmesg
/etc/rc.d/ike
/etc/rc.d/ipxrouted
/etc/rc.d/kerberos
/etc/rc.d/kadmind
/etc/rc.d/keyserv
/etc/rc.d/kpasswdd
/etc/rc.d/quota
/etc/rc.d/nfsserver
/etc/rc.d/mountd
/etc/rc.d/nfsd
/etc/rc.d/nfslocking
/etc/rc.d/pppoed
/etc/rc.d/pwcheck
/etc/rc.d/virecover
/etc/rc.d/DAEMON
/etc/rc.d/watchdogd
/etc/rc.d/usbd
/etc/rc.d/ugidfw
/etc/rc.d/timed
/usr/local/etc/rc.d/gkrellmd
/usr/local/etc/rc.d/mythbackend
/usr/local/etc/rc.d/sb_server
/usr/local/etc/rc.d/sb_server~
/usr/local/etc/rc.d/svnserve
/etc/rc.d/apm
/etc/rc.d/apmd
/etc/rc.d/bootparams
/etc/rc.d/hcsecd
/etc/rc.d/bthidd
/etc/rc.d/local
/etc/rc.d/lpd
/etc/rc.d/motd
/etc/rc.d/mountlate
/etc/rc.d/ntpd
/etc/rc.d/powerd
/etc/rc.d/rarpd
/etc/rc.d/rtadvd
/etc/rc.d/rwho
/etc/rc.d/sdpd
/etc/rc.d/LOGIN
/etc/rc.d/syscons
/etc/rc.d/sshd
/etc/rc.d/sendmail
/usr/local/etc/rc.d/ezjail.sh
/etc/rc.d/cron
/etc/rc.d/jail
/etc/rc.d/localpkg
/etc/rc.d/netoptions
/etc/rc.d/securelevel
/etc/rc.d/resolv
/etc/rc.d/power_profile
/etc/rc.d/pcvt
/etc/rc.d/othermta
/etc/rc.d/natd
/etc/rc.d/msgs
/etc/rc.d/moused
/etc/rc.d/mixer
/etc/rc.d/inetd
/etc/rc.d/hostapd
/etc/rc.d/geli2
/etc/rc.d/ftpd
/etc/rc.d/dhclient
/etc/rc.d/bsnmpd
/etc/rc.d/bridge
/etc/rc.d/bluetooth
/etc/rc.d/bgfsck
/usr/local/etc/rc.d/vpnc.sh.sample
/usr/local/etc/rc.d/snmptrapd
/usr/local/etc/rc.d/snmpd
/usr/local/etc/rc.d/dbus
/usr/local/etc/rc.d/polkitd
/usr/local/etc/rc.d/openvpn
/usr/local/etc/rc.d/mysql-server
/usr/local/etc/rc.d/mdnsd
/usr/local/etc/rc.d/kdelibs.sh
/usr/local/etc/rc.d/kdc.sh.sample
/usr/local/etc/rc.d/hald
/usr/local/etc/rc.d/fusefs
/usr/local/etc/rc.d/ffserver
/usr/local/etc/rc.d/cupsd
/usr/local/etc/rc.d/avahi-daemon.sh
/usr/local/etc/rc.d/avahi-dnsconfd.sh
/usr/local/etc/rc.d/apache.sh
/usr/local/etc/rc.d/001slpd.sh



Thanks,
-Jim Stapleton


On 3/21/07, Brian A. Seklecki <[EMAIL PROTECTED]> wrote:

what does: $ sudo rcorder /usr/local/etc/rc.d/* /etc/rc.d/*

..look like?

~BAS

On Wed, 2007-03-21 at 10:57 -0700, Chuck Swiger wrote:
> On Mar 21, 2007, at 10:52 AM, Jim Stapleton wrote:
> > I created a script in my /usr/local/etc/rc.d directory, but for some
> > reason it doesn't auto start when I start my machine. I added entries
> > to the rc.conf that I thought should work, but they did not. On a
> > related not, my rc.conf file doesn't seem to disable autostart of
> > sendmail. Could anyone advise me?
>
> Your rc script is probably not working because it might not find
> python under /usr/local/bin unless you explicitly set $PATH to
> include that directory.
>
> Secondly, you want to use sendmail_enable="NONE" rather than "NO" if
> you want to completely disable all of sendmail.  Setting it to "NO"
> means that there is no sendmail daemon listening on port 25, but
> there will still be a local client mqueue runner spawned to handle
> local deliveries.
>



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


Re: ssh via html

2007-03-22 Thread Eric

Derek Ragona wrote:

Why don't you put putty on a USB thumb drive and run it from there?

-Derek


i like this version of putty. its all file based, not the registry, so 
all your settings and hosts are there:


http://jakub.kotrla.net/putty/

its really nice

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


Re: Kernel error

2007-03-22 Thread Lowell Gilbert
"abhishek singh" <[EMAIL PROTECTED]> writes:

> I am getting  this " kernel: sis0: Applying short cable fix (reg=e8)" kernel
> error  in /var/log/messages what it does mean .I am using FreeBSD 5.4.

It's a recommended workaround from National Semiconductor for
behaviour that I would assume deals with signal propagation on short
ethernet cables.  I haven't read the 83815 spec; if you want more
details, you will need to do so.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: help on picking an IMAP server

2007-03-22 Thread David Banning
> You must have been doing something wrong.  I have Dovecot in multiple
> places and never had any trouble creating folders/subfolders.
> 
> I use Maildir format for my mail store, for multiple reasons that you
> can research via Google if you're curious.  Perhaps the Maildir support
> is better than mbox.  If that's the case, you may want to consider
> switching to Maildir -- there is at least one mbox -> Maildir conversion
> utility out there.

Hi Bill. 

I have Googled away and found lots of people who complain that they can't
creat subfolders under dovecot. I havn't seen anyone's problem resolved
in the theads. I have converted mbox to Maildir. I attempt to create
a subfolder from within Outlook - no go. How are you creating
the subfolders?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ssh via html

2007-03-22 Thread Derek Ragona

Why don't you put putty on a USB thumb drive and run it from there?

-Derek


At 08:28 AM 3/22/2007, Koen de Wijs wrote:

Hello,

I want to login on my freebsd remotely by ssh. I don't want to download 
putty every time I want to login in my compter

from a computer that isn't mine.
I would like a html website that makes a shell and do everything over ssl.

Does anyone know a program/port that can help me?


Thanks,

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

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: Building a custom FreeBSD ISO install image

2007-03-22 Thread Lowell Gilbert
Olivier Regnier <[EMAIL PROTECTED]> writes:

> Hello,
>
> I tried to make a custom FreeBSD ISO install image but when i use this
> command :
> prompt# cd /usr/src/release && make release
> CHROOTDIR=/ncvs/FreeBSD/release \
> BUILDNAME=6.2-RELEASE-p3 CVSROOT=/ncvs/FreeBSD/cvs  PORTSRELEASETAG=HEAD \
> DOCRELEASETAG=HEAD RELEASETAG=RELENG_6_2
>
> after 60 minutes, i have this message :
> ## Add version information to those things that need it.
> if [ ! -f /ncvs/FreeBSD/release/tmp/.world_done ]; then cd
> /ncvs/FreeBSD/Release/usr/src/sys/conf && mv newvers.sh foo && sed
> "s/^RELEASE=6.2-RELEASE-p3/" foo > newvers.sh && rm foo; fi
> cd: can't cd to /ncvs/FreeBSD/release/usr/src/sys/conf
> *** Error code 2

Is the CHROOTDIR correct?
Do you think the CVS tree is complete?

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to use vsftpd with wirtual users without LinuxPAM ?

2007-03-22 Thread Bernd Trippel

Quoting Vincent Bolinard <[EMAIL PROTECTED]>:


Hello,

I'd like to know how can I set up virtual users without pam_userdb.so
(which is not included in OpenPAM).

vsftpd needs pam_userdb.so to authenticate against the db Berkeley database.
What else can I use ?

I don't want to use MySQL because there won't be a lot of virtual 
users (< 50).


Thank you for your help.


Basically you can use any authentication method provided by OpenPam. 
For Users <

50  pam_pwdfile.so should fit your needs, esp. if you are familiar with
htpasswd.

Check the list-archive:
http://lists.freebsd.org/pipermail/freebsd-questions/2006-April/117915.html



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


Re: Using TSC without disabling ACPI

2007-03-22 Thread Lowell Gilbert
"Vlad GALU" <[EMAIL PROTECTED]> writes:

> Hello list, I've been trying to use TSC without disabling ACPI
> and I failed. Is there a way I can achieve that? As long as ACPI was
> in use, the system always chose ACPI-fast.

It varies a bit with the FreeBSD version, but did you try setting the
kern.timecounter.hardware sysctl?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Install FreeBSD 6.2 on Nokia IP350 box

2007-03-22 Thread Jerry McAllister
On Thu, Mar 22, 2007 at 01:04:26PM +0700, BSD wrote:

> Hi,
> 
> Is it possible to install FreeBSD 6.2 on Nokia IP350 platform?   Could you
> please suggest me a link to the URL?

Is it an i386 or amd64 type machine?   
If so, probably.  If not, probably not.

There is a whole web page on the FreeBSD web site dealing with
hardware compatibilities.   Check the information associated
with any particular release.

jerry

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


Re: snapshot fails with "Filesize limit exceeded"

2007-03-22 Thread David King

When trying to create a snapshot (per the handbook at ),
the creation of the snapshot fails: [...]
mount: /mnt/big: Filesize limit exceeded [...]
Am I doing something wrong?

Your account has a filesize limit set?  Check limit(1).


Ah hah! You are absolutely right.

Thanks!

/mnt/big# id
uid=0(root) gid=0(wheel) groups=0(wheel), 5(operator)
/mnt/big# limit
cputime unlimited
filesize20480MB
datasize1024MB
stacksize   1024MB
coredumpsize1024MB
memoryuse   1024MB
memorylocked1024MB
maxproc 5547
descriptors 1
sockbufsize 1024MB
vmemorysize 1024MB

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


Re: remote logging with syslogd

2007-03-22 Thread David Robillard

Hello,

I'm trying to put up a remote logging server. I want to let my
Airport Express send its logs to my FreeBSD server.

So I said to my Airport to send its logs to the internal ip of my
server, I suppose it works because that's what Apple hardware does.
Now I did the following things on my bsdbox:


I appended to syslog.conf:

# Log remote Airport Express
+airport
*.* /var/log/airport.log
!*

I touched /var/log/airport.log and it has rw-r- root:wheel rights

And to rc.conf I added:

syslogd_enable="YES"
syslogd_flags="-b myhostname.intranet -a *.intranet"

I restarted syslogd via:
# /etc/rc.d/syslogd restart

I suppose it should work, but nothing appears in /var/log/airport and
there should be something that it listens for input or not?

Also I checked netstat -a | grep syslog
udp4   0  0  myhostname.intranet..syslo *.*

So it looks like it is not listening.

Anyone any ideas what I'm doing wrong?


The Apple AirPort products, both Extreme and Express, do not use the
standard syslog UDP port 514. They send it at a higher port. Just like
most Cisco devices do.

So to enable logging on a FreeBSD host, you must change your
rc.conf(5) syslog_flags line to enable other non-standard syslog
ports. Try something like this:

syslogd_flags="-b myhostname.intranet -a *.intranet:*"

Since you're using names instead of IP addresses in your
configuration, make sure your DNS resolves both A and PTR records for
the AirPort.

Have fun,

David
--
David Robillard
UNIX systems administrator & Oracle DBA
CISSP, RHCE & Sun Certified Security Administrator
Montreal: +1 514 966 0122
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Downloads

2007-03-22 Thread Jerry McAllister
On Wed, Mar 21, 2007 at 04:57:27PM -0700, Jim Priovolos wrote:

> Hi, I've downloaded the 6.2 files. When I burned a CD with the boot file it 
> didn't make my laptop boot off it after powering up with it in the CD drive.
> 
> The *disk1 file burnt to a CD gave the same results.
> 
> I tried the *disk1 file using ftp through a browser and also command line 
> ftp set to binary.
> 
> I checked the boot order and CD is first. If I put a Windows boot CD in 
> there it will boot off of it.

The most popular problem is to burn the CD incorrectly.
The disc1 file (the one you need for installation) is already an ISO - 
 a burnable image.  It must be burned directly to the CD as that image 
and not converted in any way.   The terminology in different burners varies.   
Some call this burning directly as data and some use data to mean something 
they will convert in to a burnable image.   So, check your particular CD
burning software and make sure what you are doing is just a straight burn.

If that ain't it, the next thing to do is go back over your BIOS again.

jerry

> 
> Any ideas?
> 
> I've got a Compaq Presario 2500 laptop with XP on it now.
> 
> Thanks for the help in advance,
> Jim P.
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: safe0 and kernel panic

2007-03-22 Thread Lowell Gilbert
"Rajkumar S" <[EMAIL PROTECTED]> writes:

> Further to my previous mail.
>
> On 3/20/07, Rajkumar S <[EMAIL PROTECTED]> wrote:
>> safe0 mem 0xf612-0xf6121fff irq 22 at device 10.0 on pci0
>> safe0: cannot allocate DMA tag
>> device_attach: safe0 attach returned 6
>
> While running cryptokeytest from  /usr/src/tools/tools/crypto
> test 0
> cryptokeytest: /dev/crypto: No such file or directory
>
> So it seems the driver is not really up.

Seems like it.  I can see where the safe(4) device might depend
completely on DMA.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ssh via html

2007-03-22 Thread Alain G. Fabry
On Thu, Mar 22, 2007 at 02:28:21PM +0100, Koen de Wijs wrote:

Maybe this site will help

http://www.netspace.org/ssh/



> Hello,
> 
> I want to login on my freebsd remotely by ssh. 
> I don't want to download putty every time I want to login in my compter  
> from a computer that isn't mine.
> I would like a html website that makes a shell and do everything over ssl.
> 
> Does anyone know a program/port that can help me?
> 
> 
> Thanks,
> 
> Koen de Wijs
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ssh via html

2007-03-22 Thread Bill Moran
In response to Koen de Wijs <[EMAIL PROTECTED]>:

> Hello,
> 
> I want to login on my freebsd remotely by ssh. 
> I don't want to download putty every time I want to login in my compter  
> from a computer that isn't mine.
> I would like a html website that makes a shell and do everything over ssl.
> 
> Does anyone know a program/port that can help me?

Webmin has this, but I've had trouble getting it to work.  YMMV

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


ssh via html

2007-03-22 Thread Koen de Wijs

Hello,

I want to login on my freebsd remotely by ssh. 
I don't want to download putty every time I want to login in my compter  
from a computer that isn't mine.

I would like a html website that makes a shell and do everything over ssl.

Does anyone know a program/port that can help me?


Thanks,

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


Re: help on picking an IMAP server

2007-03-22 Thread Eric

David Banning wrote:
I have been using imap-uw for some time but now I would like to 
have an imap server that can have subfolders. Out with imap-uw..


I tried dovecot but I was unable to get it to create subfolders,
although it seems some say you can, may people are having problems
doing so, and I didn't like the fact that it changes the format of
the folders from the mbox standard.

So I tried cyrus-imap. It did allow me to create subfolders. Cyrus
however seems like it is a system-wide program. Where with imap-uw
and dovecot I could still keep my old non-imap mailboxes in tact
cyrus wants seemingly to control everything, doing away with /var/mail
and setting up it's own email format.

So I guess I'm hoping to get an imap-uw like imap, but one where I
can creat folders.

any suggestions?



i vote for dovecot again! =)

I use maildir format. I tried a lot of imap servers and dovecot is the 
easiest to setup and has a very small footprint.


I would start over with dovecot, maybe on a different port, using the 
default config and maildir. get things working, then convert to maildir 
across the board and change the port back.


I use dovecot with: horde+imp, thunderbird 1.5 and 2, and roundcube and 
am able to create folders, etc without issue.


I switched over from courier a while ago. It worked well enough, but 
dovecot works better for me.


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


Help with crash

2007-03-22 Thread Andrea Venturoli

Hello.
I got a reboot and a crash dump on a 6.2/i386 server.
Following is the stack trace.
Any hint?

 bye & Thanks
av.


--
# kgdb kernel.debug /var/crash/vmcore.0
kgdb: kvm_nlist(_stopped_cpus):
kgdb: kvm_nlist(_stoppcbs):
[GDB will not be able to debug user-mode threads: 
/usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"]

GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.

Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd".

Unread portion of the kernel message buffer:


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0xdeadc0e2
fault code  = supervisor read, page not present
instruction pointer = 0x20:0xc0496614
stack pointer   = 0x28:0xd6a16a64
frame pointer   = 0x28:0xd6a16a68
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = 40858 (make)
trap number = 12
panic: page fault
Uptime: 21d21h40m30s
Dumping 510 MB (2 chunks)
  chunk 0: 1MB (159 pages) ... ok
  chunk 1: 510MB (130544 pages) 494 478 462 446 430 414 398 382 366 350 
334 318 302 286 270 254 238 222 206 190 174 158 142 126 110 94 78 62 46 
30 14


#0  doadump () at pcpu.h:165
165 __asm __volatile("movl %%fs:0,%0" : "=r" (td));
(kgdb) bt
#0  doadump () at pcpu.h:165
#1  0xc04c4e60 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409
#2  0xc04c510b in panic (fmt=0xc05f115f "%s") at 
/usr/src/sys/kern/kern_shutdown.c:565
#3  0xc05d3ab2 in trap_fatal (frame=0xd6a16a24, eva=3735929058) at 
/usr/src/sys/i386/i386/trap.c:837
#4  0xc05d37e3 in trap_pfault (frame=0xd6a16a24, usermode=0, 
eva=3735929058) at /usr/src/sys/i386/i386/trap.c:745

#5  0xc05d344d in trap (frame=
  {tf_fs = 8, tf_es = 40, tf_ds = 40, tf_edi = -1021863548, tf_esi 
= -1022262144, tf_ebp = -694064536, tf_isp = -694064560, tf_ebx = 
-1067264512, tf_edx = -1003569664, tf_ecx = -1022262144, tf_eax = 
-559038242, tf_trapno = 12, tf_err = 0, tf_eip = -1068931564, tf_cs = 
32, tf_eflags = 66195, tf_esp = -849800160, tf_ss = -694064516})

at /usr/src/sys/i386/i386/trap.c:435
#6  0xc05c2a3a in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#7  0xc0496614 in g_valid_obj (ptr=0xc3118480) at 
/usr/src/sys/geom/geom_subr.c:939
#8  0xc04966f8 in g_vfs_strategy (bo=0xdeadc0de, bp=0xcd591420) at 
/usr/src/sys/geom/geom_vfs.c:97
#9  0xc057a805 in ffs_geom_strategy (bo=0xc3179a90, bp=0xcd591420) at 
/usr/src/sys/ufs/ffs/ffs_vfsops.c:1800
#10 0xc0586279 in ufs_strategy (ap=0xdeadc0de) at 
/usr/src/sys/ufs/ufs/ufs_vnops.c:1979
#11 0xc05de445 in VOP_STRATEGY_APV (vop=0xc0642cc0, a=0xd6a16ae0) at 
vnode_if.c:1796
#12 0xc050e885 in bufstrategy (bo=0xdeadc0de, bp=0xcd591420) at 
vnode_if.h:928
#13 0xc0509a7b in breadn (vp=0xc3dd16cc, blkno=0, size=2048, 
rablkno=0x0, rabsize=0x0, cnt=0, cred=0x0, bpp=0xdeadc0de) at buf.h:426
#14 0xc050997c in bread (vp=0xc3dd16cc, blkno=0, size=2048, cred=0x0, 
bpp=0xd6a16ba4) at /usr/src/sys/kern/vfs_bio.c:719
#15 0xc057af77 in ffs_read (ap=0xdeadc0de) at 
/usr/src/sys/ufs/ffs/ffs_vnops.c:494
#16 0xc05dccf3 in VOP_READ_APV (vop=0xc0642760, a=0xd6a16bf4) at 
vnode_if.c:643
#17 0xc0525ccf in vn_read (fp=0xc39c3c60, uio=0xd6a16cbc, 
active_cred=0xc4364480, flags=0, td=0xc35dbd80) at vnode_if.h:343
#18 0xc04e92c5 in dofileread (td=0xc35dbd80, fd=3, fp=0xc39c3c60, 
auio=0xd6a16cbc, offset=Unhandled dwarf expression opcode 0x93

) at file.h:240
#19 0xc04e915e in kern_readv (td=0xc35dbd80, fd=3, auio=0xd6a16cbc) at 
/usr/src/sys/kern/sys_generic.c:192
#20 0xc04e9089 in read (td=0xc35dbd80, uap=0xc3118480) at 
/usr/src/sys/kern/sys_generic.c:116

#21 0xc05d3d6b in syscall (frame=
  {tf_fs = 59, tf_es = 59, tf_ds = 59, tf_edi = 134811968, tf_esi = 
0, tf_ebp = -1077947752, tf_isp = -694063772, tf_ebx = 134811968, tf_edx 
= 134789028, tf_ecx = 1, tf_eax = 3, tf_trapno = 0, tf_err = 2, tf_eip = 
134721467, tf_cs = 51, tf_eflags = 658, tf_esp = -1077947780, tf_ss = 
59}) at /usr/src/sys/i386/i386/trap.c:983
#22 0xc05c2a8f in Xint0x80_syscall () at 
/usr/src/sys/i386/i386/exception.s:200

#23 0x0033 in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb) 


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


Consultanos antes de tomar tú decisión

2007-03-22 Thread [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: help on picking an IMAP server

2007-03-22 Thread Bill Moran
In response to David Banning <[EMAIL PROTECTED]>:

> I have been using imap-uw for some time but now I would like to 
> have an imap server that can have subfolders. Out with imap-uw..
> 
> I tried dovecot but I was unable to get it to create subfolders,
> although it seems some say you can, may people are having problems
> doing so, and I didn't like the fact that it changes the format of
> the folders from the mbox standard.

You must have been doing something wrong.  I have Dovecot in multiple
places and never had any trouble creating folders/subfolders.

I use Maildir format for my mail store, for multiple reasons that you
can research via Google if you're curious.  Perhaps the Maildir support
is better than mbox.  If that's the case, you may want to consider
switching to Maildir -- there is at least one mbox -> Maildir conversion
utility out there.

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


Re: No core dump after panic

2007-03-22 Thread Simon Chang

I did not use /var/crash because /var was small than RAM. So I
manually changed the crash directory to /usr partition. I do not know
how to set savecore flag.


Check out "man savecore" for a list of flags.  You normally set them
in /etc/rc.conf by putting in a line like:  savecore_flags="-v -z",
where -v puts in extra debugging information and -z compresses the
coredump so that you save some space.


The panic happens only when safenet driver is complied in., GENERIC
freebsd kernel boots up fine. I am using Axiomtek NA-1281A* I have
reported the details about the panic in another mail+,


Have you submitted a formal PR?  I have to say that I have not had
experience with that device or driver.  What other responses have you
gotten from people?

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


Crash dumps and encrypted swap

2007-03-22 Thread cpghost
How do you enable crash dumps when the swap partition is GBDE-
(or GELI-) encrypted? A setting of:

dumpdev="/dev/ad0s1b.bde"

in /etc/rc.conf seems silly, because /etc/rc.d/encswap initializes
the swap partition with a new random passphrase on every reboot,
so savecore(8) won't be able to read the previous crash dump.

Is it possible to set dumpdev to "/dev/ad0s1b" (eventhough swap
is /dev/ad0s1b.bde), and make sure that /etc/rc.d/savecore is
called *before* /etc/rc.d/encswap to fetch the (unencrypted)
crash dump?

Or is it better to manually encrypt swap with a known (not one-time)
passphrase -- therefore bypassing /etc/rc.d/encswap completely --,
so that crash dumps are saved on the encrypted swap, but can still
be read back on next reboot?

Oh, and btw, is it at all possible to crash dump on an .bde or .eli
special device? Is it reliable (crash dumping on a regular file is
not possible for reliability reasons)?

(Of course, it's always possible to set aside a special non-encrypted
partition just for crash dumps, but this means reinstalling everything
from scratch...)

Thanks,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"