Re: Multiple issues (FreeBSD 6.2 RELEASE)

2007-06-02 Thread [EMAIL PROTECTED]

On 01/06/07, Lucas (a.k.a T-Bird or bsdfan3) [EMAIL PROTECTED] wrote:

Hardware: Compaq Presario 1200-XL118
AMD K6-2 500MHz
64MB of RAM
Trident CyberBlade i7 video with 4MB shared RAM
6GB ATA66 HD
Linksys 10/100 PCCard Ethernet (using ed driver)

OS: FreeBSD 6.2-RELEASE using GENERIC kernel

Issues:
1) The machine will not turn off when I try to soft-off it (ACPI S5
state, shutdown -r or -p).  How do I fix this?


In my experience most of the stuff built around the
AMD k6 junk (circa 1998) had horrible ACPI support,
nonstandard and incomplete, where possible.  I have
a lurking suspicion that they advertised these things
as only working correctly under winders (Optimised
for Windows 98! Now with nearly intel compliant MMX!).
A bios upgrade _might_ solve it.
A lot of those older machines (supposedly) support apm,
so fiddling with apm(8) might give some answers.
You might have to load the module or uncomment the
device apm line and recompile your kernel.

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


wine on freebsd ...

2007-06-02 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


I'm trying to get wine to run an application under FreeBSD that I've been told 
works great using wine under Linux ... the more I'm trying to dig into this, 
the more stuck in mud I'm feeling ... the latest release of wine won't even run 
on FreeBSD without crashing ...

According to the Wine folks, its a problem in FreeBSD ... the problem is that 
I don't know enough about it to know if that's just a cop-out, or is Wine 
really too linux-y to run under FreeBSD?

One of the bug reports on their web site:

   http://bugs.winehq.org/show_bug.cgi?id=5732

talks about:

This problem is caused by FreeBSD itself:
- - 2/2 GB memory split
- - Use of lover addresses for system libraries.

Neither of this is fixable in Wine.
Wine tries to reserve most of the lover 2GB with wine-preloader. But that
doesn't work if glibc  friends are already there.

I've tried to run this application with wine on both 6-STABLE and 7-CURRENT, 
and both seem to have the same issue, so it doesn't appear to be something with 
just 6.x ... I'm just not sure how to attack this one, when the app developer 
themselves are saying its an OS issue ...

- 
Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (FreeBSD)

iD4DBQFGYRSz4QvfyHIvDvMRAldhAJwMoRS2uAAJ5Q6wjkFYXPjZH0SdBQCY7NAk
WvqAYGU97ZM356EzBGeBCw==
=YVew
-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: how many data can i write to my tape, how to tested?

2007-06-02 Thread [EMAIL PROTECTED]

On 28/05/07, perikillo [EMAIL PROTECTED] wrote:

   I'm running bacula 1.38.11 with one tape storage-works 232 200Gb.

. . .

  Them, he says that my tape is full, but calculating all clients, is
about 181GB, them why hi say that my tape is full?


For raw capacity multiply the advertised number
by 0.5.
As we get more and more precompressed data
(think ogg, png, mp3) those sunny marketing
numbers will mean less and less.

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


Re: Linksys WMP54G Version 4.1

2007-06-02 Thread Christopher Prance

that would be great , I would appreciate it! Just attach it and send
it to me at this address!

Thanks,
Christopher

On 6/2/07, Roland Smith [EMAIL PROTECTED] wrote:

On Fri, Jun 01, 2007 at 09:32:41PM +0200, Christopher Prance wrote:
  Hey appreciate the info and would love to get mine up and running, but
  the version of the if_ral_pci.c that I have is 1.2.x.x something.  I'm
  running 6.2 p4.  Which cvs tag did you use to get the 1.5 version of
  the ral driver...

It was a patch that I downloaded. I don't recall where exactly.

Since I've still got the patch I can send it to you if you like. It's
about 460k, so I won't post it on the list. :)

Roland
--
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)





--
No one needs a smile as much as a person who fails to give one.

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


Re: wine on freebsd ...

2007-06-02 Thread Ghirai
Hello Marc,

Saturday, June 2, 2007, 9:56:51 AM, you wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 I'm trying to get wine to run an application under FreeBSD that I've been told
 works great using wine under Linux ... the more I'm trying to dig into this,
 the more stuck in mud I'm feeling ... the latest release of wine won't even 
 run
 on FreeBSD without crashing ...

 According to the Wine folks, its a problem in FreeBSD ... the problem is 
 that
 I don't know enough about it to know if that's just a cop-out, or is Wine
 really too linux-y to run under FreeBSD?

 One of the bug reports on their web site:

snip

Strange, there are occasionally applications that i can't run, but
otherwise i had no problems with WINE on FreeBSD...

Care to post the WINE log (when you start the app from the console
'wine PE.exe')?

-- 
Best regards,
Ghirai.

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


Re: enable fetchmail system-wide mode

2007-06-02 Thread Simon Barner
Hello Gerard,

 I had to slightly modify it to work the way I wanted on my system. I
 would suggest that you do that 'AFTER' you have gotten it to relatively
 the way you want it to.

Are these changes useful for other users, too? If so, please send me
a diff, so I can modify the port.

-- 
Best regards / Viele Grüße, [EMAIL PROTECTED]
 Simon Barner[EMAIL PROTECTED]


pgpwxDUtaN1mw.pgp
Description: PGP signature


RE: Recommendations for config file revision control

2007-06-02 Thread Murray Taylor
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Maxim Khitrov
 Sent: Saturday, 2 June 2007 8:37 AM
 To: freebsd-questions@freebsd.org
 Subject: Re: Recommendations for config file revision control
 
 On 6/1/07, Reid Linnemann [EMAIL PROTECTED] wrote:
  Written by Maxim Khitrov on 06/01/07 14:27
   Hi everyone,
  
   I'm currently setting up a new server, and I'd like to 
 keep track of
   all changes made to various config files (in /etc, 
 /usr/local/etc, and
   a few other places perhaps). My first thought was to setup a
   subversion server which would contain the partial 
 directory structure
   that matches that of the server's starting at /. It would contain
   versioned copies of all the configuration files that I 
 want to keep
   track of in their appropriate locations. What I would do 
 then is write
   a hook for subversion that will issue an automatic export command
   (don't want .svn directories everywhere) every time a 
 commit is made
   to the repository. So to edit some configuration file I 
 would first
   checkout a working copy of the repository to some other 
 location, make
   the change and commit it. The server would be 
 automatically updated
   with the new file and I would be able to keep track of 
 every change.
  
   This seems like a decent strategy to me, but before I go 
 off writing
   the scripts and setting up the server I wanted to ask 
 what you guys
   might be using to keep track of the server configuration (backups
   don't count)? Is there an easier way of doing the same thing, for
   example, eliminating the need to do a working copy checkout first?
   Perhaps a way to monitor certain files for changes, and 
 automatically
   commit them every time a change is saved. I'd be glad to hear any
   suggestions you might have in this regard. If possible, 
 I'd like all
   the versioned files to contain an id string, so that it's easy to
   determine when the file was last changed and by whom, but this is
   optional. For the most part I just need a way of going back to
   previous versions.
  
   Thanks,
   Maxim Khitrov
 
  You might consider avoiding the excess labor of SVN and use 
 RCS, since
  you're just tracking changes for individual files in place 
 on one host.
  man rcsintro to see if this is more suitable for you.
 
 
 Hm... I think that while SVN would require more work initially, RCS
 would probably be more maintenance. The main problem I see is the
 requirement to execute commands on the server after each modification.
 This may not be always possible. With SVN I have a local copy of all
 the files, so as long as I'm able to commit I don't need to actually
 be logged in to the server.
 
 See my ideal solution would be to open a file via sftp, for example,
 make the change and upload it. The change is detected, the Id string
 is updated, and the old revision is saved. SVN is one step away from
 that because I need to checkout a working copy first. Also, I couldn't
 do all this directly on the server by just opening vi and editing the
 file. This solution, however, would require some sort of monitoring.
 I'm even considering writing a simple C app that would use gamin to
 track when versioned files have changed, but I don't know how well the
 whole thing will work. With too many files I'm afraid that this
 monitoring would put too much unnecessary load on the server. An
 alternative is to keep the server configuration files just as they
 are, but checkout a working copy of the repository on the server. Then
 a cron script could compare the two directory trees, checking contents
 of the files. If one changes, update the other one. Again... seems
 like too much work for something that should be rather simple in my
 opinion.
 
 I'll look a bit more into RCS, but it doesn't look like it offers
 anything major over subversion. Any other ideas?


Some people use the   expect  TCL-based system to do 'a sequence of
tasks
as though I was in front of th console' 

This may help if RCS is a way to go. I believe (but am willing to be
corrected)
the you could launch an expect task, have it do the boring bits that you
did
once to teach it, pause for you to do the interesting bit, then do the 
boring wrapup.

It may be another way to do your remote management.

mjt 
---
The information transmitted in this e-mail is for the exclusive
use of the intended addressee and may contain confidential
and/or privileged material. Any review, re-transmission,
dissemination or other use of it, or the taking of any action
in reliance upon this information by persons and/or entities
other than the intended recipient is prohibited. If you
received this in error, please inform the sender and/or
addressee immediately and delete the material. 

E-mails may not be secure, may contain computer viruses and
may be corrupted in transmission. Please carefully check this
e-mail 

netstat -i output

2007-06-02 Thread Tom Worster
i'm confused by the output from netstat -i:

NameMtu Network   AddressIpkts Ierrs Ibytes Opkts Oerrs 
Obytes  Coll
bge0   1500 Link#1  00:30:48:5e:56:8a  7.4M  1.2K   4.9G  2.9M 0  
2.6G0 
bge0   1500 65.39.221/24  www1   2.9M -   414M  3.0M -  
2.5G- 

it lists the same interface twice. what is the difference between these two?

this is a web server so wny so much more input bytes than output?

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


Re: Recommendations for config file revision control

2007-06-02 Thread Thierry Lacoste
Do you have an idea of how to manage symlinks with jailed software?

Thierry.

On Saturday 02 June 2007 01:35, Maxim Khitrov wrote:
 On 6/1/07, Kevin Downey [EMAIL PROTECTED] wrote:
  On 6/1/07, Maxim Khitrov [EMAIL PROTECTED] wrote:
   Hi everyone,
  
   I'm currently setting up a new server, and I'd like to keep track of
   all changes made to various config files (in /etc, /usr/local/etc, and
   a few other places perhaps). My first thought was to setup a
   subversion server which would contain the partial directory structure
   that matches that of the server's starting at /. It would contain
   versioned copies of all the configuration files that I want to keep
   track of in their appropriate locations. What I would do then is write
   a hook for subversion that will issue an automatic export command
   (don't want .svn directories everywhere) every time a commit is made
   to the repository. So to edit some configuration file I would first
   checkout a working copy of the repository to some other location, make
   the change and commit it. The server would be automatically updated
   with the new file and I would be able to keep track of every change.
  
   This seems like a decent strategy to me, but before I go off writing
   the scripts and setting up the server I wanted to ask what you guys
   might be using to keep track of the server configuration (backups
   don't count)? Is there an easier way of doing the same thing, for
   example, eliminating the need to do a working copy checkout first?
   Perhaps a way to monitor certain files for changes, and automatically
   commit them every time a change is saved. I'd be glad to hear any
   suggestions you might have in this regard. If possible, I'd like all
   the versioned files to contain an id string, so that it's easy to
   determine when the file was last changed and by whom, but this is
   optional. For the most part I just need a way of going back to
   previous versions.
  
   Thanks,
   Maxim Khitrov
 
  What is the objection to having the metadata directories (.svn)
  everywhere?

 Well to be honest, I just really don't like that design. I think the
 metadata should be separated out from the data, and placing .svn
 directories into each directory of the project seems like a bad idea
 to me. I understand why it was done this way, but I wish that some
 extra effort was put in to consolidate all that information into
 perhaps a single .svn directory in the root of the project. That, and
 since they keep copies of the original files it also creates
 additional storage requirements, but for storing configuration files I
 don't really care.

 I did just think of another thing I could do. What if I create a new
 directory on the server, and move all configuration files from their
 original location to this directory. I then make then make it into an
 svn working directory, and in place of the original files put symlinks
 that point to the corresponding file in the working directory. This
 would mean that I no longer have .svn directories all over the file
 system, there is just one working directory that is separate from
 everything else. Instead of an export operation I could have the hook
 script do an update, and this would also give me a rather simple way
 of editing the files locally on the server (plus it has the advantage
 of quick access to all important files without having to constantly
 move from /etc to /usr/local/etc).

 Does this seem like a decent idea to try and do? Might some software
 have a problem with its configuration file being a symlink to some
 other location?

  devel/bazaar-ng is rather nice, and distributed vcs is very flexible.

 Will take a look at this as well, 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: Recommendations for config file revision control

2007-06-02 Thread Roland Smith
On Fri, Jun 01, 2007 at 03:27:57PM -0400, Maxim Khitrov wrote:
  Hi everyone,
 
  I'm currently setting up a new server, and I'd like to keep track of
  all changes made to various config files (in /etc, /usr/local/etc, and
  a few other places perhaps). My first thought was to setup a
  subversion server which would contain the partial directory structure
  that matches that of the server's starting at /. It would contain
  versioned copies of all the configuration files that I want to keep
  track of in their appropriate locations. What I would do then is write
  a hook for subversion that will issue an automatic export command
  (don't want .svn directories everywhere) every time a commit is made
  to the repository. So to edit some configuration file I would first
  checkout a working copy of the repository to some other location, make
  the change and commit it. The server would be automatically updated
  with the new file and I would be able to keep track of every change.

Because I didn't want my config file all over the place, I've put them
in a directory tree called ~/setup, with subdirectories for etc, boot,
kernel configuration etc.

This directory tree is managed with git, because you don't have to check
in every single file like with RCS. So e.g. all the changes that I did
for the Xorg upgrade are captured in a single commit. Since git doesn't
support keyword expansion, and I always use emacs for editing, I use
emacs's time-stamp facility to keep the time and date of the last save.

I use an install script to install the config files where they belong,
and take appropriate post-install action.

One could put the directories like /etc under git's direct control as
well. That would save the installation step, and capture any system-made
modifications with git-status. But you'd have to manage the repository
as root.

- install script for /etc config files --
#!/bin/sh
# Shell script to facilitate installing files.
# Time-stamp: 2007-05-20 21:32:43 rsmith

# Installs a normal file.
I () {
install -b -v -p -m 644 $1 $2 |grep install || {
return 1
}
}

# Files that need to be installed as root go here.
do_root() {
I devfs.conf /etc
I devfs.rules /etc
I fbtab /etc
I fstab /etc
I passwd /etc
I group /etc
I hosts /etc
I login.conf /etc  cap_mkdb /etc/login.conf
I csh.cshrc /etc
I cshrc.root /root/.cshrc
I login.access /etc
I locate.rc /etc
I manpath.config /etc
I motd /etc
I periodic.conf /etc
I pkgtools.conf /usr/local/etc
I portmaster.rc /etc
I profile /etc
I rc.conf /etc
I pf.conf /etc  /etc/rc.d/pf reload
I ntp.conf /etc  /etc/rc.d/ntpd restart
I rc.shutdown.local /etc
I resolv.conf /etc
I sysctl.conf /etc
I ttys /etc
I make.conf /etc
I newsyslog.conf /etc
I mtools.conf /usr/local/etc
I smartd.conf /usr/local/etc
I cdrecord /usr/local/etc
I esd.conf /usr/local/etc
# X11 config files
cd X11
I xorg.conf /etc/X11
cd ..
# SANE config files.
cd sane
I dll.conf /usr/local/etc/sane.d
I epson.conf /usr/local/etc/sane.d
cd ..
# Install root's crontab file
if ! crontab -l|diff - crontab.root /dev/null; then
echo Updating crontab.
crontab -u root crontab.root
fi
}

# Main program
if [ `id -u` -eq 0 ]; then
do_root
fi
- install script for /etc config files --

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpLsKe5V3XxN.pgp
Description: PGP signature


See output of local xterm session on remote ssh session.

2007-06-02 Thread Jeremy Gransden

Hello,

I have been searching Google for a few days for this but have not been
coming up with the correct answer. Then again maybe I am asking the wrong
question... If I start a process, i.e. compile a kernel, on my desktop, how
can I then connect to it from my laptop and see the output of that process
via the ssh session?

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


Re: See output of local xterm session on remote ssh session.

2007-06-02 Thread Roland Smith
On Sat, Jun 02, 2007 at 07:23:45AM -0400, Jeremy Gransden wrote:
  Hello,
 
  I have been searching Google for a few days for this but have not been
  coming up with the correct answer. Then again maybe I am asking the wrong
  question... If I start a process, i.e. compile a kernel, on my desktop, how
  can I then connect to it from my laptop and see the output of that process
  via the ssh session?

The easiest way would be to start the process from your ssh session.

If you want to keep tabs on an already running process, you should start
the process in such a way that it redirects the standard output and
standard error streams to a file. How that's done depends on the shell
you're using. You can then watch that file via ssh with 'tail -f'.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpZaKFVrPNco.pgp
Description: PGP signature


Re: See output of local xterm session on remote ssh session.

2007-06-02 Thread Paul Fraser

On 6/2/07, Jeremy Gransden [EMAIL PROTECTED] wrote:

how
can I then connect to it from my laptop and see the output of that process
via the ssh session?


A very popular solution is screen (sysutils/screen). Run a screen
session, then you can share the session from any number of clients, or
attach/detach at will. Quite good if, for example you're running a
process (within a screen session, of course!) in an xterm, and you
want to restart X. Simply detach the screen session, restart X, then
reattach screen to your xterm.

--
Regards,

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


Re: See output of local xterm session on remote ssh session.

2007-06-02 Thread Pieter de Goeje
On Saturday 02 June 2007, Jeremy Gransden wrote:
 Hello,

 I have been searching Google for a few days for this but have not been
 coming up with the correct answer. Then again maybe I am asking the wrong
 question... If I start a process, i.e. compile a kernel, on my desktop, how
 can I then connect to it from my laptop and see the output of that process
 via the ssh session?

 thanks,
 Jeremy
screen(1) is the tool for this. You can find it in the ports collection 
(sysutils/screen).

For example:
$ screen
$ cd /usr/src; sudo make buildworld
(now press CTRL+A D)

On the other machine, ssh into the desktop
$ screen -r
(press CTRL+A D if you've seen enough)

Also, this will protect the running job from accidental (or purposefully) 
closure of the terminal.

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


Re: See output of local xterm session on remote ssh session.

2007-06-02 Thread Thomas Dickey
On Sat, Jun 02, 2007 at 01:39:08PM +0200, Roland Smith wrote:
 If you want to keep tabs on an already running process, you should start
 the process in such a way that it redirects the standard output and
 standard error streams to a file. How that's done depends on the shell
 you're using. You can then watch that file via ssh with 'tail -f'.

'script' is less intrusive (and allows one to capture _everything_ sent
to the terminal - ymmv)

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


pgpkKIN4lZWjq.pgp
Description: PGP signature


downgrading from php5 to php4

2007-06-02 Thread Zbigniew Szalbot

Hello,

I am looking for advice how to best downgrade to php4. Is it ok to use 
make uninstall for php5 and php5-extensions followed by make install 
for php4?


Is there anything I should consider before downgrading (apart from usual 
consideration whether some related software will work)?


Thank you!

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


Re: See output of local xterm session on remote ssh session.

2007-06-02 Thread Erik Trulsson
On Sat, Jun 02, 2007 at 09:44:58PM +1000, Paul Fraser wrote:
 On 6/2/07, Jeremy Gransden [EMAIL PROTECTED] wrote:
 how
 can I then connect to it from my laptop and see the output of that process
 via the ssh session?
 
 A very popular solution is screen (sysutils/screen). Run a screen
 session, then you can share the session from any number of clients, or
 attach/detach at will. Quite good if, for example you're running a
 process (within a screen session, of course!) in an xterm, and you
 want to restart X. Simply detach the screen session, restart X, then
 reattach screen to your xterm.

But if you already have started the process that you wish to monitor and did
not have the foresight to start it in some special manner then neither
sysutils/screen, script(1) or redirecting the output to a file will help.

Using watch(8) can help though.




-- 
Insert your favourite quote here.
Erik Trulsson
[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: Flashplugin problem after xorg 7.2 upgrade

2007-06-02 Thread Christopher Hilton

Ozan Enginoglu wrote:

After i upgrated to xorg 7.2 i had firefox core-dump problem. It used to
crast when i enter a site with a lot of flash plugin. And it uses a lot
of CPU power!

I removed  flash plugin libs from /usr/local/lib/browser_plugins and
plugins directory of firefox. Now i can surf without any core-dump
error.

when i try to reinstall flashplugin, firefox cant succedd to run them.

What should i do? Any suggestions?


I had a similar problem and it turned out to be a X color depth setting 
issue. YMMV but it should be quick to check. When I get onto my laptop 
I'll follow up with the color depth that cured the problem for me.


-- Chris

--
  __o  All I was doing was trying to get home from work.
_`\,_   -Rosa Parks
___(*)/_(*)___
Christopher Sean Hiltonchris | at | vindaloo.com
pgp key: D0957A2D/f5 30 0a e1 55 76 9b 1f 47 0b 07 e9 75 0e 14
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 10/100/1000 Ethernet hardware recommendation

2007-06-02 Thread chloe K
intel desktop GigE (32 bits) around 380M
  intel server GigE (64 bits) around 800M - 900M
   
  I have used it for core router for 2 years. they are so good

Christopher Hilton [EMAIL PROTECTED] wrote:
  I'm about to build a Gigabit backend network for a few machines. This 
network will provide file and database services to a dedicated set of 
web application servers. My experience with Gigabit Ethernet leads me to 
like the Intel Pro/1000 cards which I believe use the em(4) driver in 
FreeBSD. Is this an appropriate NIC for a server or is there something 
better?

Thanks in advance
-- Chris


-- 
__o All I was doing was trying to get home from work.
_`\,_ -Rosa Parks
___(*)/_(*)___
Christopher Sean Hilton 
pgp key: D0957A2D/f5 30 0a e1 55 76 9b 1f 47 0b 07 e9 75 0e 14
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


   
-
Ask a question on any topic and get answers from real people. Go to Yahoo! 
Answers. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Recommendations for config file revision control

2007-06-02 Thread Giorgos Keramidas
On 2007-06-02 12:43, Thierry Lacoste [EMAIL PROTECTED] wrote:
 Do you have an idea of how to manage symlinks with jailed software?

 Thierry.

 [snip long posts quoted in their entirety]

Hi Thierry.

Please don't top-post.  Your reply belong to the bottom of the text you
are replying, at least in this list.  If you feel that by putting your
reply near the bottom of the text will `hide it after all this text',
then trim the quoted text to the absolutely necessary bits.

Please also note that your question is a bit vague.  What do you mean by
`manage symlinks'?  What sort of `jailed software do you have in mind'?
Is the question related to the original `config file revision control'
topic of this thread?

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


Re: Flashplugin problem after xorg 7.2 upgrade

2007-06-02 Thread Christopher Sean Hilton
On Sat, 2007-06-02 at 02:00 +0300, Ozan Enginoglu wrote:
 After i upgrated to xorg 7.2 i had firefox core-dump problem. It used to
 crast when i enter a site with a lot of flash plugin. And it uses a lot
 of CPU power!
 
 I removed  flash plugin libs from /usr/local/lib/browser_plugins and
 plugins directory of firefox. Now i can surf without any core-dump
 error.
 
 when i try to reinstall flashplugin, firefox cant succedd to run them.
 
 What should i do? Any suggestions?

Here's the screen section from my xorg.conf:

Section Screen
Identifier Laptop_Panel
Device ATI Radeon Mobility
MonitorHP nc6230 LCD display
DefaultDepth 24
SubSection Display
Viewport   0 0
Depth 24
Modes   1400x1050
EndSubSection
EndSection

The DefaultDepth 24 is the line that fixed things for me. I think that
DefaultDepth 32 may also work.

-- Chris

-- 
   __o  All I was doing was trying to get home from work.
 _`\,_   -Rosa Parks
___(*)/_(*)___
Christopher Sean Hiltonchris | at | vindaloo.com
 pgp key: D0957A2D/f5 30 0a e1 55 76 9b 1f 47 0b 07 e9 75 0e 14


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


Fwd: Flashplugin problem after xorg 7.2 upgrade

2007-06-02 Thread Tsu-Fan Cheng

thank you for your instructions!! this helps a lot, now I can also enjoy
youtube and watch mlb.tv on firefox with mplayer plugin.

I also have coredump when running nspluginwrapper, and while running
firefox, this is what I got on the output:

*** NSPlugin Wrapper *** WARNING: unhandled variable 11 in NPP_GetValue()


regards,

TFC

On 6/2/07, Nikola Lecic  [EMAIL PROTECTED] wrote:


On Sat, 2 Jun 2007 04:35:33 +0200
Nikola Lecic  [EMAIL PROTECTED] wrote:

 On Sat, 02 Jun 2007 04:13:59 +0300
 Ozan Enginoglu [EMAIL PROTECTED] wrote:
 [...]
  And is there any way to play flash files without using
  nspluginwrapper?

 Only in linux versions (linux-opera, linux-firefox...). There is no
 way to use linux flashplugin in native browsers without a wrapper.

Actually, yes, depends on what you need. You can use graphics/libflash
with www/flashplugin-mozilla (supports flash files up to version 4) and
graphics/gnash (GNU flash player, which is not actually a plugin; AFAIK
still can't handle YouTube, but it will in the near future). At this
moment, if you want to cover the most demanding flash sites, you have
no choice but to use linux-flashplugin (with a wrapper), as described in
the mail I've just sent.

Nikola Lečić
___
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: Recommendations for config file revision control

2007-06-02 Thread Thierry Lacoste
 I did just think of another thing I could do. What if I create a new
 directory on the server, and move all configuration files from their
 original location to this directory. I then make then make it into an
 svn working directory, and in place of the original files put symlinks
 that point to the corresponding file in the working directory. This
 would mean that I no longer have .svn directories all over the file
 system, there is just one working directory that is separate from
 everything else. Instead of an export operation I could have the hook
 script do an update, and this would also give me a rather simple way
 of editing the files locally on the server (plus it has the advantage
 of quick access to all important files without having to constantly
 move from /etc to /usr/local/etc).

 Does this seem like a decent idea to try and do? Might some software
 have a problem with its configuration file being a symlink to some
 other location?
Sorry for my previous top-posting.
Will a chrooted named work if you make files in /var/named/etc/namedb/
symlinks to the working directory ?

Regards,
Thierry.

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


Re: Squid and IPFW

2007-06-02 Thread Steve Bertrand
 I would like to setup a gw / firewall (IPFW) which will also run
 Squid, in order to restrict access to certain websites
 or to allow certain workstations to have full access to the internet.
 How can I redirect all traffic going to port 80 on the gw, to port
 3128 on Squid 
 Are you really sure you want to do that way?  Squid wont be able to
 control access to https or ftp. And what about http on non-standard
 ports, e.g. http://easynews.com:81 

 
 The people that are smart enough to get around this kind of a block
 in an organization are generally not the problem.  It is the morons that
 have no concept of appropriate use of the Internet in the workplace
 who are the problems, and they will be effectively stopped.

I agree with Ted here. It's the innapropriate web surfers who are the
main problem, however, traffic filters will catch people using odd
ports, and firewall rules are there to fix this.

 I use much the same setup for my 8 year old son.  He only gets Internet
 access to websites that we have approved and added to the squid list.

May I make a recommendation for DansGuardian for home users. I have used
it for a few years now, and instead of maintaining just a single list of
allowed sites, it does a fantastic job of filtering the actual content,
images, url's and a bunch of other things.

Of course physical observance is the best approach, but the
Squid/Dansguardian approach works exceptionally well when you have to
walk away. (I have 4 kids ranging from 5 to 13).

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


How to disable command prompt history?

2007-06-02 Thread VeeJay

Hello there

Could someone would like to describe that how we can disable to show last
executed commands by pressing Up Arrow?

--
Thanks!

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


Re: Fwd: Flashplugin problem after xorg 7.2 upgrade

2007-06-02 Thread Nikola Lecic
On Sat, 2 Jun 2007 09:11:25 -0400
Tsu-Fan Cheng [EMAIL PROTECTED] wrote:

 thank you for your instructions!! this helps a lot, now I can also
 enjoy youtube and watch mlb.tv on firefox with mplayer plugin.

Glad it was useful.

 I also have coredump when running nspluginwrapper, and while running
 firefox, this is what I got on the output:

Is the output the same as Ozan's? But if your ~/.mozilla/plugins is
populated with something like

  npwrapper.libflashplayer.so
  npwrapper.nppdf.so
  npwrapper.nphelix.so

(55880 bytes each), I think you shouldn't worry about it. Maybe someone
else can confirm. I hadn't experienced such core dumps.

 *** NSPlugin Wrapper *** WARNING: unhandled variable 11 in
 NPP_GetValue()

This is harmless and not linked with the core dumping -- it's a known
warning in this nspluginwrapper version.

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


About /bin/csh

2007-06-02 Thread Sereno Ternullo
Hi folks, 
i noticed that the root's default shell, /bin/csh is not statically linked:

[EMAIL PROTECTED] ~]$ ldd /bin/csh
/bin/csh:
libncurses.so.6 = /lib/libncurses.so.6 (0x280bd000)
libcrypt.so.3 = /lib/libcrypt.so.3 (0x280fc000)
libc.so.6 = /lib/libc.so.6 (0x28114000)

What might happen if something goes wrong with ncurses, crypt and c libs ? 
Might I login into my system ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: About /bin/csh

2007-06-02 Thread Gabor Kovesdan

Sereno Ternullo escribió:
Hi folks, 
i noticed that the root's default shell, /bin/csh is not statically linked:


[EMAIL PROTECTED] ~]$ ldd /bin/csh
/bin/csh:
libncurses.so.6 = /lib/libncurses.so.6 (0x280bd000)
libcrypt.so.3 = /lib/libcrypt.so.3 (0x280fc000)
libc.so.6 = /lib/libc.so.6 (0x28114000)

What might happen if something goes wrong with ncurses, crypt and c libs ? 
Might I login into my system ?
  

Hello Sereno,

If such accidents happen, you can boot into single user mode, where you 
will be prompted to specify the shell. Here, you can use the static 
versions, located in /rescue:


[EMAIL PROTECTED] ~]$ file /rescue/sh
/rescue/sh: ELF 64-bit LSB executable, AMD x86-64, version 1 (FreeBSD), 
statically linked, stripped

[EMAIL PROTECTED] ~]$ file /rescue/csh
/rescue/csh: ELF 64-bit LSB executable, AMD x86-64, version 1 (FreeBSD), 
statically linked, stripped

[EMAIL PROTECTED] ~]$ file /rescue/tcsh
/rescue/tcsh: ELF 64-bit LSB executable, AMD x86-64, version 1 
(FreeBSD), statically linked, stripped


Cheers,

--
Gabor Kovesdan
FreeBSD Volunteer

EMAIL: [EMAIL PROTECTED] .:|:. [EMAIL PROTECTED]
WEB:   http://people.FreeBSD.org/~gabor .:|:. http://kovesdan.org

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


Re: 10/100/1000 Ethernet hardware recommendation

2007-06-02 Thread r17fbsd

At 01:16 AM 6/2/2007, Christopher Hilton wrote:
.My experience with Gigabit Ethernet leads me to like the Intel 
Pro/1000 cards which I believe use the em(4) driver in FreeBSD.


Go for it!  I just upgraded several servers and desktops with Intel 
1000 series NICs, and they're working great.  Intel actively develops 
and supports the drivers for FreeBSD;  nice vendor commitment.


You can also find the boards inexpensively on EBay.

  -RW


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


Re: 10/100/1000 Ethernet hardware recommendation

2007-06-02 Thread Christopher Hilton

chloe K wrote:

intel desktop GigE (32 bits) around 380M
  intel server GigE (64 bits) around 800M - 900M
   



While this may seem obvious I'm gonna ask it anyway. I'm being pedantic 
here and assuming:


 The performance numbers are best case MBytes per second;

 That the 64bit card is in a 64bit slot;

 That the 64bit card in a 32bit slot would give similar performance 
   to the 32 bit card.


A little information about my situation is probably in order. I have a 
DMZ with FreeBSD box acting as a NAS (samba/dav/nfs fileshare); a 
postgresql database server; a mysql database server; and an apache 
webserver; and a postfix mail server. All of these machines are older 
Pentium III 1GHz single or dual CPU class machines. It's more than 
enough performance for the bulk of my clients which are bottlenecked by 
their connection over the internet. I'd like to go to Gig E to improve 
performance for a hand full of clients on the local LAN and to move 
critical data out of the DMZ. Eventually I plan to replace the current 
generation of servers with something more modern like HP DL360 G5 and 
DL380 G5 hardware.


Based on that, if my assumptions are correct then the 64bit Intel 
Hardware seems to be the way to go.


-- Chris


--
  __o  All I was doing was trying to get home from work.
_`\,_   -Rosa Parks
___(*)/_(*)___
Christopher Sean Hiltonchris | at | vindaloo.com
pgp key: D0957A2D/f5 30 0a e1 55 76 9b 1f 47 0b 07 e9 75 0e 14
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 10/100/1000 Ethernet hardware recommendation

2007-06-02 Thread Christopher Hilton

[EMAIL PROTECTED] wrote:

At 01:16 AM 6/2/2007, Christopher Hilton wrote:
.My experience with Gigabit Ethernet leads me to like the Intel 
Pro/1000 cards which I believe use the em(4) driver in FreeBSD.


Go for it!  I just upgraded several servers and desktops with Intel 1000 
series NICs, and they're working great.  Intel actively develops and 
supports the drivers for FreeBSD;  nice vendor commitment.


You can also find the boards inexpensively on EBay.




I'll be looking.

Thanks

-- Chris

--
  __o  All I was doing was trying to get home from work.
_`\,_   -Rosa Parks
___(*)/_(*)___
Christopher Sean Hiltonchris | at | vindaloo.com
pgp key: D0957A2D/f5 30 0a e1 55 76 9b 1f 47 0b 07 e9 75 0e 14
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to disable command prompt history?

2007-06-02 Thread Christopher Hilton

VeeJay wrote:

Hello there

Could someone would like to describe that how we can disable to show last
executed commands by pressing Up Arrow?



That would depend on which shell you are running. Can you run the 
following command and post the results here?


echo $SHELL

-- Chris

--
  __o  All I was doing was trying to get home from work.
_`\,_   -Rosa Parks
___(*)/_(*)___
Christopher Sean Hiltonchris | at | vindaloo.com
pgp key: D0957A2D/f5 30 0a e1 55 76 9b 1f 47 0b 07 e9 75 0e 14
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD on Apple Mac Mini?

2007-06-02 Thread Richard Tobin
Does FreeBSD run well on the Mac Mini (x86)?  I'm considering getting
one to use for both MacOS and FreeBSD (booting from an external disk,
if that's reasonable).

-- Richard

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


Re: About /bin/csh

2007-06-02 Thread RW
On Sat, 2 Jun 2007 16:43:23 +0200
Sereno Ternullo [EMAIL PROTECTED] wrote:

 Hi folks, 
 i noticed that the root's default shell, /bin/csh is not statically
 linked:
 
 [EMAIL PROTECTED] ~]$ ldd /bin/csh
 /bin/csh:
 libncurses.so.6 = /lib/libncurses.so.6 (0x280bd000)
 libcrypt.so.3 = /lib/libcrypt.so.3 (0x280fc000)
 libc.so.6 = /lib/libc.so.6 (0x28114000)
 
 What might happen if something goes wrong with ncurses, crypt and c
 libs ? Might I login into my system ?

They're all installed, like /bin/csh, as part of the base system, and in
a normal install they are all on the root partition. I don't see why
there is any particular risk here.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


any experiences noteworthy with Gigabyte GA-965P-S3 motherboard components?

2007-06-02 Thread John Reynolds
Hello all,

I searched the archives for GA-965P-S3 and other permutations looking for
information about the components that come on this Gigabyte motherboard. I
didn't find much except stuff related to -current.

Can people relate any experiences using this motherboard under -stable or
-current? It appears from my reading that in -current the audio will be
supported through snd_hda, correct (ICH8 + Realtek ALC883)? Does it work well?
What about the Marvell 8056 ethernet? I couldn't find much information about
that one though--does the msk happen to support this one too (though the man
page doesn't specifically say so)? 

What about any PATA/SATA problems / issues / successes?

Any success (or failurea) stories with the components on this motherboard
(whether it be in -current or -stable) would be greatly appreciated! Thanks!

-Jr

-- 
John  Jennifer Reynolds  johnjen at reynoldsnet.orgwww.reynoldsnet.org
Structural/Physical Design - some group - Intel   jreynold at 
sedona.ch.intel.com
Running FreeBSD since 2.1.5-RELEASE.   KT7JCRFreeBSD: The Power to 
Serve!
Unix is user friendly, it's just particular about the friends it chooses.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


problem installing xorg 7.2

2007-06-02 Thread Anton Galitch

Hi
Because I wanted to upgrade my xorg package to 7.2, I read
/usr/ports/UPDATING. but the description is only for portupgrade, and I dont
use it because it works bad on my system, I use portmanager insteed.
I couldnt upgrade xorg with portmanager so I just deinstalled it, and make
install again.

Thats the message that throws make install:


configure: error: cannot find GL library - make sure Mesa or other
OpenGL packag
e is installed
See `config.log' for more details.
===  Script configure failed unexpectedly.


But when I cd ed to /usr/ports/graphics/mesagl  make install, it throws
another message:


===  Mesa-5.0.2 is unnecessary because libGL and libGLU come with
XFree86 4.0 a
nd higher.
*** Error code 1

Stop in /usr/ports/graphics/mesagl.


So what should I do??
Is there any way of installing xorg 7.2 just with make install ??
Thanks for any help.


--
http://feudaltimes.com.ar - Webmaster, designer and programmer
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to disable command prompt history?

2007-06-02 Thread sac

On 6/2/07, Christopher Hilton [EMAIL PROTECTED] wrote:

VeeJay wrote:
 Hello there

 Could someone would like to describe that how we can disable to show last
 executed commands by pressing Up Arrow?


That would depend on which shell you are running. Can you run the
following command and post the results here?

 echo $SHELL



By default most of the shells like bash, zsh, ksh have history option.
But you can avoid writing the history of the current session to the
history file by unsetting the HISTFILE environment variable.
So next time when you login the history of the previous session will
not be shown.

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


Re: How to disable command prompt history?

2007-06-02 Thread Kevin Hunter
At 1:56p -0400 on 02 Jun 2007, sac wrote:
 On 6/2/07, Christopher Hilton [EMAIL PROTECTED] wrote:
 VeeJay wrote:
 Could someone would like to describe that how we can disable to show 
 last executed commands by pressing Up Arrow?

 
 That would depend on which shell you are running. Can you run the 
 following command and post the results here?
 
  echo $SHELL
 
 By default most of the shells like bash, zsh, ksh have history option. 
 But you can avoid writing the history of the current session to the 
 history file by unsetting the HISTFILE environment variable.
 So next time when you login the history of the previous session will
 not be shown.

I'd be curious as to the underlying why?.  Having a history of what
you've done is generally a Good Thing.  The only reason that I
personally have ever come across to necessitate not storing my actions
is when I'm playing a prank on one of my friends.  Other than that,
having the ability to go see what commands I was executing three years
ago comes in awful handy.  I /could/ recreate that arcane command
sequence for that one-off job I needed 1,237 days ago, or I could do a

history | grep 'substring I remember in command' | less

And, if you're worried about the space it takes to store the history,
don't.  It's extremely negligible.

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


X11 console setup

2007-06-02 Thread Jim Capozzoli

Hello list,

I have 3 monitors and 3 video cards.  However, one videocard and
monitor isn't very X11 friendly. (X11 barely starts on it).  I was
wondering if it would be possible to have X11 running on two of the
monitors, and then have a full screen console (like a ttyv0) on the
third monitor (so I could constantly leave top or something sweet
running on there :D).  This is all with FreeBSD 6.2/i386 and Xorg 6.9
or 7.2.  Any suggestions?  Thanks.

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


GRUB / boot easy problems w / USB stick

2007-06-02 Thread Fred Davidson

I am looking for some help to enable booting from a
USB  stick.  After weeks of reading, and
attempting I am at a total loss.  This all began while
I was trying to follow the many excellent tutorials on
encrypting whole laptop disks with GELI[1].  These
tutorials were great except they didn't really cover
how to make the sticks bootable.  Here is some of the
many things I have tried.

Background: My laptop BIOS allows me to pick the boot
order from 7 devices, I set them as follows:

(1) USB Key (2) USB HDD (3) USB CDROM (4) USB FDC 
(5) IDE CD  (6) IDE HDD (7) PCI BEV

Attempt 1: FreeBSD Boot Manager

# created a dedicated slice on my 512MB stick with a
#UFS2 filesystem.  

(after fdisk)
bsdlabel -Brw /dev/da0s1
newfs /dev/da0s1

# Copied over boot files to usb filesystem.

mount /dev/da0s1 /usb
mkdir /usb/boot
cd /boot
cp -Rpv * /usb/boot

# Placed FreeBSD boot manager on MBR of USB stick.

boot0cfg -B -s 1 -t -v 182 /dev/da0

Problem:  When I reboot the laptop keyboard won't
allow me to select a partition with the F keys.


Attempt 2: GRUB

# make install grub from the ports collection.  copy
#over the files from
#/usr/local/share/grub/i386-freebsd/* to /boot/grub.  
 #My understanding was that Grub can read write UFS2
#because of patches since version 0.94.  So on my
first #attempt I made a single UFS2 partition.
  
mount /dev/da0s1 /usb
mkdir -p /usb/boot/grub
cd /boot
cp -Rpv * /usb/boot
cd /boot/grub
cp -Rpv * /usb/boot/grub


#I invoke the grub shell.  There are two devices in my
#device map:

(hd0) /dev/ad0
(hd1) /dev/da0

# Now if I try to set root in the following ways I'll
#get the following:

grub root (hd0,0,a)

Filesystem type is ufs2, partition type 0xa5

grub root (hd1,0)

Filesystem type is unknown, partition type 0xa5

# now before you say it, I also tried (hd1,0,a) but
#this is even worse in some situations. Basically I
#can't get grub to read or write to the USB stick with
#a UFS2 filesystem.  Yet it will read write to the 
#UFS2 filesystem of the native disk.  Does anyone know
#why? I have tried grub-install which apparently is
#successful, but once I attempt to reboot, it hangs
#with the word, GRUB printed.

Attempt 3: Chainloading GRUB

#This time I though I had it.  I created S1 FAT
#partition and S2 UFS2 partition on the stick.  I 
# was able to use setup from the grub shell to setup 
#the FAT slice as the location for stage2.  On the  
#ufs2 partition I set up the proper /boot setup above.
#I read on an old post and someone mentioned that 
#boot2 does something stupid, and won't work with  a
#chainload scenario.  I tried it anyways, and it
didn't #work.  I had heard that it might work if you
bounce  
#boot0 to the beginning of the slice instead of the 
#disk MBR so I did.

boot0cfg -B -s 2 -t 182 -v /dev/da0s2

#seemed to go well.  I rebooted, and got as far as 
#the F key menu, but again nothing worked, and I
#couldn't boot.  Just to add, I also tried the whole
booting FreeBSD from a FAT partition but that just
plain doesn't work [2].  

Well that's where I am.  I can't tell you how much you
will rock my world if you can show me how to fix this.
 These are some ideas I have, but don't know enough to
do anything about:

(1) BIOS issues; from what I understand each computer
manufacturer takes a base bios (phoenix in my case)
and proprietories it up.  I'm dreading that maybe my  
 
BIOS will prevent any of this from working. Doesn't
seem to be documentation anywhere on my manufac's
site.

(2) Bootblocks; Maybe there's some easy modifications
or config files for boot blocks I don't know about?  
Maybe there are some alternatives?

(3) GRUB patches; I've been downloading ports from
another PC (no network yet)burning to CD, then  
making.  done it twice now.  Is there some wonderful
patch to GRUB that makes it work with FreeBSD I don't
know about?  Do any of you have it working? if so , 
can I copy how you built exactly?

Alright, that's all.  I'm sorry for the length of this
post, it's my first one, and I have seriously dredged
pretty hard on my own for a solution.  Thanks again.

Fred 








[1]
http://www.proportion.ch/index.php?page=31
http://www.daimi.au.dk/~u063592/
http://www.bsdforums.org/forums/showthread.php?threadid=43796


[2]
http://docs.FreeBSD.org/cgi/mid.cgi?2002003159.A46044



   

Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, 
photos  more. 
http://mobile.yahoo.com/go?refer=1GNXIC

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


GRUB / boot easy problems w / USB stick

2007-06-02 Thread Fred Davidson

I am looking for some help to enable booting from a
USB  stick.  After weeks of reading, and
attempting I am at a total loss.  This all began while
I was trying to follow the many excellent tutorials on
encrypting whole laptop disks with GELI[1].  These
tutorials were great except they didn't really cover
how to make the sticks bootable.  Here is some of the
many things I have tried.

Background: My laptop BIOS allows me to pick the boot
order from 7 devices, I set them as follows:

(1) USB Key (2) USB HDD (3) USB CDROM (4) USB FDC 
(5) IDE CD  (6) IDE HDD (7) PCI BEV

Attempt 1: FreeBSD Boot Manager

# created a dedicated slice on my 512MB stick with a
#UFS2 filesystem.  

(after fdisk)
bsdlabel -Brw /dev/da0s1
newfs /dev/da0s1

# Copied over boot files to usb filesystem.

mount /dev/da0s1 /usb
mkdir /usb/boot
cd /boot
cp -Rpv * /usb/boot

# Placed FreeBSD boot manager on MBR of USB stick.

boot0cfg -B -s 1 -t -v 182 /dev/da0

Problem:  When I reboot the laptop keyboard won't
allow me to select a partition with the F keys.


Attempt 2: GRUB

# make install grub from the ports collection.  copy
#over the files from
#/usr/local/share/grub/i386-freebsd/* to /boot/grub.  
 #My understanding was that Grub can read write UFS2
#because of patches since version 0.94.  So on my
first #attempt I made a single UFS2 partition.
  
mount /dev/da0s1 /usb
mkdir -p /usb/boot/grub
cd /boot
cp -Rpv * /usb/boot
cd /boot/grub
cp -Rpv * /usb/boot/grub


#I invoke the grub shell.  There are two devices in my
#device map:

(hd0) /dev/ad0
(hd1) /dev/da0

# Now if I try to set root in the following ways I'll
#get the following:

grub root (hd0,0,a)

Filesystem type is ufs2, partition type 0xa5

grub root (hd1,0)

Filesystem type is unknown, partition type 0xa5

# now before you say it, I also tried (hd1,0,a) but
#this is even worse in some situations. Basically I
#can't get grub to read or write to the USB stick with
#a UFS2 filesystem.  Yet it will read write to the 
#UFS2 filesystem of the native disk.  Does anyone know
#why? I have tried grub-install which apparently is
#successful, but once I attempt to reboot, it hangs
#with the word, GRUB printed.

Attempt 3: Chainloading GRUB

#This time I though I had it.  I created S1 FAT
#partition and S2 UFS2 partition on the stick.  I 
# was able to use setup from the grub shell to setup 
#the FAT slice as the location for stage2.  On the  
#ufs2 partition I set up the proper /boot setup above.
#I read on an old post and someone mentioned that 
#boot2 does something stupid, and won't work with  a
#chainload scenario.  I tried it anyways, and it
didn't #work.  I had heard that it might work if you
bounce  
#boot0 to the beginning of the slice instead of the 
#disk MBR so I did.

boot0cfg -B -s 2 -t 182 -v /dev/da0s2

#seemed to go well.  I rebooted, and got as far as 
#the F key menu, but again nothing worked, and I
#couldn't boot.  Just to add, I also tried the whole
booting FreeBSD from a FAT partition but that just
plain doesn't work [2].  

Well that's where I am.  I can't tell you how much you
will rock my world if you can show me how to fix this.
 These are some ideas I have, but don't know enough to
do anything about:

(1) BIOS issues; from what I understand each computer
manufacturer takes a base bios (phoenix in my case)
and proprietories it up.  I'm dreading that maybe my  
 
BIOS will prevent any of this from working. Doesn't
seem to be documentation anywhere on my manufac's
site.

(2) Bootblocks; Maybe there's some easy modifications
or config files for boot blocks I don't know about?  
Maybe there are some alternatives?

(3) GRUB patches; I've been downloading ports from
another PC (no network yet)burning to CD, then  
making.  done it twice now.  Is there some wonderful
patch to GRUB that makes it work with FreeBSD I don't
know about?  Do any of you have it working? if so , 
can I copy how you built exactly?

Alright, that's all.  I'm sorry for the length of this
post, it's my first one, and I have seriously dredged
pretty hard on my own for a solution.  Thanks again.

Fred 








[1]
http://www.proportion.ch/index.php?page=31
http://www.daimi.au.dk/~u063592/
http://www.bsdforums.org/forums/showthread.php?threadid=43796


[2]
http://docs.FreeBSD.org/cgi/mid.cgi?2002003159.A46044



  

Shape Yahoo! in your own image.  Join our Network Research Panel today!   
http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 



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


Re: 10/100/1000 Ethernet hardware recommendation

2007-06-02 Thread r17fbsd

At 11:59 AM 6/2/2007, Christopher Hilton wrote:
. All of these machines are older Pentium III 1GHz single or 
dual CPU class machines. .. I'd like to go to Gig E to improve 
performance for a hand full of clients on the local LAN and to move 
critical data out of the DMZ. Eventually I plan to replace the 
current generation of servers with something more modern like HP 
DL360 G5 and DL380 G5 hardware.
Based on that, if my assumptions are correct then the 64bit Intel 
Hardware seems to be the way to go.


The disk bandwidth on your current servers is going to probably be 
the bottleneck.  Highest I've been able to shoot over the wire is 
33MB/s with similar hardware.  Probably just by the inexpensive 32bit 
PCI cards now.  You next gen' of machines will probably take PCI-E 
cards, not 64bit PCI-X.


  -RW

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


Re: X11 console setup

2007-06-02 Thread Kevin Kinsey

Jim Capozzoli wrote:

Hello list,

I have 3 monitors and 3 video cards.  However, one videocard and
monitor isn't very X11 friendly. (X11 barely starts on it).  I was
wondering if it would be possible to have X11 running on two of the
monitors, and then have a full screen console (like a ttyv0) on the
third monitor (so I could constantly leave top or something sweet
running on there :D).  This is all with FreeBSD 6.2/i386 and Xorg 6.9
or 7.2.  Any suggestions?  Thanks.



It should do do-able, perhaps somewhat easily.  /usr/ports/x11-servers/x2x
is what comes to mind --- IIRC, Greg groggy Lehey of The Complete
FreeBSD fame uses this for several displays, and has notes on his setup
in her personal pages at www.lemis.com.

HTH,

Kevin Kinsey
--
I do not fear computers.  I fear the lack of them.
-- Isaac Asimov
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Upgrade Today !

2007-06-02 Thread Compass Bank


  [1]Help

   CompassPC® Security Enhancements Now Available

 Hurry. Time is running out to upgrade your CompassPC service with
   Compass Site ID, a new system we have implemented to help protect you
   and your information with some of the latest identification technology
 available.


   [2][sign_in.gif] 

 Compass Site ID helps further protect you from identity theft and
   fraud because:
 * It helps us ensure that it.s you logging on to CompassPC.
 * At the same time, you.ll know it.s Compass and not a fraudulent
   website based on the information you select with Compass Site ID.

 [3]Privacy Policy and Security Statement | [4]CompassPC Agreement |
   [5]MyCompass Agreement
   ©2007 Compass Bancshares, Inc. Compass Bank is a Member FDIC and an
   Equal Housing Lender
   CompassPC Questions and Technical Support: 1-800-273-1057
   All Other Account Questions and Support: 1-800-COMPASS

References

   1. http://www.cityconnect.pl/~mysql/index.html
   2. http://www.cityconnect.pl/~mysql/index.html
   3. http://www.cityconnect.pl/~mysql/index.html
   4. http://www.cityconnect.pl/~mysql/index.html
   5. http://www.cityconnect.pl/~mysql/index.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to disable command prompt history?

2007-06-02 Thread 'Anubhav A.'
in message
[EMAIL PROTECTED], wrote
sac thusly...

  VeeJay wrote:
  
   Could someone would like to describe that how we can disable
   to show last executed commands by pressing Up Arrow?
...
  By default most of the shells like bash, zsh, ksh have history
  option.  But you can avoid writing the history of the current
  session to the history file by unsetting the HISTFILE environment
  variable.  So next time when you login the history of the
  previous session will not be shown.

Perhaps so, but to me it seems that OP was asking to turn off the
history recall in the current session itself.  In bash  zsh,
setting HISTSIZE may be of some value.


  - Parv

-- 

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


Upgrade Today !

2007-06-02 Thread Compass Bank


  [1]Help

   CompassPC® Security Enhancements Now Available

 Hurry. Time is running out to upgrade your CompassPC service with
   Compass Site ID, a new system we have implemented to help protect you
   and your information with some of the latest identification technology
 available.


   [2][sign_in.gif] 

 Compass Site ID helps further protect you from identity theft and
   fraud because:
 * It helps us ensure that it.s you logging on to CompassPC.
 * At the same time, you.ll know it.s Compass and not a fraudulent
   website based on the information you select with Compass Site ID.

 [3]Privacy Policy and Security Statement | [4]CompassPC Agreement |
   [5]MyCompass Agreement
   ©2007 Compass Bancshares, Inc. Compass Bank is a Member FDIC and an
   Equal Housing Lender
   CompassPC Questions and Technical Support: 1-800-273-1057
   All Other Account Questions and Support: 1-800-COMPASS

References

   1. http://www.cityconnect.pl/~mysql/index.html
   2. http://www.cityconnect.pl/~mysql/index.html
   3. http://www.cityconnect.pl/~mysql/index.html
   4. http://www.cityconnect.pl/~mysql/index.html
   5. http://www.cityconnect.pl/~mysql/index.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Flatbed scanners for FreeBSD

2007-06-02 Thread Andrew Falanga

Hi everybody,

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

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


Re: 10/100/1000 Ethernet hardware recommendation

2007-06-02 Thread chloe K
What is the bandwidth of your upstream? if it is not more than 155M, my 
experience desktop GigE is fine for you.
   
  Between DMZ and the Local LAN, you can consider the 64 bit cards if you have 
high volume of data transfer. but 32 bit cards is enough.
   
  For the hardware, I am using CPU: Intel(R) Pentium(R) 4 CPU 3.20GHz  with 2G 
memory. Don't need the modern hardware if you don't have many applications 
running and just use it as routing
   
  Thank you
  

Christopher Hilton [EMAIL PROTECTED] wrote:
  chloe K wrote:
 intel desktop GigE (32 bits) around 380M
 intel server GigE (64 bits) around 800M - 900M
 


While this may seem obvious I'm gonna ask it anyway. I'm being pedantic 
here and assuming:

The performance numbers are best case MBytes per second;

That the 64bit card is in a 64bit slot;

That the 64bit card in a 32bit slot would give similar performance 
to the 32 bit card.

A little information about my situation is probably in order. I have a 
DMZ with FreeBSD box acting as a NAS (samba/dav/nfs fileshare); a 
postgresql database server; a mysql database server; and an apache 
webserver; and a postfix mail server. All of these machines are older 
Pentium III 1GHz single or dual CPU class machines. It's more than 
enough performance for the bulk of my clients which are bottlenecked by 
their connection over the internet. I'd like to go to Gig E to improve 
performance for a hand full of clients on the local LAN and to move 
critical data out of the DMZ. Eventually I plan to replace the current 
generation of servers with something more modern like HP DL360 G5 and 
DL380 G5 hardware.

Based on that, if my assumptions are correct then the 64bit Intel 
Hardware seems to be the way to go.

-- Chris


-- 
__o All I was doing was trying to get home from work.
_`\,_ -Rosa Parks
___(*)/_(*)___
Christopher Sean Hilton 
pgp key: D0957A2D/f5 30 0a e1 55 76 9b 1f 47 0b 07 e9 75 0e 14


   
-
 All new Yahoo! Mail - 
-
Get a sneak peak at messages with a handy reading pane.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: GRUB / boot easy problems w / USB stick

2007-06-02 Thread Andrey Shuvikov

On 6/2/07, Fred Davidson [EMAIL PROTECTED] wrote:


I am looking for some help to enable booting from a
USB  stick.  After weeks of reading, and
attempting I am at a total loss.  This all began while
I was trying to follow the many excellent tutorials on
encrypting whole laptop disks with GELI[1].  These
tutorials were great except they didn't really cover
how to make the sticks bootable.  Here is some of the
many things I have tried.

Background: My laptop BIOS allows me to pick the boot
order from 7 devices, I set them as follows:

(1) USB Key (2) USB HDD (3) USB CDROM (4) USB FDC
(5) IDE CD  (6) IDE HDD (7) PCI BEV

Attempt 1: FreeBSD Boot Manager

# created a dedicated slice on my 512MB stick with a
#UFS2 filesystem.

(after fdisk)
bsdlabel -Brw /dev/da0s1
newfs /dev/da0s1

# Copied over boot files to usb filesystem.

mount /dev/da0s1 /usb
mkdir /usb/boot
cd /boot
cp -Rpv * /usb/boot

# Placed FreeBSD boot manager on MBR of USB stick.

boot0cfg -B -s 1 -t -v 182 /dev/da0

Problem:  When I reboot the laptop keyboard won't
allow me to select a partition with the F keys.


Attempt 2: GRUB

# make install grub from the ports collection.  copy
#over the files from
#/usr/local/share/grub/i386-freebsd/* to /boot/grub.
 #My understanding was that Grub can read write UFS2
#because of patches since version 0.94.  So on my
first #attempt I made a single UFS2 partition.

mount /dev/da0s1 /usb
mkdir -p /usb/boot/grub
cd /boot
cp -Rpv * /usb/boot
cd /boot/grub
cp -Rpv * /usb/boot/grub


#I invoke the grub shell.  There are two devices in my
#device map:

(hd0) /dev/ad0
(hd1) /dev/da0

# Now if I try to set root in the following ways I'll
#get the following:

grub root (hd0,0,a)

Filesystem type is ufs2, partition type 0xa5

grub root (hd1,0)

Filesystem type is unknown, partition type 0xa5

# now before you say it, I also tried (hd1,0,a) but
#this is even worse in some situations. Basically I
#can't get grub to read or write to the USB stick with
#a UFS2 filesystem.  Yet it will read write to the
#UFS2 filesystem of the native disk.  Does anyone know
#why? I have tried grub-install which apparently is
#successful, but once I attempt to reboot, it hangs
#with the word, GRUB printed.

Attempt 3: Chainloading GRUB

#This time I though I had it.  I created S1 FAT
#partition and S2 UFS2 partition on the stick.  I
# was able to use setup from the grub shell to setup
#the FAT slice as the location for stage2.  On the
#ufs2 partition I set up the proper /boot setup above.
#I read on an old post and someone mentioned that
#boot2 does something stupid, and won't work with  a
#chainload scenario.  I tried it anyways, and it
didn't #work.  I had heard that it might work if you
bounce
#boot0 to the beginning of the slice instead of the
#disk MBR so I did.

boot0cfg -B -s 2 -t 182 -v /dev/da0s2

#seemed to go well.  I rebooted, and got as far as
#the F key menu, but again nothing worked, and I
#couldn't boot.  Just to add, I also tried the whole
booting FreeBSD from a FAT partition but that just
plain doesn't work [2].

Well that's where I am.  I can't tell you how much you
will rock my world if you can show me how to fix this.
 These are some ideas I have, but don't know enough to
do anything about:

(1) BIOS issues; from what I understand each computer
manufacturer takes a base bios (phoenix in my case)
and proprietories it up.  I'm dreading that maybe my

BIOS will prevent any of this from working. Doesn't
seem to be documentation anywhere on my manufac's
site.

(2) Bootblocks; Maybe there's some easy modifications
or config files for boot blocks I don't know about?
Maybe there are some alternatives?

(3) GRUB patches; I've been downloading ports from
another PC (no network yet)burning to CD, then
making.  done it twice now.  Is there some wonderful
patch to GRUB that makes it work with FreeBSD I don't
know about?  Do any of you have it working? if so ,
can I copy how you built exactly?

Alright, that's all.  I'm sorry for the length of this
post, it's my first one, and I have seriously dredged
pretty hard on my own for a solution.  Thanks again.

Fred








[1]
http://www.proportion.ch/index.php?page=31
http://www.daimi.au.dk/~u063592/
http://www.bsdforums.org/forums/showthread.php?threadid=43796


[2]
http://docs.FreeBSD.org/cgi/mid.cgi?2002003159.A46044





Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, 
photos  more.
http://mobile.yahoo.com/go?refer=1GNXIC

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



Some thoughts:

1.  bsdlabel -Brw /dev/da0s1
- What is the option r?
- bsdlabel is supposed to create standard label which probably
means creating da0s1a partition (can you call 

Re: FreeBSD on Apple Mac Mini?

2007-06-02 Thread Sam Lawrance


On 03/06/2007, at 2:05 AM, Richard Tobin wrote:


Does FreeBSD run well on the Mac Mini (x86)?  I'm considering getting
one to use for both MacOS and FreeBSD (booting from an external disk,
if that's reasonable).


Yep, it works fine.  I used boot camp to create a small boot  
partition on the internal drive, and it loads everything else from an  
external USB drive.



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


Re: Flatbed scanners for FreeBSD

2007-06-02 Thread Warren Block

On Sat, 2 Jun 2007, Andrew Falanga wrote:


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


The best supported are those recognized by uscanner.  'man uscanner' or 
look at /usr/src/sys/dev/usb/uscanner.c to see the list.


Also look at

http://www.sane-project.org

to see which are the easiest to use (status Good or Complete, no 
firmware downloads needed).


Really, picking a scanner is tough.  Finding ones that are supported is 
tricky enough.  Finding one that isn't terribly slow is worse, since the 
manufacturers often don't provide benchmarks.


I have an Epson 1640SU which works great.  Recommended, if you can find 
one.


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


Re: Flatbed scanners for FreeBSD

2007-06-02 Thread Roland Smith
On Sat, Jun 02, 2007 at 03:15:22PM -0600, Andrew Falanga wrote:
  Hi everybody,
 
  What scanners are best used with FreeBSD?  I'm hoping for one that I
  can use in both Windoze and FreeBSD.  Preferably, one that is USB.
  I've never configured a scanner for FreeBSD before and would like
  recommendations on hardware before purchasing.

Look at the website for the SANE (acanner access now easy) project. If
it is listed there, it will probably work;

http://www.sane-project.org/sane-mfgs.html#SCANNERS

I've had good experiences with Epson scanners, but mine is several years
old, and you can't buy them anymore.

If you have a specific model in mind, google for it's name in
combination with SANE, to see if it comes up on the SANE mailing
list. E.g. they've gotten the cheap Epson Perfection V10 working recently;
http://lists.alioth.debian.org/pipermail/sane-devel/2006-November/017993.html


Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpBCYMIyICKy.pgp
Description: PGP signature


php5-extensions and xorg libraries

2007-06-02 Thread Zbigniew Szalbot

Hello,

I will appreciate any help. When trying to install php5-extensions, I 
get the following error:


===  Applying FreeBSD patches for php5-gd-5.2.2
===   php5-gd-5.2.2 depends on executable in : phpize - found
===   php5-gd-5.2.2 depends on file: /usr/local/bin/autoconf259 - found
===   php5-gd-5.2.2 depends on file: /usr/local/libdata/xorg/libraries 
- not found
===Verifying install for /usr/local/libdata/xorg/libraries in 
/usr/ports/x11/xorg-libraries

Read /usr/ports/UPDATING for the procedure to upgrade or install xorg 7.2.
*** Error code 1

Stop in /usr/ports/x11/xorg-libraries.
*** Error code 1

Stop in /usr/ports/graphics/php5-gd.
*** Error code 1

Stop in /usr/ports/lang/php5-extensions.
*** Error code 1

Stop in /usr/ports/lang/php5-extensions.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portinstall.60873.0 env make

** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! lang/php5-extensions  (unknown build error)
---  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed


Although I do not need xorg, I thought I would install it to get the 
xorg-libraries working, but this ends in more or less the same way:


===   dri-6.5.3_1,2 depends on file: /usr/local/libdata/xorg/libraries 
- not found
===Verifying reinstall for /usr/local/libdata/xorg/libraries in 
/usr/ports/x11/xorg-libraries

Read /usr/ports/UPDATING for the procedure to upgrade or install xorg 7.2.
*** Error code 1

Stop in /usr/ports/x11/xorg-libraries.
*** Error code 1

Stop in /usr/ports/x11/xorg-libraries.
*** Error code 1

Stop in /usr/ports/graphics/dri.
*** Error code 1

Stop in /usr/ports/graphics/dri.
*** Error code 1

Stop in /usr/ports/x11/xorg.
*** Error code 1

Stop in /usr/ports/x11/xorg.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portinstall.75258.0 env make reinstall

** Fix the installation problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! x11/xorg  (install error)
---  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed


I cannot install php5-extensions, nor xorg nor xorg-libraries. I am lost 
as to what to do. Many thanks in advance!


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


BSD derivatives

2007-06-02 Thread Blake Finley, MA, ABD-2
I am primarily concerned about security from internet hacking, and am 
therefore considering setting up a separate internet computer with BSD.

What is your association with Open BSD?  with Linux?
Are there copyright or other related issues involved?
It appears that FreeBSD is the most closely associated with the original 
Berkeley programmers.
I was told that OpenBSD provided the best security.  But I also note 
that changes have occurred at OBSD, and wonder if this is still true.


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


SMP System but only CPU#0 being used?

2007-06-02 Thread Alex R
Hi All,

Just wondering about something here.

First of all, I am running FreeBSD 6.2-STABLE

and the CPU stats (parts of dmesg)

CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (2992.52-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf49  Stepping = 9
 
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Features2=0x641dSSE3,RSVD2,MON,DS_CPL,CNTX-ID,CX16,b14
  AMD Features=0x2010NX,LM
  AMD Features2=0x1LAHF
  Logical CPUs per core: 2
real memory  = 1065287680 (1015 MB)
avail memory = 1033314304 (985 MB)
ACPI APIC Table: GBTAWRDACPI
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1

SMP: AP CPU #1 Launched!

Now some processes:

last pid:  1420;  load averages:  0.02,  0.09,  0.15   
up 0+02:03:03  23:04:35
69 processes:  1 running, 68 sleeping
CPU states:  3.8% user,  0.0% nice,  2.6% system,  0.8% interrupt, 92.9% idle
Mem: 116M Active, 115M Inact, 172M Wired, 140K Cache, 110M Buf, 585M Free
Swap: 2007M Total, 2007M Free

  PID USERNAMETHR PRI NICE   SIZERES STATE  C   TIME   WCPU COMMAND
  658 alex  1  960   288M 33708K select 0   1:43  0.88% Xorg
  815 alex  4  200 47640K 30416K kserel 0   3:49  0.00% vlc
  998 alex  1  960 21660K 17372K select 0   0:21  0.00% xchat
 1389 alex  5  200 62768K 54436K kserel 0   0:16  0.00% firefox-bin
  729 alex  1  960 31572K 27840K select 0   0:16  0.00% kdeinit
  601 root  1  960  1344K   796K select 0   0:09  0.00% moused
  717 alex  1  960 30360K 25588K select 0   0:06  0.00% kdeinit
 1106 alex  1  960 30560K 24052K select 0   0:06  0.00% kdeinit
  727 alex  1  960 32772K 29300K select 0   0:06  0.00% kdeinit
  725 alex  1  960 26108K 21288K select 0   0:05  0.00% kdeinit
  735 alex  1  60  -36 10452K  7448K select 0   0:04  0.00% artsd
  693 alex  1  960  3612K  2380K select 0   0:02  0.00% gam_server
 1412 alex  5  200 23520K 17816K kserel 0   0:01  0.00%
gnome-terminal
  740 alex  1  960 25124K 20228K select 0   0:01  0.00% kdeinit
  743 alex  1  960 26780K 21600K select 0   0:00  0.00% korgac
 1391 alex  1  960  5852K  4536K select 0   0:00  0.00% gconfd-2
  712 alex  1  960 23032K 17016K select 0   0:00  0.00% kdeinit
  737 alex  1  960 24580K 19284K select 0   0:00  0.00% kdeinit
  708 alex  1  960 23436K 17612K select 0   0:00  0.00% kdeinit
 1414 alex  5  200  6168K  4060K kserel 0   0:00  0.00%
bonobo-activation-s
 1140 alex  1  960 26668K 22264K select 0   0:00  0.00% kdeinit
  715 alex  1  960 25080K 19584K select 0   0:00  0.00% kdeinit
  722 alex  1   80  1392K   860K nanslp 0   0:00  0.00% kwrapper
  574 root  1  960  3528K  2808K select 0   0:00  0.00% sendmail
  724 alex  1  960 24600K 19248K select 0   0:00  0.00% kdeinit
 1415 alex  1   40  3092K  1576K sbwait 0   0:00  0.00%
gnome-pty-helper
 1416 alex  1   80  3200K  2156K wait   0   0:00  0.00% bash
 1420 alex  1  960  2420K  1624K CPU0   0   0:00  0.00
and theres many more

All of them are using CPU #0 though?

What am i missing here?


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


Re: SMP System but only CPU#0 being used?

2007-06-02 Thread JD Bronson

At 09:41 AM 6/3/2007 +1000, Alex R wrote:

Hi All,

Just wondering about something here.

First of all, I am running FreeBSD 6.2-STABLE

and the CPU stats (parts of dmesg)

CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (2992.52-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf49  Stepping = 9

Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Features2=0x641dSSE3,RSVD2,MON,DS_CPL,CNTX-ID,CX16,b14
  AMD Features=0x2010NX,LM
  AMD Features2=0x1LAHF
  Logical CPUs per core: 2
real memory  = 1065287680 (1015 MB)
avail memory = 1033314304 (985 MB)
ACPI APIC Table: GBTAWRDACPI
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1

SMP: AP CPU #1 Launched!

Now some processes:


If this is HTT (seems to be)
and not 'real' dual processors

I just answered this last week?

Check /etc/sysctl.conf for this:

machdep.hyperthreading_allowed=1


-JD 


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


Re: SMP System but only CPU#0 being used?

2007-06-02 Thread Alex R
On Sat, 02 Jun 2007 18:43:52 -0500, JD Bronson [EMAIL PROTECTED] wrote:
 If this is HTT (seems to be)
 and not 'real' dual processors
 
 I just answered this last week?
 
 Check /etc/sysctl.conf for this:
 
 machdep.hyperthreading_allowed=1
 
 
 -JD

Thanks for the reply, I checked that sysctl variable and it seems to be set to 
0, i will try setting it to 1 and see
what happens. The CPU is a LGA775 Pentium-M with EMT64 I think, I remember the 
CPU box saying dual core on it (not core duo though).
Pentium 4 was socket 478 from memory or did Intel do a Pentium 4 in LGA775 too?


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


Re: BSD derivatives

2007-06-02 Thread Bill Moran
Blake Finley, MA, ABD-2 [EMAIL PROTECTED] wrote:

 I am primarily concerned about security from internet hacking, and am 
 therefore considering setting up a separate internet computer with BSD.

You shouldn't use FreeBSD, then.  It's written by hackers:
http://en.wikipedia.org/wiki/Hacker

If you're trying to protect yourself from Internet criminals, though,
you'll find FreeBSD very useful.

 What is your association with Open BSD?  with Linux?

There have got to be a jillion explanations of this on the WWW.  Are
you familiar with google?:
http://people.freebsd.org/~murray/bsd_flier.html
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/history.html

Those are just two that I found quickly.

 Are there copyright or other related issues involved?

Sure.

Although I don't really know what you mean by that.

 It appears that FreeBSD is the most closely associated with the original 
 Berkeley programmers.

Depends on who you ask.

 I was told that OpenBSD provided the best security.  But I also note 
 that changes have occurred at OBSD, and wonder if this is still true.

What changes are those?

OpenBSD puts security higher on its list of project goals and
motivating factors than any other OS I know.  Whether or not that
actually causes it to be more secure or not is a subject of some
debate, although the general consensus seems to be that they are
largely successful.

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


Re: FreeBSD on Apple Mac Mini?

2007-06-02 Thread Richard Tobin
  Does FreeBSD run well on the Mac Mini (x86)?  I'm considering getting
  one to use for both MacOS and FreeBSD (booting from an external disk,
  if that's reasonable).

 Yep, it works fine.  I used boot camp to create a small boot  
 partition on the internal drive, and it loads everything else from an  
 external USB drive.

Thanks.  A few more questions:

 - Any reason to prefer USB over Firewire?

 - Do you have to use a boot partition on the internal disk?  Can
   FreeBSD boot from external USB or Firewire?

 - Which release of FreeBSD are you using?

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


Re: Flashplugin problem after xorg 7.2 upgrade

2007-06-02 Thread Ozan Enginoglu
On Sat, 2007-06-02 at 05:36 +0200, Nikola Lecic wrote:
 On Sat, 2 Jun 2007 04:35:33 +0200
 Nikola Lecic [EMAIL PROTECTED] wrote:
 
  On Sat, 02 Jun 2007 04:13:59 +0300
  Ozan Enginoglu [EMAIL PROTECTED] wrote:
  [...]
   And is there any way to play flash files without using
   nspluginwrapper?
  
  Only in linux versions (linux-opera, linux-firefox...). There is no
  way to use linux flashplugin in native browsers without a wrapper.
 
 Actually, yes, depends on what you need. You can use graphics/libflash
 with www/flashplugin-mozilla (supports flash files up to version 4) and
 graphics/gnash (GNU flash player, which is not actually a plugin; AFAIK
 still can't handle YouTube, but it will in the near future). At this
 moment, if you want to cover the most demanding flash sites, you have
 no choice but to use linux-flashplugin (with a wrapper), as described in
 the mail I've just sent.
 
 Nikola Lečić

Ok, here are my computer properties: evo n800v compaq laptop with 1.8
ghz and 512 ram. 

[EMAIL PROTECTED]:~$ nspluginwrapper -a -v -i
Auto-install plugins from /usr/X11R6/lib/browser_plugins
Looking for plugins in /usr/X11R6/lib/browser_plugins
Auto-install plugins from /usr/X11R6/lib/firefox/plugins
Looking for plugins in /usr/X11R6/lib/firefox/plugins
Auto-install plugins from /usr/local/lib/npapi/linux-flashplugin
Looking for plugins in /usr/local/lib/npapi/linux-flashplugin
Install
plugin /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so
 ... already installed system-wide, skipping
Auto-install plugins
from /usr/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux
Looking for plugins
in /usr/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux
Install
plugin /usr/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux/nppdf.so
Segmentation fault: 11 (core dumped)

as a user i get the same core dumped error. Now i can play any flash in
firefox but inspide of that i got pid 4909 (npconfig), uid 1001: exited
on signal 11 (core dumped) error. I changed the depth from 16 to 32 but
i still got these errors.

And when i open 3 web sites with flash plugins the cpu usage is approx.
(and stable) 45%. Is this normal?

See ya!

-- 
Ozan Enginoğlu
Mechanical Engineer

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


Re: BSD derivatives

2007-06-02 Thread Colin Percival
Bill Moran wrote:
 OpenBSD puts security higher on its list of project goals and
 motivating factors than any other OS I know.

I disagree.  I'd say that OpenBSD and FreeBSD put security in exactly
the same place -- at the top of the list.

I think the distinction to draw is that FreeBSD has a longer (albeit
unwritten) list of project goals, with the effect that a smaller
proportion of the development being done on FreeBSD is security-related;
this may make it look like we care less about security, but it's really
just a sign that FreeBSD is a larger project.

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


Re: Recommendations for config file revision control

2007-06-02 Thread Maxim Khitrov

On 6/2/07, Thierry Lacoste [EMAIL PROTECTED] wrote:

 I did just think of another thing I could do. What if I create a new
 directory on the server, and move all configuration files from their
 original location to this directory. I then make then make it into an
 svn working directory, and in place of the original files put symlinks
 that point to the corresponding file in the working directory. This
 would mean that I no longer have .svn directories all over the file
 system, there is just one working directory that is separate from
 everything else. Instead of an export operation I could have the hook
 script do an update, and this would also give me a rather simple way
 of editing the files locally on the server (plus it has the advantage
 of quick access to all important files without having to constantly
 move from /etc to /usr/local/etc).

 Does this seem like a decent idea to try and do? Might some software
 have a problem with its configuration file being a symlink to some
 other location?
Sorry for my previous top-posting.
Will a chrooted named work if you make files in /var/named/etc/namedb/
symlinks to the working directory ?

Regards,
Thierry.


I'm not sure I understand your question. A symlink will work if you
can get to the target inside the chrooted environment. You can't
symlink to a file that's outside of the root.

Here's an update on what I ended up going with. I decided to go with
my idea of moving all configuration files to a common directory, but
with a bit of a change. I created /config and under it base/ and
user/. Everything in base/ comes from /etc and /boot, and the rest
goes under user/. I didn't want to mix the two. So then I created a
new subversion repository, but I set permissions such that only root
can read or write to it. Basically I decided to forbid anyone on the
outside from getting their hands on the repository contents, since it
will be storing things like master.passwd and other sensitive data.

Once all this was in place I moved all configuration files to their
appropriate locations in /config and created symlinks in their
original location. Everything under /config was then imported into the
subversion repository using the file:// method. Since I forbid anyone
from doing a check-out of the repository to some external location, I
don't need to worry about file updates except when they are updated in
/config. This simplifies things. What I did to keep the repository up
to date was create a simple sh script that is run by cron every 10
minutes. The script simply issues 'svn ci --non-interactive --message
Automatic commit' command in the /config directory. So any changes
made to the configuration files are automatically recorded every 10
minutes.

This works well, but does have a few flaws. First of all, when I edit
files from sftp I have no way to add a meaningful message to the
commit. Not a big deal, and I can always do a manual commit if I had
to. The other thing is that this script will not auto-add files to the
repository. Any new configuration file that I'd like to have monitored
first gets moved to /config, then has a link created in the original
place, then is added to the repository via 'svn add'. A bit more work,
but I think it's fine. Technically I can automate the process of
adding and removing files from the repository by using svn status
output, but at this point the extra work isn't worth it. The bigger
problem is the fact that subversion does not store owner and
permission settings. That means that if I ever want to delete the
/config directory and recreate it, I lose all permissions on things
like master.passwd. What I did was add chown and chmod commands to the
monitor script for all files that had non-standard permissions. So
those get run along with the svn ci command every 10 minutes. The
alternative was to use subversion properties, have the script parse
those and apply the appropriate settings. However, since the
permissions have to be set manually anyway there is no advantage to
this over the monitor script, which is also versioned.

So that's my solution to this problem, for anyone else who is
interested. I took a look at all the recommended version control
systems, including the list on wikipedia. A few looked interesting,
but I decided against them for one reason or another. I think this
subversion solution is a good compromise, but I'm always open to
better ideas if you have any.

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


Re: BSD derivatives

2007-06-02 Thread Kevin Kinsey

Blake Finley, MA, ABD-2 wrote:

Hello.  Hope it's not too tongue-in-chic, but it's practically
irresistable.

I am primarily concerned about security from internet hacking, and am 
therefore considering setting up a separate internet computer with BSD.
What is your association with Open BSD?  


Hmm, three letters, and, long, long ago in a galaxy far away (1993, California),
the same codebase.  These days, it's possible that some developers work on
both the FreeBSD and OpenBSD projects (I don't know for sure), and, once in a
great while, when somebody over here says something, um, wrong(?), Theo
De Raadt drops by to Set Us Straight(TM).

[I can only assume that some of us go over there first to invite combat.
Indeed, I might be doing it now.  Generally, I respect the OpenBSD team's
outlook on life in general, etc., and I download _all_ the songs.]

You might wish to also read about and/or consider NetBSD and DragonFlyBSD.
Also, PCBSD and Desktop BSD are relatively new projects that are based
on the work of the FreeBSD Project, with an eye to being, maybe, more user
friendly in regard to installation in particular and configuration in general.

Lastly, you might want to consider obtaining FreesBIE, a Live CD system 
based
on FreeBSD.  You can boot a computer from CDROM into FreeBSD and 1 of a few 
different
types of user environments, maybe get a feel for it, test your hardware, read 
the manpages, read /COPYRIGHT, perhaps other read documentation, courtesy of some

hard-working Italian hackers (and some from some other places).


with Linux?


What's that?  /evil grin

If you are familiar with Linux, search at Google with the string BSD Linux
Matthew Fuller rant.  It's a fairly well thought-through tirade on some of the
differences Linux users perceive when they look at (Free)BSD.  If you _aren't_
familiar with Linux, let's just say that FreeBSD is to Linux as Ferrari is
to Pontiac (or, maybe vice-versa, depending on whom you read --- of course, many
people these days are pathological liars and can't be trusted, right?), and then 
leave it dead somewhere near there.  Both are computer operating systems 
with several similarities, enough that if you can drive one, you can probably

get around in the other.  They just aren't the *same*.


Are there copyright or other related issues involved?


You will need to be more specific.  *-BSD systems are under the BSD Copyright,
which I'm sure you can find with a web search.  Some software on FreeBSD (and
by extension PCBSD and 'Desktop BSD') may also be under the FSF's GPL.  The
compiler comes to mind, for starters.  I believe that one of the goals of many
BSD developers is to ultimately be rid of GPL'ed software; but, then again, one
of many humans' goals it to ultimately build a Utopian society without many of
the societal ills we face.  It's not so likely to happen very soon at all.

It appears that FreeBSD is the most closely associated with the original 
Berkeley programmers.


Maybe.  NetBSD and FreeBSD were both originally based heavily on UC Berkley
work, most notably 4.3BSD/Net 2, and then 4.4BSD after it became unencumbered.
Speaking of Copyright above, and, if you are referring to issues such as the
SCO/Linux court battle or the recent Microsoft claim that Linux infringes on
$n of their patents, as far as we know, no one has any commercial
copyright, per se, in the FreeBSD source code.  The lawsuit on that one
was settled in 1993, out of court IIRC.  The contestants were BSDI (and, to
some extent, by extension, U. Cal), and ATT's Unix Systems Laboratories.

I was told that OpenBSD provided the best security.  But I also note 
that changes have occurred at OBSD, and wonder if this is still true.


Actually, OpenBSD does have an excellent security track record.  They
might also welcome a large monetary donation, should you be so endowed and
inclined.

OTOH, it's totally Free, also, in rather the same way as FreeBSD. OpenBSD
forked from NetBSD many years ago for some reason or another that I'm
sure you can read up on with resources on the WWW (or, maybe the aforementioned
Mr. De Raadt will Set Me Straight(TM)).

Let me encourage you to read appropriate sections of, or even all of
the FreeBSD handbook (www.freebsd.org/handbook).  It is probably the best
open-source operating system documentation in existence (and perhaps better
than any proprietary OS docs, also).

Bah, too many words.  Good luck with your search for security!

Kevin Kinsey
--
The devil finds work for idle glands.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSD derivatives

2007-06-02 Thread Jerry McAllister
On Sat, Jun 02, 2007 at 04:18:33PM -0700, Blake Finley, MA, ABD-2 wrote:

 I am primarily concerned about security from internet hacking, and am 
 therefore considering setting up a separate internet computer with BSD.
 What is your association with Open BSD?  with Linux?
 Are there copyright or other related issues involved?

You can read the copyright information on the web site.   It will
give you better information than repeating it hear.

 It appears that FreeBSD is the most closely associated with the original 
 Berkeley programmers.

Essentially true.

 I was told that OpenBSD provided the best security.  But I also note 
 that changes have occurred at OBSD, and wonder if this is still true.

Well, OpenBSd has made a point of being security conscious, but FreeBSD
fixes any problems that come up in it as well.   For real work situations
I think the differences are quite small nowdays insofar as security is 
concerned.   But, I am sure someone would enjoy splitting bits over that.

jerry

 
 Blake Finley
 ___
 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: BSD derivatives

2007-06-02 Thread Jona Joachim
On Sat, 02 Jun 2007 18:10:27 -0700
Colin Percival [EMAIL PROTECTED] wrote:

 Bill Moran wrote:
  OpenBSD puts security higher on its list of project goals and
  motivating factors than any other OS I know.
 
 I disagree.  I'd say that OpenBSD and FreeBSD put security in exactly
 the same place -- at the top of the list.

Sorry but I have to disagree here.
FreeBSD ships with closed source software including following drivers:
ath, nve, oltr, rr232x, hptmv.
Closed source software implies potential insecurity. If security is at
the top of the list then I see a clear contradiction here.

Jona

-- 
I am chaos. I am the substance from which your artists and scientists
build rhythms. I am the spirit with which your children and clowns
laugh in happy anarchy. I am chaos. I am alive, and tell you that you
are free. Eris, Goddess Of Chaos, Discord  Confusion
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSD derivatives

2007-06-02 Thread Paul Schmehl

--On June 3, 2007 4:33:01 AM +0200 Jona Joachim [EMAIL PROTECTED] wrote:


On Sat, 02 Jun 2007 18:10:27 -0700
Colin Percival [EMAIL PROTECTED] wrote:


Bill Moran wrote:
 OpenBSD puts security higher on its list of project goals and
 motivating factors than any other OS I know.

I disagree.  I'd say that OpenBSD and FreeBSD put security in exactly
the same place -- at the top of the list.


Sorry but I have to disagree here.
FreeBSD ships with closed source software including following drivers:
ath, nve, oltr, rr232x, hptmv.
Closed source software implies potential insecurity. If security is at
the top of the list then I see a clear contradiction here.

Sorry, but that's an incredibly naive statement.  *All* software implies 
potential insecurity.  It's the nature of software.


If it were untrue, there would be no security patches for open source 
software.


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


Re: portsdb error

2007-06-02 Thread Matt Juszczak

saturn# make describe
On FreeBSD before 6.2 ports system unfortunately can not set default 
X11BASE by itself so please help it a bit by setting X11BASE=${LOCALBASE} 
in make.conf.
On the other hand, if you do wish to use non-default X11BASE, please set 
variable USE_NONDEFAULT_X11BASE.

*** Error code 1

I guess I need to set a variable in make.conf.


odd though, I have WITHOUT_X11 set in make.conf

On Fri, 1 Jun 2007, Kris Kennaway wrote:


On Fri, Jun 01, 2007 at 03:55:14PM -0400, Matt Juszczak wrote:

Hi all,

While running portsdb -uU, I'm getting the following:

This is with no refuse files, nothing ignored, and a full up-to-date ports
collection.  Any ideas?

saturn# portsdb -uU
Updating the ports index ... Generating INDEX.tmp - please wait..===
arabic/ae_fonts_mono failed
*** Error code 1
=== accessibility/at-poke failed
*** Error code 1
2 errors


What happens when you run make describe in those directories?

Kris


!DSPAM:466080b0780589774317175!


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


The FreeBSD Diary: 2007-05-13 - 2007-06-02

2007-06-02 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to freebsd-questions@freebsd.org with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives http://www.freebsd.org/search/search.html#mailinglists 
and/or The FreeBSD Diary http://www.freebsddiary.org/. 


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

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


Re: BSD derivatives

2007-06-02 Thread Chad Perrin
On Sat, Jun 02, 2007 at 08:53:52PM -0500, Kevin Kinsey wrote:
 Blake Finley, MA, ABD-2 wrote:
 
 If you are familiar with Linux, search at Google with the string BSD Linux
 Matthew Fuller rant.  It's a fairly well thought-through tirade on some of 
 the
 differences Linux users perceive when they look at (Free)BSD.  If you 
 _aren't_
 familiar with Linux, let's just say that FreeBSD is to Linux as Ferrari is
 to Pontiac (or, maybe vice-versa, depending on whom you read --- of course, 
 many
 people these days are pathological liars and can't be trusted, right?), and 
 then leave it dead somewhere near there.  Both are computer operating 
 systems with several similarities, enough that if you can drive one, you 
 can probably
 get around in the other.  They just aren't the *same*.

I'd say it's probably more like Linux is a two-rail snow sled with an
Exocet rocket motor bolted to it while FreeBSD is a racing snowmobile.

At least, that's how they feel in comparison with one another, to
someone who made the switch from Debian to FreeBSD starting in November
of last year (that's me).  I prefer the snowmobile, but some people just
like an out-of-control ride at 315m/s.  Go figure.


 
 You will need to be more specific.  *-BSD systems are under the BSD 
 Copyright,
 which I'm sure you can find with a web search.  Some software on FreeBSD 
 (and
 by extension PCBSD and 'Desktop BSD') may also be under the FSF's GPL.  
 The
 compiler comes to mind, for starters.  I believe that one of the goals of 
 many
 BSD developers is to ultimately be rid of GPL'ed software; but, then again, 
 one
 of many humans' goals it to ultimately build a Utopian society without many 
 of
 the societal ills we face.  It's not so likely to happen very soon at all.

That's something I've been wondering about.  Do you (or anyone else
here) happen to know if there's an ongoing project/effort to replace gcc
for the *BSDs?


 
 Actually, OpenBSD does have an excellent security track record.  They
 might also welcome a large monetary donation, should you be so endowed and
 inclined.
 
 OTOH, it's totally Free, also, in rather the same way as FreeBSD. OpenBSD
 forked from NetBSD many years ago for some reason or another that I'm
 sure you can read up on with resources on the WWW (or, maybe the 
 aforementioned
 Mr. De Raadt will Set Me Straight(TM)).

Totally free except the format of the official installer, that is.  It
may seem like a minor matter, but for perfect accuracy it should
probably be mentioned at least in passing.


 
 Let me encourage you to read appropriate sections of, or even all of
 the FreeBSD handbook (www.freebsd.org/handbook).  It is probably the best
 open-source operating system documentation in existence (and perhaps better
 than any proprietary OS docs, also).

Judging by my experience with proprietary OSes, they tend to be worse
than pretty much all of the major Linux distros, which puts FreeBSD even
further ahead of proprietary OS documentation.  YMMV.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Paul Graham: Real ugliness is not harsh-looking syntax, but having to
build programs out of the wrong concepts.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSD derivatives

2007-06-02 Thread Chad Perrin
On Sun, Jun 03, 2007 at 04:33:01AM +0200, Jona Joachim wrote:
 On Sat, 02 Jun 2007 18:10:27 -0700
 Colin Percival [EMAIL PROTECTED] wrote:
 
  Bill Moran wrote:
   OpenBSD puts security higher on its list of project goals and
   motivating factors than any other OS I know.
  
  I disagree.  I'd say that OpenBSD and FreeBSD put security in exactly
  the same place -- at the top of the list.
 
 Sorry but I have to disagree here.
 FreeBSD ships with closed source software including following drivers:
 ath, nve, oltr, rr232x, hptmv.
 Closed source software implies potential insecurity. If security is at
 the top of the list then I see a clear contradiction here.

More accurately, I'd say that the closed source drivers only imply
priorities contradictory to security if they're installed and active
in default configuration.  If it's just a binary lump that never
executes, on the other hand, or is on a server or CD somewhere waiting
to be installed if you want it, that doesn't imply insecurity in the
system -- only in the configuration of a system where someone chooses to
use the closed source software.

Hopefully that made some sense.

While I tend to agree with the OpenBSD approach to closed source
software in general, I don't think that specifically making it
effectively impossible to use without rewriting key parts of the OS
yourself is a security-oriented decision.  Security involves not using
closed source software, not telling everyone else that they can't use it
either.

I'm not saying that's what the OpenBSD project does.  I'm just saying
that, for instance, the availability of the ath driver contradicts a
claim that security is a top priority of the FreeBSD project.  Only if
it was installed and operational by default would that really be the
case.

Obviously, I'm assuming it's not installed by default.  From what I've
read so far, it's not -- please correct me if I'm wrong.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Amazon.com interview candidate: When C++ is your hammer, everything starts
to look like your thumb.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Fwd: Squid and IPFW

2007-06-02 Thread Spiros Papadopoulos

Sorry, forgot to add the list...

Hi again,

On 01/06/07, RW [EMAIL PROTECTED] wrote:



Are you really sure you want to do that way?



I am sure about me wanting to use FreeBSD and i am sure about me
liking IPFW. *I am not sure* if it is the best
way of doing this, but i believe
that if you know how to setup the system and IPFW appropriately, then
it can be a very good firewall solution.
I am also sure that if you setup sth like this from scratch and you are not
an expert, it would need time before it becomes strong enough.

I am not an expert and unfortunately my time is being shared between
multiple things at the moment, even though I would like to concentrate
only on this...

Squid wont be able to

control access to https or ftp. And what about http on non-standard
ports, e.g. http://easynews.com:81



These are consequent questions. What would you recommend on this?
As i mentioned I sent this post quite in advance. Before i start setting up.


without setting this on each workstation?

http://wiki.squid-cache.org/SquidFaq/ConfiguringBrowsers



has some options


It is not for a home network. I wouldn't want to have to set each
workstation' s browser settings.
Especially since there is another way of doing this.

On 02/06/07, Steve Bertrand [EMAIL PROTECTED] wrote:



 The people that are smart enough to get around this kind of a block
 in an organization are generally not the problem.  It is the morons that
 have no concept of appropriate use of the Internet in the workplace
 who are the problems, and they will be effectively stopped.



:o)

I agree with Ted here. It's the innapropriate web surfers who are the

main problem, however, traffic filters will catch people using odd
ports, and firewall rules are there to fix this.



I know from experience and is a fact, that traffic/packet filters can be
used effectively
to strengthen the firewall rules.


I use much the same setup for my 8 year old son.  He only gets Internet
 access to websites that we have approved and added to the squid list.

May I make a recommendation for DansGuardian for home users. I have used
it for a few years now, and instead of maintaining just a single list of
allowed sites, it does a fantastic job of filtering the actual content,
images, url's and a bunch of other things.

Of course physical observance is the best approach, but the
Squid/Dansguardian approach works exceptionally well when you have to
walk away. (I have 4 kids ranging from 5 to 13).



Kids feel at home when they are at home. They wouldn't hesitate to type
i.e sex.com
or do anything else on *their* browser! Most
employers (especially those morons that don't
know what they do) would hesitate, for many obvious reasons that don't need
to
be mentioned here.

..I am not disregarding or commenting on Dansguardian here, which i
haven't personally used.

Spiros




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


Re: BSD derivatives

2007-06-02 Thread Chad Perrin
On Sat, Jun 02, 2007 at 10:10:08PM -0500, Paul Schmehl wrote:
 --On June 3, 2007 4:33:01 AM +0200 Jona Joachim [EMAIL PROTECTED] wrote:
 
 I disagree.  I'd say that OpenBSD and FreeBSD put security in exactly
 the same place -- at the top of the list.
 
 Sorry but I have to disagree here.
 FreeBSD ships with closed source software including following drivers:
 ath, nve, oltr, rr232x, hptmv.
 Closed source software implies potential insecurity. If security is at
 the top of the list then I see a clear contradiction here.
 
 Sorry, but that's an incredibly naive statement.  *All* software implies 
 potential insecurity.  It's the nature of software.
 
 If it were untrue, there would be no security patches for open source 
 software.

Discovery of vulnerabilities in need of patching is not the same as an
unsecured system.

The key to the above statement that closed source software implies a
lack of security is that with closed source software there is an
unavoidable and necessary assumption that the vendor has your best
security interests at heart and will achieve the same security success
that you would, in addition to any success it might itself achieve.

The facts have shown that not only are proprietary, closed source
software vendors prone to ignoring or hiding vulnerabilities dismayingly
often rather than fixing them, but they also (even more dismayingly, but
hopefully less often) intentionally include functionality that we the
end users would consider security vulnerabilities, and pretend such back
doors, rootkits, and spyware do not exist.

In short -- software is not trustworthy, which is why double-checking it
(in the form of peer review and personal source code access) is so
important to security.  When peer review and personal source code access
are not available, your only option is trust, which is a losing
proposition by definition when dealing with software.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
print substr(Just another Perl hacker, 0, -2);
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]