Re: how to find literal in file and them delete that line

2010-05-10 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 10/05/2010 04:38:25, Fbsd1 wrote:
 I want to search every line in the specified file for a literal and if
 found then delete that line from the file and save the file all from
 within a sh type of shell script.
 
 Does anyone have a example they would share with me?

grep -v 'literal'  file  file.new

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvnopEACgkQ8Mjk52CukIxlzgCfW1u7k0O1BZ5gCM5emVUfJJGk
80IAn100dDD01WMkTrXXE3NI88Ohd/ZK
=6nDd
-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


RT 3.8.6 web page wont display after configuration on FreeBSD 8.0

2010-05-10 Thread Pamela Pomary
Hello,
I have installed rt3.8.6 with apache2-modperl2 on freebsd 8.0. I have
configured RT_SiteConfig.pm and /apache22/Includes/http-local.conf files
as directed by RT's wiki website
http://wiki.bestpractical.com/view/UserManual. I get the following message
when i want to launch the web page http://monitor.ug.edu.gh/rt/

You don't have permission to access /rt/ on this server.

I have included mod_perl in /apache22/Includes/http-local.conf

When i checked httpd-error.log, it said [Mon May 10 08:56:56 2010] [error]
[client 82.206.239.244] client denied by server configuration:
/usr/local/share/rt38/html/


Below is my RT_SiteConfig.pm and /apache22/Includes/http-local.conf
respectively:


Set( $rtname , ug.edu.gh);
Set($Organization , ug.edu.gh);
Set($MinimumPasswordLength , 5);
Set($Timezone , 'GMT');
Set($DatabaseType ,'mysql');
Set($DatabaseHost , 'localhost');
Set($DatabaseRTHost , 'localhost');
Set($DatabaseUser , 'root');
Set($DatabasePassword , '1234asdf');
Set($DatabaseName , 'mysql');
Set($DatabasePort , '');
Set($DatabaseRequireSSL , undef);
Set($UseSQLForACLChecks, 1);
Set($OwnerEmail , 'root');
Set($LoopsToRTOwner , 1);
Set($StoreLoops , undef);
Set($MaxAttachmentSize , 1000);
Set($TruncateLongAttachments , undef);
Set($DropLongAttachments , undef);
Set($ParseNewMessageForTicketCcs , undef);
Set($RTAddressRegexp , '^moni...@ug.edu.gh$');
Set($CanonicalizeEmailAddressMatch , '@monitor\.ug.edu\.gh$');
Set($CanonicalizeEmailAddressReplace , '@ug.edu.gh');
Set($CanonicalizeOnCreate, 0);
Set($SenderMustExitInExternalDatabase , undef);
Set($ValidateUserEmailAddress,undef);
Set($ExtractSubjectTagMatch, qr/\[.+? #\d+\]/);
Set($ExtraSubjectTagNoMatch, ( ${RT::EmailSubjectTagRegex}
   ? qr/\[(?{RT::EmailSubjectTagRegex}) #\d+\]/
   : qr/\[\Q$RT::rtname\E #\d+\]/));
Set($MailCommand , 'sendmailpipe');
Set($MailCommand , 'sendmailpipe');
Set($SendmailArguments , -oi -t);
Set($SendmailBounceArguments , '-f ');
Set($SendmailPath , /usr/sbin/sendmail);
Set($SMTPServer, undef);
Set($SMTPFrom,undef);
Set($SMTPDebug, 0);
Set(@MailParams, ());
Set($CorrespondAddress , 'ppom...@ug.edu.gh');
Set($CommentAddress , 'ppom...@ug.edu.gh');
Set($DashboardAddress, 'ppom...@ug.edu.gh');
Set($UseFriendlyFromLine, 1);
Set($FriendlyFromLineFormat, \%s via RT\ %s);
Set($WebPath, /rt);
Set($WebBaseURL , http://monitor.ug.edu.gh;);
Set($WebURL , $WebBaseURL . $WebPath . /);


   Directory /usr/local/share/rt38/html/
   AllowOverride None
   order allow,deny
   Allow from all
 /Directory
Alias /rt/ /usr/local/share/rt38/html/

Counting on your help to complete my RT setup soon.

Thank You.




-- 
Pamela Pomary
ICT Assistant (Network Administration)
ICT Directorate
University of Ghana
Tel:+233 244 994 020




-- 
Pamela Pomary
ICT Assistant (Network Administration)
ICT Directorate
University of Ghana
Tel:+233 244 994 020
g-mail:ppom...@gmail.com
yahoo-mail: mawua2...@yahoo.com
skype:ppomary











___
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: [#24488694] port pkg-plist

2010-05-10 Thread Jerry
On Sun, 9 May 2010 20:15:23 -0500
supp...@midphase.com supp...@midphase.com articulated:


 Hello,
 
 Please remove supp...@midphase.com and any other @midphase.com from
 your mailing list, thank you.
 

From the mailing list e-mail headers:

quote

List-Unsubscribe: http://lists.freebsd.org/mailman/listinfo/freebsd-questions,
 mailto:freebsd-questions-requ...@freebsd.org?subject=unsubscribe

/quote

-- 
Jerry
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

TRAVEL:
Something that makes you feel like you're getting somewhere.
___
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: [#24488694] port pkg-plist

2010-05-10 Thread support
Hello,

Unfortunately, when we use the Unsubscribe site, we never receive a 
confirmation to finish the process. Please manually remove the address.

Thank you.

-- 
Best Regards,

Seth Jensen
Technical Support Representative
Hosting Services Inc.

-
How was your experience with this ticket? Please let us know by completing the 
following survey: 
https://secure.mpcustomer.com/order/phpQ/fillsurvey.php?sid=2id=24488694

For answers to common questions please check our knowledgebase at 
midphasehelp.com

___
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: [#24488694] port pkg-plist

2010-05-10 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 10/05/2010 12:43:27, supp...@midphase.com wrote:
 Hello,
 
 Unfortunately, when we use the Unsubscribe site, we never receive a
 confirmation to finish the process. Please manually remove the address.
 
 Thank you.

The list members cannot actually unsubscribe you: I've bought your case
to the attention of postmas...@freebsd.org who will be able to act.
However, it seems that you probably have not been added to the list
using the obvious 'supp...@midphase.com' address -- hence you aren't
getting the unsubscribe messages.  In order to debug this, what would
almost certainly help is if you can send postmas...@f.o some sample
copies of or list e-mails as received by you including all of the
headers.  If the list-member address that results in messages into your
system can be identified, then it's simple to delete it.

It's quite likely that this is the result of some vandal who finds it
amusing to try and create mayhem by subscribing mailing lists to each
other and similar juvenile tricks.  It would only be justice to identify
the person concerned and bill them for the amount of time spent sorting
it out.

In the mean time, probably your best bet is to send any mailing list
traffic to /dev/null so it doesn't pollute your ticketing system.
That's pretty easy to do with eg. procmail(1) or any one of a dozen
other mechanisms.

Cheers,

Matthew


- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvn9/MACgkQ8Mjk52CukIzV1wCggF3tf0uzBivLRSxdy91t32n4
5voAn2RFlk6B+4cxZhh5289eWvTpgYms
=9Cn+
-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


Very simple file sharing between FreeBSD server and windows client ?

2010-05-10 Thread Frank Bonnet

Hello

Is there a simple software to share files between a FreeBSD server and a 
windows client other than Samba which is a bit overkill for my needings,


I just want to share a directory (and subdirectories) of my server with 
ONE Windows client, to facilitate some files exchanges between two users.


Thanks for any infos

___
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: Small computer to run a GUI?

2010-05-10 Thread Sean Cavanaugh

. 

 Date: Sun, 9 May 2010 16:07:26 +0100
 From: cwhi...@onetel.com
 To: millenia2...@hotmail.com
 CC: freebsd-questions@freebsd.org
 Subject: Re: Small computer to run a GUI?
 
  Nice but doesn't have a VGA port (but does have HDMI)
 
  http://www.fit-pc.com/web/fit-pc2/fit-pc2-specifications/
 
  
  you mean like the adapter they sell?
  http://www.fit-pc.com/web/fit-pc2/accessories/
  
 Ah ha didn't see that, in fact several useful looking items on the same 
 page.
 
 Oh, available soon for the vga adapter... :)
 
 Chris


If i read the site correctly, the HDMI port is used as a DVI port. not sure if 
it means they have a DVI adapter too or you need to acquire your own 
HDMI-to-DVI cable.

 

Otherwise these look pretty nice. I would not have known there was a PC smaller 
than an ALIX style.

 

-Sean
  
___
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: Very simple file sharing between FreeBSD server and windows client ?

2010-05-10 Thread Ivan Voras

On 05/10/10 14:35, Frank Bonnet wrote:

Hello

Is there a simple software to share files between a FreeBSD server and a
windows client other than Samba which is a bit overkill for my needings,

I just want to share a directory (and subdirectories) of my server with
ONE Windows client, to facilitate some files exchanges between two users.


If by share you mean use a network file system than there is no other 
way then to use - a network file system, with all its complexity.


Otherwise, scp (winscp), ftp and others can be used to exchange single 
files.


___
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: Very simple file sharing between FreeBSD server and windows client ?

2010-05-10 Thread Andrew Gould
On Mon, May 10, 2010 at 7:35 AM, Frank Bonnet f.bon...@esiee.fr wrote:
 Hello

 Is there a simple software to share files between a FreeBSD server and a
 windows client other than Samba which is a bit overkill for my needings,

 I just want to share a directory (and subdirectories) of my server with ONE
 Windows client, to facilitate some files exchanges between two users.

 Thanks for any infos

Some things simply aren't that simple if you're setting them up yourself.

The good news is that you get to choose the type of complexity you
want to deal with:

1.  Samba.
2.  You could purchase a networked drive (network attached storage)
that both computers can access.  Many retail stores now carry these.
3.  Webdav (included with Apache 2.2).  This setup is as complex as
Samba; but you can access it securely across the internet via SSL.

Good luck,

Andrew
___
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: Very simple file sharing between FreeBSD server and windows client ?

2010-05-10 Thread Adam Vande More
On Mon, May 10, 2010 at 7:35 AM, Frank Bonnet f.bon...@esiee.fr wrote:

 Hello

 Is there a simple software to share files between a FreeBSD server and a
 windows client other than Samba which is a bit overkill for my needings,

 I just want to share a directory (and subdirectories) of my server with ONE
 Windows client, to facilitate some files exchanges between two users.


If it's a one way share, you can use rsync.



-- 
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: Very simple file sharing between FreeBSD server and windows client ?

2010-05-10 Thread Diego F. Arias R.
On Mon, May 10, 2010 at 9:37 AM, Adam Vande More amvandem...@gmail.comwrote:

 On Mon, May 10, 2010 at 7:35 AM, Frank Bonnet f.bon...@esiee.fr wrote:

  Hello
 
  Is there a simple software to share files between a FreeBSD server and a
  windows client other than Samba which is a bit overkill for my needings,
 
  I just want to share a directory (and subdirectories) of my server with
 ONE
  Windows client, to facilitate some files exchanges between two users.
 

 If it's a one way share, you can use rsync.



 --
 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


Use samba is no so overkill, for simple stuff is really good.

-- 
mmm, interesante.
___
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: Very simple file sharing between FreeBSD server and windows client ?

2010-05-10 Thread Chip Camden
On May 10 2010 08:04, Andrew Gould wrote:
 On Mon, May 10, 2010 at 7:35 AM, Frank Bonnet f.bon...@esiee.fr wrote:
  Hello
 
  Is there a simple software to share files between a FreeBSD server and a
  windows client other than Samba which is a bit overkill for my needings,
 
  I just want to share a directory (and subdirectories) of my server with ONE
  Windows client, to facilitate some files exchanges between two users.
 
  Thanks for any infos
 
 Some things simply aren't that simple if you're setting them up yourself.
 
 The good news is that you get to choose the type of complexity you
 want to deal with:
 
 1.  Samba.
 2.  You could purchase a networked drive (network attached storage)
 that both computers can access.  Many retail stores now carry these.
 3.  Webdav (included with Apache 2.2).  This setup is as complex as
 Samba; but you can access it securely across the internet via SSL.
 
 Good luck,
 
 Andrew
 ___
 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

Does anyone have a recommendation for NAS that works well for both
FreeBSD and Windows clients?

Regards,

-- 
Sterling (Chip) Camden | camdensoftware.com | chipstips.com | chipsquips.com
___
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: Very simple file sharing between FreeBSD server and windows client ?

2010-05-10 Thread Ross Cameron
On Mon, May 10, 2010 at 4:51 PM, Chip Camden
sterl...@camdensoftware.com wrote:
 On May 10 2010 08:04, Andrew Gould wrote:
 On Mon, May 10, 2010 at 7:35 AM, Frank Bonnet f.bon...@esiee.fr wrote:
  Hello
 
  Is there a simple software to share files between a FreeBSD server and a
  windows client other than Samba which is a bit overkill for my needings,
 
  I just want to share a directory (and subdirectories) of my server with ONE
  Windows client, to facilitate some files exchanges between two users.
 
  Thanks for any infos

 Some things simply aren't that simple if you're setting them up yourself.

 The good news is that you get to choose the type of complexity you
 want to deal with:

 1.  Samba.
 2.  You could purchase a networked drive (network attached storage)
 that both computers can access.  Many retail stores now carry these.
 3.  Webdav (included with Apache 2.2).  This setup is as complex as
 Samba; but you can access it securely across the internet via SSL.

 Good luck,

 Andrew
 ___
 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

 Does anyone have a recommendation for NAS that works well for both
 FreeBSD and Windows clients?

FreeNAS ?
OpenFILER ?


-- 
Opportunity is most often missed by people because it is dressed in
overalls and looks like work.
Thomas Alva Edison
Inventor of 1093 patents, including:
The light bulb, phonogram and motion pictures.
___
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


suggestion for http://krinc.rnd.runnet.ru/FreeBSD/gallery/npgallery.html

2010-05-10 Thread linda
Hello,

I found your webpage, 
http://krinc.rnd.runnet.ru/FreeBSD/gallery/npgallery.html, very resourceful for 
a project I am working on.

However, I could not open the page on your site titled Feminism Net that is 
supposed to go here: http://www.feminism.net/

I found another informative page about feminism, 
http://www.datehookup.com/content-feminism-resources.htm , which would make a 
nice replacement or additional resource for your page.

I hope my suggestion helps!

Regards,
Linda Peterson
___
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: where can i dl freebsd?

2010-05-10 Thread Chris Rees
On 7 May 2010 17:49, Gary Kline kl...@thought.org wrote:
 On Fri, May 07, 2010 at 12:03:24PM +0100, Chris Rees wrote:
 Gary Kline wrote:
         well, i would up using a torrent site to grab over a gig of
         an uncompressed iso.  i wish i knew what is broken with sshd;
         but several hours are enough 
 

 Try this one:
 http://torrents.freebsd.org:8080/torrents/a233878b05f9cd1d1cdb42012cbb7107fa55ac17.torrent

 There're 131 seeders, so it'll be quick as anything!

        pretty sure this is the one i downloaded overnight.

        it's going to be like coming home; or maybe like
        never-having-left :-)


Gary, if bandwidth is expensive/slow I can post you a DVD? I rinse my
connection for all its worth!

Chris
___
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: RT 3.8.6 web page wont display after configuration on FreeBSD 8.0

2010-05-10 Thread Joseph Olatt
On Mon, May 10, 2010 at 09:14:13AM -, Pamela Pomary wrote:
 Hello,
 I have installed rt3.8.6 with apache2-modperl2 on freebsd 8.0. I have
 configured RT_SiteConfig.pm and /apache22/Includes/http-local.conf files
 as directed by RT's wiki website
 http://wiki.bestpractical.com/view/UserManual. I get the following message
 when i want to launch the web page http://monitor.ug.edu.gh/rt/
 
 You don't have permission to access /rt/ on this server.
 
 I have included mod_perl in /apache22/Includes/http-local.conf
 
 When i checked httpd-error.log, it said [Mon May 10 08:56:56 2010] [error]
 [client 82.206.239.244] client denied by server configuration:
 /usr/local/share/rt38/html/
 
 
 Below is my RT_SiteConfig.pm and /apache22/Includes/http-local.conf
 respectively:
 
 
 Set( $rtname , ug.edu.gh);
 Set($Organization , ug.edu.gh);
 Set($MinimumPasswordLength , 5);
 Set($Timezone , 'GMT');
 Set($DatabaseType ,'mysql');
 Set($DatabaseHost , 'localhost');
 Set($DatabaseRTHost , 'localhost');
 Set($DatabaseUser , 'root');
 Set($DatabasePassword , '1234asdf');
 Set($DatabaseName , 'mysql');
 Set($DatabasePort , '');
 Set($DatabaseRequireSSL , undef);
 Set($UseSQLForACLChecks, 1);
 Set($OwnerEmail , 'root');
 Set($LoopsToRTOwner , 1);
 Set($StoreLoops , undef);
 Set($MaxAttachmentSize , 1000);
 Set($TruncateLongAttachments , undef);
 Set($DropLongAttachments , undef);
 Set($ParseNewMessageForTicketCcs , undef);
 Set($RTAddressRegexp , '^moni...@ug.edu.gh$');
 Set($CanonicalizeEmailAddressMatch , '@monitor\.ug.edu\.gh$');
 Set($CanonicalizeEmailAddressReplace , '@ug.edu.gh');
 Set($CanonicalizeOnCreate, 0);
 Set($SenderMustExitInExternalDatabase , undef);
 Set($ValidateUserEmailAddress,undef);
 Set($ExtractSubjectTagMatch, qr/\[.+? #\d+\]/);
 Set($ExtraSubjectTagNoMatch, ( ${RT::EmailSubjectTagRegex}
? qr/\[(?{RT::EmailSubjectTagRegex}) #\d+\]/
: qr/\[\Q$RT::rtname\E #\d+\]/));
 Set($MailCommand , 'sendmailpipe');
 Set($MailCommand , 'sendmailpipe');
 Set($SendmailArguments , -oi -t);
 Set($SendmailBounceArguments , '-f ');
 Set($SendmailPath , /usr/sbin/sendmail);
 Set($SMTPServer, undef);
 Set($SMTPFrom,undef);
 Set($SMTPDebug, 0);
 Set(@MailParams, ());
 Set($CorrespondAddress , 'ppom...@ug.edu.gh');
 Set($CommentAddress , 'ppom...@ug.edu.gh');
 Set($DashboardAddress, 'ppom...@ug.edu.gh');
 Set($UseFriendlyFromLine, 1);
 Set($FriendlyFromLineFormat, \%s via RT\ %s);
 Set($WebPath, /rt);
 Set($WebBaseURL , http://monitor.ug.edu.gh;);
 Set($WebURL , $WebBaseURL . $WebPath . /);
 
 
Directory /usr/local/share/rt38/html/
AllowOverride None
order allow,deny
Allow from all
  /Directory
 Alias /rt/ /usr/local/share/rt38/html/
 
 Counting on your help to complete my RT setup soon.
 
 Thank You.

Have you checked the permissions on /usr/local/share/rt38/html.
If you are using Apache from the ports, then it is probably running
as user www and group www.

User www should be able to read and cd into /usr/local/share/rt38/html

I would first check that.

regards,
joseph
___
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


xset/xterm: since update from 1.4 - 1.5 not able to disable beeping via 'xset -b' or 'xset b off'

2010-05-10 Thread O. Hartmann
Since the X11-update from libraries and applications 1.4 - 1.5 the 
xterminal keyboard beeping, disabled by 'xset -b' or 'xset b off' 
doesn't work. In xterm, I get beeping although I disabled beeping via 
the above mentioned xset command.


Regards,
Oliver
___
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: File system

2010-05-10 Thread Nikos Vassiliadis

Ansar Mohammed wrote:

Hello All,
I have a FreeBSD VM running. Whenever I reboot the VM without a clean
shutdown it boots into single user mode and I have to run fsck.

When I run fsck, the file system clearly has issues.

Is there any way to have FreeBSD run on a better file system that wont crap
out on me everytime I do and unclean shutdown?


I am really surprised no one proposed geom journaling. With gjournal,
I never had to do a manual full fsck and have had plenty of unclean
shutdowns. I also occasionally do fsck the filesystem and there were
no errors ever found. It definitely adds the ease factor I am looking
for in a journaling sollution in the case of an unclean shutdown...

Nikos
___
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: xset/xterm: since update from 1.4 - 1.5 not able to disable beeping via 'xset -b' or 'xset b off'

2010-05-10 Thread Joel Dahl
On 10-05-2010 19:34, O. Hartmann wrote:
 Since the X11-update from libraries and applications 1.4 - 1.5 the 
 xterminal keyboard beeping, disabled by 'xset -b' or 'xset b off' 
 doesn't work. In xterm, I get beeping although I disabled beeping via 
 the above mentioned xset command.

Me too.

I don't think it's FreeBSD specific though.  I've seen users report the same
thing on Debian and Arch Linux mailing lists.

-- 
Joel
___
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: where can i dl freebsd?

2010-05-10 Thread Gary Kline
On Mon, May 10, 2010 at 04:36:34PM +0100, Chris Rees wrote:
 On 7 May 2010 17:49, Gary Kline kl...@thought.org wrote:
  On Fri, May 07, 2010 at 12:03:24PM +0100, Chris Rees wrote:
  Gary Kline wrote:
          well, i would up using a torrent site to grab over a gig of
          an uncompressed iso.  i wish i knew what is broken with sshd;
          but several hours are enough 
  
 
  Try this one:
  http://torrents.freebsd.org:8080/torrents/a233878b05f9cd1d1cdb42012cbb7107fa55ac17.torrent
 
  There're 131 seeders, so it'll be quick as anything!
 
         pretty sure this is the one i downloaded overnight.
 
         it's going to be like coming home; or maybe like
         never-having-left :-)
 
 
 Gary, if bandwidth is expensive/slow I can post you a DVD? I rinse my
 connection for all its worth!
 
 Chris
 ___


I do have hi-speed [koff-koff]--altho it really is deadly
slow sometimes.  i think at least one problem might be that I
just never had a bootable file.  There have been lots of
other disruptions at my end, not worth mentioning.  Onr
solution might be to d/load the 44M bootable cdrom.  Another 
thing is that in /usr/share/***/cvsup/, i found the
stable-cvsup file to upgrade to [[i think!] 8.0-R FreeBSD],
so i may be able to do this as per usual, over the wire.

I really appreciate your thoughtfulness,

gary



 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

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.83a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.org  99 44/100% Guaranteed Novel

___
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: Very simple file sharing between FreeBSD server and windows client ?

2010-05-10 Thread Warren Block

On Mon, 10 May 2010, Adam Vande More wrote:


On Mon, May 10, 2010 at 7:35 AM, Frank Bonnet f.bon...@esiee.fr wrote:


Is there a simple software to share files between a FreeBSD server and a
windows client other than Samba which is a bit overkill for my needings,

I just want to share a directory (and subdirectories) of my server with ONE
Windows client, to facilitate some files exchanges between two users.


If it's a one way share, you can use rsync.


The rsync and scp from Cygwin seem to work okay.

There's a Windows NFS client in Windows Services for UNIX Version 3.5, 
which is a free download from MS.  It doesn't sound like fun.


There's sshfs for Windows: http://dokan-dev.net/en/download/
Untested by me, but I like the idea.

-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: File system

2010-05-10 Thread Bruce Cran
On Sunday 09 May 2010 22:51:01 Robert Bonomi wrote:

 2) You could try using a 'journaling' filesystem, *BUT* you'd have to
 build/ implement it yourself.  Journaling filesystems are deliberately
 _not_ provided with FreeBSD, due to security issues/implications with
 them. _You_ will have to decide if the security risks in *your*
 envrionment are worth the (limited) benefits.

I've never heard of security problems with journaled filesystems - do you have 
any links to more information?

 3) you can switch to an OS _intended_ for use by the ill-informed; where
 the provider makes all the decisions for you, and allows only what they
 think is reasonable.  BUT, such an OS isn't going to look like Unix, nor
 feel like it, nor act like it.

I think IBM would disagree with you: JFS (the Journaled File System) is 
available on AIX, which most people would consider very Unixy. I also believe 
IRIX looks very much like Unix too, despite having XFS.

-- 
Bruce Cran
___
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


microsoft windows help needed (DHCP server problems)

2010-05-10 Thread Aleksandr Miroslav
I'm running FreeBSD 8.0-RELEASE on my work PC.

My organization runs largely Windows desktops with a sizable chunk of
Mac OS X machines.

Whenever a Windows/Mac connects to the Windows-based DHCP server, it
not only does the normal DHCP functions (i.e. gets an IP), it also
sets the hostname on the Windows server for that IP.

i.e. when windows.example.org connects to dhcpserver.example.org, the
dhcp server assigns to it 192.168.1.1 AND sets the PTR record for
192.168.1.1 to be windows.example.org.

But for my FreeBSD box seems to only do the first part, i.e. get an IP
address. The second part does not seem to be done.

Is this some Windows/Mac overloading of the DHCP protocol that I
cannot do, or is there some DHCP bit I need to flip to make this
happen?


thanks,
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: microsoft windows help needed (DHCP server problems)

2010-05-10 Thread Diego F. Arias R.
On Mon, May 10, 2010 at 1:41 PM, Aleksandr Miroslav
alexmiros...@gmail.comwrote:

 I'm running FreeBSD 8.0-RELEASE on my work PC.

 My organization runs largely Windows desktops with a sizable chunk of
 Mac OS X machines.

 Whenever a Windows/Mac connects to the Windows-based DHCP server, it
 not only does the normal DHCP functions (i.e. gets an IP), it also
 sets the hostname on the Windows server for that IP.

 i.e. when windows.example.org connects to dhcpserver.example.org, the
 dhcp server assigns to it 192.168.1.1 AND sets the PTR record for
 192.168.1.1 to be windows.example.org.

 But for my FreeBSD box seems to only do the first part, i.e. get an IP
 address. The second part does not seem to be done.

 Is this some Windows/Mac overloading of the DHCP protocol that I
 cannot do, or is there some DHCP bit I need to flip to make this
 happen?


 thanks,
 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


Im think you are wrong (Not 100% shure), yes the DHCP assign the ip but is
the windows machine (Client) thats sets its name on the DNS (At least on a
Active Directory domain)

So when that fails you put ipconfig /registerdns (Windows Machine).

anyway check   man dhclient.conf the part of examples is maybe what you are
looking for. (send host-name andare.fugue.com;)

Diego Arias

-- 
mmm, interesante.
___
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: Very simple file sharing between FreeBSD server and windows client ?

2010-05-10 Thread Timm Wimmers
Am Montag, den 10.05.2010, 14:35 +0200 schrieb Frank Bonnet:
 Hello
 
 Is there a simple software to share files between a FreeBSD server and a 
 windows client other than Samba which is a bit overkill for my needings,
 
 I just want to share a directory (and subdirectories) of my server with 
 ONE Windows client, to facilitate some files exchanges between two users.

I would guess WinSCP (I think it's based on Putty, THE ssh client for
windows) or Filezilla (FTP, SFTP) will fit your needs. If you want more
integration like connecting shares to driveletters take a look at
DokanSSHFS at http://dokan-dev.net/en/

-- 
Timm
Luebeck - Germany

___
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: microsoft windows help needed (DHCP server problems)

2010-05-10 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 10/05/2010 19:41:10, Aleksandr Miroslav wrote:
 I'm running FreeBSD 8.0-RELEASE on my work PC.
 
 My organization runs largely Windows desktops with a sizable chunk of
 Mac OS X machines.
 
 Whenever a Windows/Mac connects to the Windows-based DHCP server, it
 not only does the normal DHCP functions (i.e. gets an IP), it also
 sets the hostname on the Windows server for that IP.
 
 i.e. when windows.example.org connects to dhcpserver.example.org, the
 dhcp server assigns to it 192.168.1.1 AND sets the PTR record for
 192.168.1.1 to be windows.example.org.
 
 But for my FreeBSD box seems to only do the first part, i.e. get an IP
 address. The second part does not seem to be done.
 
 Is this some Windows/Mac overloading of the DHCP protocol that I
 cannot do, or is there some DHCP bit I need to flip to make this
 happen?

It's just a difference in behaviour between Windows and the traditional
Unixy way.  MacOS X seems to have moved towards the Windows-y way of
doing things.

What's happening is that your Unix machine is getting its IP number,
default route etc. from the DHCP server, but it isn't sending
information back to the DHCP server -- such as what its hostname is.
You can use a 'send { }' clause in dhclient.conf to change that -- see
dhclient.conf(5) and dhcp-options(5).  Usually it's the DHCP server that
inserts the hostname / IP pair into the DNS once it receives the
hostname back from each client.

Something like:

interface em0 {
send host-name myhost ;
send domain-name example.org ;
}

should do the trick (Untested, use appropriate common sense, yadda yadda)

Hmmm actually, perhaps I've misread your intent: you can configure
the DHCP server to override the clients idea of what its hostname is --
generally the DHCP server will tell the client to use the hostname
corresponding to the IP as already set up in the DNS or in /etc/hosts on
the DHCP server.  Or else you can have the clients voluntarily request a
name from the DHCP server. To make this happen on a Unix box, you just
need to request the host name using dhclient.conf(8).

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvoWlIACgkQ8Mjk52CukIwwYQCfYHBKWmt5nc3YdXzs/AZwgg2Z
HuIAoIeWdIKkbtCwcN1LOolxH7SbeNqv
=5aw6
-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: Very simple file sharing between FreeBSD server and windows client ?

2010-05-10 Thread Andrew Gould
On Mon, May 10, 2010 at 1:47 PM, Timm Wimmers t...@ticore.de wrote:
 Am Montag, den 10.05.2010, 14:35 +0200 schrieb Frank Bonnet:
 Hello

 Is there a simple software to share files between a FreeBSD server and a
 windows client other than Samba which is a bit overkill for my needings,

 I just want to share a directory (and subdirectories) of my server with
 ONE Windows client, to facilitate some files exchanges between two users.

 I would guess WinSCP (I think it's based on Putty, THE ssh client for
 windows) or Filezilla (FTP, SFTP) will fit your needs. If you want more
 integration like connecting shares to driveletters take a look at
 DokanSSHFS at http://dokan-dev.net/en/

 --
 Timm
 Luebeck - Germany


Gioorgi.com has a comparison of SSHFS and WebDAV:
http://gioorgi.com/2009/webdav-versus-sshfs/
___
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: Very simple file sharing between FreeBSD server and windows client ?

2010-05-10 Thread Gary Gatten
Yeah; what about thttpd, tftp, etc.  Several easy ways; just what's the 
easiest / best method that suites your requirements.

- Original Message -
From: owner-freebsd-questi...@freebsd.org owner-freebsd-questi...@freebsd.org
To: Timm Wimmers t...@ticore.de
Cc: Frank Bonnet f.bon...@esiee.fr; freebsd-questions@freebsd.org 
freebsd-questions@freebsd.org
Sent: Mon May 10 14:14:13 2010
Subject: Re: Very simple file sharing between FreeBSD server and windows
client ?

On Mon, May 10, 2010 at 1:47 PM, Timm Wimmers t...@ticore.de wrote:
 Am Montag, den 10.05.2010, 14:35 +0200 schrieb Frank Bonnet:
 Hello

 Is there a simple software to share files between a FreeBSD server and a
 windows client other than Samba which is a bit overkill for my needings,

 I just want to share a directory (and subdirectories) of my server with
 ONE Windows client, to facilitate some files exchanges between two users.

 I would guess WinSCP (I think it's based on Putty, THE ssh client for
 windows) or Filezilla (FTP, SFTP) will fit your needs. If you want more
 integration like connecting shares to driveletters take a look at
 DokanSSHFS at http://dokan-dev.net/en/

 --
 Timm
 Luebeck - Germany


Gioorgi.com has a comparison of SSHFS and WebDAV:
http://gioorgi.com/2009/webdav-versus-sshfs/
___
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

GoogleEarth message Unknown Graphics Card and X crash afterwards

2010-05-10 Thread Yuri

Hello,

After ports/kernel update (just 8.0 update) Google Earth stopped working.
Error message shows up over the splash: Unknown Graphics Card
GoogleEarth was unable to identify your graphics card ...
When I press Ok X server crashes. But OS is still up.

Nvidia 9400GT (i386 native driver)
FreeBSD-8.0-STABLE

Does anybody else see the same and do you have any clue why would this be?

Yuri
___
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: Live Filesystem (Fixit Console) and NFS FreeBSD8

2010-05-10 Thread Grant Peel
- Original Message - 
From: Grant Peel gp...@thenetnow.com

To: Robert Bonomi bon...@mail.r-bonomi.com
Cc: freebsd-questions@freebsd.org
Sent: Sunday, May 09, 2010 7:39 PM
Subject: Re: Live Filesystem (Fixit Console) and NFS FreeBSD8



Robert,

Maybe I should rephrase the question:

What would the correct procedure be to connect a machine to an NFS share 
on another machine (local network, hardware already connected) with NFS 
using the FreeBSD(8)  Live CD (Fixit Console)?


-Grant

- Original Message - 
From: Robert Bonomi bon...@mail.r-bonomi.com

To: gp...@thenetnow.com
Sent: Sunday, May 09, 2010 6:27 PM
Subject: Re: Live Filesystem (Fixit Console) and NFS FreeBSD8



From owner-freebsd-questi...@freebsd.org  Sun May  9 15:49:35 2010
From: Grant Peel gp...@thenetnow.com
To: freebsd-questions@freebsd.org
Date: Sun, 9 May 2010 16:49:17 -0400
Subject: Live Filesystem (Fixit Console) and NFS FreeBSD8

Hi all,

I had a routine disk change that we required today, thought it would 
take me

2 hours, took close to 8.

I am sure there is something I did'nt read, or do, if anyone can help me
understand I would appreciate it.

I have several machines connected to a NFS share on a local network. 
When I
put the new disk in the machine, booted it up with FreeBSD(8) Live CD, 
went

to the Fixit Console, I was unable to get the machine to connect to the
Netowrk File Share. All other machines were still connected and 
functioning.


I brought up the Clinet interface with:

ifconfig em1 inet 192.168.0.5/24

and was able to ping the NFS server with no problems.

I was also able to SSH to the NFS server no problems.

The NFS server is set to allow all hosts in the 192.168.0.0/24 network.

Here is the command line I was using on the client:

mount 192.168.0.4:/mnt /enterprise

The error I got was:

RPCPROG_NFS: RPC: Program not registered

I tried everything I could think of to get it to work, adding
nfs_client_enable=YES to a rc.conf I created in etc/, tried nfsiod -n 
4

... all that. I tried starting rpcbind etc etc.

Again, any help would be appreciated,


you need the portmapper running
you need 'nfsd'
and you need 'nfsiod'

AND you need NIS (the 'yp*' stuff) running.




___
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





All,

The client that had the new disk installed, and the data from the failing 
hard disk copied over, has no problem connecting to the share now.


For the record, the NFS server is running freebsd 5.2.1, and the client was 
using the FreeBSD 8 Live File System - Fixit console.


So the question remains, should I have been able to connect to an NFS share 
on a local network, using the FreeBSD 8 (CD Based) live file system.


If there are certain parameters I should have used, what should they have 
been?


I have searched and searched and I can find nothing that talks about 
connecting to an NFS share from a client using the Live Filesystem.


Again, any tips would be appreciated,

-Grant 



___
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


glabel nor tunefs save my labels

2010-05-10 Thread Demelier David
Hi,
I was trying to follow this guide to make labels :

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

It does not work here, I boot single user and ran these commands :
glabel label usr /dev/ad0s1f

and it just jump to the next line, I do not have the following as
described in the handbook :
GEOM_LABEL: Label for provider /dev/ad0s1a is label/rootfs

I exit the shell and let FreeBSD boot, and nothing in /dev/label,
/dev/ufs etc..

If I glabel create instead of label there is the label in /dev/label but
not if I do it with glabel label.

I have this in my kernel config :
options GEOM_VOL
options GEOM_GATE
options GEOM_STRIPE
options GEOM_PART_GPT
options GEOM_LABEL
options GEOM_ELI
options GEOM_PART_MBR
options GEOM_PART_EBR_COMPAT
options GEOM_PART_EBR
options GEOM_PART_BSD

Do I am missing something? On my other machine it prints a lot of 
GEOM: ad2s1a: geometry does not match label (255h,63s != 16h,255s).
GEOM: ad2s1c: geometry does not match label (255h,63s != 16h,255s).
GEOM: ad2s1: geometry does not match label (255h,63s != 16h,255s).

That I don't know how to fix it.

If someone could help me, thanks.
Cheers.

-- 
Demelier David
___
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: Very simple file sharing between FreeBSD server and windows client ?

2010-05-10 Thread John Levine
 Is there a simple software to share files between a FreeBSD server and a
 windows client other than Samba which is a bit overkill for my needings,

I concur with the advice to use Samba, but if that's too scary, you
can just use FTP.  Recent versions of Windows let you define a network
location that is an FTP server, and it works well enough to show the
files in a pseudo-folder and drag them back and forth to local
folders.  On Windows, it's a poorly documented option under map
network drive.

Or real men run COMMAND.CMO and run FTP from the command line.

R's,
John
___
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: Small computer to run a GUI?

2010-05-10 Thread Chris Whitehouse

Sean Cavanaugh wrote:
. 


Date: Sun, 9 May 2010 16:07:26 +0100
From: cwhi...@onetel.com
To: millenia2...@hotmail.com
CC: freebsd-questions@freebsd.org
Subject: Re: Small computer to run a GUI?


Nice but doesn't have a VGA port (but does have HDMI)

http://www.fit-pc.com/web/fit-pc2/fit-pc2-specifications/


you mean like the adapter they sell?
http://www.fit-pc.com/web/fit-pc2/accessories/

Ah ha didn't see that, in fact several useful looking items on the same 
page.


Oh, available soon for the vga adapter... :)

Chris



If i read the site correctly, the HDMI port is used as a DVI port. not sure if 
it means they have a DVI adapter too or you need to acquire your own 
HDMI-to-DVI cable.

 

Yes looks like you are right:
DVI Digital output up to 1920 x 1200 through HDMI connector

Check the video fit-PC2 on ComputerTV at 
http://www.fit-pc.com/web/fit-pc2/gallery/


It is a review of it and says it comes with a power supply and a HDMI to 
DVI cable.


Chris



Otherwise these look pretty nice. I would not have known there was a PC smaller 
than an ALIX style.

 


-Sean
  
___
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: glabel nor tunefs save my labels

2010-05-10 Thread Roland Smith
On Mon, May 10, 2010 at 10:26:18PM +0200, Demelier David wrote:
 Hi,
   I was trying to follow this guide to make labels :
   
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/geom-glabel.html
 
   It does not work here, I boot single user and ran these commands :
   glabel label usr /dev/ad0s1f

Do not use this on an already existing filesystem! Use tunefs instead;

tunefs ‐L usr /dev/ad0s1f

If you really want to use glabel, do it on an empty disk or partition. What
you must understand is that 'glabel label' uses the last sector of the
provider to store its metadata. So if you were to do e.g. 

glabel label ‐v usr /dev/da2

A labeled device /dev/label/usr would be created. This is one sector smaller
than /dev/da2! If you were to use newfs on /dev/da2 instead of on
/dev/label/usr, the label would be destroyed once the last sector is 
overwritten!

See the the EXAMPLES section of glabel(8).

   GEOM: ad2s1a: geometry does not match label (255h,63s != 16h,255s).
   GEOM: ad2s1c: geometry does not match label (255h,63s != 16h,255s).
   GEOM: ad2s1: geometry does not match label (255h,63s != 16h,255s).

These are harmless, AFAICT. You can ignore them.

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)


pgpIhUKshEiH7.pgp
Description: PGP signature


Re: glabel nor tunefs save my labels

2010-05-10 Thread Demelier David
On Mon, May 10, 2010 at 11:08:30PM +0200, Roland Smith wrote:
 On Mon, May 10, 2010 at 10:26:18PM +0200, Demelier David wrote:
  Hi,
  I was trying to follow this guide to make labels :
  
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/geom-glabel.html
  
  It does not work here, I boot single user and ran these commands :
  glabel label usr /dev/ad0s1f
 
 Do not use this on an already existing filesystem! Use tunefs instead;
 
 tunefs ‐L usr /dev/ad0s1f
 

I tried this and in single-user mode there were 

root root(a|e|b|d|f) usr tmp var

and I typed exit, it boots, and then no more entries in /dev/ufs ! And now there
is only tmp and var in /dev/vol. I'm so confused now.

 If you really want to use glabel, do it on an empty disk or partition. What
 you must understand is that 'glabel label' uses the last sector of the
 provider to store its metadata. So if you were to do e.g. 
 
 glabel label ‐v usr /dev/da2
 
 A labeled device /dev/label/usr would be created. This is one sector smaller
 than /dev/da2! If you were to use newfs on /dev/da2 instead of on
 /dev/label/usr, the label would be destroyed once the last sector is 
 overwritten!
 

So that was why entries were removed each time I boot.

Thanks for your support.

-- 
Demelier David
___
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


FWIW, a datapoint.

2010-05-10 Thread Gary Kline

Hopefully no one will face this, but the only way around getting
past pcbsd seems to be via an over-the-wire upgrade.  The
8.0-bootonly.iso for the i386 failed to boot.  About two hours
ago tho i was able to csup ports from its 07jan to 10may status. 
Next I will pull over the stable-cvsup stuff and see if I can
fire off a build.   hope this works.  the kybd is hard to use.  
[etc.]

gary


-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.83a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.org  99 44/100% Guaranteed Novel

___
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: glabel nor tunefs save my labels

2010-05-10 Thread Roland Smith
On Mon, May 10, 2010 at 11:36:20PM +0200, Demelier David wrote:
 On Mon, May 10, 2010 at 11:08:30PM +0200, Roland Smith wrote:
  On Mon, May 10, 2010 at 10:26:18PM +0200, Demelier David wrote:
   Hi,
 I was trying to follow this guide to make labels :
 
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/geom-glabel.html
   
 It does not work here, I boot single user and ran these commands :
 glabel label usr /dev/ad0s1f
  
  Do not use this on an already existing filesystem! Use tunefs instead;
  
  tunefs ‐L usr /dev/ad0s1f
  
 
 I tried this and in single-user mode there were 
 
 root root(a|e|b|d|f) usr tmp var
 
 and I typed exit, it boots, and then no more entries in /dev/ufs ! And now 
 there
 is only tmp and var in /dev/vol. I'm so confused now.

I do not really understand what you are trying to say here?

Does 'tunefs ‐p /dev/ad0s1f' show that the label exists?

You should know that a label in /dev/ufs and /dev/ufsid is removed as soon as
the filesystem is mounted!

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)


pgpJk7YxSo96Z.pgp
Description: PGP signature


Re: FWIW, a datapoint.

2010-05-10 Thread Michael Powell
Gary Kline wrote:

 
 Hopefully no one will face this, but the only way around getting
 past pcbsd seems to be via an over-the-wire upgrade.  The
 8.0-bootonly.iso for the i386 failed to boot.  About two hours
 ago tho i was able to csup ports from its 07jan to 10may status.
 Next I will pull over the stable-cvsup stuff and see if I can
 fire off a build.   hope this works.  the kybd is hard to use.
 [etc.]
 

I put a PCBSD install on an unused space on my drive. Back when I did it the 
FreeBSD 8.0 version was still in beta, and that is what I installed. The 
current state of affairs is now release status with FreeBSD 8.0 P2.

I haven't seen it or used it in a while now. When I installed it I did not 
install any of the extra addon software packages, but rather installed the 
ports system and proceeded to csup it to current status. I then used the 
ports system to install any additional stuff I wanted. Generally speaking it 
was a fairly positive experience in that by and large mostly everything 
Just Worked. Seeing the Flash support already installed and functioning in 
Firefox was surprising, to say the least.

Since the install comes with KDE 4.3.5 and I want to upgrade it to 4.4.x I 
will be giving portupgrade another go around. I had used portupgrade to 
successfully update all ports once before and it worked as it normally would 
on a regular (non PCBSD) install of Freebsd. FWIW, by not installing 
anything (except the base install which includes KDE,etc) using the PCBSD 
software installer utilizing the normal methods of installing with the ports 
system and maintenance with portupgrade seems to work just as it would on a 
normal FreeBSD install.

When I get adventurous I'll see how it does with the KDE 4.4.x upgrade one 
of these days. Have been waiting for the dust to settle there. As to why 
your bootonly or LiveCD CD's have problems booting, that is probably a 
separate issue. But I did notice the PCBSD install is using GPT labeling for 
it's partition labels. 

-Mike
 


___
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: glabel nor tunefs save my labels

2010-05-10 Thread Carl Johnson
Demelier David demelier.da...@gmail.com writes:

 On Mon, May 10, 2010 at 11:08:30PM +0200, Roland Smith wrote:
 On Mon, May 10, 2010 at 10:26:18PM +0200, Demelier David wrote:
  Hi,
 I was trying to follow this guide to make labels :
 
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/geom-glabel.html
  
 It does not work here, I boot single user and ran these commands :
 glabel label usr /dev/ad0s1f
 
 Do not use this on an already existing filesystem! Use tunefs instead;
 
 tunefs ‐L usr /dev/ad0s1f

You can check to see if it is actually set with:
  dumpfs /dev/ad0s1f | grep volname

I have a similar problem with an 8.0 system in which all partitions
are labeled (and verified from a live CD), but nothing shows in
/dev/ufs, and glabel status shows no labels.

-- 
Carl Johnsonca...@peak.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: glabel nor tunefs save my labels

2010-05-10 Thread Michael Powell
Demelier David wrote:

 Hi,
 I was trying to follow this guide to make labels :
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/geom-glabel.html
 
 It does not work here, I boot single user and ran these commands :
 glabel label usr /dev/ad0s1f
[snip]

If there was older software on the drive previously you might try blanking 
the MBR. I know I had trouble installing 8.0 on a drive that previously had 
6.2 installed on it. Something about the MBR support in 8.0 was different 
and the labels from 6.2 were invisible to it. So when it came time for 
disklabel to write out the labels during the 8.0 install it would fail. This 
is what I did: Boot from a LiveFS CD and execute:

sysctl kern.geom.debugflags=16

dd if=/dev/zero of=/dev/adx oseek=1 bs=512 count=1

Replace 'x' in adx with your drive number. If your problem is being caused 
by the same situation I experienced this should take care of it. 

 
 Do I am missing something? On my other machine it prints a lot of
 GEOM: ad2s1a: geometry does not match label (255h,63s != 16h,255s).
 GEOM: ad2s1c: geometry does not match label (255h,63s != 16h,255s).
 GEOM: ad2s1: geometry does not match label (255h,63s != 16h,255s).
 
For the most part simply ignore these. Lots of people see them nowadays and 
considered to be cosmetic and harmless. I believe it has something to do the 
drift away from the old MBR DOS compatibility days and the move to newer 
slicing/partitioning schemes. In other words these will eventually 
disappear, but in the meantime are probably a red herring.

-Mike
 


___
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: FWIW, a datapoint.

2010-05-10 Thread Aiza

Gary Kline wrote:

Hopefully no one will face this, but the only way around getting
past pcbsd seems to be via an over-the-wire upgrade.  The
8.0-bootonly.iso for the i386 failed to boot.  About two hours
ago tho i was able to csup ports from its 07jan to 10may status. 
Next I will pull over the stable-cvsup stuff and see if I can
fire off a build.   hope this works.  the kybd is hard to use.  
[etc.]


gary


Last week I downloaded the PCBSD boot only cd and then did an over the 
network install. The first try the PCBSD server timed-out my install. On 
second try the over the network install worked. I had previously 
downloaded the PCBSD DVD .iso, but no matter what I tried I could not 
get it to burn to DVD correctly.

___
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: Very simple file sharing between FreeBSD server and windows client ?

2010-05-10 Thread Tim Judd
On 5/10/10, John Levine jo...@iecc.com wrote:
 Is there a simple software to share files between a FreeBSD server and a
 windows client other than Samba which is a bit overkill for my needings,

 I concur with the advice to use Samba, but if that's too scary, you
 can just use FTP.  Recent versions of Windows let you define a network
 location that is an FTP server, and it works well enough to show the
 files in a pseudo-folder and drag them back and forth to local
 folders.  On Windows, it's a poorly documented option under map
 network drive.

 Or real men run COMMAND.CMO and run FTP from the command line.


Only if you haven't updated in 10+ years and can't type.


WinNT flavors are cmd.exe
And command.cmo won't run.  I keep trying because I want to be a real man... :D
___
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


md5(1) and cal(1)

2010-05-10 Thread David Allen
1.  Why doesn't cal(1) hilight the current day?  Hell, some days I'm
not even sure what day or week it is, so after typing 'cal', I have to
type in 'date', and then sit there for a few seconds to interpret what
I'm looking at.  Of course, that isn't always successful, so I
typically end up reaching for my mouse and hilight the date manually.
But after doing that I'm just as annoyed by not knowing the date as
I'm annoyed by the behavior of the cal utility and the extra work I'm
forced to do.

2.  Why doesn't md5(1) have a check option?  Seems to me requiring a
manual inspection is error-prone at best, and makes scripting unecessarily
complicated.

Thanks.
___
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: Very simple file sharing between FreeBSD server and windows client ?

2010-05-10 Thread Chris Hill

On Mon, 10 May 2010, Chip Camden wrote:

[snip]


Does anyone have a recommendation for NAS that works well for both
FreeBSD and Windows clients?


I built a FreeNAS last year which works like a champ for FreeBSD and 
Windows XP clients. I'm using it for backups: rsync for the FreeBSD 
clients, NASbackup for the Windows ones.


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
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: md5(1) and cal(1)

2010-05-10 Thread Chad Perrin
On Mon, May 10, 2010 at 05:35:45PM -0800, David Allen wrote:
 1.  Why doesn't cal(1) hilight the current day?  Hell, some days I'm
 not even sure what day or week it is, so after typing 'cal', I have to
 type in 'date', and then sit there for a few seconds to interpret what
 I'm looking at.  Of course, that isn't always successful, so I
 typically end up reaching for my mouse and hilight the date manually.
 But after doing that I'm just as annoyed by not knowing the date as
 I'm annoyed by the behavior of the cal utility and the extra work I'm
 forced to do.

If I don't actually know the date, I typically use the date command to
find out.  I use cal to do things like check dates of other days in the
preceding or following weeks.


 
 2.  Why doesn't md5(1) have a check option?  Seems to me requiring a
 manual inspection is error-prone at best, and makes scripting unecessarily
 complicated.

I use diff to check the output of md5 against a known string.  For
instance, if I have a known hash value in a file hash.txt, I might first
get the md5 output into another file called hash2.txt:

md5 -q hash2.txt

. . . then diff the two files:

diff hash.txt hash2.txt

The thing that bothers me about diff is that, even though it's often
described as a string comparison utility, it doesn't actually compare
strings -- it compares files that *contain* strings.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgpWuLPIUH3la.pgp
Description: PGP signature


Re: md5(1) and cal(1)

2010-05-10 Thread andrew clarke
On Mon 2010-05-10 17:35:45 UTC-0800, David Allen 
(the.real.david.al...@gmail.com) wrote:

 1.  Why doesn't cal(1) hilight the current day?  Hell, some days I'm
 not even sure what day or week it is, so after typing 'cal', I have to
 type in 'date', and then sit there for a few seconds to interpret what
 I'm looking at.  Of course, that isn't always successful, so I
 typically end up reaching for my mouse and hilight the date manually.
 But after doing that I'm just as annoyed by not knowing the date as
 I'm annoyed by the behavior of the cal utility and the extra work I'm
 forced to do.

cal(1) is pretty old.  I suspect it was written partly so the output
could be printed out on paper.

/usr/ports/deskutils/cal might be more your taste.

 2.  Why doesn't md5(1) have a check option?  Seems to me requiring a
 manual inspection is error-prone at best, and makes scripting unecessarily
 complicated.

If you're comparing two files, cmp(1) might be more suitable.
___
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: md5(1) and cal(1)

2010-05-10 Thread Warren Block

On Tue, 11 May 2010, andrew clarke wrote:


On Mon 2010-05-10 17:35:45 UTC-0800, David Allen 
(the.real.david.al...@gmail.com) wrote:


1.  Why doesn't cal(1) hilight the current day?  Hell, some days I'm
not even sure what day or week it is, so after typing 'cal', I have to
type in 'date', and then sit there for a few seconds to interpret what
I'm looking at.  Of course, that isn't always successful, so I
typically end up reaching for my mouse and hilight the date manually.
But after doing that I'm just as annoyed by not knowing the date as
I'm annoyed by the behavior of the cal utility and the extra work I'm
forced to do.


cal(1) is pretty old.  I suspect it was written partly so the output
could be printed out on paper.


cal on FreeBSD 8 does highlight the current date.

-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


Mixing different versions of PHP extensions

2010-05-10 Thread Toomas Aas

Hello!

I find that due to recent bumps in jpeg and png library versions I  
need to rebuild the gd extension of PHP 5.2 on a server which  
currently has php5-5.2.9 port and a lot of php5-extension-5.2.9  
extension ports installed. In the past, when I've been in a situation  
like this, I have always rebuilt php itself and all the extensions,  
but frankly, it's quite a lot of work because of all the dependencies  
and so on.


Is it possible to rebuild just the php52-gd extension to a newer  
version of php52-gd-5.2.13 and have it working with existing  
php5-5.2.9 and all the existing extensions, or would it be asking for  
trouble?


--
Toomas Aas
___
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


how to force end-of-line in man page source

2010-05-10 Thread Fbsd1
I don't like the way some lines in the man page have the last word in 
the sentence broken in 2 and hyphenated. Is there some escape code I can 
put at the end of the line in the source code to suppress this?

___
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