mounting an external USB HDD

2005-07-07 Thread Warren
im running FreeBSD 5.4-STABLE and am trying to do the above.

umass0: Genesyslogic USB Mass Storage Device, rev 2.00/0.33, addr 2

So i presume it's ums0 and it's a NTFS filesystem ...

mount_ntfs: /dev/ums0: Block device required

What little i have found on the web plus man pages im afraid im missing 
something as it has been a lil while since doing this sort of thing.  I have 
data on the drive i wish to take off as well as data i wish to xfer on to the 
drive.

Any help with this is appreciated.

-- 
Yours Sincerely
Shinjii
http://www.shinji.nq.nu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Kernel compiling error on FreeBSD 5.4

2005-07-07 Thread Igor Robul

Piotr Baranowski wrote:


KK Show us the exact error and exactly what you did, we can't help if
KK you're vague about it.

what i did was:
1) cd /usr/src/sys/i386/conf
2) cp GENERIC OWIEC
3) editing OWIEC
4) config OWIEC
5) cd ../compile/OWIEC
6) make depend
7) had errors
8) make -a D depend
9) seen errors ;-)
 


1) check that you have sources. reinstall sources from CD or recvsup.
2) check that you have correct version of C compiler. Try compile simple 
C program.

3) do rm -fr /usr/obj/usr/src/sys/OWIEC
4) then try second, and correct method


then i used second method
1) cd /usr/src
2) make buildkernel KERNCONF=OWIEC
 



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


Copying data onto a NTFS partitioned hdd

2005-07-07 Thread Warren
After some help getting this External HDD mounted in FreeBSD 5.4-STABLE .. i 
now find im unable to copy any of the data from my BSD partition to the NTFS 
hdd .. can bsd write to a NTFS drive or am i doomed to have to use winblows ?
-- 
Yours Sincerely
Shinjii
http://www.shinji.nq.nu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD posters

2005-07-07 Thread Knut Anish Nordb

Hello
I am looking for some FreeBSD posters, i tired to search for it with 
google but with no success :(

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


Re: Copying data onto a NTFS partitioned hdd

2005-07-07 Thread Thomas Leveille
On 7/7/05, Warren [EMAIL PROTECTED] wrote:
 After some help getting this External HDD mounted in FreeBSD 5.4-STABLE .. i
 now find im unable to copy any of the data from my BSD partition to the NTFS
 hdd .. can bsd write to a NTFS drive or am i doomed to have to use winblows ?
 --
 Yours Sincerely
 Shinjii
 http://www.shinji.nq.nu
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

There's a or ntfs writing is very limited under freebsd. I wouldn't
try if I were you (see the man page on the link) :
http://www.freebsd.org/cgi/man.cgi?query=mount_ntfsapropos=0sektion=0manpath=FreeBSD+5.4-RELEASE+and+Portsformat=html

If you don't have a windows install, you can try using a Linux LiveCD
which includes captive-ntfs. You need a few dll from windows xp but I
think there's a setup which download the windows xp sp1 for you to
retrieve them automatically. But it's not a viable solution if you
plan to copy files to the ntfs partition on a regular basis. I assume
you are in a dual boot environment. I suggest you to format the
external drive in fat32 if you want it to be readable by both Windows
and FreeBSD.

link to captive-ntfs :
http://www.jankratochvil.net/project/captive/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ftp access Q's to ftp.freeBSD mirrors

2005-07-07 Thread datora tehnika
Good morning, all !

Thanks for the responses  pointers.

 [ DUH!  sorry about sending this out wrong the first time to
a1poweruser; misread the headers in the reply-to ]

I realize the intitial post was long, but I did clearly indicate that
the FTP attempts were numurous using quite a lot of anon vs. anonymous
vs. public vs. email addy username/password combo's at several ftp
sites.

THE QUESTION :  if I go to ftp.freebsd.org, and I attempt to login w/
ftp software as an anonymous user, PLEASE : what username am I
supposed to use?  What password, if any, am I suuposed to use ?? 
Thanks for the recommendations on which packages to try, but login
protocol/settings am I supposed to be using?  From a Windoze2K machine
..?  If I'm missing that at the site, I'd apprec the URL so I can
figure why I'm missing that info and not have to bother you with
questions this trivial.

HUGE bonus for me is if anyone can make a recommendation for mirrors
in Lithuania, Estonia, Sweden, any mirror with solid access to Riga,
Latvia ... I only speak English  rarely get comprehensible help from
local East Europe services.  I'm pretty much on my own that way here;
''send the local admin an email'' is wasted effort about 90% of the
time if you don't have a specific contact.

BTW I checked out the bittorrent site .. I'm on a Win2K workstation on
a cable modem (DHCP cnnxn that changes at every boot/fluctuation about
five-seven times/ day).  I don't have access to any of the server
settings they started going off about.  Is there a client-only option
...? The site didn't seem to suggest that was possible.  FTP seemed
the best option for my circumstances, but I'm willing to consider
others upon recommendation (URL pointer is enough if you've got such;
I can read).


Yep .. have some idea about the ports system, but obviously have a lot
of reading on it it to understand it for efficient use.  It's one of
the features that has me interested in *BSD.

My concern there is that if my connections keeps fuctuating [ sic - I
like it, so I'm not correcting _that_ typo ;) ] trying to get the
ISO's DL'd then how reliable will depending on ports be..?  I assume
there is some sort of auto-resume feature, but scarey thoughts crop up
when the DL is an install instead of just a data file.

I can always resume  re-do something like an ISO ... I get very tense
feelings when some balck-magic software is auto-installing over the
internet.  I'd much rather have the source /or bin's and be doing it
off-line so I understand what's going on better.  This win paradigm of
'Just Click Somewhere And It'll Be Good' is exactly what I'm trying to
get away from.

I had not considered using the older versions .. my assumption is that
the 5.4 release would give me the best chances of success, especially
trying to get running while off-line instead of getting stuck waiting
on some on-line connection that may or may not give me some estimate
as to how much longer it's going to take.


And, really, thank you one and all for the man  install guide
pointers.  At least two there I didn't have yet, although I do already
have freeBSD  netBSD user guides in *.pdf  have begun on those. 
Have got through basic install chapters  read through the last 90
days of this emaillist archive over the last couple weeks before I
decided to go freeBSD  attempted to grab the ISO's.

I'm gonna post another or two here on other questions and ask for a
critique  tweak of install strategy so I can focus on the priorities
to study up on.  I do not have unlimited time to 'just read
everything;' I've located several thousand pages of tech writing,
large sections are way beyond my comptrehension today.  I'm trying to
pare it down to the first couple hundred pages worth that will get me
boot-strapped to a working desktop.  At the end of July I may be
stranded with only my off-line materials as reference for a while.  I
can always hit a cyber cafe to check email, but ports  large DL'z
would be impossible or insanely convoluted.

Best to download everything I can get right now so I can plow through
it during August  September.

Thanks !
 
  --  datora
serfing the stream electric
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Kernel compiling error on FreeBSD 5.4

2005-07-07 Thread Giorgos Keramidas
On 2005-07-07 03:20, Piotr Baranowski [EMAIL PROTECTED] wrote:
 KK Show us the exact error and exactly what you did, we can't help if
 KK you're vague about it.

 what i did was:
 1) cd /usr/src/sys/i386/conf
 2) cp GENERIC OWIEC
 3) editing OWIEC
 4) config OWIEC
 5) cd ../compile/OWIEC
 6) make depend
 7) had errors
 8) make -a D depend
 9) seen errors ;-)

That's wrong.  You are trying to build just a kernel, before a userland
has been compiled.  Use make buildworld and make buildkernel, unless
you know exactly what you are doing and why.

 then i used second method
 1) cd /usr/src
 2) make buildkernel KERNCONF=OWIEC
 3) had errors
 4) make -a D buildkernel KERNCONF=OWIEC
 5) same errors here ;-)

 exact errors would take very much space ;-)
 at first blocks of theese err's:

 cc: #: No such file of directory
 cc: parents:: No such file or directory
 cc: kernel: No such file or directory
 cc: vers.c: No such file or directory
 cc: harvest.o: No such file or directory
 cc: :: No such file or directory
 cc: ${NORMAL_C}: No such file or directory
 cc: randomdev.ln: No such file or directory
 cc: ${NORMAL_LINT}: No such file or directory

 and so on..
 and after that, block of many:

 cc1: error: unrecognized command line option -f

Hmmm.  You haven't by any chance overwritten the system version of
make(1) with GNU make, right?

What do you see when you try to run the command:

# make --version

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


Re: Does PF firewall have stateless rules

2005-07-07 Thread Giorgos Keramidas
On 2005-07-06 21:34, fbsd_user [EMAIL PROTECTED] wrote:
 Does the OpenBSD Packet Filter firewall have stateless rules?

Yes.

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


Re: mounting an external USB HDD

2005-07-07 Thread Giorgos Keramidas
On 2005-07-07 06:08, Warren [EMAIL PROTECTED] wrote:
 im running FreeBSD 5.4-STABLE and am trying to do the above.

 umass0: Genesyslogic USB Mass Storage Device, rev 2.00/0.33, addr 2

 So i presume it's ums0 and it's a NTFS filesystem ...

Not exactly.

You should also see a da[0-9]+ device appear at about the same time the
umass0 mass storage device connects:

# umass0: detached
# umass0: USB Flash Disk, rev 2.00/2.00, addr 2
# da0: JetFlash TS256MJF2B 2.00 Removable Direct Access SCSI-2 device
# da0: 40.000MB/s transfers
# da0: 250MB (512000 512 byte sectors: 64H 32S/T 250C)

Then you can look in /dev for da0* devices.  If the disk has partitions,
they will appear automatically as da0s1, da0s2, etc.

- Giorgos

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


Re: ftp access Q's to ftp.freeBSD mirrors

2005-07-07 Thread Robert Slade
On Thu, 2005-07-07 at 07:53, datora tehnika wrote:
 Good morning, all !
 
 Thanks for the responses  pointers.
 
  [ DUH!  sorry about sending this out wrong the first time to
 a1poweruser; misread the headers in the reply-to ]
 
 I realize the intitial post was long, but I did clearly indicate that
 the FTP attempts were numurous using quite a lot of anon vs. anonymous
 vs. public vs. email addy username/password combo's at several ftp
 sites.
 
 THE QUESTION :  if I go to ftp.freebsd.org, and I attempt to login w/
 ftp software as an anonymous user, PLEASE : what username am I
 supposed to use?  What password, if any, am I suuposed to use ?? 
 Thanks for the recommendations on which packages to try, but login
 protocol/settings am I supposed to be using?  From a Windoze2K machine
 ..?  If I'm missing that at the site, I'd apprec the URL so I can
 figure why I'm missing that info and not have to bother you with
 questions this trivial.
 

Datora

Ftp mirrors etc can be found at
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors-ftp.html

AFAK, logon is anonymous - pwd your e-name address.

You can also get the CD's from a number of sources eg ebay. They are
quite cheap and may save you some grief. The sellers are not allowed to
charge for the Software only for producing the CDs. 

Another way is to use a download manager there are a number of free ones
for W2K. You can leave it running and if the connection is lost, it will
restart from where it lost the connection from.

Here is an example:

http://www.gozilla.com/

Hope this helps

Rob






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


Re: ftp access Q's to ftp.freeBSD mirrors

2005-07-07 Thread datora tehnika
On 7/7/05, Robert Slade [EMAIL PROTECTED] wrote:

 Ftp mirrors etc can be found at
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors-ftp.html

Yep ... thanks.  I've got the web pages for the mirrors, several at
this time.  Trying to establish the connection with something other
than a web browser is the problem.

OKay -- using WS FTP lite, I enter in the host name/address of
ftp.freebsd.org (have also used a couple dozen specifc directories
here  at various mirror sites).User ID is ''anonymous'' with no
password entered (have also used my email address as the password;
same result).

RESULT :

 WINSOCK.DLL: WinSock 2.0
 WS_FTP LE 5.08 2000.01.13, Copyright (c) 1992-2000 Ipswitch, Inc.
 - -
 ! Can't get ftp.freebsd.org/ host entry
 ! Connection failed ftp.freebsd.org/

Connection type is binary, port is standard 21, using passive transfer.

So, using one of many mirrors I've tried as another example, the
problem remains :

 WINSOCK.DLL: WinSock 2.0
 WS_FTP LE 5.08 2000.01.13, Copyright (c) 1992-2000 Ipswitch, Inc.
 - -
 ! Can't get ftp://ftp.lt.FreeBSD.org/pub/FreeBSD/; host entry
 ! Connection failed ftp://ftp.lt.FreeBSD.org/pub/FreeBSD/

ftp://ftp.lt.FreeBSD.org/pub/FreeBSD/ or
ftp.lt.FreeBSD.org/pub/FreeBSD yeilda same error.

So, willing to go with another FTP software.  I realize this old WSFTP
is just that .. old, but I've never had it fail me before ... so I'm
puzzled.  Knowing why this isn't working is pretty important. 
Shooting around in the dark at ''maybe'' is really just wasting time
required elsewhere.

As posted yesterday, the http:// connections keep breaking without the
ability to resume an interrupted transfer.  This is a local problem
due to power fluctuations and flaky cable service.

An ISO DL takes an estimated hour per 100 MB ... so the 550 CD1 ISO
for freeBSD is ~5 1/2 hour DL, up to 6 1/2 hours.  I have actually
managed partial DL'z up to 300  500 MB in the last several days ...
but, when they are interrupted, I have to begin from zero again using
a web browser.

So, drop back  punt:  use ftp software that has a resume function, as
recommended at http://freebsd.org.  This is what FTP is designed to
do.

Why can my standard ftp software not ''get'' the host entry ?  What am
I doing wrong here ?  Is this some *BSD-windows configuration war ...?
 I've used WSFTP for a decade now to connect to *nix servers from
Win9*/NT/2K and never had this issue.

So, thanks for the gozilla.com link; I'll check it out.  It just seems
cludgy to install plugins to a web browser when FTP should work 
should work faster/ more efficiently.

Sorry this thread got re-posted ... I've never run across a mail
listserv that didn't automatically take a reply-to back to the
listserv, so I had to repost the question under a different subject. 
Bizarre setting I'm sure I'll find out the 'why' about some day ...

Other caveat .. I am based in Riga, Latvia.  I could write a small
book about it, but let's just summarize that buying anything over the
internet from here is largely a waste of money and time.  An ebay
transaction for a ISO images would chew up weeks and cost stupid
amounts of money.  $10 USD is a food budget for an entire week here,
not to be thrown away lightly.

I should be able to connect via ftp  have both ISO's for freeBSD 5.4
in about 12 hours time, tops, if I can just find out the magic
settings to make the ftp servers show up in my ftp software.

Besides, I foresee the need to have to ftp from these sites for quite
a number of items as I need them.  Getting into two and three week
shipping/payment negotiations each time i need something (or _might_
need it  have to DL it to find out ...) is really a rather silly
methodology.

I'm having a hard time believing that nobody on this list has
established an ftp connection to one of these servers.  Understanding
what I'm doing wrong here seems to be the best approach.   ''throw
money at someone'' ''click here'' ''install that''  pray are the
sorts of solutions that *BSD is supposed to NOT be about.  Have I
misunderstood that?

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


(no subject)

2005-07-07 Thread SYMPA
Your message for list changelog has been forwarded to editor(s)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Copying data onto a NTFS partitioned hdd

2005-07-07 Thread Steven Enderle

Warren wrote:

After some help getting this External HDD mounted in FreeBSD 5.4-STABLE .. i 
now find im unable to copy any of the data from my BSD partition to the NTFS 
hdd .. can bsd write to a NTFS drive or am i doomed to have to use winblows ?
 

You are right, ntfs with freebsd is not writeable. You could switch to 
smaller FAT32 partitions, thats how i do it.


Regards

Steven
--
++ message delivered by gizm0.org http://gizm0.org/
++ free webmail - imap, pop3, ssl secured
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD locks up when X-windows running (LONG)

2005-07-07 Thread Alex Zbyslaw

Andreas Kohn wrote:


Hi,

say, do you see any messages like 


NVRM: Xid: 13,  02005600 0056 0c28 006500ac 0080

(Numbers may vary, I think) 
in your kernel messages after such a lock-up happened?
 

AFAIK this is not a FreeBSD-specific problem.  I think this URL is right 
but the site isn't responding at the moment.  I don't know if there is a 
solution there or not.  There were some interesting comments about 
running glxgears before running a game making things better, if that's 
the kind of thing you are doing (gaming, that is), but I never got to 
the end of the thread.  Most people reported the problem on much newer 
cards but the Xid is the classic symptom.


http://www.nvnews.net/vbulletin/showthread.php?t=49117

You could always try the nv drivers.  My Ge2 worked fine on them for 
years, while my  6600 suffered corruption at least once a day.


--Alex

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


Re: Copying data onto a NTFS partitioned hdd

2005-07-07 Thread datora tehnika
Two days ago I was trying to pre-emptively solve this problem.  A
couple quickie comments that may help out at some point, plus related
questions :

I tried to format a new hard drive using Win2K, knowing there were
issues w/ NTFS under *BSD.  So, decided to format using FAT32 under
disk management.  It failed three times (only after wasting 30 mins or
so ''formatting'').  First, I selected 512 byte sectors .. they were
''too small.''  Then I went with ''default,'' but then the volume size
was ''too large.'' (for a 40 GB drive, the identical twin of which
served as a Win98 drive without a blurp).  Last FAT32 effort I chose
teh remaining 1024 byte sector option with same result as 512 byte
option.

Of course, win2K was too stupid  lazy to evaluate these problems
prior to committing to format  actually pretending to do it ...

So, I am assuming that for future, I would use Win98 to create a FAT32
data partition that can be shared by Win/linux  *BSD.  Or, possibly
*BSD or linux to create such .. but I have my doubts regarding Win
being able to access such.


So, the question portion I wasn't able to answer through various
google searches :

Win insisted on ''writing a signature'' to the new drive (not used to
install an OS .. just format as one large volume for data storage).  I
finally relented  let it since I was unable to find out what such a
''signature'' is and, more importantly, couldn't locate a utility that
would allow me to write a signature (or its equivalent) to the drive.

Will this affect my ability to let *BSD read the drive later ..?  What
is this ''signature'' thingie, and what is the lingo for it under
linux/*BSD?  Is there a utility that I can run under Win or from a
bootable floppy that would let me intitate a virgin drive ?  Maybe
even partition  format in a ''universal'' FAT32 for DOS/Win/*nix/*BSD
to all access for dfata read/writes?

Other question on this is that I understand that linux has solutions
to read/write to ntfs.  Should *BSD not be able to emulate enough
linux to use such a function ..?  Linux  Win emulation are sold
pretty hard as one of the positive points about *BSD.  I was going
with the FAT32 solution to simplify my life, not because I thought it
was required.

BTW, I had to format as NTFS since Win2K is my only option for the
moment; first time I ever tried to use WinNT to format a volume or
drive as FAT32  was strikingly unsurprised when it failed at such a
banal task.  I am now operating under the assumption I must reformat
later to use with *nix/*BSD, so this thread is quite interesting to me
so I can do it right the next time .. hopefully within a week to ten
days.

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


Electrical circuits simulator

2005-07-07 Thread Andrey Simonenko
Hello all,

What do you recommend to use for electrical circuits simulating?
I need such software for educational purposes.  I found Oregano in
ports/cad, but may be I missed something and there is alternative
with the same or better level of features as Oregano.

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


RE: ftp access Q's to ftp.freeBSD mirrors

2005-07-07 Thread fbsd_user
Hay I use the same thing and just went to ftp.lt.FreeBSD.org 
ftp.Freebsd.org with no problem.

WINSOCK.DLL: Microsoft wsock32.dll, ver2.2, 32bit of Jun  7 2000, at
21:34:15.
WS_FTP95 LE 4.50 97.05.17, Copyright © 1992-1997 Ipswitch, Inc.



In the session properities I use this.

Host name  ftp.lt.freebsd.org
host type automatic detect
user idI check mark the anonymous box
Password  [EMAIL PROTECTED]

then click on OK button and it loges me into the server just fine.



Now about the subject of long download times because of liminted
bandwidth.
WS_FTP95 does not have resume ability.
I have T1 connection to public internet so not a issue for me.

Using MS/Windows to get ISO CD images
First of all the .ISO file extension is not supported in the native
MS/Windows world. Sure you can download it from one of the FBSD FTP
sites and burn it to a CD using MS/Windows, but you end up with a
data disk where the ISO file is a single file, not a bootable CD
containing the FBSD directory tree which you need to install from.
The second major problem is you need a fast Internet connection,
(IE: ISDN, DSL, CABLE) to download over. Using a 56K modem will take
over 28 hours per CD if you are lucky enough that your ISP does not
cut you off or the FTP server does not get busy and suspend your
session. To resolve this problem of using a MS/Windows box to obtain
the FBSD install CDROM image you will need a MS/Windows FTP program
that can restart the ftp download where it left off at, if it gets
terminated during the initial download. I used SMARTFTP from
www.smartftp.com. Then you need a MS/Windows program that can burn
ISO files to CDROM. I used Nero from www.nero.com. The downloaded
demos from these sites work just fine to do what you have to do to
create your FBSD mini install CDROM. Uninstall them, but keep the
downloaded install zip files for them and next time you need to
retrieve a FBSD .ISO file, just reinstall to get a new 30 day demo.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of datora
tehnika
Sent: Thursday, July 07, 2005 5:27 AM
To: freebsd-questions@freebsd.org
Subject: Re: ftp access Q's to ftp.freeBSD  mirrors


On 7/7/05, Robert Slade [EMAIL PROTECTED] wrote:

 Ftp mirrors etc can be found at

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors-ft
p.html

Yep ... thanks.  I've got the web pages for the mirrors, several at
this time.  Trying to establish the connection with something other
than a web browser is the problem.

OKay -- using WS FTP lite, I enter in the host name/address of
ftp.freebsd.org (have also used a couple dozen specifc directories
here  at various mirror sites).User ID is ''anonymous'' with no
password entered (have also used my email address as the password;
same result).

RESULT :

 WINSOCK.DLL: WinSock 2.0
 WS_FTP LE 5.08 2000.01.13, Copyright (c) 1992-2000 Ipswitch, Inc.
 - -
 ! Can't get ftp.freebsd.org/ host entry
 ! Connection failed ftp.freebsd.org/

Connection type is binary, port is standard 21, using passive
transfer.

So, using one of many mirrors I've tried as another example, the
problem remains :

 WINSOCK.DLL: WinSock 2.0
 WS_FTP LE 5.08 2000.01.13, Copyright (c) 1992-2000 Ipswitch, Inc.
 - -
 ! Can't get ftp://ftp.lt.FreeBSD.org/pub/FreeBSD/; host entry
 ! Connection failed ftp://ftp.lt.FreeBSD.org/pub/FreeBSD/

ftp://ftp.lt.FreeBSD.org/pub/FreeBSD/ or
ftp.lt.FreeBSD.org/pub/FreeBSD yeilda same error.

So, willing to go with another FTP software.  I realize this old
WSFTP
is just that .. old, but I've never had it fail me before ... so I'm
puzzled.  Knowing why this isn't working is pretty important.
Shooting around in the dark at ''maybe'' is really just wasting time
required elsewhere.

As posted yesterday, the http:// connections keep breaking without
the
ability to resume an interrupted transfer.  This is a local problem
due to power fluctuations and flaky cable service.

An ISO DL takes an estimated hour per 100 MB ... so the 550 CD1 ISO
for freeBSD is ~5 1/2 hour DL, up to 6 1/2 hours.  I have actually
managed partial DL'z up to 300  500 MB in the last several days ...
but, when they are interrupted, I have to begin from zero again
using
a web browser.

So, drop back  punt:  use ftp software that has a resume function,
as
recommended at http://freebsd.org.  This is what FTP is designed to
do.

Why can my standard ftp software not ''get'' the host entry ?  What
am
I doing wrong here ?  Is this some *BSD-windows configuration war
...?
 I've used WSFTP for a decade now to connect to *nix servers from
Win9*/NT/2K and never had this issue.

So, thanks for the gozilla.com link; I'll check it out.  It just
seems
cludgy to install plugins to a web browser when FTP should work 
should work faster/ more efficiently.

Sorry this thread got re-posted ... I've never run across a mail
listserv that didn't automatically take a reply-to back to the
listserv, so I had to repost the question under a different 

Re: Copying data onto a NTFS partitioned hdd

2005-07-07 Thread Igor Robul

datora tehnika wrote:


''too small.''  Then I went with ''default,'' but then the volume size
was ''too large.'' (for a 40 GB drive, the identical twin of which
 

This is known problem for Windows 2000 DiskManager. You can create FAT32 
with Win98, Partition Magic, Linux, FreeBSD. Windows 2000 will be able 
to access disk.


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


Did we must put the mounted partition '/' and '/boot' in the same slice ?

2005-07-07 Thread Shark Wang
Today, I heard something on the partition policy for FreeBSD.

Someone said that we must put the mounted partition '/' and '/boot'
in the same slice, otherwise, the System will not boot up !

Can someone give me a confirmed anwser? thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ftp access Q's to ftp.freeBSD mirrors

2005-07-07 Thread datora tehnika
THANK YOU !

I have no idea why this would not work before .. exactly why I was
whining so loudly here.  This should have been a no-brain try 
succeed once thing.

I just now tried ftp.lt.freebsd.org, [EMAIL PROTECTED] as the password
and in like flynn.

Bizarre ... the email address I am posting this from was not accepted !!

Yep .. I knew WSFTP95 does not have resume; sorry about the confusion
in my posts.  I was using this to establish an FTP connection to check
that I could  to get a speed test out of it for time estimates at
different sites.  It's such an old and reliable application  I know
it pretty well I didn't want to confuse myself (moreso than I usually
am!) by bumping around several new interfaces.

THX for the smartFTP link; I'm collecting a whole set of freebie ftp
utilities; resume was not so critical before as it has suddenly
become.  I haven't DL'd anything larger than about 90 or 100 MB in the
last two years.

My cable cnnxn currently runs about 100 MB/ hour with some varience
(~29 - 32 bps is norm) ... so, y'all will be crazed ... er, graced
with my newbie install attempts Real Soon Now; I expect by Monday
depending on other things I am trying to get done.

I know all about burning an ISO with something like nero ... that is
exactly what I use; I have a fully licensed personal copy of 5.5 that
hasn't failed me yet for many IOS's, including linux installs.  Nero
rocks !

I have ftp.  I am happy.

Paldies!  ;-)

  -- datora

Successful session established :

WINSOCK.DLL: WinSock 2.0
WS_FTP LE 5.08 2000.01.13, Copyright (c) 1992-2000 Ipswitch, Inc.
- -
connecting to 213.197.128.70:21
Connected to 213.197.128.70 port 21
220 ocean.cs.microlink.lt FTP server (Version 6.00LS) ready.
USER anonymous
331 Guest login ok, send your email address as password.
PASS (hidden)
230 Guest login ok, access restrictions apply.
PWD
257 / is current directory.
SYST
215 UNIX Type: L8 Version: BSD-199506
Host type (S): UNIX (standard)
PASV
227 Entering Passive Mode (213,197,128,70,219,158)
connecting to 213.197.128.70:56222
- -
connecting to 213.197.128.70:56222
Connected to 213.197.128.70 port 56222
LIST
150 Opening ASCII mode data connection for '/bin/ls'.
Received 402 bytes in 0.1 secs, (30.00 Kbps), transfer succeeded
226 Transfer complete.

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


Re: Copying data onto a NTFS partitioned hdd

2005-07-07 Thread datora tehnika
On 7/7/05, Igor Robul [EMAIL PROTECTED] wrote:
 datora tehnika wrote:
 
 ''too small.''  Then I went with ''default,'' but then the volume size
 was ''too large.'' (for a 40 GB drive, the identical twin of which
 
 This is known problem for Windows 2000 DiskManager. You can create FAT32
 with Win98, Partition Magic, Linux, FreeBSD. Windows 2000 will be able
 to access disk.

Nice to have a recipe to get the porridge just right.  ;-)

I'm gonna take a stab at it over the next couple of days  I'll post
results, but I _think_ I can get the Win98 fdisk onto a bootable
floppy and then FAT32  partition a hard drive from there.  I seem to
recall having done it about four years back, but i'm a bit fuzzy on
the details at this moment.  Need to pull my Win98 CD  some old tech
references.

THANKS !

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


ipsec with dynamic ip

2005-07-07 Thread Géczi Szabolcs

hi there,

is there anyway (howto) to establish freebsd ipsec with dynamic ip?
i got an a fix ip addressed freebsd server and would like t connect with 
another freebsd but with dynamic address.


thx

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


Keymapping in X: xterm vs. rxvt

2005-07-07 Thread Christopher Illies
I have some problems with how some programs as sh or dc behave in
aterm, but not xterm. 

About my system:
~%uname -a
FreeBSD Klabautermann.ks.se 5.4-STABLE FreeBSD 5.4-STABLE #8: Thu Jun
30 21:18:02 CEST 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CUSTOM  i386

With a Swedish keyboard:
~%cat /etc/rc.conf
[...]
keymap=swedish.iso
[...]

~%cat /usr/X11R6/lib/X11/xorg.conf
[...]
Section InputDevice
Identifier  Keyboard0
Driver  kbd
Option  XkbRules xorg
Option  XkbModel pc105
Option  XkbLayout se
Option  XkbVariant nodeadkeys
EndSection
[...]

~%cat .login_conf
[...]
me:\
:charset=iso-8859-1:\
:lang=en_US.ISO8859-1
[...]

The problem starts when I use any of rxvt/aterm/wterm with sh as their
shell (e.g. aterm -e sh): In this case when I press SHIFT + 8,
which should give me ( (= open parenthesis) on my keyboard, the shell 
executes a backspace. Also the backspace does not work, but apart from that
all other keys, including special characters, seem to work fine.

With xterm I do not see any of these problems at all.

All other shells, csh, tcsh and zsh work fine with aterm.

So far I could ignore all this and be happy using aterm with zsh, but
when I now (aterm and zsh) use a program like dc or ficl, which
require input, I again have SHIFT + 8 mapped to BACKSPACE not to
(. Again, dc does not have this problem run in xterm.

This behaviour seems to be inheritable, because when start xterm not
directly from the window manager, but from aterm, both sh and dc have
SHIFT + 8 mapped to a backspace-like action. I checked the $TERM
variable, but that is always rxvt on aterm and xterm on xterm.

BTW, bc and vi run fine under all conditions, i.e. ( is where it
should be.

So to conclude: There is something that sh, dc and ficl have in common
concerning how they interpret keys under X that does not work together
with aterm/rxvt/wterm, but runs fine with xterm. Then again, this
behavior seems to be inheritable.

Result: I am confused. Where is the problem? Is it my configuration,
something with xorg, something with rxvt/aterm/wterm or something with
sh/dc/...? How can I fix it, so that sh and dc will have the correct
keyboard mapping also in aterm?

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


Re: Copying data onto a NTFS partitioned hdd

2005-07-07 Thread Bart Silverstrim


On Jul 7, 2005, at 7:07 AM, Igor Robul wrote:


datora tehnika wrote:


''too small.''  Then I went with ''default,'' but then the volume size
was ''too large.'' (for a 40 GB drive, the identical twin of which

This is known problem for Windows 2000 DiskManager. You can create 
FAT32 with Win98, Partition Magic, Linux, FreeBSD. Windows 2000 will 
be able to access disk.


I know it isn't what one would probably want to hear as a solution, but 
there are two other possibilities...


Purchase a cheap Windows system to act as a file server on your home 
network, and you can share data using CIFS, or...


Create a partition for Windows to share data with FreeBSD, and use an 
IFS driver to access it in a neutral filesystem, like EXT3 (something 
like http://uranus.it.swin.edu.au/~jn/linux/ext2ifs.htm ).


Depending on what you're using Windows for, you could also look into 
running something like VMWare on FreeBSD.


Personally, just for less hassle down the road, I'd personally opt for 
the second machine and use file shares to share data.  But that's just 
me...


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


snapshot - 5.4 panic

2005-07-07 Thread Per olof Ljungmark

I did a test install of snapshot(8)
http://people.freebsd.org/~rse/snapshot/
It seemingly worked well, I could mount the snapshots as expected etc. 
This morning when I rebuilt the system from 5.4p1 to p4 and rebooted.


At boot the system panicked:
panic: snapblkfree: Inconsistent block type

setting
amd_enable=NO
did not help

I did a rm -rf .snap on all concerned slices and that stopped the 
system from panicking.


I'm not particulary fluent with what snapshot does and would like to 
hear from anyone that might have a clue.


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


install FreeBSD 5.3 and gnome2 help

2005-07-07 Thread Brian Duke
This is probably the wrong list to post to. Please direct me to a more
appropriate one if this is the case.

I'm having trouble building gnome2.

OS if FreeBSD 5.3

Fresh install.

Loaded via ftp

The very first thing I do is update the ports tree.

Next I try to build gnome2 and it's the libgnomecanvas that fails.

Here is the output from the make install:

 

bsd_ws1# cd /usr/ports/x11/gnome2

bsd_ws1# make install clean

===  Installing for gnome2-2.10.1

===   gnome2-2.10.1 depends on file: /usr/X11R6/libexec/gweather-applet-2 -
not found

===Verifying install for /usr/X11R6/libexec/gweather-applet-2 in
/usr/ports/x11/gnomeapplets2

===   gnomeapplets2-2.10.1_3 depends on file:
/usr/X11R6/libdata/pkgconfig/gnome-system-tools.pc - not found

===Verifying install for
/usr/X11R6/libdata/pkgconfig/gnome-system-tools.pc in
/usr/ports/sysutils/gnomesystemtools

===   gnomesystemtools-1.2.0_2 depends on file:
/usr/X11R6/share/setup-tool-backends/scripts/xml.pl - found

===   gnomesystemtools-1.2.0_2 depends on executable: gmake - found

===   gnomesystemtools-1.2.0_2 depends on file: /usr/local/bin/libtool15 -
found

===   gnomesystemtools-1.2.0_2 depends on file:
/usr/local/bin/intltool-extract - found

===   gnomesystemtools-1.2.0_2 depends on file:
/usr/X11R6/libdata/pkgconfig/gnome-mime-data-2.0.pc - found

===   gnomesystemtools-1.2.0_2 depends on executable: pkg-config - found

===   gnomesystemtools-1.2.0_2 depends on shared library: esd.2 - found

===   gnomesystemtools-1.2.0_2 depends on shared library: atk-1.0.901 -
found

===   gnomesystemtools-1.2.0_2 depends on shared library: eel-2.12 - not
found

===Verifying install for eel-2.12 in /usr/ports/x11-toolkits/eel

===   eel-2.10.1_1 depends on executable: gmake - found

===   eel-2.10.1_1 depends on file: /usr/local/bin/libtool15 - found

===   eel-2.10.1_1 depends on file: /usr/local/bin/intltool-extract - found

===   eel-2.10.1_1 depends on file:
/usr/X11R6/libdata/pkgconfig/gnome-mime-data-2.0.pc - found

===   eel-2.10.1_1 depends on executable: pkg-config - found

===   eel-2.10.1_1 depends on shared library: esd.2 - found

===   eel-2.10.1_1 depends on shared library: atk-1.0.901 - found

===   eel-2.10.1_1 depends on shared library: gailutil.17 - not found

===Verifying install for gailutil.17 in /usr/ports/accessibility/gail

===   gail-1.8.4 depends on executable: gmake - found

===   gail-1.8.4 depends on file: /usr/local/bin/libtool15 - found

===   gail-1.8.4 depends on file: /usr/local/bin/intltool-extract - found

===   gail-1.8.4 depends on executable: pkg-config - found

===   gail-1.8.4 depends on shared library: atk-1.0.901 - found

===   gail-1.8.4 depends on shared library: glib-2.0.600 - found

===   gail-1.8.4 depends on shared library: gtk-x11-2.0.600 - found

===   gail-1.8.4 depends on shared library: art_lgpl_2.5 - found

===   gail-1.8.4 depends on shared library: glade-2.0.0 - found

===   gail-1.8.4 depends on shared library: gnomecanvas-2.1000 - not found

===Verifying install for gnomecanvas-2.1000 in
/usr/ports/graphics/libgnomecanvas

===  Building for libgnomecanvas-2.10.2_1

gmake  all-recursive

gmake[1]: Entering directory
`/usr/ports/graphics/libgnomecanvas/work/libgnomecanvas-2.10.2'

Making all in libgnomecanvas

gmake[2]: Entering directory
`/usr/ports/graphics/libgnomecanvas/work/libgnomecanvas-2.10.2/libgnomecanva
s'

gmake  all-am

gmake[3]: Entering directory
`/usr/ports/graphics/libgnomecanvas/work/libgnomecanvas-2.10.2/libgnomecanva
s'

/bin/sh /usr/local/bin/libtool15 --mode=link cc  -O -pipe   -L/usr/local/lib
-o libgnomecanvas-2.la -rpath /usr/X11R6/lib  -version-info 1000:2:1000
gnome-canvas-shape.lo gnome-canvas-bpath.lo gnome-canvas-path-def.lo
gnome-canvas-clipgroup.lo gnome-canvas-line.lo gnome-canvas-pixbuf.lo
gnome-canvas-polygon.lo gnome-canvas-rect-ellipse.lo gnome-canvas-text.lo
gnome-canvas-rich-text.lo gnome-canvas-util.lo gnome-canvas-widget.lo
gnome-canvas.lo libgnomecanvastypes.lo -L/usr/local/lib -L/usr/X11R6/lib
-lgtk-x11-2.0 -lgdk-x11-2.0 -lXrandr -lXi -lXinerama -lXcursor -latk-1.0
-lgdk_pixbuf-2.0 -lpangoxft-1.0 -lXft -lXrender -lXext -lpangox-1.0 -lX11
-lart_lgpl_2 -lpangoft2-1.0 -lfontconfig -lfreetype -lz -lpango-1.0 -lm
-lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -liconv

libtool15: link: CURRENT `1000' is not a nonnegative integer

libtool15: link: `1000:2:1000' is not valid version information

gmake[3]: *** [libgnomecanvas-2.la] Error 1

gmake[3]: Leaving directory
`/usr/ports/graphics/libgnomecanvas/work/libgnomecanvas-2.10.2/libgnomecanva
s'

gmake[2]: *** [all] Error 2

gmake[2]: Leaving directory
`/usr/ports/graphics/libgnomecanvas/work/libgnomecanvas-2.10.2/libgnomecanva
s'

gmake[1]: *** [all-recursive] Error 1

gmake[1]: Leaving directory
`/usr/ports/graphics/libgnomecanvas/work/libgnomecanvas-2.10.2'

gmake: *** [all] Error 2

*** Error code 2

 

Stop in /usr/ports/graphics/libgnomecanvas.

*** Error code 1

 

Stop in 

root passwd

2005-07-07 Thread billy gates
can you help me to get root passwd without boot loader?(may be software for 
windows or linux)
 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Nothing works

2005-07-07 Thread Jonathan Arnold

Timothy McLouth wrote:
I also bought a book for $47 which is useless, the title is misleading...The design and implementation of FreeBSD 


Yeah, that's not the book for newbie help.  I would recommend Greg Lehey's
Complete FreeBSD (note: I helped proofread the book and got a free copy
for it - but it's still a great book!). I also found FreeBSD Unleashed to
be pretty solid as well.

But my basic advice is to take a deep breath, take things step by step, and
ask (nicely!) here if/when you have questions.  Take a look at some web
sites, as there are lots of them out there with helpful advice. Check out
BSDForums.org for even more help.

--
Jonathan Arnold (mailto:[EMAIL PROTECTED])
Daemon Dancing in the Dark, a FreeBSD weblog:
http://freebsd.amazingdev.com/blog/

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


Re: Did we must put the mounted partition '/' and '/boot' in the same slice ?

2005-07-07 Thread Alex Zbyslaw

Shark Wang wrote:


Today, I heard something on the partition policy for FreeBSD.

Someone said that we must put the mounted partition '/' and '/boot'
in the same slice, otherwise, the System will not boot up !
 


So what?

Please explain what actual problem you are trying to solve and why you 
would want to make /boot a partition at all?


Have you read relevant sections from the handbook? 


You could start with:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disk-organization.html

--Alex

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


RE: Copying data onto a NTFS partitioned hdd

2005-07-07 Thread John Brooks
WinNT does not support FAT32

--
John Brooks
[EMAIL PROTECTED] 

 
 BTW, I had to format as NTFS since Win2K is my only option for the
 moment; first time I ever tried to use WinNT to format a volume or
 drive as FAT32  was strikingly unsurprised when it failed at such a
 banal task.  I am now operating under the assumption I must reformat
 later to use with *nix/*BSD, so this thread is quite interesting to me
 so I can do it right the next time .. hopefully within a week to ten
 days.
 

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


Re: disk write barriers

2005-07-07 Thread Lowell Gilbert
Matthias Buelow [EMAIL PROTECTED] writes:

 Now my question is: Does FreeBSD also implements these barriers, or an
 equivalent mechanism, as claimed on the above URL?

Do you have a background in OS design?  It affects the answer, because
you seem to be referring to access barriers and disk cache flushes
interchangeably, which doesn't make sense, especially on
multiprocessor systems.

If it does, why then
 the frequent advice to disable write-back caching? Or is that only for
 the couple drives that ignore any flush cache/disable wb commands? 

The problem with caching has nothing to do with flushing the cache; if
you flush the cache often, there's no advantage to using it anyway.
The whole speedup from using on-disk caching comes from the fact that
the drive reorders the writes at will, and lies to the operating
system by saying the writes are done when they aren't.  Among other
obvious problems, this negates the careful ordering calculated by
softupdates.

I
 know my drive doesn't ignore that command (since performance drops
 sharply, when I disable the cache), so I would be on the safe side.

This doesn't follow.  Just because you know that your drive supports
disabling the cache does not mean that it is safe to do so.

 Would it be possible to get an authoritative statement from a FreeBSD
 developer here on that matter?

Could depend on how much you're willing to pay them.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: root passwd

2005-07-07 Thread Shantanoo
On 7/7/05, billy gates [EMAIL PROTECTED] wrote:
 can you help me to get root passwd without boot loader?(may be software for 
 windows or linux)

password is stored as the md5 of the string. can't be reverse engineered. 

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


Re: Nothing works

2005-07-07 Thread Thomas Leveille
On 7/7/05, Jonathan Arnold [EMAIL PROTECTED] wrote:
 I would recommend Greg Lehey's
 Complete FreeBSD (note: I helped proofread the book and got a free copy
 for it - but it's still a great book!). I also found FreeBSD Unleashed to
 be pretty solid as well.

FreeBSD Unleashed is the only one I bought a few years ago and it's
quite good though there's nothing more than what you find in the
handbook and man pages.

It costs only 60$ for both volumes of the handbook on paper and there
is CD+Hanbook Vol 1 bundle for the same price. Vol.1 covers pretty
much everything a new user should know in the first hours..

freebsd mall :
http://www.freebsdmall.com/cgi-bin/fm

 But my basic advice is to take a deep breath, take things step by step, and
 ask (nicely!) here if/when you have questions.  Take a look at some web
 sites, as there are lots of them out there with helpful advice. Check out
 BSDForums.org for even more help.

From experience, it's always good to have the information on paper,
especially for someone who doesn't have a second computer with a web
access.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ports: www/jakarata-tomcat*

2005-07-07 Thread Chris Knipe

Lo all,

[EMAIL PROTECTED]:/usr/ports/www/jakarta-tomcat41# make WITHOUT_X11=yes install 
clean
jakarta-tomcat-4.1.31_1: Environment error: JAVA_PORT should not be 
defined.

*** Error code 1


I did tripple check, at the time of running make, the variable is NOT 
defined.  I can't install any of the tomcat versions Help???


--
Chris. 



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


Re: root passwd

2005-07-07 Thread Aaron Peterson
On 7/7/05, शंतनु (Shantanoo) [EMAIL PROTECTED] wrote:
 On 7/7/05, billy gates [EMAIL PROTECTED] wrote:
  can you help me to get root passwd without boot loader?(may be software for 
  windows or linux)
 
 password is stored as the md5 of the string. can't be reverse engineered.
 
 Regards,
 Shantanoo

Of course, you can change the root password if you have physical
access to the machine.  Boot into single user mode, mount -a, and
use the passwd command to make a new password.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Network Debugging

2005-07-07 Thread Mark Bucciarelli
I'm trying to improve the performance of our rural homebrew wireless
broadband and am hoping some of the folks here can give me a pointer or
two as to what network monitoring tools I should use.

Background:

- my internet access is five wireless and five wired hops downstream
  from a 1/2 T1 (ten Buffalo AirStation G54 routers in all).

- my connection has a lot of jitter--ping's usually vary from 10ms to
  150ms within a two second window

- FWIU, jitter is related to congestion

- I have setup a FreeBSD box to monitor [1] each router along the path
  using smokeping.

The smokeping charts are showing me some interesting stuff.  Here is
some data from the past three hours (I am using the smokeping default of
20 pings sent every five minutes):

   |- Building 1 --|  |--- Bldg 0 --...

   +---+  ++  +---+ 
   | .203  |  | .202   |  | .201  |
   | Router In |- wire -| Router Out |- wireless -| Router In |
   +---+  ++  +---+ 

avg RTT: 7.3ms  12.1ms  7.8ms

 % lost: 2.37%  14.25%  2.64%

max RTT: 20ms   80ms13ms


My FreeBSD box is a four more wireless hops to the left of .203.

A slew of questions ...

What is going on here?

I am confused by the max RTT readings and packet loss stats for .202 and
.201.  How can a router further away from me have better performance?

Over the past 13 hours, the averages are consistent with the three-hour
averages, while the Max RTT discrepancies are even higher:

  .203 / .202 / .201 = 20ms / 145ms / 13ms.

Is .202 congested?  

Is the .202 router bad?

How can I debug this further?  SNMP?

If SNMP, what values should I track/inspect?  
  - # of packets with errors?
  - # of queued packets?
  - ??

Thanks for any pointers,

m

[1] Pentium II 350MHz with 4 Gb drive, underclocked to 100MHz so I can
turn off the power supply fan and make it real quiet.  :)

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


Re: Did we must put the mounted partition '/' and '/boot' in the same slice ?

2005-07-07 Thread Shark Wang
I put '/boot' for an individual partition just for 1023 cylinder
story, although FreeBSD did
not need this action !

the following is my partitions layout, pls help to do some check:

ad0s1d  /boot  - 30M
ad0s1a  /  - 512M
ad0s1b  swap - 512M
ad0s1e  /usr - 6144M
ad0s1f   /var - 512M
ad0s1g  /home - 2017M
ad0s1h  /tmp  - 512M 

But after I finished my installation and reboot FreeBSD, it will not
load sccuessfully!

Could you tell me what's the mistakes ? thanks a lot !

-Shark

On 7/7/05, Alex Zbyslaw [EMAIL PROTECTED] wrote:
 Shark Wang wrote:
 
 Today, I heard something on the partition policy for FreeBSD.
 
 Someone said that we must put the mounted partition '/' and '/boot'
 in the same slice, otherwise, the System will not boot up !
 
 
 So what?
 
 Please explain what actual problem you are trying to solve and why you
 would want to make /boot a partition at all?
 
 Have you read relevant sections from the handbook?
 
 You could start with:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disk-organization.html
 
 --Alex
 
 


-- 
I'm just a bitMaker !
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Migrating FreeBsd installation to another hard drive

2005-07-07 Thread Chris Roos

Alex Zbyslaw wrote:

Chris Roos wrote:

One final question is whether the dump/restore process is the best 
approach in this instance?  I have read about using dd but am not 
entirely sure whether this would do what I need?


No, you should use dump/restore and if it is the root partition you will 
need to edit fstab afterwards.


Can I just double check that the editing of fstab is only applicable if 
my device names change?  During my testing here I have been migrating to 
a secondary disk that eventually becomes the primary.  As such I haven't 
had to change the fstab (both origin and eventually destination are 
device ad0).  When I do this for real however, I will be migrating from 
a single drive to an array so understand that in that case I will need 
to edit fstab to reflect the device change (this should be fine as I 
have had to do this in the past).



--Alex

PS There's a FAQ all about this.  I have no wish to decry the bsdvault 
article you quote, since I haven't read it -- it may even be the same as 
the FAQ.  But if the FAQ or handbook  has a section answering your 
question, then it is always likely to be the best starting point.


http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NEW-HUGE-DISK 

Thanks, I'd already read the faq and the bsdvault procedure is very 
similar in content.  I just wondered if there was any better/other ways 
really..


Thanks for your help,

Chris

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


Re: Migrating FreeBsd installation to another hard drive

2005-07-07 Thread Chris Roos
Thanks for the time taken to detail all of the steps.  I think I am 
doing roughly the same thing except you are going via from _source_ to 
_intemediary_ back to _source_ once the RAID is sorted.  I am going 
straight from _source_ to _destination_.


I may be wrong but do any of your steps below involve writing the 
standard mbr (not the freebsd boot manager) to the drive?


Thanks for your help,

Chris

Ruben Bloemgarten wrote:
Hi there, 
I had to do something similar i.e. change RAID levels, there is no need to
install anything. Just use the fixit CD. Here is my procedure : 
Ofcourse you'll have to change disk[slice] names to what suits you. NOTE: I

used tar for the /usr slice as I had some size constraints and therefore
needed some compression ( I could have piped the dump to gzip ofcourse, but
didn't). In my opinion dumprestore is the best procedure. But dd works as
well.
Regards, 
Ruben 


1. boot from CD
2. goto fixit CD
3. create new mount point 
   -- # mkdir /new_mnt

4. mount external drive /new_mnt
   -- # mount /dev/da0s1 /new_mnt
5. mount / on /mnt
   # mount /dev/ar0s1a /mnt
6. backup fstab and bsdlabel
   -- # cp /mnt/etc/fstab /new_mnt/fstab.BAK
   # bsdlabel ar0s1  /new_mnt/bsdlabel.BAK
7. dump / 
   -- # umount /mnt

   # dump -0au -C 32 -f /new_mnt/root_dump /dev/ar0s1a
8. dump /var
   -- # dump -0au -C 32 -f /new_mnt/var_dump /dev/ar0s1e
9. tar /usr ( or only those subsystems which contain userdata
(dbase,mail,etc)
   -- # mount /dev/ar0s1f /mnt
   # cd /mnt
   # tar czf /new_mnt/usr_tar.tar.gz ./
10.unmount all mounted filesystems 
   -- # umount /mnt

   # umount /new_mnt
11. exit fixit and boot CD
12. power down
13. replace disks
14. boot to RAID config tool
15. set array to RAID0
16. reboot to CD
17. exit to FIXIT
18. erase current disklabel  create new label with one slice
-- # dd if=/dev/zero of=/dev/ar0 bs=512 count=32
# fdisk -BI /dev/ar0
# dd if=/dev/zero of=/dev/ar0s1 bs=512 count=32
# bsdlabel -w -B da0s1
19. read disklabel  note c partition value
20. mount external disk  edit saved slice (step 6)
21. write edited label to disk
22. -- # bsdlabel -R /dev/ar0s1 /new_mnt
23. -- # newfs /dev/ar0s1[a,d,e,f)
24. -- # mount /dev/ar0s1d /tmp
25. -- # export TMPDIR=/tmp
26. mount  restore /
-- # mount /dev/ar0s1a /mnt
# cd /mnt
# restore rf [PATHNAME_TO_root_dump]
27. umounting / and mount  restore /var
-- # cd ..
# umount /mnt
# mount /dev/ar0s1e /mnt
# cd /mnt
# restore rf [PATHNAME_TO_var_dump]
28. extracting usr_tar.tar.gz into /usr
-- # cd ..
# umount /mnt
# mount /dev/ar0s1f /mnt
# cd /mnt
# tar xzvf [PATHNAME_TO_usrtar] ./
29. umount all open filesystems
-- # umount /tmp
# umount /mnt
# umount /new_mnt
30.  exit single user mode and startup

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris Roos
Sent: July 06, 2005 6:11 PM
To: freebsd-questions@freebsd.org
Subject: Migrating FreeBsd installation to another hard drive

Hi,

I've recently had the job of moving a FreeBsd installation to another 
hard drive.


After quite a lot of reading I got round to following this article[1] 
using a VMWare FreeBsd instance.  In brief the article uses dump and 
restore to move the data from one mounted partition to another in single 
user mode.  It also suggests that before you do this, you perform a 
minimum install on the destination disk to ensure that it boots fine.


First time round, I did the minimum install and then followed the steps 
(minus the MAKEDEV step as I'm running 5.3R) to backup the data to the 
destination.  This all worked fine.


Second time round, I didn't do a minimum install, rather I just set-up 
the slice and partitions on the destination using sysinstall, and then 
did the dump/restore.  On booting from the destination disk this time, 
nothing happened.  I reasoned that it was because I had no boot manager 
installed and so went ahead and used boot0cfg -B to install the FreeBsd 
boot manager.  The disk now boots; however, I would prefer to use the 
equivalent of the 'Standard - Install a standard MBR (no boot manager)' 
option from sysinstall as FreeBsd is the only OS on the disk and so I 
don't need the option of booting to it or anything else.  I'm guessing 
that I would use fdisk to do this but if so am not entirely sure how. 
In addition, is this safe to perform on a disk with data or would I need 
to go through the dump/restore process again?


One final question is whether the dump/restore process is the best 
approach in this instance?  I have read about using dd but am not 
entirely sure whether this would do what I need?


Thanks in advance for any help,

Chris

[1] http://bsdvault.net/sections.php?op=viewarticleartid=121

___
freebsd-questions@freebsd.org mailing list

Re: ports: www/jakarata-tomcat*

2005-07-07 Thread Louis LeBlanc
On 07/07/05 04:06 PM, Chris Knipe sat at the `puter and typed:
 Lo all,
 
 [EMAIL PROTECTED]:/usr/ports/www/jakarta-tomcat41# make WITHOUT_X11=yes 
 install 
 clean
 jakarta-tomcat-4.1.31_1: Environment error: JAVA_PORT should not be 
 defined.
 *** Error code 1
 
 
 I did tripple check, at the time of running make, the variable is NOT 
 defined.  I can't install any of the tomcat versions Help???

Are you sure that didn't say JAVA_HOME?  That gets me every time I try
to upgrade Tomcat.

Just `unset JAVA_HOME` then try again.

Good luck.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Allen's Axiom:
  When all else fails, read the instructions.


pgpexi6vJykYL.pgp
Description: PGP signature


Re: ports: www/jakarata-tomcat*

2005-07-07 Thread Chris Knipe

Nopes.  I'm sure I'm afraid...

[EMAIL PROTECTED]:~# cd /usr/ports/www/jakarta-tomcat41/
[EMAIL PROTECTED]:/usr/ports/www/jakarta-tomcat41# unset JAVA_HOME
[EMAIL PROTECTED]:/usr/ports/www/jakarta-tomcat41# make WITHOUT_X11=yes install 
clean
jakarta-tomcat-4.1.31_1: Environment error: JAVA_PORT should not be 
defined.

*** Error code 1

Stop in /usr/ports/www/jakarta-tomcat41.
[EMAIL PROTECTED]:/usr/ports/www/jakarta-tomcat41#


--
Chis.

- Original Message - 
From: Louis LeBlanc [EMAIL PROTECTED]

To: freebsd-questions@freebsd.org; [EMAIL PROTECTED]
Sent: Thursday, July 07, 2005 5:21 PM
Subject: Re: ports: www/jakarata-tomcat*



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


Re: imap-uw / squirrellmail / mysql / postfix / postfixadmin question

2005-07-07 Thread Paul Schmehl
--On Wednesday, July 06, 2005 20:18:37 -0700 M. Goodell 
[EMAIL PROTECTED] wrote:



Hello,

I have successfully installed: imap-uw / squirrellmail / mysql / postfix
/ PostfixAdmin and have setup postfix virtual domain capability. Postfix
accepts mail for virtual hosts / accounts that I configured with
PostfixAdmin very well. Watching the mail log the mail arrives and is
delivered to the /usr/local/virtual/ directory with no problems at all.
However, the problem I have having is I cannot get SquirrellMail /
imap-uw to access the mailboxes I have setup for any of the virtual
domains / accounts. It keeps giving me a login error like the user does
not exist. I am able to use SquirrellMail to get mail for real system
accounts with ease.
I think I need to somehow get imap-uw / squirrellmail  to recognize the
virtual domains  accounts but I am not sure how to do it.
Can anyone shed some light on the problem ?

The accounts have to exist somewhere.  The system accounts exist in 
/etc/passwd.  Where do the virtual accounts exist?  Are you using 
cyrus-sasl?


Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Electrical circuits simulator

2005-07-07 Thread Shantanoo
On 7/7/05, Andrey Simonenko [EMAIL PROTECTED] wrote:
 Hello all,
 
 What do you recommend to use for electrical circuits simulating?
 I need such software for educational purposes.  I found Oregano in
 ports/cad, but may be I missed something and there is alternative
 with the same or better level of features as Oregano.

I haven't check Oregano. But for electrical circuit simulation 'spice'
is nice :)

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


Re: ports: www/jakarata-tomcat*

2005-07-07 Thread Chris Knipe

What about /etc/make.conf or the Makefiles in the jakarta-tomcat ports
directories?

John.




Thanks John :) 


/etc/make.conf had it defined.

--
Chris.


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


procmail kill problems in dmesg?

2005-07-07 Thread Matt Juszczak


Getting flooded with:

pid 65128 (procmail), uid 3005: exited on signal 11
pid 65138 (procmail), uid 806: exited on signal 11
pid 65142 (procmail), uid 24112: exited on signal 11
pid 65143 (procmail), uid 11977: exited on signal 11
pid 65146 (procmail), uid 29601: exited on signal 11
pid 65149 (procmail), uid 18864: exited on signal 11
pid 65239 (procmail), uid 19458: exited on signal 11
pid 65240 (procmail), uid 22242: exited on signal 11
pid 65242 (procmail), uid 2005: exited on signal 11
pid 65244 (procmail), uid 14209: exited on signal 11
pid 65243 (procmail), uid 22118: exited on signal 11
pid 65246 (procmail), uid 17854: exited on signal 11
pid 65247 (procmail), uid 18156: exited on signal 11
pid 65248 (procmail), uid 16655: exited on signal 11
pid 65249 (procmail), uid 18389: exited on signal 11
pid 65250 (procmail), uid 11977: exited on signal 11
pid 65251 (procmail), uid 0: exited on signal 11
pid 65267 (procmail), uid 1762: exited on signal 11
pid 65349 (procmail), uid 11977: exited on signal 11
pid 65350 (procmail), uid 1982: exited on signal 11
pid 65351 (procmail), uid 15324: exited on signal 11
pid 65433 (procmail), uid 3183: exited on signal 11
pid 65435 (procmail), uid 12280: exited on signal 11
pid 65436 (procmail), uid 11977: exited on signal 11
pid 65534 (procmail), uid 2005: exited on signal 11
pid 65535 (procmail), uid 22662: exited on signal 11
pid 65537 (procmail), uid 24477: exited on signal 11
pid 65538 (procmail), uid 1397: exited on signal 11
pid 65540 (procmail), uid 11645: exited on signal 11
pid 65612 (procmail), uid 21744: exited on signal 11
pid 65621 (procmail), uid 24147: exited on signal 11
pid 65724 (procmail), uid 2005: exited on signal 11
pid 65725 (procmail), uid 580: exited on signal 11
pid 65726 (procmail), uid 11977: exited on signal 11

This is a high traffic mail server  is this normal?  Why does procmail 
sometimes exit on signal 11 like this?


Thanks!

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


Re: disk write barriers

2005-07-07 Thread Matthias Buelow
Lowell Gilbert [EMAIL PROTECTED] writes:

Do you have a background in OS design?  It affects the answer, because
you seem to be referring to access barriers and disk cache flushes
interchangeably, which doesn't make sense, especially on
multiprocessor systems.

From what I understand from some googling, disk write barriers are
specially crafted i/o requests (within the vfs/driver infrastructure)
that are acted on by block drivers as following: all requests before a
barrier request will be completed before any request that follows the
barrier is executed. The driver accomplishes that by issuing the
respective flush commands (or uses queue ordering or whatever is
supported by the drive) or (in the case of IDE/SATA), may disable and
reenable the cache on a barrier. Thus, the barrier maintains an on-disk
ordering in requests between earlier and later requests (otherwise
the driver and/or the disk could reorder writes at will).

Since the system doesn't actually run with the cache disabled because
it's only used for flushing at sequence points, neither performance nor
drive wearout is negatively influenced (noticably, that is).

An actual application of this is, with journaled filesystems, that the
journal will get written to disk before the data is updated. This will
guarantee filesystem integrity. From what I understand, MS Windows is
doing it that way, and Linux is also using that mechanism (with support
for SATA disks only in the latest 2.6 kernel, though.)

The problem with caching has nothing to do with flushing the cache; if
you flush the cache often, there's no advantage to using it anyway.
The whole speedup from using on-disk caching comes from the fact that
the drive reorders the writes at will, and lies to the operating
system by saying the writes are done when they aren't.  Among other

Apparently, performance (and weartear) is not overly negatively
influenced, since it's used only for periodic flushing after the journal
has been written (or potentially, at other events, such as a sync() or
fsync() etc.)

obvious problems, this negates the careful ordering calculated by
softupdates.

That's where my headaches start.
Softupdates doesn't write a journal at intervals but seems to order
writes in general, in a continuous way. Therefore, it would appear that
there are no such sequence points. I'm not really aware of the details
of how softupdates works, so I'm probably wrong.
I only know that running with the cache disabled seems to be the only
safe way to assure that the ordering done by softupdates isn't broken.
But disabling the cache is a no-no on modern drives, since they are
constructed to be used with the cache on, and disabling it will yield
terrible performance and significantly reduce the MTBF, at least on
IDE/SATA drives (I'm not talking about enterprise-grade 15krpm SCSI
drives, where the situation might be different).

So what's the recommended procedure? Relying on an UPS or that the power
will not fail? I mean, I could run fully asynch then and the whole
softupdates is of little use, except for (relatively rare) occasions of
a kernel crash.

This doesn't follow.  Just because you know that your drive supports
disabling the cache does not mean that it is safe to do so.

Why is that so?

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


Xorg 6.8.2 Big Problems....

2005-07-07 Thread perikillo
   MY KEYBOARD DOSENT RESPOND

  Hi i have almost 1 month trying to run xorg, the problem is my
keyboard, went i run

test#startx
  
  X window system start, my mouse is working, but my keyboard dosent
respond to anything.

If i test the xorg config:

test# Xorg -config xorg.conf.new

  The black and grey grid and an X mouse cursor appear, if i press
Ctrl+Alt+Backspace my keyboard respond and send me back to my shell.

  Now, i have been testing with freebsd 5.3 and 5.4 release, i see
that on both release we have xorg 6.8.2, and they are using the new
driver kbd, i see that we have the choice to use the old driver
keyboard, i change my x.org config file and the driver, but the same
results no answer from my keyboard.

  Another thing, went i test my keyboard pressing different keys, went
i kill my session with the mouse option Kill, i found all the time
strange characters on my shell, example this are from today in the
morning test:

xauth: (argv):1:  bad display name devhora:0 in remove command
^_^^ Ÿ9 ^_ž ^YŸ¹^^™9ž¦^\+^^:ºœ«ž ^\¹œ^NŽ^NŽ^]8^NŽ^NŽ^\œ^NŽ^\œ^NŽ^O^R
œ^NŽ:º^O^R
œ^NŽ:º:^O^R
œ^NŽ:º:º^A;¼»à57EൕGÅÇNÎKOËÏà^\RSàœÓÒàMàPàKàÐàÍàËàOàQàSàÑàÏFàRÆàÒàÓ^[^Zloa
d: 0.66  cmd: csh 479 [running] 0.15u 0.04s 0% 1944k
¹•!/load: 0.66  cmd: csh 479 [running] 0.15u 0.04s 0% 1944k
¯¡ 9¹ ¸devhora#

 devhora is the name of my computer. 

My xorg.conf files have been made with this two options:

test# Xorg -config xorg.conf.new
 
and

test# xorgconfig

But no results with any of both options. I read my X log on
/var/log/X.org.0.log but any errors appear.

I have another system running freebsd 5.2.1-Release and the X system
is working very well,  on this system my keyboard is working, i see
that here the xorg version is  6.8.2 and the xorg is not using the
new driver kbd, we still using the old driver keyboard.

Them, i was thinking that maybe my keyboard was the problem but went i
test with 5.2.1 i see that is not, i think the new drivers is the
problem.

I have my xorg files, log, dmesg, if someone could help me how to fix
this i will apreciate, i dont know if someone else has this problem
right now with xorg 6.8.2, someone from this list say to me that after
he change his system to 5 stable, his keyboard start to work, but, i
am going to try to see if i can find the problem, iam not a guru but i
can read the files.

Thanks all for your time, i hope we can fix this little problem, if
not i will test with 5 stable i send the results.

I dont want this mail to be to long i only going to put my Xorg log
from /var/log/, i someone need more information just ask for it, and i
with pleasure send the info.

 greetings.

NOTE: 
 Test with with out any succes:
  -Freebsd 5.3 Release + buildworld + ports update  -- p17
  -Freebsd 5.4 Release + buildworld + ports update  -- p3
  Xorg 6.8.2 from porst and packages.

 Test with success
 -Freebsd 5.2.1 Release + buildworld + ports update
 -Xorg version  6.8.2 from packages of Release 5.3.

Hardware:
Mouse: USB Belkin
Keyboard: standard 104 keys PS/2.
Motherbaord: P6SBA
CPU: PII 266MHZ
RAM: 384 SDIM PC-100.

  My Log:

X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: FreeBSD 5.3 i386 [ELF] 
Current Operating System: FreeBSD devhora 5.3-RELEASE-p17 FreeBSD
5.3-RELEASE-p17 #0: Wed Jul  6 19:29:53 PDT 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/DEVHORA i386
Build Date: 07 July 2005
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Thu Jul  7 06:24:39 2005
(==) Using config file: /etc/X11/xorg.conf
(==) ServerLayout Simple Layout
(**) |--Screen Screen 1 (0)
(**) |   |--Monitor My Monitor
(**) |   |--Device Diamond Fire GL 1000 PRO
(**) |--Input Device Mouse0
(**) |--Input Device Keyboard0
(WW) `fonts.dir' not found (or not valid) in /usr/X11R6/lib/X11/fonts/local/.
Entry deleted from font path.
(Run 'mkfontdir' on /usr/X11R6/lib/X11/fonts/local/).
(**) FontPath set to
/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/
(**) RgbPath set to /usr/X11R6/lib/X11/rgb
(==) ModulePath set to /usr/X11R6/lib/modules
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.2
X.Org Video Driver: 0.7
X.Org XInput driver : 0.4
X.Org Server Extension : 0.2
X.Org Font Renderer : 0.4
(II) Loader running on freebsd
(II) LoadModule: bitmap
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor=X.Org Foundation

Re: Did we must put the mounted partition '/' and '/boot' in the same slice ?

2005-07-07 Thread John McAree
 the following is my partitions layout, pls help to do some check:

 ad0s1d  /boot  - 30M
 ad0s1a  /  - 512M
 ad0s1b  swap - 512M
 ad0s1e  /usr - 6144M
 ad0s1f   /var - 512M
 ad0s1g  /home - 2017M
 ad0s1h  /tmp  - 512M

I believe /boot needs to be on the first 1024 blocks of the disk. Why do
you want a separate partition for /boot?

John.



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


Re: Did we must put the mounted partition '/' and '/boot' in the same slice ?

2005-07-07 Thread John McAree
 the following is my partitions layout, pls help to do some check:

 ad0s1d  /boot  - 30M
 ad0s1a  /  - 512M
 ad0s1b  swap - 512M
 ad0s1e  /usr - 6144M
 ad0s1f   /var - 512M
 ad0s1g  /home - 2017M
 ad0s1h  /tmp  - 512M

I believe /boot needs to be on the first 1024 blocks of the disk. Why do
you want a separate partition for /boot?

John.



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


Re: ftp access Q's to ftp.freeBSD mirrors

2005-07-07 Thread datora tehnika
Hey all --

Am reading through http://sourceforge.net/projects/filezilla as these
messages came in.

Going on third recommendation for this :
 Freebsd installer guide. www.a1poweruser.com

THANKS! I have it already !  ;-)  Downloaded  ready to read off-line
for the next couple of days.  Have also grokked through
ftp://ftp.freebsd.org/pub/FreeBSD/doc/en/ for articles  handbook. 
Sketching out install strategy for multi-boot systems .. .but will
post those as separate questions as I formulate them.

Using postal mail to Latvia isn't a tech problem ... it's a small cost
and time nightmare.  If there was something I really wanted or need
mailed, sure, but the economics here are near first-world prices at
third-world wages, so throwing money away is not a good survival
strategy.  And, waiting around three or four weeks for mail to arrive
(maybe even unmolested by the postal workers) just isn't time
effective.

Current update is that I seem to be connecting via ftp .. it looks
like I was leaving a trailing slash on the URL as pasted from the web
browser.  Have now established ftp connections to a couple of mirrors
 ready to go with the one w/ best speed; looks like 30 Kbits/sec is
max for the region.

FileZilla looks like the way to go.  If I don't have my ISO's within
15 or 18 hours, I'll ask again.  Just now getting FileZilla DL'd 
installed  learning the interface enough to get it going with the
resume feature active.

Sorry, but got side-tracked by the London bombings today.  Got a
couple of friends working there I'm trying to get ahold of.  No joy
yet.  I know the odds are in their favor ... but I also lost an
acquaintance in the WTC on 9/11, so I'm a bit distracted.  Tech is fun
 career, but that's 2ndary to friends.

Thanks all for jumping in to help out !  Hopefully I'll be a
contributing member before too much longer.  More serious questions
regarding multi-boot systems and dual-processor kernal configuration
are about to follow.  Trust me on that ...

  ;-)

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


Re: procmail kill problems in dmesg?

2005-07-07 Thread Giorgos Keramidas
On 2005-07-07 11:45, Matt Juszczak [EMAIL PROTECTED] wrote:

 Getting flooded with:

 pid 65128 (procmail), uid 3005: exited on signal 11
 pid 65138 (procmail), uid 806: exited on signal 11
 pid 65142 (procmail), uid 24112: exited on signal 11
 [...]
 This is a high traffic mail server  is this normal?  Why does
 procmail sometimes exit on signal 11 like this?

Signal 11 is a segmentation fault.  This _might_ be an indication of
hardware/memory problems.

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


hang-up's on clean FreeBSD 5.4 on compilation

2005-07-07 Thread Piotr Baranowski
Hello

I have posted before, about my problems with Kernel compilation.
Now it's bigger problem ;-)

I still can't compile the kernel.

Now i reinstalled FreeBSD 5.4, totally clean download.
It's just for education/fun, so i can do that.. for now.

I choosed Standard install, Devel distribution, and installed linux
base.
One additional package: CVSup.
Nothing more, nothing less.

After installation, i used CVSup to get newest source [ src-all ].
Then i ran:
1) cd /usr/src
2) make buildworld

it hanged up my PC..
i tried this several times, and it hangs up in different places,
always on 'cc' command.

Maybe it's something with my memory?

Now i'm DLing release CDs, maybe it's something with net install,
wrong packages, or something.

Do i have to configure 'make' in some way before compiling anything?

Everything seems to be ok, but it just don't work ;-)

 1) check that you have sources. reinstall sources from CD or recvsup.
 2) check that you have correct version of C compiler. Try compile simple
 C program.
 3) do rm -fr /usr/obj/usr/src/sys/OWIEC
 4) then try second, and correct method

i have sources, i tried to compile mc from ports, it's throwing 'no
such file' errors, i removed OWIEC and tried second method - i had
same errors

 That's wrong.  You are trying to build just a kernel, before a userland
 has been compiled.  Use make buildworld and make buildkernel, unless
 you know exactly what you are doing and why.

Now i know :-)
I tried to 'make buildworld', but it haged my PC, then i now - after
install - i'll try some mem tests.
In most cases i don't know exactly what i'm doing - i'm just learning.

 Hmmm.  You haven't by any chance overwritten the system version of
 make(1) with GNU make, right?

Nope. I did only the Devel without X-server install. Now and then.

 What do you see when you try to run the command:
 
 # make --version

it returns:
# make --version
make: illegal option -- -
usage: make blablabla

I always had bad influence on Unix-like systems ;-)
I tried many different Linux dists: from old RedHat, SuSe to Debian,
Gentoo and Slack.. i always have problems ;-)
But now i'm gonna be tough :-)

TIA
Piotr




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


Re: perl-after-upgrade

2005-07-07 Thread legalois

Bob Hall wrote:

I don't know squat about perl. I recently ran portupgrade, which
upgraded perl. Goose stopped working, because the location for Curses.pm
was no longer in @INC. I tried to run perl-after-upgrade, but I couldn't
get it to run. I've got a book that said to use
# perl perl-after-upgrade
or
# ./perl-after-upgrade
I also tried just
# perl-after-upgrade
No joy. Just for the heck of it, I tried 
	* sh perl-after-upgrade

and dang if it didn't run. It didn't look to me like an sh script, but
what do I know? It wasn't supposed to change anything without the -f
option, but goose ran afterward, so it obviously changed things. I
looked for Curses.pm, and it moved to a directory listed in @INC.

Anybody have any advice? Comments? How was I supposed to get
perl-after-upgrade to run?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




A longish message appears at the end of the perl upgrade build, that 
explains how to run perl-after-upgrade. If you overlooked that, the same 
instructions are at

#perldoc perl-after-upgrade
If the script is in a directory not in your root's path, find the full 
path to the script with

#locate perl-after-upgrade
(but make sure your locate db is up-to-date, first).
- Jacques

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


Re: Migrating FreeBsd installation to another hard drive

2005-07-07 Thread Alex Zbyslaw

Chris Roos wrote:


Alex Zbyslaw wrote:


Chris Roos wrote:

One final question is whether the dump/restore process is the best 
approach in this instance?  I have read about using dd but am not 
entirely sure whether this would do what I need?


No, you should use dump/restore and if it is the root partition you 
will need to edit fstab afterwards.


Can I just double check that the editing of fstab is only applicable 
if my device names change?


Correct.  If the device will end up on the same controller and logical 
position (master, slave, whatever) then you do not need to edit it.  
However, if you plan to reboot the machine and just boot off the new 
disk without changing its position first, then edit fstab.  You can 
always edit it back again before moving the hardware around.


--Alex


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


Re: procmail kill problems in dmesg?

2005-07-07 Thread Matt Juszczak

Signal 11 is a segmentation fault.  This _might_ be an indication of
hardware/memory problems.



Actually all the seg faults signal 11 happened at one time (within 20 
seconds), after checking messages 



it hasn't happened since.

Could it have been a fluke?

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


Re: Electrical circuits simulator

2005-07-07 Thread Björn König

Shantanoo wrote:


I haven't check Oregano. But for electrical circuit simulation 'spice'
is nice :)


I used spice too for a few weeks only. It's very powerful, but as far as 
I know it has no GUI (everybody wants a GUI ;-p) and in my opinion it's 
very hard to learn quickly without a printed documentation and without 
lots of examples.


By the way, I suggest 'chipmunk' if you want to build circuits with 
gates, simple controllers, segment displays and so on.


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


Re: procmail kill problems in dmesg?

2005-07-07 Thread Giorgos Keramidas
On 2005-07-07 13:20, Matt Juszczak [EMAIL PROTECTED] wrote:
 Signal 11 is a segmentation fault.  This _might_ be an indication of
 hardware/memory problems.

 Actually all the seg faults signal 11 happened at one time (within 20
 seconds), after checking messages   it hasn't happened since.

 Could it have been a fluke?

Do the segfaults only happen when you run procmail?  If other programs
fail randomly with segfaults, then it's more likely to be a general
memory-hardware problem.  If it's only procmail that fails it could be
just a procmail bug.

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


Re: Did we must put the mounted partition '/' and '/boot' in the same slice ?

2005-07-07 Thread Alex Zbyslaw

Shark Wang wrote:


I put '/boot' for an individual partition just for 1023 cylinder
story, although FreeBSD did
not need this action !

the following is my partitions layout, pls help to do some check:

ad0s1d  /boot  - 30M
ad0s1a  /  - 512M
ad0s1b  swap - 512M
ad0s1e  /usr - 6144M
ad0s1f   /var - 512M
ad0s1g  /home - 2017M
ad0s1h  /tmp  - 512M 


But after I finished my installation and reboot FreeBSD, it will not
load sccuessfully!
 

Do the install again but do not make /boot a partition.  1Gb is more 
than ample for / and /boot.  Given that you have /tmp separately, 256Mb 
would do.  I, at least, never used that much even.


/dev/ad12s1a981527   122405   78060014%/

1Gb just because it's peanuts to a 200Gb disk, and I don't bother with 
/tmp separately.


For all the talk of the 1024 cylinder problem, I have never encountered 
it.  I suspect that while it was true of older hardware, that it just 
isn't the case any more.  If this is a problem, then it is just the / 
(root) partition that needs to start inside 1024 cylinders.


Apart from that, my opinion is that having swap = 2.5 * memory is still 
a reasonable rule of thumb.  You may never need it but a) it's a tiny 
fraction of your disk and b) if you expand your memory in the future you 
still have enough swap.  You must have at least as much swap as physical 
memory.  With 1Gb I put in 4Gb of swap, just because it's peanuts 
compared to a 200Gb disk.  If I double my memory, I still have plenty of 
swap.


/var depends on what this machine does.  If it is a mailserver then 512M 
is inadequate, for a home machine it's probably plenty.  If you ever 
need a crash dump from the kernel (and you may *never* need one, but if 
you do...) then you need as much free disk space as you have physical 
memory.


There was a recent thread about disk sizing (maybe a month ago?) so try 
searching the archive.


I also found this useful when clarifying my thoughts about how to 
partition a new disk:


http://keramida.serverhive.com/weblog/archives/2004-10-26/daemonizing-a-new-disk

--Alex


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


Re: imap-uw / squirrellmail / mysql / postfix / postfixadmin question

2005-07-07 Thread M. Goodell
The accounts are kept in MySQL via a PostfixAdmin installation. Again, I can 
deliver mail all day to any virtual host / account I setup in PostfixAdmin but 
I am not able to get SquirrellMail to login to get the mail.
 
I am using the following group of applicaitons together:
 
imap-uw / squirrellmail / mysql / postfix / postfixadmin
 
Thanks, 
 
Michael

Paul Schmehl [EMAIL PROTECTED] wrote:
--On Wednesday, July 06, 2005 20:18:37 -0700 M. Goodell 
wrote:

 Hello,

 I have successfully installed: imap-uw / squirrellmail / mysql / postfix
 / PostfixAdmin and have setup postfix virtual domain capability. Postfix
 accepts mail for virtual hosts / accounts that I configured with
 PostfixAdmin very well. Watching the mail log the mail arrives and is
 delivered to the /usr/local/virtual/ directory with no problems at all.
 However, the problem I have having is I cannot get SquirrellMail /
 imap-uw to access the mailboxes I have setup for any of the virtual
 domains / accounts. It keeps giving me a login error like the user does
 not exist. I am able to use SquirrellMail to get mail for real system
 accounts with ease.
 I think I need to somehow get imap-uw / squirrellmail to recognize the
 virtual domains  accounts but I am not sure how to do it.
 Can anyone shed some light on the problem ?

The accounts have to exist somewhere. The system accounts exist in 
/etc/passwd. Where do the virtual accounts exist? Are you using 
cyrus-sasl?

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: procmail kill problems in dmesg?

2005-07-07 Thread Matt Juszczak

Do the segfaults only happen when you run procmail?  If other programs
fail randomly with segfaults, then it's more likely to be a general
memory-hardware problem.  If it's only procmail that fails it could be
just a procmail bug.



Procmail is the only one segfaulting with signal 11.  POP3 has exiting 
with signal 6 a few times, but only a few, and its been sporadic.

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


Re: help with she script

2005-07-07 Thread Alejandro Pulver
On Wed, 6 Jul 2005 23:29:17 -0400
fbsd_user [EMAIL PROTECTED] wrote:

 On Sun, 3 Jul 2005 16:47:24 -0400
 fbsd_user [EMAIL PROTECTED] wrote:
 
  This is my last coding problem.
 
 
  target=check-state
 
  # Find the rule number of the target rule where you want the
 doorman
  # pass rules inserted before.
 
  ruleno=`ipfw list | sed -n -e s/00\([0-9]*\) $target/\1/p`
 
  The output of 'ipfw list' looks like this
 
  n  a 5 position sequence rule number
  blank  followed by a empty single position
  x-xa 10 to 80 position rule text
 
 
 00010 allow ip from any to any via lo0
 00015 check-state
 00110 allow tcp from any to 68.168.240.26 dst-port 53 out via dc0
 setup keep-state
 00111 allow udp from any to 68.168.240.26 dst-port 53 out via dc0
 keep-state
 00120 allow udp from any to any dst-port 67 out via dc0 keep-state
 00200 allow tcp from any to any dst-port 80 out via dc0 setup
 keep-state
 
 
  When the rule text matches the target text I want the
  first 5 position rule number to go into ruleno.
 
  Large rules files may use all 5 positions and then
  the above code will fail to get the rule number.
  Tried to remove the s/00\ but had syntax problems.
 

Hello,

If you want to include the first two digits you have to remove the two
zeros from the pattern.

ruleno=`ipfw list | sed -n -e s/\([0-9]*\) $target/\1/p`
 ^^

This is because in the other pattern when the rule number does not start
with 00 then it will not be matched and nothing will be returned.

Explanation:

The 's' is the substitute command, '/' is the operand separator, the
'\(' and '\)' construct saves the text it matches in the register '\1',
'[0-9]*' matches any number of digits (even 0 of them), $target is
replaced with the contents of the shell variable. All of that is
replaced by just the text matched between '\(' and '\)'. The 'p' flag
causes the line (after substitution, that is, the text between '\(' and
'\)') to be printed (and assigned to ruleno).

Hope that helps.

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


SA rules_dujour

2005-07-07 Thread Jean-Paul Natola
Hi everyone, 

I have installed Spamassassin and rules_dujour

I have NOT changed any settings , it is a vanilla install no config files or
anything has been modified, yet  spam is coming right through

Here's the header of one; I feel I'm missing something , I mean just by the
subject I would think it would detect it--


X-Spam-Score: 0.2 (/)
X-Spam-Report: Spam detection software, running on the system mfilter, has
identified this incoming email as possible spam.  The original
message
has been attached to this so you can view it (if it isn't spam) or
label
similar future email.  If you have any questions, see
the administrator of that system for details.
Content preview:  Tuesday/Wednesday Sale! Fares from $49*. Tuesdays
and
Wednesdays just became your favorite days of the week! Take advantage
of these great low fares and book your vacation today! Book on
spiritair.com by 11:59PM EST on 7/6/05 for travel on Tuesdays and
Wednesdays only from 7/12/05-9/28/05 unless otherwise noted. [...] 
Content analysis details:   (0.2 points, 5.0 required)
pts rule name  description

 

 
 
 
 
Jean-Paul Natola
Network Administrator
Information Technology
Family Care International
588 Broadway Suite 503
New York, NY 10012
Phone:212-941-5300 xt 36
Fax:  212-941-5563
Mailto: [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: hang-up's on clean FreeBSD 5.4 on compilation

2005-07-07 Thread Dmitry Mityugov
On 7/7/05, Piotr Baranowski [EMAIL PROTECTED] wrote:
 Hello
 
 I have posted before, about my problems with Kernel compilation.
 Now it's bigger problem ;-)
 
 I still can't compile the kernel.
 
 Now i reinstalled FreeBSD 5.4, totally clean download.
 It's just for education/fun, so i can do that.. for now.
 
 I choosed Standard install, Devel distribution, and installed linux
 base.
 One additional package: CVSup.
 Nothing more, nothing less.
 
 After installation, i used CVSup to get newest source [ src-all ].
 Then i ran:
 1) cd /usr/src
 2) make buildworld
 
 it hanged up my PC..
 i tried this several times, and it hangs up in different places,
 always on 'cc' command.
 
 Maybe it's something with my memory?
...

Looks like that. There is a couple of memory test programs, I like these:

http://www.memtest86.com/
http://www.ocztechnology.com/aboutocz/press/2004/114

-- 
Dmitry

We live less by imagination than despite it - Rockwell Kent, N by E
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: procmail kill problems in dmesg?

2005-07-07 Thread Matthias Buelow
Matt Juszczak [EMAIL PROTECTED] writes:

Procmail is the only one segfaulting with signal 11.  POP3 has exiting 
with signal 6 a few times, but only a few, and its been sporadic.

I assume that you've checked that you're running the latest version (or
ports version) of procmail?

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


Re: perl-after-upgrade

2005-07-07 Thread Bob Hall
On Thu, Jul 07, 2005 at 06:55:58PM +0200, legalois wrote:
 Bob Hall wrote:
 I don't know squat about perl. I recently ran portupgrade, which
 upgraded perl. Goose stopped working, because the location for Curses.pm
 was no longer in @INC. I tried to run perl-after-upgrade, but I couldn't
 get it to run. I've got a book that said to use
  # perl perl-after-upgrade
 or
  # ./perl-after-upgrade
 I also tried just
  # perl-after-upgrade
 No joy. Just for the heck of it, I tried 
  * sh perl-after-upgrade
 and dang if it didn't run. It didn't look to me like an sh script, but
 what do I know? It wasn't supposed to change anything without the -f
 option, but goose ran afterward, so it obviously changed things. I
 looked for Curses.pm, and it moved to a directory listed in @INC.
 
 Anybody have any advice? Comments? How was I supposed to get
 perl-after-upgrade to run?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 
 
 
 A longish message appears at the end of the perl upgrade build, that 
 explains how to run perl-after-upgrade. 

As I stated above, I used portupgrade. That means that any messages at
the end of the perl upgrade scrolled off the screen and out of the
screen buffer when portupgrade carried out the next install. One of the
problems with portupgrade is that you rarely see the post-upgrade
messages when you do batch upgrades.

 If you overlooked that, the same 
 instructions are at
 #perldoc perl-after-upgrade

That's identical to the man page, which didn't supply any information
that helped. So if the man page, perldoc page, and post-install message
were the same, none of them contained the information I needed.

 If the script is in a directory not in your root's path, find the full 
 path to the script with
 #locate perl-after-upgrade
 (but make sure your locate db is up-to-date, first).

As I stated above, I tried ./perl-after-upgrade and I looked at the
script, neither of which would have been possible if I didn't know where
the script was.

As I mentioned in my followup post, I solved the problem with rehash.
A mention of this in /usr/ports/UPDATING would help those of use who
rarely use tcsh unless we need to run something as root. Also in the man
page. Any situation that requires perl-after-upgrade probably also
requires rehash.

I found the solution at 
http://marc.theaimsgroup.com/?l=freebsd-portsm=111980508717308w=2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Minimum Install w/ X11 on Virtual PC

2005-07-07 Thread Hakim Singhji
Hi All,

I am going to install FreeBSD 5.4 on MS Virtual PC. My PC (IBM
Thinkpad R51) only has 256MB of RAM available. I do not want to
install Gnome or KDE however I would like the benefits of colors in
text editors, backgrounds, etc. as this is going to be a testing
environment for application development.

What is the best way to go about doing this? In VPC I allot
approximately 96MB of RAM for the Virtual Machine and I was thinking
256MB for virtual SWAP (would that even help... the default is like
166MB for 96MB of RAM... or something like that.

Again... how can I get the most out of x11/xorg with out using a great
deal of resources?

Best,
-- 
Hakim Singhji
[EMAIL PROTECTED]
Where danger is, grows the saving power also (qtd. in Heidegger 28).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: perl-after-upgrade

2005-07-07 Thread Paul Schmehl

--On Thursday, July 07, 2005 14:39:44 -0400 Bob Hall [EMAIL PROTECTED] wrote:


As I stated above, I used portupgrade. That means that any messages at
the end of the perl upgrade scrolled off the screen and out of the
screen buffer when portupgrade carried out the next install. One of the
problems with portupgrade is that you rarely see the post-upgrade
messages when you do batch upgrades.

That's an easily solved problem.  After you finish portupgrade, view the 
pkg-message file in any port you have a question about.  E.g. % view 
/usr/ports/lang/perl5.8/pkg-message


Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SA rules_dujour

2005-07-07 Thread Louis LeBlanc
On 07/07/05 02:04 PM, Jean-Paul Natola sat at the `puter and typed:
 Hi everyone, 
 
 I have installed Spamassassin and rules_dujour
 
 I have NOT changed any settings , it is a vanilla install no config files or
 anything has been modified, yet  spam is coming right through
 
 Here's the header of one; I feel I'm missing something , I mean just by the
 subject I would think it would detect it--
 
 
 X-Spam-Score: 0.2 (/)
 X-Spam-Report: Spam detection software, running on the system mfilter, has
   identified this incoming email as possible spam.  The original message
   has been attached to this so you can view it (if it isn't spam) or label
   similar future email.  If you have any questions, see
   the administrator of that system for details.
   Content preview:  Tuesday/Wednesday Sale! Fares from $49*. Tuesdays and
   Wednesdays just became your favorite days of the week! Take advantage
   of these great low fares and book your vacation today! Book on
   spiritair.com by 11:59PM EST on 7/6/05 for travel on Tuesdays and
   Wednesdays only from 7/12/05-9/28/05 unless otherwise noted. [...] 
   Content analysis details:   (0.2 points, 5.0 required)
   pts rule name  description
 

Note the score and the required score.  0.2 is a good long way from 5.0.
You may wish to take any saved spam and use it to teach SA what spam is,
because the Bayes learner is actually quite good at swaying this the
right way.  Also, if you're like me, you'll want to bump the required
score down.

When I was getting 200+ spams a day (some days over 300), SA was letting
through 2 or 3 a week.  Now I get 3 or 4 a week (I shut off the problem
domain for 6 months) and SA lets 1 or 2 a week.  It's a numbers game.
The more educated Bayes is, the smaller the percentage of FNs are.

The problem is that Bayes won't kick in until you teach it with enough
spam - I don't remember the kick-in point offhand.  I've seen a message
get pushed through several different installations of SA (all the same
version and config) and come out with drastically different scores, all
because of Bayes.  The better systems are ALWAYS educated on a regular
basis.

Also, since you're starting off, you'll get a lot of mileage out of the
SA list.

I use Maildir mailboxes on my system and when I learned how important
teaching Bayes is, I actually wrote a little perl script to check for
spam messages marked as read (Maildir/.spam/cur/*) and pipe them
automagically through the Bayes learner before moving them off to the
spam backup directory.  I also separate out the autolearned spam and
just push that off to the backup regardless of the read/unread status.
I think I've gotten about 2 FPs in 3 years of using SA.  Those FPs
really weren't spam, but they were all messages I didn't want to get
anyway, like chain letters or some other rubbish.  :)

HTH
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Linus' Law:
  There is no heavier burden than a great potential.


pgpND9n0VCxmn.pgp
Description: PGP signature


Re: Minimum Install w/ X11 on Virtual PC

2005-07-07 Thread Garrett Cooper

Hakim,
	You're pressing it a bit considering that X does use up a bit of 
resources, and considering that you have an additional system overlayed on 
top of Windows (I assume you are using XP), you will want to actually go 
out and get more RAM. You are unfortunately working with conditions which 
may become extremely laggy for you and will ultimately lead to less than 
desired performance. I know because I ran Windows XP on vmware, and having 
another Virtual machine running on your computer eats up a lot of 
resources, and hence decreases the peak usable performance of the system 
greatly. Either get at least 512 Mb Ram, or consider switching from 
Gnome/KDE to something doable like Fluxbox, FWM2, or XFCE since they don't 
use nearly as much memory as Gnome/KDE.

-Garrett

On Thu, 7 Jul 2005, Hakim Singhji wrote:


Hi All,

I am going to install FreeBSD 5.4 on MS Virtual PC. My PC (IBM
Thinkpad R51) only has 256MB of RAM available. I do not want to
install Gnome or KDE however I would like the benefits of colors in
text editors, backgrounds, etc. as this is going to be a testing
environment for application development.

What is the best way to go about doing this? In VPC I allot
approximately 96MB of RAM for the Virtual Machine and I was thinking
256MB for virtual SWAP (would that even help... the default is like
166MB for 96MB of RAM... or something like that.

Again... how can I get the most out of x11/xorg with out using a great
deal of resources?

Best,
--
Hakim Singhji
[EMAIL PROTECTED]
Where danger is, grows the saving power also (qtd. in Heidegger 28).
___
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: SA rules_dujour

2005-07-07 Thread Martin Hepworth
Hi

May I suggest you as this on the sa-users list. You'll get specific
help for you config

--
Martin

On 7/7/05, Jean-Paul Natola [EMAIL PROTECTED] wrote:
 Hi everyone,
 
 I have installed Spamassassin and rules_dujour
 
 I have NOT changed any settings , it is a vanilla install no config files or
 anything has been modified, yet  spam is coming right through
 
 Here's the header of one; I feel I'm missing something , I mean just by the
 subject I would think it would detect it--
 
 
 X-Spam-Score: 0.2 (/)
 X-Spam-Report: Spam detection software, running on the system mfilter, has
 identified this incoming email as possible spam.  The original
 message
 has been attached to this so you can view it (if it isn't spam) or
 label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  Tuesday/Wednesday Sale! Fares from $49*. Tuesdays
 and
 Wednesdays just became your favorite days of the week! Take advantage
 of these great low fares and book your vacation today! Book on
 spiritair.com by 11:59PM EST on 7/6/05 for travel on Tuesdays and
 Wednesdays only from 7/12/05-9/28/05 unless otherwise noted. [...]
 Content analysis details:   (0.2 points, 5.0 required)
 pts rule name  description
 
 
 
 
 
 
 
 Jean-Paul Natola
 Network Administrator
 Information Technology
 Family Care International
 588 Broadway Suite 503
 New York, NY 10012
 Phone:212-941-5300 xt 36
 Fax:  212-941-5563
 Mailto: [EMAIL PROTECTED]
 
 ___
 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]


FreeBSD 5.4 and Sli 3114 sata controller broken?

2005-07-07 Thread Evan Jones

hey,

I have a Tyan s2882 mainboard with an integrated SLI 3114 SATA RAID 
controler on board. I have four 120gig sata drives attached to it. I can 
succefully build a RAID 0, 1 or 10 in the BIOS, but the created RAID 
dosent seem to show up in Freebsd. The drives get detected but I can 
only seem to use them as individual drives and not a raid array. I can 
successfully create a raid using ATA control but from what I understand 
that is a software RAID only.


Anyone know what is going on? I cant seem to find any info on Sli 3114 
support in freebsd.


Jul  7 14:06:56 greysrv syslogd: kernel boot file is /boot/kernel/kernel
Jul  7 14:06:56 greysrv kernel: Copyright (c) 1992-2005 The FreeBSD Project.
Jul  7 14:06:56 greysrv kernel: Copyright (c) 1979, 1980, 1983, 1986, 
1988, 1989, 1991, 1992, 1993, 1994
Jul  7 14:06:56 greysrv kernel: The Regents of the University of 
California. All rights reserved.
Jul  7 14:06:56 greysrv kernel: FreeBSD 5.4-RELEASE #1: Wed Jun 15 
23:13:01 EDT 2005
Jul  7 14:06:56 greysrv kernel: 
[EMAIL PROTECTED]:/usr/src/sys/amd64/compile/GREYSRV
Jul  7 14:06:56 greysrv kernel: Timecounter i8254 frequency 1193182 Hz 
quality 0
Jul  7 14:06:56 greysrv kernel: CPU: AMD Opteron(tm) Processor 242 
(1593.20-MHz K8-class CPU)
Jul  7 14:06:56 greysrv kernel: Origin = AuthenticAMD  Id = 0xf5a  
Stepping = 10
Jul  7 14:06:56 greysrv kernel: 
Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2
Jul  7 14:06:56 greysrv kernel: AMD 
Features=0xe0500800SYSCALL,NX,MMX+,LM,3DNow+,3DNow

Jul  7 14:06:56 greysrv kernel: real memory  = 1073676288 (1023 MB)
Jul  7 14:06:56 greysrv kernel: avail memory = 1027469312 (979 MB)
Jul  7 14:06:56 greysrv kernel: ACPI APIC Table: A M I  OEMAPIC 
Jul  7 14:06:56 greysrv kernel: FreeBSD/SMP: Multiprocessor System 
Detected: 2 CPUs

Jul  7 14:06:56 greysrv kernel: cpu0 (BSP): APIC ID:  0
Jul  7 14:06:56 greysrv kernel: cpu1 (AP): APIC ID:  1
Jul  7 14:06:56 greysrv kernel: MADT: Forcing active-low polarity and 
level trigger for SCI
Jul  7 14:06:56 greysrv kernel: ioapic0 Version 1.1 irqs 0-23 on 
motherboard
Jul  7 14:06:56 greysrv kernel: ioapic1 Version 1.1 irqs 24-27 on 
motherboard
Jul  7 14:06:56 greysrv kernel: ioapic2 Version 1.1 irqs 28-31 on 
motherboard

Jul  7 14:06:56 greysrv kernel: acpi0: A M I OEMRSDT on motherboard
Jul  7 14:06:56 greysrv kernel: acpi0: Power Button (fixed)
Jul  7 14:06:56 greysrv kernel: Timecounter ACPI-fast frequency 
3579545 Hz quality 1000
Jul  7 14:06:56 greysrv kernel: acpi_timer0: 24-bit timer at 
3.579545MHz port 0x5008-0x500b on acpi0

Jul  7 14:06:56 greysrv kernel: cpu0: ACPI CPU on acpi0
Jul  7 14:06:56 greysrv kernel: acpi_throttle0: ACPI CPU Throttling on 
cpu0

Jul  7 14:06:56 greysrv kernel: cpu1: ACPI CPU on acpi0
Jul  7 14:06:56 greysrv kernel: pcib0: ACPI Host-PCI bridge port 
0xcf8-0xcff on acpi0

Jul  7 14:06:56 greysrv kernel: pci0: ACPI PCI bus on pcib0
Jul  7 14:06:56 greysrv kernel: pcib1: ACPI PCI-PCI bridge at device 
6.0 on pci0

Jul  7 14:06:56 greysrv kernel: pci3: ACPI PCI bus on pcib1
Jul  7 14:06:56 greysrv kernel: ohci0: OHCI (generic) USB controller 
mem 0xfeafc000-0xfeafcfff irq 19 at device 0.0 on pci3

Jul  7 14:06:56 greysrv kernel: usb0: OHCI version 1.0, legacy support
Jul  7 14:06:56 greysrv kernel: usb0: OHCI (generic) USB controller on 
ohci0

Jul  7 14:06:56 greysrv kernel: usb0: USB revision 1.0
Jul  7 14:06:56 greysrv kernel: uhub0: AMD OHCI root hub, class 9/0, rev 
1.00/1.00, addr 1
Jul  7 14:06:56 greysrv kernel: uhub0: 3 ports with 3 removable, self 
powered
Jul  7 14:06:56 greysrv kernel: ohci1: OHCI (generic) USB controller 
mem 0xfeafd000-0xfeafdfff irq 19 at device 0.1 on pci3

Jul  7 14:06:56 greysrv kernel: usb1: OHCI version 1.0, legacy support
Jul  7 14:06:56 greysrv kernel: usb1: OHCI (generic) USB controller on 
ohci1

Jul  7 14:06:56 greysrv kernel: usb1: USB revision 1.0
Jul  7 14:06:56 greysrv kernel: uhub1: AMD OHCI root hub, class 9/0, rev 
1.00/1.00, addr 1
Jul  7 14:06:56 greysrv kernel: uhub1: 3 ports with 3 removable, self 
powered
Jul  7 14:06:56 greysrv kernel: atapci0: SiI 3114 SATA150 controller 
port 
0xa800-0xa80f,0xac00-0xac03,0xb000-0xb007,0xb400-0xb403,0xbc00-0xbc07 
mem 0xfeafec00-0xfeafefff irq 19 at device 5.0 on pci3

Jul  7 14:06:56 greysrv kernel: ata2: channel #0 on atapci0
Jul  7 14:06:56 greysrv kernel: ata3: channel #1 on atapci0
Jul  7 14:06:56 greysrv kernel: ata4: channel #2 on atapci0
Jul  7 14:06:56 greysrv kernel: ata5: channel #3 on atapci0
Jul  7 14:06:56 greysrv kernel: pci3: display, VGA at device 6.0 (no 
driver attached)
Jul  7 14:06:56 greysrv kernel: fxp0: Intel 82551 Pro/100 Ethernet 
port 0xa400-0xa43f mem 0xfeaa-0xfeab,0xfeafb000-0xfeafbfff irq 
18 at device 8.0 on pci3

Jul  7 14:06:56 greysrv kernel: miibus0: MII bus on fxp0
Jul  7 14:06:56 greysrv kernel: inphy0: i82555 10/100 media interface 
on miibus0
Jul  7 14:06:56 greysrv kernel: inphy0:  

Re: FreeBSD 5.4 and Sli 3114 sata controller broken?

2005-07-07 Thread Chad Leigh -- Shire.Net LLC


On Jul 7, 2005, at 1:48 PM, Evan Jones wrote:


hey,

I have a Tyan s2882 mainboard with an integrated SLI 3114 SATA RAID  
controler on board. I have four 120gig sata drives attached to it.  
I can succefully build a RAID 0, 1 or 10 in the BIOS, but the  
created RAID dosent seem to show up in Freebsd. The drives get  
detected but I can only seem to use them as individual drives and  
not a raid array. I can successfully create a raid using ATA  
control but from what I understand that is a software RAID only.


Anyone know what is going on? I cant seem to find any info on Sli  
3114 support in freebsd.


That is actually a software raid as well with BIOS support for setup  
and configuration...  But the driver does all the RAID work at  
runtime...


I have the S2882 and could not get the Sil3114 working even with JBOS  
with 5.3 back when I was installing and going live and so I ended up  
with a RocketRAID 1820a from highpoint (and use it for JBOD only --  
my RAID is SCSI and Adaptec 2200S)


best
Chad
---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
[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: Did we must put the mounted partition '/' and '/boot' in the same slice ?

2005-07-07 Thread RW
On Thursday 07 July 2005 18:27, Alex Zbyslaw wrote:
 1Gb just because it's peanuts to a 200Gb disk, and I don't bother with
 /tmp separately.

I use one because, by default,  / is mounted without soft-updates. It is 
possible to turn it on, but for the sake of a few hundred MB it seems 
sensible to go with the default of a separate partition.  

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


Re: [nycbug-talk] Minimum Install w/ X11 on Virtual PC

2005-07-07 Thread Scott Robbins
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, Jul 07, 2005 at 02:40:09PM -0400, Hakim Singhji wrote:
 Hi All,
 
 I am going to install FreeBSD 5.4 on MS Virtual PC. My PC (IBM
 Thinkpad R51) only has 256MB of RAM available. I do not want to
 install Gnome or KDE however I would like the benefits of colors in
 text editors, backgrounds, etc. as this is going to be a testing
 environment for application development.
 
 What is the best way to go about doing this? In VPC I allot
 approximately 96MB of RAM for the Virtual Machine and I was thinking
 256MB for virtual SWAP (would that even help... the default is like
 166MB for 96MB of RAM... or something like that.

If I understand your question, you'd like a window manager that is
pretty light but has the ability to do backgrounds and the like.  
Both rxvt and aterm are lightweight xterms that can show backgrounds as
they run--there is also eterm, but it's more resource intensive.  

As for the window manager itself, I like fluxbox, and it's considered
relatively light.  There is weewm, which can have a background
image--actually, I think most of them can now, using xsetbg.  Fluxbox
has fbsetbg which will set a background, but does require some other
program to do that--some people use feh, xv and xli are two other
programs that can work with fbsetbg to set your background.

I hope I've understood that aspect of your question.  If not, apologies
for wasting your time.

- -- 
Scott Robbins
GPG KeyID EB3467D6
( 1B848 077D 66F6 9DB0 FDC2  A409 FA54 D575 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCzYqd+lTVdes0Z9YRApO9AJ43TJNzDlkyrOj3A+7TiVevl9W+FACdFVhQ
BdnWUecCa8GxxOzbuwFjRlQ=
=j3gM
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [nycbug-talk] Minimum Install w/ X11 on Virtual PC

2005-07-07 Thread Garrett Cooper
	Ah, yes... sorry for the poor answering earlier. eterm, aterm and 
xterm all handle terminal coloring very nicely, with eterm being the most 
resource hungry of the three terminals listed previously.

My apologies for the confusing prior answer.
-Garrett

On Thu, 7 Jul 2005, Scott Robbins wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, Jul 07, 2005 at 02:40:09PM -0400, Hakim Singhji wrote:

Hi All,

I am going to install FreeBSD 5.4 on MS Virtual PC. My PC (IBM
Thinkpad R51) only has 256MB of RAM available. I do not want to
install Gnome or KDE however I would like the benefits of colors in
text editors, backgrounds, etc. as this is going to be a testing
environment for application development.

What is the best way to go about doing this? In VPC I allot
approximately 96MB of RAM for the Virtual Machine and I was thinking
256MB for virtual SWAP (would that even help... the default is like
166MB for 96MB of RAM... or something like that.


If I understand your question, you'd like a window manager that is
pretty light but has the ability to do backgrounds and the like.
Both rxvt and aterm are lightweight xterms that can show backgrounds as
they run--there is also eterm, but it's more resource intensive.

As for the window manager itself, I like fluxbox, and it's considered
relatively light.  There is weewm, which can have a background
image--actually, I think most of them can now, using xsetbg.  Fluxbox
has fbsetbg which will set a background, but does require some other
program to do that--some people use feh, xv and xli are two other
programs that can work with fbsetbg to set your background.

I hope I've understood that aspect of your question.  If not, apologies
for wasting your time.

- --
Scott Robbins
GPG KeyID EB3467D6
( 1B848 077D 66F6 9DB0 FDC2  A409 FA54 D575 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCzYqd+lTVdes0Z9YRApO9AJ43TJNzDlkyrOj3A+7TiVevl9W+FACdFVhQ
BdnWUecCa8GxxOzbuwFjRlQ=
=j3gM
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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


Re: perl-after-upgrade

2005-07-07 Thread RW
On Wednesday 06 July 2005 20:10, Bob Hall wrote:
 I don't know squat about perl. I recently ran portupgrade, which
 upgraded perl. Goose stopped working, because the location for Curses.pm
 was no longer in @INC. I tried to run perl-after-upgrade, but I couldn't
 get it to run. I've got a book that said to use
   # perl perl-after-upgrade
 or
   # ./perl-after-upgrade
 I also tried just
   # perl-after-upgrade
 No joy. Just for the heck of it, I tried
   * sh perl-after-upgrade
 and dang if it didn't run. It didn't look to me like an sh script, but
 what do I know? It wasn't supposed to change anything without the -f
 option, but goose ran afterward, so it obviously changed things. I
 looked for Curses.pm, and it moved to a directory listed in @INC.

 Anybody have any advice? Comments? How was I supposed to get
 perl-after-upgrade to run?

I used to be a bit sceptical about portmanager, but for the sake of a few 
hours of unattended extra building, you can simply ignore this kind of thing. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [nycbug-talk] Minimum Install w/ X11 on Virtual PC

2005-07-07 Thread Hakim Singhji
Actually Garrett,

Your first answer was quite helpful as well. I am trying to figure out
the best way to use X windows, a wm and xterm in a manner that will
not slow down performance to a crawl, something that will resemble my
development environment on my main machine without a full install or
dual boot on this laptop.

Will I be able to find everthing I need in the ports collection.

On 7/7/05, Garrett Cooper [EMAIL PROTECTED] wrote:
 Ah, yes... sorry for the poor answering earlier. eterm, aterm and
 xterm all handle terminal coloring very nicely, with eterm being the most
 resource hungry of the three terminals listed previously.
 My apologies for the confusing prior answer.
 -Garrett
 
 On Thu, 7 Jul 2005, Scott Robbins wrote:
 
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  On Thu, Jul 07, 2005 at 02:40:09PM -0400, Hakim Singhji wrote:
  Hi All,
 
  I am going to install FreeBSD 5.4 on MS Virtual PC. My PC (IBM
  Thinkpad R51) only has 256MB of RAM available. I do not want to
  install Gnome or KDE however I would like the benefits of colors in
  text editors, backgrounds, etc. as this is going to be a testing
  environment for application development.
 
  What is the best way to go about doing this? In VPC I allot
  approximately 96MB of RAM for the Virtual Machine and I was thinking
  256MB for virtual SWAP (would that even help... the default is like
  166MB for 96MB of RAM... or something like that.
 
  If I understand your question, you'd like a window manager that is
  pretty light but has the ability to do backgrounds and the like.
  Both rxvt and aterm are lightweight xterms that can show backgrounds as
  they run--there is also eterm, but it's more resource intensive.
 
  As for the window manager itself, I like fluxbox, and it's considered
  relatively light.  There is weewm, which can have a background
  image--actually, I think most of them can now, using xsetbg.  Fluxbox
  has fbsetbg which will set a background, but does require some other
  program to do that--some people use feh, xv and xli are two other
  programs that can work with fbsetbg to set your background.
 
  I hope I've understood that aspect of your question.  If not, apologies
  for wasting your time.
 
  - --
  Scott Robbins
  GPG KeyID EB3467D6
  ( 1B848 077D 66F6 9DB0 FDC2  A409 FA54 D575 EB34 67D6 )
  gpg --keyserver pgp.mit.edu --recv-keys EB3467D6
  -BEGIN PGP SIGNATURE-
  Version: GnuPG v1.4.1 (FreeBSD)
 
  iD8DBQFCzYqd+lTVdes0Z9YRApO9AJ43TJNzDlkyrOj3A+7TiVevl9W+FACdFVhQ
  BdnWUecCa8GxxOzbuwFjRlQ=
  =j3gM
  -END PGP SIGNATURE-
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


-- 
Hakim Singhji
[EMAIL PROTECTED]
Where danger is, grows the saving power also (qtd. in Heidegger 28).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Fwd: Re[2]: hang-up's on clean FreeBSD 5.4 on compilation

2005-07-07 Thread Zenobius Xavierus
DM Looks like that. There is a couple of memory test programs, I like these:

DM http://www.memtest86.com/
DM http://www.ocztechnology.com/aboutocz/press/2004/114

Yep, it was memory problem.
I had 2x64Mb and 1x128 - the 64 modules was my friends.. and they are
corrupt.

Sorry for trashing up the list ;-)

-- 
Pozdrawiam
Piotr Baranowski

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


Re: perl-after-upgrade

2005-07-07 Thread Bob Hall
On Thu, Jul 07, 2005 at 01:53:48PM -0500, Paul Schmehl wrote:
 --On Thursday, July 07, 2005 14:39:44 -0400 Bob Hall [EMAIL PROTECTED] 
 wrote:
 
 As I stated above, I used portupgrade. That means that any messages at
 the end of the perl upgrade scrolled off the screen and out of the
 screen buffer when portupgrade carried out the next install. One of the
 problems with portupgrade is that you rarely see the post-upgrade
 messages when you do batch upgrades.
 
 That's an easily solved problem.  After you finish portupgrade, view the 
 pkg-message file in any port you have a question about.  E.g. % view 
 /usr/ports/lang/perl5.8/pkg-message

Aha. The instructions in the post-install message are not repeated in
the perldoc page. And the message does suggest using rehash. Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems since 5.3-RELEASE-p15

2005-07-07 Thread Tuc at T-B-O-H
 If the problem is intermittent then I would  suspect the hardware (I 
 know, everyone always says that, but I really have used a brand new 
 server which segfaulted randomly and it really was a memory problem).  
 Try building a memtest86 CD from the ports (from a different machine 
 perhaps) and running it for at least several hours, though it might not 
 take that long.  Your BIOS might also support extended memory tests (try 
 disabling quick POST) though they are supposed to be less effective than 
 memtest86.
 
 
 
  Ok, will try that. I run SETI so I think I'm constantly stressing 
 the machine. But I'll give it a try.
 
 *If* there are intermittent memory errors, then it could be that SETI 
 always happens to get them in the data it is dealing with, in which case 
 it might run perfectly happily but just produce the wrong results.  
 Memtest is dull, and stops you using your PC, but like Windows virus 
 scans, it seems like a necessary evil in this case.
 
I did the standard tests for 24 hours (21 passes) and it didn't fail.
I ran the 90 minute fading one for 24 hours (8 runs) and it too didn't fail.

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


Remote connection as root help

2005-07-07 Thread Efren Bravo

Hi,

Al last I could enter to freeBSD by SSH. After I erased all 
inetd_enable=YES instances except one. Also I downloaded the PuTTY 
client. 

I had to create other user to connect myself to freeBSD because it 
doesn't leave me as root user. 


How do I to connect myself to freeBSD by ssh as root?

Thanks...



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


Libz

2005-07-07 Thread Frank de Bot
Recently a bug was discoverd which affected various unix platforms 
including FreeBSD. ( 
ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:16.zlib.asc 
)


But it say it only affects the 5.x releases and not the 4. Is it true 
only the 5.x releases are affected? (I think it rather odd, because libz 
is pretty 'universal'


Thanks in advanced,

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


Re: Remote connection as root help

2005-07-07 Thread jdyke



Efren Bravo wrote:

Hi,

Al last I could enter to freeBSD by SSH. After I erased all 
inetd_enable=YES instances except one. Also I downloaded the PuTTY 
client.
I had to create other user to connect myself to freeBSD because it 
doesn't leave me as root user.

How do I to connect myself to freeBSD by ssh as root?


you really should not.  but if you abosolutely want to, you can modify 
/etc/ssh/sshd_config and add PermitRootLogin Yes, its either commented out 
andn/or set to no, the default.  If this is open to any other traffic except for 
local lan, then just use the better approach


ssh in and then `su - ` and enter roots password.  of course to do this, you 
must have entered your other user as part of group 'wheel'


Jd


Thanks...



___
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: Libz

2005-07-07 Thread Kövesdán Gábor

Frank de Bot wrote:

Recently a bug was discoverd which affected various unix platforms 
including FreeBSD. ( 
ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:16.zlib.asc 
)


But it say it only affects the 5.x releases and not the 4. Is it true 
only the 5.x releases are affected? (I think it rather odd, because 
libz is pretty 'universal'



Hi,

Yes, it's true. Only 5.3 and 5.4 are affected. Colin Percival has 
confirmed this on the freebsd-security list.


Cheers,

Gábor Kövesdán
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Remote connection as root help

2005-07-07 Thread Jeremy Johnston
Well first off its not the best idea, to enable it you need to edit the 
PermitRootLogin

option in /etc/ssh/sshd_config then restart sshd (sh /etc/rc.d/sshd restart)

Efren Bravo wrote:


Hi,

Al last I could enter to freeBSD by SSH. After I erased all 
inetd_enable=YES instances except one. Also I downloaded the PuTTY 
client.
I had to create other user to connect myself to freeBSD because it 
doesn't leave me as root user.

How do I to connect myself to freeBSD by ssh as root?

Thanks...



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





--
Jeremy Johnston (President / Developer)
SmartServ Hosting
Email: [EMAIL PROTECTED]
Phone: 1-250-402-6634 Ext. 201
Cell: 1-250-402-9583 | [EMAIL PROTECTED] (150 Characters max)
Fax: 1-250-402-6634
Toll Free: 1-866-702-2904

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


Re: Libz

2005-07-07 Thread Charles Swiger

On Jul 7, 2005, at 5:31 PM, Frank de Bot wrote:
Recently a bug was discoverd which affected various unix platforms  
including FreeBSD. ( ftp://ftp.freebsd.org/pub/FreeBSD/CERT/ 
advisories/FreeBSD-SA-05:16.zlib.asc )


But it say it only affects the 5.x releases and not the 4. Is it  
true only the 5.x releases are affected? (I think it rather odd,  
because libz is pretty 'universal'


I believe FreeBSD-4.x ships with zlib-1.1.x, whereas the security  
problem described above affects only the zlib-1.2.x branch found in  
FreeBSD-5, Linux, and elsewhere.  I seem to recall Colin Percival  
saying as much, but you can double-check with the security officer if  
you like...


--
-Chuck


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



Re: Remote connection as root help

2005-07-07 Thread Jeremy Johnston

Efren Bravo wrote:


Hi,

Well first off its not the best idea, to enable it you need to edit 
the PermitRootLogin
option in /etc/ssh/sshd_config then restart sshd (sh /etc/rc.d/sshd 
restart)




Would be a better idea to enter as other member user of wheel group 
and then become this user as root by su command or the group wheel 
has special privileges?


Thanks..



Correct. And your username must be part of the wheel group to allow it 
to preform su


--
Jeremy Johnston (President / Developer)
SmartServ Hosting
Email: [EMAIL PROTECTED]
Phone: 1-250-402-6634 Ext. 201
Cell: 1-250-402-9583 | [EMAIL PROTECTED] (150 Characters max)
Fax: 1-250-402-6634
Toll Free: 1-866-702-2904

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


Serial Access

2005-07-07 Thread Frank de Bot

Hi,

My server support by bios remote access via the serial port. Configured 
it, bios shows up on my terminal client. But as soon the FreeBSD has 
been loaded. (Last message I get through was: Press [enter] to boot 
immedialty.
Is it needed for FreeBSD to take over the serial console from here, or 
can it continue to show things without the help of FreeBSD?


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


Re: Serial Access

2005-07-07 Thread Emanuel Strobl
Am Freitag, 8. Juli 2005 00:16 schrieb Frank de Bot:
 Hi,

 My server support by bios remote access via the serial port. Configured
 it, bios shows up on my terminal client. But as soon the FreeBSD has
 been loaded. (Last message I get through was: Press [enter] to boot
 immedialty.
 Is it needed for FreeBSD to take over the serial console from here, or
 can it continue to show things without the help of FreeBSD?

You have to tell the kernel to use the serial port as console. You can do 
so by adding the line console=comconsole to /boot/loader.conf or 
instruct the first stage loader to use serail console with the command 
'echo -h  /boot.config'
For serial port configuration you may also want to have a look at the 
sysctl machdep.conspeed and to the /etc/make.conf option 
BOOT_COMCONSOLE_PORT and BOOT_COMCONSOLE_SPEED, both compile time 
variables.
If you want to have a login on the serial line you also have to enable a 
getty in /etc/ttys.

Best regards,

-Harry


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


pgpn9QwR21nax.pgp
Description: PGP signature


Re: Libz

2005-07-07 Thread Louis LeBlanc
On 07/07/05 11:37 PM, Kvesdn Gbor sat at the `puter and typed:
 Frank de Bot wrote:
 
  Recently a bug was discoverd which affected various unix platforms 
  including FreeBSD. ( 
  ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:16.zlib.asc 
  )
 
  But it say it only affects the 5.x releases and not the 4. Is it true 
  only the 5.x releases are affected? (I think it rather odd, because 
  libz is pretty 'universal'
 
 Hi,
 
 Yes, it's true. Only 5.3 and 5.4 are affected. Colin Percival has 
 confirmed this on the freebsd-security list.

Keep in mind, this is already fixed in both versions:
Corrected:  2005-07-06 14:01:11 UTC (RELENG_5, 5.4-STABLE)
2005-07-06 14:01:30 UTC (RELENG_5_4, 5.4-RELEASE-p4)
2005-07-06 14:01:52 UTC (RELENG_5_3, 5.3-RELEASE-p18)

5.4-RELEASE-p4 was tagged yesterday.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Gilbert's Discovery:
  Any attempt to use the new super glues results in the two pieces
  sticking to your thumb and index finger rather than to each other.


pgpOQ8B5k1yMg.pgp
Description: PGP signature


Re: Problems since 5.3-RELEASE-p15

2005-07-07 Thread Alex Zbyslaw

Tuc at T-B-O-H wrote:

*If* there are intermittent memory errors, then it could be that SETI 
always happens to get them in the data it is dealing with, in which case 
it might run perfectly happily but just produce the wrong results.  
Memtest is dull, and stops you using your PC, but like Windows virus 
scans, it seems like a necessary evil in this case.


   


I did the standard tests for 24 hours (21 passes) and it didn't fail.
I ran the 90 minute fading one for 24 hours (8 runs) and it too didn't fail.
 

It's almost a shame when a test like this passes.  It's much easier to 
just replace some memory and get on with things than be stuck with an 
intermittent problem.


Could something be overheating?  Are you still getting random 
segfaults?  Is there *any* pattern you can see?


--Alex

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


Re: Did we must put the mounted partition '/' and '/boot' in the same slice ?

2005-07-07 Thread Alex Zbyslaw

RW wrote:


On Thursday 07 July 2005 18:27, Alex Zbyslaw wrote:
 


1Gb just because it's peanuts to a 200Gb disk, and I don't bother with
/tmp separately.
   



I use one because, by default,  / is mounted without soft-updates. It is 
possible to turn it on, but for the sake of a few hundred MB it seems 
sensible to go with the default of a separate partition.  
 

If I ran a machine with users on it, I might agree :-)  But there's just 
me and I set TMP and TMPDIR to /var/tmp which many programs used to pick 
up on when I first set them years ago.  sort does, for e.g. and that was 
always a tmp killer in the kind of environments I worked in.  Plus *I* 
know to use /var/tmp.


Nowadays my /tmp has a small number of sockets and gubbins so I doubt 
softupdates would make any perceivable difference to me.


Horses for courses,

--Alex

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


RE: FreeBSD 5.4 and Sli 3114 sata controller broken?

2005-07-07 Thread Gayn Winters

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Evan Jones
 Sent: Thursday, July 07, 2005 12:49 PM
 To: freebsd-questions@freebsd.org
 Subject: FreeBSD 5.4 and Sli 3114 sata controller broken?
 
 I have a Tyan s2882 mainboard with an integrated SLI 3114 SATA RAID 
 controler on board. I have four 120gig sata drives attached 
 to it. I can 
 succefully build a RAID 0, 1 or 10 in the BIOS, but the created RAID 
 dosent seem to show up in Freebsd. The drives get detected but I can 
 only seem to use them as individual drives and not a raid 
 array. I can 
 successfully create a raid using ATA control but from what I 
 understand 
 that is a software RAID only.
 
 Anyone know what is going on? I cant seem to find any info on 
 Sli 3114 
 support in freebsd.
 
My guess is that you are going to have to wait for the mk III patches
in the ata controller driver that are coming in 6.0.  Those of us using
the Intel ICH5 and ICH6 controllers (search for ICH6 in the mail
archives for questions, hackers, and hardware) are in the same boat.  To
learn about mk III (or mk3) read Soren Schmidt's March progress report
on the ata driver. Man ata shows that the SiI 3114 is supported, at
least as a set of disks.

-gayn


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


Re: Problems since 5.3-RELEASE-p15

2005-07-07 Thread Tuc at T-B-O-H
  I did the standard tests for 24 hours (21 passes) and it didn't fail.
 I ran the 90 minute fading one for 24 hours (8 runs) and it too didn't fail.

 It's almost a shame when a test like this passes.  It's much easier to 
 just replace some memory and get on with things than be stuck with an 
 intermittent problem.

Understood. This is a Dell Laptop that JUST went out of 3 year warranty
in May. Its still in pretty great condition, but if I had to start screwing
around with it, I might just get something else...
 
 Could something be overheating?

I replaced the fans 6 months ago because it seemed a bearing was going.
(And we found SO MUCH dust inside it that it wasn't cooling properly. Now that
its clean, the fans even turn off at times!) Its happened on my lap, its 
happened on a glass table.

 Are you still getting random 
 segfaults?  Is there *any* pattern you can see?
 
The only pattern I see is that it starts all of a sudden, goes for
a little while, EVERYTHING you try to do fails, I get the 
/libexec/ld-elf.so.1: top: Shared object has no run-time symbol table
type errors, and then all of a sudden it goes about its merry way.

I'm not sure what a run-time symbol table is, and if it gets
rebuilt at any time, or is something thats part of the program, or what
But its not like one time it behaves one way, then another time it behaves
another. I'd think if it was a memory issue, it'd be something other than 
the same Shared object... thing each time. One time it'd be a bus error,
another time a this isn't executable, etc

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


SSH and gigabit NICs

2005-07-07 Thread Alex Zbyslaw

The setup:
  Both machines FreeBSD/i386 5.4
  a) AMD64 machine with on-board Marvel Gigabit NIC
  b) Athlon XP with cheap SMC Gigabit NIC (also Marvel)
  Cabling is brand new Cat5e.  Have tried various different cables of 
different lengths to no effect.


To rule out problems with a cheap switch, I have just wired the NICs 
together.


To benchmark, I had a huge bz2 file (430Mb) which I copied with scp and 
ftp from machine a to machine b.


On cheap NetGear 100Mb cards, the transfers both took ~40 seconds which 
is ~80Mbit.


On the new Gigabit hardware, ftp drops to 17 seconds, but scp takes 
longer!  Out of the box (no tweaking of any relevant parameters) it now 
takes over 53 seconds.


After tweaking tons of stuff, I can make scp take maybe 43 seconds, but 
at those settings, ftp takes well over a minute!


What is going on?  I know that 17 seconds for the ftp is hardly stellar 
(200+Mbit or so) but for £50 I could live with that.  But for ssh to get 
slower just boggles.  These days, almost anything you do over a network 
ends up using ssh -- specifically I was hoping to make rsyncs faster -- 
but for them to get slower?


I've seen odd ssh network behaviour on other boxen.  A couple old Linux 
servers were 2-3 times slower for ssh than ftp, but I put it down to 
oldness and Linux and general weirdness.  They were on a 100Mbit network.


When I monitor with systat -ifstat I can see ftp keeping up a 
reasonably regular transfer rate, but when I watch the ssh, it yoyos up 
and down wildly, but still never gets above about 80Mbit.  Both machines 
have plenty of idle CPU and the ssh is not compressed.


Does anyone have a clue what might be going on?


So far I have tried:
   HZ=1000 on both machines.  No effect.

   various net.inet.tcp.recvspace and net.inet.tcp.recvspace values on 
both machines.  About 4096 (down from the default of 32768) makes ssh 
work best, but stuffs ftp.  65536 improves ftp a bit but ssh goes up 
to 53 seconds (~64Mbit).


   MTU values of 5-9000.  ~6000 the scp seems to start a bit faster 
(maybe 100Mbit) but soon drops back into the 60s.


Before anyone asks, the driver doesn't seem to support polling.

--Alex, baffled and really quite annoyed.



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


Re: Has this box been hacked?

2005-07-07 Thread J65nko BSD
On 7/6/05, Brett Glass [EMAIL PROTECTED] wrote:
 
 A client had a network problem, and I wanted to make sure that his FreeBSD 
 4.11
 router wasn't the cause of it, so I rebooted it. I then did a last 
 command
 and saw the following:
 
 root ttyv0 Tue Jul 5 12:01 - 12:05 (00:04)
 admin ttyp0 localhost Tue Jul 5 11:57 - 11:57 (00:00)
 root ttyv0 Tue Jul 5 11:49 - 12:00 (00:11)
 reboot ~ Tue Jul 5 11:49
 shutdown ~ Tue Jul 5 11:47
 root ttyv0 Tue Jul 5 11:37 - shutdown (00:10)
 reboot ~ Tue Jul 5 11:36
 shutdown ~ Tue Jul 5 05:36
 shutdown ~ Tue Jul 5 11:22
 
 Note the shutdown entry with the time 5:36 AM, which is odd because it's 
 out of
 chronological order and the other logs don't show the typical debug 
 messages
 at that time. Where might such an entry come from? How likely is it that 
 the box
 has been rooted? Are there known exploits that might have been used to 
 root a
 FreeBSD 4.11-RELEASE machine? (The only unusual activity I can see in the 
 logs is a
 few attempts to log in as root via SSH. The attempts that were logged 
 were
 not successful, but of course a skilled attacker would cover his tracks.)


If you would have installed something like tripwire or aide, you would have 
been in a better position to find out whether the box has been owned. See 
http://www.onlamp.com/pub/a/bsd/2003/04/03/FreeBSD_Basics.html

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


Re: Did we must put the mounted partition '/' and '/boot' in the same slice ?

2005-07-07 Thread Shark Wang
as I had read some partitions material about legacy Unix, I try to 
separate '/boot' from '/' for my large space on '/' .

another question come up : Is ad0s1d the first blocks of the disk which 
based on partitions layout that my gave?

thanks!

-Shark


On 7/8/05, John McAree [EMAIL PROTECTED] wrote:
  the following is my partitions layout, pls help to do some check:
 
  ad0s1d  /boot  - 30M
  ad0s1a  /  - 512M
  ad0s1b  swap - 512M
  ad0s1e  /usr - 6144M
  ad0s1f   /var - 512M
  ad0s1g  /home - 2017M
  ad0s1h  /tmp  - 512M
 
 I believe /boot needs to be on the first 1024 blocks of the disk. Why do
 you want a separate partition for /boot?
 
 John.
 
 
 
 


-- 
I'm just a bitMaker !
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


speedy-cgi-perl mail list or forum

2005-07-07 Thread Noah


Somebody please direct me to a speedy-cgi-perl support mail list and/or
support forum?

thanks in advance,

Noah

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


PF firewall log problems

2005-07-07 Thread fbsd_user
How can I change the default wait time for PF buffer writes to the log file?
The log records are being held in the buffers for a long time before being
written out.
I want to change this to a shorter time.


Are there any tools or ports for use on the PF log file to create better
standardized reports?

Where can I find a description of the PF log record fields?

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


Re: Problems since 5.3-RELEASE-p15

2005-07-07 Thread Alex Zbyslaw

Tuc at T-B-O-H wrote:


The only pattern I see is that it starts all of a sudden, goes for
a little while, EVERYTHING you try to do fails, I get the 
/libexec/ld-elf.so.1: top: Shared object has no run-time symbol table

type errors, and then all of a sudden it goes about its merry way.

I'm not sure what a run-time symbol table is, and if it gets
rebuilt at any time, or is something thats part of the program, or what
But its not like one time it behaves one way, then another time it behaves
another. 

My description would be hazy at best, so hopefully someone more au fait 
will chime in.  But I can definitively state that, no it isn't something 
that gets rebuilt every so often.


However, if you run ktrace on a simple program like ls: ktrace ls
then do a kdump | less, you will see that after finding ls, 
/libexec/ld-elf.so.1 is the first thing accessed.  So, when things start 
working again, /libexec/ld-elf.so.1 is magically fixed, which just makes 
no sense.


I assume there are no other messages obvious errors in /var/log/messages?

One final thought is that it could be the disk.  You could try 
installing smartmontools and see if the disk thinks it is OK -- though 
of course it could be the controller.  But in such a case I might expect 
other errors.


I'd think if it was a memory issue, it'd be something other than 
the same Shared object... thing each time. One time it'd be a bus error,

another time a this isn't executable, etc
 

The classic bad memory symptoms are periodic reboots, and random 
segmentation faults.  The latter is particular to bad memory, I would 
say.  The fomer can have other causes.


It's the intermittent nature of the fault that really makes me think 
hardware.  Am I right in remembering that you upgraded to 5.4 and still 
had the same problems?


--Alex



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


  1   2   >