Re: FreeBSD 6 on Centrino laptop : how to prolong battery life with cpufreq (like est and estctrl did)

2005-11-13 Thread J. Martin Petersen
Miles Keaton wrote:
Miles Keaton wrote:

I'm happily using FreeBSD 6 on a Centrino laptop, but wondering if
anyone can explain (for dummies) how to use the new cpufreq +
SpeedStep to throttle-down my CPU usage and extend battery life - the
way that sysutils/est and sysutils/estctrl used to do in FreeBSD 5?
 
 On 11/12/05, J. Martin Petersen [EMAIL PROTECTED] wrote:
 
I'm using powerd, it's working great.
 
 Any advice on usage?  I tried it and got this error:
 
 # powerd -a minimum
 powerd: lookup freq: No such file or directory

Have you loaded the cpufreq kernel module. I'm not sure if the man-page
is verbose enough on this issue.

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


Re: FreeBSD 6 on Centrino laptop : how to prolong battery life with cpufreq (like est and estctrl did)

2005-11-12 Thread J. Martin Petersen
Miles Keaton wrote:
 I'm happily using FreeBSD 6 on a Centrino laptop, but wondering if
 anyone can explain (for dummies) how to use the new cpufreq +
 SpeedStep to throttle-down my CPU usage and extend battery life - the
 way that sysutils/est and sysutils/estctrl used to do in FreeBSD 5?

I'm using powerd, it's working great.

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


Re: Software to monitor RAID 5 Hardware on Dell Server.

2005-10-07 Thread J. Martin Petersen
Jayesh Jayan wrote:
 Hi,
 
 I had disturbed you all with some doubts regarding freebsd before.
 
 Now i have servers up and running.
 
 I am using the monitoring tool named nagios for checking the services run on
 the server.
 
 Now i am in need of a software or so to monitor the RAID hardware ..
 
 Below is the URL to the specification of Dell server which I use.
 
 http://www1.us.dell.com/content/products/productdetails.aspx/pedge_2850?c=uscs=04l=ens=bsd#tabtop
  Please guide me on this.

Have a look at sysutils/megarc from ports. You can use it to query LSI
MegaRAID-based controllers (like the Dell Perc4). It is severely lacking
documentation, but it works. You can for instance use
megarc -dispCfg -a0
to show the status for the RAIDs on the first controller.

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


Re: groupadd/useradd in FreeBSD?

2005-07-28 Thread J. Martin Petersen

Xu Qiang wrote:
Hi, all: 

I am installing MySQL 4.1.13 into my machine. It has finished successfully. But before or after that, I need create some user account rather than root by the command groupadd mysql and useradd -g mysql mysql. 

However, these commands are not found in my FreeBSD 5.3 system. 


Any help on this issue?


You're looking for adduser(8). If you install MySQL from ports, though, 
the user will be added automatically.


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


Per CPU load statistics

2005-07-12 Thread J. Martin Petersen
Hi

Is it possible to get per CPU (load) statistics? It seems cp_time is a
sum for all the CPUs, so is there another way to get this information?

Cheers, Martin

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


Re: ircd

2005-06-08 Thread J. Martin Petersen
kalin mintchev wrote:
 
 hi all...
 
 i found this 2 lines in the netstat output on one of my machines. we are
 not running ircd and according to nmap ports 3483 and 2143 are closed...
 
 can somebody please explain??   thanks.
 
 tcp4   0  0  server.3484  zagreb.hr.eu.und.ircd 
 ESTABLISHED
 tcp4   0  0  server.2143  free.tyranz.com.ircd  
 ESTABLISHED

Try using sockstat (with -4 -p 6667 for instance) to see who has the
sockets open.

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


Re: VPN through a FreeBSD firewall?

2005-05-03 Thread J. Martin Petersen
Per B wrote:
 Second question: someone told me that the ZyXEL cannot handle 24 Mbit,
 therefor I want to use the FreeBSD box instead. Can FreeBSD handle 24Mbit
 from the ADSL modem? I think it can, anyone against? ;-)

We're using a FreeBSD 5.3 machine with pf and AltQ as our
firewall/gateway/nat-solution for our 26 MBit link. We have about 1000
users, and it works flawlessly, but I guess it depends on what kind of
hardware you're using.

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


Re: xfce4 error

2005-03-25 Thread J. Martin Petersen
Matt Juszczak wrote:
Installed xorg and xfce4 
Then I get the following.  Any ideas?  Thank you!
-Matt
---snip---
heather$ startxfce4
/usr/X11R6/bin/startxfce4: Starting X server
X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: FreeBSD 5.3 i386 [ELF]
Current Operating System: FreeBSD heather 5.3-RELEASE FreeBSD 
5.3-RELEASE #0: Fri Nov  5 04:19:18 UTC 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386
Build Date: 25 March 2005
   Before reporting problems, check http://wiki.X.Org
   to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Fri Mar 25 03:26:15 2005
(==) Using config file: /etc/X11/XF86Config
xscreensaver: not found
Agent pid 18253

** (xfce-mcs-manager:18257): CRITICAL **: find_master: assertion 
`mixer_handle != -1' failed

** (xfce-mcs-manager:18257): WARNING **: oss: No master volume
_IceTransmkdir: ERROR: euid != 0,directory /tmp/.ICE-unix will not be 
created.
_IceTransSocketUNIXCreateListener: mkdir(/tmp/.ICE-unix) failed, errno = 2
_IceTransMakeAllCOTSServerListeners: failed to create listener for local
xfce4-session: Unable to establish ICE listeners: Cannot establish any 
listening sockets
Agent pid 18253 killed

waiting for X server to shut down The application 'xfce-mcs-manager' 
lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
Maybe the following from /usr/ports/UPDATING can help?
|20050126:
|  AFFECTS: users of x11-wm/xfce4
|  AUTHOR: [EMAIL PROTECTED]
|
|  If you use Xorg 6.8.1: Make shure there is an /tmp/.ICE-unix with
|  propper rights. For further informations about that, please refer to
|  2004122
|  Please update all your plugins as well when you update from 4.0.6 to
|  4.2. They all need recompiling to link against the new xfce libraries
Cheers, Martin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]