Recover Make ARG's from a ports Install

2007-03-12 Thread Alexander Schlichting
 

On a server I have a package installed using ports and now I have to install
the package with exactly the same make arguments on another server. I just
don't find a way to see what arguments where used to install it the first
time. With Linux I would look into config.status is there something similar
with FreeBSD? Sorry for having to ask but I am using FreeBSD for the first
days now after 5 years using Linux only :)

 

-Alex

 

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


Re: FreeBSD on IDE Flash disk drive

2007-03-12 Thread Nejc Škoberne

Hi Paul,


I am booting from a 512MB CF card, and run /var and /tmp from a RAM drive.
Upon startup, the CF card /var and /tmp dir. are copied into the ram drives,
the rest is Read Only.  When it shuts down (not very often), the ram drive
contents are copied back to the CF card.  You could backup the ram drive to
CF more frequently if required.  I run off of 12V battery, so power failures
don't affect me all that much. You could monitor the Battery/UPS for power
failure conditions if needed etc.  Running FreeBSD 6.0.


Cool! Is there a proper way of copying from/to /var and /tmp at boot and at
shutdown or did you make the scripts on your own?

So far, my boxie has be running flawlessly, I have also hard-rebooted it during
a file copy and everything was OK with the filesystem. However, I put in two
flash drives and made a gmirror out of them for redundancy.

Today I am putting it to a remote location and I hope everything will run there
too.

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


Re: Vt102 at home

2007-03-12 Thread Wojciech Puchar


Like Mr Wojciech Puchar,  I have a VT100 clone here at home... that I
use for kernel
debug on a 9600 com1 port... and it works soo good..

May be when you are 55 (or 64 as the beatles song)... you will use
konsole and the boys  will use
some kind of brain cortex  wired interface


and some will still use minimal interfaces because it's more functional.

and i think my wyse will still work, because such old things works very 
long and doesn't fail.

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


Re: polling my FreeBSD compariots...

2007-03-12 Thread Wojciech Puchar

default, window frames and titles removed,

all screen available for ACTUAL USE.



All easily attainable in E17.  :)


put a config for E17 for those interested.

my .fvwm2rc, but it uses /etc/wm-menus/Fvwm-pl with program menu. you may 
write it yourself or use my menugen program.


set with assumption that it's 1024x768 screen


WindowFont  -adobe-courier-medium-r-*-*-14-*-*-*-*-*-iso8859-2
MenuStyle white black white 
-adobe-helvetica-medium-r-*-*-14-*-*-*-*-*-iso8859-2 fvwm
OpaqueMoveSize 100
EdgeScroll 5 5
EdgeResistance 1 1
DeskTopSize 2x2
#ImagePath /usr/pkg/share/fvwm2/images/:/usr/pkg/include/X11/pixmaps/:
Style * NoTitle, HintOverride, SmartPlacement, NoPPosition, BorderWidth 0, 
HandleWidth 0
Style Fvwm*Sticky, WindowListSkip

Read /etc/wm-menus/Fvwm-pl

DestroyMenu StartMenu
AddToMenu StartMenu
+ FreeBSD Apps  Popup FreeBSD
+ Quit fvwm2Quit 
+ Restart Fvwm2	Restart



#AddToFunc Move-or-Raise M Move
#+ M Raise
#+ C Raise
#+ D Maximize 100 100

Mouse 1 I   A   Iconify False
Mouse 1 W   C   Maximize 100 100
Mouse 2 W   C   RaiseLower
Mouse 3 WI  C   Close
Mouse 1 W   4   Move
Mouse 2 WI  4   Iconify
Mouse 3 W   4   Resize
Key Right   A   4   Desk 1
Key LeftA   4   Desk -1
Key F1  A   4   Desk 0 0
Key F2  A   4   Desk 0 1
Key F3  A   4   Desk 0 2
Key F4  A   4   Desk 0 3
Key F5  A   4   Desk 0 4
Key F6  A   4   Desk 0 5
Key F7  A   4   Desk 0 6
Key F8  A   4   Desk 0 7
Key F9  A   4   Desk 0 8
Key F10 A   4   Desk 0 9
Key F11 A   4   Desk 0 10
Key F12 A   4   Desk 0 11
Key F1  A   C   Desk 0 21
Key F2  A   C   Desk 0 22
Key F3  A   C   Desk 0 23
Key F4  A   C   Desk 0 24
Key F5  A   C   Desk 0 25
Key F6  A   C   Desk 0 26
Key F7  A   C   Desk 0 27
Key F8  A   C   Desk 0 28
Key F9  A   C   Desk 0 29
Key F10 A   C   Desk 0 30
Key F11 A   C   Desk 0 31
Key F12 A   C   Desk 0 32
Key M   A   4   Menu StartMenu
Key MenuA   A   Menu StartMenu
Key X   A   4   Exec exec xterm -geometry 102x38+0+0 -ls
Key W   A   4   WindowList
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: getting mail to work

2007-03-12 Thread Wojciech Puchar
of SPF (Sender Policy Framewokr) would immediately identify it as a spoof, 
and will be blocked.


To learn more about this system, see

http://www.openspf.org/


if the same machine is for sending and receiving mail simply putting

IN TXT v=spf1 mx -all

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


Re: polling my FreeBSD compariots...

2007-03-12 Thread Wojciech Puchar

web
browser works best with your recommendation?


evilwm on xorg with xfmail and opera and an .xinitrc of:

evilwm 
exec xsetroot -cursor_name ul_angle 
exec xset m 19/5 12 b 90 880 12 
exec swisswatch -geometry -0+0


the best watch using least space on screen is the one hanging on the wall 
:)




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



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


Box reboots when X.org goes fullscreen

2007-03-12 Thread Andrea Venturoli

Hello.
I'm running FreeBSD 6.2/i386 with X.org 6.9.0 on a box with an MGA G450 
card.
As soon as I launch any app that tries to go fullscreen (e.g. dosbox), 
this box will reboot without displaying any message or leaving a crash dump.


Any hint on how to start diagnosing this?

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


No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-12 Thread hxc
I am trying for several days now to get 3d acceleration working on 
FreebSD for my XFX 7800 GS. But nothing what I've tried worked :-( . 
Below is a collection of useful information I've gathered thus far. Who 
can help me?

*
# sysctl hw.nvidia.agp.status*
hw.nvidia.agp.status.status: disabled
hw.nvidia.agp.status.driver: n/a (unused)
hw.nvidia.agp.status.rate: n/a (disabled)
hw.nvidia.agp.status.fw: n/a (disabled)
hw.nvidia.agp.status.sba: n/a (disabled)

*# glxinfo | fgrep direct*
Xlib: connection to :0.0 refused by server
Xlib: No protocol specified

Error: unable to open display (null)

*# cat /var/log/Xorg.0.log | grep nvidia*
(II) LoadModule: nvidia
(II) Loading /usr/X11R6/lib/modules/drivers/nvidia_drv.so
(II) Module nvidia: vendor=NVIDIA Corporation

*# cat /var/log/Xorg.0.log | grep NVIDIA*
(II) Module glx: vendor=NVIDIA Corporation
(II) Module nvidia: vendor=NVIDIA Corporation
(II) NVIDIA dlloader X Driver  1.0-9746  Tue Dec 19 13:23:45 PST 2006
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(--) Chipset NVIDIA GPU found
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(0): Option NvAGP 1
(**) NVIDIA(0): Enabling RENDER acceleration
(**) NVIDIA(0): Use of NVIDIA internal AGP requested
(II) NVIDIA(0): NVIDIA GPU GeForce 7800 GS at PCI:1:0:0 (GPU-0)
(--) NVIDIA(0): Memory: 262144 kBytes
(--) NVIDIA(0): VideoBIOS: 05.71.22.21.0a
(--) NVIDIA(0): Interlaced video modes are supported on this GPU
(--) NVIDIA(0): Connected display device(s) on GeForce 7800 GS at PCI:1:0:0:
(--) NVIDIA(0): PHILIPS 109S4 (CRT-0)
(--) NVIDIA(0): NVIDIA TV Encoder (TV-0)
(--) NVIDIA(0): PHILIPS 109S4 (CRT-0): 400.0 MHz maximum pixel clock
(--) NVIDIA(0): NVIDIA TV Encoder (TV-0): 400.0 MHz maximum pixel clock
(--) NVIDIA(0): TV encoder: NVIDIA
(II) NVIDIA(0): Assigned Display Device: CRT-0
(II) NVIDIA(0): Validated modes:
(II) NVIDIA(0): 1280x1024
(II) NVIDIA(0): Virtual screen size determined to be 1280 x 1024
(--) NVIDIA(0): DPI set to (90, 96); computed from UseEdidDpi X config
(--) NVIDIA(0): option
(II) NVIDIA(0): Setting mode 1280x1024
(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(**) NVIDIA(0): DPMS enabled

*# dmesg | grep nvidia*
nvidia0: GeForce 7800 GS mem 
0xfb00-0xfbff,0xe000-0xefff,0xfa00-0xfaff irq 16 
at device 0.0 on pci1

nvidia0: [GIANT-LOCKED]

*# tail /boot/device.hints*
[code]hint.ie.0.maddr=0xd
hint.fe.0.at=isa
hint.fe.0.disabled=1
hint.fe.0.port=0x300
hint.lnc.0.at=isa
hint.lnc.0.disabled=1
hint.lnc.0.port=0x280
hint.lnc.0.irq=10
hint.lnc.0.drq=0
hint.agp.0.disabled=1

*# cat  /boot/loader.conf*
nvidia_load=YES
linux_load=YES
snd_emu10k1_load=YES

*Motherboard:*
Asus A8V deluxe
ChipsetVIA K8T800 Pro
North bridgeVIA K8T800 Pro
South bridgeVIA VT8237

*# cat /etc/X11/xorg.conf*
Section ServerLayout
   Identifier X.org Configured
   Screen  0  Screen0 0 0
   InputDeviceMouse0 CorePointer
   InputDeviceKeyboard0 CoreKeyboard
EndSection

Section Files
   RgbPath  /usr/X11R6/lib/X11/rgb
   ModulePath   /usr/X11R6/lib/modules
   FontPath /usr/X11R6/lib/X11/fonts/misc/
   FontPath /usr/X11R6/lib/X11/fonts/TTF/
   FontPath /usr/X11R6/lib/X11/fonts/Type1/
   FontPath /usr/X11R6/lib/X11/fonts/CID/
   FontPath /usr/X11R6/lib/X11/fonts/75dpi/
   FontPath /usr/X11R6/lib/X11/fonts/100dpi/
EndSection

Section Module
   Load  dbe
#   Load  dri
   Load  extmod
   Load  glx
   Load  record
   Load  xtrap
   Load  freetype
   Load  type1
EndSection

Section InputDevice
   Identifier  Keyboard0
   Driver  kbd
EndSection

Section InputDevice
   Identifier  Mouse0
   Driver  mouse
   Option  Protocol auto
   Option  Device /dev/sysmouse
   Option  ZAxisMapping 4 5 6 7
EndSection

Section Monitor
   #DisplaySize  360   270 # mm
   Identifier   Monitor0
   VendorName   PHL
   ModelNamePHILIPS 109S4
### Comment all HorizSync and VertSync values to use DDC:
   HorizSync30.0 - 92.0
   VertRefresh  50.0 - 160.0
   Option  DPMS
EndSection

Section Device
   ### Available Driver options are:-
   ### Values: i: integer, f: float, bool: True/False,
   ### string: String, freq: f Hz/kHz/MHz
   ### [arg]: arg optional
   #Option SWcursor  # [bool]
   #Option HWcursor  # [bool]
   #Option NoAccel   # [bool]
   #Option ShadowFB  # [bool]
   #Option UseFBDev  # [bool]
   #Option Rotate# [str]
   

Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-12 Thread Armin Pirkovitsch
[EMAIL PROTECTED] wrote:
 I am trying for several days now to get 3d acceleration working on
 FreebSD for my XFX 7800 GS. But nothing what I've tried worked :-( .
 Below is a collection of useful information I've gathered thus far. Who
 can help me?

 *# glxinfo | fgrep direct*
 Xlib: connection to :0.0 refused by server
 Xlib: No protocol specified

try glxinfo as the user which runs the xserver not as root (and only
when the x server is running)
(or run xhost + as the user who runs the xserver before you use glxinfo
as root or any other user - however i wouldn't recommend this version)

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


Re: Box reboots when X.org goes fullscreen

2007-03-12 Thread Wojciech Puchar
As soon as I launch any app that tries to go fullscreen (e.g. dosbox), this 
box will reboot without displaying any message or leaving a crash dump.


Any hint on how to start diagnosing this?


make debug kernel (makeoptions DEBUG=-g) and see in the crash
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Periodic xl watchdog timeouts on 6.2-RELEASE

2007-03-12 Thread Wojciech Puchar

reboots from kernel panics.  Replacing the NIC
solved it.


It's possible, but I've tried 3 different 3c905C's between the two
(top-most) slots I'm using for them, and they all have the same symptom,


set up speed and half/full duplex manually and it should fix a problem. at 
least did for me

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


Re: Assemblers for FreBSD

2007-03-12 Thread Nikos Vassiliadis
On Sunday 11 March 2007 18:52, Patrick Bowen wrote:
 If one wanted to learn Assembly Language Programming, would he be better 
 served starting with as(1) or nasm(1)?

as(1) is the assembler used in the building procedure,
making it your logical choice for operating system
programming. It uses the ATT syntax of UNIX heritage.
It understands Intel's syntax as well. Keep in mind that
the code in the tree is in ATT syntax. I guess that
must be true for all Unix-like operating systems. Last
time I checked, nasm was intel only.

I think that nasm mainly served people coming from
DOS, people that already knew the Intel syntax. If
I was about to try assembly, I would learn ATT. I
think there is more code in Intel syntax though,
mainly in the graphics area.

It depends on what your purpose is. Operating system
programming is dominated by as(1).

 Also, are either of those  
 applicable to AMD64, or just i386?

Since as(1) is the only assembler in the tree, and
FreeBSD can build itself... as(1) supports many
machines...

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


Re: polling my FreeBSD compariots...

2007-03-12 Thread [EMAIL PROTECTED]

On 12/03/07, Wojciech Puchar [EMAIL PROTECTED] wrote:

 web
 browser works best with your recommendation?

 evilwm on xorg with xfmail and opera and an .xinitrc of:

 evilwm 
 exec xsetroot -cursor_name ul_angle 
 exec xset m 19/5 12 b 90 880 12 
 exec swisswatch -geometry -0+0

the best watch using least space on screen is the one hanging on the wall
:)



Something needs to be the key process,
evilwm does not care to handle shutting
down X.  alt-tab to swisswatch, ctl-alt-esc
and X closes down rather more neatly than
ctl-alt-bkspc.

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


Problem with kdm

2007-03-12 Thread Leslie Jensen

Hi

I have a little problem with kdm. When I try to sign on the screen 
reverts back to the login dialog after a few seconds. I can use xdm 
without any problems.


The problem started when I switched my soundcard from an external 
soundblaster to the onboard Intel. I'm using the Intel HDA driver and it 
works! The KDE sound does not work but mplayer for example has sound.


I've recompiled KDE but there's no change.

I need suggestions on how to analyze this problem and to get kdm to work 
again.


Thanks

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


Re: Howmany CPU Does FreeBSD Support ?

2007-03-12 Thread Wojciech Puchar

for machines doing mostly fileserving and routing even 2 CPUs may
be not well utilized


That is only true if the process is giant locked. When look at dmesg,
look for things that say GIANT-LOCKED and those will be ones confined
to one processor. There has been a massive push since 5 to get ride
of those.


top shows giant-lock RARELY when i observe my machines.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: The FreeBSD's Implementation Language

2007-03-12 Thread Wojciech Puchar


Sort of.  Great parts of FreeBSD, in fact the vast majority of
the source code, is written in C.  But it is not *completely*
written in C.


groff is in C++ AFAIK, lots of shell or perl code to support compiling, 
some assembly, adaptec microcode assembler  etc.


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


Re: Kill a hanged disk i/o process...

2007-03-12 Thread Nikos Vassiliadis
On Friday 09 March 2007 23:52, Modulok wrote:
 How do I work-around a situation where cp, hangs forever?

You can try several things:
1) mount read-only and try to copy the data.
   dd(1) might be a better choice than cp(1),
   read more bellow.

2) unmount and dump(8) the filesystem.

3) use dd(1) to copy the filesystem to a file(use
conv=noerror,sync to ignore I/O errors)

I assume that:
1) your operating system lives in a healthy disk and
2) you have the needed space in this healthy disk
to copy the data.

Keep in mind the warning from the BUGS section in
mount(8) manual page: 
 It is possible for a corrupted file system to cause a crash.

I would use method 3 first, which would give me the
opportunity to try different things, without having
to do them on the actual filesystem, but on the file-
backed filesystem, for example fsck(8).

HTH, Nikos

 
 -Modulok-
 
 On 3/9/07, Nikos Vassiliadis [EMAIL PROTECTED] wrote:
  On Friday 09 March 2007 15:28, Modulok wrote:
   Thank you for your reply, it was quite informative and very much
   appreciated, but the underlying question remains un-answered:
  
   How do you kill a hanged process that (seemingly) cannot be killed because
   of the two conditions below?
  
   -It's hanged, so it's not ever going to self terminate.
   -It's a disk i/o process so not even root can kill it.
  
 
  As I said before disk I/O is irrelevant.
 
   The gentle shutdown solution doesn't work: Even during shutdown the
  process
   cannot be killed: it's hanged, it's disk i/o.
  
   How do you kill an un-killable process?
 
  What makes you believe there is another official way
  to kill a process?
 
  Perhaps you should ask How do I work-around a situation
  where my rm, cp, whatever hang forever?, if that's what
  you are looking for.
 
   -Modulok-
  
  
   On 3/9/07, Nikos Vassiliadis [EMAIL PROTECTED] wrote:
   
On Thursday 08 March 2007 13:49, Modulok wrote:
 To the best of my knowledge, most processes can be killed explicitly
 by kill -s KILL; There are a few which cannot, such as disk i/o
 processes. The idea here is data integrity.
   
A process might be in cannot-be-killed condition while
in kernel e.g. during a system call. That has to do with
the completion of the system call, not with data integrity.
The kernel tries to complete what was asked for.
   
Also, Killing a process with SIGKILL is far from safe. To put
it in another way data integrity can be guaranteed only
by the program itself. For example it could have a defined
behavior when it is signaled by e.g. SIGTERM, for example
clean up data and exit. Or not. It's up to the programmer.
Sending a SIGKILL will not give that chance. SIGKILL can
not be handled. It will be terminated as soon as possible.
   
Also, separate the meanings data integrity and filesystem
data integrity. The filesystem will be in fine condition when
a process gets killed by SIGKILL during file I/O, the data in
the file most probably not.
   

 On the rare occasion however, (when attempting to recover data from
 corrupt disks for example), I've had a process invoked by the cp
 command, hang. This poses a significant problem as these processes are
 disk i/o processes, and as such cannot be terminated (even by root).
 So, other than physically hitting the reset button on the case, is
 there a more eloquent method of forcefully halting a hanged disk i/o
 process? The idea of you don't want to terminate a disk i/o process,
 it could corrupt the data isn't really a good argument, because if
 the process hangs and I have to punch the reset button anyway what's
 the difference?
   
Pressing the button will leave your filesystem in a undefined state,
you are risking filesystem integrity. Keep in mind that while in use
(open files etc) a filesystem cannot be unmounted. Anyway, try to shut
the computer down, it's far more gentle than pressing the button. At
least the rest of the filesystems will be cleanly unmounted.
   
Is there something in particular you want to achieve?
   
Nikos
   
  
 
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: polling my FreeBSD compariots...

2007-03-12 Thread Wojciech Puchar
They're minimalistic and slick to use. If you should need to connect with a 
windows box there's Xming. Look in the archives!


what is Xming?

with grep -i xming /usr/ports/INDEX
nothing found

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


Re: polling my FreeBSD compariots...

2007-03-12 Thread Wojciech Puchar
I have used XFCE 3.* on all my free BSD boxes for years. It is a Simple GUI 
which I use on any Desktops I build.  The video is clear and is simple.  ( 
XFCE4* I did not like the concept.) Emails etc all work and install easily 
from ports.


one of the best choices for those who want desktop. but is it needed at 
all?

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


Re: polling my FreeBSD compariots...

2007-03-12 Thread Gerard Seibert
On Mon, 12 Mar 2007 11:10:11 +0100 (CET)
Wojciech Puchar [EMAIL PROTECTED] wrote:

  I have used XFCE 3.* on all my free BSD boxes for years. It is a
  Simple GUI which I use on any Desktops I build.  The video is clear
  and is simple.  ( XFCE4* I did not like the concept.) Emails etc
  all work and install easily from ports.

 one of the best choices for those who want desktop. but is it
 needed at all?

It is for someone who wants to work in that environment.

-- 
Gerard

When confronted by a difficult problem, you can often solve it quite
easily by reducing it to the question, How would the Lone Ranger
handle this?


signature.asc
Description: PGP signature


RE: Help needed syncing Palm Treo 650 with FreeBSD

2007-03-12 Thread Harrison Peter CSA BIRKENHEAD
-Original Message-
From: Aniruddha [mailto:[EMAIL PROTECTED]
Sent: 09 March 2007 22:36
To: Vince
Cc: Harrison Peter CSA BIRKENHEAD; freebsd-questions@freebsd.org
Subject: Re: Help needed syncing Palm Treo 650 with FreeBSD


Vince wrote: 
Aniruddha wrote:
  
Vince wrote:

for devfs.rules add something like
[system=10]
add path 'ttyU*' mode 0666

to /etc/devfs.rules

you also need to add
devfs_system_ruleset=system

to rc.conf


Vince

  
  
Ok I will try that :-)

Oh i forgot to mention you will have to restart devfs afterwards,
/etc/rc.d/devfs restart

Vince

  
Ehm I can't find  /etc/devfs.rules:


ls /etc/ | grep dev
devd.conf
devfs.conf


You need to create /etc/devfs.rules if you've haven't used it before. Vince has 
given you what you need to put in the file, modifying rc.conf to pull your 
custom ruleset in then restarting devfs.

Please don't send HTML email.


HTH.



PLEASE NOTE: THE ABOVE MESSAGE WAS RECEIVED FROM THE INTERNET.
On entering the GSI, this email was scanned for viruses by the Government 
Secure Intranet (GSi) virus scanning service supplied exclusively by Cable  
Wireless in partnership with MessageLabs.
In case of problems, please call your organisational IT Helpdesk.
The MessageLabs Anti Virus Service is the first managed service to achieve the 
CSIA Claims Tested Mark (CCTM Certificate Number 2006/04/0007), the UK 
Government quality mark initiative for information security products and 
services. For more information about this please visit www.cctmark.gov.uk

**
This document is strictly confidential and is intended only for use by the 
addressee. 
If you are not the intended recipient, any disclosure, copying, distribution or 
other 
action taken in reliance of the information contained in this e-mail is 
strictly prohibited.
Any views expressed by the sender of this message are not necessarily those of 
the Department 
for Work and Pensions.
If you have received this transmission in error, please use the reply function 
to tell us 
and then permanently delete what you have received.
Please note: Incoming and outgoing e-mail messages are routinely monitored for 
compliance 
with our policy on the use of electronic communications.
**


The original of this email was scanned for viruses by Government Secure 
Intranet (GSi)  virus scanning service supplied exclusively by Cable  Wireless 
in partnership with MessageLabs.
On leaving the GSI this email was certified virus free.
The MessageLabs Anti Virus Service is the first managed service to achieve the 
CSIA Claims Tested Mark (CCTM Certificate Number 2006/04/0007), the UK 
Government quality mark initiative for information security products and 
services.  For more information about this please visit www.cctmark.gov.uk
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem with kdm

2007-03-12 Thread Christian Walther

On 12/03/07, Leslie Jensen [EMAIL PROTECTED] wrote:

Hi

I have a little problem with kdm. When I try to sign on the screen
reverts back to the login dialog after a few seconds. I can use xdm
without any problems.

The problem started when I switched my soundcard from an external
soundblaster to the onboard Intel. I'm using the Intel HDA driver and it
works! The KDE sound does not work but mplayer for example has sound.


I don't think that these two are actually related. The Display Manager
hasn't anything to do with the sound card, at least not after you
entered username and password.
So my guess is that you broke your KDM configuration somehow.
The situation you describe usually means that the session you're
trying to execute is invalid. This can have a variety of reasons.
I can't help you here because I don't know what session you're trying
to execute. Are you using KDE or Gnome, or do you have a ~/.xsession
defined? If the latter is the case I doubt that kdm did work for you,
because AFAIK KDM doesn't support Xsession.

First check what session is execute upon login. There is a Session
menu somewhere on the kdm login screen. Choose a session that you know
does exist.


I've recompiled KDE but there's no change.

I need suggestions on how to analyze this problem and to get kdm to work
again.


HTH
Christian




Thanks

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


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


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-12 Thread hxc

Running glxinfo  as user works:

$ glxinfo | fgrep direct
direct rendering: Yes

3d acceleration still isn't working though :-( :
$ sysctl hw.nvidia.agp.status
hw.nvidia.agp.status.status: disabled
hw.nvidia.agp.status.driver: n/a (unused)
hw.nvidia.agp.status.rate: n/a (disabled)
hw.nvidia.agp.status.fw: n/a (disabled)
hw.nvidia.agp.status.sba: n/a (disabled)

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


Re: Recover Make ARG's from a ports Install

2007-03-12 Thread Roger Olofsson

Hello Alexander,

There's /var/db/ports/name of port for the result of make configure, 
if that is what you mean? Otherwise most ports should have their .conf 
and other settings in /usr/local/etc.


Good luck!



Alexander Schlichting skrev:
 


On a server I have a package installed using ports and now I have to install
the package with exactly the same make arguments on another server. I just
don't find a way to see what arguments where used to install it the first
time. With Linux I would look into config.status is there something similar
with FreeBSD? Sorry for having to ask but I am using FreeBSD for the first
days now after 5 years using Linux only :)

 


-Alex

 


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



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


Re: polling my FreeBSD compariots...

2007-03-12 Thread Wojciech Puchar

It is for someone who wants to work in that environment.



exactly, but it would be handy to define what desktop is.

could someone provide me a definition?

is X server alone a desktop? i think no.
is KDE a desktop? i think yes from what i heard.

is XFCE a desktop? i think too.

so is my X server+fvwm2 having no visible icons, windows, frames etc. (but 
having a menu under keypress) a desktop or not?


if yes - then we can define desktop as any software able to run graphics 
mode programs on graphics capable machine. like bash or csh for text 
mode.


if no - what part of say KDE make it a desktop?



i'm not trying to start any war, just want to hear a definition of so 
commonly used term today.

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


Post DST changes

2007-03-12 Thread Mike Tancsa
I am seeing some inconsistent and strange results after the DST 
change this weekend.  On all the boxes, it seems setup OK


# zdump -v /etc/localtime | grep 2007
/etc/localtime  Sun Mar 11 06:59:59 2007 UTC = Sun Mar 11 01:59:59 
2007 EST isdst=0 gmtoff=-18000
/etc/localtime  Sun Mar 11 07:00:00 2007 UTC = Sun Mar 11 03:00:00 
2007 EDT isdst=1 gmtoff=-14400
/etc/localtime  Sun Nov  4 05:59:59 2007 UTC = Sun Nov  4 01:59:59 
2007 EDT isdst=1 gmtoff=-14400
/etc/localtime  Sun Nov  4 06:00:00 2007 UTC = Sun Nov  4 01:00:00 
2007 EST isdst=0 gmtoff=-18000


And the command date gives the correct time.

But until I restart some applications, I dont see the right times 
logged in syslog ?!


e.g
# date
Mon Mar 12 08:17:06 EDT 2007

And looking at BIND's entries to syslog, I see the correct timestamps

Mar 12 08:17:42 granite named[16080]: denied recursion for query from 
[198.73.192.129].1364 for 119.64.22.72.in-addr.arpa IN
Mar 12 08:17:42 granite named[16080]: denied recursion for query from 
[198.73.192.129].1364 for 119.64.22.72.in-addr.arpa IN
Mar 12 07:17:43 granite /kernel: Connection attempt to TCP 
199.212.xx.x:995 from 74.97.26.112:53911 flags:0x02
Mar 12 08:17:50 granite named[16080]: denied update from 
[64.7.xx.90].2163 for xxx.com IN
Mar 12 08:17:50 granite named[16080]: denied update from 
[64.7.xx.90].2163 for xxx.com IN


yet mixed in notice the /kernel entry... Its an hour off !?

if I restart syslogd, it corrects it for the kernel entry, but not 
for other applications. They all seem to log the time one hour back. 
Most applications seem this way.  On my more recent boxes this didnt 
happen, but for some legacy RELENG_4 and older RELENG_5 and RELENG_6 
boxes, the same odd behavior.


/etc/localtime looks the same on all the boxes

# md5 /etc/localtime
MD5 (/etc/localtime) = 82980b1345aab5a97d90307edfefb6da

[smtp1]% md5 /etc/localtime
MD5 (/etc/localtime) = 82980b1345aab5a97d90307edfefb6da
[smtp1]%

yet different behaviour.  Any idea whats up ?

---Mike



Mike Tancsa,  tel +1 519 651 3400
Sentex Communications,[EMAIL PROTECTED]
Providing Internet since 1994www.sentex.net
Cambridge, Ontario Canada www.sentex.net/mike

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


-stable kernel and release 6.2 base system. Do they need to be in sync?

2007-03-12 Thread Sunnz

Hi,

Just updated /usr/src to -stable (-rRELENG_6), and are now compiling
the -stable kernel.

Just wondering if I will need to rebuild the base system (world?) as
well so they are in sync?

Thanks.

--
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: polling my FreeBSD compariots...

2007-03-12 Thread Roger Olofsson

Hello Wojciech,

...If you should need to connect with a Windows box...(to a FreeBSD 
machine running X).


A part of Xming is a remote desktop client for Windows. You will find 
more information at - http://sourceforge.net/projects/xming.


Good luck!



Wojciech Puchar skrev:
They're minimalistic and slick to use. If you should need to connect 
with a windows box there's Xming. Look in the archives!


what is Xming?

with grep -i xming /usr/ports/INDEX
nothing found




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


Re: -stable kernel and release 6.2 base system. Do they need to be in sync?

2007-03-12 Thread Ivan Voras
Sunnz wrote:
 Hi,
 
 Just updated /usr/src to -stable (-rRELENG_6), and are now compiling
 the -stable kernel.
 
 Just wondering if I will need to rebuild the base system (world?) as
 well so they are in sync?

Probably nothing bad will happen if you don't, but if you start getting
weird errors this is the first thing you should do.

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


Re: polling my FreeBSD compariots...

2007-03-12 Thread Gerard Seibert
On Mon, 12 Mar 2007 13:28:15 +0100 (CET)
Wojciech Puchar [EMAIL PROTECTED] wrote:

  It is for someone who wants to work in that environment.
 
 
 exactly, but it would be handy to define what desktop is.
 
 could someone provide me a definition?
 
 is X server alone a desktop? i think no.
 is KDE a desktop? i think yes from what i heard.
 
 is XFCE a desktop? i think too.
 
 so is my X server+fvwm2 having no visible icons, windows, frames etc.
 (but having a menu under keypress) a desktop or not?
 
 if yes - then we can define desktop as any software able to run
 graphics mode programs on graphics capable machine. like bash or csh
 for text mode.
 
 if no - what part of say KDE make it a desktop?
 
 
 
 i'm not trying to start any war, just want to hear a definition of so 
 commonly used term today.
   Wojtek

Before you ask so many questions, why don't you invest a little time in
RTFM, or perhaps STFW.

Check out this URL for starters:

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


-- 
Gerard

Fortune's current rates:

Answers .10
Long answers.25
Answers requiring thought   .50
Correct answers $1.00

Dumb looks are still free.


signature.asc
Description: PGP signature


Re: polling my FreeBSD compariots...

2007-03-12 Thread Eric Schuele

On 03/12/2007 03:01, Wojciech Puchar wrote:

default, window frames and titles removed,

all screen available for ACTUAL USE.



All easily attainable in E17.  :)


put a config for E17 for those interested.


Unfortunately the config files are now in a binary format.  So to post 
them would be less than enlightening.  :P


However, it is certainly possible to have all windows borderless and 
full screen, each on their own desktop.  You can navigate desktops with 
keybd or mouse strokes.  You never have to touch a menu as you can 
launch apps via keybindings (do most other things as well.)


You should give it a try.  Its very fast and very lightweight.



my .fvwm2rc, but it uses /etc/wm-menus/Fvwm-pl with program menu. you 
may write it yourself or use my menugen program.


set with assumption that it's 1024x768 screen


WindowFont-adobe-courier-medium-r-*-*-14-*-*-*-*-*-iso8859-2
MenuStyle white black white 
-adobe-helvetica-medium-r-*-*-14-*-*-*-*-*-iso8859-2 fvwm

OpaqueMoveSize 100
EdgeScroll 5 5
EdgeResistance 1 1
DeskTopSize 2x2
#ImagePath /usr/pkg/share/fvwm2/images/:/usr/pkg/include/X11/pixmaps/:
Style * NoTitle, HintOverride, SmartPlacement, NoPPosition, 
BorderWidth 0, HandleWidth 0

Style Fvwm*Sticky, WindowListSkip

Read /etc/wm-menus/Fvwm-pl

DestroyMenu StartMenu
AddToMenu StartMenu
+ FreeBSD AppsPopup FreeBSD
+ Quit fvwm2Quit + Restart Fvwm2Restart


#AddToFunc Move-or-Raise M Move
#+ M Raise
#+ C Raise
#+ D Maximize 100 100

Mouse 1IAIconify False
Mouse 1 W   C   Maximize 100 100
Mouse 2WCRaiseLower
Mouse 3 WI  C  Close
Mouse 1W4Move
Mouse 2WI4Iconify
Mouse 3W4Resize
Key RightA4Desk 1
Key LeftA4Desk -1
Key F1A4Desk 0 0
Key F2A4Desk 0 1
Key F3A4Desk 0 2
Key F4A4Desk 0 3
Key F5A4Desk 0 4
Key F6A4Desk 0 5
Key F7A4Desk 0 6
Key F8A4Desk 0 7
Key F9A4Desk 0 8
Key F10A4Desk 0 9
Key F11A4Desk 0 10
Key F12A4Desk 0 11
Key F1ACDesk 0 21
Key F2ACDesk 0 22
Key F3ACDesk 0 23
Key F4ACDesk 0 24
Key F5ACDesk 0 25
Key F6ACDesk 0 26
Key F7ACDesk 0 27
Key F8ACDesk 0 28
Key F9ACDesk 0 29
Key F10ACDesk 0 30
Key F11ACDesk 0 31
Key F12ACDesk 0 32
Key MA4Menu StartMenu
Key MenuAAMenu StartMenu
Key XA4Exec exec xterm -geometry 102x38+0+0 -ls
Key WA4WindowList
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]






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


Re: polling my FreeBSD compariots...

2007-03-12 Thread Christian Walther

On 12/03/07, Eric Schuele [EMAIL PROTECTED] wrote:

On 03/12/2007 03:01, Wojciech Puchar wrote:
 default, window frames and titles removed,


[...]


However, it is certainly possible to have all windows borderless and
full screen, each on their own desktop.  You can navigate desktops with
keybd or mouse strokes.  You never have to touch a menu as you can
launch apps via keybindings (do most other things as well.)

You should give it a try.  Its very fast and very lightweight.



Hm, sounds like installing ion3 would be an easier task.
ion3 is the WM of my choice, and it does exactly (or nearly) what you
describe, and some more. You can additionally set up different layouts
of your taste, for example with two columns or even more complex ones.
(I've a special layout for gimp where most windows fit into their own
frame.)
Never touch a window title bar anymore. No resizing, no moving around...

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


Re: -stable kernel and release 6.2 base system. Do they need to be in sync?

2007-03-12 Thread Wojciech Puchar


Just updated /usr/src to -stable (-rRELENG_6), and are now compiling
the -stable kernel.

Just wondering if I will need to rebuild the base system (world?) as
well so they are in sync?


tell me what base system do you have now.

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


Re: -stable kernel and release 6.2 base system. Do they need to be in sync?

2007-03-12 Thread Sunnz

6.2-Release. I only have updated the kernel so far.

Probably will upgrade the base system soon, but at the same time I
wanted to know if it should be something need to be done as quickly as
possible.

Thanks

2007/3/13, Wojciech Puchar [EMAIL PROTECTED]:


 Just updated /usr/src to -stable (-rRELENG_6), and are now compiling
 the -stable kernel.

 Just wondering if I will need to rebuild the base system (world?) as
 well so they are in sync?

tell me what base system do you have now.





--
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: -stable kernel and release 6.2 base system. Do they need to be in sync?

2007-03-12 Thread Bill Moran
In response to Wojciech Puchar [EMAIL PROTECTED]:

 
  Just updated /usr/src to -stable (-rRELENG_6), and are now compiling
  the -stable kernel.
 
  Just wondering if I will need to rebuild the base system (world?) as
  well so they are in sync?

99% of the time, the answer is yes.

The real answer is that it depends on which version your going from and
to and what sort of changes have been made to kernel interfaces between
those versions.

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


Re: polling my FreeBSD compariots...

2007-03-12 Thread Wojciech Puchar

the one i was looking for very long!

as i don't have windoze anywhere close now could you tell me if:

1) this X server can use font server or Xorg format fontsets (.pcf.gz or 
.pcf)


2) does it work with xdm on server (just for sure, as naturally it should)

3) what keybinding will be blocked because it's used by windows alone? can 
it be used fullscreen with just one or two key combinations reserved to 
minimizing/iconizing it's display in windows.



i tried cygwin's X server (mostly doesn't work) some time ago. i tried 
others, and only vnc works but it's not X server/client but bitmap 
differentiation. and vnc X server wasn't able to accept -fp right. at 
least when i tried. no polish fonts etc...

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


Re: The Best OS

2007-03-12 Thread Jerry McAllister
On Sun, Mar 11, 2007 at 10:03:38AM +0530, Susanth K wrote:

 Dear Friends,
 
 Am  a beginner to *BSD OS.
 
 Am interested in setting up intel / AMD based Free and Open Source Server (
 No GUI required )
 
 Prime area is Webserver With PHP/MySQL Support and Ruby On Rails. +
 PostgreSQL
 
 Which os Will be the BEST ?
 
 A) Debian Linux
 B) OpenBSD
 C) FreeBSD
 
 Which project has good Support and Active Development ?

Well, gee, someone has to say - of course, the best one is FreeBSD.

As others have said, any of them can work.   FreeBSD is well supported
and has all the extra software available that you might need for that
but is still lean and not bloated up with junk you don't need.  So, it
makes a good choice.The fact that it just works is in its favor too.

jerry

 
 Please help me to choose
 
 THANKS IN ADVANCE
 
 
 SUSANTH K
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: polling my FreeBSD compariots...

2007-03-12 Thread Wojciech Puchar


Check out this URL for starters:

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


A desktop environment can mean anything ranging from a simple window 
manager to a complete suite of desktop applications, such as KDE or GNOME.



can mean is very far from definition.

further reading shows that desktop is where data and applications can be 
placed.


i always though that data and application are on disk.

still no definition of desktop, but looks like desktop=ability to display 
icon symbols of files and programs (which are files too) and ability to 
provide panel for starting programs and doing some other maintenance.



do i say right?

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


Re: polling my FreeBSD compariots...

2007-03-12 Thread Wojciech Puchar


You should give it a try.  Its very fast and very lightweight.


faster than fvwm2. so i will :)





my .fvwm2rc, but it uses /etc/wm-menus/Fvwm-pl with program menu. you may 
write it yourself or use my menugen program.


set with assumption that it's 1024x768 screen


WindowFont-adobe-courier-medium-r-*-*-14-*-*-*-*-*-iso8859-2
MenuStyle white black white 
-adobe-helvetica-medium-r-*-*-14-*-*-*-*-*-iso8859-2 fvwm

OpaqueMoveSize 100
EdgeScroll 5 5
EdgeResistance 1 1
DeskTopSize 2x2
#ImagePath /usr/pkg/share/fvwm2/images/:/usr/pkg/include/X11/pixmaps/:
Style * NoTitle, HintOverride, SmartPlacement, NoPPosition, BorderWidth 
0, HandleWidth 0

Style Fvwm*Sticky, WindowListSkip

Read /etc/wm-menus/Fvwm-pl

DestroyMenu StartMenu
AddToMenu StartMenu
+ FreeBSD AppsPopup FreeBSD
+ Quit fvwm2Quit + Restart Fvwm2Restart


#AddToFunc Move-or-Raise M Move
#+ M Raise
#+ C Raise
#+ D Maximize 100 100

Mouse 1IAIconify False
Mouse 1 W   C   Maximize 100 100
Mouse 2WCRaiseLower
Mouse 3 WI  C  Close
Mouse 1W4Move
Mouse 2WI4Iconify
Mouse 3W4Resize
Key RightA4Desk 1
Key LeftA4Desk -1
Key F1A4Desk 0 0
Key F2A4Desk 0 1
Key F3A4Desk 0 2
Key F4A4Desk 0 3
Key F5A4Desk 0 4
Key F6A4Desk 0 5
Key F7A4Desk 0 6
Key F8A4Desk 0 7
Key F9A4Desk 0 8
Key F10A4Desk 0 9
Key F11A4Desk 0 10
Key F12A4Desk 0 11
Key F1ACDesk 0 21
Key F2ACDesk 0 22
Key F3ACDesk 0 23
Key F4ACDesk 0 24
Key F5ACDesk 0 25
Key F6ACDesk 0 26
Key F7ACDesk 0 27
Key F8ACDesk 0 28
Key F9ACDesk 0 29
Key F10ACDesk 0 30
Key F11ACDesk 0 31
Key F12ACDesk 0 32
Key MA4Menu StartMenu
Key MenuAAMenu StartMenu
Key XA4Exec exec xterm -geometry 102x38+0+0 -ls
Key WA4WindowList
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]






--
Regards,
Eric



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


Re: polling my FreeBSD compariots...

2007-03-12 Thread Wojciech Puchar

Hm, sounds like installing ion3 would be an easier task.
ion3 is the WM of my choice, and it does exactly (or nearly) what you
describe, and some more. You can additionally set up different layouts


i am always open for making my workplace more productive and easier to 
use. so i will have a try of E17 and ion3, while second looks like more 
designed to my needs.


i tried ratpoison but i was unable to do single-key switching to other 
desktops and manage well subwindows in some apps like gimp, which always 
needs multiple windows on one desktop.




PS. Because i don't get definition of desktop i used there and in other 
posts:


desktop is one complete full screen workspace.

be it text or graphics doesn't matter.

PS2. still waiting for precise desktop definition, because i think that 
this term is regularly misused.

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


Re: -stable kernel and release 6.2 base system. Do they need to be in sync?

2007-03-12 Thread Wojciech Puchar



6.2-Release. I only have updated the kernel so far.


my question was what version of base system you have in /bin, /sbin, /lib 
etc. now so i could answer if you HAVE to compile 6.2, should or don't 
need to, just put the kernel


if your system binaries is 6.0 or later you don't need to update
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Fwd: polling my FreeBSD compariots...

2007-03-12 Thread Jeff Rollin

-- Forwarded message --
From: Jeff Rollin [EMAIL PROTECTED]
Date: 12-Mar-2007 12:56
Subject: Re: polling my FreeBSD compariots...
To: Eric Schuele [EMAIL PROTECTED]


On 12/03/07, Eric Schuele [EMAIL PROTECTED] wrote:

On 03/12/2007 03:01, Wojciech Puchar wrote:
 default, window frames and titles removed,

 all screen available for ACTUAL USE.


 All easily attainable in E17.  :)

 put a config for E17 for those interested.

Unfortunately the config files are now in a binary format.  So to post
them would be less than enlightening.  :P



yuck, yuck, yuck

Jeff
--
Q: What will happen in the Aftermath?

A: Impossible to tell, since we're still in the Beforemath.

http://latedeveloper.org.uk


--
Q: What will happen in the Aftermath?

A: Impossible to tell, since we're still in the Beforemath.

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


Re: The FreeBSD7

2007-03-12 Thread Jerry McAllister
On Sun, Mar 11, 2007 at 02:07:04PM +0530, Susanth K wrote:

 Wikipedia says,
 
 http://en.wikipedia.org/wiki/Freebsd
 
 FreeBSD 7.0  is on  Improved scheduler and locking scalability for 32+ CPU
 systems (prototyping)
 
 Does Any One know How Many CPU Does FreeBSD 6.2 Supports ?

People on the list just discussed this - not too meaningfully - but...

I don't know if there is a coded in limit in either 6.xx or 7.xx.
People were more talking about a practical limit, meaning how
many could be efficiently handled.  For 6.xx they seemed to
think that something between 4 and 8 were practical limits.  But, this
is assuming all CPUs were being used on the same task.   Having
multiple tasks might increase this.   Again, I don't know if somewwhere
there is a coded in or configurable limit to how many CPUs it will
talk to.  Someone who knows the code should answer that.

No one has attempted to respond in terms of V 7.xxx as far as I have
noticed.   

jerry

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


Old things do work.

2007-03-12 Thread Sergio Lenzi
As I said some emails ago

I have a 200 machines all freebsd network that runs 24/7 with a mtbf
of 15 years...

how I got the numbers?

well   I have an issue  every 3 or 4  weeks... (the machine hangs,
stops, the power supply explodes) the machines are aways on...

if you count 200 machines and one machine crashes once every 200 days,
I will have a 200 day running time on each machine... well I have almost
once a month
problem... that is 30 times 200 days - 6000 days for each machine...
the
machines have now 3 to 5 years old...

Now I am replacing the machines for AMD64 with mainboard ECS  that
proved
the more reliable hardware... (asus k8v is also a good choice)
(gateway is bad...) 98% of the machines are AMD, some are cyrix
It continues to run even with the cpu cooler stopped
by dust (yes!!! some machines are in rural areas, gas stations and have
no way to
offer maitenance) and I have not seen them for years... but sometimes
the machines emails me.. (when they finally
get dial up connection... and have some issue like: no space, no
swap...) it is
like sending them to mars...

You can see some pictures of the running system on FreeBSD + gnome +
windowmaker...

at http://www.k1.com.br/images/sistemas

these are old pictures, but you can have an idea.
the new versions have more enhancements

It is all coded in FreeBSD with python + gtk + postgres...

and runs in windows too... 


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


Re: -stable kernel and release 6.2 base system. Do they need to be in sync?

2007-03-12 Thread Karol Kwiatkowski
Wojciech Puchar wrote:
 
 6.2-Release. I only have updated the kernel so far.
 
 my question was what version of base system you have in /bin, /sbin,
 /lib etc.

Check the Subject line :)

Cheers,

Karol

-- 
Karol Kwiatkowski   karol.kwiat at gmail dot com
OpenPGP 0x06E09309



signature.asc
Description: OpenPGP digital signature


Re: polling my FreeBSD compariots...

2007-03-12 Thread Gerard Seibert
On Mon, 12 Mar 2007 14:17:38 +0100 (CET)
Wojciech Puchar [EMAIL PROTECTED] wrote:

 
  Check out this URL for starters:
 
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11.html
 
 A desktop environment can mean anything ranging from a simple
 window manager to a complete suite of desktop applications, such as
 KDE or GNOME.
 
 
 can mean is very far from definition.
 
 further reading shows that desktop is where data and applications
 can be placed.
 
 i always though that data and application are on disk.
 
 still no definition of desktop, but looks like desktop=ability to
 display icon symbols of files and programs (which are files too) and
 ability to provide panel for starting programs and doing some other
 maintenance.
 
 
 do i say right?

Every time I reply to one of your posts, you reply directly back to me.
That is incorrect. You should be directing your reply back to the
FreeBSD mail forum. Others might be in a position to assist you if they
viewed your post.

-- 
Gerard

  /)   ,-^ ^-. 
 //   /   \
.---| |--/  __ __  \---.__
|WMWMWMW| | | /\   /\ |:
`---| |--| \__/   \__/ |---'^^
 \\   \/|\/
  \)   \   \_/   /
|   |
|+H+H+H+|
\   /
 ^-^


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


Old things do work.

2007-03-12 Thread Sergio Lenzi
As I said some emails ago

I have a 200 machines all freebsd network that runs 24/7 with a mtbf
of 15 years...

how I got the numbers?

well   I have an issue  every 3 or 4  weeks... (the machine hangs,
stops, the power supply explodes) the machines are aways on...

if you count 200 machines and one machine crashes once every 200 days,
I will have a 200 day running time on each machine... well I have almost
once a month
problem... that is 30 times 200 days - 6000 days for each machine...
the
machines have now 3 to 5 years old...

Now I am replacing the machines for AMD64 with mainboard ECS  that
proved
the more reliable hardware... (asus k8v is also a good choice)
(gateway is bad...) 98% of the machines are AMD, some are cyrix
It continues to run even with the cpu cooler stopped
by dust (yes!!! some machines are in rural areas, gas stations and have
no way to
offer maitenance) and I have not seen them for years... but sometimes
the machines emails me.. (when they finally
get dial up connection... and have some issue like: no space, no
swap...) it is
like sending them to mars...

You can see some pictures of the running system on FreeBSD + gnome +
windowmaker...

at http://www.k1.com.br/images/sistemas

these are old pictures, but you can have an idea.
the new versions have more enhancements

It is all coded in FreeBSD with python + gtk + postgres...

and runs in windows too... 


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


Re: polling my FreeBSD compariots...

2007-03-12 Thread Roger Olofsson

Hello Wojciech,

May I suggest that you redirect these questions to the Xming forum? The 
link to the forum is at - http://sourceforge.net/projects/xming.





Wojciech Puchar skrev:

the one i was looking for very long!

as i don't have windoze anywhere close now could you tell me if:

1) this X server can use font server or Xorg format fontsets (.pcf.gz or 
.pcf)


2) does it work with xdm on server (just for sure, as naturally it should)

3) what keybinding will be blocked because it's used by windows alone? 
can it be used fullscreen with just one or two key combinations 
reserved to minimizing/iconizing it's display in windows.



i tried cygwin's X server (mostly doesn't work) some time ago. i tried 
others, and only vnc works but it's not X server/client but bitmap 
differentiation. and vnc X server wasn't able to accept -fp right. at 
least when i tried. no polish fonts etc...




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


Re: Post DST changes

2007-03-12 Thread V.I.Victor
On Mon, 12 Mar 2007, Mike Tancsa wrote:

 I am seeing some inconsistent and strange results after the DST change this
 weekend.  On all the boxes, it seems setup OK
 ...
 yet different behaviour.  Any idea whats up ?

This is the same thing I asked about yesterday (Daylight Savings Time -- 
/etc/localtime and what else?) w/o responses

From what I could tell, virtually every process needed a restart.  sshd, cron, 
sendmail, et al were running an hour off.  I guess they have a time ref 
based on their original start-up.

After I restarted them all, I ended up doing a reboot anyway -- I wasn't sure 
if everything had been caught and I didn't want a Monday morning surprise.

Today -- all seems OK.



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


Re: Manual updates

2007-03-12 Thread Jerry McAllister
On Sun, Mar 11, 2007 at 08:12:54PM -, Andy Kendall wrote:

 As a newb to FreeBSD I find that the manual/handbook is not great in detail,
 (understatement), and I seem to be relying on this questions list for a lot
 of help.
 
 In my opinion it relies on far too high a plateau of knowledge by it's
 readers to be of initial use.
 
 Am I really that thick or does anyone else feel this way?
 
 Do the email list respondents find themselves answering the same questions
 over and over?
 
 Is there some way I can help to upgrade the manual entries with the detail I
 find necessary to get things working and understand how they work, thereby
 hopefully benefiting following newbs?

You are welcome to submit improvements to the handbook or man pages.
The procedure is well documented on the web page.

 
 Is there a FreeBSD for dummies?

Probably a combination of the FAQ and numerous web pages with 
howto lists that are out there in web-land make up the FreeBSd
for dummies.I don't know of any specific publshed book of
that nature, but there are several good ones that might be called
FreeBSD for smart people.

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


Re: polling my FreeBSD compariots...

2007-03-12 Thread Christian Walther

On 12/03/07, Wojciech Puchar [EMAIL PROTECTED] wrote:

 Hm, sounds like installing ion3 would be an easier task.
 ion3 is the WM of my choice, and it does exactly (or nearly) what you
 describe, and some more. You can additionally set up different layouts

i am always open for making my workplace more productive and easier to
use. so i will have a try of E17 and ion3, while second looks like more
designed to my needs.

i tried ratpoison but i was unable to do single-key switching to other
desktops and manage well subwindows in some apps like gimp, which always
needs multiple windows on one desktop.



ion3 defaults configuration is a very basic one, so it might not look
that promising on the first glimpse. But since everything is
configurable, you can have your own shortcuts. IMO defining the right
short cuts is the hardest part, because chances are high that the WMs
shortcuts conflict with an application. I finally split Ctrl_R and
Meta_R from their original keys, binding them to Mod3 and Mod4 (both
where available on my machine).

I can send you my config if you like.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Your message to LogAnalysis awaits moderator approval

2007-03-12 Thread loganalysis-bounces
Your mail to 'LogAnalysis' with the subject

Fwd: image.jpg

Is being held until the list moderator can review it for approval.

The reason it is being held:

Post by non-member to a members-only list

Either the message will get posted to the list, or you will receive
notification of the moderator's decision.  If you would like to cancel
this posting, please visit the following URL:


http://lists.shmoo.com/mailman/confirm/loganalysis/28c0892d25b6bb852cfafce9432c58e9a5c17354

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


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-12 Thread Martin Tournoij
hw.nvidia.agp.status.status: disabled means that the nvidia AGP
driver isn't working, not that 3d acceleration isn't working.

If you want to use the nvidia agp driver, then you should compile a
kernel without device agp.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html

On Mon 12 Mar 2007 13:03, [EMAIL PROTECTED] wrote:
 Running glxinfo  as user works:
 
 $ glxinfo | fgrep direct
 direct rendering: Yes
 
 3d acceleration still isn't working though :-( :
 $ sysctl hw.nvidia.agp.status
 hw.nvidia.agp.status.status: disabled
 hw.nvidia.agp.status.driver: n/a (unused)
 hw.nvidia.agp.status.rate: n/a (disabled)
 hw.nvidia.agp.status.fw: n/a (disabled)
 hw.nvidia.agp.status.sba: n/a (disabled)
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
Travel important today; Internal Revenue men arrive tomorrow.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


nss_ldap and openldap on the same server.

2007-03-12 Thread Gerhard Schmidt
Hi, 

I have a small problem. On my central server we run an openldap server that 
contains the userdata for some systems. An the server uses this ldap 
server for authentication and nss. The problem is that when the server is 
booting slapd takes a very long time to start up. I think it's trying to
get an answer from ldap for the user ldap. But user ldap is in /etc/passwd 
and in /etc/groups

My nsswitch.conf looks like this. 

group: files ldap
hosts: files dns
networks: files
passwd: files ldap
shells: files

The system comes up but takes very long to do so (i think it's somekind of
timeout) 
Mar 12 14:58:23 phobos slapd[584]: nss_ldap: could not search LDAP server - 
Server is unavailable

As I see it, nss asks all sources even if the frist one allready knows the
answer. Is there a way to change this. 

Bye
Estartu


Gerhard Schmidt| Nick : estartu  IRC : Estartu  |
Fischbachweg 3 ||  PGP Public Key
86856 Hiltenfingen | EMail: [EMAIL PROTECTED]  |  on request 
Germany||  



pgpmmM9wgc5jS.pgp
Description: PGP signature


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-12 Thread hxc

Martin Tournoij wrote:

hw.nvidia.agp.status.status: disabled means that the nvidia AGP
driver isn't working, not that 3d acceleration isn't working.

If you want to use the nvidia agp driver, then you should compile a
kernel without device agp.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html


  


Is this really true? Who can confirm this? I also wonder why glxgears in 
FreeBSD gives me 5000 fps, while in Linux gives me 13000.  To get 5000 
fps in Linux I need to disable 3d support :-\ .

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


rebuilding world

2007-03-12 Thread Michael P. Soulier

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

This document says that after the make installkernel, you reboot in
single user mode, and then run mergemaster -p.

This gives me errors about a read-only filesystem. Can't create
/var/tmp/temproot.

Do the instructions need updating?

Thanks,
Mike
--
Michael P. Soulier [EMAIL PROTECTED]
Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction.
--Albert Einstein
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Your document

2007-03-12 Thread solanki
I would be out of the country on a business trip till March 23rd with a very 
limited access to my voice messages and emails. If you need any immediate 
attention, please feel free to call my colleague KP @ 609 799 3762 x27. 

Alternatively, you may also contact me through [EMAIL PROTECTED]. I would 
respond you within 24 hours. 

I do apologize, if this has caused any inconvenience to you :

Thanks  Regards
Solanki
Ph # 609 799 3762 x 21 (Work), 609 865 7188 (Cell)
Sr. Business Manager
ISS Inc. (Integrated Software Solutions, Inc.)
A Mercury Interactive Partner Company
Email 1 : [EMAIL PROTECTED]
Email 2 : [EMAIL PROTECTED] 

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


Re: -stable kernel and release 6.2 base system. Do they need to be in sync?

2007-03-12 Thread Sunnz

Lol.

Yes, all I have done is installing FBSD6.2-Release from a CD, then
rebuilt the kernel using 6-stable sources.

2007/3/13, Karol Kwiatkowski [EMAIL PROTECTED]:

Wojciech Puchar wrote:

 6.2-Release. I only have updated the kernel so far.

 my question was what version of base system you have in /bin, /sbin,
 /lib etc.

Check the Subject line :)

Cheers,

Karol

--
Karol Kwiatkowski   karol.kwiat at gmail dot com
OpenPGP 0x06E09309






--
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


diskonkey

2007-03-12 Thread Dima Sorkin

Hi.
By what device name should I mount
the flash memory disk (disk-on-key).

On linux it was /dev/sdb0, what is it's name on FreeBSD ?

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


Re: polling my FreeBSD compariots...

2007-03-12 Thread Wojciech Puchar


sorry for accidentally posting this publicly not just privately and 
polluting list

Hello Wojciech,

May I suggest that you redirect these questions to the Xming forum? The link 
to the forum is at - http://sourceforge.net/projects/xming.



.
.
.

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


Re: diskonkey

2007-03-12 Thread Jeremy Gransden

On 3/12/07, Dima Sorkin [EMAIL PROTECTED] wrote:


Hi.
By what device name should I mount
the flash memory disk (disk-on-key).

On linux it was /dev/sdb0, what is it's name on FreeBSD ?

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




What does dmesg call it after you insert it?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: rebuilding world

2007-03-12 Thread Bill Moran
In response to Michael P. Soulier [EMAIL PROTECTED]:

 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
 
 This document says that after the make installkernel, you reboot in
 single user mode, and then run mergemaster -p.
 
 This gives me errors about a read-only filesystem. Can't create
 /var/tmp/temproot.

fsck; mount -a

 Do the instructions need updating?

Might not hurt to add that information to the docs.  You could file a PR
or submit an update to the doc projects.

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


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-12 Thread Tore Lund
[EMAIL PROTECTED] wrote:
 Martin Tournoij wrote:
 hw.nvidia.agp.status.status: disabled means that the nvidia AGP
 driver isn't working, not that 3d acceleration isn't working.

 If you want to use the nvidia agp driver, then you should compile a
 kernel without device agp.
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html

I believe it's enough to put this line into /boot/device.hints:

hint.agp.0.disabled=1

 Is this really true? Who can confirm this? I also wonder why glxgears in 
 FreeBSD gives me 5000 fps, while in Linux gives me 13000.  To get 5000 
 fps in Linux I need to disable 3d support :-\ .

Have you installed the port or package nvidia-driver (or one of its
siblings)?  The documentation that comes with it will probably tell you
what you need to know.

On my own machine I have NVIDIA-FreeBSD-x86-1.0-9631, and I get this:

%sysctl hw.nvidia.agp.status
hw.nvidia.agp.status.status: enabled
hw.nvidia.agp.status.driver: nvidia
hw.nvidia.agp.status.rate: 4x
hw.nvidia.agp.status.fw: disabled
hw.nvidia.agp.status.sba: disabled
-- 
Tore


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


Re: Post DST changes

2007-03-12 Thread Chris Slothouber

Hi Mike,

It appears that certain daemons don't read tzdata except at startup. 
I'm not using bind or sendmail in production but I did notice this on a 
few development servers...  Probably related to the way time zone info 
is read by libc.  Because really, how often does it change? :)


- Chris

Mike Tancsa wrote:
I am seeing some inconsistent and strange results after the DST change 
this weekend.  On all the boxes, it seems setup OK


# zdump -v /etc/localtime | grep 2007
/etc/localtime  Sun Mar 11 06:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 
EST isdst=0 gmtoff=-18000
/etc/localtime  Sun Mar 11 07:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 
EDT isdst=1 gmtoff=-14400
/etc/localtime  Sun Nov  4 05:59:59 2007 UTC = Sun Nov  4 01:59:59 2007 
EDT isdst=1 gmtoff=-14400
/etc/localtime  Sun Nov  4 06:00:00 2007 UTC = Sun Nov  4 01:00:00 2007 
EST isdst=0 gmtoff=-18000


And the command date gives the correct time.

But until I restart some applications, I dont see the right times logged 
in syslog ?!


e.g
# date
Mon Mar 12 08:17:06 EDT 2007

And looking at BIND's entries to syslog, I see the correct timestamps

Mar 12 08:17:42 granite named[16080]: denied recursion for query from 
[198.73.192.129].1364 for 119.64.22.72.in-addr.arpa IN
Mar 12 08:17:42 granite named[16080]: denied recursion for query from 
[198.73.192.129].1364 for 119.64.22.72.in-addr.arpa IN
Mar 12 07:17:43 granite /kernel: Connection attempt to TCP 
199.212.xx.x:995 from 74.97.26.112:53911 flags:0x02
Mar 12 08:17:50 granite named[16080]: denied update from 
[64.7.xx.90].2163 for xxx.com IN
Mar 12 08:17:50 granite named[16080]: denied update from 
[64.7.xx.90].2163 for xxx.com IN


yet mixed in notice the /kernel entry... Its an hour off !?

if I restart syslogd, it corrects it for the kernel entry, but not for 
other applications. They all seem to log the time one hour back. Most 
applications seem this way.  On my more recent boxes this didnt happen, 
but for some legacy RELENG_4 and older RELENG_5 and RELENG_6 boxes, the 
same odd behavior.


/etc/localtime looks the same on all the boxes

# md5 /etc/localtime
MD5 (/etc/localtime) = 82980b1345aab5a97d90307edfefb6da

[smtp1]% md5 /etc/localtime
MD5 (/etc/localtime) = 82980b1345aab5a97d90307edfefb6da
[smtp1]%

yet different behaviour.  Any idea whats up ?

---Mike



Mike Tancsa,  tel +1 519 651 3400
Sentex Communications,[EMAIL PROTECTED]
Providing Internet since 1994www.sentex.net
Cambridge, Ontario Canada www.sentex.net/mike

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

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


Re: diskonkey

2007-03-12 Thread Dima Sorkin

Hi.
I see there
...
umass0: SanDisk Corporation Cruzer Mini, rev 2.00/1.25, addr 3
...

which means that I should

mount -o rw -t vfat /dev/umass0 MNT_POINT

as root
?

Thanks and regards,
Dima.

On 3/12/07, Jeremy Gransden [EMAIL PROTECTED] wrote:




On 3/12/07, Dima Sorkin [EMAIL PROTECTED] wrote:

 Hi.
 By what device name should I mount
 the flash memory disk (disk-on-key).

 On linux it was /dev/sdb0, what is it's name on FreeBSD ?

 Thanks,
 Dima.
 ___
 freebsd-questions@freebsd.org mailing list

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




What does dmesg call it after you insert it?


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


Re: diskonkey

2007-03-12 Thread Yuri Grebenkin
On Mon, 12 Mar 2007 16:58:22 +0200
Dima Sorkin [EMAIL PROTECTED] wrote:

 Hi.
  By what device name should I mount
 the flash memory disk (disk-on-key).
 
 On linux it was /dev/sdb0, what is it's name on FreeBSD ?
 
 Thanks,
  Dima.

Try this (just a hint):
% mount_msdosfs /dev/da0s1 /path/where
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: diskonkey

2007-03-12 Thread Wojciech Puchar

...
umass0: SanDisk Corporation Cruzer Mini, rev 2.00/1.25, addr 3
...

which means that I should

mount -o rw -t vfat /dev/umass0 MNT_POINT

as root
?



see farther so da0 (or 1,2,3) will show in logs

if it doesn't you may have not compiled da and scbus

then /dev/da0 will be the device and /dev/da0s1 - dos partition


Thanks and regards,
Dima.

On 3/12/07, Jeremy Gransden [EMAIL PROTECTED] wrote:




On 3/12/07, Dima Sorkin [EMAIL PROTECTED] wrote:

 Hi.
 By what device name should I mount
 the flash memory disk (disk-on-key).

 On linux it was /dev/sdb0, what is it's name on FreeBSD ?

 Thanks,
 Dima.
 ___
 freebsd-questions@freebsd.org mailing list

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




What does dmesg call it after you insert it?


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



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


Re: Manual updates

2007-03-12 Thread Paulette McGee

--- [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 On 11/03/07, Paulette McGee
 [EMAIL PROTECTED] wrote:
 
  --- Wojciech Puchar [EMAIL PROTECTED]
 wrote:
 
As a newb to FreeBSD I find that the
   manual/handbook is not great in detail,
(understatement), and I seem to be relying on
 this
   questions list for a lot
of help.
  
   what's missing? i think it's quite detailed
 . . .
  Yes, the handbook is quite detailed; however there
 are
  somethings missing.  Not to start a flame war;
 these
  are just a few thoughts and they are in my humble
  opinion.
 . . .
  1) Update ports
   1a) CVS
   2b) portsnap
  2) Build INDEX (depends on the tool; identify
 tools).
  Also what are the pro's and con's of obtaining the
  index from the methods listed below.
   2a) make index
   2b) make fetchindex
   2c) portsdb -Uu
  3) Use Tool 'X' to update / upgrade your ports
 . . .
  Now, one other issue; off the top of my head:
  pkgtools.conf.  How does pkgtools.conf interact
 with
  the makefile in their respective ports directory?
  1) Does it completely override it?
  2) Does if it take a diff between the two and
 build
  the app?
 
 portsdb is part of portupgrade, not at all part of
 the base system.  Similarly, pkgtools.conf, being
 located in /usr/local/etc/ is used by portupgrade
 (and another ports management tool?) which is
 not at all part of the base system.  portupgrade
 has quite a bit of documentation on its use, but
 I am not certain how this third party ruby script
 dovetails with a discussion of the (de)merits of
 FreeBSD's handbook.  Obviously with enough
 time and effort a complete set of documents for
 6.2 could be compiled and vetted for accuracy,
 although just like the current handbook and
 other documentation, it would fall out of date
 exactly as fast as new code would be added.
 Keeping up to date with third party applications
 (ruby scripts!) would exacerbate rather than
 ameliorate this effect.
 
 -- 
 --

Hello illoai,

With respect to you statement: My reply was how the
handbook could be improved for new users.  Nothing in
the world is perfect; and if the FreeBSD experience
can be improved for users, I am all for it.  I did a
little writing and was hoping for feed back so
eventually I could submit that information back to the
doc project.  

portupgrade has quite a bit of documentation on its
use, but  I am not certain how this third party ruby
script  dovetails with a discussion of the (de)merits

The topic at hand was improving documentation and I
put in my .02 cents worth when a question was posed. 
Perhaps this discussion should take place on another
mailing list.  But this discussion may add some
interest of the skilled users on this list to
potentially contribute.  So, there may be a positive
to this dovetail.  :-)

As it stands the FreeBSD Handbook is a great piece of
documentation.  In my humble opinion it can be better;
and I am more than willing to spend the time.
 
although just like the current handbook and  other
documentation, it would fall out of date exactly as
fast as new code would be added.

Portupgrade has been part of the upgrade (system
admin) process for quite some time and the process of
upgrading ports has been somewhat consistent over
time.  All I would like to see is the process
identified for updating software.  The topic of
installing software and updating software is
important; and should be expounded upon.  Just my
humble opinion.  As I stated:  This topic should be
carried out on another list.

Regards,
Paulette McGee


 

Finding fabulous fares is fun.  
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel 
bargains.
http://farechase.yahoo.com/promo-generic-14795097
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: diskonkey

2007-03-12 Thread Dima Sorkin

Hi.
Yes !  I see da0. Thanks for everybody meanwhile.

(I should relogin as root, put myself in 'wheel' group, then
I will check whether it works)

Dima.

On 3/12/07, Wojciech Puchar [EMAIL PROTECTED] wrote:

 ...
 umass0: SanDisk Corporation Cruzer Mini, rev 2.00/1.25, addr 3
 ...

 which means that I should
 mount -o rw -t vfat /dev/umass0 MNT_POINT
 as root
 ?


see farther so da0 (or 1,2,3) will show in logs

if it doesn't you may have not compiled da and scbus

then /dev/da0 will be the device and /dev/da0s1 - dos partition

 Thanks and regards,
 Dima.

 On 3/12/07, Jeremy Gransden [EMAIL PROTECTED] wrote:



 On 3/12/07, Dima Sorkin [EMAIL PROTECTED] wrote:
 
  Hi.
  By what device name should I mount
  the flash memory disk (disk-on-key).
 
  On linux it was /dev/sdb0, what is it's name on FreeBSD ?
 
  Thanks,
  Dima.
  ___
  freebsd-questions@freebsd.org mailing list
 
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 



 What does dmesg call it after you insert it?

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




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


Anyone use KSH?

2007-03-12 Thread Sunnz

Just installed Release 6.2 on my workstation, and the first thing I
did was installing (pd)ksh since I have been using it before...

I found that a few things doesn't work, tab-completion, up/down arrow
keys, ctrl-A ctrl-E to go to the beginning/end of a line.

Does anyone uses ksh here who knows if this is normal behaviour?

--
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Tool for validating sender address as spam-fighting technique?

2007-03-12 Thread Marcelo Maraboli



John L wrote:
I phrased it wrong.  You are not responsible for the content, but you 
are responsible for the mail domain and that includes verifying that 
mail is validly from your domain you are responsible for.


Oh, OK.  So if someone sends pump and dump with a [EMAIL PROTECTED] return 
address, and I do a callback and your MTA says yup! that's a 100% valid 
address! then I turn you in to the SEC, rignt?  You have now confirmed 
that the mail is from you, after all.  Or if you haven't, what purpose 
did the callback serve?


There is some reasonable validation technology coming along, most 
notably DKIM which which I presume you are familiar.  But callbacks are 
not it.




I agree. callbacks are not enough, you can reach a
false conclusion, that´s why I use SPF along with callbacks...

on the same message, my MX concludes:

you are sending email from [EMAIL PROTECTED], but shire.net
says YOUR IP address is not allowed to send email on behalf
of that domain, therefore YOU ARE FAKE/FORGED ..--- reject

regards,

--
MSc. Marcelo Maraboli Rosselott
Jefe Area de Redes y Comunicaciones  (Network  UNIX Systems Engineer)
Ingeniero Civil Electronico, CISSP  (Electronic Engineer, CISSP, MSc.)

Direccion Central de Servicios Computacionales (DCSC)
Universidad Tecnica Federico Santa Maria phone: +56 32 2654071
Chile.http://www.usm.cl http://elqui.dcsc.utfsm.cl
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD on IDE Flash disk drive

2007-03-12 Thread Steve Franks

I noticed a project called NanoBSD in the freebsd handbook that is
intended for exactly this purpose.  I compiled  installed it just
fine on 6.1 release, but my hardware wouldn't boot a CF card, so I was
unable to verify that it worked.

Sounds like NanoBSD is to FreeBSD what m0n0wall is to Linux?

Steve

On 3/9/07, Nejc Škoberne [EMAIL PROTECTED] wrote:

Hello,

I plan to install a FreeBSD 6.2 router/gateway/DHCP server on a EPIA
box with 1GB Transcend IDE Flash drive. Since Transcend says that
this device is capable of 10,000 insertion/removal cycles I assume
that I must minimize the number of writes to the drive. It is okay
with me if I have to configure syslog to log to another machine.

Any suggestions/instructions how to achieve this? Any experienced
users regarding this matter?

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




--
Steve Franks, KE7BTE
Staff Engineer
La Palma Devices, LLC
http://www.lapalmadevices.com
(520) 312-0089
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD on IDE Flash disk drive

2007-03-12 Thread Steve Franks

My bad.  Says right on the m0n0wall homepage that it is based on
FreeBSD, not Linuxyea for us!

Steve

On 3/9/07, Nejc Škoberne [EMAIL PROTECTED] wrote:

Hello,

I plan to install a FreeBSD 6.2 router/gateway/DHCP server on a EPIA
box with 1GB Transcend IDE Flash drive. Since Transcend says that
this device is capable of 10,000 insertion/removal cycles I assume
that I must minimize the number of writes to the drive. It is okay
with me if I have to configure syslog to log to another machine.

Any suggestions/instructions how to achieve this? Any experienced
users regarding this matter?

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




--
Steve Franks, KE7BTE
Staff Engineer
La Palma Devices, LLC
http://www.lapalmadevices.com
(520) 312-0089
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Anyone use KSH?

2007-03-12 Thread Bill Campbell
On Tue, Mar 13, 2007, Sunnz wrote:
Just installed Release 6.2 on my workstation, and the first thing I
did was installing (pd)ksh since I have been using it before...

I found that a few things doesn't work, tab-completion, up/down arrow
keys, ctrl-A ctrl-E to go to the beginning/end of a line.

My guess is that you're in vi mode by default (set -o vi), and would prefer
it to be in emacs mode.  Try ``set -o emacs'' to see if it does what you
want.  Personally I much prefer the vi mode as I've never been able to get
my fingers to learn emacs.

After using ksh for almost twenty years, I finally switched to bash from
ksh several months ago when I found that tab completion works in vi mode on
bash, and a simple alias r='fc -s' allows me to use the ksh style ``r''
commands to repeat previous commands.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

Make no laws whatever concerning speech and, speech will be free; so soon as
you make a declaration on paper that speech shall be free, you will have a
hundred lawyers proving that ``freedom does not mean abuse, nor liberty
license;'' and they will define and define freedom out of existence.
- Voltarine de Cleyre (1866-1912)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


problem building php5-pcre

2007-03-12 Thread Christopher M. Hobbs
Anyone else have this particular error?  I can't seem to get php5-pcre
to build.

 /usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c  -fPIC
-DPIC -o .libs/php_pcre.o
/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:102:
warning: parameter has incomplete type
/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c: In
function `PHP_GINIT_FUNCTION':
/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:101:
error: parameter name omitted
/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:103:
error: invalid type argument of `-'
/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:104:
error: invalid type argument of `-'
/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:105:
error: invalid type argument of `-'
/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:106:
error: invalid type argument of `-'
/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c: At top
level:
/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:110:
warning: parameter has incomplete type
/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c: In
function `PHP_GSHUTDOWN_FUNCTION':
/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:109:
error: parameter name omitted
/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:111:
error: invalid type argument of `-'
/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c: At top
level:
/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:1776:
error: syntax error before pcre
/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:1777:
error: syntax error before pcre
/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:1778:
error: syntax error before pcre
*** Error code 1

Stop in /usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre.
*** Error code 1

Stop in /usr/ports/devel/php5-pcre.

-- 
Christopher M. Hobbs
IS Technician, City of Siloam Springs
[EMAIL PROTECTED], (479).524.5136


pgp5vdujPKxYl.pgp
Description: PGP signature


problem building php5-pcre

2007-03-12 Thread Christopher Hobbs

Anyone else have this particular error?  I can't seem to get php5-pcre
to build.

/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c  -fPIC
-DPIC -o .libs/php_pcre.o
/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:102:
warning: parameter has incomplete type
/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c: In
function `PHP_GINIT_FUNCTION':
/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:101:
error: parameter name omitted
/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:103:
error: invalid type argument of `-'
/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:104:
error: invalid type argument of `-'
/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:105:
error: invalid type argument of `-'
/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:106:
error: invalid type argument of `-'
/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c: At top
level:
/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:110:
warning: parameter has incomplete type
/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c: In
function `PHP_GSHUTDOWN_FUNCTION':
/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:109:
error: parameter name omitted
/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:111:
error: invalid type argument of `-'
/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c: At top
level:
/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:1776:
error: syntax error before pcre
/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:1777:
error: syntax error before pcre
/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:1778:
error: syntax error before pcre
*** Error code 1

Stop in /usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre.
*** Error code 1

Stop in /usr/ports/devel/php5-pcre.


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


How to reinstall gcc

2007-03-12 Thread Jeffrey Goldberg
I seem to have broken gcc on my 6.2-RELEASE p2 system.  I apparently  
did this by adding


CPUTYPE?=c3

to /etc/make.conf and then a make buildworld and make install world.

Everything seems to be working fine (though I haven't tested  
throughly), but now  gcc is definitely broken.  Most compile attempts  
end with something like


 internal compiler error: Illegal instruction: 4

I have been able to successfully compile hello.c, but a buildworld  
fails as described above as does the things I've tested in ports  
(pcre, curl, ispell).


My question is without a functioning gcc, how do a install a  
functioning gcc?


-j


--
Jeffrey Goldberghttp://www.goldmark.org/jeff/

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


Re: getting mail to work

2007-03-12 Thread RW
On Sun, 11 Mar 2007 17:27:52 -0800
jekillen [EMAIL PROTECTED] wrote:

 If you will allow me to break in on this exchange;
 Does this advise apply if you have static ip service

The important thing is really your reverse DNS, if you have control of
it and looks like a real server name,  e.g. mail.example.com, you can
stay off the dynamic lists. It doesn't help to have a static address if
your reverse dns looks like 12-43-545-example.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: root login with telnetd

2007-03-12 Thread Chris Kottaridis
On Sat, 2007-03-10 at 22:52 +0100, Wojciech Puchar wrote:
 can it be set to make possible to login root to machine through telnet and 
 without telneting to some user and then su -
 ?
 
 with sshd and rshd it can be set, with telnetd - no success.
 

My reasons for this being a bad idea isn't so much from concerns about
attack from outside, but it's more an issue of accountability.

When I ran a computing facility at a University we had some paid student
assistance, as well as faculty, that were reasonably entitled to have
the root password on various machines. Inevitably, the root password
would find it's way to some other student or some faculty member's
assistant and they'd get on the machine and do something as root. In all
cases they were trying to help, but in getting the features they were
interested in getting to work, they unknowingly mucked something else
up.

We did not allow any frontline root logins so they had to sign in on
one of the user's accounts and then su to root. Of course su logs this
in the log files. So, we would take a look at the log files to see which
users had su'd about the time the problem started occurring to ask them
what they had done, or were trying to do. A couple of times that
particular user was out of town and these machines weren't on the
internet nor did they have a modem, so it was clear that user had given
his account and root passwords to another person to work on their
project when they were gone. By the way, faculty were the worst
offenders at this. Some of them consider SysAdmin below them and would
hand those tasks off to some student, but that's a whole different
discussion.

Anyway, there was never anything nefarious going on, but having root
accesses logged in the log files was very helpful in allowing us to
build a history of what might have been done on the machine, and who did
it, to cause the failure. If you allow front line logins via telnet
and friends you won't have that accountability, because you'll have no
idea who it may have been that logged in so you can't ask them what they
might have been up to. By the way once everyone involved realized that
we weren't going to take them out back and have some thugs beat them up
for giving out the root passwords everyone was very helpful and we got
things fixed much faster then we would have if we had tried to blindly
figure things out on our own.

By the way, restricting su to wheel group is something I've always liked
about the BSD's. Again, it helps with the accountability factor on a
machine. I was flabbergasted when I first logged into a Linux box and
created a user and then su'ed to root from that user without ever adding
him to a wheel type group, I think Linux has a root group. This
doesn't really apply to this topic that much, but it irks me so much,
that Linux allows just any old user to su, I just wanted to vent a
little bit about it. Maybe they do it in a different way that I just
haven't needed to figure out yet.

So, I would argue that you really don't want to allow frontline logins
not so much for security reasons as for accountability reasons.

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


Re: Stopping named: rndc failed, trying killall: .

2007-03-12 Thread Chuck Swiger

On Mar 8, 2007, at 2:03 PM, Dan Nelson wrote:
[ ... ]

It would be nifty to make ndc/rndc smart enough to understand how to
find the pidfile under the chroot location.


rndc doesn't need to know where the pid is; it connects directly to
named over the control port (953) to do its magic.  Try running rndc
status while named is running; if you get an error message  
complaining

about midding rndc.conf or rndc.key files, you may need to configure
that before rndc will work.


rndc status works fine for me, but I recall that trying to use it  
to kill/restart named always fails when named is configured with  
chroot()


--
-Chuck

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


problem building php5-pcre

2007-03-12 Thread Robert Huff
Christopher Hobbs writes:

  Anyone else have this particular error?  I can't seem to get
  php5-pcre to build.

Built and installed just fine for me five minutes ago on 

FreeBSD 7.0-CURRENT #1: Mon Jan 22 16:56:10 EST 2007 i386 


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


How Do I Find Find?

2007-03-12 Thread Drew Jenkins
I built a home server to prepare  to build a new production server. Well, the 
latter is built out, but when I went back to the former, it said there was a 
problem with my last shutdown (which I don't remember) and went into single 
user mode. I went to run a find and it complained it couldn't find the find 
command! I thought, what the heck, no great loss, I'll just rebuild this 
machine. But after re-installing FBSD, it *still* can't find the find 
command! Now I'm worried!  It wasn't in /usr/bin/ What happened to this 
installation??
TIA,
Drew3
 
-
Expecting? Get great news right away with email Auto-Check.
Try the Yahoo! Mail Beta.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problem building php5-pcre

2007-03-12 Thread Eric

Robert Huff wrote:

Christopher Hobbs writes:


 Anyone else have this particular error?  I can't seem to get
 php5-pcre to build.


	Built and installed just fine for me five minutes ago on 

FreeBSD 7.0-CURRENT #1: Mon Jan 22 16:56:10 EST 2007 i386 



Robert Huff


does anyone know why, even tho pcre7 is installed, that when i install 
php5-pcre port my phpinfo shows this:


PCRE (Perl Compatible Regular Expressions) Support  enabled
PCRE Library Version3.9 02-Jan-2002

this is on BSD 6.1 with apache 2.

why the heck would it be doing this?  i did notice that my ldconfig -r 
was empty (no idea how), but i readded all the paths via ldconfig -m


Ive reinstalled apache, php, extensions, pcre, etc over and over (trying 
different things) to no avail.


Any ideas?

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


firewall/proxy question

2007-03-12 Thread Bart Silverstrim
I am trying to find a way to stop some people on our network from  
accessing certain websites.  We have been using Squid with SquidGuard  
on an older FreeBSD system.


The Squid that was installed from ports doesn't seem to see https:  
connections.  From what I can find, this appears to be normal  
behavior since https: connections are encrypted.


Is there some way to set up ipfw to block access to port 443 if the  
URL/IP matches a certain address?  These users are bypassing our  
filter rules by accessing a proxy site that is using https.  The  
current ruleset on the box is

00049 allow tcp from filter machine IP to any
00050 fwd filter machine IP,3128 tcp from any to any 80
00100 allow ip from any to any via lo0
00200 deny ip from any to 127.0.0.0/8
00300 deny ip from 127.0.0.0/8 to any
65000 allow ip from any to any
65535 deny ip from any to any

Can someone help with some suggestions?  Does the Linux firewall  
system have a similar way to block access to a particular IP if it  
were doing forwarding?  We were experimenting with a new proxy  
machine but it is running Ubuntu.


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


Re: Post DST changes

2007-03-12 Thread Bob Johnson

On 3/12/07, Mike Tancsa [EMAIL PROTECTED] wrote:

I am seeing some inconsistent and strange results after the DST
change this weekend.  On all the boxes, it seems setup OK

[...]

yet mixed in notice the /kernel entry... Its an hour off !?

if I restart syslogd, it corrects it for the kernel entry, but not
for other applications. They all seem to log the time one hour back.
Most applications seem this way.  On my more recent boxes this didnt
happen, but for some legacy RELENG_4 and older RELENG_5 and RELENG_6
boxes, the same odd behavior.


Restart any programs that aren't picking up the time change.


From the tzsetup(8) man page:

BUGS
Programs which are already running when tzsetup creates or updates
/etc/localtime will not reflect the updated timezone.

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


Re: PHP 5.2.1 and the hard time with vbulletin 3.6.4 (solved)

2007-03-12 Thread Justin Meyer
Hi Abdullah!

On Mon, 12 Mar 2007, Abdullah Ibn Hamad Al-Marri wrote:

 On 2/27/07, Abdullah Ibn Hamad Al-Marri [EMAIL PROTECTED] wrote:
 On 2/26/07, Joe Auty [EMAIL PROTECTED] wrote:
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  Have you recompiled all PHP extensions too?
 
  I believe the php5-pcre extension might handle perl regular
  expressions (preg_replace) in PHP.
 
 
 Yes I did portupgrade -f php*
 
 There is a thread about it in vbulletin
 
 http://www.vbulletin.com/forum/showthread.php?p=1312516#post1312516
 
 --
 Regards,
 
 -Abdullah Ibn Hamad Al-Marri
 Arab Portal
 http://www.WeArab.Net/
 
 
 This how I got it fixed.
 
 portupgrade -frR pcre-utf8-7.0
 portupgrade -frR php5-pcre-5.2.1_3
 
 Could someone tell me please why did I need to do this to get it fixed?

No idea here, but I believe I encountered the same issue under Gallery2
(http://gallery.menalto.com), and a similar solution fixed it. I'm just
replying here in case anybody does a search...

Cheers,

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


Re: diskonkey

2007-03-12 Thread Dima Sorkin

Hi.
Thanks for resolving the case.
diskonkey works fine.
Dima.
On 3/12/07, Wojciech Pucha wrote:
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Recover Make ARG's from a ports Install

2007-03-12 Thread Roland Smith
On Mon, Mar 12, 2007 at 08:18:25AM +0100, Alexander Schlichting wrote:
  
 
 On a server I have a package installed using ports and now I have to install
 the package with exactly the same make arguments on another server. I just
 don't find a way to see what arguments where used to install it the first
 time. With Linux I would look into config.status is there something similar
 with FreeBSD? Sorry for having to ask but I am using FreeBSD for the first
 days now after 5 years using Linux only :)

If the arguments are given on the command line when invonkig make in the
port directory, they are not saved.

A mechanism (called OPTIONS) was later added to the ports infrastructure
that does save the arguments. Not all ports have been completely
converted to using options, and some arguments cannot be set with
options. But if arguments are set with the OPTIONS mechanism, you can
find them in the file /var/db/ports/portname/options.

Additionally, arguments can be set in /etc/make.conf. Those should look
like this:

.if ${.CURDIR:M*/graphics/povray}
WITH_OPTIMIZED_FLAGS=yes
.endif

This means that when make is invoked in a directory that ends in
graphics/povray, the variable WITH_OPTIMIZED_FLAGS is set.

HTH, 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)


pgpZHSs7rme4o.pgp
Description: PGP signature


Re: Post DST changes

2007-03-12 Thread Mike Tancsa

At 02:00 PM 3/12/2007, Bob Johnson wrote:

On 3/12/07, Mike Tancsa [EMAIL PROTECTED] wrote:

I am seeing some inconsistent and strange results after the DST
change this weekend.  On all the boxes, it seems setup OK

[...]

yet mixed in notice the /kernel entry... Its an hour off !?

if I restart syslogd, it corrects it for the kernel entry, but not
for other applications. They all seem to log the time one hour back.
Most applications seem this way.  On my more recent boxes this didnt
happen, but for some legacy RELENG_4 and older RELENG_5 and RELENG_6
boxes, the same odd behavior.


Restart any programs that aren't picking up the time change.

From the tzsetup(8) man page:
BUGS
Programs which are already running when tzsetup creates or updates
/etc/localtime will not reflect the updated timezone.

- Bob


Note self, Always read BUGS section from now on  :(

Thanks for pointing that out.

---Mike


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


Re: limitiation on memory allocation

2007-03-12 Thread Dima Sorkin

Hi.
I experimented with the values:

1) On my machine 'maxusers' doesn't influence the maximum memory
allowable for allocation for single process.

2) 'maxdsiz' -  Yes, as long as I keep 'maxdsiz + maxssiz' below physical
memory size - everything is fine. Single process allocates successfully
up to 'maxdsiz'.
   When tried to put 'maxdsiz'  phys mem size,
 indeed the system failed to boot, in all modes:
 multiuser, singleuser, safe.

So I derive from here that there is no way to cause a _single process_
on FreeBSD to allocate more than physical memory size (?)

Thank you and regards,
Dima.


On 3/9/07, Derek Ragona [EMAIL PROTECTED] wrote:

 Not all the settings there are tuneable.  In 6.X the allowable memory is
somewhat automatic based on the max users.  Your kernel is set to 384.  You
can try changing that.

 You can also make some kernel settings in:
 /boot/loader.conf

 You can see the possible variables to set in:
 /boot/defaults/loader.conf

 I think the one variable you may want to change is:
 kern.maxdsiz=to your actual real memory size
 Don't make this larger than the real memory, in my experience that will
cause the system to not boot properly into multi-user.



 At 11:06 AM 3/9/2007, Dima Sorkin wrote:
  On FreeBSD 6.2 i386 with 2GB of physical memory I can't allocate
  more than 500Mb for my program.

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


natd and jails for multipel IP addresses

2007-03-12 Thread Michael R. Wayne
I'm trying to add a second IP address to an existing jail
using natd and I must be missing something.  

Setup:
   HOST_IP  The host, attached to fxp0
   JAIL_IP  The existing, working jail
   2ND_IP   The IP address I'm trying to natd to the jail

I've got ipfw rules to catch traffic to/from the new IP and nothing
blocking them:
   00300 divert 8668 ip from any to 2ND_IP via fxp0
   00310 divert 8668 ip from 2ND_IP to any via fxp0

natd is running with:
   /sbin/natd -log -verbose -redirect_address JAIL_IP 2ND_IP -alias_address 
JAIL_IP

But, natd seems to be translating the source, not the dest IP:
   % ping 2ND_IP
yields:
   Out {default}[ICMP] [ICMP] HOST_IP - 2ND_IP 8(0) aliased to
  [ICMP] JAIL_IP - 2ND_IP 8(0)

Whereas, I would expect this to do:
   HOST_IP - 2ND_IP
translated to
   HOST_IP - JAIL_IP
and the reverse.

WTH am I missing here?

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


choosing window manager

2007-03-12 Thread Dima Sorkin

Hi.
1) How do I start KDE / FVWM2/ GNOME / TWM / Windowmaker ?
   ( I've choosed them during installation )

2) Is there some nice welcome program,
that allows to choose a session kind ?

Dima.

On FreeBSD 6.2 i386,

startx-- starts TWM


root gdm   -- starts gnome desktop manager,
  which allows to start only GNOME
(I was used that it allows to launch any WM,
 but in this case - only GNOME).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: limitiation on memory allocation

2007-03-12 Thread Chuck Swiger

On Mar 12, 2007, at 11:20 AM, Dima Sorkin wrote:
2) 'maxdsiz' -  Yes, as long as I keep 'maxdsiz + maxssiz' below  
physical
memory size - everything is fine. Single process allocates  
successfully

up to 'maxdsiz'.
   When tried to put 'maxdsiz'  phys mem size,
 indeed the system failed to boot, in all modes:
 multiuser, singleuser, safe.

So I derive from here that there is no way to cause a _single process_
on FreeBSD to allocate more than physical memory size (?)


It is certainly possible to configure FreeBSD to allow a single  
process to access more memory than is phyiscally installed.  For  
example, I have a machine with 512MB of RAM, and set:


  kern.dfldsiz=1G

...in /boot/loader.conf, and this works just fine.  Admittedly, when  
a process does exceed 512MB in dsize, the system starts swapping  
quite a bit, but that's how virtual memory works.


However, you cannot set maxdsiz greater than 4GB [1] if you are  
running a 32-bit version of FreeBSD.  Enabling PAE will let the  
kernel access more than 4GB of physical RAM, but nothing is going to  
let a 32-bit system give more than 4 GB [1] to a single process...if  
you want to do that, then you'll need to switch to running a 64-bit  
version of FreeBSD.


--
-Chuck

[1]: Well, 3.5GB or 3GB, actually...due to the top portion of address  
space being occupied by PCI device space and the kernel.

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


Re: How Do I Find Find?

2007-03-12 Thread Bill Moran
In response to Drew Jenkins [EMAIL PROTECTED]:

 I built a home server to prepare  to build a new production server. Well,
 the latter is built out, but when I went back to the former, it said there
 was a problem with my last shutdown (which I don't remember) and went into
 single user mode. I went to run a find and it complained it couldn't find
 the find command! I thought, what the heck, no great loss, I'll just
 rebuild this machine. But after re-installing FBSD, it *still* can't find
 the find command! Now I'm worried!  It wasn't in /usr/bin/ What happened
 to this installation??

My first guess would be that when you rebooted into single user mode, your
/usr partition wasn't mounted so find wasn't accessable.

Not sure how you managed to rebuild the machine and still have find missing,
but I can't really guess that without knowing what you meant by rebuilt.

Is /usr mounted?

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


Re: limitiation on memory allocation

2007-03-12 Thread Dima Sorkin

Hi.
Something is probably wrong.
kern.dfldsiz on my machine does not influence.
I.e. after booting I run
$ limits
and it shows me the old 500M.

Now, a point about 'maxdsiz'= 3.0-3.5G instead of 4G - this one I must check.
I tried 3.9G   :)

Thanks,
Dima.

On 3/12/07, Chuck Swiger wrote:


It is certainly possible to configure FreeBSD to allow a single
process to access more memory than is phyiscally installed.  For
example, I have a machine with 512MB of RAM, and set:

   kern.dfldsiz=1G

...in /boot/loader.conf, and this works just fine.  Admittedly, when
a process does exceed 512MB in dsize, the system starts swapping
quite a bit, but that's how virtual memory works.

However, you cannot set maxdsiz greater than 4GB [1] if you are
running a 32-bit version of FreeBSD.  Enabling PAE will let the
kernel access more than 4GB of physical RAM, but nothing is going to
let a 32-bit system give more than 4 GB [1] to a single process...if
you want to do that, then you'll need to switch to running a 64-bit
version of FreeBSD.

--
-Chuck

[1]: Well, 3.5GB or 3GB, actually...due to the top portion of address
space being occupied by PCI device space and the kernel.


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


Re: choosing window manager

2007-03-12 Thread Carsten Fuchs
 1) How do I start KDE / FVWM2/ GNOME / TWM / Windowmaker ?
 ( I've choosed them during installation )

$ startkde

or put something like this in your ~/.xinitrc:

exec gnome-session
or
exec wmaker
etc.
and start x

$ startx

 2) Is there some nice welcome program,
  that allows to choose a session kind ?

You can use kdm (KDE) or gdm (GDM), they're display managers
that allow you to log into different sessions/desktop environments. you
may install /usr/ports/x11/gdm and put the following line in
your /etc/rc.conf file:

gdm_enable=YES

GDM will be started automatically when you boot next time.
Bye.





___ 
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: 
http://mail.yahoo.de
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: choosing window manager

2007-03-12 Thread Carsten Fuchs
I didn't read to the end...

 root gdm   -- starts gnome desktop manager,
which allows to start only GNOME
  (I was used that it allows to launch any WM,
   but in this case - only GNOME).

How do I add new GDM sessions?
http://www.freebsd.org/gnome/docs/faq2.html#q16

HTH,
bye.


___ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: limitiation on memory allocation

2007-03-12 Thread Chuck Swiger

On Mar 12, 2007, at 12:02 PM, Dima Sorkin wrote:

Something is probably wrong.
kern.dfldsiz on my machine does not influence.


I don't believe you can change that value after the system has  
booted-- you have to set it either in the kernel's config file, or  
in /boot/loader.conf, for this to actually take effect.



I.e. after booting I run
$ limits
and it shows me the old 500M.

Now, a point about 'maxdsiz'= 3.0-3.5G instead of 4G - this one I  
must check.

I tried 3.9G   :)


Try using 3GB, agreed.

Also, please note that the dftdsiz keyword affects the hard limit,  
not the soft limit...your shell might well have 500MB soft dsize  
limit by default, but would permit you to change that upward to the  
maximum set by the hard limit once you've changed that value.


See man getrlimit:

 A resource limit is specified as a soft limit and a hard  
limit.  When a
 soft limit is exceeded a process may receive a signal (for  
example, if
 the cpu time or file size is exceeded), but it will be allowed  
to con-
 tinue execution until it reaches the hard limit (or modifies  
its resource
 limit).  The rlimit structure is used to specify the hard and  
soft limits

 on a resource,

   struct rlimit {
   rlim_t  rlim_cur;   /* current (soft) limit */
   rlim_t  rlim_max;   /* maximum value for  
rlim_cur */

   };

 Only the super-user may raise the maximum limits.  Other users  
may only
 alter rlim_cur within the range from 0 to rlim_max or  
(irreversibly)

 lower rlim_max.


--
-Chuck

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


Re: How Do I Find Find?

2007-03-12 Thread Drew Jenkins
Yes, /usr is mounted. When I say rebuild, I mean I stuck the FBSD 6.2 CD erased 
the old installation and reinstalled.
Drew3

Bill Moran [EMAIL PROTECTED] wrote: In response to Drew Jenkins :

 I built a home server to prepare  to build a new production server. Well,
 the latter is built out, but when I went back to the former, it said there
 was a problem with my last shutdown (which I don't remember) and went into
 single user mode. I went to run a find and it complained it couldn't find
 the find command! I thought, what the heck, no great loss, I'll just
 rebuild this machine. But after re-installing FBSD, it *still* can't find
 the find command! Now I'm worried!  It wasn't in /usr/bin/ What happened
 to this installation??

My first guess would be that when you rebooted into single user mode, your
/usr partition wasn't mounted so find wasn't accessable.

Not sure how you managed to rebuild the machine and still have find missing,
but I can't really guess that without knowing what you meant by rebuilt.

Is /usr mounted?

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


 
-
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-12 Thread hxc

Tore Lund wrote:


I believe it's enough to put this line into /boot/device.hints:

hint.agp.0.disabled=1

  
Is this really true? Who can confirm this? I also wonder why glxgears in 
FreeBSD gives me 5000 fps, while in Linux gives me 13000.  To get 5000 
fps in Linux I need to disable 3d support :-\ .



Have you installed the port or package nvidia-driver (or one of its
siblings)?  The documentation that comes with it will probably tell you
what you need to know.

On my own machine I have NVIDIA-FreeBSD-x86-1.0-9631, and I get this:

%sysctl hw.nvidia.agp.status
hw.nvidia.agp.status.status: enabled
hw.nvidia.agp.status.driver: nvidia
hw.nvidia.agp.status.rate: 4x
hw.nvidia.agp.status.fw: disabled
hw.nvidia.agp.status.sba: disabled
  


I have installed the port nvidia-driver. I have followed all the step in 
the readme (including adding the  line to  /boot/device.hint see below). 
I wonder though is nvidia 3d acceleration supported under FreeBSD? From 
the readme:

/
The NVIDIA Accelerated FreeBSD Driver Set brings accelerated 2D 
functionality

and high-performance OpenGL support to FreeBSD x86 with the use of NVIDIA
graphics processing units (GPUs).

These drivers provide optimized hardware acceleration for OpenGL and X
applications and support nearly all recent NVIDIA graphics chips (please see
Appendix A for a complete list of supported chips). TwinView, TV-Out and 
flat

panel displays are also supported.
/
P.S.
I also have ran ppracer. Results:

*FreeBSD*
*110 fps*

*Gentoo Linux*
*240 fps*


Additional information:

*# tail /boot/device.hints*
/hint.ie.0.maddr=0xd
hint.fe.0.at=isa
hint.fe.0.disabled=1
hint.fe.0.port=0x300
hint.lnc.0.at=isa
hint.lnc.0.disabled=1
hint.lnc.0.port=0x280
hint.lnc.0.irq=10
hint.lnc.0.drq=0
hint.agp.0.disabled=1/



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


  1   2   >