exporting http proxy

2009-02-23 Thread GrimJow Espada
how do i export  http proxy using links browser
tried export http_proxy=http://company.proxy it doesnt work ; command not
found
___
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


LDAP pam

2009-02-23 Thread Olivier Nicole
Hi,

I have a LDAP server, a file server running NFS server and a web
server running NFS client.

I want the web server to be able to know the users' account stored on
LDAP, but not provide authentication; so I can have URL's of the form

http://my.web/~john/index.html for the user john, where john's home
directory if NFS mounted from the file server, but I don't want john
to be able to log onto the web server.

Of course certain users will be allowed to log onto the web server.

How can this be done with LDAP and PAM.

TIA,

Olivier
___
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: a strange question about OSs

2009-02-23 Thread Redd Vinylene
On Mon, Feb 23, 2009 at 9:06 AM, Valentin Bud valentin@gmail.comwrote:

 Hello Community,

  The following question may sound very ackward but was OS is suitable from
 the following list
 to replace FBSD:

   - OpenSUSE 10.3
   - Debian 4.0
   - CentOS 5

 The company i work for wants to change the provider because of the
 economical crisis to
 save some money. The actual provider gave us the chance to install our OS
 but the one
 they chose as a replacement doesn't give any other choice besides the above
 mentioned.

 I work for 2 years in IT and FBSD is the only OS i have ever used in
 production. I like it and
 learned it a little bit. It is going to be a steep learning curve with the
 new OS which I'm not afraid
 of but i would like to chose a suitable OS and one that has some
 similarities with FBSD.

 thank you,
 v


I doubt you'll find anything suitable after getting accustomed to FreeBSD.

-- 
http://www.home.no/reddvinylene
___
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


Web or X GUI for pf / isc-dchp3-server

2009-02-23 Thread Jaco le Roux
Hi,

Would anyone know if there is any kind of X-style (or web) GUI for FreeBSD
applications like pf and isc-dhcp3-server ? 



___
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: exporting http proxy

2009-02-23 Thread Wojciech Puchar

in links you have proxy in options.

for other things

export http_proxy=http://proxy;

in sh/bash, in csh

setenv http_proxy http://proxy;

___
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: flashplugin9?

2009-02-23 Thread Marc Fonvieille
On Sun, Feb 22, 2009 at 03:54:03PM -0800, Gary Kline wrote:
 On Mon, Feb 23, 2009 at 12:02:57AM +0200, Manolis Kiagias wrote:
  Gary Kline wrote:
   Guys,
  
   If I stick with FreeBSD as my main desktop, I want firefox and
   flashplugin-9.  So far, no joy.  I have firefox2, and when I try to
   pkg_delete, I find gnome2 is just one of the dependicies.
   linux-flashplugin-9 is installed as well as the pluginwrapper ports, but
   still YouTube won't work.
  
   Is there an all-linix port or set of ports to use?  Or is there another
   way of getting both audio+video?  
  
   gary
 
  
  Don't pkg_delete firefox2, just install www/firefox3 alongside it.
 
   Okay; i wasn't clear on that... .
 
  
  graphics/gnash-devel works mostly ok for youtube.
 
   Maybe I need up portupgrade.  I use mostly konqueror for the web;
   things like youtube used to work, but just sometimes.  Should I
   pkg_delete the flashplugins and the wrappers?
 
  
  Just a quick note, firefox3 uses /usr/local/lib/firefox3/plugins as the
  plugins directory, while firefox2 uses /usr/local/browser_plugins. You
  will probably have to symlink files from this directory to the new one
  for the plugins to work.
 
   Sorry, you lost me.  Which is the ``new one''?  The only mozilla 
   plugins dir in ~kline I find is  ~/.mozilla/plugins/ .  There are
   data files (*.dat) with mozilla and firefox in my home tree.


In fact all that should be automatic even with Firefox3 (at least for
plugins handled by nspluginwrapper).  The best solution is just to rm
the files located in the ~/.mozilla/plugins/ directory then:

% nspluginwrapper -v -a -i

and don't forget to mount /usr/compat/linux/proc (well read
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html
for more details).

Launch Firefox3 and type about:plugins in the URL bar, something like:

Shockwave Flash
File name: /home/kline/.mozilla/plugins/npwrapper.libflashplayer.so
Shockwave Flash 9.0 r152
etc.

should appear.

-- 
Marc
___
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: a strange question about OSs

2009-02-23 Thread Mehul Ved
On Mon, Feb 23, 2009 at 3:25 PM, Redd Vinylene reddvinyl...@gmail.com wrote:
  The following question may sound very ackward but was OS is suitable from
 the following list
 to replace FBSD:

   - OpenSUSE 10.3
   - Debian 4.0
   - CentOS 5
 snip
 I doubt you'll find anything suitable after getting accustomed to FreeBSD.

True. The closest would be debian IMO but still a learning curve will
be there. But, having spent time with FreeBSD, you should find it
easier to learn than coming afresh :)

-- 

Ernest asks Frank how long he has been working for the company. Ever
since they threatened t...
___
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 is my STRFILE?

2009-02-23 Thread Harry Matthiesen Jensen
On Fri, Feb 20, 2009 at 08:03:24PM +0100, herbert langhans wrote:
 If I try installing the fortunes, the port-makefile complains that there is 
 no strfile available.
 
Do you see following files on your system:

/usr/src/games/fortune/strfile
/usr/src/games/fortune/strfile/Makefile
/usr/src/games/fortune/strfile/strfile.8
/usr/src/games/fortune/strfile/strfile.c
/usr/src/games/fortune/strfile/strfile.h

Is your system 7.1-RELEASE ?

I have had same issue with ealier releases, but at that time all the
files in the games section were missing.

If you have the above mentioned files available, a quick fix could be
to:

cd /usr/src/games
make install

If the files mentioned not are available, you need to download the
source, see the Handbook.

.. worked for me, but there might be other problems, maybe some of the
hardcore hackers here can answer ;-)

-- 
Mvh/Brgds Harry
FreeBSD 7.1-STABLE Compiled at Sun Feb  8 09:18:07 CET 2009 
___
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: Problems upgrading SpamAssassin

2009-02-23 Thread Manfred Usselmann
On Mon, 16 Feb 2009 09:58:37 -0800
Tankko tan...@gmail.com wrote:

 I am having problems up grading SpamAssassin.  The get the following
 errors when I do portupgrade.  I hand corrected the first error by
 following the instructions listed below, then this error showed.
 Before I go though and hand correct these one by one, I thought I'd
 ask if I was doing something wrong.
 
 P.S. I ran perl-after-upgrade after upgrading perl.


Did you run 

  perl-after-upgrade -f

?

Without '-f' it just tells you what it would do...

Manfred

-- 
Manfred Usselmann usselman...@icg-online.de

___
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: make config options find / used same as binary package

2009-02-23 Thread Daniel Bye
On Mon, Feb 23, 2009 at 09:20:54AM +0200, Brent Clark wrote:
 Hiya
 
 Recently someone asked about the showing of the config options from the 
 ports.
 
 My questions is, how do we see or find what were the options used when 
 installed from binary (pkg_add -r binaryPackage).

If you install packages from the FreeBSD package servers, they will
have been built with the default set of options. In each case, you
can check the Makefile and/or config dialog in the package's port to
discover exactly what that means for any given package.

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpgKng96abUt.pgp
Description: PGP signature


FreeBSD 7 server in hang with nagios

2009-02-23 Thread Gian Paolo Buono
Hi, I have on my server ibm 3650 FreeBSD 7.1-RELEASE-p2 and the proccess
that running are nagios-3.0.3, apache-2.2.8 and heartbeat-1.2.5_3;
random after some day machine becomes semi-dead, the ping respond but
any stack (ssh,http) don't work and heartbeat don't switch the
resources I can't loggon and I must reboot. In the syslog there
isn't any message for trobleshotting the problem. Any idea ? Sorry
for my english
Best Regards
___
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: FreeBSD 7 server in hang with nagios

2009-02-23 Thread Wojciech Puchar

did you lowered
kern.maxbcache

if not - probably your disk subsystem locked.

can you be there near local console?

On Mon, 23 Feb 2009, Gian Paolo Buono wrote:


Hi, I have on my server ibm 3650 FreeBSD 7.1-RELEASE-p2 and the proccess
that running are nagios-3.0.3, apache-2.2.8 and heartbeat-1.2.5_3;
random after some day machine becomes semi-dead, the ping respond but
any stack (ssh,http) don't work and heartbeat don't switch the
resources I can't loggon and I must reboot. In the syslog there
isn't any message for trobleshotting the problem. Any idea ? Sorry
for my english
Best Regards
___
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: flashplugin9?

2009-02-23 Thread eculp

Quoting Gary Kline kl...@thought.org:


On Sun, Feb 22, 2009 at 11:22:50PM +0100, herbert langhans wrote:

Hi Gary,
ff3 should work as well as ff2. May depend on the version of the  
pluginwrapper and the flash version.
I have made up some howto, maybe you want to check your  
installation step by step:

http://freebsd.langhans.com.pl

Cheers
herbs


thanks for your fbsd how-to!  looks great, and i will try it if
nothing else works.  i have ff3  (i think that is a
Linux-firefox3 port [??] and the freebsd2, and am now
downloading the firefox-devel port.  in my opinion, too many way
to go and too little data on how to get everything working.

gary


Gary, I would recommend www/firefox3 rather than www/firefox-devel  
that IIRC is older not being updated.  I remember that someone had  
problems with that previously.


ed







On Sun, 22 Feb 2009 13:47:23 -0800
Gary Kline kl...@thought.org wrote:


 Guys,

 If I stick with FreeBSD as my main desktop, I want firefox and
 flashplugin-9.  So far, no joy.  I have firefox2, and when I try to
 pkg_delete, I find gnome2 is just one of the dependicies.
 linux-flashplugin-9 is installed as well as the pluginwrapper ports, but
 still YouTube won't work.

 Is there an all-linix port or set of ports to use?  Or is there another
 way of getting both audio+video?

 gary



 --
  Gary Kline  kl...@thought.org  http://www.thought.org  Public  
Service Unix

 http://jottings.thought.org   http://transfinite.thought.org
 The 2.23a release of Jottings: http://jottings.thought.org/index.php

 ___
 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




--
*** Herbert Langhans, Warschau
*** Sprachtraining Langhans
*** http://www.langhans.com.pl
*** herbert.raim...@gmx.net
*** NIP 526-229-61-51
*** Regon  014911759
*** Tel. 603 341 441
___
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
http://jottings.thought.org   http://transfinite.thought.org
The 2.23a release of Jottings: http://jottings.thought.org/index.php

___
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





Failure is the opportunity to begin again more intelligently.
Fracaso es la oportunidad de reiniciar con mas inteligencia  Henry Ford
___
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: FreeBSD 7.1 on Intel server board S3200SHV

2009-02-23 Thread Martin Schweizer
Hello Abdullah

One more question: Does the internal graphic card (ATI...) works under X 
without any 
problems?

Regards,


Am Sat, Feb 21, 2009 at 09:57:35AM -0800 Abdullah Ibn Hamad Al-Marri schrieb:
 
 - Original Message 
 
  From: Martin Schweizer lists_free...@bluewin.ch
  To: freebsd-questions@freebsd.org
  Sent: Saturday, February 21, 2009 8:37:42 PM
  Subject: FreeBSD 7.1 on Intel server board S3200SHV
  
  Hello
  
  Does FreeBSD 7.1 run on Intel S3200SHV mainboards with S3200 chipset? I did 
  not find any hints in HARDWARE.TXT (also not on support.intel.com and not 
  in 
  Google).
  
  Regards,
  -- 
  
  Martin Schweizer
 
 CPU: Intel ® Core ??? 2 CPU e8...@3.16ghz (3165.08-MHz 686-class CPU) 
 Origin = GenuineIntel  Id = 0x1067a  Stepping = 10 Origin = GenuineIntel 
 Id = 0x1067a Stepping = 10 
 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLU
  Features = 0xbfebfbff FPU, VME, DE, PSE, TSC, MSR, PAE, MCE, CX8, APIC, 
 SEP, MTRR, PGE, MCA, CMOV, PAT, PSE36, CLFLU 
 SH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE SH, DTS, ACPI, MMX, FXSR, SSE, 
 SSE2, SS, HTT, TM, PBE 
 Features2=0x309SSE3,MON,TM2,SSSE3 Features2 = 0x309 SSE3,MON,TM2,SSSE3 
 AMD Features=0x2010NX,LM AMD Features = 0x2010 NX,LM 
 AMD Features2=0x1LAHF AMD Features2 = 0x1 LAHF 
 Cores per package: 2 Cores per package: 2 
 real memory  = 1071620096 (1021 MB) real memory = 1071620096 (1021 MB) 
 avail memory = 1038602240 (990 MB) avail memory = 1038602240 (990 MB) 
 ACPI APIC Table: INTEL  S3200SHV ACPI APIC Table: INTEL S3200SHV 
  
 
 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD / SMP: 
 Multiprocessor System Detected: 2 CPUs 
 cpu0 (BSP): APIC ID:  0 cpu0 (BSP): APIC ID: 0 
 cpu1 (AP): APIC ID:  1 cpu1 (AP): APIC ID: 1 
 
 This is with FreeBSD 7.0
 
  Regards,
 
 -Abdullah Ibn Hamad Al-Marri
 Arab Portal
 http://www.WeArab.Net/
 
 
 
 
 ___
 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

-- 

Martin Schweizer
off...@pc-service.ch

PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon
Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch;
public key : http://www.pc-service.ch/pgp/public_key.asc; 
fingerprint: EC21 CA4D 5C78 BC2D 73B7  10F9 C1AE 1691 D30F D239;

___
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: FreeBSD 7 server in hang with nagios

2009-02-23 Thread Gian Paolo Buono
When I try to log in console after insert username: root the server stay
in hang and i can't insert  password...

How do I know if disk subsystem is locked ?


which value and where can i set kern.maxbcache ? or do You suggest
anythingelse ?

thanks ...


On Mon, Feb 23, 2009 at 1:01 PM, Wojciech Puchar 
woj...@wojtek.tensor.gdynia.pl wrote:

 did you lowered
 kern.maxbcache

 if not - probably your disk subsystem locked.

 can you be there near local console?


 On Mon, 23 Feb 2009, Gian Paolo Buono wrote:

  Hi, I have on my server ibm 3650 FreeBSD 7.1-RELEASE-p2 and the proccess
 that running are nagios-3.0.3, apache-2.2.8 and heartbeat-1.2.5_3;
 random after some day machine becomes semi-dead, the ping respond but
 any stack (ssh,http) don't work and heartbeat don't switch the
 resources I can't loggon and I must reboot. In the syslog there
 isn't any message for trobleshotting the problem. Any idea ? Sorry
 for my english
 Best Regards
 ___
 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


Passing ppp/vpn with ip-filter

2009-02-23 Thread Erik Norgaard

Hi:

I have the following setup:

  XP -- FBSD -- Ineternet --- Work

I need to setup a VPN connection from my work station to work but the 
connection failes, presumably blocked by my firewall. The FBSD gateway 
use ip filter to filter traffic with a default block. Listening on the 
pflog inteface I got this:


1. 051533 rule 97/0(match): block in on vr1: 172.16.0.127  217.126.X.X: 
GREv1, call 62316, seq 9, proto PPP (0x880b), length 37: [|ppp]


How do I create a rule to pass this connection?

Thanks, Erik
--
Erik Nørgaard
Ph: +34.666334818/+34.915211157  http://www.locolomo.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: a strange question about OSs

2009-02-23 Thread Saifi Khan
On Mon, Feb 23, 2009 at 8:06 AM, Valentin Bud valentin@gmail.com wrote:
 Hello Community,

  The following question may sound very ackward but was OS is suitable from
 the following list
 to replace FBSD:

   - OpenSUSE 10.3
   - Debian 4.0
   - CentOS 5

 The company i work for wants to change the provider because of the
 economical crisis to
 save some money. The actual provider gave us the chance to install our OS
 but the one
 they chose as a replacement doesn't give any other choice besides the above
 mentioned.

 I work for 2 years in IT and FBSD is the only OS i have ever used in
 production. I like it and
 learned it a little bit. It is going to be a steep learning curve with the
 new OS which I'm not afraid
 of but i would like to chose a suitable OS and one that has some
 similarities with FBSD.

 thank you,
 v

What are the services you are currently using on FreeBSD ?


-- 
thanks
Saifi.
___
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: LDAP pam

2009-02-23 Thread Maciej Milewski
Monday 23 February 2009 10:37:19 Olivier Nicole napisał(a):
 I want the web server to be able to know the users' account stored on
 LDAP, but not provide authentication; so I can have URL's of the form
 http://my.web/~john/index.html for the user john, where john's home
 directory if NFS mounted from the file server, but I don't want john
 to be able to log onto the web server.
 Of course certain users will be allowed to log onto the web server.
 How can this be done with LDAP and PAM.
 TIA,
 Olivier
If you don't want to let users logon to server through SSH you can use 
DenyUsers/AllowUsers directive in sshd_config
As for LDAP and PAM/system there should be some howtos on the net. Shortly: 
you will need to install nss_ldap and pam_ldap and setup it correctly to get 
users from ldap showing in your system.

Maciek
___
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: a strange question about OSs

2009-02-23 Thread Reko Turja
On Mon, Feb 23, 2009 at 9:06 AM, Valentin Bud 
valentin@gmail.comwrote:



Hello Community,

 The following question may sound very ackward but was OS is 
suitable from

the following list
to replace FBSD:


Depenguinate the host? 
http://www.daemonology.net/blog/2008-01-29-depenguinator-2.0.html


-Reko 


___
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: a strange question about OSs

2009-02-23 Thread Reko Turja


--
From: Redd Vinylene reddvinyl...@gmail.com
Sent: Monday, February 23, 2009 11:55 AM
To: questions questi...@freebsd.org
Subject: Re: a strange question about OSs

On Mon, Feb 23, 2009 at 9:06 AM, Valentin Bud 
valentin@gmail.comwrote:



Hello Community,

 The following question may sound very ackward but was OS is 
suitable from

the following list
to replace FBSD:

  - OpenSUSE 10.3
  - Debian 4.0
  - CentOS 5

The company i work for wants to change the provider because of the
economical crisis to
save some money. The actual provider gave us the chance to install 
our OS

but the one
they chose as a replacement doesn't give any other choice besides 
the above

mentioned.

I work for 2 years in IT and FBSD is the only OS i have ever used 
in

production. I like it and
learned it a little bit. It is going to be a steep learning curve 
with the

new OS which I'm not afraid
of but i would like to chose a suitable OS and one that has some
similarities with FBSD.

thank you,
v


I doubt you'll find anything suitable after getting accustomed to 
FreeBSD.


--
http://www.home.no/reddvinylene
___
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: FreeBSD 7 server in hang with nagios

2009-02-23 Thread Wojciech Puchar

When I try to log in console after insert username: root the server stay
in hang and i can't insert  password...


it is locked. on first console you should see kernel messages



How do I know if disk subsystem is locked ?


which value and where can i set kern.maxbcache ? or do You suggest

if you didn't change it - it's fine
___
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: FreeBSD 7 server in hang with nagios

2009-02-23 Thread Gian Paolo Buono
Hi,

I  have no message on first console :( ..I have no messages in any log ...:(
...

I do not know what to do...


On Mon, Feb 23, 2009 at 2:40 PM, Wojciech Puchar 
woj...@wojtek.tensor.gdynia.pl wrote:

 When I try to log in console after insert username: root the server stay
 in hang and i can't insert  password...

  it is locked. on first console you should see kernel messages


  How do I know if disk subsystem is locked ?


 which value and where can i set kern.maxbcache ? or do You suggest

 if you didn't change it - it's fine

___
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: OT: The official stool for FreeBSD users?

2009-02-23 Thread Frank Shute
On Sun, Feb 22, 2009 at 08:18:16PM -0800, Charles Oppermann wrote:

 http://www.yankodesign.com/2008/11/07/i-dont-wanna-grow-up-im-a-big-kid-now/
 
 I'd describe it, but I don't want to spoil the surprise.  Enjoy.
 

I was thinking of stool in the medical sense shudder

I wondered for a minute whether the link was work-safe ;)


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: a strange question about OSs

2009-02-23 Thread Saifi Khan
On Mon, Feb 23, 2009 at 2:30 PM, Valentin Bud valentin@gmail.com wrote:


 On Mon, Feb 23, 2009 at 3:12 PM, Saifi Khan saifik...@gmail.com wrote:

 On Mon, Feb 23, 2009 at 8:06 AM, Valentin Bud valentin@gmail.com
 wrote:
  Hello Community,
 
   The following question may sound very ackward but was OS is suitable
  from
  the following list
  to replace FBSD:
 
- OpenSUSE 10.3
- Debian 4.0
- CentOS 5
 
  The company i work for wants to change the provider because of the
  economical crisis to
  save some money. The actual provider gave us the chance to install our
  OS
  but the one
  they chose as a replacement doesn't give any other choice besides the
  above
  mentioned.
 
  I work for 2 years in IT and FBSD is the only OS i have ever used in
  production. I like it and
  learned it a little bit. It is going to be a steep learning curve with
  the
  new OS which I'm not afraid
  of but i would like to chose a suitable OS and one that has some
  similarities with FBSD.
 
  thank you,
  v

 What are the services you are currently using on FreeBSD ?


 --
 thanks
 Saifi.

 A web server basically: MySQL, Apache, php plus some pdf manipulation with
 ghostscript and imagemagick. The new server will be on 64 bits if this is a
 concern regarding the OSs i have to choose from.

 thanks,
 v


if you have to use Linux,  i'd suggest you look at Gentoo Linux 2008.0r2 .
It's a very configurable and fast distribution and works very well on AMD64X2.

The emerge/portage system is akin to ports/makefile combo in FreeBSD.
The fact that i've to deal with Python for most of the emerge tools is
an annoyance.
Almost all the packages are installed from the source code.

I've myself been a FreeBSD user for quite sometime and Gentoo Linux is
what i've found
quite impressive among the Linux distributions.

It may come as a surprise, but i've found the PHP runtime to start
faster on Gentoo Linux
than on FreeBSD on the same hardware. I also had to do a bit of
reordering of the extensions
to avoid crashes. I still donot know why that problem does not occur
on my Gentoo Linux installation.

If you have to go to Linux and choose to use Gentoo Linux, i'll be
happy to offer assistance as a friend
with setup and troubleshooting. You are also welcome to look up the
settings for Gentoo Linux at
http://www.twincling.org/node/237


-- 
thanks
Saifi.
___
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: a strange question about OSs

2009-02-23 Thread Jerry McAllister
On Mon, Feb 23, 2009 at 03:17:44PM +0200, Reko Turja wrote:

 
 --
 From: Redd Vinylene reddvinyl...@gmail.com
 Sent: Monday, February 23, 2009 11:55 AM
 To: questions questi...@freebsd.org
 Subject: Re: a strange question about OSs
 
 On Mon, Feb 23, 2009 at 9:06 AM, Valentin Bud 
 valentin@gmail.comwrote:
 
 Hello Community,
 
  The following question may sound very ackward but was OS is 
 suitable from
 the following list
 to replace FBSD:
 
   - OpenSUSE 10.3
   - Debian 4.0
   - CentOS 5
 
 The company i work for wants to change the provider because of the
 economical crisis to
 save some money. The actual provider gave us the chance to install 
 our OS
 but the one
 they chose as a replacement doesn't give any other choice besides 
 the above
 mentioned.
 
 I work for 2 years in IT and FBSD is the only OS i have ever used 
 in
 production. I like it and
 learned it a little bit. It is going to be a steep learning curve 
 with the
 new OS which I'm not afraid
 of but i would like to chose a suitable OS and one that has some
 similarities with FBSD.
 
 thank you,
 v

This confuses me a little.
Wouldn't FreeBSD be the more economical route?

I can't imagine saving money moving from FreeBSD to
one of those listed.  FreeBSD is free and seems to 
take less administration hours than those others.
Certainly you do not gain anything in quality or 
reliability.

Oh, I see in re-reading that it is not your company, but
your potential new service provider that wants to force 
you to switch OS.   Well, there is more than one way to
gain economy.   Switching to something inferior - of poorer
service level is not a gain in economy.

So, maybe you should try suggesting FreeBSD to that provider.
All they need to do is insert the install CD in to the machine
anyway.You can do the rest.

jerry


 
 
 I doubt you'll find anything suitable after getting accustomed to 
 FreeBSD.
 
 -- 
 http://www.home.no/reddvinylene
 ___
 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
 
___
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: FreeBSD 7 server in hang with nagios

2009-02-23 Thread Gian Paolo Buono
Hi,
the memory is ok, i have justr run a memtest ...the problem there'is when
start nagios ...in fact on the same node when nagios is down no hang ...
bye...


On Mon, Feb 23, 2009 at 3:12 PM, Christopher J. Umina ch...@easymac.orgwrote:

 Gian Paolo Buono wrote:

 Hi,

 I  have no message on first console :( ..I have no messages in any log
 ...:(
 ...

 I do not know what to do...


 On Mon, Feb 23, 2009 at 2:40 PM, Wojciech Puchar 
 woj...@wojtek.tensor.gdynia.pl wrote:



 When I try to log in console after insert username: root the server
 stay


 in hang and i can't insert  password...

  it is locked. on first console you should see kernel messages


  How do I know if disk subsystem is locked ?


 which value and where can i set kern.maxbcache ? or do You suggest



 if you didn't change it - it's fine



 ___
 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


 run a memtest.

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

2009-02-23 Thread Reko Turja

--
From: Kevin Kinsey k...@daleco.biz
Sent: Sunday, February 22, 2009 9:24 PM


I think that one of FBSD's guiding principles is *correctness*
... or, at least, that's one of the higher values of the
community.  By way of evidence, I present the following
terms, used frequently in correspondence on these lists:


What I find ironic, is that the talent drifts either to fully 
commercial projects, or those which are licensed under BSD - and in 
many cases even both. If I want an unixlike OS that does what I need 
with minimal fuss and where things are added due their merit in 
improving usability/speed/stability rather results in artificial tests 
the OS will be one of the BSD's. The quality of the BSD licensed 
software added with the quality of documentation (Cyrus might be the 
exception as the documentation goes...) just far exceeds anything else 
available for free or free.


FreeBSD might not support every gadget out there, but for the most 
part, the supported selection has always been good enough for the use 
I have. For that thanks go to the core team and other coders and 
documentation writers as well as people testing releases and betas 
without just shutting up when they hit trouble, but reporting the said 
problems so they will hopefully get fixed for every user.


-Reko 


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

2009-02-23 Thread Giorgos Keramidas
On Mon, 23 Feb 2009 08:19:30 +0100 (CET), Wojciech Puchar 
woj...@wojtek.tensor.gdynia.pl wrote:
 mini-guide for checking out the ports before their removal and building
 them as local ports.

 The source for these ports is no longer maintained, and they may pose a
 security risk if you use them on multi-user machines --- especially if
 untrusted users have local shell access --- but if you want to shoot
 your foot, the Ports tree already provides gun  ammo to do that :-)

 alpine works fine

I know.  That's why I am not in favor of maintaining pine4 *in* the
Ports tree.  If someone wants to blow their foot off, however, then it's
fine with me, as long as they know what they are doing when they point
the cvs update gun backwards in time :)

___
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


broadcom wireless card BCM94311MCG on FreeBSD 7.1

2009-02-23 Thread Saifi Khan
Hi all:

Compaq C301TU laptop has a Broadcom chipset based wireless card and
i'm unable to make it work on FreeBSD 7.1

Using the ndisgen approach with bcm5wls.sys and bcm5wls.inf files
creates a driver file which on kldload causes a kernel panic.

Interestingly on the same laptop, there is a ethernet card of RTL
8139, which is also not detected by FreeBSD 7.1 . However, lets not
worry about that for the time being.

With Gentoo Linux, i've configured the Linux kernel to use the native
bcm43xx driver and using the bcm43xx-fwcutter, i've been able to
install the firmware and get the wireless card to work.

Here is the lspci -v -nn details as collected from the Linux side.

06:00.0 Network controller: Broadcom Corporation BCM94311MCG wlan
mini-PCI (rev 01)
Subsystem: Hewlett-Packard Company Unknown device 1364
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast TAbort-
TAbort- MAbort- SERR- PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 17
Region 0: Memory at 8800 (32-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=2 PME-
Capabilities: [58] Message Signalled Interrupts: Mask- 64bit-
Queue=0/0 Enable-
Address:   Data: 
Capabilities: [d0] Express (v1) Legacy Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s
4us, L1 unlimited
ExtTag+ AttnBtn- AttnInd- PwrInd- RBE- FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal-
Unsupported-
RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
MaxPayload 128 bytes, MaxReadReq 128 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq-
AuxPwr- TransPend-
LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s,
Latency L0 4us, L1 64us
ClockPM- Suprise- LLActRep- BwNot-
LnkCtl: ASPM L0s Enabled; RCB 64 bytes Disabled-
Retrain- CommClk+
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train-
SlotClk+ DLActive- BWMgmt- ABWMgmt-
Capabilities: [100] Advanced Error Reporting ?
Capabilities: [13c] Virtual Channel ?
Kernel driver in use: bcm43xx
Kernel modules: bcm43xx

i don't intend to buy another wireless add-on card or another old laptop.

Would be thankful, if anybody can suggest how i can get the Wireless
card work to with FreeBSD 7.1 or FreeBSD 8.0 snapshot.
Additional tips for getting the ethernet card to work will also be appreciated.

-- 
thanks
Saifi.
___
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: broadcom wireless card BCM94311MCG on FreeBSD 7.1

2009-02-23 Thread Wojciech Puchar

Interestingly on the same laptop, there is a ethernet card of RTL
8139, which is also not detected by FreeBSD 7.1 . However, lets not


something is wrong. for sure RTL 8139 is perfectly supported.

___
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: FreeBSD 7 server in hang with nagios

2009-02-23 Thread Wojciech Puchar

I  have no message on first console :( ..I have no messages in any log ...:(
...

I do not know what to do...


completely no idea - in case of disk problems there are lots of kernel 
message on first console.





On Mon, Feb 23, 2009 at 2:40 PM, Wojciech Puchar 
woj...@wojtek.tensor.gdynia.pl wrote:


When I try to log in console after insert username: root the server stay

in hang and i can't insert  password...

 it is locked. on first console you should see kernel messages



 How do I know if disk subsystem is locked ?



which value and where can i set kern.maxbcache ? or do You suggest


if you didn't change it - it's fine




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

2009-02-23 Thread Giorgos Keramidas
On Sun, 22 Feb 2009 18:04:48 -0800, per...@pluto.rain.com wrote:
Giorgos Keramidas wrote:
 You can always check out ... from a date before its removal from
 the ports/ tree ...  If you need help with maintaining a local
 copy of the relevant ports ...  let me know and I'll write a short
 mini-guide for checking out the ports before their removal and
 building them as local ports.

 This sounds as if it would make a good Handbook section.

Documenting such local 'hacks' in the Handbook is a bit like rubber
stamping them with the official 'recommended by FreeBSD' seal of
approval.  I am not sure I would like that a lot.  Serious security
problems may exist in stale, unmaintained ports.  It would be a bit
bad to make it sound like the entire FreeBSD project approves and even
recommends this sort of thing.

___
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: wrong time stamp 1 JAN 1970 on /var/tmp/orbit-user

2009-02-23 Thread Joe Marcus Clarke
On Wed, 2009-02-18 at 15:52 +, Anton Shterenlikht wrote:
 I use FBSD 6.4-stable alpha. When starting a browser (firefox2 or kazehakase) 
 no window
 is open, instead:
 
 GConf Error: Failed to contact configuration server; some possible causes are 
 that you need to enable TCP/IP networking for ORBit, or you have stale NFS 
 locks due to a system crash. See http://www.gnome.org/projects/gconf/ for 
 information. (Details -  1: Failed to get connection to session: Failed to 
 execute dbus-launch to autolaunch D-Bus session)
 
 and wrong date on /var/tmp/orbit-mexas (my username)
 
 % ls -al /var/tmp/
 total 28
 drwxrwxrwt   7 root   wheel  512 18 Feb 15:48 .
 drwxr-xr-x  25 root   wheel  512 18 Feb 14:43 ..
 srwxrwxrwx   1 mexas  wheel0 18 Feb 15:47 dbus-KXVAJaE3A4
 srwxrwxrwx   1 mexas  wheel0 18 Feb 15:47 dbus-l8TP5ypEB0
 srwxrwxrwx   1 mexas  wheel0 18 Feb 15:47 dbus-nUZBGPeroY
 drwx--   2 root   wheel  512 18 Sep 12:50 gconfd-root
 drwx--   2 mexas  wheel  512  1 Jan  1970 orbit-mexas
   ^^^
 
 drwx--   2 root   wheel  512 18 Sep 12:50 orbit-root
 drwxrwxrwt   5 mexas  wheel  512  5 Feb 21:23 texfonts
 drwxrwxrwt   2 root   wheel  512 18 Feb 15:48 vi.recover
 % 
 
 I've in /etc/rc.conf
 
 dbus_enable=YES
 hald_enable=YES
 
 and I've many dbus-launch and dbus-daemon processes:
 
 # ps ax|grep dbus
   594  ??  Is 0:00.05 /usr/local/bin/dbus-daemon --system
 50289  ??  Is 0:00.00 /usr/local/bin/dbus-daemon --fork --print-pid 7 
 --print-address 9 --sessi
 52477  ??  Is 0:00.00 /usr/local/bin/dbus-daemon --fork --print-pid 7 
 --print-address 9 --sessi
 52947  ??  Is 0:00.00 /usr/local/bin/dbus-daemon --fork --print-pid 7 
 --print-address 9 --sessi
 50273  p1  I  0:00.05 dbus-launch --autolaunch 
 c147699dcd782c00b8cb56ec49707d8a --binary-syntax
 50285  p1  I  0:00.00 dbus-launch --autolaunch 
 c147699dcd782c00b8cb56ec49707d8a --binary-syntax
 52943  p1  I  0:00.06 dbus-launch --autolaunch 
 c147699dcd782c00b8cb56ec49707d8a --binary-syntax
 52946  p1  I  0:00.00 dbus-launch --autolaunch 
 c147699dcd782c00b8cb56ec49707d8a --binary-syntax
 53487  p2  R+ 0:00.00 grep dbus
 # 
 
 each time I try to launch a browser another couple of dbus processes
 are started, but never exit.

Make sure you're starting your X session with dbus-launch.  For example:

dbus-launch --exit-with-session fvwm

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc


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


Re: hp TC4200 tablet

2009-02-23 Thread Roland Smith
On Sun, Feb 22, 2009 at 04:49:34PM -0800, prad wrote:
 my son has a hp TC4200 tablet which worked very well with ubuntu.
 
 he has switched to fbsd7.1 and installed
 /usr/ports/x11-drivers/input-wacom
 it was compiled without usb support since the tablet uses a serial
 connection.

Are you sure this has a Wacom compatible tablet?

 which is supposed to work, but it hangs the entire system and nothing is
 being written about it in 
 /var/log/Xorg.0.log
 
 the /usr/local/etc/rc.d/wacom script writes the device
 into /etc/X11/xorg.conf as /dev/ttyd0, but we don't know if this means
 that the os picks up the tablet or not.
 
 is there anyway to find out if the tablet is actually being recognized?

Check if /dev/ttyd0 really exists. Also check dmesg output to see if the
device is recognized.

The input-wacom driver comes with a couple of programs (see
/usr/ports/x11-drivers/input-wacom/pkg-plist) that might be helpfull as
well, e.g. xsetwacom.

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)


pgpyHv0fuGEJt.pgp
Description: PGP signature


Re: What's the simplest way to get a fresh copy of the source code for the system

2009-02-23 Thread Roland Smith
On Mon, Feb 23, 2009 at 01:15:16AM +, af300...@gmail.com wrote:
 Hi,
 
 My churches web server is having problems compiling world for FreeBSD  
 7.0-p10 (I believe I just did the csup last night). It gets to this point  
 and then stops with this error:
 
 touch gtype-desc.h
 touch: No such file or directory

The file gtype-desc.h doesn't exist on my 7.1 system.
I think that this means that the 'touch' binary is missing. See below.

 A little history for what's going on; the server was not responding at all  
 so I took it home to diagnose (it was at a friends house, where it's  
 hosted). I turned it on and it booted up ok for me, which was a little odd  
 because he told me that it wasn't doing anything. So, I began looking the  
 system over. Within 10 minutes the system became slow and was rather  
 unresponsive to things. For example, saves while running vim took 20  
 seconds or so. Within a few minutes the kernel panicked and I had to reboot.
 
 Before the panic I noticed that there were some background file system  
 checks going. So, since it was rebooting anyway I went into single user  
 mode and performed fsck on all of the partitions (except the root, that was  
 marked as clean). There were many problems fixed especially on the /usr  
 partition. I'm betting that this missing file, gtype-desc.h, happens to  
 have been one of the many problems fixed.

Touch should never complain about missing files, because one of its
purposes is to create files that don't exist. So it is probably the
'touch' binary itself is missing. Try 'which touch'. It should report
'/usr/bin/touch'. If it doesn't, touch is MIA.

It might be saved in the lost+found directory of the partition that
holds /usr/bin.
 
The easiest way to get it back is to just build touch. Or copy it from
the install/live-cd.

If your source tree really is corrupt, use csup(1) to update it.

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)


pgpjdds54zYI9.pgp
Description: PGP signature


Re: Web or X GUI for pf / isc-dchp3-server

2009-02-23 Thread Roland Smith
On Mon, Feb 23, 2009 at 11:26:04AM +0200, Jaco le Roux wrote:
 Hi,
 
 Would anyone know if there is any kind of X-style (or web) GUI for FreeBSD
 applications like pf and isc-dhcp3-server ? 

The sysutils/webmin port would enable you to configure DHCP and a lot of
other things from a browser.

There is also a module available for running pfctl: http://www.askey.org/pfctl/

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)


pgppl9i3OHJ3E.pgp
Description: PGP signature


root's crontab and mysqldump

2009-02-23 Thread Joseph Simmons
I'm running  a FreeBSD 7.0-RELEASE system and am trying to run a mysqldump
as root. I've written a very simple script that does the dump, it works fine
when I run it manually, but when I include it in the root's crontab (crontab
-e) or in the system's crontab (/etc/crontab), I see that the script is ran
in the log but it doesn't do anything. I'm able to run other cron jobs as
root without any problem. This script is only suppose to create a file
containing the dumped database.
___
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: broadcom wireless card BCM94311MCG on FreeBSD 7.1

2009-02-23 Thread Roland Smith
On Mon, Feb 23, 2009 at 04:51:05PM +, Saifi Khan wrote:
 Hi all:
 
 Compaq C301TU laptop has a Broadcom chipset based wireless card and
 i'm unable to make it work on FreeBSD 7.1

There are no Broadcom wireless drivers in 7.1. The command 'apropos
broadcom' only returns a couple of wired ethernet drivers, a crypto
accellerator and a bleutooth device.

DragonFly BSD has a bwi(4) driver that supports the BCM430x/4318, but no
mention of the 4311.

snip
 Interestingly on the same laptop, there is a ethernet card of RTL
 8139, which is also not detected by FreeBSD 7.1 . However, lets not
 worry about that for the time being.

Both the RealTek 8139 and the RealTek 8139C+ should work, but they use
different drivers. See re(4) and rl(4).

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)


pgp0vAnnfy4lW.pgp
Description: PGP signature


Re: root's crontab and mysqldump

2009-02-23 Thread Peter Boosten

Joseph Simmons wrote:

I'm running  a FreeBSD 7.0-RELEASE system and am trying to run a mysqldump
as root. I've written a very simple script that does the dump, it works fine
when I run it manually, but when I include it in the root's crontab (crontab
-e) or in the system's crontab (/etc/crontab), I see that the script is ran
in the log but it doesn't do anything. I'm able to run other cron jobs as
root without any problem. This script is only suppose to create a file
containing the dumped database.
  

Include the full path of mysqldump in your crontab (either entry or script).

Peter
--
http://www.boosten.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: root's crontab and mysqldump

2009-02-23 Thread Joseph Simmons
I added the full path and the result didn't change. I can still see it
running in the log but the script doesn't appear to be doing anything.

I have the following variables set in the root's crontab

SHELL=/usr/local/bin/bash
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
HOME=/root

The file I'd like to execuate has the following permissions

rwxr-x---

it's own by root, the contents of the file are below

#!/usr/local/bin/bash
date_time=$(/bin/date +%Y-%m-%d-%H-%M-%S)

/usr/local/bin/mysqldump -u backup_user -pPassWord DataBase
/backup/db/DataBase-$date_time



On Mon, Feb 23, 2009 at 12:06 PM, Christopher Umina ch...@easymac.orgwrote:

 be sure to use the absolute path to the command you're using.

 (/usr/local/bin/mysqldump if i remember correctly)

 crontab runs with a lesser path than your shell


 On Feb 23, 2009, at 12:37 PM, Joseph Simmons wrote:

  I'm running  a FreeBSD 7.0-RELEASE system and am trying to run a mysqldump
 as root. I've written a very simple script that does the dump, it works
 fine
 when I run it manually, but when I include it in the root's crontab
 (crontab
 -e) or in the system's crontab (/etc/crontab), I see that the script is
 ran
 in the log but it doesn't do anything. I'm able to run other cron jobs as
 root without any problem. This script is only suppose to create a file
 containing the dumped database.
 ___
 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: Re: What's the simplest way to get a fresh copy of the source code for the system

2009-02-23 Thread af300wsm

On Feb 23, 2009 10:43am, Roland Smith rsm...@xs4all.nl wrote:

On Mon, Feb 23, 2009 at 01:15:16AM +, af300...@gmail.com wrote:



 Hi,







 My churches web server is having problems compiling world for FreeBSD


 7.0-p10 (I believe I just did the csup last night). It gets to this  
point



 and then stops with this error:







 touch gtype-desc.h



 touch: No such file or directory





The file gtype-desc.h doesn't exist on my 7.1 system.



I think that this means that the 'touch' binary is missing. See below.


I had over looked that possibility but I agree now that you mention it  
especially in light of reading your further comments below.






Touch should never complain about missing files, because one of its



purposes is to create files that don't exist. So it is probably the



'touch' binary itself is missing. Try 'which touch'. It should report



'/usr/bin/touch'. If it doesn't, touch is MIA.





It might be saved in the lost+found directory of the partition that



holds /usr/bin.





The easiest way to get it back is to just build touch. Or copy it from



the install/live-cd.


I'ma little unclear about how to build individual programs from within the  
source tree. Can you please explain how I'd do this?


Thanks,
Andy
___
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: root's crontab and mysqldump

2009-02-23 Thread Peter Boosten

Joseph Simmons wrote:

I added the full path and the result didn't change. I can still see it
running in the log but the script doesn't appear to be doing anything.

I have the following variables set in the root's crontab

SHELL=/usr/local/bin/bash
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
HOME=/root

The file I'd like to execuate has the following permissions

rwxr-x---

it's own by root, the contents of the file are below

#!/usr/local/bin/bash
date_time=$(/bin/date +%Y-%m-%d-%H-%M-%S)

/usr/local/bin/mysqldump -u backup_user -pPassWord DataBase
  

/backup/db/DataBase-$date_time



  


I run the same script, however without the credentials. Those are in 
~/.my.cnf


[client]
user = backupuser
password = thepassword
host = the.host.name

my backup script:

***
ra% cat bkupdb
#!/bin/sh

DATUM=`date +%Y%m%d`

nice -19 /usr/local/bin/mysqldump -A --single-transaction  
/home/peter/backup/mysql-${DATUM}.sql

gzip /home/peter/backup/mysql-${DATUM}.sql
**

nb: DATUM = Dutch for date

Peter

--
http://www.boosten.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: flashplugin9?

2009-02-23 Thread Gary Kline
On Mon, Feb 23, 2009 at 11:05:48AM +0100, Marc Fonvieille wrote:
 On Sun, Feb 22, 2009 at 03:54:03PM -0800, Gary Kline wrote:
  On Mon, Feb 23, 2009 at 12:02:57AM +0200, Manolis Kiagias wrote:
   Gary Kline wrote:
Guys,
   
If I stick with FreeBSD as my main desktop, I want firefox and
flashplugin-9.  So far, no joy.  I have firefox2, and when I try to
pkg_delete, I find gnome2 is just one of the dependicies.
linux-flashplugin-9 is installed as well as the pluginwrapper ports, but
still YouTube won't work.
   
Is there an all-linix port or set of ports to use?  Or is there 
another
way of getting both audio+video?  
   
gary
  
   
   Don't pkg_delete firefox2, just install www/firefox3 alongside it.
  
  Okay; i wasn't clear on that... .
  
   
   graphics/gnash-devel works mostly ok for youtube.
  
  Maybe I need up portupgrade.  I use mostly konqueror for the web;
  things like youtube used to work, but just sometimes.  Should I
  pkg_delete the flashplugins and the wrappers?
  
   
   Just a quick note, firefox3 uses /usr/local/lib/firefox3/plugins as the
   plugins directory, while firefox2 uses /usr/local/browser_plugins. You
   will probably have to symlink files from this directory to the new one
   for the plugins to work.
  
  Sorry, you lost me.  Which is the ``new one''?  The only mozilla 
  plugins dir in ~kline I find is  ~/.mozilla/plugins/ .  There are
  data files (*.dat) with mozilla and firefox in my home tree.
 
 
 In fact all that should be automatic even with Firefox3 (at least for
 plugins handled by nspluginwrapper).  The best solution is just to rm
 the files located in the ~/.mozilla/plugins/ directory then:
 
 % nspluginwrapper -v -a -i
 
 and don't forget to mount /usr/compat/linux/proc (well read
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html
 for more details).
 
 Launch Firefox3 and type about:plugins in the URL bar, something like:
 
 Shockwave Flash
 File name: /home/kline/.mozilla/plugins/npwrapper.libflashplayer.so
 Shockwave Flash 9.0 r152
 etc.
 
 should appear.
 
 -- 
 Marc


well, thanks to all.  as of yesterday around 16:20 doing the
nspluginwrapper thing installed both a shared helix lib and a
flashplayer library in ~/.mozilla/plugins .  so now, youtube can
waste my time (ha-ha-hmph).  next i'll see if i can do other A/V
streams.

gary


-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 2.23a release of Jottings: http://jottings.thought.org/index.php

___
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: Re: What's the simplest way to get a fresh copy of the source code for the system

2009-02-23 Thread Roland Smith
On Mon, Feb 23, 2009 at 06:27:06PM +, af300...@gmail.com wrote:
  On Feb 23, 2009 10:43am, Roland Smith rsm...@xs4all.nl wrote:
   On Mon, Feb 23, 2009 at 01:15:16AM +, af300...@gmail.com wrote:
  
Hi,
  
   
  
My churches web server is having problems compiling world for FreeBSD
  
7.0-p10 (I believe I just did the csup last night). It gets to this point
  
and then stops with this error:
  
   
  
touch gtype-desc.h
  
touch: No such file or directory
  
  
  
   The file gtype-desc.h doesn't exist on my 7.1 system.
  
   I think that this means that the 'touch' binary is missing. See below.
 
  I had over looked that possibility but I agree now that you mention it 
 especially in light of
  reading your further comments below.
 
  
  
  
   Touch should never complain about missing files, because one of its
  
   purposes is to create files that don't exist. So it is probably the
  
   'touch' binary itself is missing. Try 'which touch'. It should report
  
   '/usr/bin/touch'. If it doesn't, touch is MIA.
  
  
  
   It might be saved in the lost+found directory of the partition that
  
   holds /usr/bin.
  
  
  
   The easiest way to get it back is to just build touch. Or copy it from
  
   the install/live-cd.
 
  I'm a little unclear about how to build individual programs from within the 
 source tree. Can you
  please explain how I'd do this?

I think the correct way is to do the following:

  cd /usr/src/usr.bin/touch
  make obj  make depend  make  make install

This should build the binary in a directory under /usr/obj. When it's
done you can remove /usr/obj/*

Not to put too fine a point on it, but it might be a good idea to start
thinking about making backups... 

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)


pgpIE04m2b4Ni.pgp
Description: PGP signature


Re: hp TC4200 tablet

2009-02-23 Thread prad
On Mon, 23 Feb 2009 18:28:19 +0100
Roland Smith rsm...@xs4all.nl wrote:

  he has switched to fbsd7.1 and installed
  /usr/ports/x11-drivers/input-wacom
  it was compiled without usb support since the tablet uses a serial
  connection.  
 
 Are you sure this has a Wacom compatible tablet?
 
presumably it is the same driver that works perfectly on linux.


  is there anyway to find out if the tablet is actually being
  recognized?  
 
 Check if /dev/ttyd0 really exists. Also check dmesg output to see if
 the device is recognized.
 
here we have a curious problem.
/dev/ttyd0 is there in the /dev directory.
dmesq puts out the following for sio:
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250 or not responding
sio0: [FILTER]
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled

now we don't understand how the sio stuff relates to the /dev/ttyd0
and /dev/cuad0

 The input-wacom driver comes with a couple of programs (see
 /usr/ports/x11-drivers/input-wacom/pkg-plist) that might be helpfull
 as well, e.g. xsetwacom.  

thank you.  we just tried a wacdump on /dev/ttyd0 from x and console -
both times the entire system froze.  what this suggests, i think, is
that the kernel thinks there is nothing there at ttyd0 - in other
words, the tablet's existence has not been picked up by the kernel.

we are presently looking at netbsd where the tablet is supposed to
work. may be we can find out something about how the kernel is done
differently there.

-- 
In friendship,
prad

  ... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (website)
Information, Inspiration, Imagination - truly a site for soaring I's
___
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: Re: What's the simplest way to get a fresh copy of the source code for the system

2009-02-23 Thread Robert Huff

af300...@gmail.com writes:

  I'ma little unclear about how to build individual programs from
  within the source tree. Can you please explain how I'd do this?

Assuming 1) you have the source tree installed, and 2) it and
the kernel are of compatible versions (shouldn't be a problem here):

cd /usr/src/usr.bin/touch
make clean  make  make install  make clean


Robert Huff



___
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: flashplugin9?

2009-02-23 Thread Gary Kline
On Mon, Feb 23, 2009 at 06:15:35AM -0600, ec...@casasponti.net wrote:
 Quoting Gary Kline kl...@thought.org:
 
 On Sun, Feb 22, 2009 at 11:22:50PM +0100, herbert langhans wrote:
 Hi Gary,
 ff3 should work as well as ff2. May depend on the version of the  
 pluginwrapper and the flash version.
 I have made up some howto, maybe you want to check your  
 installation step by step:
 http://freebsd.langhans.com.pl
 
 Cheers
 herbs
 
  thanks for your fbsd how-to!  looks great, and i will try it if
  nothing else works.  i have ff3  (i think that is a
  Linux-firefox3 port [??] and the freebsd2, and am now
  downloading the firefox-devel port.  in my opinion, too many way
  to go and too little data on how to get everything working.
 
  gary
 
 Gary, I would recommend www/firefox3 rather than www/firefox-devel  
 that IIRC is older not being updated.  I remember that someone had  
 problems with that previously.
 
 ed
 
 
thanks ed.  now i have just two firefox installations.  [[[ ... maybe we
have too many options..? ]]]

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.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: What's the simplest way to get a fresh copy of the source code for the system

2009-02-23 Thread Lowell Gilbert
af300...@gmail.com writes:

 On Feb 23, 2009 10:43am, Roland Smith rsm...@xs4all.nl wrote:
 On Mon, Feb 23, 2009 at 01:15:16AM +, af300...@gmail.com wrote:

  Hi,

 

  My churches web server is having problems compiling world for FreeBSD

  7.0-p10 (I believe I just did the csup last night). It gets to
 this  point

  and then stops with this error:

 

  touch gtype-desc.h

  touch: No such file or directory



 The file gtype-desc.h doesn't exist on my 7.1 system.

 I think that this means that the 'touch' binary is missing. See below.

 I had over looked that possibility but I agree now that you mention it
 especially in light of reading your further comments below.

Note that it should probably be using the newly-built touch(1) at that
point, so one possibility is that make(1) is confused, possibly by an
incorrect clock.

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


Re: root's crontab and mysqldump

2009-02-23 Thread Steven Kreuzer


On Feb 23, 2009, at 1:26 PM, Joseph Simmons wrote:


I added the full path and the result didn't change. I can still see it
running in the log but the script doesn't appear to be doing anything.

I have the following variables set in the root's crontab

SHELL=/usr/local/bin/bash
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin


Add /usr/local/bin to PATH because that is where the mysqldump binary  
is.
Also, you don't need /etc in your path, pretty much ever because that  
directory should never have executable programs in it.


--
Steven Kreuzer
http://www.exit2shell.com/~skreuzer

___
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


difficulty using SSH Kerberos PAM Authentication with 7.1 Release

2009-02-23 Thread KAK BO CHE
I recently did a freebsd-update to a machine running 6.3 to 7.1. I am now
having difficulty getting pam_krb5 to work as it used to for sshd
authentication.

After upgrading to 7.1 I noticed the openpam_dispatch() and
pam_sm_authenticate() errors on my console when trying to login via ssh.  I
fixed these by removing the pam_nologin module from the auth list in my sshd
pam config file.
My current pam sshd configuation file is as follows:
# auth
authrequiredpam_krb5.so no_warn
try_first_pass
#authrequiredpam_unix.so no_warn
try_first_pass nullok

# account
account requiredpam_nologin.so
#accountrequiredpam_krb5.so
account requiredpam_login_access.so
account requiredpam_unix.so

# session
#sessionoptionalpam_ssh.so
session requiredpam_permit.so

# password
#password   sufficient  pam_krb5.so no_warn
try_first_pass
passwordrequiredpam_unix.so no_warn
try_first_pass

If I attempt to login with the correct kerberos credentials I get the
following error:
pam_setcred() failed to retreive user credentials

If I reenable the auth required pam_unix.so line and change the line
before it to auth sufficient pam_krb5.so I can logon with either my
kerberos or the local system password, but no other password as expected.
Unfortunately, I cannot allow local user passwords to logon to the system.
What am I doing wrong a similar setup worked with FreeBSD 6.3, but the last
authenticaion module was pam_nologin.
Thanks,
--Troy
___
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: hp TC4200 tablet

2009-02-23 Thread Roland Smith
On Mon, Feb 23, 2009 at 10:52:48AM -0800, prad wrote:
snip
   is there anyway to find out if the tablet is actually being
   recognized?  
  
  Check if /dev/ttyd0 really exists. Also check dmesg output to see if
  the device is recognized.
  
 here we have a curious problem.
 /dev/ttyd0 is there in the /dev directory.
 dmesq puts out the following for sio:
 sio0: configured irq 4 not in bitmap of probed irqs 0
 sio0: port may not be enabled
 sio0: configured irq 4 not in bitmap of probed irqs 0
 sio0: port may not be enabled

I get more or less the same on my system so far. 

 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
 sio0: type 8250 or not responding

But mine differs here:

sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A

Looks like the serial hardware is not being recognized. It would
supprise me that a relatively modern system would have a 8250 chip,
which dates back to the IBM XT! One would expect a 16550A.

Could be that the serial hardware is b0rken.

 now we don't understand how the sio stuff relates to the /dev/ttyd0
 and /dev/cuad0

See the sio manual page, under FILES; 'man 4 sio'.
 
  The input-wacom driver comes with a couple of programs (see
  /usr/ports/x11-drivers/input-wacom/pkg-plist) that might be helpfull
  as well, e.g. xsetwacom.  
 
 thank you.  we just tried a wacdump on /dev/ttyd0 from x and console -
 both times the entire system froze.  what this suggests, i think, is
 that the kernel thinks there is nothing there at ttyd0 - in other
 words, the tablet's existence has not been picked up by the kernel.

Or the serial chip is fried. Chek if you have any weird settings for
sio0 in /boot/device.hints.

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)


pgpB5thP7vbiG.pgp
Description: PGP signature


Re: hi

2009-02-23 Thread Chad Perrin
On Mon, Feb 23, 2009 at 06:01:54PM +0200, Reko Turja wrote:
 
 What I find ironic, is that the talent drifts either to fully 
 commercial projects, or those which are licensed under BSD - and in 
 many cases even both.

What's so ironic about that?

-- 
Chad Perrin [ content licensed OWL: http://owl.apotheon.org ]
Quoth Marvin Minsky: . . . anyone could learn Lisp in 1 day, except
that if they already knew Fortran, it would take 3 days.


pgpyQI0QxzJ9r.pgp
Description: PGP signature


Upgrade from FreeBSD 7.1/i386 to FreeBSD 7.1/AMD64?

2009-02-23 Thread Andrew Moran


I installed the i386 distro on my Core 2 Duo instead of AMD64 and now  
I want to switch to using AMD64.


Is there a good path to do this?  Will I have to reinstall, or can I  
do a buildworld/installworld over the i386?


--Andy
___
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: hi

2009-02-23 Thread Chad Perrin
On Mon, Feb 23, 2009 at 07:15:35PM +0200, Giorgos Keramidas wrote:
 
 Documenting such local 'hacks' in the Handbook is a bit like rubber
 stamping them with the official 'recommended by FreeBSD' seal of
 approval.  I am not sure I would like that a lot.  Serious security
 problems may exist in stale, unmaintained ports.  It would be a bit
 bad to make it sound like the entire FreeBSD project approves and even
 recommends this sort of thing.

I can see both sides of this argument.  Maybe we need to split up FreeBSD
documentation into two domains, similarly to the way FreeBSD software is
split into two domains (core and ports) -- and thus have a place outside
the FreeBSD handbook for the same, more-than-professional quality of
documentation, but covering things we wouldn't be comfortable putting in
the FreeBSD Handbook itself.

-- 
Chad Perrin [ content licensed OWL: http://owl.apotheon.org ]
Quoth Doug Linder: A good programmer is someone who always looks both
ways before crossing a one-way street.


pgpCFX5OhhppR.pgp
Description: PGP signature


Re: hi

2009-02-23 Thread Chad Perrin
On Mon, Feb 23, 2009 at 06:11:55PM +0200, Giorgos Keramidas wrote:
 On Mon, 23 Feb 2009 08:19:30 +0100 (CET), Wojciech Puchar 
 woj...@wojtek.tensor.gdynia.pl wrote:
 
  alpine works fine
 
 I know.  That's why I am not in favor of maintaining pine4 *in* the
 Ports tree.  If someone wants to blow their foot off, however, then it's
 fine with me, as long as they know what they are doing when they point
 the cvs update gun backwards in time :)

Wait -- what?  Keeping it out of the core isn't good enough . . . ?

-- 
Chad Perrin [ content licensed OWL: http://owl.apotheon.org ]
Quoth Larry Wall: Perl is, in intent, a cleaned up and summarized
version of that wonderful semi-natural language known as 'Unix'.


pgpXdCHx47VAt.pgp
Description: PGP signature


Re: OT: The official stool for FreeBSD users?

2009-02-23 Thread Chad Perrin
On Sun, Feb 22, 2009 at 08:18:16PM -0800, Charles Oppermann wrote:
 http://www.yankodesign.com/2008/11/07/i-dont-wanna-grow-up-im-a-big-kid-now/
 

I think it might for a great official stool for FreeBSD as soon as the
designer's site is usable without Flash.

-- 
Chad Perrin [ content licensed OWL: http://owl.apotheon.org ]
Quoth Paul Graham: Object-oriented programming offers a sustainable way
to write spaghetti code.


pgpOsJ4nQaYWo.pgp
Description: PGP signature


Re: Web or X GUI for pf / isc-dchp3-server

2009-02-23 Thread Vincent Hoffman
On 23/2/09 17:54, Roland Smith wrote:
 On Mon, Feb 23, 2009 at 11:26:04AM +0200, Jaco le Roux wrote:
   
 Hi,

 Would anyone know if there is any kind of X-style (or web) GUI for FreeBSD
 applications like pf and isc-dhcp3-server ? 
 

 The sysutils/webmin port would enable you to configure DHCP and a lot of
 other things from a browser.

 There is also a module available for running pfctl: 
 http://www.askey.org/pfctl/

 Roland
   
If no one else has suggested it yet, have a look at pfsense
http://www.pfsense.com/


Vince
___
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: Upgrade from FreeBSD 7.1/i386 to FreeBSD 7.1/AMD64?

2009-02-23 Thread Roland Smith
On Mon, Feb 23, 2009 at 11:30:10AM -0800, Andrew Moran wrote:
 
 I installed the i386 distro on my Core 2 Duo instead of AMD64 and now  
 I want to switch to using AMD64.

First of all, your Core2 Duo should work just fine with i386. The amd64
architecture is an extension of the x86 arch. Unless you regularly run
out of address space on i386, there is no _need_ to install amd64. Be
aware that some ports (especially binary drivers and ditto plugins) only
run on i386.
 
 Is there a good path to do this?  Will I have to reinstall, 

Reinstalling is probably the wisest course. Also be aware that you need
to remove and rebuild all your ports if you want them to be 64-bit.

 or can I do a buildworld/installworld over the i386?

You can cross-build, but you'll need to install the new kernel and world
to a separate partition and boot from that partition.

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)


pgp15ylNLncRC.pgp
Description: PGP signature


Re: broadcom wireless card BCM94311MCG on FreeBSD 7.1

2009-02-23 Thread Gonzalo Nemmi
On Monday 23 February 2009 2:51:05 pm Saifi Khan wrote:
 Hi all:

 Compaq C301TU laptop has a Broadcom chipset based wireless card and
 i'm unable to make it work on FreeBSD 7.1

 Using the ndisgen approach with bcm5wls.sys and bcm5wls.inf files
 creates a driver file which on kldload causes a kernel panic.

 Interestingly on the same laptop, there is a ethernet card of RTL
 8139, which is also not detected by FreeBSD 7.1 . However, lets not
 worry about that for the time being.

 With Gentoo Linux, i've configured the Linux kernel to use the native
 bcm43xx driver and using the bcm43xx-fwcutter, i've been able to
 install the firmware and get the wireless card to work.

 Here is the lspci -v -nn details as collected from the Linux side.

 06:00.0 Network controller: Broadcom Corporation BCM94311MCG wlan
 mini-PCI (rev 01)
 Subsystem: Hewlett-Packard Company Unknown device 1364
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
 ParErr- Stepping- SERR+ FastB2B- DisINTx-
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast TAbort-
 TAbort- MAbort- SERR- PERR- INTx-
 Latency: 0, Cache Line Size: 64 bytes
 Interrupt: pin A routed to IRQ 17
 Region 0: Memory at 8800 (32-bit, non-prefetchable) [size=16K]
 Capabilities: [40] Power Management version 2
 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA
 PME(D0-,D1-,D2-,D3hot-,D3cold-)
 Status: D0 PME-Enable- DSel=0 DScale=2 PME-
 Capabilities: [58] Message Signalled Interrupts: Mask- 64bit-
 Queue=0/0 Enable-
 Address:   Data: 
 Capabilities: [d0] Express (v1) Legacy Endpoint, MSI 00
 DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s
 4us, L1 unlimited
 ExtTag+ AttnBtn- AttnInd- PwrInd- RBE- FLReset-
 DevCtl: Report errors: Correctable- Non-Fatal- Fatal-
 Unsupported-
 RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
 MaxPayload 128 bytes, MaxReadReq 128 bytes
 DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq-
 AuxPwr- TransPend-
 LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s,
 Latency L0 4us, L1 64us
 ClockPM- Suprise- LLActRep- BwNot-
 LnkCtl: ASPM L0s Enabled; RCB 64 bytes Disabled-
 Retrain- CommClk+
 ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
 LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train-
 SlotClk+ DLActive- BWMgmt- ABWMgmt-
 Capabilities: [100] Advanced Error Reporting ?
 Capabilities: [13c] Virtual Channel ?
 Kernel driver in use: bcm43xx
 Kernel modules: bcm43xx

 i don't intend to buy another wireless add-on card or another old laptop.

 Would be thankful, if anybody can suggest how i can get the Wireless
 card work to with FreeBSD 7.1 or FreeBSD 8.0 snapshot.
 Additional tips for getting the ethernet card to work will also be
 appreciated.

You should take a look in here if your trying to get the BCM4311 up and 
running: http://forums.freebsd.org/showthread.php?t=170highlight=BCM

RTL 8139 seems to be fully supported on 7.1 .. just take a look 
at: /sys/dev/re/if_re.c

Regards
-- 
Blessings
Gonzalo Nemmi
___
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: flashplugin9?

2009-02-23 Thread Chad Perrin
On Sun, Feb 22, 2009 at 03:54:03PM -0800, Gary Kline wrote:
 On Mon, Feb 23, 2009 at 12:02:57AM +0200, Manolis Kiagias wrote:
  
  Just a quick note, firefox3 uses /usr/local/lib/firefox3/plugins as the
  plugins directory, while firefox2 uses /usr/local/browser_plugins. You
  will probably have to symlink files from this directory to the new one
  for the plugins to work.
 
   Sorry, you lost me.  Which is the ``new one''?  The only mozilla 
   plugins dir in ~kline I find is  ~/.mozilla/plugins/ .  There are
   data files (*.dat) with mozilla and firefox in my home tree.

That's because /usr/local/lib/firefox3/plugins and
/usr/local/browser_plugins aren't in your home directory.

-- 
Chad Perrin [ content licensed OWL: http://owl.apotheon.org ]
Quoth Larry Wall: Perl is, in intent, a cleaned up and summarized
version of that wonderful semi-natural language known as 'Unix'.


pgpDg8FRVHHHX.pgp
Description: PGP signature


Re: hp TC4200 tablet

2009-02-23 Thread prad
On Mon, 23 Feb 2009 20:32:49 +0100
Roland Smith rsm...@xs4all.nl wrote:

 Could be that the serial hardware is b0rken.
 
 Or the serial chip is fried. 

the tablet works fine with ubuntu.


 Chek if you have any weird settings for
 sio0 in /boot/device.hints.

ok thx!

i got this post on the freebsd forum from kamakazi:

The kernel module is really only for wacom tablets.

To use the Xorg driver you have to run Xorg without HAL support.
Bartosz is working on following the recent Xorg changes, but a lot of
things have happened there, so it will take some time for the driver to
catch up with that stuff.

so it is possible that fbsd7.1 may not be able to handle the tablet.


-- 
In friendship,
prad

  ... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (website)
Information, Inspiration, Imagination - truly a site for soaring I's
___
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: Upgrade from FreeBSD 7.1/i386 to FreeBSD 7.1/AMD64?

2009-02-23 Thread Andrew Moran


Thank you.

I have 8 gigs of memory in this system, and I decided go to the ZFS  
route, and am now getting kernel panics about kmem exhaustion.  I know  
there are some tweaks I can do to help alleviate these, but I want to  
address all my memory before I increase the kernel memory.


I don't need the ports to be 64-bit, but they SHOULD run just fine  
without recompiling, yes?


--Andy

On Feb 23, 2009, at 12:05 PM, Roland Smith wrote:


On Mon, Feb 23, 2009 at 11:30:10AM -0800, Andrew Moran wrote:


I installed the i386 distro on my Core 2 Duo instead of AMD64 and now
I want to switch to using AMD64.


First of all, your Core2 Duo should work just fine with i386. The  
amd64

architecture is an extension of the x86 arch. Unless you regularly run
out of address space on i386, there is no _need_ to install amd64. Be
aware that some ports (especially binary drivers and ditto plugins)  
only

run on i386.


Is there a good path to do this?  Will I have to reinstall,


Reinstalling is probably the wisest course. Also be aware that you  
need

to remove and rebuild all your ports if you want them to be 64-bit.


or can I do a buildworld/installworld over the i386?


You can cross-build, but you'll need to install the new kernel and  
world

to a separate partition and boot from that partition.

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)


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

2009-02-23 Thread Jerry
On Mon, 23 Feb 2009 12:50:41 -0700
Chad Perrin per...@apotheon.com wrote:

[snip]

I can see both sides of this argument.  Maybe we need to split up
FreeBSD documentation into two domains, similarly to the way FreeBSD
software is split into two domains (core and ports) -- and thus have a
place outside the FreeBSD handbook for the same,
more-than-professional quality of documentation, but covering things
we wouldn't be comfortable putting in the FreeBSD Handbook itself.

Specifically, what is it we are uncomfortable putting in the handbook?
More importantly, what good is a handbook if it is not complete? Would
the documentation be cross indexed so a user could find more details on
a particular subject? Personally, while perfectly plausible, it sounds
like more work than it is worth.

-- 
Jerry
ges...@yahoo.com

Memory fault - where am I?


signature.asc
Description: PGP signature


Re: Logcheck dependency hell

2009-02-23 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chris Cowart wrote:
 n j wrote:
 could anyone help me what command should I use to find out which
 logcheck-required port _exactly_ is trying to install half of the X
 libraries?
 
 The Makefile says:
 
 | BUILD_DEPENDS=  docbook-to-man:${PORTSDIR}/textproc/docbook-to-man
 | RUN_DEPENDS=lockfile:${PORTSDIR}/mail/procmail \
 | bash:${PORTSDIR}/shells/bash
 
 So I'll bet some money that it's docbook. 
 
 Does it improve if you add these to /etc/make.conf:
 
 | NO_GUI=YES
 | WITHOUT_GUI=YES
 | WITHOUT_X11=YES
 | WITHOUT_XPM=YES
 

Hi n j,

I'm the maintainer of security/logcheck, and I apologize for not
catching up with my inbox sooner.  I just saw your message, and the same
issue was reported by someone else a couple of weeks ago.

I have it on my list to update the port to avoid using docbook-to-man.
In the mean, please apply the attached patch to your Makefile, and it
will prevent all of those deps from getting included in the build.

Also, please cc the port maintainer when reporting a port-related bug to
freebsd-questions@, since not all of them follow the list.  The easy way
to obtain the maintainer's email address is:

make -V MAINTAINER

Cheers,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJoxF60sRouByUApARAmkKAJ4jihHFR1haHsuYNUdn3Iq3d41JZQCgyXdl
6r3KDcKx1mpCoEoweqk7fWU=
=rPkt
-END PGP SIGNATURE-
Index: Makefile
===
RCS file: /home/pcvs/ports/security/logcheck/Makefile,v
retrieving revision 1.23
diff -u -r1.23 Makefile
--- Makefile11 Sep 2008 00:30:08 -  1.23
+++ Makefile11 Feb 2009 15:41:28 -
@@ -15,7 +15,7 @@
 MAINTAINER=glar...@freebsd.org
 COMMENT=   Auditing tool for system logs on Unix boxes
 
-BUILD_DEPENDS= docbook-to-man:${PORTSDIR}/textproc/docbook-to-man
+# BUILD_DEPENDS=   docbook-to-man:${PORTSDIR}/textproc/docbook-to-man
 RUN_DEPENDS=   lockfile:${PORTSDIR}/mail/procmail \
bash:${PORTSDIR}/shells/bash
 
@@ -44,10 +44,10 @@
 do-build:
${REINPLACE_CMD} -e 's!/var/log/syslog!/var/log/messages!' \
${WRKSRC}/etc/logcheck.logfiles
-   ${REINPLACE_CMD} -e 's!/etc/logcheck!${ETCDIR}!' \
-   -e 
's!/usr/share/doc/logcheck-database/README.logcheck-database.gz!${DOCSDIR}/README.logcheck-database!'
 \
-   ${WRKSRC}/docs/logcheck.sgml
-   docbook-to-man ${WRKSRC}/docs/logcheck.sgml  ${WRKSRC}/docs/logcheck.8
+#  ${REINPLACE_CMD} -e 's!/etc/logcheck!${ETCDIR}!' \
+#  -e 
's!/usr/share/doc/logcheck-database/README.logcheck-database.gz!${DOCSDIR}/README.logcheck-database!'
 \
+#  ${WRKSRC}/docs/logcheck.sgml
+#  docbook-to-man ${WRKSRC}/docs/logcheck.sgml  ${WRKSRC}/docs/logcheck.8
 
 do-install:
${INSTALL_SCRIPT} ${WRKSRC}/src/logcheck ${PREFIX}/sbin
___
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: Upgrade from FreeBSD 7.1/i386 to FreeBSD 7.1/AMD64?

2009-02-23 Thread Dan Nelson
In the last episode (Feb 23), Andrew Moran said:
 I have 8 gigs of memory in this system, and I decided go to the ZFS route,
 and am now getting kernel panics about kmem exhaustion.  I know there are
 some tweaks I can do to help alleviate these, but I want to address all my
 memory before I increase the kernel memory.
 
 I don't need the ports to be 64-bit, but they SHOULD run just fine  
 without recompiling, yes?

As long as you never recompile anything again, yes :)  But as soon as you
upgrade (say) libX11 to 64-bit, all dependant libraries and program will
need to be brought up to 64-bit as well.  You might as well do them all.

I just did this 32-64 upgrade a few weeks ago, and since I had a ZFS root,
I was able to do this:

  Snapshot+clone a new copy of my root filesystem (called root.amd64)

  Do a cross-build+installworld into that partition

  Install a 64-bit kernel into my /boot partition (installed as
/boot/kernel.amd64 temporarily)

  Edit /boot/loader.conf and add
vfs.root.mountfrom=zfs:local_pool/root.amd64
kernel=kernel.amd64

  Edit /etc/fstab on root.amd64 to mount / from local_pool/root.amd64

  Cross fingers, and reboot into amd64-land

  Portupgrade -fa (this step wan't flawless since I was also upgrading
through the perl58 and gnome-2.24 updates, but still took less than 24
hours)

All the while having my i386 kernel and root available to reboot back into
if I screwed something up horribly :)

If you use any programs that keep machine-dependant file formats (rrdtool
data files, for example), export them to a portable format before the
switch, and reimport them afterwards.

When I was satisfied I had a stable system, I moved my 64-bit kernel into
/boot/kernel, removed the kernel= line from boot.conf, promoted the cloned
root.amd64 filesystem and destroyed the i386 root and the snapshot.


-- 
Dan Nelson
dnel...@allantgroup.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: Accessing /dev/lpt0 in a Jail

2009-02-23 Thread Jasvinder S. Bahra

Paul,

Thanks for your help - it's much appreciated.

It looks like devfs rules are indeed what I need to play with.  As i'm using 
ezjail, it seems things are a little different.  Instead of editing the 
host's /etc/rc.conf file , and specifying the ruleset there, I had to edit 
the /usr/local/etc/ezjail/pearl_domain_org file.  In that file, there is an 
entry that looks like this...


export jail_pearl_domain_org_devfs_ruleset=devfsrules_jail

I changed that line to the following...

export jail_pearl_domain_org_devfs_ruleset=devfsrules_jail_pearl

I then created (again, on the host) /etc/devfs.rules, and added the 
following to it...


[devfsrules_jail_pearl=5]
add include $devfsrules_hide_all
add include $devfsrules_unhide_basic
add include $devfsrules_unhide_login
add path 'lpt*' unhide

These changes successfully made the lpt0 (and lpt0.ctl) device nodes visible 
in the jail.


Unfortunately, i'm now having permission problems...

[r...@pearl ~]# ls -al /dev/lpt*
crw---  1 root  wheel0,  53 Feb 23 21:11 /dev/lpt0
crw---  1 root  wheel0,  54 Feb 23 21:11 /dev/lpt0.ctl

I need the device nodes to have 0660 permissions and root:cups ownership.  I 
can easily make these changes using the chown and chmod tools, but the 
changes do not survive a system reboot.  Following some further research, I 
understand I can make these changes occur automatically by adding some 
entries in the jail's /etc/devfs.conf file...


own'lpt*' root:cups
perm   'lpt*' 0660

Unfortunately, this didn't have any effect.

I also tried creating a device ruleset in the jail (i.e. creating a 
/etc/devfs.rules file in the jail)...


[localrules=5]
add path 'lpt*' mode 0660 group cups

...and then applying that ruleset by adding the following to the jail's 
/etc/rc.conf


devfs_system_ruleset=localrules

However, yet again the changes had no effect.

Does anyone have any advice?

Thanks,

Jazz


- Original Message - 
From: Paul Procacci pproca...@datapipe.com

To: Jasvinder S. Bahra bbdl21...@blueyonder.co.uk
Cc: freebsd-questions@freebsd.org
Sent: Monday, February 23, 2009 12:23 AM
Subject: Re: Accessing /dev/lpt0 in a Jail



Jasvinder S. Bahra wrote:

Hi,

I'm trying to setup CUPS (in a jail) using an old parallel port printer 
on my server machine.


I used ezjail to create a jail and then installed CUPS.  I've got it up 
and running, and I can access the administration website.


However, as far as I can tell, the admin website doesn't seem to offer 
any options regarding the parallel port.  Following some research, I 
believe I somehow needs to create a /dev/lpt0 entry, *in* the jail.


Now, that entry exists on the jail's host system, but theres a limited 
list of entries in the jail's /dev directory.  If I do a ls -al /dev 
(less quotes) in the jail, I get the following...


[r...@pearl cups]# ls -al /dev
total 0
dr-xr-xr-x  2 root  wheel   512 Feb 22 19:04 fd
lrwxr-xr-x  1 root  wheel14 Feb 22 19:04 log - ../var/run/log
crw-rw-rw-  1 root  wheel0,  16 Feb 22 19:22 null
crw-rw-rw-  1 root  wheel0, 122 Feb 22 19:28 ptyp0
crw-rw-rw-  1 root  wheel0,   8 Feb 22 19:04 random
lrwxr-xr-x  1 root  wheel 4 Feb 22 19:04 stderr - fd/2
lrwxr-xr-x  1 root  wheel 4 Feb 22 19:04 stdin - fd/0
lrwxr-xr-x  1 root  wheel 4 Feb 22 19:04 stdout - fd/1
crw--w  1 jazz  tty  0, 123 Feb 22 19:28 ttyp0
lrwxr-xr-x  1 root  wheel 6 Feb 22 19:04 urandom - random
crw-rw-rw-  1 root  wheel0,  17 Feb 22 19:04 zero

Does anyone know how I go about providing the jail with a link to lpt0?

Thanks,

Jazz



I've never used ezjail, as I usually setup jails myself.  With that said, 
access to dev entries within jail are/can be controlled by devfs rules. 
The configuration for your rules is administrator dependant.  More 
specifically, you should find a line in your rc.conf that looks similar to 
the following:


jail_devfs_ruleset=devfsrules_jail

This defines the ruleset used for your jails.  Knowing this, you can now 
edit your rules file (/etc/devfs.rules) and add appropriate entries for 
your printer and associated devices.


~Paul






___
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


What is correct way to enable watchdog?

2009-02-23 Thread Peter Steele
We have our systems configured with the watchdog enabled, with 
/etc/rc.d/watchdogd defined as 

. /etc/rc.subr 
name=watchdogd 
rcvar=`set_rcvar` 
command=/usr/sbin/${name} 
command_args=-s 10 -t 300 
pidfile=/var/run/${name}.pid 
load_rc_config $name 
run_rc_command $1 

We assumed this would give us a watchdog timeout of 300 seconds (5 minutes), 
meaning a system would not reboot unless it is non-responsive for five minutes. 
However, in a recent stress test we had unexplained spontaneous reboots on two 
systems, with no logs of any kind to indicate why the systems rebooted. 

Do we have something wrong with how the watchdog should be configured? 

___
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


Alternative to sysinstall?

2009-02-23 Thread Peter Steele
We want to develop a system imaging process where all we have to do is insert a 
USB thumb drive into a system and reboot it, and some time later the system 
would be loaded up with whatever FreeBSD software the particular thumb drive 
being used is configured. We'd have different thumb drives for different 
flavors of systems. 

Our current approach uses a PXE boot server and sysinstall, but this is not an 
easily portable solution (we can't bring the boot server with us to a customer 
location. Plus, sysinstall scripts are not particularly to be particularly 
flexible. 

My inclination is simply to have our custum thumb drive configured with FreeBSD 
and when a system is booted with one of these USB drives, a script runs to 
automate a FreeBSD install onto the hard drives of the sysrem where the thumb 
drive was booted. I could probably do the whole thing with bash scripts, but is 
there some other tool that might help in doing this kind of thing. Note that we 
have a custom kernel that needs to be installed onto the target systems. 

___
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: Alternative to sysinstall?

2009-02-23 Thread Polytropon
A possibility would be to develop the different target systems
first on a builder system, maybe using jails. This system is
completely installed as it is intended to be on the target system
later on. Then the partitions are dumped (using dump, of course)
as data files onto the USB thumb. Furthermore, the thumb holds
a bootable system with a hand-craftet installer that first
slices, partitions and formats the hard drive and then just
resores (using restore) the content from the dump files onto
the (empty) hard disk.

After another reboot the system should boot up fine as it has
been preconfigured on the builder machine.

Other members of this mailing list will soon tell you some
much better ways to achieve your goal. :-)



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


understanding freebsd development logic

2009-02-23 Thread prad
i am puzzled by what seems to be almost a parallel processor development
model that exists with freebsd. when 7 came out people were still
working on 6.3 i think it was with the aim of going to 6.4 and now with
7.x underway, there is work being do for 8 (for which you can get a
snapshot cd. (i seem to recall something similar with debian too).

why would people work on 7.x (and 6.x as well i guess) if 8 is already 
available?

is the idea to make each version 'as good as possible' because it would still 
be useful for older machines? or is it that later versions can utilize code 
from the earlier versions? or is it something else?

-- 
In friendship,
prad

  ... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (website)
Information, Inspiration, Imagination - truly a site for soaring I's
___
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: Upgrade from FreeBSD 7.1/i386 to FreeBSD 7.1/AMD64?

2009-02-23 Thread Roland Smith
On Mon, Feb 23, 2009 at 12:59:21PM -0800, Andrew Moran wrote:
 
 Thank you.

You're welcome!

Please don't top post; it destroys the flow of the conversation.
 
 I have 8 gigs of memory in this system, and I decided go to the ZFS  
 route, and am now getting kernel panics about kmem exhaustion.  I know  
 there are some tweaks I can do to help alleviate these, but I want to  
 address all my memory before I increase the kernel memory.

Ah, OK. ZFS seems to work better on (and was written for) 64-bit systems
anyway.

 I don't need the ports to be 64-bit, but they SHOULD run just fine  
 without recompiling, yes?

As long as you don't ever recompile anything. Otherwise the shit will
hit the fan. The base system by default keeps two sets of system
libraries on amd64, 64-bit and 32-bit. (you can compile the system
without the 32-bit libs and kernel stuff if you don't need them; see
src.conf(5) and the COMPAT_IA32 option in the amd64 GENERIC kernel). So
the base system can run both kinds of binaries, as long as they only
depend on the base system libraries. But if you recompile any library
from ports, it will become 64-bit and unusable to 32-bit binaries. Every
program depending on that library will stop working. Just recompile your
ports and save yourself a world of grief in the long run.

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)


pgpE4GqhiIdq5.pgp
Description: PGP signature


Re: root's crontab and mysqldump

2009-02-23 Thread Joseph Simmons
Adding /usr/local/bin gives the same result.

On Mon, Feb 23, 2009 at 1:00 PM, Steven Kreuzer skreu...@exit2shell.comwrote:


 On Feb 23, 2009, at 1:26 PM, Joseph Simmons wrote:

  I added the full path and the result didn't change. I can still see it
 running in the log but the script doesn't appear to be doing anything.

 I have the following variables set in the root's crontab

 SHELL=/usr/local/bin/bash
 PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin


 Add /usr/local/bin to PATH because that is where the mysqldump binary is.
 Also, you don't need /etc in your path, pretty much ever because that
 directory should never have executable programs in it.

 --
 Steven Kreuzer
 http://www.exit2shell.com/~skreuzer


___
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: hp TC4200 tablet

2009-02-23 Thread Roland Smith
On Mon, Feb 23, 2009 at 12:56:11PM -0800, prad wrote:
 i got this post on the freebsd forum from kamakazi:
 
 The kernel module is really only for wacom tablets.

More precisely for USB connected tablets, IIRC.

 To use the Xorg driver you have to run Xorg without HAL support.

I always compile Xorg without hal support. Works fine for me.

 Bartosz is working on following the recent Xorg changes, but a lot of
 things have happened there, so it will take some time for the driver to
 catch up with that stuff.

That's good to know. I was contemplating getting a tablet myself. I
guess I'll have to wait for the driver to get up to speed with the Xorg
changes. 

 so it is possible that fbsd7.1 may not be able to handle the tablet.

That's not really a FreeBSD problem, but more an Xorg issue. 

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)


pgpk4EsPMCCHc.pgp
Description: PGP signature


Re: understanding freebsd development logic

2009-02-23 Thread Giorgos Keramidas
On Mon, 23 Feb 2009 14:25:59 -0800, prad p...@towardsfreedom.com wrote:
 i am puzzled by what seems to be almost a parallel processor
 development model that exists with freebsd. when 7 came out people
 were still working on 6.3 i think it was with the aim of going to 6.4
 and now with 7.x underway, there is work being do for 8 (for which you
 can get a snapshot cd. (i seem to recall something similar with debian
 too).

 why would people work on 7.x (and 6.x as well i guess) if 8 is already
 available?

The thesis of Niklas Saers is a bit dated now, but it is a wonderful
document and it answers this question (including a few others too).

I think it will be an interesting read for you:

  http://niklas.saers.com/thesis/thesis.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: understanding freebsd development logic

2009-02-23 Thread Polytropon
On Mon, 23 Feb 2009 14:25:59 -0800, prad p...@towardsfreedom.com wrote:
 is the idea to make each version 'as good as possible' because it
 would still be useful for older machines? or is it that later
 versions can utilize code from the earlier versions? or is it
 something else?

I hope it doesn't sound impolite, but FreeBSD's development
process isn't tied to hardware evolution (such as it is with
nearly any Linux and of course with Windows). You can use
7.1 on the same hardware that ran 4.6 before, and you get a
gain of speed!

When development in 8-CURRENT is considered to be important
to the 7.x-branch, it will surely be backportet. Another reason
is that there are FreeBSD installations where the maintainer
isn't interested in updating to the bleeding edge point of
development, or simply can't afford this because of security
considerations. So it's important to clean bugs from systems
that are still in use, these are 6.x and 7.x at the moment,
while releases prior to these numbers have already been EOLed,
as far as I know. Of course, nothing stops you from *not*
updating an existing 5.x installation, especially when it runs
sufficiently to your needs.

With the ++ of the major release number, often new concepts
are introduced which are held back during the ++ of the minor
version number of the respective predecessor release, such
as, for example, the use of devfs for /dev, or the inclusion
of ZFS in the base system.

I'm not a developer so I'm not competent enough to go into
detail regarding your question.





-- 
Polytropon
From 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: understanding freebsd development logic

2009-02-23 Thread Roland Smith
On Mon, Feb 23, 2009 at 02:25:59PM -0800, prad wrote:
 i am puzzled by what seems to be almost a parallel processor development
 model that exists with freebsd. when 7 came out people were still
 working on 6.3 i think it was with the aim of going to 6.4 and now with
 7.x underway, there is work being do for 8 (for which you can get a
 snapshot cd. (i seem to recall something similar with debian too).
 
 why would people work on 7.x (and 6.x as well i guess) if 8 is already
 available?

The CURRENT branch (which will become 8.x) is for the hackers to play in
and to give them the opportunity to introduce big, rapid changes without
messing up machines that need to be usable. Some changes might not even
compile at first or lead to crashes.

So the 7.x releases and the 7-STABLE branch is focused more on
reliability and bugfixes.

One older branch 6.x is maintained as a legacy branch for people who
cannot switch to 7.x.

For a more in-depth explanation, see
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html 

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


pgp8HKeNg6jaJ.pgp
Description: PGP signature


Re: understanding freebsd development logic

2009-02-23 Thread Adam Vandemore

prad wrote:

i am puzzled by what seems to be almost a parallel processor development
model that exists with freebsd. when 7 came out people were still
working on 6.3 i think it was with the aim of going to 6.4 and now with
7.x underway, there is work being do for 8 (for which you can get a
snapshot cd. (i seem to recall something similar with debian too).

why would people work on 7.x (and 6.x as well i guess) if 8 is already 
available?
  
Going between branches eg 7.x and 8.x, you may see major kernel 
changes.  Drivers which work in 7 may not work in 8 and vice versa.  If 
you've got something running stable in 7, you're not going upgrade to 8 
just for the sake of running 8.  Changes in versions can introduce 
problems, some unforeseen.  If you have a known set of functionality 
that requires tested stability, you should use the most recent RELEASE 
that covers that functionality.  8.x is not available as a release.  
Security concerns adds a whole new set of variables to your questions.

is the idea to make each version 'as good as possible' because it would still 
be useful for older machines? or is it that later versions can utilize code 
from the earlier versions? or is it something else.
I think generally things are developed for CURRENT then back ported as 
demand and dev time allows.  There are always exceptions.


--
Adam Vandemore
Systems Administrator
IMED Mobility
(605) 498-1610

___
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: hp TC4200 tablet

2009-02-23 Thread prad
On Mon, 23 Feb 2009 23:38:06 +0100
Roland Smith rsm...@xs4all.nl wrote:

  so it is possible that fbsd7.1 may not be able to handle the
  tablet.  
 
 That's not really a FreeBSD problem, but more an Xorg issue. 

but we can't even do a wacdump from the console. doesn't that suggest
that fbsd7 doesn't pickup the serial connection to the tablet?

-- 
In friendship,
prad

  ... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (website)
Information, Inspiration, Imagination - truly a site for soaring I's
___
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: Top returning 0.0% cpu usage

2009-02-23 Thread mojo fms
last pid: 11406;  load averages:  0.07,  0.02,
0.00   up 2+20:54:15  15:36:35
23 processes:  1 running, 22 sleeping
CPU:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  0.0% idle

That is what it is displaying, the load adverage isnt it, its just the CPU
stats.  It always displays 0.0% all the way across the board with the
machine idle or doing any kind of work.

On Sat, Feb 21, 2009 at 10:03 AM, Frank Shute fr...@shute.org.uk wrote:

 On Fri, Feb 20, 2009 at 01:07:54PM -0800, mojo fms wrote:
 
  What would cause top to report back 0.0% cpu usage across the top row?
  It
  shows the minmal adverage and max correctly and seems to show the correct
  amount for the processes.

 How about showing us the lines of top that seem to be a problem?

 I think you are reading the load averages which have a different
 meaning than current cpu usage. They are the load averages over 1, 5
  15 mins respectively. ie: the average number of processes *running*
 (processes spend most of their time idle. RUN in the State column of
 top shows when a process is actually using the cpu).

 If your machine is virtually idle then the 1 minute load average will
 be 0 or close to 0 and is normal.

 If you've just turned on your machine or it's been sitting idle for 15
 mins then the other load averages will also be 0.

 E.g: On this machine doing not a lot:

 last pid: 96158;  load averages:  0.00,  0.04,  0.05up 1+23:50:42
 17:41:46

 (7.1 RELEASE)

 
  Copyright (c) 1992-2009 The FreeBSD Project.
  Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
  The Regents of the University of California. All rights reserved.
  FreeBSD is a registered trademark of The FreeBSD Foundation.
  FreeBSD 7.1-RELEASE #0: Thu Jan  1 14:37:25 UTC 2009
  r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
  Timecounter i8254 frequency 1193182 Hz quality 0
  CPU: Intel Pentium III (996.77-MHz 686-class CPU)
Origin = GenuineIntel  Id = 0x68a  Stepping = 10

 [snip]

 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: understanding freebsd development logic

2009-02-23 Thread prad
On Tue, 24 Feb 2009 00:39:39 +0200
Giorgos Keramidas keram...@ceid.upatras.gr wrote:

 The thesis of Niklas Saers is a bit dated now, but it is a wonderful
 document and it answers this question (including a few others too).
 
 I think it will be an interesting read for you:
 
most certainly!!

i've been going through it quickly and it is really fascinating to see
the historical structure and the development models. 

specifically, this would seem to answer much:

The project provides multiple versions of FreeBSD intended for
audiences with different priorities between the newest features and
rock solid stability and security. This means that the newest minor
release or updates along a security branch are already old in terms of
being well tested when they are released.

and coordinates well with things some of the other posters to this
thread have written.

i rather like this approach because it doesn't let the old stuff just
die (in fact, we just installed 4.4 on some of our machines) and the
idea of backporting is really quite a remarkable concept.

i will look at niklas' thesis in greater detail over the next few days,
so thank you very much for drawing my attention to it.


-- 
In friendship,
prad

  ... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (website)
Information, Inspiration, Imagination - truly a site for soaring I's
___
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


xorg configuration

2009-02-23 Thread Stanley Wright
Hi All,

Have worked on this for a week or more with no success. Running xorgconfig as 
root gives a kde gui that works but once I click anything the screen just goes 
to fuzzy vertical lines. The only other config that really works makes the 
screen and icons really HUGE. Could you point me in the right direction ?

Stan



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

2009-02-23 Thread Chad Perrin
On Mon, Feb 23, 2009 at 04:09:51PM -0500, Jerry wrote:
 On Mon, 23 Feb 2009 12:50:41 -0700
 Chad Perrin per...@apotheon.com wrote:
 
 [snip]
 
 I can see both sides of this argument.  Maybe we need to split up
 FreeBSD documentation into two domains, similarly to the way FreeBSD
 software is split into two domains (core and ports) -- and thus have a
 place outside the FreeBSD handbook for the same,
 more-than-professional quality of documentation, but covering things
 we wouldn't be comfortable putting in the FreeBSD Handbook itself.
 
 Specifically, what is it we are uncomfortable putting in the handbook?
 More importantly, what good is a handbook if it is not complete? Would
 the documentation be cross indexed so a user could find more details on
 a particular subject? Personally, while perfectly plausible, it sounds
 like more work than it is worth.

Did you miss the part where Giorgos Keramidas objected to adding a
context specific hack to the FreeBSD Handbook because that would give it
the appearance of official sanction?

-- 
Chad Perrin [ content licensed OWL: http://owl.apotheon.org ]
Quoth Bjarne Stroustrup: An ugly operation should have an ugly
syntactic form.


pgpTe20QeWl4x.pgp
Description: PGP signature


Re: hi

2009-02-23 Thread Giorgos Keramidas
On Mon, 23 Feb 2009 12:50:41 -0700, Chad Perrin per...@apotheon.com wrote:
On Mon, Feb 23, 2009 at 07:15:35PM +0200, Giorgos Keramidas wrote:
 Documenting such local 'hacks' in the Handbook is a bit like rubber
 stamping them with the official 'recommended by FreeBSD' seal of
 approval.  I am not sure I would like that a lot.  Serious security
 problems may exist in stale, unmaintained ports.  It would be a bit
 bad to make it sound like the entire FreeBSD project approves and
 even recommends this sort of thing.

 I can see both sides of this argument.  Maybe we need to split up FreeBSD
 documentation into two domains, similarly to the way FreeBSD software is
 split into two domains (core and ports) -- and thus have a place outside
 the FreeBSD handbook for the same, more-than-professional quality of
 documentation, but covering things we wouldn't be comfortable putting in
 the FreeBSD Handbook itself.

I think this is already done with doc = wiki stuff.  I am not very good
at writing wiki documentation, but I have installed a Wiki as the starting
page of my laptop's lighttpd instance, in an effort to learn more about
wiki writing by pushing myself to use it for personal notes.

Maybe we can wikify some of the stuff that is not really Handbook-material?

I can definitely try doing 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: hi

2009-02-23 Thread Giorgos Keramidas
On Mon, 23 Feb 2009 16:09:51 -0500, Jerry ges...@yahoo.com wrote:
 Specifically, what is it we are uncomfortable putting in the handbook?
 More importantly, what good is a handbook if it is not complete?

That's one way of looking at it.  The obsessive compulsive perfectionist
perspective is that a Handbook is *never* complete, because by the time
you have finished writing about something in a professional, clean and
amusing to read manner, it has been superseded by recent advances :-)

 Would the documentation be cross indexed so a user could find more
 details on a particular subject?  Personally, while perfectly
 plausible, it sounds like more work than it is worth.

The cross-indexing bits are what made me think about our Wiki while
pondering how to write this sort of stuff.  I will experiment by writing
in plain text first, wikifying bits and pieces later, and see where this
leads me.

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

2009-02-23 Thread Giorgos Keramidas
On Mon, 23 Feb 2009 12:52:00 -0700, Chad Perrin per...@apotheon.com wrote:
On Mon, Feb 23, 2009 at 06:11:55PM +0200, Giorgos Keramidas wrote:
On Mon, 23 Feb 2009 08:19:30 +0100 (CET), Wojciech Puchar 
woj...@wojtek.tensor.gdynia.pl wrote:
 alpine works fine

 I know.  That's why I am not in favor of maintaining pine4 *in* the
 Ports tree.  If someone wants to blow their foot off, however, then
 it's fine with me, as long as they know what they are doing when they
 point the cvs update gun backwards in time :)

 Wait -- what?  Keeping it out of the core isn't good enough . . . ?

I'm sorry Chad.  I lost you there.  What 'core' are we talking about?

___
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: What's the simplest way to get a fresh copy of the source code for the system

2009-02-23 Thread Erich Dollansky
Hi,

On Mon, 2009-02-23 at 01:15 +, af300...@gmail.com wrote:

 My churches web server is having problems compiling world for FreeBSD  
 7.0-p10 (I believe I just did the csup last night). It gets to this point  
 and then stops with this error:

so, you did what you are supposed to do to get the latest source.
 
 So, basically, the question for everyone here is, what's the simplest way  
 to get a fresh source code tree so that I can build the world applications?
 
If you want to make sure that nothing damaged is in your way, delete
everything under /usr/src except of your configuration file.

You also could use this to upgrade to 7.1.

Erich

___
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: xorg configuration

2009-02-23 Thread Vasadi I. Claudiu Florin

hmm, I'm guessing here, but here goes

1.I see you have the default vga driver, try using the one for your  
specific video card (dnt ask me, I dnt know wich one it is for intel video  
cards)

1.1 Still, that should not be the problem
2. Does this happen at all video resolutions/Hz refresh rates ?
3. How did you install the Xorg and the Window Manager (ports or pkg_) and  
btw what kind of WM do you have? xfce? kde? gnome? something else?
4. Last but not least; when you did xorgconfig, did you not find in the  
driver list a driver for intel video cards ?

___
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 multiboot question.

2009-02-23 Thread Overdorf, Sam
I have three partitions loaded with different versions of FreeBSD.
I have the multiboot option working and it shows the following:

F1 FreeBSD
F2 FreeBSD
F3 FreeBSD

Is there a way that I can change the description from FreeBSD to something 
like:

F1 FreeBSD 7.1
F2 FreeBSD 7.0
F3 FreeBSD 6.4

Thanks,
Sam

___
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: FreeBSD multiboot question.

2009-02-23 Thread Glen Barber
On Mon, Feb 23, 2009 at 8:35 PM, Overdorf, Sam sam.overd...@intel.com wrote:
 I have three partitions loaded with different versions of FreeBSD.
 I have the multiboot option working and it shows the following:

 F1 FreeBSD
 F2 FreeBSD
 F3 FreeBSD

 Is there a way that I can change the description from FreeBSD to something 
 like:

 F1 FreeBSD 7.1
 F2 FreeBSD 7.0
 F3 FreeBSD 6.4


The standard bootloader cannot be configured after install.  Other
options to do this would be to install GRUB or LILO.

-- 
Glen Barber
___
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: FreeBSD multiboot question.

2009-02-23 Thread Polytropon
On Mon, 23 Feb 2009 17:35:00 -0800, Overdorf, Sam sam.overd...@intel.com 
wrote:
 Is there a way that I can change the description from FreeBSD to something 
 like:
 
 F1 FreeBSD 7.1
 F2 FreeBSD 7.0
 F3 FreeBSD 6.4

As far as I understood, the names displayed are generic ones. In
order to change them or even made to fit them to a particular OS
version on a different slice / disk, modifying the bootloader's
source is neccessary (followed by recompilation and reinstall).

Other bootloaders may have an easier option to change the displayed
names.



-- 
Polytropon
From 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: FreeBSD multiboot question.

2009-02-23 Thread Giorgos Keramidas
On Mon, 23 Feb 2009 17:35:00 -0800, Overdorf, Sam sam.overd...@intel.com 
wrote:
 I have three partitions loaded with different versions of FreeBSD.
 I have the multiboot option working and it shows the following:

 F1 FreeBSD
 F2 FreeBSD
 F3 FreeBSD

 Is there a way that I can change the description from FreeBSD to
 something like:

 F1 FreeBSD 7.1
 F2 FreeBSD 7.0
 F3 FreeBSD 6.4

Not with the default boot0 loader.  The strings you see are hardcoded in
the limited space of the master boot record[1], and the assembler source
for the 512 bytes of the MBR even uses 'overlapping strings' to cover
other BSD-related (but not necessarily FreeBSD-specific) partition types
using as little space as possible.

You can read the source of the `boot0' MBR in x86 assembler through the
web interface of Subversion[2].  Look near line 623 for the code that
reads:

/*
 * Offsets that match the known types above, used to point to the
 * actual partition name. The last entry must point to os_misc,
 * which is used for non-matching names.
 */
.byte os_linux-.# 131, Linux
.byte os_freebsd-.  # 165, FreeBSD
.byte os_bsd-.  # 166, OpenBSD
.byte os_bsd-.  # 169, NetBSD

If you want longer names, or even a graphical boot menu, you can always
install some other boot loader.  AFAIK, two of the most popular options
are `sysutils/grub' or `sysutils/syslinux'.

Note that the version of GRUB we have in the Ports is a bit old.  It is
a version of GRUB 0.9X, and development of GRUB has moved to GRUB 2.X
now[3].  It seems that the `sysutils/syslinux' port tracks the vendor
releases more aggressively.

Notes:
--
[1] http://en.wikipedia.org/wiki/Master_boot_record
[2] 
http://svn.freebsd.org/viewvc/base/head/sys/boot/i386/boot0/boot0.S?annotate=HEAD
[3] http://www.gnu.org/software/grub/
___
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: xorg-fbserver / xorg-server fails upgrade

2009-02-23 Thread cpghost
On Mon, Feb 16, 2009 at 03:27:15PM +0100, Ewald Jenisch wrote:
 Hi,
 
 While upgrading a machine during upgrade of
 /usr/ports/x11-servers/xorg-vfbserver/work/xorg-server-1.5.3 the build
 process fails with the errors given below.

Same problem here.

glxdriswrast.c:39:39: error: GL/internal/dri_interface.h:
  No such file or directory
  In file included from glxdriswrast.c:49:
  glxdricommon.h:32: error: expected ':', ',', ';', '}' or
  '__attribute__' before'*' token

(...)

glxdriswrast.c:530: error: '__GLXDRIscreen' has no member named 'driver'
glxdriswrast.c:531: error: '__GLXDRIscreen' has no member named 'driver'
*** Error code 1

Stop in /usr/ports/x11-servers/xorg-server/work/xorg-server-1.5.3/glx.
*** Error code 1

A painful Xorg upgrade indeed... :-(

 Any ideas what can be wrong here and how to overcome this problem?

No idea. I'm stuck here. Any hint?

 Thanks much in advance for any clue,
 -ewald
 
 PS: FreeBSD 7.1, AMD64 platform, kernel/system up2date as per Feb 5.

Same here on
  FreeBSD 7.1-STABLE #0: Sun Feb 22 22:26:25 CET, GENERIC, amd64
with current ports tree.

Thanks,
-cpghost.

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


Re: a strange question about OSs

2009-02-23 Thread Valentin Bud
On Mon, Feb 23, 2009 at 5:16 PM, Jerry McAllister jerr...@msu.edu wrote:

 - Show quoted text -
 On Mon, Feb 23, 2009 at 03:17:44PM +0200, Reko Turja wrote:

 
  --
  From: Redd Vinylene reddvinyl...@gmail.com
  Sent: Monday, February 23, 2009 11:55 AM
  To: questions questi...@freebsd.org
  Subject: Re: a strange question about OSs
 
  On Mon, Feb 23, 2009 at 9:06 AM, Valentin Bud
  valentin@gmail.comwrote:
  
  Hello Community,
  
   The following question may sound very ackward but was OS is
  suitable from
  the following list
  to replace FBSD:
  
- OpenSUSE 10.3
- Debian 4.0
- CentOS 5
  
  The company i work for wants to change the provider because of the
  economical crisis to
  save some money. The actual provider gave us the chance to install
  our OS
  but the one
  they chose as a replacement doesn't give any other choice besides
  the above
  mentioned.
  
  I work for 2 years in IT and FBSD is the only OS i have ever used
  in
  production. I like it and
  learned it a little bit. It is going to be a steep learning curve
  with the
  new OS which I'm not afraid
  of but i would like to chose a suitable OS and one that has some
  similarities with FBSD.
  
  thank you,
  v

 This confuses me a little.
 Wouldn't FreeBSD be the more economical route?

 I can't imagine saving money moving from FreeBSD to
 one of those listed.  FreeBSD is free and seems to
 take less administration hours than those others.
 Certainly you do not gain anything in quality or
 reliability.

 Oh, I see in re-reading that it is not your company, but
 your potential new service provider that wants to force
 you to switch OS.   Well, there is more than one way to
 gain economy.   Switching to something inferior - of poorer
 service level is not a gain in economy.

 So, maybe you should try suggesting FreeBSD to that provider.
 All they need to do is insert the install CD in to the machine
 anyway.You can do the rest.


That's what i thought. I will try to speak with them about this option.

thank you,
v




 jerry
 - Show quoted text -


  
  
  I doubt you'll find anything suitable after getting accustomed to
  FreeBSD.
  
  --
  http://www.home.no/reddvinylene
  ___
  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
 
 ___
 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: hi

2009-02-23 Thread Chad Perrin
On Tue, Feb 24, 2009 at 02:25:22AM +0200, Giorgos Keramidas wrote:
 
 I think this is already done with doc = wiki stuff.  I am not very good
 at writing wiki documentation, but I have installed a Wiki as the starting
 page of my laptop's lighttpd instance, in an effort to learn more about
 wiki writing by pushing myself to use it for personal notes.
 
 Maybe we can wikify some of the stuff that is not really Handbook-material?
 
 I can definitely try doing that :)

I'd definitely support such an effort.

-- 
Chad Perrin [ content licensed OWL: http://owl.apotheon.org ]
Quoth Anonymous C Professor: To work on a program with the compiler in
debug mode and then to sell it compiling it without the debug option is
like learning to swim with floaters and then taking them off to swim
across the Atlantic.


pgp2ZGdWxXIUC.pgp
Description: PGP signature


Re: hi

2009-02-23 Thread Chad Perrin
On Tue, Feb 24, 2009 at 02:28:51AM +0200, Giorgos Keramidas wrote:
 On Mon, 23 Feb 2009 12:52:00 -0700, Chad Perrin per...@apotheon.com wrote:
 
  Wait -- what?  Keeping it out of the core isn't good enough . . . ?
 
 I'm sorry Chad.  I lost you there.  What 'core' are we talking about?

I'm talking about the base system, as opposed to the ports system.  Sorry
about the confusion, I've been reading a lot about core-vs.-library
choices for a couple of different programming languages, and accidentally
swapped terminology when referring to FreeBSD.

-- 
Chad Perrin [ content licensed OWL: http://owl.apotheon.org ]
Quoth C. Hoare: Two ways of constructing software: (1) make it so
simple that there are obviously no bugs, (2) make it so complicated that
there are no obvious bugs. Making it simple is far more difficult.


pgp4veuL00A5R.pgp
Description: PGP signature


Re: apache an display order/prefrence of directories to files

2009-02-23 Thread Mel
On Thursday 19 February 2009 21:55:19 Warren Liddell wrote:
 I have a lot of various files in a dir i share to a few relatives an
 friends and i want Directories shown first in Alphabetical order, then
 files .. is there a way to specify this in apache ?

 Im running Apache 1.3.41 on FreeBSD 7.1-STABLE KDE4.2

http://httpd.apache.org/docs/1.3/mod/mod_autoindex.html#indexorderdefault
http://httpd.apache.org/docs/1.3/mod/mod_autoindex.html#indexoptions

In short:
Directory /foo/bar/baz
Options +Indexes
IndexOptions FancyIndexing FoldersFirst
IndexOrderDefault Ascending Name
/Directory
-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
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: Accessing /dev/lpt0 in a Jail

2009-02-23 Thread Mel
On Monday 23 February 2009 12:32:39 Jasvinder S. Bahra wrote:

 [r...@pearl ~]# ls -al /dev/lpt*
 crw---  1 root  wheel0,  53 Feb 23 21:11 /dev/lpt0
 crw---  1 root  wheel0,  54 Feb 23 21:11 /dev/lpt0.ctl

 I need the device nodes to have 0660 permissions and root:cups ownership. 
 I can easily make these changes using the chown and chmod tools, but the
 changes do not survive a system reboot.  Following some further research, I
 understand I can make these changes occur automatically by adding some
 entries in the jail's /etc/devfs.conf file...

You should repeat this to yourself, about 10-20 times, daily, so you don't 
forget ;)
devfs.conf is for devices available at boot time, but devfs.rules rule after

Ergo, making changes to devfs.conf does nothing till the next boot.

 I also tried creating a device ruleset in the jail (i.e. creating a
 /etc/devfs.rules file in the jail)...

 [localrules=5]
 add path 'lpt*' mode 0660 group cups

 ...and then applying that ruleset by adding the following to the jail's
 /etc/rc.conf

Prisoners don't get to decide which doors are opened. Thus, devfs_* is 
completely ignored inside prison walls. The host sets up the 
${JAIL_ROOT}/dev.
In the hosts /etc/devfs.rules, you can set:
[devfsrules_jail_pearl=5]
add include $devfsrules_hide_all
add include $devfsrules_unhide_basic
add include $devfsrules_unhide_login
add path 'lpt*' mode 0660 group cups unhide

Then add to /etc/rc.conf:
jail_pearl_devfs_ruleset=devfsrules_jail_pearl

Inform with ezjail author how to make this ez ;)

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
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: What is correct way to enable watchdog?

2009-02-23 Thread Mel
On Monday 23 February 2009 12:11:38 Peter Steele wrote:

 We assumed this would give us a watchdog timeout of 300 seconds (5
 minutes), meaning a system would not reboot unless it is non-responsive for
 five minutes.

No, meaning, if a system is unresponsive for 300 seconds, action will be 
taken. watchdogd will not prevent proper reboots, panics or power failures.

 However, in a recent stress test we had unexplained 
 spontaneous reboots on two systems, with no logs of any kind to indicate
 why the systems rebooted.

Panic, or overheating. Check the dumpdev/dumpdir variables in rc.conf(5).
-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
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