creating new user account password.

2013-01-23 Thread Fbsd8
I know I can create a new user account having a password same as the 
user name. After logging in the first time using the user account name 
as the password, I want to force the user to create a new password.

Is there a way to do that?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: creating new user account password.

2013-01-23 Thread Matthew Seaman
On 23/01/2013 20:06, Fbsd8 wrote:
 I know I can create a new user account having a password same as the
 user name. After logging in the first time using the user account name
 as the password, I want to force the user to create a new password.
 Is there a way to do that?

You can set the password to expire virtually immediately:

   pw usermod -n username -p +1m

or add the '-p +1m' bit to the 'pw useradd' line used to create the account.

I believe this will mean the user is required to set a new password on
login after the password has expired.  Might be an idea to test that though.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




signature.asc
Description: OpenPGP digital signature


Re: creating new user account password.

2013-01-23 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 1/23/13 3:06 PM, Fbsd8 wrote:
 I know I can create a new user account having a password same as
 the user name. After logging in the first time using the user
 account name as the password, I want to force the user to create a
 new password. Is there a way to do that?


This looks like it will help: http://www.itedit.com/blog/?p=34

Regards,
Greg

- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlEAR2QACgkQ0sRouByUApDN/QCgh9B23vgN7bv9otoKnt3t8dqW
30QAoLsdUgTRl6Fx0N5wEdcGZ/of3LUi
=1n+g
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: creating new user account password.

2013-01-23 Thread Fbsd8

Matthew Seaman wrote:

On 23/01/2013 20:06, Fbsd8 wrote:

I know I can create a new user account having a password same as the
user name. After logging in the first time using the user account name
as the password, I want to force the user to create a new password.
Is there a way to do that?


You can set the password to expire virtually immediately:

   pw usermod -n username -p +1m

or add the '-p +1m' bit to the 'pw useradd' line used to create the account.

I believe this will mean the user is required to set a new password on
login after the password has expired.  Might be an idea to test that though.

Cheers,

Matthew



Thank you both, Matthew and Greg

I added -p 12-12-12 as a date in the past day 12 month 12 year 12.
I tested and right after entering the account name pw I was asked for a 
new password. That is what I wanted. Matthew gave me the -p option to 
use on the pw adduser command and Greg gave me the clue to use a date in 
the past.




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


New User to FreeBSD

2012-10-07 Thread alwin doss
Hi,

Let me be honest at the outset, I have never used an operating system other
than linux with enthusiasm.
But something about Linux always troubled me It's licensing, such
complex family of distributions which are so different from each other.

Which is when I came across FreeBSD. I fell in love with it, but yes I have
never used it yet, I have tried many times to install it, but the
installation process is really hard, I must say.
I really want to install it on my laptop and all my systems.
Added to the above interests of mine, I am a C++ and java developer. I want
to use this talent that God's has blessed me with in this community.

I want to begin with FreeBSD's very own GUI. Not depending on anyone
(Gnome, KDE or) I want it to be soo good that a commoner shoule be
able to work with it with ease and feel safe and secure.

So if someone could guide me about how to get started with contributing to
FreeBSD it would be great. Please do reach out to me for more details if
you need that is!!!
Send me links that will get me started with FreeBSD I am all excited for
this new journey to begin.


--
Alwin Doss
God's Beloved
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: New User to FreeBSD

2012-10-07 Thread Waitman Gobble
On Sun, Oct 7, 2012 at 12:17 AM, alwin doss alwindos...@gmail.com wrote:

 Hi,

 Let me be honest at the outset, I have never used an operating system other
 than linux with enthusiasm.
 But something about Linux always troubled me It's licensing, such
 complex family of distributions which are so different from each other.

 Which is when I came across FreeBSD. I fell in love with it, but yes I have
 never used it yet, I have tried many times to install it, but the
 installation process is really hard, I must say.
 I really want to install it on my laptop and all my systems.
 Added to the above interests of mine, I am a C++ and java developer. I want
 to use this talent that God's has blessed me with in this community.

 I want to begin with FreeBSD's very own GUI. Not depending on anyone
 (Gnome, KDE or) I want it to be soo good that a commoner shoule be
 able to work with it with ease and feel safe and secure.

 So if someone could guide me about how to get started with contributing to
 FreeBSD it would be great. Please do reach out to me for more details if
 you need that is!!!
 Send me links that will get me started with FreeBSD I am all excited for
 this new journey to begin.


 --
 Alwin Doss
 God's Beloved
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org



Take a look at PC-BSD
http://www.pcbsd.org/

Waitman Gobble
San Jose California USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: New User to FreeBSD

2012-10-07 Thread Matthew Seaman
On Sun, Oct 07, 2012 at 12:47:26PM +0530, alwin doss wrote:

 Which is when I came across FreeBSD. I fell in love with it, but yes I have
 never used it yet, I have tried many times to install it, but the
 installation process is really hard, I must say.
 I really want to install it on my laptop and all my systems.

Have you tried PC-BSD?  It is effectively a 'distro' of FreeBSD, but
aimed very much at desktop users.  The installation process has been
extensively modified, and should be much more accessible to new users.

Also, laptops can be difficult to install FreeBSD on -- they tend to
have non-standard versions of many of the typical components.  Try
looking up your hardware here: http://laptop.bsdgroup.de/freebsd/
to see what tricks and tweaks may be needed.

If you'ld like to contribute towards FreeBSD, you will be more that
welcome.  The easiest and simplest way to start is to become an active
participant on the various mailing lists or the FreeBSD forums.  Then,
as you become familiar with the system, find and characterise any bugs
you run into, and submit well-formed problem reports, for any of the
ports, docs or the base system.  Well-formed in the sense that just
saying foo is broken doesn't really help: it is much better to show
output from foo illustrating the brokenness and explain what you'ld
expect to see specifically.  Even better is if you can include patches
to fix the problem.  Don't be disenheartened if your patches get quite
rigourously critiqued -- that's a good sign: it usually means that
committers are taking your ideas seriously but want you to improve the
implementation before it can be committed.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW


pgp8mLSTAJ00v.pgp
Description: PGP signature


Re: New User to FreeBSD

2012-10-07 Thread Jamie Paul Griffin
[ Waitman Gobble wrote on Sun  7.Oct'12 at  0:38:30 -0700 ]

 On Sun, Oct 7, 2012 at 12:17 AM, alwin doss alwindos...@gmail.com wrote:
 
  Hi,
 
  Let me be honest at the outset, I have never used an operating system other
  than linux with enthusiasm.
  But something about Linux always troubled me It's licensing, such
  complex family of distributions which are so different from each other.
 
  Which is when I came across FreeBSD. I fell in love with it, but yes I have
  never used it yet, I have tried many times to install it, but the
  installation process is really hard, I must say.
  I really want to install it on my laptop and all my systems.
  Added to the above interests of mine, I am a C++ and java developer. I want
  to use this talent that God's has blessed me with in this community.
 
  I want to begin with FreeBSD's very own GUI. Not depending on anyone
  (Gnome, KDE or) I want it to be soo good that a commoner shoule be
  able to work with it with ease and feel safe and secure.
 
  So if someone could guide me about how to get started with contributing to
  FreeBSD it would be great. Please do reach out to me for more details if
  you need that is!!!
  Send me links that will get me started with FreeBSD I am all excited for
  this new journey to begin.
 
 
  --
  Alwin Doss
  God's Beloved
 
 
 Take a look at PC-BSD
 http://www.pcbsd.org/
 
 Waitman Gobble

Yes i think you might benefit initially from installing PC-BSD. It IS FreeBSD, 
but the creators have put a great deal of effort and hard work into making it 
easier to install and to provide an X environment that is already set up and 
configured for you to use. If you were to install FreeBSD there are a lot of 
configuration changes to be made and software to install to get the set-up I 
believe you're looking for. PC-BSD will take away that part of it for you and 
most likely make your experience of FreeBSD a lot less headache free. It's 
default desktop is KDE 4 i believe. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: New User to FreeBSD

2012-10-07 Thread Thomas Mueller
 Let me be honest at the outset, I have never used an operating system other
 than linux with enthusiasm.
 But something about Linux always troubled me It's licensing, such
 complex family of distributions which are so different from each other.

 Which is when I came across FreeBSD. I fell in love with it, but yes I have
 never used it yet, I have tried many times to install it, but the
 installation process is really hard, I must say.
 I really want to install it on my laptop and all my systems.
 Added to the above interests of mine, I am a C++ and java developer. I want
 to use this talent that God's has blessed me with in this community.

 I want to begin with FreeBSD's very own GUI. Not depending on anyone
 (Gnome, KDE or) I want it to be soo good that a commoner shoule be
 able to work with it with ease and feel safe and secure.

 So if someone could guide me about how to get started with contributing to
 FreeBSD it would be great. Please do reach out to me for more details if
 you need that is!!!
 Send me links that will get me started with FreeBSD I am all excited for
 this new journey to begin.


 Alwin Doss
 God's Beloved

I don't think there is any such thing as FreeBSD's very own GUI.

FreeBSD's GUI is X Window System, but this is Unix's main GUI, which is also
used by other (quasi-)Unixes including Linux.

You can look through the FreeBSD Handbook online, even download it.

You can find useful links from www.freebsd.org .

Does anybody know about live USBs/CDs/DVDs for FreeBSD?

Tom
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: New User to FreeBSD

2012-10-07 Thread Polytropon
On Sun, 7 Oct 2012 12:47:26 +0530, alwin doss wrote:
 But something about Linux always troubled me It's licensing, such
 complex family of distributions which are so different from each other.

A valid point. With UNIX basic knowledge, you can master nearly
any outdated commercial UNIX, BSD and Linux, even though it
is sometimes complicated to find the simple parts (i. e. the
UNIX parts) in Linux. :-)



 Which is when I came across FreeBSD. I fell in love with it, but yes I have
 never used it yet, I have tried many times to install it, but the
 installation process is really hard, I must say.

I cannot conform that. Do you have a second system that you can
use to refer to the documentation that exactly describes, with
text and pictures, how to perform the installation process?

Note that FreeBSD, in opposite to many other systems, comes with
excellent documentation both for Internet and offline use. Check
out The FreeBSD Handbook's installation section:

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

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

and the FAQ regarding this topic:

http://www.freebsd.org/doc/faq/install.html

You'll see that the installation is quite simple: You just have
to follow the instructions shown on the screen.



 I really want to install it on my laptop and all my systems.

It's a bit complicated to get _all_ features running on _all_ kinds
of laptops has hardware manufacturers do not care much about standards
and specifications. Still I hear from many people successfully running
FreeBSD on their super-duper-new laptops, and I run it on my old and
shady laptops. :-)



 Added to the above interests of mine, I am a C++ and java developer. I want
 to use this talent that God's has blessed me with in this community.

Both languages can be used on FreeBSD. C++ is supported out of the
box. Java requires you to install additional software due to licensing
terms and lawyer blahblah.



 I want to begin with FreeBSD's very own GUI.

FreeBSD does not have a very own GUI. In fact, it has many GUIs,
and it doesn't have a GUI per se. Note that it is a multi-purpose
system, that's why it doesn't come with a graphical installer so
you can install it on a server (that doesn't even have a monitor).
After installation, you can add as many GUIs as you like (for example,
you can have both KDE and Gnome on your system, plus olvwm and
even WindowMaker). The choice is _yours_. There is nothing directly
tied to the system.

However, PC-BSD comes with a preinstalled and preconfigured (!) KDE
environment. VirtualBSD comes with Xfce, if I remember correctly.
You can check out those projects: PC-BSD is said to be easier to
adopt by Linux and even Windows users as it comes with a graphical
installer, preconfigured environments, preinstalled software, and
caters the out of the box community a lot. And VirtualBSD can be
used from within a VM, it's a nice try it out system.

http://www.pcbsd.org/

http://www.virtualbsd.info/

You can find screenshots there too. :-)



 Not depending on anyone
 (Gnome, KDE or) I want it to be soo good that a commoner shoule be
 able to work with it with ease and feel safe and secure.

That's one of the primary advantages of FreeBSD: The system will not
do anything until _YOU_ tell it to. Know what you do. Know where to
find information (Handbook, FAQ, man command, mailing lists).



 So if someone could guide me about how to get started with contributing to
 FreeBSD it would be great.

Find something that you consider interesting and worth contributing
to. Refer to this page for more information:

http://www.freebsd.org/doc/en/articles/contributing/index.html



 Send me links that will get me started with FreeBSD I am all excited for
 this new journey to begin.

If you enounter problems during installation, feel free to contact
the list. Describe your problem as exact as possible, use the
available troubleshooting resources first, like, do your
homework. :-)

http://www.freebsd.org/community/mailinglists.html

http://lists.freebsd.org/mailman/listinfo

http://www.freebsd.org/support.html



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: new user questions. (Before I back myself into a corner!)

2010-11-27 Thread Dave
On 26 Nov 2010 at 9:53, Ryan Coleman wrote:

 
 On Nov 26, 2010, at 8:53 AM, Chris Brennan wrote:
 
  On Fri, Nov 26, 2010 at 6:30 AM, Dave d...@g8kbv.demon.co.uk
  wrote:
  
   Yes, I found that, good info.  I'm relying on the freebsd.org site
   man
  pages and documentation among others, as I'm finding it too
  inconvenient (bad short term memory) using the man pages on the
  system.  At least I can have the website pages open on a nearby
  laptop.
  
  There are two options that I know of that could make this part
  easier for you
  
  1) screen (tried and true) can do split windows/multiple windows
  although I've never been able to correctly figure it out
 I second screen.
 
 /usr/ports/sysutils/screen/
 
 
 

Ryan, thanks, but no 'ports' is installed on this box, it was built with 
a net install, from a V8.0 boot disk, earlier this year (April if memory 
serves.)

I find now, that Sysinstall's ports management utility, has to be told 
to go look for V8.1 stuff (the Options page) else it just whinges about 
not being able to login to the repository ftp servers.

Cheers.

Dave B.

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


Re: new user questions. (Before I back myself into a corner!)

2010-11-27 Thread Dave
On 26 Nov 2010 at 22:18, Polytropon wrote:

 On Fri, 26 Nov 2010 09:53:51 -0500, Chris Brennan
 xa...@xaerolimit.net wrote:  There are two options that I know of
 that could make this part easier for  you   1) screen (tried and
 true) can do split windows/multiple windows although  I've never been
 able to correctly figure it out   2) tmux (the pretentious upstart),
 it's a quick install and it's built in  help (^b?) is eternally
 useful and it's options make more sense then screen  (to me at least)
 
 Along with the Spanish Inquisition, there are three! Three!
 Three options: screen, tmux, and the native solution of
 virtual terminals via Alt+PFx switch. This even allows
 you to use the mouse-driven edit buffer (copy + paste),
 e. g. if you need to compose a command line using the
 examples listed in the man page.
 
 If you're accessing a system remotely, there is also the
 option of opening -- FOUR! Four options! -- the option
 of opening more than one connection to the remote system,
 and each of them in an own xterm (or KDE Konsole tab
 which I would say if I had been using KDE, but I haven't).
 Of course, this solution also allows you copy + paste
 operations. Other means of accessibility are provided by
 the window manager you're using.
 
 Nobody expects the Spanish Inquisition! :-)
 
 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...
 

Hi.

As I now have ssh working, I can indeed have multiple logins running in 
indipendant windows on another box.   (because I have it) I'm using PuTTY 
on Win2k.  http://www.chiark.greenend.org.uk/~sgtatham/putty/

It appears to work well.

I now have another problem of the BSD flavor (inabiltiy to 'su') but I've 
already asked that in another post.

Thanks.

Dave B.

PS: Do I detect a Monty Python fan?  ;-)

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


Re: new user questions. (Before I back myself into a corner!)

2010-11-27 Thread Chris Brennan
 Hi.

 As I now have ssh working, I can indeed have multiple logins running in
 indipendant windows on another box.   (because I have it) I'm using PuTTY
 on Win2k.  
 http://www.chiark.greenend.org.uk/~sgtatham/putty/http://www.chiark.greenend.org.uk/%7Esgtatham/putty/

 It appears to work well.

 I now have another problem of the BSD flavor (inabiltiy to 'su') but I've
 already asked that in another post.

 Thanks.


use screen/tmux/some other app that does this inside of putty to preserve
work in progress. :D



  Dave B.

 PS: Do I detect a Monty Python fan?  ;-)


Bring out your dead! Bring out your dead!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: new user questions. (Before I back myself into a corner!)

2010-11-27 Thread Adam Vande More
On Sat, Nov 27, 2010 at 11:06 AM, Dave d...@g8kbv.demon.co.uk wrote:

 
  /usr/ports/sysutils/screen/
 
 
 

 Ryan, thanks, but no 'ports' is installed on this box, it was built with
 a net install, from a V8.0 boot disk, earlier this year (April if memory
 serves.)

 I find now, that Sysinstall's ports management utility, has to be told
 to go look for V8.1 stuff (the Options page) else it just whinges about
 not being able to login to the repository ftp servers.


As root, type portsnap fetch extract

I also like tmux, it's BSD licensed and BSD-like in that is has easier to
work with default settings.  Once ports are installed you'll want to install
a port managment tool, I prefer portmaster.

Something like the following will get you up and running with portmaster and
install tmux:

cd /usr/ports/ports-mgmt/portmaster
make install clean  rehash
portmaster --no-confirm -D /usr/ports/sysutils/tmux  rehash


-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: new user questions. (Before I back myself into a corner!)

2010-11-27 Thread Dave
On 27 Nov 2010 at 11:22, Adam Vande More wrote:

 On Sat, Nov 27, 2010 at 11:06 AM, Dave d...@g8kbv.demon.co.uk wrote:
 
  
   /usr/ports/sysutils/screen/
  
 
  Ryan, thanks, but no 'ports' is installed on this box, it was built
  with a net install, from a V8.0 boot disk, earlier this year (April
  if memory serves.)
 
  I find now, that Sysinstall's ports management utility, has to be
  told to go look for V8.1 stuff (the Options page) else it just
  whinges about not being able to login to the repository ftp servers.
 
 
 As root, type portsnap fetch extract
 
 I also like tmux, it's BSD licensed and BSD-like in that is has easier
 to work with default settings.  Once ports are installed you'll want
 to install a port managment tool, I prefer portmaster.
 
 Something like the following will get you up and running with
 portmaster and install tmux:
 
 cd /usr/ports/ports-mgmt/portmaster
 make install clean  rehash
 portmaster --no-confirm -D /usr/ports/sysutils/tmux  rehash
 
 
 -- 
 Adam Vande More
 

Thanks Adam.

Unless I hear from others a good reason why not, I'll be trying that 
tomorrow, as I'm running out of time today to play any more.   The first 
of this years Xmas party's tonight.   Tomorrow, I might be a little slow 
as a result..

Best Regards to All.

Dave B.

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


Re: new user questions. (Before I back myself into a corner!)

2010-11-27 Thread Polytropon
On Sat, 27 Nov 2010 17:06:06 -, Dave d...@g8kbv.demon.co.uk wrote:
 Ryan, thanks, but no 'ports' is installed on this box, it was built with 
 a net install, from a V8.0 boot disk, earlier this year (April if memory 
 serves.)

Use this:

# pkg_add -r screen

Precompiled packaes work without a ports tree installed.
Obtains files via Internet and installs all needed
dependencies.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: new user questions. (Before I back myself into a corner!)

2010-11-27 Thread Chris Brennan
On Sat, Nov 27, 2010 at 12:40 PM, Dave d...@g8kbv.demon.co.uk wrote:

 On 27 Nov 2010 at 11:22, Adam Vande More wrote:

  On Sat, Nov 27, 2010 at 11:06 AM, Dave d...@g8kbv.demon.co.uk wrote:
 
   
/usr/ports/sysutils/screen/
   
  
   Ryan, thanks, but no 'ports' is installed on this box, it was built
   with a net install, from a V8.0 boot disk, earlier this year (April
   if memory serves.)
  
   I find now, that Sysinstall's ports management utility, has to be
   told to go look for V8.1 stuff (the Options page) else it just
   whinges about not being able to login to the repository ftp servers.
  
 
  As root, type portsnap fetch extract
 
  I also like tmux, it's BSD licensed and BSD-like in that is has easier
  to work with default settings.  Once ports are installed you'll want
  to install a port managment tool, I prefer portmaster.
 
  Something like the following will get you up and running with
  portmaster and install tmux:
 
  cd /usr/ports/ports-mgmt/portmaster
  make install clean  rehash
  portmaster --no-confirm -D /usr/ports/sysutils/tmux  rehash


No need to specify the full path w/ portmaster ... just portmaster
--no-confirm -D sysutils/tmux is sufficient, portsnap is the best/easiest
way to get the latest snapshot of ports. No real reason not to unless your
using a custom ports or are maintaining your own ports and don't want them
clobbered.



 

 Thanks Adam.

 Unless I hear from others a good reason why not, I'll be trying that
 tomorrow, as I'm running out of time today to play any more.   The first
 of this years Xmas party's tonight.   Tomorrow, I might be a little slow
 as a result..

 Best Regards to All.

 Dave B.

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

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


Re: new user questions. (Before I back myself into a corner!)

2010-11-27 Thread Adam Vande More
On Sat, Nov 27, 2010 at 12:05 PM, Chris Brennan xa...@xaerolimit.netwrote:

 No need to specify the full path w/ portmaster ... just portmaster
 --no-confirm -D sysutils/tmux is sufficient, portsnap is the best/easiest
 way to get the latest snapshot of ports. No real reason not to unless your
 using a custom ports or are maintaining your own ports and don't want them
 clobbered.


There are a couple of reasons specifying the full path is more convenient:

1.  tab-completions work
2.  When dealing with system utilities like whereis(1), the full path is
displayed making double-click+middle click give you correct cmd

portmaster $FULL_PATH - $PORTSDIR is only useful for me in cases where I
remember exactly where the port lives.

-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: new user questions. (Before I back myself into a corner!)

2010-11-27 Thread Kurt Buff
On Fri, Nov 26, 2010 at 13:18, Polytropon free...@edvax.de wrote:
 On Fri, 26 Nov 2010 09:53:51 -0500, Chris Brennan xa...@xaerolimit.net 
 wrote:
 There are two options that I know of that could make this part easier for
 you

 1) screen (tried and true) can do split windows/multiple windows although
 I've never been able to correctly figure it out

 2) tmux (the pretentious upstart), it's a quick install and it's built in
 help (^b?) is eternally useful and it's options make more sense then screen
 (to me at least)

 Along with the Spanish Inquisition, there are three! Three!
 Three options: screen, tmux, and the native solution of
 virtual terminals via Alt+PFx switch. This even allows
 you to use the mouse-driven edit buffer (copy + paste),
 e. g. if you need to compose a command line using the
 examples listed in the man page.

 If you're accessing a system remotely, there is also the
 option of opening -- FOUR! Four options! -- the option
 of opening more than one connection to the remote system,
 and each of them in an own xterm (or KDE Konsole tab
 which I would say if I had been using KDE, but I haven't).
 Of course, this solution also allows you copy + paste
 operations. Other means of accessibility are provided by
 the window manager you're using.

 Nobody expects the Spanish Inquisition! :-)

That's what I get for waiting a week to look at email...

Kurt
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: new user questions. (Before I back myself into a corner!)

2010-11-27 Thread Kurt Buff
On Fri, Nov 26, 2010 at 06:53, Chris Brennan xa...@xaerolimit.net wrote:

 On Fri, Nov 26, 2010 at 6:30 AM, Dave d...@g8kbv.demon.co.uk wrote:

    Yes, I found that, good info.  I'm relying on the freebsd.org site man
  pages and documentation among others, as I'm finding it too inconvenient
  (bad short term memory) using the man pages on the system.  At least I
  can have the website pages open on a nearby laptop.
 
 
 There are two options that I know of that could make this part easier for
 you

 1) screen (tried and true) can do split windows/multiple windows although
 I've never been able to correctly figure it out

 2) tmux (the pretentious upstart), it's a quick install and it's built in
 help (^b?) is eternally useful and it's options make more sense then screen
 (to me at least)

 Don't get me wrong, both serve there purpose. Personally, I prefer tmux but
 I still use screen for some things. So the choice comes down to what you
 find that works for you.

For a standard installation, there's also the base console
functionality: ALT+F(n) key combo - each one, F1 up to (IIRC) F12,
gets a different console. I often leave the main console alone to
display system messages while I work at other consoles.

Or, for that matter, multiple ssh sessions.

Kurt
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: new user questions. (Before I back myself into a corner!)

2010-11-27 Thread Charlie Kester

On Fri 26 Nov 2010 at 14:31:23 PST Chip Camden wrote:

Quoth Polytropon on Friday, 26 November 2010:

FIVE!  Using a tiling window manager like xmonad, just open another
xterm.  Either share a workspace between them, or put one of them in a
different workspace, depending on whether you like to be able to see
both at the same time and/or have multiple monitors.


SIX! sysutils/dvtm tiles console or terminal windows, similar to tmux.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: new user questions. (Before I back myself into a corner!)

2010-11-27 Thread Polytropon
 For a standard installation, there's also the base console
 functionality: ALT+F(n) key combo - each one, F1 up to (IIRC) F12,
 gets a different console.

This depends on how many virtual consoles have been
defined in the /etc/ttys file. I think the default
is 0 up to 7, and 8 (corresponds to PF9) is X. The
consoles for Alt+PF10,11,12 can be added easily.



 I often leave the main console alone to
 display system messages while I work at other consoles.

In former times, this was my STANDARD development
setting (text-mode only), 80x25 each.




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: new user questions. (Before I back myself into a corner!)

2010-11-26 Thread Dave
On 25 Nov 2010 at 21:25, Polytropon wrote:

 On Thu, 25 Nov 2010 20:00:21 -, Dave d...@g8kbv.demon.co.uk
 wrote:  Lots is written about the 'x' bit, and allowing execution of
 a file, but  not that it affects the ability to even use that
 directory.  I guess in  this context, using = executing, so it
 sort of makes sense.
 
 It is written lots and nicely explained in man chmod,
 where you can read:
 
0100For files, allow execution by owner.  For directories,
allow the owner to search in the directory.
 
0010For files, allow execution by group members.  For directo-
ries, allow group members to search in the directory
 
0001For files, allow execution by others.  For directories
allow others to search in the directory.
 
 The 1 part of the octal masks refers to the x attribute. In
 relation to directories, it means search, which you can also
 see when using the find program: Directories that are not +x
 cannot be searched.

  Yes, I found that, good info.  I'm relying on the freebsd.org site man 
pages and documentation among others, as I'm finding it too inconvenient 
(bad short term memory) using the man pages on the system.  At least I 
can have the website pages open on a nearby laptop.

 
 
  It appears too, that if one of the group members then creates a new
  direcory, that inherits the permissions of the parent directory.
 
 You can set default permissions for file creation using the
 umask builtin (e. g. for csh, the default dialog shell); see
 the man csh for details.

  The original instructions I used when creating the GPS/NTP server, 
resulted in the BASH shell being used.  I think that's part of the odd 
problem, as that does not show up in the list of known shell's, when 
creating a new user.


 
  Next task, to get the ftp server to work on another port.   I might
  just quit while ahead, and go up the pub though, and leave that till
  tomorrow.
 
 That's easy: See the -P option explained in man ftpd. Also
 see /etc/defaults/rc.conf which mentions ftpd_flags.

  Not quite it seems, that parameter only works if the -D is used too I 
believe, and with inetd running things.  At present, the system wont 
allow that for some odd reason.  No errors, it just ignores it.

 
 
 Remember: This is FreeBSD, we have excellent manpages and
 other good documentation. :-)

  Agreed, the documentation is excelent, compared to that available for 
many Linux's (with the exception of Debian I've found)  The biggest 
difference is the people.  Here in the FreeBSD world, I ask a question, I 
get sensible answers, for which I'm eternaly gratefull.   In many LUG's 
and other Linux Forums, I often get self opinionated Flames!

  Though the doc's are good, I do find it less than easy to assimilate it 
all in a meaningfull way, not coming from a unix background.  But that's 
just my problem, and I'm sure the penny will drop sometime soon.

  I've recently installed 8.1 on another sacreficial PC to mess with, so 
I can learn how to etc, without adversley affecting the NTP server box, 
untill I'm sure I know what to do.

  So I know (not being too familier with all this) in simple terms, what 
advantages/disadvantages are there, in respects to the different shell's 
avalable?   Is there a comparison feature table somewhere?

  As an asside, having got the FTP server working, I then had an idea 
and ended up breaking it.  Cest la vie...   I'll look to using a stand 
alone program/utility I think, that involves less system settings 
manipulation.

  Best Regards All.

Dave B.


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


Re: new user questions. (Before I back myself into a corner!)

2010-11-26 Thread Polytropon
On Fri, 26 Nov 2010 11:30:29 -, Dave d...@g8kbv.demon.co.uk wrote:
   The original instructions I used when creating the GPS/NTP server, 
 resulted in the BASH shell being used.  I think that's part of the odd 
 problem, as that does not show up in the list of known shell's, when 
 creating a new user.

The Bourne Again Shell is NOT, I repeat: *NOT* part of the
FreeBSD default installation. It is an ADDITIONAL piece of
software.

A common Linuxism seems to imply that bash is present on
every system. While I agree that bash is a good interactive
shell (except some misbehaviour, in my opinion), it is
often used as scripting shell where NO functionality that
is specific to bash is used - instead of sh, the Bourne Shell,
FreeBSD's standard scripting shell (as well as the standard
scripting shell on nearly every UNIX out there).

You have to manually add bash (by ports or packages), then
it will be listed in /etc/shells and therefore be available
to the adduser script (or pw program) for new users. You can
alter the user's shell afterwards using the chsh command.



   Not quite it seems, that parameter only works if the -D is used too I 
 believe, and with inetd running things. 

Yes, -D makes ftpd become a daemon. Its invication via inetd
is very convenient, allthoug the need for inetd is originated
in a different time in past.



 At present, the system wont 
 allow that for some odd reason.  No errors, it just ignores it.

How that? Which settings do you currently have? Oh, and check
the firewall (e. g. IPFW) to allow FTP on the alternative port.



  Remember: This is FreeBSD, we have excellent manpages and
  other good documentation. :-)
 
   Agreed, the documentation is excelent, compared to that available for 
 many Linux's (with the exception of Debian I've found) 

I share this observation. :-)



 The biggest 
 difference is the people.  Here in the FreeBSD world, I ask a question, I 
 get sensible answers, for which I'm eternaly gratefull.   In many LUG's 
 and other Linux Forums, I often get self opinionated Flames!

You can get them here, too, if you ask the right questions. :-)
No, honestly: This list has helped me very much, and I could learn
many things. So I want to contribute back. When I see a chance
to help with knowledge, experience or pointers, I'll do that.
And so do most on this list.


   Though the doc's are good, I do find it less than easy to assimilate it 
 all in a meaningfull way, not coming from a unix background.  But that's 
 just my problem, and I'm sure the penny will drop sometime soon.

The backgrpund of the documentation is that is is a reference,
not a HOWTO, or a Wiki style conglomerate. It is maintained in
the same quality way as the system is. Many (but sadly not all)
ports follow this concept (e. g. man xmms, man mplayer or
even man opera; in contradiction man firefox or any KDE
program).

You need to have experience in HOW to read man pages, to filter
out what you need. The system does NOT know what you need, so
it doesn't hide unneeded information.



   So I know (not being too familier with all this) in simple terms, what 
 advantages/disadvantages are there, in respects to the different shell's 
 avalable?   Is there a comparison feature table somewhere?

http://en.wikipedia.org/wiki/Comparison_of_command_shells

You'll find more than just the UNIX shells in there. The ports
collection has a category shells where you can refer to the
description files.

The most common shells in use are, of course, the system
shells: sh as default scripting shell, csh as default dialog
shell. Common 3rd party shells are bash (obviously), zsh
and ksh.



   As an asside, having got the FTP server working, I then had an idea 
 and ended up breaking it.  Cest la vie...   I'll look to using a stand 
 alone program/utility I think, that involves less system settings 
 manipulation.

That's what inetd is originally intended for: Configure and
delegate requests to specific programs.




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: new user questions. (Before I back myself into a corner!)

2010-11-26 Thread Chris Brennan
On Fri, Nov 26, 2010 at 6:30 AM, Dave d...@g8kbv.demon.co.uk wrote:

   Yes, I found that, good info.  I'm relying on the freebsd.org site man
 pages and documentation among others, as I'm finding it too inconvenient
 (bad short term memory) using the man pages on the system.  At least I
 can have the website pages open on a nearby laptop.


There are two options that I know of that could make this part easier for
you

1) screen (tried and true) can do split windows/multiple windows although
I've never been able to correctly figure it out

2) tmux (the pretentious upstart), it's a quick install and it's built in
help (^b?) is eternally useful and it's options make more sense then screen
(to me at least)

Don't get me wrong, both serve there purpose. Personally, I prefer tmux but
I still use screen for some things. So the choice comes down to what you
find that works for you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: new user questions. (Before I back myself into a corner!)

2010-11-26 Thread Ryan Coleman

On Nov 26, 2010, at 8:53 AM, Chris Brennan wrote:

 On Fri, Nov 26, 2010 at 6:30 AM, Dave d...@g8kbv.demon.co.uk wrote:
 
  Yes, I found that, good info.  I'm relying on the freebsd.org site man
 pages and documentation among others, as I'm finding it too inconvenient
 (bad short term memory) using the man pages on the system.  At least I
 can have the website pages open on a nearby laptop.
 
 There are two options that I know of that could make this part easier for
 you
 
 1) screen (tried and true) can do split windows/multiple windows although
 I've never been able to correctly figure it out
I second screen.

/usr/ports/sysutils/screen/

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


Re: new user questions. (Before I back myself into a corner!)

2010-11-26 Thread Polytropon
On Fri, 26 Nov 2010 09:53:51 -0500, Chris Brennan xa...@xaerolimit.net wrote:
 There are two options that I know of that could make this part easier for
 you
 
 1) screen (tried and true) can do split windows/multiple windows although
 I've never been able to correctly figure it out
 
 2) tmux (the pretentious upstart), it's a quick install and it's built in
 help (^b?) is eternally useful and it's options make more sense then screen
 (to me at least)

Along with the Spanish Inquisition, there are three! Three!
Three options: screen, tmux, and the native solution of
virtual terminals via Alt+PFx switch. This even allows
you to use the mouse-driven edit buffer (copy + paste),
e. g. if you need to compose a command line using the
examples listed in the man page.

If you're accessing a system remotely, there is also the
option of opening -- FOUR! Four options! -- the option
of opening more than one connection to the remote system,
and each of them in an own xterm (or KDE Konsole tab
which I would say if I had been using KDE, but I haven't).
Of course, this solution also allows you copy + paste
operations. Other means of accessibility are provided by
the window manager you're using.

Nobody expects the Spanish Inquisition! :-)


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: new user questions. (Before I back myself into a corner!)

2010-11-26 Thread Chip Camden
Quoth Polytropon on Friday, 26 November 2010:
 On Fri, 26 Nov 2010 09:53:51 -0500, Chris Brennan xa...@xaerolimit.net 
 wrote:
  There are two options that I know of that could make this part easier for
  you
  
  1) screen (tried and true) can do split windows/multiple windows although
  I've never been able to correctly figure it out
  
  2) tmux (the pretentious upstart), it's a quick install and it's built in
  help (^b?) is eternally useful and it's options make more sense then screen
  (to me at least)
 
 Along with the Spanish Inquisition, there are three! Three!
 Three options: screen, tmux, and the native solution of
 virtual terminals via Alt+PFx switch. This even allows
 you to use the mouse-driven edit buffer (copy + paste),
 e. g. if you need to compose a command line using the
 examples listed in the man page.
 
 If you're accessing a system remotely, there is also the
 option of opening -- FOUR! Four options! -- the option
 of opening more than one connection to the remote system,
 and each of them in an own xterm (or KDE Konsole tab
 which I would say if I had been using KDE, but I haven't).
 Of course, this solution also allows you copy + paste
 operations. Other means of accessibility are provided by
 the window manager you're using.

FIVE!  Using a tiling window manager like xmonad, just open another
xterm.  Either share a workspace between them, or put one of them in a
different workspace, depending on whether you like to be able to see both
at the same time and/or have multiple monitors.

 
 Nobody expects the Spanish Inquisition! :-)
 

Yep, it's still a surprise, even after all these years.

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgpIbz7bWfdQZ.pgp
Description: PGP signature


Re: new user questions. (Before I back myself into a corner!)

2010-11-25 Thread Nathan Vidican
On Wed, Nov 24, 2010 at 4:49 PM, Dave d...@g8kbv.demon.co.uk wrote:

 Hi again.

 Firstly, many thanks for the responces to my questions.  Much
 appreciated.   Especialy as on other lesser forums (Lugs etc) I often
 get flamed for asking such stuff, and learn nothing as a result.


 OK.   The FTP thing first   Just for the heck of it, trying to use
 the built in server daemon, because it's there etc

 I've sort of got the default FTP server up and running thanks to the
 hints from you all, but pound to a penny, it's not optimaly configured,
 yet.

 I have two users defined, ral and faros (easy to remember, as they
 are the names of the two external automated systems I intend to have send
 data to the small website, when that's done.) Each with a unique
 password.

 Both are also members of a group webupdater.

 (As an asside, creating users, regardless of what shell I pick from the
 list, I get unknown root shell warnings as adduser completes.)

 Both users can connect to the ftp server (still stuck at port 21 for now,
 but I'm manually starting it from the root command line) and log in with
 their username and password.

 (Both can also login to the system from the console too, not what I
 wanted, but..   I did try the nologin shell, but that prevents them
 from loging in to the FTP server too.)

 However, each user see's it's own unique homedir folder, exactly as
 described in the man pages, but I'd like them to see the folder structure
 below by default.

 I have created a directory '/var/site' and from that some decendant
 directories that mimic the existing site on the other machine.

 /sitethe root folder for the FTP and WWW
 system.
 /site/60m
 /site/faros
 /site/faros/fixedimages
 /site/faros/parking

 I've been trying to use Groups, and the ftpchroot file, to get the
 users to see the /site directory as their root (for compatablility with
 the way things work on the other system, so I don't have to change
 existing batch and script files when I get to point them at this box) or
 their individual data directory 60m for ral and 'Faros' for Faros.

 However, the pages for that feature are a little thin in content detail
 that I can use.  (I'm looking at the man pages and handbook files on the
 freebsd.org site)

 I have this in /etc/ftpchroot
 @webupdater /var/site

 And indeed, loging into the ftp server as either faros, or ral, the
 default directory is indeed the /site folder as I wish.  As ftp users,
 then can traverse the tree downwards as needed, but not upwards from
 /site back to /var.  Nice.

 But, neither user can read write or even see anything in those
 directories (only the decendant directories are visible.)

 Without that entry in ftpchroot, then I can indeed ftp stuff
 up/down/sideways to/from each user's home folder, but that's not a lot of
 use for what I want.

 I sort of understand the way the rights work (I think) but as yet I can't
 see a way to assign group rights to a folder tree.

 Navigating my way there in the console, if I do a ls -l, then I see
 what's sort of expected.
 drwxr-xr-x # root  wheel 512 date time subfolder etc.
 (# is a number)   (when logged in as root, somewhat less, when logged in
 as ral or faros, but I can still list and read stuff.)

 Of course, the group webupdater is not listed, hence it's users wont be
 able to see or do anything.

 What have I missed?   Can I assign group rights to a folder structure?
 Or, am I going about this all wrong.

 Problems and unfamiliarity asside, I'm sort of enjoying all this.  But
 it's a near vertical learning curve, again...

 Best regards, time for the kettle to start work I think.

 Dave B.

 PS: I saw somewhere, that pureftp has had some recent security
 troubles.
 Can't find the details right now though.

 Ah..  Here we are
 http://www.vuxml.org/freebsd/533d20e7-f71f-11df-9ae1-000bcdf0a03b.html
 Like yesterday!

 Mind you, looking at it's features and abilities, I think I already need
 a second FreeBSD machine to play with to check this stuff out on.

 

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


Two commands of interest here, 'chmod' and 'chown'. I'd highly suggest
reading the manpage on both, but here's the short/quick-start version:

chmod
 - used to change permissions for a file or directory
 - permissions are broken down into: 2=read, 4=write, 1=execute
 - permissions are displayed in group of three, corresponding to
owner-group-everyone else
 - so chmod 666 means make owner,group,everyone each able to read(2) plus
write(4) (2+4=6)
   - the first number indicating the owner of the files permission, the
second the group, and the last everyone
 - so when you noted seeing drwxr-xr-x - that's 755 (owner
read+write+execute(7), group read+execute (5), everyone else 

Re: new user questions. (Before I back myself into a corner!)

2010-11-25 Thread Dave
On 25 Nov 2010 at 9:42, Nathan Vidican wrote:

Trimmed...

 
 Two commands of interest here, 'chmod' and 'chown'. I'd highly suggest
 reading the manpage on both, but here's the short/quick-start version:
 
 chmod
  - used to change permissions for a file or directory
  - permissions are broken down into: 2=read, 4=write, 1=execute
  - permissions are displayed in group of three, corresponding to
 owner-group-everyone else
  - so chmod 666 means make owner,group,everyone each able to read(2)
  plus
 write(4) (2+4=6)
- the first number indicating the owner of the files permission,
the
 second the group, and the last everyone
  - so when you noted seeing drwxr-xr-x - that's 755 (owner
 read+write+execute(7), group read+execute (5), everyone else
 read+execute(5)
  - in order for a user to 'cd' to a directory, the execute permission
  must
 be set
  - to answer your original question then, chmod 775 dir_name would
  then
 change the permissions to that the group can write as well
 
 chown
  - used to change ownership of a file or directory
  - can change owner, or group ownership
  - syntax is chown user:group dir_name
 
 As far as the FTP thing goes, you need to make sure that the shell you
 assign the user is listed in /etc/shells - that's what the system
 'standard' ftpd is looking for.
 
 -- 
 Nathan Vidican
 nat...@vidican.com
 


Thanks Nathan.

Following your lead, and after some more reading, I seem to have it 
working as I want.   That execute permission bit, is a doozie.  If you 
hadn't said it's needed for the user (or group member) to be able to 'cd' 
to that directory, I'd have been there for hours.

Lots is written about the 'x' bit, and allowing execution of a file, but 
not that it affects the ability to even use that directory.  I guess in 
this context, using = executing, so it sort of makes sense.

I did find though, that the -R switch, doesn't always cause chmod to 
alter sub directories in the way one expects.  One directory at a time 
then, but job done.

It appears too, that if one of the group members then creates a new 
direcory, that inherits the permissions of the parent directory.

Next task, to get the ftp server to work on another port.   I might just 
quit while ahead, and go up the pub though, and leave that till tomorrow.

Thanks again.

Dave.

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


Re: new user questions. (Before I back myself into a corner!)

2010-11-25 Thread Polytropon
On Thu, 25 Nov 2010 20:00:21 -, Dave d...@g8kbv.demon.co.uk wrote:
 Lots is written about the 'x' bit, and allowing execution of a file, but 
 not that it affects the ability to even use that directory.  I guess in 
 this context, using = executing, so it sort of makes sense.

It is written lots and nicely explained in man chmod,
where you can read:

   0100For files, allow execution by owner.  For directories,
   allow the owner to search in the directory.

   0010For files, allow execution by group members.  For directo-
   ries, allow group members to search in the directory

   0001For files, allow execution by others.  For directories
   allow others to search in the directory.

The 1 part of the octal masks refers to the x attribute. In
relation to directories, it means search, which you can also
see when using the find program: Directories that are not +x
cannot be searched.



 It appears too, that if one of the group members then creates a new 
 direcory, that inherits the permissions of the parent directory.

You can set default permissions for file creation using the
umask builtin (e. g. for csh, the default dialog shell); see
the man csh for details.



 Next task, to get the ftp server to work on another port.   I might just 
 quit while ahead, and go up the pub though, and leave that till tomorrow.

That's easy: See the -P option explained in man ftpd. Also
see /etc/defaults/rc.conf which mentions ftpd_flags.


Remember: This is FreeBSD, we have excellent manpages and
other good documentation. :-)



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: new user questions. (Before I back myself into a corner!)

2010-11-24 Thread Jonathan Chen
On Tue, Nov 23, 2010 at 08:41:17PM -0600, Kevin Kinsey wrote:
[...]
 Have a FTP server, so I can automate some of the web page graphics 
 updates, from other systems that generate the data, and can FTP files 
 across the LAN, also of course for general web page maintenance needs.
 
 The base system ftpd is run from inetd, a super server which can serve
 several small protocols.  Have a look at /etc/inetd.conf.  The first real 
 line:
 
 #ftp stream  tcp nowait  root/usr/libexec/ftpd   ftpd -l
 
Uncomment that (remove the 'hash'), and save it (you'll have to be root
 again, of course).

An easier solutions would be to enable the ftp server in standalone
mode via /etc/rc.conf:

ftpd_enable=YES

-- 
Jonathan Chen j...@chen.org.nz
--
The reason why worry kills more people than work is that more people
 worry than work. - Robert Frost
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: new user questions. (Before I back myself into a corner!)

2010-11-24 Thread Polytropon
Allow me to answer some of your questions without begin too
precise about the whole picture, because I just can't speak
about all aspects due to lack of experience. :-)



On Tue, 23 Nov 2010 22:55:51 -, Dave d...@g8kbv.demon.co.uk wrote:
 I'd like to:-
 Have a ssh login via LAN available, I believe that's a standard feature, 
 but I expressedly disabled that (well, told it not to implement it) when 
 I orignaly installed the OS. 

The SSH functionality is provided by

sshd_enable=YES

in /etc/rc.conf; upon reboot or

/etc/rc.d/sshd start

the server gets activated. If no keys are present, they are
generated at first startup. You can also provide your own set
of keys if you already have some. See

man sshd

for details.



 Have a small web server, again I've read that Apache can do a good job, 
 but I don't want (nor need) all it's facilities, in particular I need to 
 lock it down so no Put's can happen for a start!  The web pages are 
 simple flat form, text and static graphics, with a little client side 
 scripting, purely to find the client's local date and time, to select the 
 graphic to serve.

Well, lighttpd comes to my mind, although there are some others
that are really good at this simple stuff. Reducing things to
a working and functional minimum isn't as easy as it sounds. :-)



 Have a FTP server, so I can automate some of the web page graphics 
 updates, from other systems that generate the data, and can FTP files 
 across the LAN, also of course for general web page maintenance needs.

The system brings an FTP server. You can enable it by uncommenting
the entry

ftp  stream  tcp  nowait  root  /usr/libexec/ftpd  ftpd -ll

in /etc/inetd.conf. With this approach, the system's inetd controls
the communication to the server program.

You'll notice that THIS line has ftpd -ll (ell ell) instead of just
one -l. This is intended for log purposes. Add the line

!ftpd
*.* /var/log/ftpd.log

to /etc/syslog.conf and

touch /var/log/ftpd.log

to create a log file for the FTP server. This can help you to
spot misbehaviour either on server or client side.



 That sounds in the face of things what I want, but am unsure of the 
 implications of doing that.  Is it better (ie, easier for a novice to 
 manage) than the native OS based FTP server tool?  I would preffer to 
 have FTP login's that are in no way related to any system login users.

In order to disallow system level accounts for FTP, use the file
/etc/ftpusers: This file contains the accounts that are NOT allowed
to make an FTP connection. Put root and toor (UID 0 accounts)
on top. Also put ftp there - this is the anonymous FTP user
which I think you do NOT want to work.

Also, consider using scp for file transfers, it's often much more
convenient, allthough I like

ftp -u ftp://$(FTPUSER):$(FTPPASSWD)@$(SERVER) ${FILES}

for shoving new stuff onto the the web server with FTP server. :-)

There's nothing wrong with system's FTP in my opinion, as long as
you know what it's actually doing (and how), and you can see the
implications to consider to your particular needs and security
requirements.



 Of all the stuff I've read so far in the FreeBSD handbook, and a few 
 other places, not one mention is made (that I can see so far) of how to 
 set services for alternative port numbers?

In the documentation of that services (FTP, SSH for example) you
can specify alternative ports, e. g. -p port for sshd which can
be set via sshd_flags= in the /etc/rc.conf file. It's always a good
idea to look through the man pages of the programs you use. The
system's program ALL do come with a good manpage - software from
ports not always provides that quality.



 Unless there is a compelling argument to, I'd prefer to stick with V8.0 
 too.

I don't see a problem with that. Unlike most other operating systems,
you can always use FreeBSD on old-fashioned hardware. For example,
I have a 150 MHz P1 with 128 MB here doing some simple in-house
server stuff - it currently runs 8.0 (and will soon receive an
update using freebsd-update, a tool that will allow you to keep
your system on a current state even if you don't want to run big
compile orgies on it).



 PS:   I run one of these
 http://www.ncdxf.org/beacon/monitors.html

Greetings es 73 de JO52TD ryryryry ...-.- :-)




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: new user questions. (Before I back myself into a corner!)

2010-11-24 Thread Dave
Hi again.

Firstly, many thanks for the responces to my questions.  Much 
appreciated.   Especialy as on other lesser forums (Lugs etc) I often 
get flamed for asking such stuff, and learn nothing as a result.


OK.   The FTP thing first   Just for the heck of it, trying to use 
the built in server daemon, because it's there etc

I've sort of got the default FTP server up and running thanks to the 
hints from you all, but pound to a penny, it's not optimaly configured, 
yet.

I have two users defined, ral and faros (easy to remember, as they 
are the names of the two external automated systems I intend to have send 
data to the small website, when that's done.) Each with a unique 
password.

Both are also members of a group webupdater.

(As an asside, creating users, regardless of what shell I pick from the 
list, I get unknown root shell warnings as adduser completes.)

Both users can connect to the ftp server (still stuck at port 21 for now, 
but I'm manually starting it from the root command line) and log in with 
their username and password.

(Both can also login to the system from the console too, not what I 
wanted, but..   I did try the nologin shell, but that prevents them 
from loging in to the FTP server too.)

However, each user see's it's own unique homedir folder, exactly as 
described in the man pages, but I'd like them to see the folder structure 
below by default.

I have created a directory '/var/site' and from that some decendant 
directories that mimic the existing site on the other machine.

/sitethe root folder for the FTP and WWW system.
/site/60m
/site/faros
/site/faros/fixedimages
/site/faros/parking

I've been trying to use Groups, and the ftpchroot file, to get the 
users to see the /site directory as their root (for compatablility with 
the way things work on the other system, so I don't have to change 
existing batch and script files when I get to point them at this box) or 
their individual data directory 60m for ral and 'Faros' for Faros.

However, the pages for that feature are a little thin in content detail 
that I can use.  (I'm looking at the man pages and handbook files on the 
freebsd.org site)

I have this in /etc/ftpchroot
@webupdater /var/site

And indeed, loging into the ftp server as either faros, or ral, the 
default directory is indeed the /site folder as I wish.  As ftp users, 
then can traverse the tree downwards as needed, but not upwards from 
/site back to /var.  Nice.

But, neither user can read write or even see anything in those 
directories (only the decendant directories are visible.)

Without that entry in ftpchroot, then I can indeed ftp stuff 
up/down/sideways to/from each user's home folder, but that's not a lot of 
use for what I want.

I sort of understand the way the rights work (I think) but as yet I can't 
see a way to assign group rights to a folder tree.

Navigating my way there in the console, if I do a ls -l, then I see 
what's sort of expected.
drwxr-xr-x # root  wheel 512 date time subfolder etc.
(# is a number)   (when logged in as root, somewhat less, when logged in 
as ral or faros, but I can still list and read stuff.)

Of course, the group webupdater is not listed, hence it's users wont be 
able to see or do anything.

What have I missed?   Can I assign group rights to a folder structure?  
Or, am I going about this all wrong.

Problems and unfamiliarity asside, I'm sort of enjoying all this.  But 
it's a near vertical learning curve, again...

Best regards, time for the kettle to start work I think.

Dave B.

PS: I saw somewhere, that pureftp has had some recent security troubles.  
Can't find the details right now though.

Ah..  Here we are
http://www.vuxml.org/freebsd/533d20e7-f71f-11df-9ae1-000bcdf0a03b.html  
Like yesterday!

Mind you, looking at it's features and abilities, I think I already need 
a second FreeBSD machine to play with to check this stuff out on.



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


new user questions. (Before I back myself into a corner!)

2010-11-23 Thread Dave
If I've not already done so.

Hi.   Sorry, this goes on a bit

New to FreeBSD, but long time served PC nut and user, from the before DOS 
days onwards...

I've not long ago put together a small FreeBSD V8.0 system, primeraly as 
a GPS derrived NTP server, following instructions from here:-
http://blog.doylenet.net/?p=145

The hardware is a small form desktop PC, with a P3/700 CPU, 15G drive, 
but only (at the moment) 256M of RAM.  I have not installed any of the X 
system, it's all command line stuff, only.

It seems to work well, no issues with that, at the moment.

In my original plans, I wanted a headless appliance, and that's what 
I've got, and as above it works fine.

However, I'd like to move some services off another PC (that is in dire 
need of some hardware maintenance) onto this one, and though I've read 
some of the Handbook, and many links from it, I'm still a bit unsure as 
to what best to do.

I'd like to:-
Have a ssh login via LAN available, I believe that's a standard feature, 
but I expressedly disabled that (well, told it not to implement it) when 
I orignaly installed the OS.   Or have a VNC server running.

Have a small web server, again I've read that Apache can do a good job, 
but I don't want (nor need) all it's facilities, in particular I need to 
lock it down so no Put's can happen for a start!  The web pages are 
simple flat form, text and static graphics, with a little client side 
scripting, purely to find the client's local date and time, to select the 
graphic to serve.

Have a FTP server, so I can automate some of the web page graphics 
updates, from other systems that generate the data, and can FTP files 
across the LAN, also of course for general web page maintenance needs.

It'd be nice to have a  VPN endpoint, but not esential, as that is 
currently living on another W2k box.  But in the long term perhaps.  The 
only complication with that, is I need to be able to tunnel a UDP VoIP 
stream over/throug it.  (I currently use Hamachi on Windows for that, it 
works well.)  Also, the other end needs to live on a XP (or later) 
Laptop.

I have done all that on Win2k, Using FileZilla server, and over time 
various web server app's, plus some 3rd party free VPN solutions on 
another machine, but that machine is in dire need of a major hardware 
overhaul, plus I have other plans for it when that is done, so moving the 
server tools to the F'BSD box seem like a good idea at the moment.

I've just spent a couple of hours with the FreeBSD on-line manual 
(Handbook) trying to get a simple FTP server working, but in all honesty, 
I'm out of my depth with that, in some ways, not enough detail, in other 
ways, too much detail.   (A very simple worked example of the various 
.conf files would be nice to see.)

I've found:-
http://forums.freebsd.org/showthread.php?t=591
That sounds in the face of things what I want, but am unsure of the 
implications of doing that.  Is it better (ie, easier for a novice to 
manage) than the native OS based FTP server tool?  I would preffer to 
have FTP login's that are in no way related to any system login users.

Lastly, I have everything so far (on the Win2k box) working well with 
highly non standard (high numbered) ports.   Even thoug it's exposed 
(via port forwarding in the router) to the outside, there is next to no 
noise, (script kiddies, chinese hackers etc) poking arround my back 
passage.

Of all the stuff I've read so far in the FreeBSD handbook, and a few 
other places, not one mention is made (that I can see so far) of how to 
set services for alternative port numbers?

Lastly, as I don't want to break the existing NTP server, I may find 
another PC of similar spec, to mess with, witn some sort of impunity.

Unless there is a compelling argument to, I'd prefer to stick with V8.0 
too.

Advice please (and perhaps a little hand holding.)

Cheers.

Dave B.

PS: I run one of these
http://www.ncdxf.org/beacon/monitors.html


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


Re: new user questions. (Before I back myself into a corner!)

2010-11-23 Thread Nerius Landys
 I'd like to:-
 Have a ssh login via LAN available, I believe that's a standard feature,
 but I expressedly disabled that (well, told it not to implement it) when
 I orignaly installed the OS.   Or have a VNC server running.

Add the following line:

sshd_enable=YES

to file /etc/rc.conf .
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: new user questions. (Before I back myself into a corner!)

2010-11-23 Thread Beech Rintoul
On Tuesday 23 November 2010 13:55:51 Dave wrote:

SNIP
 
 Have a small web server, again I've read that Apache can do a good job,
 but I don't want (nor need) all it's facilities, in particular I need to
 lock it down so no Put's can happen for a start!  The web pages are
 simple flat form, text and static graphics, with a little client side
 scripting, purely to find the client's local date and time, to select the
 graphic to serve.

Two good choices for a lightweight webserver would be:

www/cherokee  Easy to configure

www/lighttpd  Also lightweight and easy to configure

 Have a FTP server, so I can automate some of the web page graphics
 updates, from other systems that generate the data, and can FTP files
 across the LAN, also of course for general web page maintenance needs.

ftp/proftpd 

Cheers

Beech


-- 
---
Beech Rintoul - FreeBSD Developer - be...@freebsd.org
/\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
\ / - NO HTML/RTF in e-mail  | http://people.freebsd.org/~beech
 X  - NO Word docs in e-mail | Skype: akbeech
/ \ - http://www.FreeBSD.org/releases/8.0R/announce.html
---





signature.asc
Description: This is a digitally signed message part.


Re: new user questions. (Before I back myself into a corner!)

2010-11-23 Thread Kevin Kinsey

Dave wrote:


Hi. Sorry ... snip


Hello, and welcome.  And I made it a bit shorter ;-)

  I'd like to:-
Have a ssh login via LAN available, I believe that's a standard feature, 
but I expressedly disabled that (well, told it not to implement it) when 
I orignaly installed the OS.   Or have a VNC server running.


As someone mentioned:
   sshd_enable=YES
in /etc/rc.conf.  You can then either a] reboot, or b] issue the
following with root privileges:
   /etc/rc.d/sshd start

Have a small web server, again I've read that Apache can do a good job, 
but I don't want (nor need) all it's facilities, in particular I need to 
lock it down so no Put's can happen for a start!  The web pages are 
simple flat form, text and static graphics, with a little client side 
scripting, purely to find the client's local date and time, to select the 
graphic to serve.


I believe Beech had some advice on this.  It's probably pretty good :-)

Have a FTP server, so I can automate some of the web page graphics 
updates, from other systems that generate the data, and can FTP files 
across the LAN, also of course for general web page maintenance needs.


The base system ftpd is run from inetd, a super server which can serve
several small protocols.  Have a look at /etc/inetd.conf.  The first real 
line:

#ftp stream  tcp nowait  root/usr/libexec/ftpd   ftpd -l

   Uncomment that (remove the 'hash'), and save it (you'll have to be root
again, of course).

See if inetd is running:

$ pgrep inetd

If you get a number(PID), it's running.  Otherwise, you'll probably need
to enable it.  Again, you need:
  inetd_enable=YES
in /etc/rc.conf.  Add the line and either a] reboot, or b] issue the
following with root privileges:
   /etc/rc.d/inetd start

Sound familiar?

*IF* inetd was *already running*, all you should have to do is issue:

$ kill -HUP `pgrep inetd`

It'd be nice to have a  VPN endpoint, but not esential, as that is 
currently living on another W2k box.  But in the long term perhaps.  The 
only complication with that, is I need to be able to tunnel a UDP VoIP 
stream over/throug it.  (I currently use Hamachi on Windows for that, it 
works well.)  Also, the other end needs to live on a XP (or later) 
Laptop.


I'll leave vpn to someone more knowledgeable in that area.  AFAIK you'll
have to install a port; /usr/ports/security/openvpn is likely the canonical
program, but, as I say, seek other advice on that fo' shizzle ;-)

I would preffer to 
have FTP login's that are in no way related to any system login users.


I can't help with that either; check the docs on Beech's suggestions,
perhaps.

Lastly, I have everything so far (on the Win2k box) working well with 
highly non standard (high numbered) ports.   Even thoug it's exposed 
(via port forwarding in the router) to the outside, there is next to no 
noise, (script kiddies, chinese hackers etc) poking arround my back 
passage.


Of all the stuff I've read so far in the FreeBSD handbook, and a few 
other places, not one mention is made (that I can see so far) of how to 
set services for alternative port numbers?


That's generally in the configuration file for the server.  This information
might be available in the manpage, if one exists.

For example:

$man sshd | col -bx  ~/sshd.txt
$ grep -c port ~/sshd.txt
22

So, there's at least 22 mentions of port in the sshd manpage.
As it turns out, there's a line in /etc/ssh/sshd_config that gives
it right away:

$ grep -i port /etc/ssh/sshd_config
#Port 22
# Disable legacy (protocol version 1) support in the server for new
#GatewayPorts no

So, remove the comment from the Port 22 line, change the number
from the default 22 (222, perhaps, for memory's sake?) and either a]
reboot, or b] kill -HUP `pgrep sshd`   (sounding REAL familiar now).

Incidentally, one might suggest that running on non-standard ports
is merely security by obscurity.  In the case of sshd, at least, a
better solution might be to only allow key-based authentication; but,
as I said, that's just a suggestion.  I have done such things myself
a time or two ... I kinda think I just delayed the inevitable in that
case, though.

Lastly, as I don't want to break the existing NTP server, I may find 
another PC of similar spec, to mess with, witn some sort of impunity.


Well, as I mention, often you can enable and start these additional
services from the base system with little or no interruption to extant
services at all (which, IMHO, is exactly as a Real Server should work,
take that, M$).  But I suppose we'd certainly understand.  You might
even just get a Live-CD distribution and dink around with that.  AFAIK,
you could run ftpd, inetd, and sshd temporarily on those just to get
a feel for how to administer them.

My $0.02,

Kevin D. Kinsey
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 

Re: new user questions. (Before I back myself into a corner!)

2010-11-23 Thread Charlie Kester

On Tue 23 Nov 2010 at 17:43:32 PST Beech Rintoul wrote:

On Tuesday 23 November 2010 13:55:51 Dave wrote:

SNIP


Have a small web server, again I've read that Apache can do a good job,
but I don't want (nor need) all it's facilities, in particular I need to
lock it down so no Put's can happen for a start!  The web pages are
simple flat form, text and static graphics, with a little client side
scripting, purely to find the client's local date and time, to select the
graphic to serve.


Two good choices for a lightweight webserver would be:

www/cherokee  Easy to configure

www/lighttpd  Also lightweight and easy to configure


Another good one is www/hiawatha  - fast, secure, easy to configure

Despite popular misimpressions, there are many more webservers out there
besides Apache and IIS. It will probably be well worth your time, Dave,
to spend some time at freshports.org, browsing the www category.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: New user - small file server questions and quick GUI question

2010-01-01 Thread Kaya Saman

Hi Roland,

many thanks for the response!!! :-)

I waited until I had a test server setup and at least now I do..

In fact I think from my usage perspective FreeBSD is not that difficult 
to understand!!!


I now have a test machine setup which I built nano and Bind 9.6.1 from 
the ports collection and I have ntp and nfs setup too.


I am currently wondering what to do about the disk space as nothing is used:

test# df -h
Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/ad0s1a 34G1.2G 30G 4%/
devfs  1.0K1.0K  0B   100%/dev
devfs  1.0K1.0K  0B   100%/var/named/dev


If I create separate partitions for /var /usr and /tmp I am sure that I 
won't need that much unless I have a totally dynamic file system which 
will grow over time. But with minimal usage just to transfer the off 
file but mainly read files from as now the users are going down to 1 
machine (just me) so I think with 2GB I can probably get away with it 
for each filesystem???


What do you say?

Many thanks to everyone else that responded to this thread/post all your 
help and advice has been much appreciated!


Regards,

Kaya

P.s. The good part with this is that I'm only using 23MB or memory too 
which is incredible considering that Linux or Solaris would take so much 
more. This is kinda cool..

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


Re: New user - small file server questions and quick GUI question

2010-01-01 Thread Kaya Saman

Just to give a quick overview of what is being used currently:

test# du -sch etc
1.7Metc
1.7Mtotal
test# du -sch var
1.0Mvar
1.0Mtotal
test# du -sch tmp
10Ktmp
10Ktotal
test# du -sch usr
1.0Gusr
1.0Gtotal

I think I could get away with 500MB for /var and /tmp and have /usr as 2 
or 3GB??


What's everyone's verdict?

Also I didn't realize and forgot to mention before that NFS on BSD won't 
export /home but instead exports the link in /usr/home. as I had 
issues with bad exports line /home in /var/log/messages!


In addition I edited my rc.conf file to include these extra lines as per 
Google; what's everyone's opinion on them though as I'm a little unsure 
of what they do (indicated with *):


inetd_enable=YES
keymap=us.iso
nfs_server_enable=YES
*nfs_server_flags=-u -t -n 4
rpcbind_enable=YES
*rpcbind_flags=-r
sshd_enable=YES
named_enable=YES
mountd_enable=YES
ntpd_enable=YES

Finally for Bind I don't get why everything has been stuffed into 
named.conf??? In terms of all root servers etc Linux is very 
different in that a separate dir is created with separate file for root 
servers. Is there any particular reason for this??



--Kaya
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: New user - small file server questions and quick GUI question

2010-01-01 Thread Roland Smith
On Fri, Jan 01, 2010 at 11:41:04PM +0200, Kaya Saman wrote:
 Hi Roland,
 
 many thanks for the response!!! :-)

You're welcome!
 
 I waited until I had a test server setup and at least now I do..
 
 In fact I think from my usage perspective FreeBSD is not that difficult 
 to understand!!!

If you're used to Solaris of Linux, it should be familiar. But there are some
differences in details.

 I now have a test machine setup which I built nano and Bind 9.6.1 from 
 the ports collection and I have ntp and nfs setup too.
 
 I am currently wondering what to do about the disk space as nothing is used:
 
 test# df -h
 Filesystem SizeUsed   Avail Capacity  Mounted on
 /dev/ad0s1a 34G1.2G 30G 4%/
 devfs  1.0K1.0K  0B   100%/dev
 devfs  1.0K1.0K  0B   100%/var/named/dev
 
 If I create separate partitions for /var /usr and /tmp I am sure that I 
 won't need that much unless I have a totally dynamic file system which 
 will grow over time.

You do realize that changing partitions will destroy your filesystems? Just so
you know. :-)

 But with minimal usage just to transfer the off 
 file but mainly read files from as now the users are going down to 1 
 machine (just me) so I think with 2GB I can probably get away with it 
 for each filesystem???
 
 What do you say?

It really depends on what you want to do with it... How many ports do you want
to install? What kind of servers do you want to run? How much data will the
users generate/store? All these questions have an impact, and nobody can
answer them for you. :-)

You could leave it as it is for now, and just use the machine for a while, and
see how big the different directories get over time. (hint; use du(1) to check
the size of all files under a directory) Once you've got a feeling for how
much space you need, you can backup your data (config files and user data) and
do a new install where you partition the disk properly. That's the best way
IMO.

 P.s. The good part with this is that I'm only using 23MB or memory too 
 which is incredible considering that Linux or Solaris would take so much 
 more. This is kinda cool..

You can reduce memory usage somewhat more by building a kernel that only
contains the drivers that you need compiled in, and nothing else. If you don't
build kernel modules, it will save some disk space as well.

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)


pgpY7I6WIYC7K.pgp
Description: PGP signature


Re: New user - small file server questions and quick GUI question

2009-12-29 Thread Alex de Kruijff
On Mon, Dec 28, 2009 at 11:49:31PM +0200, Kaya Saman wrote:
 Hi guys,
 I attempted an install of 7.2 stable on my laptop and subsequently 
 installed X11also. Now I didn't have any Xorg.conf file but each time I 
 tried to start X from the CLI using the normal startx command (read the 
 documentation through fully beforehand) but I didn't manage to get the 
 mouse or keyboard to even work let alone starting the Gnome2 interface.

Beside the two daemons others refered to, you sould also edit ~/.initrc
and ~/xsession. For me both have the line: 'exec startkde'. Thats the
command to start kde.

 I am looking to setup a small file server which I will use as DNS and 
 NTP server also. The reason for selecting FreeBSD is that the system I 
 about to install onto doesn't have much memory (not sure how much but 
 probably in the region of 300-500MB perhaps) and although Linux would 
 definitely suite this kind of system as Solaris needs round 2GB or so 
 for OpenSolaris, I am quite interested to learn FreeBSD but also take 
 advantage of the ZFS file system which is standard now in version 8.

I would stick with UFS of UFS2. The latter if you don't intent to share
them with *BSD. As I understand ZFS uses quite a lot more resources. If
I wanted to something with RAID I might still use it, but even so still
would use UFS to the system slices.

If you low on disk space you can reduce this. I have used 256M for / in
the past but would advise against this. You would need something like 8G
for /usr. But may need to raise that by 5G if you build ports. I have
larger /temp of 7G, but also build ports there. If you build Java it
would need a least 4G.

 I won't be installing a GUI on this machine since it is going to be a 
 server so I would like to know if BSD has a small footprint memory and 
 CPU wise for me to run on the machine in question which is a PIV?

It's not a problem. The footprint depends more on the ports you like to
run.

 Also just to make sure: NFS, Samba, NTPd, and ISC's Bind are all 
 supported on FreeBSD aren't they??

Some come with the system, others you have to install.
-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

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


Re: New user - small file server questions and quick GUI question

2009-12-29 Thread Alex de Kruijff
On Mon, Dec 28, 2009 at 04:20:10PM -0600, Adam Vande More wrote:
 On Mon, Dec 28, 2009 at 3:49 PM, Kaya Saman kayasa...@optiplex-networks.com
 Running with no xorg.conf is fine, but you need to make sure dbus and hal
 are started at boot.  Follow the handbook for best results.
 
 http://www.freebsd.org/doc/en/books/handbook/x-config.html

How come?

The keybord and mouse work for me without on a simple shell.
-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

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


Re: New user - small file server questions and quick GUI question

2009-12-29 Thread Alex de Kruijff
On Mon, Dec 28, 2009 at 05:04:52PM -0600, Adam Vande More wrote:
 On Mon, Dec 28, 2009 at 4:42 PM, Kaya Saman samank...@netscape.net wrote:
  Also if something goes wrong with the filesystem what are the tools to
  check the drive and repair errors as in Linux I use e2fsck followed by
  device ID.
 
 Example after a dirty shutdown:
 
  fsck -y

FreeBSD 7 and up is able to do a lot of this on the background: fsck -yB

Adding the line 'fsck_y_enable=YES' to /etc/rc.conf will run fsck -y
if the initial preen fails
-- 
Alex
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: New user - small file server questions and quick GUI question

2009-12-29 Thread Kaya Saman

Alex de Kruijff wrote:

On Mon, Dec 28, 2009 at 05:04:52PM -0600, Adam Vande More wrote:
  

On Mon, Dec 28, 2009 at 4:42 PM, Kaya Saman samank...@netscape.net wrote:


Also if something goes wrong with the filesystem what are the tools to
check the drive and repair errors as in Linux I use e2fsck followed by
device ID.
  

Example after a dirty shutdown:

 fsck -y



FreeBSD 7 and up is able to do a lot of this on the background: fsck -yB

Adding the line 'fsck_y_enable=YES' to /etc/rc.conf will run fsck -y
if the initial preen fails
  


Many thanks guys for all the advice :-)

It is really appreciated!

Sorry haven't snipped more stuff into this mail but things are a bit 
hectic here but what I will say is this; in a few hours once the BSD 8 
DVD ISO comes in I will attempt an install and have a look at what's what.


The server will be constructed first and then I will look at the GUI 
environment with Vbox.


I reckon the proposed disk usage spec from the FreeBSD hand book should 
suffice though shouldn't it??


With a larger HD I would normally do something like 15 - 25GB / (root) 
partition and the rest for /home with round 1.5 - 3GB for swap.


Now my HD is round 40GB so I will do a minimal install and try to 
maximize the /home slice! As result only services I will run are DNS, 
NTP, SAMBA and NFS.


I suppose I could get away with something like 2GB for / which would 
then contain /tmp, /etc, /root, /boot etc.


Only 2 machines will be connected, my uncles Win XP box and my 
Linux/Solaris system.


--Kaya
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: New user - small file server questions and quick GUI question

2009-12-29 Thread Frank Shute
On Tue, Dec 29, 2009 at 05:19:54PM +0200, Kaya Saman wrote:

 
 Many thanks guys for all the advice :-)
 
 It is really appreciated!
 
 Sorry haven't snipped more stuff into this mail but things are a bit 
 hectic here but what I will say is this; in a few hours once the BSD 8 
 DVD ISO comes in I will attempt an install and have a look at what's what.
 
 The server will be constructed first and then I will look at the GUI 
 environment with Vbox.
 
 I reckon the proposed disk usage spec from the FreeBSD hand book should 
 suffice though shouldn't it??

IMO the root slice is too small in the handbook. You should make it
2GB, since you've got the space.

 
 With a larger HD I would normally do something like 15 - 25GB / (root) 
 partition and the rest for /home with round 1.5 - 3GB for swap.
 
 Now my HD is round 40GB so I will do a minimal install and try to 
 maximize the /home slice! As result only services I will run are DNS, 
 NTP, SAMBA and NFS.

What is not unusual is to symlink /home e.g:

# ln -s /usr/home /home

ditto for /tmp.  i.e you remove all the stuff that uses up space from
the root partition.

So the only slices you need are /, /usr, /var and swap.

How I'd slice up the disk:

2GB for /
2GB for swap
2GB for /var
34GB for /usr

 
 I suppose I could get away with something like 2GB for / which would 
 then contain /tmp, /etc, /root, /boot etc.

Should be OK but /tmp symlinked to /usr/tmp as some things can really
fill up /tmp. For example, IIRC OpenOffice needs gigs of temp space
to build.

 
 Only 2 machines will be connected, my uncles Win XP box and my 
 Linux/Solaris system.

Should work fine. Just remember to make your /home and /tmp symlinks
as soon as you first boot up.

Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html


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


Re: New user - small file server questions and quick GUI question

2009-12-29 Thread Kaya Saman

[...]


What is not unusual is to symlink /home e.g:

# ln -s /usr/home /home

ditto for /tmp.  i.e you remove all the stuff that uses up space from
the root partition.

So the only slices you need are /, /usr, /var and swap.

How I'd slice up the disk:

2GB for /
2GB for swap
2GB for /var
34GB for /usr
  


Ah so BSD is slightly different from Linux in the fact that it needs to 
have /var and /usr filesystems separate??


I guess it must be similar to the way Solaris handles things when UFS 
based (not ZFS).


The /home partition then is very similar to Solaris in that /export/home 
is considered the user directory. Means BSD stores /home in /usr/home??


  


Should be OK but /tmp symlinked to /usr/tmp as some things can really
fill up /tmp. For example, IIRC OpenOffice needs gigs of temp space
to build.
  


OpenOffice or IIRC is for GUI based usage and not CLI. Since this will 
be a simple server no GUI or work will be done on the machine itself in 
terms of keyboard/mouse setup. Normally I work through SSH so will be 
much easier once I have network connectivity up and running after 
initial install :-)
  


Should work fine. Just remember to make your /home and /tmp symlinks
as soon as you first boot up.

Regards,

  

Thanks!!!


--Kaya
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: New user - small file server questions and quick GUI question

2009-12-29 Thread Warren Block

On Tue, 29 Dec 2009, Kaya Saman wrote:

How I'd slice up the disk:

2GB for /
2GB for swap
2GB for /var
34GB for /usr



Ah so BSD is slightly different from Linux in the fact that it needs to have 
/var and /usr filesystems separate??


It's not required, it's just nice to do if the disk space is available.

You can allocate the whole disk to /.  With all the free space in one 
filesystem, that's useful for small disks (under 8G, I'd say).


Keeping the filesystems separate provides some versatility at the 
expense of splitting up the free space.  dump(8)ing a 300M / or a 100M 
/var is a lot easier than a 100G whole disk.


-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 freebsd-questions-unsubscr...@freebsd.org


Re: New user - small file server questions and quick GUI question

2009-12-29 Thread Frank Shute
On Tue, Dec 29, 2009 at 06:37:25PM +0200, Kaya Saman wrote:

 [...]
 
 What is not unusual is to symlink /home e.g:
 
 # ln -s /usr/home /home
 
 ditto for /tmp.  i.e you remove all the stuff that uses up space from
 the root partition.
 
 So the only slices you need are /, /usr, /var and swap.
 
 How I'd slice up the disk:
 
 2GB for /
 2GB for swap
 2GB for /var
 34GB for /usr
   
 
 Ah so BSD is slightly different from Linux in the fact that it needs to 
 have /var and /usr filesystems separate??

You can have /var on the same slice but because it's a filesystem
that's constantly being read  written to it's usual to keep it
separate from your static partitions.

 
 I guess it must be similar to the way Solaris handles things when UFS 
 based (not ZFS).
 
 The /home partition then is very similar to Solaris in that /export/home 
 is considered the user directory. Means BSD stores /home in /usr/home??

Again, it's just a common practice. Due to the PC BIOS, IIRC you're
restricted to 4 slices.

 
   
 
 Should be OK but /tmp symlinked to /usr/tmp as some things can really
 fill up /tmp. For example, IIRC OpenOffice needs gigs of temp space
 to build.
   
 
 OpenOffice or IIRC is for GUI based usage and not CLI. Since this will 
 be a simple server no GUI or work will be done on the machine itself in 
 terms of keyboard/mouse setup. Normally I work through SSH so will be 
 much easier once I have network connectivity up and running after 
 initial install :-)

OK. You may want to make /tmp a separate slice. You can always make it
a symlink into /usr at a latter date if you repurpose the machine.

You would find that FreeBSD works quite well as a workstation even
with that limited hardware.

   
 
 Should work fine. Just remember to make your /home and /tmp symlinks
 as soon as you first boot up.
 
 Regards,
 
   
 Thanks!!!
 

BTW, you mentioned you were going to use packages. If I were you I'd
build from source. It's less problematic in my experience and since
FreeBSD multitasks so well it's not much of a pain. You've got plenty
of room for the ports tree.

Best of luck with your installation!

Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html


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


Re: New user - small file server questions and quick GUI question

2009-12-29 Thread Jerry McAllister
On Tue, Dec 29, 2009 at 04:27:11PM +, Frank Shute wrote:

 On Tue, Dec 29, 2009 at 05:19:54PM +0200, Kaya Saman wrote:
  
  Many thanks guys for all the advice :-)
  It is really appreciated!
  ...
  
  I reckon the proposed disk usage spec from the FreeBSD hand book should 
  suffice though shouldn't it??
 
 IMO the root slice is too small in the handbook. You should make it
 2GB, since you've got the space.

First of all, you are mixing up your terminology.  
You do not mean 'slice' here.
The unit used for root or any other filesystem in 
a non-dangerously-dedicated disk is called a partition.   
Partitions divisions of slices and are identified 
as a..h with c reserved for the system and by 
convention (and expectation of some pieces of software) 'a' 
is for the bootable OS partition (root) and 'b' is used for swap.   

In FreeBSD, partitions reside inside of slices.   A slice is 
essentially the same thing as a DOS primary partition and is the 
initial (primary) division of a disk.   A disk drive may have up 
to four slices identified as 1..4 and each may be made bootable 
or not and contain different OSen or OS versions.   If a disk is 
only to be used for a single installation of FreeBSD, it is most 
common to define just one slice which encompasses the whole drive, 
leaving the other three slices empty and unused.  (It is also 
common to define a 'dangerously dedicated' disk, but that is
a different discussion issue than that being addressed here)  

In FreeBSD, slices are defined and created by the FreeBSD fdisk 
program, though a number of other partition management utilities 
can be used and FreeBSD seems to be moving to a new one too.

In FreeBSD, one uses bsdlabel(8) to create partitions within a
slice.   Each slice can have up to 8 identified as a..h, but the 'c'
partition is reserved and must be left unused.

We use common names associated with partitions, such as / (root)
 /usr, /var, /home, etc.  Those are essentially directories that
are 'linked' to a partition by the mount system.  You create 
a mount point using the mkdir(1) command and then link using mount(8).

The 'a' partition becomes root because it gets mounted to the / mount point.  

Now, on to divvying up the disk. 
I agree that the root partition listed in the handbook is anciently 
too small.  But, I don't see what you need 2GB for unless you put
everything (/usr, /var, etc) in it.   Since you are defining those
separately, root really only needs about a half GigaByte.   I am
running a little low on one machine with 1/3 GB in root, but still going.
I also create a partition for /tmp to keep it isolated from the
other filesystems, in case something runs wild.

  
  With a larger HD I would normally do something like 15 - 25GB / (root) 
  partition and the rest for /home with round 1.5 - 3GB for swap.
  
  Now my HD is round 40GB so I will do a minimal install and try to 
  maximize the /home slice! As result only services I will run are DNS, 
  NTP, SAMBA and NFS.
 
 What is not unusual is to symlink /home e.g:
 
 # ln -s /usr/home /home
 
 ditto for /tmp.  i.e you remove all the stuff that uses up space from
 the root partition.
 
 So the only slices you need are /, /usr, /var and swap.
 
 How I'd slice up the disk:
 
 2GB for /
 2GB for swap
 2GB for /var
 34GB for /usr

  
  I suppose I could get away with something like 2GB for / which would 
  then contain /tmp, /etc, /root, /boot etc.

My suggestion is more like:

 partition   mount point Size 
   a/ 512 MegaBytes  (1/2 GByte)
   bswap 2048 MBytes (2 GBytes)
   d/tmp  512 MBytes
   e/usr 4096 MBytes
   f/var 4096 MBytes
   g/home  29 GB  (eg all of the rest of the disk)

If you are running a database, you will want /var to be larger or
to move things in to that /home file system.

I actually use a different mount point name than /home because /home
is assumed for other things in some howto-s hanging around.

I also move and symlink  
  /usr/local  
  /usr/ports  
  /usr/src  
and sometimes /var/spool  
in to that '/home' filesystem and then make the actual /usr and /var 
only half the above sizes and increase the space in '/home' (33 GB) so 
they can grow there more easily.

Things in a well running system do not grow so much in /tmp and
if something does go wild and spew out a lot of stuff, you really
want to notice it before it gobbles up 30GB of space, so you 
need enough /tmp to run easily, but do not want huge amounts.  
Thus, putting /tmp in its own limited partition is a bit of a protection.

All users' login (home) directories and web content go in that '/home'
filesystem too, where they can grow without having to redo disk later.

In spite of the name that seems to suggest it, I never put users' home
directories in /usr.   It may have begun that way back in the 

Re: New user - small file server questions and quick GUI question

2009-12-29 Thread Roland Smith
On Tue, Dec 29, 2009 at 06:37:25PM +0200, Kaya Saman wrote:
 [...]
 
  What is not unusual is to symlink /home e.g:
 
  # ln -s /usr/home /home
 
  ditto for /tmp.  i.e you remove all the stuff that uses up space from
  the root partition.
 
  So the only slices you need are /, /usr, /var and swap.
 
  How I'd slice up the disk:
 
  2GB for /
  2GB for swap
  2GB for /var
  34GB for /usr

 
 Ah so BSD is slightly different from Linux in the fact that it needs to 
 have /var and /usr filesystems separate??

It doesn't _need_ to have separate filesystems. It is just convenient. If you
want to stick everything (apart from swap) on a single / partition, you can do
so. If that is wise is another thing. :-) If your server will never hold much
data (e.g. just a router/firewall) it would probably be fine.

It depends on the use you want to put the machine to, and if/where you expect
to store a lot of stuff. For my desktop I tend to put /home on a separate
partition because that is where most of my data is. 

For a server I would put the big directories where the data is stored on
separate partitions. E.g. the DocumentRoot for your Apache webserver. Or
whereever the place is where an SQL server stores its data.

 The /home partition then is very similar to Solaris in that /export/home 
 is considered the user directory. Means BSD stores /home in /usr/home??

If you don't make a separate /home partition, sysinstall will indeed default
to making /home a symlink to /usr/home, AFAIK.

For my desktop, with around 450 ports installed, I have the following lay-out;

Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/ad4s1a484M 93M353M21%/
/dev/ad4s1g.eli373G168G175G49%/home
/dev/ad4s1e 48G198K 45G 0%/tmp
/dev/ad4s1f 19G5.8G 12G32%/usr
/dev/ad4s1d1.9G226M1.6G12%/var

For swap space (/dev/ad4s1b), I reserved 2x the size of the RAM.

The 'Used' column should give you an idea of the minimum space needed for
different filesystems. Keep in mind that disk space is relatively cheap, and
it is much better to have lots of free space then to run out of space!

This division makes it easy to use dump(8) for backup purposes of /, /usr and
/var.  I do this so it is easy to restore(8) to a functioning system, and keep
the size of the dumps reasonably small, although /usr is getting prtty
big. Maybe next time I will split off /usr/local (for ports) into a separate
filesystem.

For big filesystems dump(8) takes a long time and needs a lot of space. I
prefer to back those up with rsync(1).

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)


pgpNOmODLW3A3.pgp
Description: PGP signature


Re: New user - small file server questions and quick GUI question

2009-12-29 Thread Jerry McAllister
On Tue, Dec 29, 2009 at 06:37:25PM +0200, Kaya Saman wrote:

 [...]
 
 What is not unusual is to symlink /home e.g:
 
 # ln -s /usr/home /home
 
 ditto for /tmp.  i.e you remove all the stuff that uses up space from
 the root partition.
 
 So the only slices you need are /, /usr, /var and swap.
 
 How I'd slice up the disk:
 
 2GB for /
 2GB for swap
 2GB for /var
 34GB for /usr
   
 
 Ah so BSD is slightly different from Linux in the fact that it needs to 
 have /var and /usr filesystems separate??

No, it doesn't.
In fact, technically you can put everything all in /  (root), except 
for swap and you can even create a file in / for that in root if you 
have the bad judgement to do it that way.

It is just a good idea to separate them if those filesystems are 
likely to grow a lot, such as when installing ports (/usr in /usr/ports 
and /usr/local) and when building a database (/var in /var/db) or 
something that spools a lot (/var in /var/spool).

It provides a small amount of additional protection for the system.

 
 I guess it must be similar to the way Solaris handles things when UFS 
 based (not ZFS).
 
 The /home partition then is very similar to Solaris in that /export/home 
 is considered the user directory. Means BSD stores /home in /usr/home??

You can put it where you like.  Just do your own links or make
your own mounts in /etc/fstab.


 Should be OK but /tmp symlinked to /usr/tmp as some things can really
 fill up /tmp. For example, IIRC OpenOffice needs gigs of temp space
 to build.
   
 
 OpenOffice or IIRC is for GUI based usage and not CLI. Since this will 
 be a simple server no GUI or work will be done on the machine itself in 
 terms of keyboard/mouse setup. Normally I work through SSH so will be 
 much easier once I have network connectivity up and running after 
 initial install :-)

So, use 'vi' or install 'vim' from ports and us it.
Since 'vi' is always available, it becomes important to learn it
and then it is second nature to use it.   (actually, vi is not
available in single user mode if you do not have /usr mounted, but
I usually just put a copy in /bin and then it is always available)

jerry



   
 
 Should work fine. Just remember to make your /home and /tmp symlinks
 as soon as you first boot up.
 
 Regards,
 
   
 Thanks!!!
 
 
 --Kaya
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: New user - small file server questions and quick GUI question

2009-12-29 Thread Kaya Saman

Many thanks again for all suggestions! :-)

[...]


For my desktop, with around 450 ports installed, I have the following lay-out;

Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/ad4s1a484M 93M353M21%/
/dev/ad4s1g.eli373G168G175G49%/home
/dev/ad4s1e 48G198K 45G 0%/tmp
/dev/ad4s1f 19G5.8G 12G32%/usr
/dev/ad4s1d1.9G226M1.6G12%/var

  

[...]

Hmm...

lot's of different pieces of advice rolling in now!


I guess what I will do as I have a small hard disk for what I want to do 
which is to get rid of my music and few movies which are stored on my 
laptop currently, is create separate /, /tmp, /usr and /var.


I propose which is similar to what Frank has suggested:

/   ~500M
/tmp ~2GB
/var ~2GB
/usr ~2GB
/home the rest

but then Jerry has already suggested:

partition   mount point Size 
  a/ 512 MegaBytes  (1/2 GByte)

  bswap 2048 MBytes (2 GBytes)
  d/tmp  512 MBytes
  e/usr 4096 MBytes
  f/var 4096 MBytes
  g/home  29 GB  (eg all of the rest of the disk)


This could be ok I reckon as the 4GB partitions should be there as 
everyone has suggested for me to use ports and build from source!


The reason why I preferred to use package manager was that on say 
Solaris it's pretty a much a pain having to install all the dependencies 
from Sun Freeware site.


I mean what I will be installing if completely base install with just OS 
and nothing more like I mentioned before is Samba, NFS server/client, 
NTP, Nano as the quote below from Jerry using vi or vim is not my 
preferred text editor as I find them extremely difficult and a real pain 
to use.


In addition I do not think this machine has a DVD drive either although 
I haven't fired up the Win build yet to transfer files but from what the 
drive says on the front of 52x looks like it's CD only :-(


This means that I will need to download the minimal install CD and 
install the packages from there!


For this reason the discussed packages above will need to be downloaded 
and installed my best guess is from source. Meaning I will need extra 
space in one of the filesystems but am unsure where the source gets 
stored?? My best guess would be /usr?


Have setup the machine now and am almost at the point of attempted an 
install! :-)


Guys the support has been really awsome and I highly appreciate 
everyones efforts to assist me!


[quote]

So, use 'vi' or install 'vim' from ports and us it.
Since 'vi' is always available, it becomes important to learn it
and then it is second nature to use it.   (actually, vi is not
available in single user mode if you do not have /usr mounted, but
I usually just put a copy in /bin and then it is always available)


[/quote]


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


Re: New user - small file server questions and quick GUI question

2009-12-29 Thread Frank Shute
On Tue, Dec 29, 2009 at 12:25:48PM -0500, Jerry McAllister wrote:

 On Tue, Dec 29, 2009 at 04:27:11PM +, Frank Shute wrote:
 
  On Tue, Dec 29, 2009 at 05:19:54PM +0200, Kaya Saman wrote:
   
   Many thanks guys for all the advice :-)
   It is really appreciated!
   ...
   
   I reckon the proposed disk usage spec from the FreeBSD hand book should 
   suffice though shouldn't it??
  
  IMO the root slice is too small in the handbook. You should make it
  2GB, since you've got the space.
 
 First of all, you are mixing up your terminology.  
 You do not mean 'slice' here.
 The unit used for root or any other filesystem in 
 a non-dangerously-dedicated disk is called a partition.   
 Partitions divisions of slices and are identified 
 as a..h with c reserved for the system and by 
 convention (and expectation of some pieces of software) 'a' 
 is for the bootable OS partition (root) and 'b' is used for swap.   

You're correct. I thought they used a separate slice for the root
partition. They don't. I usually do.

 
 In FreeBSD, partitions reside inside of slices.   A slice is 
 essentially the same thing as a DOS primary partition and is the 
 initial (primary) division of a disk.   A disk drive may have up 
 to four slices identified as 1..4 and each may be made bootable 
 or not and contain different OSen or OS versions.   If a disk is 
 only to be used for a single installation of FreeBSD, it is most 
 common to define just one slice which encompasses the whole drive, 
 leaving the other three slices empty and unused.  (It is also 
 common to define a 'dangerously dedicated' disk, but that is
 a different discussion issue than that being addressed here)  
 
 In FreeBSD, slices are defined and created by the FreeBSD fdisk 
 program, though a number of other partition management utilities 
 can be used and FreeBSD seems to be moving to a new one too.
 
 In FreeBSD, one uses bsdlabel(8) to create partitions within a
 slice.   Each slice can have up to 8 identified as a..h, but the 'c'
 partition is reserved and must be left unused.
 
 We use common names associated with partitions, such as / (root)
  /usr, /var, /home, etc.  Those are essentially directories that
 are 'linked' to a partition by the mount system.  You create 
 a mount point using the mkdir(1) command and then link using mount(8).
 
 The 'a' partition becomes root because it gets mounted to the / mount point.  
 
 Now, on to divvying up the disk. 
 I agree that the root partition listed in the handbook is anciently 
 too small.  But, I don't see what you need 2GB for unless you put
 everything (/usr, /var, etc) in it.   Since you are defining those
 separately, root really only needs about a half GigaByte.   I am
 running a little low on one machine with 1/3 GB in root, but still going.
 I also create a partition for /tmp to keep it isolated from the
 other filesystems, in case something runs wild.

I'm struggling with a 1GB / here:

/dev/ad0s2a984524   657068   24869673%/

That's having removed /boot/kernel.old/ after running out of space
during upgrading to 8.0

I can't see anything else I can delete. /home and /var are not on that
slice.

So I think it depends on how you upgrade your machine. E.g less room
needed if you use freebsd-update (?)

 
   
   With a larger HD I would normally do something like 15 - 25GB / (root) 
   partition and the rest for /home with round 1.5 - 3GB for swap.
   
   Now my HD is round 40GB so I will do a minimal install and try to 
   maximize the /home slice! As result only services I will run are DNS, 
   NTP, SAMBA and NFS.
  
  What is not unusual is to symlink /home e.g:
  
  # ln -s /usr/home /home
  
  ditto for /tmp.  i.e you remove all the stuff that uses up space from
  the root partition.
  
  So the only slices you need are /, /usr, /var and swap.
  
  How I'd slice up the disk:
  
  2GB for /
  2GB for swap
  2GB for /var
  34GB for /usr
 
   
   I suppose I could get away with something like 2GB for / which would 
   then contain /tmp, /etc, /root, /boot etc.
 
 My suggestion is more like:
 
  partition   mount point Size 
a/ 512 MegaBytes  (1/2 GByte)
bswap 2048 MBytes (2 GBytes)
d/tmp  512 MBytes
e/usr 4096 MBytes
f/var 4096 MBytes
g/home  29 GB  (eg all of the rest of the disk)
 
 If you are running a database, you will want /var to be larger or
 to move things in to that /home file system.
 
 I actually use a different mount point name than /home because /home
 is assumed for other things in some howto-s hanging around.
 
 I also move and symlink  
   /usr/local  
   /usr/ports  
   /usr/src  
 and sometimes /var/spool  
 in to that '/home' filesystem and then make the actual /usr and /var 
 only half the above sizes and increase the space in '/home' (33 GB) 

Re: New user - small file server questions and quick GUI question

2009-12-29 Thread Roland Smith
On Tue, Dec 29, 2009 at 09:06:09PM +0200, Kaya Saman wrote:
 lot's of different pieces of advice rolling in now!
 
 I guess what I will do as I have a small hard disk for what I want to do 
 which is to get rid of my music and few movies which are stored on my 
 laptop currently, is create separate /, /tmp, /usr and /var.

If you can afford it, and if your laptop has a USB port, buy one of those
external harddisks. Plenty of room for music and movies... Also great for
backups!
 
 I propose which is similar to what Frank has suggested:
 
 /   ~500M
 /tmp ~2GB
 /var ~2GB
 /usr ~2GB
 /home the rest

I would make /usr greater. See below.

 but then Jerry has already suggested:
 
  partition   mount point Size 
a/ 512 MegaBytes  (1/2 GByte)
bswap 2048 MBytes (2 GBytes)
d/tmp  512 MBytes
e/usr 4096 MBytes
f/var 4096 MBytes
g/home  29 GB  (eg all of the rest of the disk)
 
 
 This could be ok I reckon as the 4GB partitions should be there as 
 everyone has suggested for me to use ports and build from source!

I'd make /usr bigger. 5-10 GiB, if you can spare it.

 The reason why I preferred to use package manager was that on say 
 Solaris it's pretty a much a pain having to install all the dependencies 
 from Sun Freeware site.

Realize that not all software is available as packages because of
e.g. licensing restrictions. And some ports you can customize via so-called
options. If you install from packages, you're stuck with the (default)
options used when building the packages.

The FreeBSD ports system is _so_ convenient. It's one of the great features of
FreeBSD, as is the user community.

 I mean what I will be installing if completely base install with just OS 
 and nothing more like I mentioned before is Samba, NFS server/client, 
 NTP, Nano as the quote below from Jerry using vi or vim is not my 
 preferred text editor as I find them extremely difficult and a real pain 
 to use.

The ee(1) editor is part of the base system. This is a _lot_ friendlier than vi!
Give it a try, you might not even need nano.

 In addition I do not think this machine has a DVD drive either although 
 I haven't fired up the Win build yet to transfer files but from what the 
 drive says on the front of 52x looks like it's CD only :-(

Good enough for installing. :-)
 
 For this reason the discussed packages above will need to be downloaded 
 and installed my best guess is from source.

Installing from source is the most flexible method. How is your internet
connection?

 Meaning I will need extra 
 space in one of the filesystems but am unsure where the source gets 
 stored?? My best guess would be /usr?

In /usr/ports to be exact. The source code tarballs are also stored there,
under /usr/ports/distfiles. On my system, /usr/ports/distfiles is now 799
MiB (450 ports, remember!). The rest of /usr/ports is 543 MiB. Realize that
ports will be compiled under /usr/ports as well!

Good luck!

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)


pgpuZAoQom2xG.pgp
Description: PGP signature


Re: New user - small file server questions and quick GUI question

2009-12-29 Thread Kaya Saman

Roland:


If you can afford it, and if your laptop has a USB port, buy one of those
external harddisks. Plenty of room for music and movies... Also great for
backups!
  


Can't afford :-( I have many disks like that where I bought really cool 
enclosures and the drives separately but currently am in a really bad 
situation financially. In UK in my parents house I have round 3.2TB or 
so with 1.7TB dedicated to music and movies. Out here though I only have 
my 320GB drive on my laptop which has 9 OS's on it including VM's. 160GB 
for Linux which I have Fedora 10 and Kubuntu on the other side I run 
OpenSolaris and Belenix in different ZFS pools.


Laptop is cool 6GB memory too :-)

~# fdisk -l

Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x34f7742e

  Device Boot  Start End  Blocks   Id  System
/dev/sda1   1   19453   156256191   bf  Solaris
/dev/sda2   19454   2370934186320   83  Linux
/dev/sda3   *   23710   2553414659312+  83  Linux
/dev/sda4   25535   38913   107466817+   5  Extended
/dev/sda5   25535   38665   105474726   83  Linux
/dev/sda6   38666   38913 1992028+  82  Linux swap / Solaris

~# df -h
FilesystemSize  Used Avail Use% Mounted on
/dev/sda2  33G   11G   21G  34% /
tmpfs 2.9G  4.0K  2.9G   1% /lib/init/rw
varrun2.9G  240K  2.9G   1% /var/run
varlock   2.9G  4.0K  2.9G   1% /var/lock
udev  2.9G  180K  2.9G   1% /dev
tmpfs 2.9G  708K  2.9G   1% /dev/shm
lrm   2.9G  2.5M  2.9G   1% 
/lib/modules/2.6.28-17-generic/volatile

/dev/sda5 100G   93G  1.2G  99% /home
/dev/sda3  14G  9.6G  3.6G  74% /mnt/tmp
 
  

I propose which is similar to what Frank has suggested:

/   ~500M
/tmp ~2GB
/var ~2GB
/usr ~2GB
/home the rest



I would make /usr greater. See below.

  

but then Jerry has already suggested:

 partition   mount point Size 
   a/ 512 MegaBytes  (1/2 GByte)

   bswap 2048 MBytes (2 GBytes)
   d/tmp  512 MBytes
   e/usr 4096 MBytes
   f/var 4096 MBytes
   g/home  29 GB  (eg all of the rest of the disk)


This could be ok I reckon as the 4GB partitions should be there as 
everyone has suggested for me to use ports and build from source!



I'd make /usr bigger. 5-10 GiB, if you can spare it.
  


Err I will try 4GB because I need to dump round 10-15GB here clogging up 
my disks. In fact I just partitioned the drive using FreeBSIE and I 
think it's only a 30GB on this desktop which I can always look into 
getting a new one in time. But slightly stuck for now!


  


Realize that not all software is available as packages because of
e.g. licensing restrictions. And some ports you can customize via so-called
options. If you install from packages, you're stuck with the (default)
options used when building the packages.

The FreeBSD ports system is _so_ convenient. It's one of the great features of
FreeBSD, as is the user community.
  


I just the packages I mentioned before that's it! If I can do that it 
will be really cool.


  


The ee(1) editor is part of the base system. This is a _lot_ friendlier than vi!
Give it a try, you might not even need nano.
  


I will try it out thanks for that! :-)

  
In addition I do not think this machine has a DVD drive either although 
I haven't fired up the Win build yet to transfer files but from what the 
drive says on the front of 52x looks like it's CD only :-(



Good enough for installing. :-)
 
  
For this reason the discussed packages above will need to be downloaded 
and installed my best guess is from source.



Installing from source is the most flexible method. How is your internet
connection?
  


Hahahah the biggest joke of 2k9 is my internet as it's 512kbps :-( 
That's what happens when you move country to a developing one things 
slow down to a halt. In UK I had 20Mbps h I really miss it!


  
Meaning I will need extra 
space in one of the filesystems but am unsure where the source gets 
stored?? My best guess would be /usr?



In /usr/ports to be exact. The source code tarballs are also stored there,
under /usr/ports/distfiles. On my system, /usr/ports/distfiles is now 799
MiB (450 ports, remember!). The rest of /usr/ports is 543 MiB. Realize that
ports will be compiled under /usr/ports as well!
  


Ah ok I will look at this once my install progresses, I just hope that 
4GB is enough for this! I really need to maximize space for /home where 
all my stuff will be deposited to for the moment as I don't trust the 
drive either as it really grinds like crazy but then it might be MS Win 
doing that?



Good luck!

Roland
  



Many 

New user - small file server questions and quick GUI question

2009-12-28 Thread Kaya Saman

Hi guys,

first up I hope I am in the right place as my questions are of a generic 
nature about FreeBSD as I consider myself a new user not having much 
mileage with the OS as of yet!


Secondly I just wanted to wish everyone a happy Christmas and New Year 
also since we are in that period :-)


I will start with my GUI question as I believe that it is something simple:

I attempted an install of 7.2 stable on my laptop and subsequently 
installed X11also. Now I didn't have any Xorg.conf file but each time I 
tried to start X from the CLI using the normal startx command (read the 
documentation through fully beforehand) but I didn't manage to get the 
mouse or keyboard to even work let alone starting the Gnome2 interface.


Now I don't have that particular machine with me now as it's in another 
country but just wanted to know a few possible causes for the issue. I 
am guessing it's probably tied into not having the xorg.conf file but I 
will install a VM of it soon and be more specific with logs etc as I 
am used to Linux and Sun Solaris I know this is really ad-hoc and 
frowned upon way of asking which will probably earn me minus brownie 
points but just wanted a quick idea of what maybe so when the time comes 
I can investigate further!


The second and main question that I wish to ask is more to do with 
peoples opinions or experienced BSD users advice:


I am looking to setup a small file server which I will use as DNS and 
NTP server also. The reason for selecting FreeBSD is that the system I 
about to install onto doesn't have much memory (not sure how much but 
probably in the region of 300-500MB perhaps) and although Linux would 
definitely suite this kind of system as Solaris needs round 2GB or so 
for OpenSolaris, I am quite interested to learn FreeBSD but also take 
advantage of the ZFS file system which is standard now in version 8.


I won't be installing a GUI on this machine since it is going to be a 
server so I would like to know if BSD has a small footprint memory and 
CPU wise for me to run on the machine in question which is a PIV?


Also just to make sure: NFS, Samba, NTPd, and ISC's Bind are all 
supported on FreeBSD aren't they?? I know this is a bit of an RTFM issue 
here but for example the Solaris implementation of NTP and even SNMP are 
slightly different from the GNU or GPL based ones in Linux so therefor I 
have to ask :-)


Many thanks for any responses

Best regards,

Kaya
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: New user - small file server questions and quick GUI question

2009-12-28 Thread Adam Vande More
On Mon, Dec 28, 2009 at 3:49 PM, Kaya Saman kayasa...@optiplex-networks.com
 wrote:

 Hi guys,

 first up I hope I am in the right place as my questions are of a generic
 nature about FreeBSD as I consider myself a new user not having much mileage
 with the OS as of yet!

 Secondly I just wanted to wish everyone a happy Christmas and New Year also
 since we are in that period :-)

 I will start with my GUI question as I believe that it is something simple:

 I attempted an install of 7.2 stable on my laptop and subsequently
 installed X11also. Now I didn't have any Xorg.conf file but each time I
 tried to start X from the CLI using the normal startx command (read the
 documentation through fully beforehand) but I didn't manage to get the mouse
 or keyboard to even work let alone starting the Gnome2 interface.

 Now I don't have that particular machine with me now as it's in another
 country but just wanted to know a few possible causes for the issue. I am
 guessing it's probably tied into not having the xorg.conf file but I will
 install a VM of it soon and be more specific with logs etc as I am used
 to Linux and Sun Solaris I know this is really ad-hoc and frowned upon way
 of asking which will probably earn me minus brownie points but just wanted a
 quick idea of what maybe so when the time comes I can investigate further!


Running with no xorg.conf is fine, but you need to make sure dbus and hal
are started at boot.  Follow the handbook for best results.

http://www.freebsd.org/doc/en/books/handbook/x-config.html



 The second and main question that I wish to ask is more to do with peoples
 opinions or experienced BSD users advice:

 I am looking to setup a small file server which I will use as DNS and NTP
 server also. The reason for selecting FreeBSD is that the system I about to
 install onto doesn't have much memory (not sure how much but probably in the
 region of 300-500MB perhaps) and although Linux would definitely suite this
 kind of system as Solaris needs round 2GB or so for OpenSolaris, I am quite
 interested to learn FreeBSD but also take advantage of the ZFS file system
 which is standard now in version 8.

 I won't be installing a GUI on this machine since it is going to be a
 server so I would like to know if BSD has a small footprint memory and CPU
 wise for me to run on the machine in question which is a PIV?

 Also just to make sure: NFS, Samba, NTPd, and ISC's Bind are all supported
 on FreeBSD aren't they?? I know this is a bit of an RTFM issue here but for
 example the Solaris implementation of NTP and even SNMP are slightly
 different from the GNU or GPL based ones in Linux so therefor I have to ask
 :-)


If you're concerned about system resources, at least from a minimalist
perspective, then ZFS is not for you.  Solaris can't help you with that
either, ZFS is hungry.  ZFS is also not standard, but considered
production ready.  UFS is still the standard, and the only filesystem
supported by the installer without resorting to tricks.

All the other services work well on FreeBSD.


-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: New user - small file server questions and quick GUI question

2009-12-28 Thread Kaya Saman




Running with no xorg.conf is fine, but you need to make sure dbus and 
hal are started at boot.  Follow the handbook for best results.


http://www.freebsd.org/doc/en/books/handbook/x-config.html


I'm sure I started them as this doc is exactly what I followed.. I 
think if I recall correctly or at least something like it?? Anyway as 
explained I will use Vbox to check 100% and then at least have proper 
logs and cli output to compare to and give everyone an idea of what's 
going on unlike now!


 

If you're concerned about system resources, at least from a minimalist 
perspective, then ZFS is not for you.  Solaris can't help you with 
that either, ZFS is hungry.  ZFS is also not standard, but 
considered production ready.  UFS is still the standard, and the only 
filesystem supported by the installer without resorting to tricks.


Yes ZFS is hungry :-)

I run Solaris 10 on an ancient Sun Netra T105 server with 360MB of RAM 
which uses ZFS file system and apart being a reverse proxy it won't 
handle anything else easily. Also my E420r server with 1GB of RAM 
running Sun Ray software is limited to just that and can only handle 1 
Ray unit on top of the SXCE (Solaris Express Community Edition) OS.


I know how strong UFS v.1 is as I use it with Solaris 9, but how about 
UFS v.2 which is what FreeBSD runs?? When compared with ext3 from a 
performance/reliability perspective which one comes on top?


Also if something goes wrong with the filesystem what are the tools to 
check the drive and repair errors as in Linux I use e2fsck followed by 
device ID. As mention UFS v.1 is incredibly strong especially when run 
on SCSI II drives that the Sun Netra T105 uses so I haven't had an FS 
failure yet and if UFS v.2 is similar I don't suspect having a failure 
either although this machine will have IDE drives and uses x86 
architecture as opposed to SPARC.


In fact I am only really after ZFS for its self healing properties as I 
don't mind going with any file system as long as it's stable. Ext3 
although easily repairable is quite unstable on my systems anyway!




All the other services work well on FreeBSD.


--
Adam Vande More


Cool, thanks Adam! :-) I appreciate the response.


Kaya
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: New user - small file server questions and quick GUI question

2009-12-28 Thread Adam Vande More
On Mon, Dec 28, 2009 at 4:42 PM, Kaya Saman samank...@netscape.net wrote:

 I know how strong UFS v.1 is as I use it with Solaris 9, but how about UFS
 v.2 which is what FreeBSD runs?? When compared with ext3 from a
 performance/reliability perspective which one comes on top?


I would say ufs2 easily wins, but remember this is the freebsd-questions
list ;)  There are some differences though, ufs2 uses softupdates, not
journaling(journaling is available and easy to implement via gjournal).
Softupdates I believe are a little faster than journaling, but it's drawback
is long disk checking after a dirty shutdown.  I've never had a ufs specific
issue in hundreds if not thousands of deployments, but nothing is
guaranteed.  ufs does have a great track records and bunch of service hours
logged.



 Also if something goes wrong with the filesystem what are the tools to
 check the drive and repair errors as in Linux I use e2fsck followed by
 device ID.


Example after a dirty shutdown:

 fsck -y


 In fact I am only really after ZFS for its self healing properties as I
 don't mind going with any file system as long as it's stable. Ext3 although
 easily repairable is quite unstable on my systems anyway!


That's actually a bit disconcerting, do you have hardware instability?

-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: New user - small file server questions and quick GUI question

2009-12-28 Thread Kurt Buff
On Mon, Dec 28, 2009 at 14:42, Kaya Saman samank...@netscape.net wrote:


 Running with no xorg.conf is fine, but you need to make sure dbus and hal
 are started at boot.  Follow the handbook for best results.

 http://www.freebsd.org/doc/en/books/handbook/x-config.html

 I'm sure I started them as this doc is exactly what I followed.. I think
 if I recall correctly or at least something like it?? Anyway as explained I
 will use Vbox to check 100% and then at least have proper logs and cli
 output to compare to and give everyone an idea of what's going on unlike
 now!

I can't speak to the rest, but WRT the GUI, I suspect you'll find it a
lot easier if you install a Window Manager to handle a lot of this. I
have found xfce4 to be a good one for me - gnome and kde were a bit
much. Once I installed /usr/ports/x11-wm/xfce4 with a 'make
config-recursive' then chose my options, then 'make install', the GUI
fired up just fine, and all of the hal/dbus stuff was handled for me.

Kurt
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: New user - small file server questions and quick GUI question

2009-12-28 Thread Kaya Saman




I would say ufs2 easily wins, but remember this is the 
freebsd-questions list ;)  There are some differences though, ufs2 
uses softupdates, not journaling(journaling is available and easy to 
implement via gjournal).  Softupdates I believe are a little faster 
than journaling, but it's drawback is long disk checking after a dirty 
shutdown.  I've never had a ufs specific issue in hundreds if not 
thousands of deployments, but nothing is guaranteed.  ufs does have a 
great track records and bunch of service hours logged.


Cool meaning I am going UFS2 on my new install!

 


Example after a dirty shutdown:

 fsck -y 


Aaah fsck :-) If I run this on an ext3 FS it tends to make things much 
worse as I did it once and got left with a whole bunch of unattached 
inodes :-(


reason for Linux and ext3 e2fsck is much better I have found from 
personal experience!





That's actually a bit disconcerting, do you have hardware instability? 


Nope! These systems are actually desktop systems which I run as servers 
as I couldn't afford to buy proper systems so got a whole bunch of cheap 
x86 boxes off Ebay. If running Scalix though I found it really eats up 
hard drives - although running a collaboration suite on a laptop is not 
the most intelligent thing to do but then what else can you do with a 
portable computer with bust LCD display?


Left in my parents house in the UK now as I'm currently in Turkey but my 
lab from scavenged parts and systems: 
http://www.optiplex-networks.com/lab/lab.html




--
Adam Vande More


Kaya
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: New user - small file server questions and quick GUI question

2009-12-28 Thread Kaya Saman



I can't speak to the rest, but WRT the GUI, I suspect you'll find it a
lot easier if you install a Window Manager to handle a lot of this. I
have found xfce4 to be a good one for me - gnome and kde were a bit
much. Once I installed /usr/ports/x11-wm/xfce4 with a 'make
config-recursive' then chose my options, then 'make install', the GUI
fired up just fine, and all of the hal/dbus stuff was handled for me.

Kurt
  


I thought Gnome already came with Nautilus as Window manager??? Or in 
FreeBSD is it extra?


Sorry am not used to doing things from scratch but soon I will get the 
hang of it - just give me a couple of days to get the file server I am 
on about up and running then will transfer the stuff clogging my 
notebooks HD over there and install a VM through Vbox and really have a 
go at understanding the GUI.


I did play around with FreeBSIE which is FreeBSD with the GUI installed 
as a live CD which was really cool and light and worked especially well 
on my 512MB RAM laptop. Now I don't have a memory issue as I have 6GB on 
a newer machine running 64bit OS's all the way but still need to get to 
grips with this :-)


Thanks for the tip Kurt!

Regards,

--Kaya

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


Re: New user - small file server questions and quick GUI question

2009-12-28 Thread Pieter de Goeje
On Monday 28 December 2009 22:49:31 Kaya Saman wrote:
 Hi guys,

 first up I hope I am in the right place as my questions are of a generic
 nature about FreeBSD as I consider myself a new user not having much
 mileage with the OS as of yet!

 Secondly I just wanted to wish everyone a happy Christmas and New Year
 also since we are in that period :-)

 I will start with my GUI question as I believe that it is something simple:

 I attempted an install of 7.2 stable on my laptop and subsequently
 installed X11also. Now I didn't have any Xorg.conf file but each time I
 tried to start X from the CLI using the normal startx command (read the
 documentation through fully beforehand) but I didn't manage to get the
 mouse or keyboard to even work let alone starting the Gnome2 interface.

The most common cause is that either hald (sysutils/hal) or dbus (devel/dbus) 
isn't running. Xorg needs them both to detect mouse and keyboard. Add 
dbus_enable=YES and hald_enable=YES to rc.conf to get them to start 
automatically.


 Now I don't have that particular machine with me now as it's in another
 country but just wanted to know a few possible causes for the issue. I
 am guessing it's probably tied into not having the xorg.conf file but I
 will install a VM of it soon and be more specific with logs etc as I
 am used to Linux and Sun Solaris I know this is really ad-hoc and
 frowned upon way of asking which will probably earn me minus brownie
 points but just wanted a quick idea of what maybe so when the time comes
 I can investigate further!

 The second and main question that I wish to ask is more to do with
 peoples opinions or experienced BSD users advice:

 I am looking to setup a small file server which I will use as DNS and
 NTP server also. The reason for selecting FreeBSD is that the system I
 about to install onto doesn't have much memory (not sure how much but
 probably in the region of 300-500MB perhaps) and although Linux would
 definitely suite this kind of system as Solaris needs round 2GB or so
 for OpenSolaris, I am quite interested to learn FreeBSD but also take
 advantage of the ZFS file system which is standard now in version 8.

I agree with Adam Vande More's opinion that UFS2 is the way to go on such a 
low memory system. UFS2 also works well with large disks (1+ TB) if you tune 
the newfs parameters a bit (mainly to shorten the fsck time). With geom(8) 
you can do all kinds of mirroring/striping if you're into RAID. With regards 
to stability, UFS2 was before the import of ZFS the only filesystem widely 
used. It is very well tested, and in my opinion, very stable. In fact, I 
can't remember ever having a UFS2 filesystem go bad to the point I couldn't 
repair it anymore. If you're expecting lots of power outages, it may be 
worthwile to set up journaling using gjournal(8), which will reduce fsck 
times considerably, at the cost of reduced streaming write speed (which will 
halve unless a dedicated journal disk is used).


 I won't be installing a GUI on this machine since it is going to be a
 server so I would like to know if BSD has a small footprint memory and
 CPU wise for me to run on the machine in question which is a PIV?

That won't be a problem. To illustrate, FreeBSD on a 256MB (i386) machine has 
about 211MB memory free just after startup. To be safe you could configure a 
large swap, so the system won't kill the memory hogs as soon as it runs out 
of memory.


 Also just to make sure: NFS, Samba, NTPd, and ISC's Bind are all
 supported on FreeBSD aren't they?? I know this is a bit of an RTFM issue
 here but for example the Solaris implementation of NTP and even SNMP are
 slightly different from the GNU or GPL based ones in Linux so therefor I
 have to ask :-)

NFS, BIND, SNMP (bsnmpd) and NTP come with the OS and are installed by 
default. Samba can be installed from ports.


 Many thanks for any responses

 Best regards,

 Kaya
Good luck!

Pieter
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: New user - small file server questions and quick GUI question

2009-12-28 Thread Kurt Buff
On Mon, Dec 28, 2009 at 15:29, Kaya Saman samank...@netscape.net wrote:

 I can't speak to the rest, but WRT the GUI, I suspect you'll find it a
 lot easier if you install a Window Manager to handle a lot of this. I
 have found xfce4 to be a good one for me - gnome and kde were a bit
 much. Once I installed /usr/ports/x11-wm/xfce4 with a 'make
 config-recursive' then chose my options, then 'make install', the GUI
 fired up just fine, and all of the hal/dbus stuff was handled for me.

 Kurt


 I thought Gnome already came with Nautilus as Window manager??? Or in
 FreeBSD is it extra?

I see I didn't completely read your original message. Indulge me a
moment while I ramble here, and probably expose my ignorance...

 Xorg/X11  Gnome

Nautilis is a file manager, unless I misremember. The native file
manager for xfce4 is Thunar.

Gnome, like xfce4 (and ratpoison, kde, etc.) is a Window Manager,
which depends on Xorg/X11 to function. WMs are usually installed
installed after Xorg.

Did you install gnome from source, or did you use 'pkg_add -r'? I
don't know why, but I seem to have better luck, though it takes much
longer, if I use 'make install' from the ports tree.

 Sorry am not used to doing things from scratch but soon I will get the hang
 of it - just give me a couple of days to get the file server I am on about
 up and running then will transfer the stuff clogging my notebooks HD over
 there and install a VM through Vbox and really have a go at understanding
 the GUI.

I'm not far along that learning curve myself. Heh.

I started on an old Toshiba laptop with 256mbytes RAM, and Freesbie
worked well on that. I then learned how to install from scratch. That
was, um, interesting. I hated Linux, as it seems so arcane. Well,
perhaps 'hate' is too strong a word, but it left a bad taste in my
mouth. Once I worked with FreeBSD, it became much more clear. Things
seem to be done more sanely in FreeBSD. Now I have a nice 4gbyte
Lenovo T61, and I still like xfce4 - it does what I want, and I didn't
want to expend the effort to learn anything new.

 I did play around with FreeBSIE which is FreeBSD with the GUI installed as a
 live CD which was really cool and light and worked especially well on my
 512MB RAM laptop. Now I don't have a memory issue as I have 6GB on a newer
 machine running 64bit OS's all the way but still need to get to grips with
 this :-)

If you're very familiar with gnome, you might wish to stay with it. If
you're just learning, for both gnome and xfce4, my preference would be
for xfce4. But that's just me, and you'll get at least 10 different
answers from the first 8 people you meet.

 Thanks for the tip Kurt!

 Regards,

 --Kaya


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


Re: New user - small file server questions and quick GUI question

2009-12-28 Thread Kaya Saman




The most common cause is that either hald (sysutils/hal) or dbus (devel/dbus) 
isn't running. Xorg needs them both to detect mouse and keyboard. Add 
dbus_enable=YES and hald_enable=YES to rc.conf to get them to start 
automatically.
  


We'll see what the issue actually is - as I mentioned I kinda stuffed 
this question in without any proper log or tty output to support 
anything I mentioned which is quite ad-hoc and not recommended on 
mailing lists of this caliber unless wanting to irritate the participants.


Just need to clear up my notebooks drive first before setting up the VM 
environment to test!


  

I agree with Adam Vande More's opinion that UFS2 is the way to go on such a 
low memory system. UFS2 also works well with large disks (1+ TB) if you tune 
the newfs parameters a bit (mainly to shorten the fsck time). With geom(8) 
you can do all kinds of mirroring/striping if you're into RAID. With regards 
to stability, UFS2 was before the import of ZFS the only filesystem widely 
used. It is very well tested, and in my opinion, very stable. In fact, I 
can't remember ever having a UFS2 filesystem go bad to the point I couldn't 
repair it anymore. If you're expecting lots of power outages, it may be 
worthwile to set up journaling using gjournal(8), which will reduce fsck 
times considerably, at the cost of reduced streaming write speed (which will 
halve unless a dedicated journal disk is used).
  


I agree also and thank you guys for your opinions! As mentioned I know 
UFS1 from Solaris 9 on my SPARC systems and have never had any issues 
with it at all.


Hang on what are these things called slices and this wacky naming 
convention I thought disks where labeled hdax or sdax according to the 
partition :-P sorry internal joke!


  

That won't be a problem. To illustrate, FreeBSD on a 256MB (i386) machine has 
about 211MB memory free just after startup. To be safe you could configure a 
large swap, so the system won't kill the memory hogs as soon as it runs out 
of memory.
  


Yeah I reckon large swap also! Usually round 2 or 3 times amount of 
memory but for everyday generic use I find about 1.5 - 3 gigs is enough. 
This is the good part of static filesystems I find over ZFS is that the 
swap space is easily tunable without editing ZFS pools or other.




NFS, BIND, SNMP (bsnmpd) and NTP come with the OS and are installed by 
default. Samba can be installed from ports.
  


Hmm I will need a bit of assistance for the ports part as I'm kinda 
used to Debian backports through the Apt repos but BSD ports is 
something quite different. I'm sure there's plenty of documentation on 
the web to find out how to install and implement!


bsnmpd sounds to me more like snmpx from Solaris in terms of that it is 
different from opensnmpd. Not a problem won't be doing any SNMP 
monitoring right now as I don't have anything to monitor as my router 
isn't even my beloved Cisco at the mo. When I have more memory I will 
play around with SNMP monitoring software if available for BSD, and my 
all time favorite: Cacti.


  
Good luck!


Pieter
  


Thanks a lot Pieter

--Kaya
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: New user - small file server questions and quick GUI question

2009-12-28 Thread Kaya Saman

Kurt Buff wrote:

On Mon, Dec 28, 2009 at 15:29, Kaya Saman samank...@netscape.net wrote:
  


I see I didn't completely read your original message. Indulge me a
moment while I ramble here, and probably expose my ignorance...

 Xorg/X11  Gnome
  


Gnome runs on Xorg: Xorg/Xfree runs X11

Xfree is now obsolete as Xorg is much better.


Nautilis is a file manager, unless I misremember. The native file
manager for xfce4 is Thunar.

Gnome, like xfce4 (and ratpoison, kde, etc.) is a Window Manager,
which depends on Xorg/X11 to function. WMs are usually installed
installed after Xorg.
  


Correct on both counts :-)


Did you install gnome from source, or did you use 'pkg_add -r'? I
don't know why, but I seem to have better luck, though it takes much
longer, if I use 'make install' from the ports tree.
  


I used pkg_add! Am such a package manager guy as although have compiled 
quite a bit of stuff I find on some systems such as Sun Solaris 
compiling can be a nightmare. Especially if it means hacking out source 
code and using special make parameters as I'm not a programmer but also 
not that far advanced when it comes down to building software from scratch!


  


I'm not far along that learning curve myself. Heh.

I started on an old Toshiba laptop with 256mbytes RAM, and Freesbie
worked well on that. I then learned how to install from scratch. That
was, um, interesting. I hated Linux, as it seems so arcane. Well,
perhaps 'hate' is too strong a word, but it left a bad taste in my
mouth. Once I worked with FreeBSD, it became much more clear. Things
seem to be done more sanely in FreeBSD. Now I have a nice 4gbyte
Lenovo T61, and I still like xfce4 - it does what I want, and I didn't
want to expend the effort to learn anything new.
  


Well, Linux has its advantages and for the last 2 years have completely 
used it as an M$ Windowz replacement as one can do almost everything on 
it. When I meant; not used to doing things from scratch I meant building 
the OS. I actually prefer doing a minimal install of CentOS with no 
software or GUI at all and then building the system up to what I need 
when it comes down to servers!!!


Means I can fine tune the system that way and only use the system 
resources for what I need.


Being a user of both Solaris and Linux though, they are both pretty cool 
with Solaris only hindered by lack of software and multimedia apps. 
Otherwise I think Solaris in Open guise would win anyday provided that 
the H/W support was as vast as Linux.


  


If you're very familiar with gnome, you might wish to stay with it. If
you're just learning, for both gnome and xfce4, my preference would be
for xfce4. But that's just me, and you'll get at least 10 different
answers from the first 8 people you meet.

  


Have played round with everything including KDE3/4, XFCE, Blackbox, 
Fluxbox, Window Maker, CDE (on Solaris)..


Wish there was something more, new and interesting but they're all a bit 
bland after a while. Gnome I find is more functional!


If anyone has any idea of getting something like they use on TV shows 
like NCIS and CSI that would be really cool (not Hollywood OS) or 
something they use in the military that one sees on the discovery 
channel say on the US Navy ships.


I mean I do develop GUI's for the OpenSolaris spin-off distro Belenix 
which can be seen here:


http://www.optiplex-networks.com/belenix/index_belenix.html

under themes.

But really need a new concept of completely tricked out geeky 'suped' up 
WM. Lot's of bar graphs, text outputs and other really cool stuff 
embedded into it :-) - no need for Gkrellm or Conky or Torsmo anymore!

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


Re: New user - small file server questions and quick GUI question

2009-12-28 Thread Chuck Robey
Adam Vande More wrote:
 On Mon, Dec 28, 2009 at 3:49 PM, Kaya Saman kayasa...@optiplex-networks.com
 wrote:
 
 Hi guys,

 I attempted an install of 7.2 stable on my laptop and subsequently
 installed X11also. Now I didn't have any Xorg.conf file but each time I
 tried to start X from the CLI using the normal startx command (read the
 documentation through fully beforehand) but I didn't manage to get the mouse
 or keyboard to even work let alone starting the Gnome2 interface.

 Running with no xorg.conf is fine, but you need to make sure dbus and hal
 are started at boot.  Follow the handbook for best results.
 
 http://www.freebsd.org/doc/en/books/handbook/x-config.html

I don't know if I'd be too happy to agree on that ... while the answer IS
correctfrom a narrow point of view, the documentation on both dbus and hal is
very, VERY thin on the ground (and what exists is for Linux only), so if the
setup programmed into the port isn't right for your particular FreeBSD machine,
you can pretty much forget about getting enough info to fix things.  Realize
that both hal and dbus were written for Linux (not a particularly portable
thing), and it was only because of FreeBSD porters that it works at all under
FreeBSD, so the docs that come with them understand Linux only.  You can't even
find out how to fix the config files for FreeBSD.  Trying to fix even the most
minor problem is really climbing mountains.  Much, much easier to fix up an
xorg.conf, which is not only well documented, but has tools to generate you a
good local setup for your particular machine.

If dbus/hal happen to work for you right out of the FreeBSD port, well, that's
great, but if you need to adapt things for use outside of Linux, good luck, 
fella.

The folks who wrote our FreeBSD dbus and hal implementations did a good job of
translating things which are VERY Linux-centric to FreeBSD, but it's still only
really good for a default FreeBSD setup.  I know that it didn't work for
anything but a  thin slice of default environments, in the FreeBSD-7.x release 
era.

Some day, if  when the Linux developers are ready to admit there are other OSes
and document things more portably, both tools are really, really fine ideas.
Maybe ask again in 6 months to a year?  Or, get ready to read a lot of source
code and figure it out for yourself.  Right now looking at what email I can find
on the web regarding running hal  dbus on 7.2, no one else can find an easy
fund of knowledge either.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: New user - small file server questions and quick GUI question

2009-12-28 Thread Kurt Buff
On Mon, Dec 28, 2009 at 16:23, Kaya Saman samank...@netscape.net wrote:
snip

So, given what you've written below, you probably know more about this
stuff than I do. Cool. I will echo the advice already given, however:

add

dbus_enable=YES
hald_enable=YES

to your /etc/rc.conf. That will most likely clear your problem.

 Did you install gnome from source, or did you use 'pkg_add -r'? I
 don't know why, but I seem to have better luck, though it takes much
 longer, if I use 'make install' from the ports tree.


 I used pkg_add! Am such a package manager guy as although have compiled
 quite a bit of stuff I find on some systems such as Sun Solaris compiling
 can be a nightmare. Especially if it means hacking out source code and using
 special make parameters as I'm not a programmer but also not that far
 advanced when it comes down to building software from scratch!


 I'm not far along that learning curve myself. Heh.

 I started on an old Toshiba laptop with 256mbytes RAM, and Freesbie
 worked well on that. I then learned how to install from scratch. That
 was, um, interesting. I hated Linux, as it seems so arcane. Well,
 perhaps 'hate' is too strong a word, but it left a bad taste in my
 mouth. Once I worked with FreeBSD, it became much more clear. Things
 seem to be done more sanely in FreeBSD. Now I have a nice 4gbyte
 Lenovo T61, and I still like xfce4 - it does what I want, and I didn't
 want to expend the effort to learn anything new.


 Well, Linux has its advantages and for the last 2 years have completely used
 it as an M$ Windowz replacement as one can do almost everything on it. When
 I meant; not used to doing things from scratch I meant building the OS. I
 actually prefer doing a minimal install of CentOS with no software or GUI at
 all and then building the system up to what I need when it comes down to
 servers!!!

 Means I can fine tune the system that way and only use the system resources
 for what I need.

That's what I do with mine under FreeBSD, for both servers and workstations.

 Being a user of both Solaris and Linux though, they are both pretty cool
 with Solaris only hindered by lack of software and multimedia apps.
 Otherwise I think Solaris in Open guise would win anyday provided that the
 H/W support was as vast as Linux.

I need to dive back into Linux - I want to figure out Xen now that it
can do live migrations/failover, and FreeBSD doesn't do Dom0 - yet.
So, I'll probably try out CentOS, though I suppose I could use NetBSD.

 Wish there was something more, new and interesting but they're all a bit
 bland after a while. Gnome I find is more functional!

 If anyone has any idea of getting something like they use on TV shows like
 NCIS and CSI that would be really cool (not Hollywood OS) or something they
 use in the military that one sees on the discovery channel say on the US
 Navy ships.

 I mean I do develop GUI's for the OpenSolaris spin-off distro Belenix which
 can be seen here:

 http://www.optiplex-networks.com/belenix/index_belenix.html

 under themes.

 But really need a new concept of completely tricked out geeky 'suped' up WM.
 Lot's of bar graphs, text outputs and other really cool stuff embedded into
 it :-) - no need for Gkrellm or Conky or Torsmo anymore!

Eh. I just want something that works and keeps out of my way - xfce
seems to do that just fine. For me, 'cool' is the apps and what I can
do with them.

Kurt
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: New user - small file server questions and quick GUI question

2009-12-28 Thread Kaya Saman

[...]

add

dbus_enable=YES
hald_enable=YES

to your /etc/rc.conf. That will most likely clear your problem.
  


[...]

I will give this a go soon :-)




That's what I do with mine under FreeBSD, for both servers and workstations.
  


Having both servers and workstations is cool as both of them need to be 
looked at very differently!


I like having Linux for desktop systems due to the full multimedia 
traits of it. I mean Debian or Ubuntu is pretty cool, Red Hat based 
Fedora is problematic as by default some packages don't work properly so 
you end up having to hack around the problem. Also multimedia is a 
slight pain in Fedora due to having to add extra repos to get things 
like MP3's working since there is some licensing issue.


For servers one can pretty much install anything just for raw services. 
However when one starts considering performance attributes such as disk 
write speed, ease of adding storage, memory usage, security etc into the 
equation then one must side with one of the UNIX's around. Different 
UNIX versions have different strengths and weaknesses but it is nice to 
get to know as many as possible in order to actually identify and see 
these attributes in live real time so that in a professional capacity 
one has the experience to choose the correct system for the task at hand.


  


I need to dive back into Linux - I want to figure out Xen now that it
can do live migrations/failover, and FreeBSD doesn't do Dom0 - yet.
So, I'll probably try out CentOS, though I suppose I could use NetBSD.
  


Aaaah yes Citrix Xen, it's cool - read the manual but haven't played 
with it. Yeah I would run Linux just in case there are some things you 
wish to do but can't in BSD although I can't comment on the differences 
as I haven't seen them myself yet. I am really a big fan of testing 
systems on Suns Virtual Box! Is almost like running a disposable OS. 
Plug in and play then throw away until you need a proper H/W install :-)


  


Eh. I just want something that works and keeps out of my way - xfce
seems to do that just fine. For me, 'cool' is the apps and what I can
do with them.
  


Hahahaha :-)

As long as I can listen to music and watch videos I am ok, oh as well as 
browse web, check mail and use the occasional office app. the rest 
is all CLI for me..


However I will use a few more things too rarely - even 3D games.

I do like flashy screens though that no body can understand apart from a 
trained operator :-P - tried this with normal lighting effect too as I 
tried to emulate an aircraft landing strip with Christmas tree lights. 
Where I live currently is like a complex with a few houses enclosed in a 
site with private security etc. Anyway we put my lighting effect in the 
entrance and before we knew it rained blowing out everything even the 
backup generator and almost electrocuting everyone living inside... 
it was so embarrassing for that to happen to a person with an 
electrical/electronic engineering degree :-O
h oh well! I blame the site manager as he bought indoor lights as 
they were cheap!!!



--Kaya

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


Re: New user with a possible ZFS problem

2008-07-08 Thread Kris Kennaway

Kevin Monceaux wrote:


On Wed, 2 Jul 2008, Kevin Monceaux wrote:

Saturday I finally found one of those round tuits and switched my 
home PC from Debian to FreeBSD.


I probably should have mentioned that the box in question is a slightly 
older hyperthreaded Intel Pentium 4 box, an HP m260n to be exact, with 
3GB of RAM.


You may be running out of memory.  Increase kmem_size until it goes 
away.  I use 1500M on my systems, which are stable.  Yes, ZFS is a 
memory hog.


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


Re: New user with a possible ZFS problem

2008-07-08 Thread Kevin Monceaux

Kris,

On Tue, 8 Jul 2008, Kris Kennaway wrote:

You may be running out of memory.  Increase kmem_size until it goes 
away.  I use 1500M on my systems, which are stable.  Yes, ZFS is a 
memory hog.


Boy, ZFS sure does sound like it's earned the title of memory hog.  Oddly 
I'd been running for about a week without problems, and shuffled some 
large files around during that week, and right before I got your e-mail I 
had another hang.  I tried increasing the kmem_size setting and was 
rewarded with a panic on reboot.  I already had it set at 512M.  A little 
Googling tells me I'm going to have to compile a custom kernel to increase 
it beyond that.  Oh well, it's about time I learned how to do that anyway. 
I've compiled many a custom Linux kernel.  I started using Linux in the 
1.xx kernel days before there were loadable kernel modules so almost 
everything involved a kernel recompile.  I've read over the FreeBSD kernel 
compile docs quite a while back but will need to go over them again. 
Anyway, thanks for the tip.  I'll give it a try after a little research 
and a little, or a lot of, compiling.




Kevin
http://www.RawFedDogs.net
http://www.WacoAgilityGroup.org
Bruceville, TX

Si hoc legere scis nimium eruditionis habes.
Longum iter est per praecepta, breve et efficax per exempla!!!

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


New user with a possible ZFS problem

2008-07-02 Thread Kevin Monceaux

FreeBSD Fans,

Okay, I'm not exactly a new user.  I've been running FreeBSD for about a 
year or so on my web/mail server, which I only have remote access to. 
It's currently running 6.3.


Saturday I finally found one of those round tuits and switched my home 
PC from Debian to FreeBSD.  I've been a Linux user since the 1.xx Linux 
kernel days, so it took quite a bit of convincing myself to make the 
switch.  But other than needing to unlearn some bad habits I got into 
thanks to Linux, I'm feeling right at home.


After getting a taste of ZFS while trying out OpenSolaris Indiana under 
VMware, I decided to give FreeBSD's ZFS implementation a try.  Actually 
before installing FreeBSD I tried a native OpenSolaris Indiana install 
briefly, but ended up deciding it's new package system wasn't quite ready 
for prime time yet.


Do I really need ZFS?  Not really.  But after getting a taste of ZFS it'd 
be hard to go back to regular file systems.


I've had a couple of problems and I'm not sure if there ZFS related or 
not.


When I switched my PC to FreeBSD this past Saturday I went by the article 
located at:


http://www.ish.com.au/solutions/articles/freebsdzfs

to set up ZFS.  I followed the article's loader.conf tweaks advice and 
added:


vm.kmem_size_max=512M
vm.kmem_size=512M
vfs.zfs.zil_disable=1

to /boot/loader.conf.

All went well at first, then eventually I experienced my first hang.  If I 
remember correctly, I had an mp3 playing via mplayer and was moving a 
large file from one ZFS partition to another.  Both the mp3 player and 
mv command appeared to hang.  Checking top one of the processes was in a 
zfs:lo state and the other was, I think, in a zfs:b state, or something 
similar.  I forget which was which.  Eventually they recovered. 
Eventually I encountered a similar hang with similar symptoms.  The second 
hang might have eventually recovered on it's own but I finally resorted to 
hitting the power switch.  After a little Googling on the process states I 
tried adding:


vfs.zfs.prefetch_disable=1

to /boot/loader.conf.  After doing so I gave ZFS a bit of a workout.  I 
shuffled some large files around, etc., and all appeared well.


When I went to bed this morning, I had to work graveyards last night, I 
had an openoffice.org build running, which had been running for eight 
hours or so.  Okay, although I usually install everything from ports maybe 
I should go with the binary package for OpenOffice.  Anyway, when I got up 
this afternoon my PC was completely locked up.  I had no video signal, 
caps lock and num lock wouldn't change the keyboard LEDs, etc.  I finally 
resorted to hitting the power button.


After getting things back up, I freebsd-updated to 7.0-RELEASE-p2, after 
some Googling and commenting out the chflag calls in freebsd-update.  I 
know, I should have checked for updates right after I finished installing 
FreeBSD.


Anyway, does the above hangs all sound like they're ZFS related.  Are 
there any other settings I should try?  Is there a FreeBSD ZFS mailing 
list?  I searched but couldn't find one.





Kevin
http://www.RawFedDogs.net
http://www.WacoAgilityGroup.org
Bruceville, TX

Si hoc legere scis nimium eruditionis habes.
Longum iter est per praecepta, breve et efficax per exempla!!!

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


Re: New user with a possible ZFS problem

2008-07-02 Thread Kevin Monceaux


On Wed, 2 Jul 2008, Kevin Monceaux wrote:

Saturday I finally found one of those round tuits and switched my home 
PC from Debian to FreeBSD.


I probably should have mentioned that the box in question is a slightly 
older hyperthreaded Intel Pentium 4 box, an HP m260n to be exact, with 3GB 
of RAM.



Kevin
http://www.RawFedDogs.net
http://www.WacoAgilityGroup.org
Bruceville, TX

Si hoc legere scis nimium eruditionis habes.
Longum iter est per praecepta, breve et efficax per exempla!!!

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


tcl84 on FreeBSD 6.2 make error (new user)

2007-04-08 Thread Ben Madin

G'day all,

I'm sorry but I am new to FreeBSD, and I am not sure what tcl84 is, but 
when I tried to install gdal, using portmanager after many hours it told 
me that tcl84 had an error, so that was that.


when I went to ports/lang/tcl84 and tried make install clean it didn't 
work either.


there were lots of errors like 
/usr/ports/lang/tcl84/work/tcl8.4.14/unix/libtcl84.so: undefined 
reference to 'sin' (or 'cos' or 'tan')


so I'm guessing that there is some mathematical thing that it needs, but 
nearly every package I have tried to build from ports seems to require 
this tcl at some point, so my first few days of FreeBSD are not going as 
well as I hoped... after much documentation searching and googling etc, 
I come to this point for help (at least on how to get more help)


cheers

Ben

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


Re: tcl84 on FreeBSD 6.2 make error (new user)

2007-04-08 Thread Garrett Cooper
Ben Madin wrote:
 G'day all,
 
 I'm sorry but I am new to FreeBSD, and I am not sure what tcl84 is, but
 when I tried to install gdal, using portmanager after many hours it told
 me that tcl84 had an error, so that was that.
 
 when I went to ports/lang/tcl84 and tried make install clean it didn't
 work either.
 
 there were lots of errors like
 /usr/ports/lang/tcl84/work/tcl8.4.14/unix/libtcl84.so: undefined
 reference to 'sin' (or 'cos' or 'tan')
 
 so I'm guessing that there is some mathematical thing that it needs, but
 nearly every package I have tried to build from ports seems to require
 this tcl at some point, so my first few days of FreeBSD are not going as
 well as I hoped... after much documentation searching and googling etc,
 I come to this point for help (at least on how to get more help)
 
 cheers
 
 Ben

Could you provide the exact set of error messages please? If you're
running via and ssh shell in an X11 terminal of some kind (xterm,
rxterm, kterm, Gterminal, etc) on a unix machine you can simply
highlight the text, and paste in a mail window.

Otherwise, you can redirect the output from the stderr for the compile
to a file as follows..

For Bourne shells:
rm -Rf /full/path/to/stderr.log; make install
1/full/path/to/stderr.log 2/full/path/to/stderr.log

For C-shells:
rm -Rf /full/path/to/stderr.log; make install | tee
/full/path/to/stderr.log

.. then please post it to on a website (preferrable) or take only the
relevant messages near the error and reply with that in your next email.

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


pw generates error when creating new user.

2007-04-01 Thread Wim Vandamme


Hi all,

I'm new to FreeBSD and this is my first attempt to setup a FreeBSD
network server (DNS, NIS, DHCP). Everything went well so far. although
I have a question/issue with adding new users on the NIS master server.

I have a separate /var/yp/master.passwd and I have also created an
entry in /etc/pw.conf (nispasswd=/var/yp/master.passwd). From what
I understand from the man pages that pw will update both
/var/yp/master.passwd and /etc/master.passwd when a new user is
created and/or modified.

However when I try to add a new user using pw, an error message is
generated:

[EMAIL PROTECTED] ~]# pw useradd user -c UserName,,, -u id -g group 
-s /bin/csh -d /usr/users/velle

pw: NIS passwd update: Unknown error: 0

Both /var/yp/master.passwd and /etc/master.passwd seems to be 
correctly modified, but I'm wondering about the cause of this error.


Does anyone have some idea?

Regards,

W.

PS: I also had problems search the archives of the mailing list.
Everytime I got no results ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: new user help

2007-04-01 Thread Norberto Meijome
On Sat, 31 Mar 2007 22:05:47 -0700
Brian [EMAIL PROTECTED] wrote:

 Michael Brady wrote:
  I am very new to Freebsd so this might be a dumb question, but I can't find
  an answer through FAQ..
 
   
 
  I used the command make install clean to install some ported applications,
  and the installs went off without a hitch and reported successful.My problem
  is that I can't find the locations of the installed applications or the
  executables for the apps to run them.What am I missing here?
[]
   
 If you just installed them and havent relogged in yet, type rehash.  If 
 that fails, run /etc/periodic/weekly/310.locate as root and then locate 
 filename.

or, simply, 

which [your_program_exec_name]

and it will list where it's found. For example, if you installed firefox,


[EMAIL PROTECTED] [Mon Apr  2 08:10:29 2007]
/usr/home/betom
$ which firefox
/usr/local/bin/firefox

In some cases, the executable of the package you installed is not clear at 
first sight. You should then query the package itself to tell you everything 
that it installed in a bin directory (where executable binaries go:)

pkg_info -L [pkg_name]* | grep bin

eg:

[EMAIL PROTECTED] [Mon Apr  2 08:12:06 2007]
/usr/home/betom
$ pkg_info -L firefox* | grep bin
/usr/local/bin/firefox
/usr/local/bin/firefox-config
/usr/local/include/firefox/gtkxtbin/gtk2xtbin.h
/usr/local/include/firefox/gtkxtbin/gtkxtbin.h
/usr/local/lib/firefox/firefox-bin
/usr/local/lib/firefox/libgtkxtbin.so
/usr/local/lib/firefox/res/html/gopher-binary.gif
/usr/local/bin/firefox-remote
/usr/local/bin/thunderbird-remote

Good luck :)
___
{Beto|Norberto|Numard} Meijome

A tree as big around as you can reach starts with a small seed; a 
thousand-mile journey starts with one step.
  Lao-tse

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


new user help

2007-03-31 Thread Brian

Michael Brady wrote:

I am very new to Freebsd so this might be a dumb question, but I can't find
an answer through FAQ..

 


I used the command make install clean to install some ported applications,
and the installs went off without a hitch and reported successful.My problem
is that I can't find the locations of the installed applications or the
executables for the apps to run them.What am I missing here?

 


Thank you in advance.

Michael Brady

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  
If you just installed them and havent relogged in yet, type rehash.  If 
that fails, run /etc/periodic/weekly/310.locate as root and then locate 
filename.


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


Re: New user

2005-09-28 Thread Dmitry Mityugov
On 9/28/05, Xian [EMAIL PROTECTED] wrote:
  On Tue, 27 Sep 2005, Tharaka Abeysekera wrote:
   I'm a new to UNIX, I got to know about your services recently. Please
   tell me ware to start FreeBSD(UNIX) . Because I'm pissed off with Windows

 On Tuesday 27 September 2005 14:29, Derrick Test wrote:
  thats a big question. the handbook off the website is a great resource.

 It can also be found on the disk
 (at /usr/share/doc/en_US.ISO8859-1/books/handbook/index.html ) once you have
 installed. Usefull for working out how to set up internet ;-)
 Using it will also save FreeBSD site bandwidth :-)

But I believe the handbook at www.freebsd.org is more accurate and
up-to-date than the one on the CDs.

--
Dmitry Mityugov, St. Petersburg, Russia
I ignore all messages with confidentiality statements

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


Re: New user

2005-09-28 Thread Joshua Tinnin
On Wed 28 Sep 05 03:54, Dmitry Mityugov [EMAIL PROTECTED] 
wrote:
 On 9/28/05, Xian [EMAIL PROTECTED] wrote:
   On Tue, 27 Sep 2005, Tharaka Abeysekera wrote:
I'm a new to UNIX, I got to know about your services recently.
Please tell me ware to start FreeBSD(UNIX) . Because I'm pissed
off with Windows
 
  On Tuesday 27 September 2005 14:29, Derrick Test wrote:
   thats a big question. the handbook off the website is a great
   resource.
 
  It can also be found on the disk
  (at /usr/share/doc/en_US.ISO8859-1/books/handbook/index.html ) once
  you have installed. Usefull for working out how to set up internet
  ;-) Using it will also save FreeBSD site bandwidth :-)

 But I believe the handbook at www.freebsd.org is more accurate and
 up-to-date than the one on the CDs.

Yes, but if you update the doc tree locally and build from that, then 
you have the most up-to-date copy right on your machine. You have to 
install /usr/ports/textproc/docproj first, and there's more details 
about that here: 
http://www.onlamp.com/pub/a/bsd/2001/02/08/Big_Scary_Daemons.html

Hope I don't scare off the new user, but this does demonstrate the power 
and simplicity of UNIX in general, and FreeBSD in particular.

Here's an example straight from my workstation (this can be used as a 
way to update and serve docs for an entire organization, such as one 
build machine being used for packages for the other machines in a 
network, though presumably there would be NFS or a webserver involved 
in such a case).

My /etc/make.conf includes this:

# doc proj make options
SUP=/usr/local/bin/cvsup
SUPFLAGS=   -L 2 -1
DOC_LANG=   en_US.ISO8859-1
SUPHOST=`/usr/local/bin/fastest_cvsup -q -c us`
DOCSUPFILE= /home/krinklyfig/supfiles/doc-supfile
SUP_UPDATE= yes


... and my supfile for docs:

% cat /home/krinklyfig/supfiles/doc-supfile
*default base=/usr
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix
*default compress
doc-all


And in my root crontab is:

# cvsup and build docs, 4am, every day
1   4   *   *   *
/bin/sh /home/krinklyfig/supfiles/sup-doc 21


And the script referenced above:

# cat /home/krinklyfig/supfiles/sup-doc
#!/bin/sh

MAILTO=krinklyfig
MEHOME=/usr/home/krinklyfig

touch $MEHOME/log/sup-doc.log ;
touch $MEHOME/log/sup-make-doc.log ;

cd /usr/doc ;
make update  $MEHOME/log/sup-doc.log 21 
make install clean  $MEHOME/log/sup-make-doc.log 21


At 4am every day the above script is run: the changes to docs are 
downloaded though cvsup, and the new docs are built. My local docs are 
most likely just as up-to-date as the ones on the web (1 day), and I 
only have to download the updates from cvs to keep them current.

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


Re: New user

2005-09-28 Thread Randy Pratt
On Wed, 28 Sep 2005 06:38:53 -0600
Joshua Tinnin [EMAIL PROTECTED] wrote:

 On Wed 28 Sep 05 03:54, Dmitry Mityugov [EMAIL PROTECTED] 
 wrote:
  On 9/28/05, Xian [EMAIL PROTECTED] wrote:
On Tue, 27 Sep 2005, Tharaka Abeysekera wrote:
 I'm a new to UNIX, I got to know about your services recently.
 Please tell me ware to start FreeBSD(UNIX) . Because I'm pissed
 off with Windows
  
   On Tuesday 27 September 2005 14:29, Derrick Test wrote:
thats a big question. the handbook off the website is a great
resource.
  
   It can also be found on the disk
   (at /usr/share/doc/en_US.ISO8859-1/books/handbook/index.html ) once
   you have installed. Usefull for working out how to set up internet
   ;-) Using it will also save FreeBSD site bandwidth :-)
 
  But I believe the handbook at www.freebsd.org is more accurate and
  up-to-date than the one on the CDs.
 
 Yes, but if you update the doc tree locally and build from that, then 
 you have the most up-to-date copy right on your machine. You have to 
 install /usr/ports/textproc/docproj first, and there's more details 
 about that here: 
 http://www.onlamp.com/pub/a/bsd/2001/02/08/Big_Scary_Daemons.html
 
 Hope I don't scare off the new user, but this does demonstrate the power 
 and simplicity of UNIX in general, and FreeBSD in particular.
 
 Here's an example straight from my workstation (this can be used as a 
 way to update and serve docs for an entire organization, such as one 
 build machine being used for packages for the other machines in a 
 network, though presumably there would be NFS or a webserver involved 
 in such a case).
 
 My /etc/make.conf includes this:
 
 # doc proj make options
 SUP=/usr/local/bin/cvsup
 SUPFLAGS=   -L 2 -1
 DOC_LANG=   en_US.ISO8859-1
 SUPHOST=`/usr/local/bin/fastest_cvsup -q -c us`
 DOCSUPFILE= /home/krinklyfig/supfiles/doc-supfile
 SUP_UPDATE= yes
 
 
 ... and my supfile for docs:
 
 % cat /home/krinklyfig/supfiles/doc-supfile
 *default base=/usr
 *default prefix=/usr
 *default release=cvs tag=.
 *default delete use-rel-suffix
 *default compress
 doc-all
 
 
 And in my root crontab is:
 
 # cvsup and build docs, 4am, every day
 1 4   *   *   *
 /bin/sh /home/krinklyfig/supfiles/sup-doc 21
 
 
 And the script referenced above:
 
 # cat /home/krinklyfig/supfiles/sup-doc
 #!/bin/sh
 
 MAILTO=krinklyfig
 MEHOME=/usr/home/krinklyfig
 
 touch $MEHOME/log/sup-doc.log ;
 touch $MEHOME/log/sup-make-doc.log ;
 
 cd /usr/doc ;
 make update  $MEHOME/log/sup-doc.log 21 
 make install clean  $MEHOME/log/sup-make-doc.log 21
 
 
 At 4am every day the above script is run: the changes to docs are 
 downloaded though cvsup, and the new docs are built. My local docs are 
 most likely just as up-to-date as the ones on the web (1 day), and I 
 only have to download the updates from cvs to keep them current.
 
 - jt

There is (yet) another way to get the latest documentation.  Docsnap
doesn't require the overhead of the documentation tool chain and is
quite easy to use.  More information about docsnap can be found at:

http://docsnap.sk.freebsd.org/

For the original poster, reading the documentation before you start
installation will give you a lot more confidence in your new venture.

Its a steep learning curve at first, but stick with it and you'll
get there.  Additionally, the fun never ends since you'll learn
new things every day.

If you run into snags, chances are that someone on the mailing lists
will be able to help you if reading the docs or googling doesn't
turn up a solution.

Above all, have fun!

Randy


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


New user

2005-09-27 Thread Tharaka Abeysekera

Hi…

 

I’m a new to UNIX, I got to know about your services recently. Please tell me 
ware to start FreeBSD(UNIX) . Because I’m pissed off with Windows .

 

Regards,

Tharaka 



-
Yahoo! for Good
 Click here to donate to the Hurricane Katrina relief effort. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: New user

2005-09-27 Thread Ruud Jansen
* Tharaka Abeysekera [EMAIL PROTECTED] wrote:
 Hi?
 
 I?m a new to UNIX, I got to know about your services recently. Please tell me 
 ware to start FreeBSD(UNIX) . Because I?m pissed off with Windows .
 
 Regards,
 
 Tharaka 

Hello!

If you gave us a little bit more information about what you exactly want to
know we could give better answers. So I'll tell some basics:
1. Download FreeBSD at http://www.freebsd.org/where.html
2. Read (parts of) the handbook at http://www.freebsd.org/handbook/ (Chapter 2 
is about installing
FreeBSD)

Good luck! :-)


-- 
Ruud Jansen
E-mail: [EMAIL PROTECTED] -- E-mail is not a website
MSN:[EMAIL PROTECTED] -- Away is not online


pgpgAnHNld0MF.pgp
Description: PGP signature


Re: New user

2005-09-27 Thread Derrick Test


thats a big question. the handbook off the website is a great resource.


On Tue, 27 Sep 2005, Tharaka Abeysekera wrote:



Hi…



I’m a new to UNIX, I got to know about your services recently. Please tell me 
ware to start FreeBSD(UNIX) . Because I’m pissed off with Windows .



Regards,

Tharaka



-
Yahoo! for Good
Click here to donate to the Hurricane Katrina relief effort.
___
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: New user

2005-09-27 Thread Jerry McAllister
Hi,

 Hi
 
 I'm a new to UNIX, I got to know about your services recently. Please tell 
 me ware to start FreeBSD(UNIX) . Because I'm pissed off with Windows .

One place to wstart is to break your lines in your messages at 
about 70 characters.   It makes your posting easier to read and
reply to from text based Email clients - used by many in the FreeBSD
world.   Most Email clients can be configured to do this automatically.
If yours cannot, then just hit a RETURN/ENTER about that point on
each line.

Also, it is best to use plain ASCII text rather than any of the
fancy types.   That works in all mailers.   The fancy ones only
work on mailers that have that particular type available.   eg you
cover a broader group of readers with plain ASCII text and that
is what you want to do on a questions list.

As for getting started with FreeBSD,

First, it is a good idea.  Congradulations.

Second, it does take some effort to learn to use, but the effort
  will be well rewarded in time.

Start by reading the FreeBSD handbook.   It can be read online or
  downloaded freely from the FreeBSD website:  http://www.freebsd.org/
  Handbook at:   
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html
For the US English version.

You may wish to purchase one or more books on FreeBSD.   There are 
several good ones available.   Some that come to mind while I am 
sitting here writing are:   The Complete FreeBSD, Absolute BSD
and FreeBSD: An Open Source Operating System.   Other people may
suggest some others.   Try to get the latest edition of any of them
as they get updated a lot to follow the system upgrades (and correct
errors).   The latest major version of FreeBSD that is getting near
release is 6.xxx.I don't know if any of the books have been updated
for V 6.xxx yet.The Handbook is constantly being updated.

Learn to look up things in the FAQs, list archives, search engines 
such as Google and the many web sites and online publications that 
have howto-s and narratives about doing various FreeBSD things.   
Note, though, that almost all of these web articles are written from 
the point of view of the person doing it and naturally contain all 
the prejudices and presupositions of the authors.   Some of those may 
not suit your situation or even be the most straightforward or efficient 
way of doing things.  But all contribute to the body of information.

Follow this list and possibly the Newbies list and others that might
interest you.   Check the published material, either in paper form
or online before splattering the lists with newbie questions.  The
people on the lists are busy and get tired of answering the same
questions that are well documented already.

Once you have tried to solve a problem with the documentation available
then ask questions on the lists.  Don't waste time (yours or others) with
diatribes and whining about how FreeBSD is this or that and some other
OS is something else.   This is an Open Source, volunteer developed
and supported system and the best way to get a feature or fix implemented
is to write it your self and submit it as a PR.   

A nice friendly request also will get a better response that a 
self-righteous whine.  The main contributers know that not everyone 
is capable of, or has the resources for writing some of the 
suggested/requested changes and can be persuaded to add things to 
their [long] lists, but are more likely to do so if it seems 
reasonable and the request is a friendly one.   Remember that they
are volunteers, not staff ruled by a marketing department.

Now, we are about ready to get to doing it...
Once you have a good idea of the process - you will never learn it
completely from just reading;   You have to get your hands dirty and
your carpal tunnel exercised - either purchase a CD set of the latest
and greatest from one of the vendors who make them up and contribute
a portion back to the FreeBSD project or just download the installation
CD from the FreeBSD web site or one of its mirrors.   All the information
about doing so is well described in the above mentioned documentation.
For starters, choose the latest RELEASE version available, which, at the
moment, is FreeBSD 5.4 and will probably soon be 5.5.   For Newbies I
would suggest waiting until you have had a little experience before
diving in to a stable version.

If at all possible, try it all out on a machine that you can trash
without incurring much consequence.   Then you can do an install and
set things up and experiment and when you mess it up too much, you
can just start from scratch.  Take notes, so you don't have to repeat
mistakes too many times.With a scratch machine, you can feel less
inhibited about trying things just to see what happens.

If you don't have a scratch machine available (it doesn't take much of 
a machine to get a reasonable FreeBSD up and running - almost any old
junker beyond a 386 will do), then read up on dual booting a machine.   
It is actually 

Re: New user

2005-09-27 Thread jonas
On Tue, 27 Sep 2005 10:04:06 -0400 (EDT)
Jerry McAllister [EMAIL PROTECTED] wrote:

 Hi,
 
  Hi
  
  I'm a new to UNIX, I got to know about your services recently.
  Please tell me ware to start FreeBSD(UNIX) . Because I'm pissed off
  with Windows .
 
 One place to wstart is to break your lines in your messages at 
 about 70 characters.   It makes your posting easier to read and
 reply to from text based Email clients - used by many in the FreeBSD
 world.   Most Email clients can be configured to do this
 automatically. If yours cannot, then just hit a RETURN/ENTER about
 that point on each line.
 
 Also, it is best to use plain ASCII text rather than any of the
 fancy types.   That works in all mailers.   The fancy ones only
 work on mailers that have that particular type available.   eg you
 cover a broader group of readers with plain ASCII text and that
 is what you want to do on a questions list.
 
 As for getting started with FreeBSD,
 
 First, it is a good idea.  Congradulations.
 
 Second, it does take some effort to learn to use, but the effort
   will be well rewarded in time.
 
 Start by reading the FreeBSD handbook.   It can be read online or
   downloaded freely from the FreeBSD website:  http://www.freebsd.org/
   Handbook at:   
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html
 For the US English version.
 
 You may wish to purchase one or more books on FreeBSD.   There are 
 several good ones available.   Some that come to mind while I am 
 sitting here writing are:   The Complete FreeBSD, Absolute BSD
 and FreeBSD: An Open Source Operating System.   Other people may
 suggest some others.   Try to get the latest edition of any of them
 as they get updated a lot to follow the system upgrades (and correct
 errors).   The latest major version of FreeBSD that is getting near
 release is 6.xxx.I don't know if any of the books have been
 updated for V 6.xxx yet.The Handbook is constantly being updated.
 
 Learn to look up things in the FAQs, list archives, search engines 
 such as Google and the many web sites and online publications that 
 have howto-s and narratives about doing various FreeBSD things.   
 Note, though, that almost all of these web articles are written from 
 the point of view of the person doing it and naturally contain all 
 the prejudices and presupositions of the authors.   Some of those may 
 not suit your situation or even be the most straightforward or
 efficient way of doing things.  But all contribute to the body of
 information.
 
 Follow this list and possibly the Newbies list and others that might
 interest you.   Check the published material, either in paper form
 or online before splattering the lists with newbie questions.  The
 people on the lists are busy and get tired of answering the same
 questions that are well documented already.
 
 Once you have tried to solve a problem with the documentation
 available then ask questions on the lists.  Don't waste time (yours
 or others) with diatribes and whining about how FreeBSD is this or
 that and some other OS is something else.   This is an Open Source,
 volunteer developed and supported system and the best way to get a
 feature or fix implemented is to write it your self and submit it as
 a PR.   
 
 A nice friendly request also will get a better response that a 
 self-righteous whine.  The main contributers know that not everyone 
 is capable of, or has the resources for writing some of the 
 suggested/requested changes and can be persuaded to add things to 
 their [long] lists, but are more likely to do so if it seems 
 reasonable and the request is a friendly one.   Remember that they
 are volunteers, not staff ruled by a marketing department.
 
 Now, we are about ready to get to doing it...
 Once you have a good idea of the process - you will never learn it
 completely from just reading;   You have to get your hands dirty and
 your carpal tunnel exercised - either purchase a CD set of the latest
 and greatest from one of the vendors who make them up and contribute
 a portion back to the FreeBSD project or just download the
 installation CD from the FreeBSD web site or one of its mirrors.
 All the information about doing so is well described in the above
 mentioned documentation. For starters, choose the latest RELEASE
 version available, which, at the moment, is FreeBSD 5.4 and will
 probably soon be 5.5.   For Newbies I would suggest waiting until you
 have had a little experience before diving in to a stable version.
 
 If at all possible, try it all out on a machine that you can trash
 without incurring much consequence.   Then you can do an install and
 set things up and experiment and when you mess it up too much, you
 can just start from scratch.  Take notes, so you don't have to repeat
 mistakes too many times.With a scratch machine, you can feel less
 inhibited about trying things just to see what happens.
 
 If you don't have a scratch machine available (it 

Re: New user

2005-09-27 Thread Ashley Moran

Tharaka Abeysekera wrote:
Hi…  


I’m a new to UNIX, I got to know about your services recently. Please tell me 
ware to start FreeBSD(UNIX) . Because I’m pissed off with Windows .

Regards,

Tharaka  


It might be worth looking for local users group near you.  If you 
haven't got a lot of experience with *nix systems there's a lot of stuff 
that can be put across much quicker face-to-face than in books and web 
sites.


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


Re: New user

2005-09-27 Thread Jerry McAllister
 
 On Tue, 27 Sep 2005 10:04:06 -0400 (EDT)
 Jerry McAllister [EMAIL PROTECTED] wrote:
 
  Hi,
  
   Hi
   
   I'm a new to UNIX, I got to know about your services recently.
   Please tell me ware to start FreeBSD(UNIX) . Because I'm pissed off
   with Windows .
  
  One place to wstart is to break your lines in your messages at 
  about 70 characters.   It makes your posting easier to read and
  reply to from text based Email clients - used by many in the FreeBSD
  world.   Most Email clients can be configured to do this
  automatically. If yours cannot, then just hit a RETURN/ENTER about
  that point on each line.
 . . .
  and source lets you tinker and learn.   You can discover things by
  actually reading the code.
  
  Maybe you expected more specific technical information that what I
  have written in this response.   But, actually, the things I have
  covered respond to the major mistakes people make getting started
  with FreeBSD.   The technical things are most easily covered by
  following the documentation either from the handbook or one of the
  good books on FreeBSD.
  
  Good luck and have fun,
  
  jerry
  
 
 i think this should be integrated into the FAQ :)

It is OK with me though I notice I forgot to put in learning to use
the man pages and there are several typos that need cleaning up.
Maybe I should rummage through the documentation info on doing that.

jerry

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


Re: New user

2005-09-27 Thread Xian
 On Tue, 27 Sep 2005, Tharaka Abeysekera wrote:
  I'm a new to UNIX, I got to know about your services recently. Please
  tell me ware to start FreeBSD(UNIX) . Because I'm pissed off with Windows

On Tuesday 27 September 2005 14:29, Derrick Test wrote:
 thats a big question. the handbook off the website is a great resource.

It can also be found on the disk 
(at /usr/share/doc/en_US.ISO8859-1/books/handbook/index.html ) once you have 
installed. Usefull for working out how to set up internet ;-)
Using it will also save FreeBSD site bandwidth :-)

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


Re: New user getting very discouraged with IPv6 problems, cannot get tunnel working completely :(

2005-09-25 Thread Tilman Linneweh


Am 25.09.2005 um 03:32 schrieb aksis:
On the HE site, after you login, in the Tunnel Details section, there 
is an
option to rebuild the tunnel, this might fix the problem. Beyond 
that I

would email HE, send them the relative info and ask them to look at it.


Additional check your ipv6 routing table that everything is correct.
(e.g. the tspc program is not running and messing with your 
routingtable)


Check with tcpdump/ethereal that the ping packets are leaving your site 
correctly.


regards
arved

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


New user getting very discouraged with IPv6 problems, cannot get tunnel working completely :(

2005-09-24 Thread resonant evil
Hi all, I'm a brand new poster to the forums, and consider myself a novice
FreeBSD user..

I used to use an IPv6 tunnel broker that worked fine, and even had a great
program in C to do all the configuring of my tunnel automatically, but
sadly, they are sharing my /48 with like 4 other people making it impossible
to log into IRC servers. So somebody on #FreeBSD @
irc.freenode.nethttp://irc.freenode.netreccomended 2 OTHER brokers
for me, one was BTexaCT and another was
Hurricane Electric (www.tunnelbroker.net http://www.tunnelbroker.net,
which he advised me to use.) So I got my tunnel approved at both places, but
am seriously at a dead end here and it has become very discouraging, to the
point where I'm blaming myself because this should be so straight-forward :(

Here are the full tunnel details I was approved for
Server IPV4 Address: 64.71.128.83 http://64.71.128.83
Server IPV6 Address: 2001:470:1F01:::DD2/127
Client IPV4 Address: 70.28.MY.IP
Client IPV6 Address: 2001:470:1F01:::DD3/127

in my /etc/rc.conf, I have

ipv6_enable=YES
ipv6_gateway_enable=YES


The guide I was following was:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.html

Okay, so, the steps I follow are..

ifconfig gif0 create
ifconfig gif0 tunnel 70.28.MY.IP 64.71.128.83 http://64.71.128.83 (my ip
then their ipv4 ip)
ifconfig gif0 inet6 alias 2001:470:1F01:::DD3

That goes off without any errors or anything, and then that guide tells me
to 'ping6 ff02::1%gif0' and it works perfectly, and I get ping replies, so I
get REALLY excited. Then, the guide tells me to finish by

route add -inet6 default -interface gif0

Then, it should be ready according to the manual, but I can only resolve
IPV6 addresses, I can't actually communicate with any.

ping6 'ing ipv6 addresses resolves to the proper address, but no packets are
received
irc'ing an ipv6 server just resolves the IPV6 address but doesn't actually
get past the CONNECTING stage

As I said, I'm getting really discouraged and downright depressed, and I
don't know what further action to take to pursue this problem, so hopefully
people here can get me up and running.. This really shouldn't be a difficult
thing to do..

Also, as a side note, I also took the exact same steps with the OTHER broker
I was approved for (BTexaCT) but its the same thing, I can only resolve IPV6
IP's, not communicate with them

What should I do!! Thanks in advance, everyone :)

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


Re: New user getting very discouraged with IPv6 problems, cannot get tunnel working completely :(

2005-09-24 Thread aksis
On Friday 23 September 2005 01:08, resonant evil wrote:

 Here are the full tunnel details I was approved for
 Server IPV4 Address: 64.71.128.83 http://64.71.128.83
 Server IPV6 Address: 2001:470:1F01:::DD2/127
 Client IPV4 Address: 70.28.MY.IP
 Client IPV6 Address: 2001:470:1F01:::DD3/127

 in my /etc/rc.conf, I have

 ipv6_enable=YES
 ipv6_gateway_enable=YES

Im using Hurricane Electric as well,
When you login to HE they have a link for an example config generation, this 
is what I used. I had some problems with the handbook as well.

My rc.conf:
... snip ...
gif_interfaces=gif0 gif1  # IPv6 tunnel
gifconfig_gif0=63.226.12.96 64.71.128.82 # IPv4 tunnel for IPv6 tunnel

ipv6_enable=YES# Set to YES to set up for IPv6.
ipv6_network_interfaces=rl0 gif0  # List of network interfaces.
ipv6_defaultrouter=2001:470:1F00:::22E # Set to IPv6 default gateway
ipv6_ifconfig_rl0=2001:470:1F00:379::1 # assigned from my /64to a nic
ipv6_ifconfig_gif0=2001:470:1F00:::22F 2001:470:1F00:::22E prefixlen 
128 --- wrapped, should be on the above line.
... snip ...

My Assigned Prefix: 2001:470:1F00:379::/64

# ifconfig gif0 
gif0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1280
tunnel inet 63.226.12.96 -- 64.71.128.82
inet6 fe80::2c0:f0ff:fe2a:aa7c%gif0 prefixlen 64 scopeid 0x8
  inet6 2001:470:1f00:::22f -- 2001:470:1f00:::22e prefixlen 128 


Is your firewall blocking ipv6?
# /etc/rc.firewall6 open

Don't leave this open after you get the tunnel working.

 That goes off without any errors or anything, and then that guide tells me
 to 'ping6 ff02::1%gif0' and it works perfectly, and I get ping replies, so
 I get REALLY excited. Then, the guide tells me to finish by

ping their ipv6 end point of the tunnel:

# ping6 2001:470:1F01:::DD2 (you sure its /127 and not /128?)

If you don't get replies then there is a problem with the tunnel.

 irc'ing an ipv6 server just resolves the IPV6 address but doesn't actually
 get past the CONNECTING stage

Last I knew, freenode has all HE ipv6 blocked because of abuse. This might 
have been lifted, I don't use ipv6 for irc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: New user getting very discouraged with IPv6 problems, cannot get tunnel working completely :(

2005-09-24 Thread resonant evil
Hi, thanks for the response, but alas it's still not working :(


On 9/24/05, aksis [EMAIL PROTECTED] wrote:

 Im using Hurricane Electric as well,
 When you login to HE they have a link for an example config generation,
 this
 is what I used. I had some problems with the handbook as well.


Yeah, I was following their example configs also, I saw it there :(


My rc.conf:
 ... snip ...
 gif_interfaces=gif0 gif1 # IPv6 tunnel
 gifconfig_gif0=63.226.12.96 http://63.226.12.96 
 64.71.128.82http://64.71.128.82
 # IPv4 tunnel for IPv6 tunnel

 ipv6_enable=YES # Set to YES to set up for IPv6.
 ipv6_network_interfaces=rl0 gif0 # List of network interfaces.
 ipv6_defaultrouter=2001:470:1F00:::22E # Set to IPv6 default gateway
 ipv6_ifconfig_rl0=2001:470:1F00:379::1 # assigned from my /64to a nic
 ipv6_ifconfig_gif0=2001:470:1F00:::22F 2001:470:1F00:::22E
 prefixlen
 128 --- wrapped, should be on the above line.
 ... snip ...


I was missing alot of that stuff, so I filled it in with the appropriate
values, here's what mine looks like (and upon reboot everything looked good)

...
ipv6_enable=YES
ipv6_gateway_enable=YES
gif_interfaces=gif0 gif1
gifconfig_gif0=70.28.134.212 http://70.28.134.212
64.71.128.83http://64.71.128.83

ipv6_network_interfaces=rl0 gif0
ipv6_defaultrouter=2001:470:1F01:::DD2 # default ipv6 gateway
ipv6_ifconfig_gif0=2001:470:1F01:::DD3 2001:470:1F01:::DD2
prefixlen 128

is the ipv6 section of my /etc/rc.conf, on bootup everything seemed to take
effect properly


# ifconfig gif0
 gif0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1280
 tunnel inet 63.226.12.96 http://63.226.12.96 -- 
 64.71.128.82http://64.71.128.82
 inet6 fe80::2c0:f0ff:fe2a:aa7c%gif0 prefixlen 64 scopeid 0x8
 inet6 2001:470:1f00:::22f -- 2001:470:1f00:::22e prefixlen 128


su-3.00# ifconfig gif0
gif0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1280
tunnel inet 70.28.134.212 http://70.28.134.212 --
64.71.128.83http://64.71.128.83
inet6 fe80::240:f4ff:fe2d:a9f7%gif0 prefixlen 64 scopeid 0x4
inet6 2001:470:1f01:::dd3 -- 2001:470:1f01:::dd2 prefixlen 128

which from what I can gather looks absolutely correct, doesn't it :(

Is your firewall blocking ipv6?
 # /etc/rc.firewall6 open


No such file on my system, I'm using 5.3-RELEASE
I don't think the firewall is blocking ipv6 because
www.hexago.comhttp://www.hexago.com(my old broker, freenet6) had a
great 'tspc' program (that was compiled from
C) that did all the work for me, and that tunnel still works great, except
its unstable for me and is completely blacklisted from most IRC networks


Don't leave this open after you get the tunnel working.

  That goes off without any errors or anything, and then that guide tells
 me
  to 'ping6 ff02::1%gif0' and it works perfectly, and I get ping replies,
 so
  I get REALLY excited. Then, the guide tells me to finish by

 ping their ipv6 end point of the tunnel:

 # ping6 2001:470:1F01:::DD2 (you sure its /127 and not /128?)

 If you don't get replies then there is a problem with the tunnel.


su-3.00# ping6 2001:470:1F01:::DD2
PING6(56=40+8+8 bytes) 2001:470:1f01:::dd3 -- 2001:470:1f01:::dd2
^C
--- 2001:470:1F01:::DD2 ping6 statistics ---
9 packets transmitted, 0 packets received, 100.0% packet loss


I really appreciate the help thus far man :)
Any other suggestions or reccomendations would be greatly appreciated.. I
can also provide output from anything you might find useful, just let me
know :) I really would love to get this working, it would be a good
confidence boost for me if I could just figure this out

Thanks again :)

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


Re: New user getting very discouraged with IPv6 problems, cannot get tunnel working completely :(

2005-09-24 Thread aksis
On the HE site, after you login, in the Tunnel Details section, there is an 
option to rebuild the tunnel, this might fix the problem. Beyond that I 
would email HE, send them the relative info and ask them to look at it.

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


Re: New user questions :)

2005-04-07 Thread Graham Bentley

Graham Bentley [EMAIL PROTECTED] wrote:
I also wondered if there is a project based on FreeBSD that
achieves similar goals to SME Server (ie all in one LAN server
with Web config) or similar to Trustix (ie minimal config with
series of scripts to configure server services.

Not that I know of, but it sure would be a nice project, huh?
definitely a nice one.
hmm...what would be the best way to go about it?
 - add an option to sysinstall SME (well, whatever that would be named 
of course)
 - add a port that 'depends' / installs all the other ports needed
- with questions and answer to start setting up your system...or 
some kind of UI for it (ugh)
 - same as with ports, but prec-compiled packages.

hmm...must download SME to test and see how they went about it.
Hi Guys, Iw as wondering how I would even go about starting a project 
like this using FreeBSD as I know even less than I do about Linux (not 
much) but I really rate SME and would love to see a FreeBSD version as
FreeBSD seems even more suited to this type of thing (ie a stable distro 
to base a good project on:)

Did you get round to checking out SME ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: New user questions :)

2005-04-07 Thread Nick Pavlica
On Apr 7, 2005 2:58 AM, Graham Bentley [EMAIL PROTECTED] wrote:
 
  Graham Bentley [EMAIL PROTECTED] wrote:
  I also wondered if there is a project based on FreeBSD that
  achieves similar goals to SME Server (ie all in one LAN server
  with Web config) or similar to Trustix (ie minimal config with
  series of scripts to configure server services.
 
  Not that I know of, but it sure would be a nice project, huh?
 
  definitely a nice one.
 
  hmm...what would be the best way to go about it?
   - add an option to sysinstall SME (well, whatever that would be named
  of course)
   - add a port that 'depends' / installs all the other ports needed
  - with questions and answer to start setting up your system...or
  some kind of UI for it (ugh)
   - same as with ports, but prec-compiled packages.
 
  hmm...must download SME to test and see how they went about it.
 
 Hi Guys, Iw as wondering how I would even go about starting a project
 like this using FreeBSD as I know even less than I do about Linux (not
 much) but I really rate SME and would love to see a FreeBSD version as
 FreeBSD seems even more suited to this type of thing (ie a stable distro
 to base a good project on:)
 
 Did you get round to checking out SME ?
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

Graham,
  After taking a quick look at SME I can see it's appeal.  I'm not
sure if there is an equivalent for FreeBSD, but it would be a nice
addition.  Webmin does allot of this functionality as well if you
haven't taken a look at that.  To start a project like SME all you
need to do is start hacking, and provide a web based community for it
so that others are aware of it and possibly start helping out. 
Because they are both *nix based operating systems you may be able to
start by porting the web manager from SME to FreeBSD 5.4 +.

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


I am new User

2004-12-25 Thread pedram
Hi

I want Learn FreeBSD but I am New in Unix Platform.

I have MCSE and CCNA Certification and I am Administrator in an ISP and some 
companies.

I was Download FreeBSD 5.3

Which books or sites you suggest me to learn?



Thank you

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


Re: I am new User

2004-12-25 Thread Giuliano Cardozo Medalha
Pedram,
The best first reference about FreeBSD (in my opinion) is their own 
hadnbook.

Take a look that:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/
It is a complete reference to install and use it.
After read it ... if you have any more questions ... post it to the list.
Have you did the download of the FreeBSD 5.3 first CD from Freebsd.org ?
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/5.3/5.3-RELEASE-i386-disc1.iso
The CD1 is enought for you to install it.
Be welcome !!!
Att,
Giuliano

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


  1   2   >