Re: Can not move directory within FAT32 file-system

2007-02-09 Thread nicky

ronggui wrote:

Hello, all.

I am new to FreeBSD. I got my first question with FAT32 file-system.
It seems quite strange. I install FreeBSD 6.2 in my asus notebook.
When I mount windows file system, I cannot move directory even if  as
root.

mount_msdosfs /dev/ad0s6 /mnt
mkdir /mnt/1
mkdir /mnt2
mv /mnt/1 /mnt/2

The last step will complain  not a directory. But the same steps
work in my old pc. Thanks very much.


Perhaps if you do

mkdir /mnt/2

instead of

mkdir /mnt2

Greetz.

--
Nicky Bulthuis
ValueCare BV
Oudlaan 4
3515 GA  Utrecht
Mob: 06-41341545
E-mail: [EMAIL PROTECTED]
Web: www.valuecare.nl


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


Re: Can not move directory within FAT32 file-system

2007-02-09 Thread ronggui

Sorry, That's my typing  mistake. The problem is still there.

[MyBSD] /media/wine# mkdir 1
[MyBSD] /media/wine# mkdir 2
[MyBSD] /media/wine# mv 1 2
mv: rename 1 to 2/1: Not a directory
[MyBSD] /media/wine#


On 2/9/07, nicky [EMAIL PROTECTED] wrote:

ronggui wrote:
 Hello, all.

 I am new to FreeBSD. I got my first question with FAT32 file-system.
 It seems quite strange. I install FreeBSD 6.2 in my asus notebook.
 When I mount windows file system, I cannot move directory even if  as
 root.

 mount_msdosfs /dev/ad0s6 /mnt
 mkdir /mnt/1
 mkdir /mnt2
 mv /mnt/1 /mnt/2

 The last step will complain  not a directory. But the same steps
 work in my old pc. Thanks very much.

Perhaps if you do

mkdir /mnt/2

instead of

mkdir /mnt2

Greetz.

--
Nicky Bulthuis
ValueCare BV
Oudlaan 4
3515 GA  Utrecht
Mob: 06-41341545
E-mail: [EMAIL PROTECTED]
Web: www.valuecare.nl






--
Ronggui Huang
Department of Sociology
Fudan University, Shanghai, China
黄荣贵
复旦大学社会学系
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: if_nfe on nVidia chipset

2007-02-09 Thread Palle Girgensohn

Here's a problematic machine:

[EMAIL PROTECTED]:8:0:  class=0x068000 card=0xcb8410de chip=0x037310de  
rev=0xa2 hdr=0x00

vendor   = 'NVIDIA Corporation'
class= bridge
[EMAIL PROTECTED]:9:0:  class=0x068000 card=0xcb8410de chip=0x037310de  
rev=0xa2 hdr=0x00

vendor   = 'NVIDIA Corporation'
class= bridge



Just the other day, on a machine running amd64, I got it working   
with no problems:


[EMAIL PROTECTED]:8:0:  class=0x068000 card=0x82391043 chip=0x037310de  
rev=0xa2 hdr=0x00

vendor   = 'NVIDIA Corporation'
class= bridge
[EMAIL PROTECTED]:9:0:  class=0x068000 card=0x82391043 chip=0x037310de  
rev=0xa2 hdr=0x00

vendor   = 'NVIDIA Corporation'
class= bridge

Both run FreeBSD-6.2 release with the patches added. Same  
motherboards, m2n sli-deluxe. So, might it have something to do with  
i386 vs. amd64? For me, it works with amd64, and not with i386 (on at  
least two machines). It is detected properly on  all machines, but  
the network does not work.



Regards,
Palle


9 feb 2007 kl. 02.17 skrev Brian Smith:


Hi Palle,

   I am having the same issue.  I just installed FreeBSD 7.0  
snapshot from January to see if that helps because the latest patch  
requires FreeBSD 6.2 and I had been running 6.1.  But still getting  
(none) for the media type, but everything else *looks* like it is  
working.  However nothing responds.  Can you run pciconf -l -v and  
compare it to my IDs?


[EMAIL PROTECTED]:16:0: class=0x068000 card=0xcb8410de chip=0x037310de  
rev=0xa2 hdr=0x00

   vendor   = 'Nvidia Corp'
   device   = 'MCP55 Ethernet'
   class   = bridge
[EMAIL PROTECTED]:17:0: class=0x068000 card=0xcb8410de chip=0x037310de  
rev=0xa2 hdr=0x00

   vendor   = 'Nvidia Corp'
   device   = 'MCP55 Ethernet'
   class   = bridge

Thanks,
   Brian Smith


Hello,

Sorry, there's no change, it still acts the same way.

media: Ethernet autoselect (none)
status: active

and the network does not work. No mediaopts work.

Regards,
Palle



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


Re: eterm/port

2007-02-09 Thread Stanislav Sedov
On Thu, 08 Feb 2007 12:20:29 -0500
Lowell Gilbert [EMAIL PROTECTED] mentioned:

 Lowell Gilbert [EMAIL PROTECTED] writes:

 Hmm.  imlib2 isn't deleting properly, either.

 pkg_delete: file '/usr/local/bin/imlib2_bumpmap' doesn't exist
 pkg_delete: file '/usr/local/bin/imlib2_colorspace' doesn't exist
 pkg_delete: file '/usr/local/bin/imlib2_grab' doesn't exist
 pkg_delete: file '/usr/local/bin/imlib2_poly' doesn't exist
 pkg_delete: file '/usr/local/bin/imlib2_show' doesn't exist
 pkg_delete: file '/usr/local/bin/imlib2_test' doesn't exist
 pkg_delete: file '/usr/local/bin/imlib2_view' doesn't exist
 pkg_delete: couldn't entirely delete package (perhaps the packing list is
 incorrectly specified?)


Yeah, my fault. Broken by the latest commit. Already fixed.

--
Stanislav Sedov
ST4096-RIPE


pgpNzIv1SlsMT.pgp
Description: PGP signature


(no subject)

2007-02-09 Thread ws44
Hello!

Are there some utils to release Inact memory, which can be viewed by
top-utility? In time all Free Memory flows to Inact Memory, and we
have real problem with performance of our router. After I reboot
server, problem disapears for one or two days. I REALLY need any way
to clean up router's memory and move it from Inact to Free state
without rebooting..

Kind regards, with hope, Ellad Yatsko.

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


acpi_bus_number: can't get _ADR pci0: memory, RAM at device 0.7 (no driver attached)

2007-02-09 Thread lveax

hey all,

i found some error msg from dmesg,what does these mean?

ioapic0: Changing APIC ID to 2
ioapic0 Version 1.1 irqs 0-23 on motherboard
acpi0: GBT AWRDACPI on motherboard
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi0: Power Button (fixed)
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
cpu0: ACPI CPU on acpi0
cpu1: ACPI CPU on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pci0: memory, RAM at device 0.0 (no driver attached)
pci0: memory, RAM at device 0.1 (no driver attached)
pci0: memory, RAM at device 0.2 (no driver attached)
pci0: memory, RAM at device 0.3 (no driver attached)
pci0: memory, RAM at device 0.4 (no driver attached)
pci0: memory, RAM at device 0.5 (no driver attached)
pci0: memory, RAM at device 0.6 (no driver attached)
pci0: memory, RAM at device 0.7 (no driver attached)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: acpi_bus_number: can't get _ADR pci0: memory, RAM at device 0.7 (no driver attached)

2007-02-09 Thread Ivan Voras
lveax wrote:
 hey all,
 
 i found some error msg from dmesg,what does these mean?

 acpi_bus_number: can't get _ADR

Nothing serious - it probably makes no sense to even display this message.

 pci0: memory, RAM at device 0.0 (no driver attached)
 pci0: memory, RAM at device 0.1 (no driver attached)
 pci0: memory, RAM at device 0.2 (no driver attached)
 pci0: memory, RAM at device 0.3 (no driver attached)
 pci0: memory, RAM at device 0.4 (no driver attached)
 pci0: memory, RAM at device 0.5 (no driver attached)
 pci0: memory, RAM at device 0.6 (no driver attached)
 pci0: memory, RAM at device 0.7 (no driver attached)

Maybe your RAM supports some diagnostic function that needs a special
driver. It's also not serious.

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


Performance problems with routing (was Re: (no subject))

2007-02-09 Thread Bill Moran
In response to Яцко Эллад Геннадьевич (ws44) [EMAIL PROTECTED]:
 
 Are there some utils to release Inact memory, which can be viewed by
 top-utility? In time all Free Memory flows to Inact Memory, and we
 have real problem with performance of our router. After I reboot
 server, problem disapears for one or two days. I REALLY need any way
 to clean up router's memory and move it from Inact to Free state
 without rebooting..

Use a descriptive subject in your emails.

You're chasing shadows.  Unused memory is _supposed_ to end up in
the inactive state.  There is no way to free it, and there shouldn't
be.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/misc.html#TOP-FREEMEM

If you're having problems with routing performance, please post some
details relevant to the problem.  You should start with such basics as
the version of FreeBSD that you're using, and move into cut/pasting the
output of ifconfig, netstat -rn, and any nat or packet filtering
configuration.

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


Re: recovery after power outage

2007-02-09 Thread Marty Landman

On 2/8/07, Pieter de Goeje [EMAIL PROTECTED] wrote:


If the slice and partition table are still intact (as they were before the
outage), a normal fsck -F on /dev/ad1s1a will get the pc booting again.



Well I managed to get the machine booting by editing /etc/fstab

%cat /etc/fstab
# DeviceMountpoint  FStype  Options Dump
Pass#
/dev/ad0s1b noneswapsw  0   0
/dev/ad0s1a /   ufs rw  1   1
/dev/ad0s1d /tmpufs rw  2   2
/dev/ad0s1f /usrufs rw  2   2
/dev/ad0s1e /varufs rw  2   2
#/dev/ad1s1c/hoss   ufs rw  2   2
/dev/acd0   /cdrom  cd9660  ro,noauto   0   0

That's a great start, however I'd like to recover what I can from ad1s1c.

%sudo fsck -F ad1s1c
fsck: exec fsck_unused for /dev/ad1s1c in /sbin:/usr/sbin: No such file or
directory
fsck: exec fsck_unused for /dev/ad1s1c in /sbin:/usr/sbin: No such file or
directory


What is that telling me?

You

can do this from a FreeBSD live cd such as FreesBIE or the fixit cd. You
can
then fsck the the rest of the filesystems in single user mode. You may
also
want to use the live CD to backup the important bits before, ehm, further
corrupting/restoring the filesystems. ;)



Sorry Pieter I'm lost again.  Can't I use sysinstall? Fdisk?  Wish I
understood the next steps here.
FWIW when I do a sysinstall and then use the fdisk utility I get

Disk name:  ad1FDISK Partition
Editor
DISK Geometry:  30515 cyls/255 heads/63 sectors = 490223475 sectors
(239366MB)

Offset   Size(ST)End Name  PType   Desc  Subtype
Flags

0126125- 12 unused0
  126  490223412  490223537   ad1cs1  8freebsd  165
490223538  11214  490234751- 12 unused0

Which appears that I perhaps have not totally hosed this disk up.

Marty


--
Web Installed Formmail - http://face2interface.com/formINSTal/
Webmaster's BBS - http://bbs.face2interface.com/

--
Web Installed Formmail - http://face2interface.com/formINSTal/
Webmaster's BBS - http://bbs.face2interface.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


free memory

2007-02-09 Thread Andy Greenwood

On 2/9/07, Яцко Эллад Геннадьевич (ws44) [EMAIL PROTECTED] wrote:

Hello!

Are there some utils to release Inact memory, which can be viewed by
top-utility? In time all Free Memory flows to Inact Memory, and we
have real problem with performance of our router. After I reboot
server, problem disapears for one or two days. I REALLY need any way
to clean up router's memory and move it from Inact to Free state
without rebooting..


You might want to read this. Basically, that is what it's supposed to
do. I suspect that you have some other problem.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/misc.html#TOP-FREEMEM

And also this.
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions/x114.html



Kind regards, with hope, Ellad Yatsko.

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




--
--
I'm nerdy in the extreme and whiter than sour cream
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Low-cost dedicated FreeBSD server or non-jail VPS?

2007-02-09 Thread Grant Wagner
Subject: Re: Low-cost dedicated FreeBSD server or non-jail VPS?

If you don't mind the lack of vidio (serial connection or network)
then
maybe one of these babies might be for you. I want to experement with
one
with a pci or better slot for a full home server for off the grid
homes.
Most of these boxes use less than 5 watts total.

SBC http://www.linuxdevices.com/articles/AT8498487406.html

On Wed, Feb 07, 2007 at 05:34:47PM -0800, Jay Chandler wrote:

 Derek Ragona wrote:
 FreeBSD runs on most i386 based hardware as long as you have 64 MB
ram 
 or more.  So you can recycle an old desktop PC to run FreeBSD and
then 
 have at it.  Or buy a cheap new desktop or refurbished.
 
 -Derek
 
 
 The problem with this approach is that it doesn't get you a static
IP 
 with proper rDNS and a host of other things...

It does if you buy an ISP account that includes a static IP and
does DNS for you or you set up your own DNS and register the server.

jerry

 
 I'd have interest in the answer to this question as well, as a
jailed 
 environment isn't quite what I want either.
 
 
 -- 
 Jay Chandler



 

Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


NFS or Samba? What performance could be expected?

2007-02-09 Thread Roger Olofsson

Dear mailing list,

First of all, thanks to everyone that took the time to answer my 
previous questions to the list, I will try and do the same for the 
questions I am able to help with.


Now, over to this weeks project. Basically it's about a web server 
(apache) that runs a php application. This application saves data to a 
definable path and the idea is to save over the network to another 
physical machine. The application is disk intensive meaning speed is (as 
always) essential. Both machines are close, same network segment with a 
couple of switches inbetween. One machine is 6.2 and the other is 5.5 
(FreeBSD of course).


The questions:

What would be appropriate to use to mount the storage? NFS or Samba? 
What performance would be expected?


Follow-up, for NFS, should the storage machine (where the data is saved) 
be the NFS daemon and the web server the client or the other way around? 
Is there any tweaking parameters other than the setup from the handbook?


I am familiar with the basic setup of both NFS and Samba, compiling 
samba into the kernel etc but I'd be grateful for tips about tweaking 
the network performance for both.


As always, I am grateful for any answer! Thanks In Advance!

Greetings
/Roger

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


Importing a server setup.

2007-02-09 Thread Grant Peel
Hi all,

I have a very good setup on a server that I would like to clone to a brand new 
server, and an existing server.

My plan is dependant on two things, feel free to comment on them if I am 
missing something:

0.  Make sure the machine to be cloned is using a generic kernel, and ensure 
the SAS driver is enabled.

1. I will take complete dumps of all the file systems (less swap and dev of 
course). These will be kept on a local machine that has filesharing setup 
(another freebsd box).

2.  a. I will boot the new box using FreeBSD 6.1 or 6.2 CD.(How do I keep 
from entering sysinstall?)
 b.Setup the new filesystems,
 c. setup a local network IP and configure a network fileshare client so I 
can get to the dumps,  (this is doable, right?)
 d. inport the stored data, and configure the machine specific details 
(hostname, IP etc etc etc),

Am I missing antything here?

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


master.passwd

2007-02-09 Thread Grant Peel
Hi all,

I have two servers that I will be upgrading.

Will the passwords in 4.7 and 4.10 (in the master password file work in 6.1?

They all start with $1$

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


Re: Can not move directory within FAT32 file-system

2007-02-09 Thread ronggui

A little more information.

If the windows partition is a primary one, things go smoothly. And if
the partiption is logical one, the error comes. I got such error msg:

deget(): entry at clust 13072!=1887112573
doscheckpath():.. not a directory?

Any solutions? Thank you.

On 2/9/07, ronggui [EMAIL PROTECTED] wrote:

Sorry, That's my typing  mistake. The problem is still there.

[MyBSD] /media/wine# mkdir 1
[MyBSD] /media/wine# mkdir 2
[MyBSD] /media/wine# mv 1 2
mv: rename 1 to 2/1: Not a directory
[MyBSD] /media/wine#


On 2/9/07, nicky [EMAIL PROTECTED] wrote:
 ronggui wrote:
  Hello, all.
 
  I am new to FreeBSD. I got my first question with FAT32 file-system.
  It seems quite strange. I install FreeBSD 6.2 in my asus notebook.
  When I mount windows file system, I cannot move directory even if  as
  root.
 
  mount_msdosfs /dev/ad0s6 /mnt
  mkdir /mnt/1
  mkdir /mnt2
  mv /mnt/1 /mnt/2
 
  The last step will complain  not a directory. But the same steps
  work in my old pc. Thanks very much.
 
 Perhaps if you do

 mkdir /mnt/2

 instead of

 mkdir /mnt2

 Greetz.

 --
 Nicky Bulthuis
 ValueCare BV
 Oudlaan 4
 3515 GA  Utrecht
 Mob: 06-41341545
 E-mail: [EMAIL PROTECTED]
 Web: www.valuecare.nl





--
Ronggui Huang
Department of Sociology
Fudan University, Shanghai, China
黄荣贵
复旦大学社会学系




--
Ronggui Huang
Department of Sociology
Fudan University, Shanghai, China
黄荣贵
复旦大学社会学系
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: NFS or Samba? What performance could be expected?

2007-02-09 Thread Garrett Cooper

Roger Olofsson wrote:

Dear mailing list,

First of all, thanks to everyone that took the time to answer my 
previous questions to the list, I will try and do the same for the 
questions I am able to help with.


Now, over to this weeks project. Basically it's about a web server 
(apache) that runs a php application. This application saves data to a 
definable path and the idea is to save over the network to another 
physical machine. The application is disk intensive meaning speed is (as 
always) essential. Both machines are close, same network segment with a 
couple of switches inbetween. One machine is 6.2 and the other is 5.5 
(FreeBSD of course).


The questions:

What would be appropriate to use to mount the storage? NFS or Samba? 
What performance would be expected?


Follow-up, for NFS, should the storage machine (where the data is saved) 
be the NFS daemon and the web server the client or the other way around? 
Is there any tweaking parameters other than the setup from the handbook?


I am familiar with the basic setup of both NFS and Samba, compiling 
samba into the kernel etc but I'd be grateful for tips about tweaking 
the network performance for both.


As always, I am grateful for any answer! Thanks In Advance!

Greetings
/Roger


NFS for Unix clients, Samba for Windows clients. The performance rubrics 
lean that way from what I've seen.


Besides, NFS is more lightweight than Samba it seems because NFS just 
checks UIDs and GIDs, whereas Samba has a number of authentication 
methods and also supports printer serving.


If you're concerned about security with NFS though, just limit the 
number of machines that can access your NFS server using 
/etc/hosts.allow and /etc/hosts.deny.


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


Re: master.passwd

2007-02-09 Thread Garrett Cooper

Grant Peel wrote:

Hi all,

I have two servers that I will be upgrading.

Will the passwords in 4.7 and 4.10 (in the master password file work in 6.1?

They all start with $1$

-Grant


Just run cap_mkdb /etc/master.passwd -- you'll have to once you upgrade 
and it's a step that many times I even overlook doing by accident .


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


Re: Weird perms with linux_base-gentoo-stage3

2007-02-09 Thread Divacky Roman
On Thu, Feb 08, 2007 at 05:22:31PM -0600, Kirk Strauser wrote:
 I'm using linux_base-gentoo-stage3-2006.0_2 for my 6.2-RELEASE system's Linux 
 emulation.  It works perfectly for my Linux apps - better than the recommend 
 linux_base-fc4 port, in fact - but has a strange problem.  Whenever I install 

just out of curiousity - what do you mean by better then the recommended fc4 ?
what problems disappear with you switch to gentoo base?

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


Re: toggle between english and french (how?)

2007-02-09 Thread Giorgos Keramidas
On 2007-02-09 00:53, Peter [EMAIL PROTECTED] wrote:
Le Jeudi 8 F??vrier 2007 21:24, Giorgos Keramidas a ??crit :
On 2007-02-08 18:57, Peter [EMAIL PROTECTED] wrote:
Le Jeudi 8 F??vrier 2007 16:32, Apatewna a ??crit :
O/H Peter έγραψε:
 Darn.  Now I see that these commands cannot be used via an
 xterm (remotely via SSH).  Any ideas?

 I always change the locale settings in ~/.login_conf
 For example for the greek language I use :

 me:\

 :charset=iso-8859-7:\
 :lang=el_GR.UTF-8:

 I guess I'm achieving the same thing via ~/.profile.  I just need a
 way to change keyboard layouts remotely.

 Do you *really* have to?  I'm setting an X11 keyboard layout on my
 FreeBSD laptop locally, and it works fine for remote servers which
 I access through ssh too...

 The French keyboard is significantly different.  I suppose I could have
 a French keyboard by default but it would be quite annoying to work on.
 Is that what you're proposing?

Not really.  I'm just trying to understand why you have to change the
*remote* keyboard map.  The local keyboard map is what really matters,
and this should work fine with the remote shell enrivonment for any
locale/language.

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


Re: recovery after power outage

2007-02-09 Thread Jerry McAllister
On Fri, Feb 09, 2007 at 07:46:10AM -0500, Marty Landman wrote:

 On 2/8/07, Pieter de Goeje [EMAIL PROTECTED] wrote:
 
 If the slice and partition table are still intact (as they were before the
 outage), a normal fsck -F on /dev/ad1s1a will get the pc booting again.
 
 
 Well I managed to get the machine booting by editing /etc/fstab
 
 %cat /etc/fstab
 # DeviceMountpoint  FStype  Options Dump
 Pass#
 /dev/ad0s1b noneswapsw  0   0
 /dev/ad0s1a /   ufs rw  1   1
 /dev/ad0s1d /tmpufs rw  2   2
 /dev/ad0s1f /usrufs rw  2   2
 /dev/ad0s1e /varufs rw  2   2
 #/dev/ad1s1c/hoss   ufs rw  2   2
 /dev/acd0   /cdrom  cd9660  ro,noauto   0   0
 
 That's a great start, however I'd like to recover what I can from ad1s1c.
 
 %sudo fsck -F ad1s1c
 fsck: exec fsck_unused for /dev/ad1s1c in /sbin:/usr/sbin: No such file or
 directory
 fsck: exec fsck_unused for /dev/ad1s1c in /sbin:/usr/sbin: No such file or
 directory
 
 What is that telling me?

Never saw that before, but it looks like it can't find   /dev/ad1s1c

 You
 can do this from a FreeBSD live cd such as FreesBIE or the fixit cd. You
 can
 then fsck the the rest of the filesystems in single user mode. You may
 also
 want to use the live CD to backup the important bits before, ehm, further
 corrupting/restoring the filesystems. ;)
 
 
 Sorry Pieter I'm lost again.  Can't I use sysinstall? Fdisk?  Wish I
 understood the next steps here.

Don't confound fsck and fdisk.
Anyway, he is assuming you cannot boot and get a running system
By eliminating the /dev/ad1s1c from needing to be mounted at boot
you now have a running system that you can use to work on getting
as much as you can back from /hoss, so the fixit cd is no longer
needed (unless something else goes wrong).

 FWIW when I do a sysinstall and then use the fdisk utility I get
 
 Disk name:  ad1FDISK Partition
 Editor
 DISK Geometry:  30515 cyls/255 heads/63 sectors = 490223475 sectors
 (239366MB)
 
 Offset   Size(ST)End Name  PType   Desc  Subtype
 Flags
 
 0126125- 12 unused0
   126  490223412  490223537   ad1cs1  8freebsd  165
 490223538  11214  490234751- 12 unused0
 
 Which appears that I perhaps have not totally hosed this disk up.

Did you copy/paste this or retype it in by hand - which would account
for the 'Name' column containing ad1cs1  rather than  ad1s1c.  If
it was copy/paste, that looks really strange.

I am not used to looking at fdisk output from within sysinstall.
I wouldn't have thought I would see a partition name 'c' within
the fdisk slice output, but maybe I just never noticed it before.

Maybe using fdisk manually will give some more information.
From root, run:   fdisk ad1
and see what it says.   The output should be more familiar to me.

jerry

 
 Marty
 
 
 -- 
 Web Installed Formmail - http://face2interface.com/formINSTal/
 Webmaster's BBS - http://bbs.face2interface.com/
 
 -- 
 Web Installed Formmail - http://face2interface.com/formINSTal/
 Webmaster's BBS - http://bbs.face2interface.com/
 ___
 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: Weird perms with linux_base-gentoo-stage3

2007-02-09 Thread Kirk Strauser
On Fri, 9 Feb 2007 15:58:39 +0100, Divacky Roman [EMAIL PROTECTED] wrote:

 just out of curiousity - what do you mean by better then the recommended
 fc4 ?  what problems disappear with you switch to gentoo base?

Well, the short answer is that with the Gentoo base, some of the proprietary
applications we use will run, while under FC4, they'd either fail to load or 
have
horrible OpenGL problems (like poor performance or bad displays).  I installed 
the
Gentoo base as a test and the programs instantly started working again.  It may 
not
be recommended for various reasons that I haven't really researched, but it does
what we need.
-- 
Kirk Strauser

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


Re: (no subject)

2007-02-09 Thread Jerry McAllister
On Fri, Feb 09, 2007 at 03:50:01PM +0600,  ? ??? (ws44) wrote:

 Hello!
 
 Are there some utils to release Inact memory, which can be viewed by
 top-utility? In time all Free Memory flows to Inact Memory, and we
 have real problem with performance of our router. After I reboot
 server, problem disapears for one or two days. I REALLY need any way
 to clean up router's memory and move it from Inact to Free state
 without rebooting..
 
 Kind regards, with hope, Ellad Yatsko.

First, please use a meaningful subject on your posts.
Most of us just delete messages with no subject.  I just
happened to see this only because I accidently hit the enter
key before delete.

I think you misunderstand memory use in the system.
The system automatically frees memory as it needs.
There is nothing for you to do.   It is extremely 
unlikely that memory allocation is any problem with
routing.

You need to look at more specific information from
your logs and maybe other sources connected to the
routing.   

jerry

 ___
 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: Importing a server setup.

2007-02-09 Thread Jerry McAllister
On Fri, Feb 09, 2007 at 09:47:27AM -0500, Grant Peel wrote:

 Hi all,
 
 I have a very good setup on a server that I would like to clone to a 
 brand new server, and an existing server.
 
 My plan is dependant on two things, feel free to comment on them if I 
 am missing something:
 
 0.  Make sure the machine to be cloned is using a generic kernel, and 
 ensure the SAS driver is enabled.
 
 1. I will take complete dumps of all the file systems (less swap and 
 dev of course). These will be kept on a local machine that has 
 filesharing setup (another freebsd box).
 
 2.  a. I will boot the new box using FreeBSD 6.1 or 6.2 CD.
(How do I keep from entering sysinstall?)
  b.Setup the new filesystems,
  c. setup a local network IP and configure a network fileshare client 
 so I can get to the dumps,  (this is doable, right?)
  d. inport the stored data, and configure the machine specific 
 details (hostname, IP etc etc etc),
 
 Am I missing antything here?

Yes.  How do you plan to set up file systems and configure a network
if you don't install anything?My suggestion is that you install
FreeBSD 6.2 and only move locally created files to it.   This is
presuming the image you want to duplicate is at lower than 6.2.

Anyway, you can use the fixit system from CD to create filesystems
and then to restore the dumps which would give you an identical
system on the new machine, including IP and hostname.  You should
then be able to turn off the old machine and boot the new one in
its place.   I would then modify the hostname and IP on the old
machine rather than make the new server have the different name
so those things that are looking to it as server do not need to
be changed.

As for setting up filesharing before installing a system, I can't
say.  I haven't used it.

jerry

 
 -Grant
 ___
 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]


fan control

2007-02-09 Thread Indigo

Hello,
 is there some way to control fan speeds directly?
Either analogous to echo command  /proc/acpi/vendor/fan in linux. Or  
any other way.


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


Re: toggle between english and french (how?)

2007-02-09 Thread Peter
Le Vendredi 9 Février 2007 10:26, Giorgos Keramidas a écrit :
 On 2007-02-09 00:53, Peter [EMAIL PROTECTED] wrote:
 Le Jeudi 8 F??vrier 2007 21:24, Giorgos Keramidas a ??crit :
 On 2007-02-08 18:57, Peter [EMAIL PROTECTED] wrote:
 Le Jeudi 8 F??vrier 2007 16:32, Apatewna a ??crit :
 O/H Peter έγραψε:
  Darn.  Now I see that these commands cannot be used via an
  xterm (remotely via SSH).  Any ideas?
 
  I always change the locale settings in ~/.login_conf
  For example for the greek language I use :
 
  me:\
 
  :charset=iso-8859-7:\
  :lang=el_GR.UTF-8:
 
  I guess I'm achieving the same thing via ~/.profile.  I just need
  a way to change keyboard layouts remotely.
 
  Do you *really* have to?  I'm setting an X11 keyboard layout on my
  FreeBSD laptop locally, and it works fine for remote servers which
  I access through ssh too...
 
  The French keyboard is significantly different.  I suppose I could
  have a French keyboard by default but it would be quite annoying to
  work on. Is that what you're proposing?

 Not really.  I'm just trying to understand why you have to change the
 *remote* keyboard map.  The local keyboard map is what really
 matters, and this should work fine with the remote shell enrivonment
 for any locale/language.

Ok.  What I want to be able to do is *occasionally* edit files in French 
*remotely*.  That's all.

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


can't complete BerkeleyDB and Berkele.pm

2007-02-09 Thread Len Conrad


Done this many times, but this time something is screwed:

FreeBSD 4.10-RELEASE

db41-4.1.25_2   The Berkeley DB package, revision 4.1

perl -MCPAN -e 'install BerkeleyDB'

fails with :

Manifying blib/man3/BerkeleyDB.3
  /usr/bin/make  -- OK
Running make test

PERL_DL_NONLAZY=1 /usr/local/bin/perl -MExtUtils::Command::MM -e 
test_harness(0, 'blib/lib', 'blib/arch') t/*.t


t/btreeCan't load 
'/root/.cpan/build/BerkeleyDB-0.31/blib/arch/auto/BerkeleyDB/BerkeleyDB.so' 
for module BerkeleyDB: 
/root/.cpan/build/BerkeleyDB-0.31/blib/arch/auto/BerkeleyDB/BerkeleyDB.so: 
Undefined symbol db_create at 
/usr/local/lib/perl5/5.8.8/i386-freebsd/DynaLoader.pm line 230.

 at t/btree.t line 6

Compilation failed in require at t/btree.t line 6.

BEGIN failed--compilation aborted at t/btree.t line 6.

Undefined subroutine BerkeleyDB::Term::close_everything called at 
/root/.cpan/build/BerkeleyDB-0.31/blib/lib/BerkeleyDB.pm line 1675.


END failed--call queue aborted at t/btree.t line 6.

t/btreedubious
Test returned status 2 (wstat 512, 0x200)

t/cds..Can't load 
'/root/.cpan/build/BerkeleyDB-0.31/blib/arch/auto/BerkeleyDB/BerkeleyDB.so' 
for module BerkeleyDB: 
/root/.cpan/build/BerkeleyDB-0.31/blib/arch/auto/BerkeleyDB/BerkeleyDB.so: 
Undefined symbol db_create at 
/usr/local/lib/perl5/5.8.8/i386-freebsd/DynaLoader.pm line 230.

 at t/cds.t line 8

... etc, etc.

Suggestions?

thanks
Len

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


Re: toggle between english and french (how?)

2007-02-09 Thread Kevin Downey

On 2/9/07, Peter [EMAIL PROTECTED] wrote:

Le Vendredi 9 Février 2007 10:26, Giorgos Keramidas a écrit:
 On 2007-02-09 00:53, Peter [EMAIL PROTECTED] wrote:
 Le Jeudi 8 F??vrier 2007 21:24, Giorgos Keramidas a ??crit:
 On 2007-02-08 18:57, Peter [EMAIL PROTECTED] wrote:
 Le Jeudi 8 F??vrier 2007 16:32, Apatewna a ??crit:
 O/H Peter έγραψε:
  Darn.  Now I see that these commands cannot be used via an
  xterm (remotely via SSH).  Any ideas?
 
  I always change the locale settings in ~/.login_conf
  For example for the greek language I use :
 
  me:\
 
  :charset=iso-8859-7:\
  :lang=el_GR.UTF-8:
 
  I guess I'm achieving the same thing via ~/.profile.  I just need
  a way to change keyboard layouts remotely.
 
  Do you *really* have to?  I'm setting an X11 keyboard layout on my
  FreeBSD laptop locally, and it works fine for remote servers which
  I access through ssh too...
 
  The French keyboard is significantly different.  I suppose I could
  have a French keyboard by default but it would be quite annoying to
  work on. Is that what you're proposing?

 Not really.  I'm just trying to understand why you have to change the
 *remote* keyboard map.  The local keyboard map is what really
 matters, and this should work fine with the remote shell enrivonment
 for any locale/language.

Ok.  What I want to be able to do is *occasionally* edit files in French
*remotely*.  That's all.

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


You have the server and the workstation. What matters is the keymap
setup on the workstation. If you are running Gnome\GTK on the
workstation SCIM is a nice way to control keyboard layouts. I think
SCIM may also work with KDE\QT

--
The biggest problem with communication is the illusion that it has occurred.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

How to get best results from FreeBSD-questions

2007-02-09 Thread Greg Lehey

How to get the best results from FreeBSD questions.
===

Last update $Date: 2005/08/10 02:21:44 $

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the newcomers), and also those who answer the
questions (the hackers).

   Note that the term hacker has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is cracker, but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst
other things, it told you how to unsubscribe.  Here's a typical
message:

  Welcome to the freebsd-questions@freebsd.org mailing list!

If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:

  http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED]
  
(obviously, substitute your mail address for [EMAIL PROTECTED]).  You can
also make such adjustments via email by sending a message to:

  [EMAIL PROTECTED]
  
with the word 'help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.

You must know your password to change your options (including
changing the password, itself) or to unsubscribe.
  
Normally, Mailman will remind you of your freebsd.org mailing list
passwords once every month, although you can disable this if you
prefer.  This reminder will also include instructions on how to
unsubscribe or change your account options.  There is also a button on
your options page that will email your current password to you.

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send how to questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  

The Complete FreeBSD: errata and addenda

2007-02-09 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

The Complete FreeBSD has been through a total of five editions, including its
predecessor Installing and Running FreeBSD.  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Note also that the book has now been released for free download in PDF
form.  Instead of downloading the changed pages, you may prefer to
download the entire book.  See http://www.lemis.com/grog/Documentation/CFBSD/ 
for more information.

Have you found a problem with the book, or maybe something confusing?
Please let me know: I'm no longer constantly updating it, but I may be
able to help

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


Passive fingerprinting howto

2007-02-09 Thread Erik Norgaard

Hi:

I know that packet filter can use passive fingerprinting to block or 
pass traffic, but I'd like to use it to identify what crapware is on my 
network.


Can snort do this or is there some other tool that can sniff traffic and 
identify the connected systems?


Thanks, Erik

--
Ph: +34.666334818  web: http://www.locolomo.org


smime.p7s
Description: S/MIME Cryptographic Signature


Re: recovery after power outage

2007-02-09 Thread Marty Landman

On 2/9/07, Jerry McAllister [EMAIL PROTECTED] wrote:


On Fri, Feb 09, 2007 at 07:46:10AM -0500, Marty Landman wrote:

 %sudo fsck -F ad1s1c
 fsck: exec fsck_unused for /dev/ad1s1c in /sbin:/usr/sbin: No such file
or
 directory
 fsck: exec fsck_unused for /dev/ad1s1c in /sbin:/usr/sbin: No such file
or
 directory

 What is that telling me?

Never saw that before, but it looks like it can't find   /dev/ad1s1c



Ok.

Did you copy/paste this or retype it in by hand


Retyped that by hand iirc, however  now that I'm booting also have an ssh
session up so no more typos.

Maybe using fdisk manually will give some more information.

From root, run:   fdisk ad1



%sudo fdisk ad1
Password:
*** Working on device /dev/ad1 ***
parameters extracted from in-core disklabel are:
cylinders=486344 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=486344 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
   start 63, size 490223412 (239366 Meg), flag 80 (active)
   beg: cyl 0/ head 1/ sector 1;
   end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
UNUSED
The data for partition 3 is:
UNUSED
The data for partition 4 is:
UNUSED
%

Marty

--
Web Installed Formmail - http://face2interface.com/formINSTal/
Webmaster's BBS - http://bbs.face2interface.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Xorg: vesa driver refuses to use a refresh rate higher than 60hz

2007-02-09 Thread Abdullah Ibn Hamad Al-Marri

On 2/9/07, Janvier Pang [EMAIL PROTECTED] wrote:

Hi,

You'd better have a ATI driver to let your card work. AFAIK, the ATI driver
which support your display chipset is still not port to FreeBSD. If you
like, you can have a try on the ported driver with following link:

http://www.fglrx-freebsd.com/

If it doesn't work, please wait for the updated driver port to FreeBSD.
Anyway, good luck, guy.

B.Rgds,

Janvier Pang


I don't think there is one interested in doing so yet.

--
Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Trying to join an already exited pthread

2007-02-09 Thread youshi10

On Fri, 9 Feb 2007, Daniel Eischen wrote:


On Thu, 8 Feb 2007, Garrett Cooper wrote:


Actually, now that I think about it the calls I made with ps in the program 
are valid for Linux but not for FreeBSD (they're for getting thread 
listings). Hence error code 2.


From intro(2):

2 ENOENT No such file or directory.  A component of a specified pathname 
did not exist, or

  the pathname was an empty
  string.

Didn't think that a bad command would return errno=2 though..


And hopefully you've realized that your code is totally bogus
since pthread_foo() don't set errno.  All the pthread_foo()
functions _return_ the error.  If your code is not checking
the return values from those functions, it is wrong on every
platform, not just FreeBSD.

--
DE


Well, right. I was just being lazy by checking errno, instead of checking the 
return value of pthread_*. It wasn't meant to be anything more than a simple 
set of tests. I thought that errno was set on errors though, but after reading 
the manpage more carefully it turns out that this is not the case.

I'll see if I can fix my checks.

Thanks for bringing this to my attention!

-Garrett

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


Re: Trying to join an already exited pthread

2007-02-09 Thread youshi10

On Fri, 9 Feb 2007 [EMAIL PROTECTED] wrote:


On Fri, 9 Feb 2007, Daniel Eischen wrote:


On Thu, 8 Feb 2007, Garrett Cooper wrote:


Actually, now that I think about it the calls I made with ps in the 
program are valid for Linux but not for FreeBSD (they're for getting 
thread listings). Hence error code 2.


From intro(2):

2 ENOENT No such file or directory.  A component of a specified 
pathname did not exist, or

  the pathname was an empty
  string.

Didn't think that a bad command would return errno=2 though..


And hopefully you've realized that your code is totally bogus
since pthread_foo() don't set errno.  All the pthread_foo()
functions _return_ the error.  If your code is not checking
the return values from those functions, it is wrong on every
platform, not just FreeBSD.

--
DE


Well, right. I was just being lazy by checking errno, instead of checking the 
return value of pthread_*. It wasn't meant to be anything more than a simple 
set of tests. I thought that errno was set on errors though, but after reading 
the manpage more carefully it turns out that this is not the case.


I'll see if I can fix my checks.

Thanks for bringing this to my attention!

-Garrett


Damn habit of always typing in freebsd-questions when using webmail ~_~..

-Garrett


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


Re: Low-cost dedicated FreeBSD server or non-jail VPS?

2007-02-09 Thread Jay Chandler

Ted Mittelstaedt wrote:
- Original Message - 
From: Jerry McAllister [EMAIL PROTECTED]

To: Jay Chandler [EMAIL PROTECTED]
Cc: FreeBSD Questions freebsd-questions@freebsd.org
Sent: Thursday, February 08, 2007 5:28 AM
Subject: Re: Low-cost dedicated FreeBSD server or non-jail VPS?


  

On Wed, Feb 07, 2007 at 05:34:47PM -0800, Jay Chandler wrote:



Derek Ragona wrote:
  

FreeBSD runs on most i386 based hardware as long as you have 64 MB ram
or more.  So you can recycle an old desktop PC to run FreeBSD and then
have at it.  Or buy a cheap new desktop or refurbished.

   -Derek



The problem with this approach is that it doesn't get you a static IP
with proper rDNS and a host of other things...
  

It does if you buy an ISP account that includes a static IP and
does DNS for you or you set up your own DNS and register the server.




But that might actually cost a whole extra $6 a month and isn't it
preferable to
spend $100 a month at some colo house?

Ted

  


Maybe that's an option for you, but I'm looking at spending a minimum of 
another $60 every month to my ISP if I want those services.  I haven't 
been sufficiently impressed to feel that they warrant that extra fee.  



--
Jay Chandler
Network Administrator, Chapman University
714.628.7249 / [EMAIL PROTECTED]
Today's Excuse: positron router malfunction 


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


browser crash some flash animations

2007-02-09 Thread m . onur . aysan

Hi,

Before this document, there is a patch for browser crash for flash player.

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

-
If you restart your browser the plugin should now appears in the 
previously mentioned list. Your browser may also crash when playing some 
Flash animations, in this case a patch can help you:


# cd /usr/src
# fetch http://people.FreeBSD.org/~nork/rtld_dlsym_hack.diff
# patch  rtld_dlsym_hack.diff
# cd libexec/rtld-elf/
# make clean
# make obj
# make depend
# make  make install

Then reboot your machine.
--

I think this would be add to documentation because browser crashes some 
web pages.


Sorry for my English it is not my native language
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't get make buildworld to work with recent cvsup. - Addl

2007-02-09 Thread Alain Wolf
On 09.02.2007 03:03, * Nicole Harrington wrote:
 --- Garrett Cooper [EMAIL PROTECTED] wrote:
 Nicole Harrington wrote:
  Something setup wrong some place??

  cd /usr/src/lib ; make

 .
 c -pg -O2 -fno-strict-aliasing -pipe
 -march=opteron 
 -I/usr/src/lib/libftpio
 -Wall -DINET6  -c /usr/src/lib/libftpio/ftpio.c -o
 ftpio.po
 cc -pg -O2 -fno-strict-aliasing -pipe
 -march=opteron 
 -I/usr/src/lib/libftpio
 -Wall -DINET6  -c ftperr.c -o ftperr.po
 building profiled ftpio library
 ranlib libftpio_p.a
 cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe
 -march=opteron
 -I/usr/src/lib/libftpio -Wall -DINET6  -c
 /usr/src/lib/libftpio/ftpio.c 
 -o
 ftpio.So
 cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe
 -march=opteron
 -I/usr/src/lib/libftpio -Wall -DINET6  -c ftperr.c
 -o
 ftperr.So
 building shared library libftpio.so.6
 gzip -cn /usr/src/lib/libftpio/ftpio.3 
 ftpio.3.gz
 === libgeom (all)
 cc -O2 -fno-strict-aliasing -pipe -march=opteron
 -I/usr/src/lib/libgeom
 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W
 -Wno-unused-parameter
 -Wstrict-prototypes -Wmissing-prototypes
 -Wpointer-arith 
 -Wno-uninitialized -c
 /usr/src/lib/libgeom/geom_getxml.c
 cc -O2 -fno-strict-aliasing -pipe -march=opteron
 -I/usr/src/lib/libgeom
 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W
 -Wno-unused-parameter
 -Wstrict-prototypes -Wmissing-prototypes
 -Wpointer-arith 
 -Wno-uninitialized -c
 /usr/src/lib/libgeom/geom_stats.c
 cc -O2 -fno-strict-aliasing -pipe -march=opteron
 -I/usr/src/lib/libgeom
 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W
 -Wno-unused-parameter
 -Wstrict-prototypes -Wmissing-prototypes
 -Wpointer-arith 
 -Wno-uninitialized -c
 /usr/src/lib/libgeom/geom_xml2tree.c
 /usr/src/lib/libgeom/geom_xml2tree.c:255: error:
 syntax error before 
 '*' token
 /usr/src/lib/libgeom/geom_xml2tree.c:256: warning:
 type qualifiers 
 ignored on
 function return type
 /usr/src/lib/libgeom/geom_xml2tree.c:256: warning:
 return type defaults 
 to `int'
 /usr/src/lib/libgeom/geom_xml2tree.c:256: warning:
 function declaration 
 isn't a
 prototype
 /usr/src/lib/libgeom/geom_xml2tree.c: In function
 `CharData':
 /usr/src/lib/libgeom/geom_xml2tree.c:260: error:
 `userData' undeclared 
 (first
 use in this function)
 /usr/src/lib/libgeom/geom_xml2tree.c:260: error:
 (Each
 undeclared 
 identifier is
 reported only once
 /usr/src/lib/libgeom/geom_xml2tree.c:260: error:
 for
 each function it 
 appears
 in.)
 /usr/src/lib/libgeom/geom_xml2tree.c:262: error:
 `s'
 undeclared (first 
 use in
 this function)
 /usr/src/lib/libgeom/geom_xml2tree.c:263: error:
 `len'
 undeclared 
 (first use in
 this function)
 /usr/src/lib/libgeom/geom_xml2tree.c: In function
 `geom_xml2tree':
 /usr/src/lib/libgeom/geom_xml2tree.c:286: error:
 syntax error before 
 parser
 /usr/src/lib/libgeom/geom_xml2tree.c:296: error:
 `parser' undeclared 
 (first use
 in this function)
 /usr/src/lib/libgeom/geom_xml2tree.c:296: warning:
 implicit declaration 
 of
 function `XML_ParserCreate'
 /usr/src/lib/libgeom/geom_xml2tree.c:301: warning:
 implicit declaration 
 of
 function `XML_SetUserData'
 /usr/src/lib/libgeom/geom_xml2tree.c:302: warning:
 implicit declaration 
 of
 function `XML_SetElementHandler'
 /usr/src/lib/libgeom/geom_xml2tree.c:303: warning:
 implicit declaration 
 of
 function `XML_SetCharacterDataHandler'
 /usr/src/lib/libgeom/geom_xml2tree.c:304: warning:
 implicit declaration 
 of
 function `XML_Parse'
 /usr/src/lib/libgeom/geom_xml2tree.c:307: warning:
 implicit declaration 
 of
 function `XML_ParserFree'
 *** Error code 1

 Stop in /usr/src/lib/libgeom.
 *** Error code 1

 Stop in /usr/src/lib.


  ARGG!!

Nicole
 Doesn't look like it's compiling libgeom or geom
 related dependencies. 
 What's your /etc/make.conf look like and what
 version are you trying to 
 compile with buildworld?
 
 
  Actually.. That seems to be happening with even no
 /etc/make.conf  
 
  I even copied the /usr/src from another older server
 that built fine to this server (same server type) and
 it fails in the same way.
 
 
  It's just driving me crazy.
 
   Nicole
 
 
   Nicole
 
  
 -Garrett
 ___
 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]
 
According to the Handbook 

21.4.7.2 Compile the Base System

You must be in the /usr/src directory:

# cd /usr/src
# make -j4 buildworld

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


Atheros Card support

2007-02-09 Thread Aaron Siegel
Hello

I am looking for a pci wireless card for my Freebsd router.  According to the 
hardware notes for 6.2 The  ath(4) driver supports all Atheros Cardbus or 
PCI cards, except those that are based on the AR5005VL chipset.

Does the ath driver support include AR5005GS or AR5006XS? It appears the 
chipset listed in the man page are no longer being used in being used.

Can anyone suggest a card? I would like to avoid using the ndis driver. I have 
tried using it for two different card and was unsuccessful. 

Thank you,
Aaron

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


Re: How to get GNUstep working?

2007-02-09 Thread Øyvind Skaar

Daniel Tourde wrote:

   Hello,
   I built GNUstep from the port tree. Now how do I get it ru=ning?


Hi

What exactly are you trying to run? The GWorkspace 
(http://www.gnustep.it/enrico/gworkspace/) ?

Maybe I'm wrong, but as far as I can tell Gnustep are libraries?


ø


--
Øyvind Skaar | os guesswhat odots.org | 482 78 480 | http://odots.org
http://last.fm/user/%67%69%7A%7A%6C%6Fn | http://43things.com/person/%C3%B8s
6865792c207768617420646f20796f75206b6e6f772c
796f752772652061206e65726420746f6f202e2


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


Re: Passive fingerprinting howto

2007-02-09 Thread Øyvind Skaar

Erik Norgaard wrote:

Hi:

I know that packet filter can use passive fingerprinting to block or 
pass traffic, but I'd like to use it to identify what crapware is on my 
network.




Maybe Zalewski's p0f can help ..?
http://lcamtuf.coredump.cx/p0f.shtml

ø


--
Øyvind Skaar | os guesswhat odots.org | 482 78 480 | http://odots.org
http://last.fm/user/%67%69%7A%7A%6C%6Fn | http://43things.com/person/%C3%B8s
6865792c207768617420646f20796f75206b6e6f772c
796f752772652061206e65726420746f6f202e2


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


ipf/ipf??

2007-02-09 Thread Gary Kline

Here is where my buildworld of 6.2-R fails:

=== sbin/ip6fw (obj)
/usr/obj/usr/src/sbin/ip6fw created for /usr/src/sbin/ip6fw
=== sbin/ipf (obj)
=== sbin/ipf/libipf (obj)
/usr/obj/usr/src/sbin/ipf/libipf created for /usr/src/sbin/ipf/libipf
=== sbin/ipf/ipf (obj)
mkdir: /usr/obj/usr/src/sbin/ipf/ipf: File exists
*** Error code 1

Stop in /usr/src/sbin/ipf/ipf.
*** Error code 1

Stop in /usr/src/sbin/ipf.
*** Error code 1

Stop in /usr/src/sbin.
*** Error code 1

Stop in /usr/src.
*** Error code 1

I've checked UPDATING and grep'd around.  Nothing.  Anybody know
what's going on?  This happens when trying to go from 5.5 to
RELENG_6.

gary


-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

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


Re: Importing a server setup.

2007-02-09 Thread Kenny Dail
 On Fri, Feb 09, 2007 at 09:47:27AM -0500, Grant Peel wrote:
 
  Hi all,
  
  I have a very good setup on a server that I would like to clone to a 
  brand new server, and an existing server.
  
  My plan is dependant on two things, feel free to comment on them if I 
  am missing something:
  
  0.  Make sure the machine to be cloned is using a generic kernel, and 
  ensure the SAS driver is enabled.
  
  1. I will take complete dumps of all the file systems (less swap and 
  dev of course). These will be kept on a local machine that has 
  filesharing setup (another freebsd box).
  
  2.  a. I will boot the new box using FreeBSD 6.1 or 6.2 CD.
 (How do I keep from entering sysinstall?)
   b.Setup the new filesystems,
   c. setup a local network IP and configure a network fileshare client 
  so I can get to the dumps,  (this is doable, right?)
   d. inport the stored data, and configure the machine specific 
  details (hostname, IP etc etc etc),
  
  Am I missing antything here?
 
Might be easier to use g4u http://www.feyrer.de/g4u/

-- 
Kenny Dail [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: ipf/ipf??

2007-02-09 Thread Josh Paetzel
On Friday 09 February 2007 13:47, Gary Kline wrote:
   Here is where my buildworld of 6.2-R fails:

 === sbin/ip6fw (obj)
 /usr/obj/usr/src/sbin/ip6fw created for /usr/src/sbin/ip6fw
 === sbin/ipf (obj)
 === sbin/ipf/libipf (obj)
 /usr/obj/usr/src/sbin/ipf/libipf created for
 /usr/src/sbin/ipf/libipf === sbin/ipf/ipf (obj)
 mkdir: /usr/obj/usr/src/sbin/ipf/ipf: File exists
 *** Error code 1

 Stop in /usr/src/sbin/ipf/ipf.
 *** Error code 1

 Stop in /usr/src/sbin/ipf.
 *** Error code 1

 Stop in /usr/src/sbin.
 *** Error code 1

 Stop in /usr/src.
 *** Error code 1

   I've checked UPDATING and grep'd around.  Nothing.  Anybody know
   what's going on?  This happens when trying to go from 5.5 to
   RELENG_6.

   gary

That's a pretty ambitious jump.  You might try RELENG_6_0 then going 
to RELENG_6 from there.  Although to fix that specific problem you 
could probably just rmdir /usr/obj/usr/src/sbin/ipf/ipf

-- 
Thanks,

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


Re: A VERY Strange Question.

2007-02-09 Thread Apatewna

O/H Grant Peel έγ�α�Ρ:
 Hello,
 I do use Webmin/Usermin for User front ends and Admin back ends, but 
I doubt

 these will come into play with MS.

I prefer sticking my hands in the console rather than trusting a third 
party GUI to do the job for me. I've seen some horrors with webmin so I 
just avoid it. Yes, in windows you have a generic application (microsoft 
console) that handles various pluggable configuration GUIs. You can have 
multiple views of such GUIs but despite my experience I rarely find them 
intuitive.


 Question 1:

 Dell offers many of thier server with MS Server 2003 pre loaded.

 On our BSD servers, we offer:

 Web Serving (Apache)
 Email SMTP and POP (Exim and vm-pop3d)
 MySQL
 PHP
 PERL
 Modified Usermin (for the domain owners to manage thier pieces of the
 server).
 and all the necessary supporting libraries.

Windows 2003 Server Small Business, offers
IIS for web serving
Exchange server for email and collaboration
MSSQL
Installing PHP will not be a problem
Installing Perl will not be a problem
Terminal Services (RDP) in administration mode allows two administrators 
to log in concurrently, using remote desktop connection.


It is also cheaper than Windows 2003 Standard edition but has some 
drawbacks (which I hope are fixed by now).


a) you have to promote it to domain controller or it will start 
rebooting automagically after some weeks

http://www.experts-exchange.com/Operating_Systems/Windows_Server_2003/Q_21930609.html

b) you are limited to 75 users accessing the Active Directory services 
(irrelevant)


c) �Exchange Server 2003 Computer Takes Longer Than You Expect to Shut 
Down�

http://support.microsoft.com/kb/829361


 Question 2:

 If any of the MS equivalent software does not come with 'Server 
2003', what

 ones are they, how do you get them?

Answered above


 Question 3:

 I have never understood MS licensing scheme.
How true

 What does this '5 CALs' by default mean? In order for hundreds of 
domains to

 be on the (MS) server, doe we need to get hendreds of CALs?

AFAIK, [5 CAL] means five client access licenses and it refers to 
accessing shared resources (folders/printers/active directory services). 
You'll find that windows Xp home allows only five network computer to 
connect to its resources and windows xp pro allows ten. This has nothing 
to do with web serving because simply the clients connect and access 
information anonymously.


 Question 4:

 Does IIS come with the Front Page extentions still? or is everything 
Share

 Point now? Does one need to purchase them seperately? Can they coexist on
 the same machine?

I do not know about the frontpage extentions. Sharepoint services is 
more like a collaboration website where a team of people can oganize 
their work ( documents of office XP and above, uses document revisions 
too). Office 2003 supports Sharepoint services directly, opening and 
saving files directly to the website. Office XP has reduced 
functionality compared to 2003.



 Question 5:

 Is the DNS setup (my servers - ns1 and ns2 are located locally), easy -
 seamless?

Yes, the GUI is included. :) Although you will have to fiddle arround to 
find your way.


 Question 6:

 Does Server 2003 have the ability to configure the NIC with multiple IP
 aliases? (i.e. can each domain in the MS server have its own IP?).

This is from memory, but all domains share the same IP unless they are 
SSL enabled which requires a separate Ip address.


 Question 7:

 Can IIS handle multiple domains (i.e. like Apache virtual hosting).

Yes

 Question 8:

 Does IIS handle SSL? same certs and keys as Apache?

It does handle SSL but I haven't been into the webhosting business so I 
don't know much. The only thing I would expect, is to have separate 
certificates for separate websites (the obvious, but like I said I never 
hosted websites).


 Question 9:

 Does it come with an FTP Daemon of some type? if no, can proftpd be used?
Yes and it is known to work well despite its limited configuration. 
Proftpd is *NIX only as the developer website clearly states. I wouldn't 
trust a windows port of proftpd anyway :)


Overall, Windows 2003 small business is cheap and you can test it for 
your self. Your company, in its course of evaluating services will 
afford it. However there are other not well known versions of windows 
2003 servers, namely the Windows server 2003 Web Edition for web hosting.

http://www.microsoft.com/windowsserver2003/evaluation/overview/web.mspx

See a comparison of windows servers here
http://www.microsoft.com/windowsserver2003/evaluation/features/comparefeatures.mspx#Web%20and%20Application%20Services
--
RTFM and STFW before anything bad happens
-
Thanasis Rizoulis
Electronic Computing Systems Engineer
Larissa, Greece
Linux User #358384
FreeBSD/PCBSD user


___
freebsd-questions@freebsd.org mailing list

Re: recovery after power outage

2007-02-09 Thread Jerry McAllister
On Fri, Feb 09, 2007 at 12:06:20PM -0500, Marty Landman wrote:

 On 2/9/07, Jerry McAllister [EMAIL PROTECTED] wrote:
 
 On Fri, Feb 09, 2007 at 07:46:10AM -0500, Marty Landman wrote:
 
  %sudo fsck -F ad1s1c
  fsck: exec fsck_unused for /dev/ad1s1c in /sbin:/usr/sbin: No such file
 or
  directory
  fsck: exec fsck_unused for /dev/ad1s1c in /sbin:/usr/sbin: No such file
 or
  directory
 
  What is that telling me?
 
 Never saw that before, but it looks like it can't find   /dev/ad1s1c
 
 
 Ok.
 
 Did you copy/paste this or retype it in by hand
 
 
 Retyped that by hand iirc, however  now that I'm booting also have an ssh
 session up so no more typos.

Kind of guessed it was just a typo.

 
 Maybe using fdisk manually will give some more information.
 From root, run:   fdisk ad1
 
 
 %sudo fdisk ad1
 Password:
 *** Working on device /dev/ad1 ***
 parameters extracted from in-core disklabel are:
 cylinders=486344 heads=16 sectors/track=63 (1008 blks/cyl)
 
 Figures below won't work with BIOS for partitions not in cyl 1
 parameters to be used for BIOS calculations are:
 cylinders=486344 heads=16 sectors/track=63 (1008 blks/cyl)
 
 Media sector size is 512
 Warning: BIOS sector numbering starts with sector 1
 Information from DOS bootblock is:
 The data for partition 1 is:
 sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 490223412 (239366 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 254/ sector 63
 The data for partition 2 is:
 UNUSED
 The data for partition 3 is:
 UNUSED
 The data for partition 4 is:
 UNUSED
 %


Hmmm.   That looks pretty normal to me.

This does not look like the 'dangerously dedicated' disk that I
mentioned earlier.

What does bsd label show for it?

As root, do:bsdlabel ad1s1

If that has a usable label, then I think the next thing is
to try and read up and check the first and maybe a later superblock.   
That I would have to study on.  I did that maybe 9 years ago and 
don't remember what I did.

jerry

 
 Marty
 
 -- 
 Web Installed Formmail - http://face2interface.com/formINSTal/
 Webmaster's BBS - http://bbs.face2interface.com/
 ___
 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: toggle between english and french (how?)

2007-02-09 Thread Giorgos Keramidas
On 2007-02-09 11:42, Peter [EMAIL PROTECTED] wrote:
Le Vendredi 9 F??vrier 2007 10:26, Giorgos Keramidas a ??crit :
 Not really.  I'm just trying to understand why you have to change the
 *remote* keyboard map.  The local keyboard map is what really
 matters, and this should work fine with the remote shell enrivonment
 for any locale/language.
 
 Ok.  What I want to be able to do is *occasionally* edit files in French 
 *remotely*.  That's all.

Then you don't have to change the 'remote' keymap.  Especially not the
remote *console* keymap.

I'm often editing files in Greek (el_GR.ISO8859-7) over an SSH
connection to a Solaris machine somewhere else.  The setup I use is
described below:

[1] My .bashrc contains:

,-
| # Locale setup.
| export LANG=C
| export LC_CTYPE=el_GR.ISO8859-7
| export LC_COLLATE=el_GR.ISO8859-7
| unset LC_ALL LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME
`-

This makes sure that bash (even the shell I'm using as a login shell
before X11 fires up) knows that my local language environment is
`el_GR.ISO8859-7', that it is ok to display characters from this
locale (LC_CTYPE), and that I want sorting to be done according to
the sorting rules of the `el_GR.ISO8859-7' locale.

[2] I'm firing up X11 and I have made sure my .xinitrc file does not
override the LANG or LC_XXX environment variables mentioned below.

[3] My /etc/X11/xorg.conf contains:

,-
| Section InputDevice
| Identifier  Keyboard0
| Driver  keyboard
| Option  XkbRules xorg
| Option  XkbModel pc105
| 
  + | # Support for Greek input.  You must also have a matching locale
  + | # setup in the environment of your xinit process.
  + | Option  XkbLayout  us,el
  + | Option  XkbOptions 
grp:alt_shift_toggle,grp_led:scroll,compose:ralt
| EndSection
`-

Note the lines marked with a '+'.  These let my X11 desktop switch
from Greek to English keyboard input, by hitting the left ALT and
left SHIFT keys together.

What characters are sent to applications is entirely a matter of
this local setup, and is not really controlled by a remote server.

For the remote server it doesn't really matter if you are typing on
a keyboard, pasting text from a web browser, copying text using
screen(1) from one terminal and pasting it to an ssh window, etc.

Now, even with these three options, remote servers need just a small
tweak to be able to 'read' what you sent over an SSH connection and
correctly grok it as Greek (or French, in your case) text.  They have to
be notified that your locale permits these characters to be printed.

This is done by setting in your *remote* .bashrc file the same locale
environment variables:

,-
| # Locale setup.
| export LANG=C
| export LC_CTYPE=el_GR.ISO8859-7
| export LC_COLLATE=el_GR.ISO8859-7
| unset LC_ALL LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME
`-

That is all it should take to let the remote server know that it is ok
to display Greek characters.

Some applications, i.e. bash(1) may need additional tweaks to allow
input and/or display of 8-bit character sets (like Greek or French).
For instance, in my .inputrc file (configuration file for the 'readline'
library, and all the programs that use it; i.e. bash), I also have:

,-
| set convert-meta Off
| set editing-mode emacs
| set input-meta On
| set output-meta On
`-

This is present in all my .bashrc files (both local and remote ones).

For reading, inputting and displaying French characters using an X11
desktop, you will have to do something similar, but `el_GR.ISO8859-7'
will have to be replaced with one of the French locales.

For reading, inputting and displaying French characters using a console
session (i.e. one where your local system hasn't started X11 yet), you
will have to do something similar *plus* change the *local* console
keymap to support French input.  The rest of the necessary settings for
the environment and the LANG/LC_XXX values remain the same as in X11
(except, obviously, the ones inside `xorg.conf').

I hope this clarifies things a bit :)  If not, feel free to provide us
with more details about the setup you are trying to configure.

- Giorgos


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To 

Re: ipf/ipf??

2007-02-09 Thread Gary Kline
On Fri, Feb 09, 2007 at 02:13:25PM -0600, Josh Paetzel wrote:
 On Friday 09 February 2007 13:47, Gary Kline wrote:
  Here is where my buildworld of 6.2-R fails:
 
  === sbin/ip6fw (obj)
  /usr/obj/usr/src/sbin/ip6fw created for /usr/src/sbin/ip6fw
  === sbin/ipf (obj)
  === sbin/ipf/libipf (obj)
  /usr/obj/usr/src/sbin/ipf/libipf created for
  /usr/src/sbin/ipf/libipf === sbin/ipf/ipf (obj)
  mkdir: /usr/obj/usr/src/sbin/ipf/ipf: File exists
  *** Error code 1
 
  Stop in /usr/src/sbin/ipf/ipf.
  *** Error code 1
 
  Stop in /usr/src/sbin/ipf.
  *** Error code 1
 
  Stop in /usr/src/sbin.
  *** Error code 1
 
  Stop in /usr/src.
  *** Error code 1
 
  I've checked UPDATING and grep'd around.  Nothing.  Anybody know
  what's going on?  This happens when trying to go from 5.5 to
  RELENG_6.
 
  gary
 
 That's a pretty ambitious jump.  You might try RELENG_6_0 then going 
 to RELENG_6 from there.  Although to fix that specific problem you 
 could probably just rmdir /usr/obj/usr/src/sbin/ipf/ipf
 


I'll try the rm first; last year I jumped from 5.3 to 6.1
after 5.3  fatally panicked.  No problem.  Hm, maybe 
5.5 - 6.1.  thanks for the idea,

gary


 -- 
 Thanks,
 
 Josh Paetzel

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

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


Re: ipf/ipf??

2007-02-09 Thread Giorgos Keramidas
On 2007-02-09 14:13, Josh Paetzel [EMAIL PROTECTED] wrote:
On Friday 09 February 2007 13:47, Gary Kline wrote:
  Here is where my buildworld of 6.2-R fails:

 === sbin/ip6fw (obj)
 /usr/obj/usr/src/sbin/ip6fw created for /usr/src/sbin/ip6fw
 === sbin/ipf (obj)
 === sbin/ipf/libipf (obj)
 /usr/obj/usr/src/sbin/ipf/libipf created for
 /usr/src/sbin/ipf/libipf === sbin/ipf/ipf (obj)
 mkdir: /usr/obj/usr/src/sbin/ipf/ipf: File exists
 *** Error code 1

 Stop in /usr/src/sbin/ipf/ipf.
 *** Error code 1

 Stop in /usr/src/sbin/ipf.
 *** Error code 1

 Stop in /usr/src/sbin.
 *** Error code 1

 Stop in /usr/src.
 *** Error code 1

  I've checked UPDATING and grep'd around.  Nothing.  Anybody know
  what's going on?  This happens when trying to go from 5.5 to
  RELENG_6.

  gary

 That's a pretty ambitious jump.  You might try RELENG_6_0 then going
 to RELENG_6 from there.  Although to fix that specific problem you
 could probably just rmdir /usr/obj/usr/src/sbin/ipf/ipf

Or, even better, run:

/bin/rm -fr /usr/obj

Major release upgrades are usually 'safer' when done with a 'very' clean
/usr/obj tree :)

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


Re: recovery after power outage

2007-02-09 Thread Marty Landman

On 2/9/07, Jerry McAllister [EMAIL PROTECTED] wrote:


On Fri, Feb 09, 2007 at 12:06:20PM -0500, Marty Landman wrote:

 Information from DOS bootblock is:
 The data for partition 1 is:
 sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 490223412 (239366 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 254/ sector 63




Hmmm.   That looks pretty normal to me.



Cool, hoping that is an omen of good things to come.


What does bsd label show for it?

 As root, do:bsdlabel ad1s1



%sudo bsdlabel ad1s1
# /dev/ad1s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
 c: 4902234120unused0 0 # raw part, don't
edit
%

So where do I stand?

Marty

--
Web Installed Formmail - http://face2interface.com/formINSTal/
Webmaster's BBS - http://bbs.face2interface.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


spamd permission problem

2007-02-09 Thread Beech Rintoul
I've been getting the following on my mailserver. It started after an 
update:

Feb  9 12:52:29 pinnacle spamd[89269]: spamd: could not create INET 
socket on 127.0.0.1:783: Permission denied

Any ideas how to fix the permissions?

Beech
-- 
---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | Alaska Paradise Travel
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://www.alaskaparadise.com
---













pgpao34vV1Ufm.pgp
Description: PGP signature


Re: ipf/ipf??

2007-02-09 Thread Gary Kline
On Fri, Feb 09, 2007 at 11:17:13PM +0200, Giorgos Keramidas wrote:
 On 2007-02-09 14:13, Josh Paetzel [EMAIL PROTECTED] wrote:
 On Friday 09 February 2007 13:47, Gary Kline wrote:
 Here is where my buildworld of 6.2-R fails:
 
  === sbin/ip6fw (obj)
  /usr/obj/usr/src/sbin/ip6fw created for /usr/src/sbin/ip6fw
  === sbin/ipf (obj)
  === sbin/ipf/libipf (obj)
  /usr/obj/usr/src/sbin/ipf/libipf created for
  /usr/src/sbin/ipf/libipf === sbin/ipf/ipf (obj)
  mkdir: /usr/obj/usr/src/sbin/ipf/ipf: File exists
  *** Error code 1
 
  Stop in /usr/src/sbin/ipf/ipf.
  *** Error code 1
 
  Stop in /usr/src/sbin/ipf.
  *** Error code 1
 
  Stop in /usr/src/sbin.
  *** Error code 1
 
  Stop in /usr/src.
  *** Error code 1
 
 I've checked UPDATING and grep'd around.  Nothing.  Anybody know
 what's going on?  This happens when trying to go from 5.5 to
 RELENG_6.
 
 gary
 
  That's a pretty ambitious jump.  You might try RELENG_6_0 then going
  to RELENG_6 from there.  Although to fix that specific problem you
  could probably just rmdir /usr/obj/usr/src/sbin/ipf/ipf
 
 Or, even better, run:
 
 /bin/rm -fr /usr/obj
 
 Major release upgrades are usually 'safer' when done with a 'very' clean
 /usr/obj tree :)
 

Gotcha! will-do.


-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

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


Re: Can't get make buildworld to work with recent cvsup. - Addl

2007-02-09 Thread youshi10

On Fri, 9 Feb 2007, Alain Wolf wrote:


On 09.02.2007 03:03, * Nicole Harrington wrote:

--- Garrett Cooper [EMAIL PROTECTED] wrote:

Nicole Harrington wrote:

 Something setup wrong some place??

 cd /usr/src/lib ; make

.
c -pg -O2 -fno-strict-aliasing -pipe

-march=opteron

-I/usr/src/lib/libftpio
-Wall -DINET6  -c /usr/src/lib/libftpio/ftpio.c -o
ftpio.po
cc -pg -O2 -fno-strict-aliasing -pipe

-march=opteron

-I/usr/src/lib/libftpio
-Wall -DINET6  -c ftperr.c -o ftperr.po
building profiled ftpio library
ranlib libftpio_p.a
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe
-march=opteron
-I/usr/src/lib/libftpio -Wall -DINET6  -c
/usr/src/lib/libftpio/ftpio.c
-o
ftpio.So
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe
-march=opteron
-I/usr/src/lib/libftpio -Wall -DINET6  -c ftperr.c

-o

ftperr.So
building shared library libftpio.so.6
gzip -cn /usr/src/lib/libftpio/ftpio.3 

ftpio.3.gz

=== libgeom (all)
cc -O2 -fno-strict-aliasing -pipe -march=opteron
-I/usr/src/lib/libgeom
-Wsystem-headers -Werror -Wall -Wno-format-y2k -W
-Wno-unused-parameter
-Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith
-Wno-uninitialized -c
/usr/src/lib/libgeom/geom_getxml.c
cc -O2 -fno-strict-aliasing -pipe -march=opteron
-I/usr/src/lib/libgeom
-Wsystem-headers -Werror -Wall -Wno-format-y2k -W
-Wno-unused-parameter
-Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith
-Wno-uninitialized -c
/usr/src/lib/libgeom/geom_stats.c
cc -O2 -fno-strict-aliasing -pipe -march=opteron
-I/usr/src/lib/libgeom
-Wsystem-headers -Werror -Wall -Wno-format-y2k -W
-Wno-unused-parameter
-Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith
-Wno-uninitialized -c
/usr/src/lib/libgeom/geom_xml2tree.c
/usr/src/lib/libgeom/geom_xml2tree.c:255: error:
syntax error before
'*' token
/usr/src/lib/libgeom/geom_xml2tree.c:256: warning:
type qualifiers
ignored on
function return type
/usr/src/lib/libgeom/geom_xml2tree.c:256: warning:
return type defaults
to `int'
/usr/src/lib/libgeom/geom_xml2tree.c:256: warning:
function declaration
isn't a
prototype
/usr/src/lib/libgeom/geom_xml2tree.c: In function
`CharData':
/usr/src/lib/libgeom/geom_xml2tree.c:260: error:
`userData' undeclared
(first
use in this function)
/usr/src/lib/libgeom/geom_xml2tree.c:260: error:

(Each

undeclared
identifier is
reported only once
/usr/src/lib/libgeom/geom_xml2tree.c:260: error:

for

each function it
appears
in.)
/usr/src/lib/libgeom/geom_xml2tree.c:262: error:

`s'

undeclared (first
use in
this function)
/usr/src/lib/libgeom/geom_xml2tree.c:263: error:

`len'

undeclared
(first use in
this function)
/usr/src/lib/libgeom/geom_xml2tree.c: In function
`geom_xml2tree':
/usr/src/lib/libgeom/geom_xml2tree.c:286: error:
syntax error before
parser
/usr/src/lib/libgeom/geom_xml2tree.c:296: error:
`parser' undeclared
(first use
in this function)
/usr/src/lib/libgeom/geom_xml2tree.c:296: warning:
implicit declaration
of
function `XML_ParserCreate'
/usr/src/lib/libgeom/geom_xml2tree.c:301: warning:
implicit declaration
of
function `XML_SetUserData'
/usr/src/lib/libgeom/geom_xml2tree.c:302: warning:
implicit declaration
of
function `XML_SetElementHandler'
/usr/src/lib/libgeom/geom_xml2tree.c:303: warning:
implicit declaration
of
function `XML_SetCharacterDataHandler'
/usr/src/lib/libgeom/geom_xml2tree.c:304: warning:
implicit declaration
of
function `XML_Parse'
/usr/src/lib/libgeom/geom_xml2tree.c:307: warning:
implicit declaration
of
function `XML_ParserFree'
*** Error code 1

Stop in /usr/src/lib/libgeom.
*** Error code 1

Stop in /usr/src/lib.


 ARGG!!

   Nicole

Doesn't look like it's compiling libgeom or geom
related dependencies.
What's your /etc/make.conf look like and what
version are you trying to
compile with buildworld?



 Actually.. That seems to be happening with even no
/etc/make.conf

 I even copied the /usr/src from another older server
that built fine to this server (same server type) and
it fails in the same way.


 It's just driving me crazy.

  Nicole


  Nicole



-Garrett



According to the Handbook 

21.4.7.2 Compile the Base System

You must be in the /usr/src directory:

# cd /usr/src
# make -j4 buildworld


Ah, didn't notice that line. If you intend to make from a subdirectory in /usr/src, you 
should run make clean depend install--this shouldn't occur that often though.
-Garrett

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


Complete environment on top of /compat/linux

2007-02-09 Thread Pietro Cerutti

Hi list,
I'm starting off a new job where I'll be forced to work in a GNU/Linux
environment, and I thought that maybe there exists some way to just
chroot in /compat/linux and have a complete GNU/Linux environment at
disposal, without the need for a dual booting setup.

Any experiences or advices on doing such a thing?

Thanx in advance!

--
Pietro Cerutti
ICQ: 117293691
PGP: 0x9571F78E

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
  www.asciiribbon.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Determining daylight savings changes on BSD

2007-02-09 Thread Atom Powers

On 2/2/07, John Nielsen [EMAIL PROTECTED] wrote:

On Friday 02 February 2007 17:35, Dan Nelson wrote:
 Upgrading to 5.5 or 6.2 will get you the new tables as a side-effect of
 the upgrade :)  If you don't want to upgrade, just install the
 misc/zoneinfo port and rerun tzsetup.

The last bit (rerunning tzsetup(8)) is good advice for anyone who hasn't run
it in a while. Upgrading from earlier versions of FreeBSD will install the
new tzdata files but it will not touch /etc/localtime.



That's great. Um, how can I run tzsetup non-interactively? It's going
to be a pain updating all my systems if I have to walk through the
menu on every one; and the man page didn't help at all.

--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Setting up an ftp server for anonymous use, freebsd 6.2

2007-02-09 Thread George Greene
i would like to use freebsd 6.2 to setup an ftp server that allows  
anonymous access and does not allow those anonymous user to see any  
other directories other than the pub directory where the files will  
reside.


so far i have been able to turn on the ftp server.  in the file,  
inetd.conf i removed the # from the line.  i then ran inetd.  i  
checked to see if the server was running, ftp [EMAIL PROTECTED], and i  
got back the user and password prompts.  so it's working.
but, when i move to another machine, the ftp server does not answer.   
ssh works though.  i can ssh into the freebsd box from another machine.


when i type in anonymous as the user name, the login fails, and i  
don't even get the password prompt.  i do not see /etc/ftphosts, /etc/ 
ftpwelcome, /etc/ftpmotd/, /var/ftp/, /var/ftp/pub/, /var/ftp/bin, / 
etc/xinetd.conf


i been reading freebsd unleashed, an old edition, but i don't  
understand how the setup anonymous ftp access.  please help.


thanks,

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


Re: em(1) 6.2.9 driver on FreeBSD 5.5?

2007-02-09 Thread Mike Tancsa
On Thu, 08 Feb 2007 21:36:03 +0100, in sentex.lists.freebsd.questions
you wrote:

Hello,

I have a HP ProLiant server with Intel PCI express gigabit ethernet
card. Relevant output of pciconf -v -l:

[EMAIL PROTECTED]:0:0: class=0x02 card=0x10838086 chip=0x10b98086 rev=0x06 
hdr=0x00
 vendor   = 'Intel Corporation'
 class= network
 subclass = ethernet

I have FreeBSD 5.5 and the FreeBSD kernel driver doesn't want to load it.
If I download the driver from Intel pages and try to compile it, I get this:

Why not just upgrade your box via cvsup to 6.2 ?  It will then have
the proper intel drivers as well as have a much more robust version of
FreeBSD ?

---Mike



Mike Tancsa, Sentex communications http://www.sentex.net
Providing Internet Access since 1994
[EMAIL PROTECTED], (http://www.tancsa.com)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Full Swap File.

2007-02-09 Thread Grant Peel
Hi all,

Today while I was out, one of our sytems slowed to a crawl.

/var/log/messages shows the swapfile filled to capacity.

I will be doubling RAM (to 1 GIG and the swap partition to 2 GIG) in the very 
new future.

DOes anyone know if there is a method for tracing what process would have 
filled the swapfile?

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


Re: Dual Core Or Dual CPU - What's the real difference in performance?

2007-02-09 Thread Nicole Harrington
--- Cy Schubert [EMAIL PROTECTED] wrote:
 In message
 [EMAIL PROTECTED],
 Nicole Harrington 
 wri
 tes:
  --- Cy Schubert [EMAIL PROTECTED] wrote:
   In message
   [EMAIL PROTECTED], Mike
   Meyer writes:
Generally, more processors means things will
 go
   faster until you run
out of threads. However, if there's some
 shared
   resource that is the
bottleneck for your load, and the resource
 doesn't
   support
simultaneous access by all the cores, more
 cores
   can slow things
down.

Of course, it's not really that simple. Some
   shared resources can be
managed so as to make things improve under
 most
   loads, even if they
don't support simultaneous access.
   
   Generally speaking the performance increase is
 not
   linear. At some point 
   there is no benefit to adding more processors.
 In a
   former life when I was 
   an MVS systems programmer the limit was seven
   processors in a System/370. 
   Today we can use 16, 32, even 64 processors with
 a
   standard operating 
   system and current hardware, unless one of the
   massively parallel 
   architectures is used.
   
   To answer the original posters question, there
 are
   architectural 
   differences mentioned here, e.g. shared cache,
 I/O
   channel, etc., but the 
   reason the chip manufacturers make them is that
   they're more cost effective 
   than two CPUs.
   
   The AMD X2 series of chips (I have one), they're
 not
   truely a dual 
   processor chip. They're analogous to the single
   processor System/370 with 
   an AP (attached processor) in concept. What this
   means is that both 
   processors can execute all instructions and are
 just
   as capable in every 
   way except external interrupts, e.g. I/O
 interrupts,
   are handled by the 
   processor 0 as only that processor is wired to
 be
   interrupted in case of 
   external interrupt. I can't comment about
 Intel's
   Dual Core CPUs as I don't 
   know their architecture but I'd suspect the same
   would be true. Chips in 
   which there are two dual core CPUs on the same
 die,
   I believe one of each 
   of the dual core CPUs can handle external
   interrupts.
  
   Wow I love ansking questions without too many
  specifics as I learn so much more. With this
 however
  it really seems to be a love hate relationship
 with
  dual core.
   
   Based on what you stated above, would that mean
 that
  when using a dual core system, using polling
 interupts
  might be better or perhaps monumanally worse?
 
 No. CPU 0 would be interrupted. It would schedule
 the interrupt in the 
 queue. Either CPU could service the interrupt once
 the interrupt was queued.
 
 Some devices need to be polled as they do not
 generate interrupts or they 
 generate spurious interrupts. Otherwise allowing a
 device to interrupt the 
 CPU is more efficient as it allows the CPU to do
 other work rather than 
 spinning its wheels polling. This is the Von Neumann
 model.
 
 
 -- 
 Cheers,
 Cy Schubert [EMAIL PROTECTED]
 FreeBSD UNIX:  [EMAIL PROTECTED]   Web: 
 http://www.FreeBSD.org
 
   e**(i*pi)+1=0
 

 Yes, I have heard that, thanks.

  However, how does one know or tell which is the
right mode/model for which devices? I have seen people
on either side (poll vs interupt) claim one is better
or much like an infomercial, just do blah and your
system will be so much faster. Altho of course that
would be the pro polling side, since by default,
interupts are used. Is it all just imperical testing? 
Take this pill and see let me know how you feel?
 
 It seems as though when it's heavy networking, use
polling. Otherwise stick with interupts. I have even
heard when using X network card, use polling. How
would know when one card will do better with polling
while another may not? 


 Thanks for helping me understand the debate better.

  Nicole

---

 If you make people think they're thinking, they'll
love you; but if you really make them think, they'll
hate you. 
-- Don Marquis

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


Re: Determining daylight savings changes on BSD

2007-02-09 Thread Nicole Harrington
--- Atom Powers [EMAIL PROTECTED] wrote:
 On 2/2/07, John Nielsen [EMAIL PROTECTED] wrote:
  On Friday 02 February 2007 17:35, Dan Nelson
 wrote:
   Upgrading to 5.5 or 6.2 will get you the new
 tables as a side-effect of
   the upgrade :)  If you don't want to upgrade,
 just install the
   misc/zoneinfo port and rerun tzsetup.
 
  The last bit (rerunning tzsetup(8)) is good advice
 for anyone who hasn't run
  it in a while. Upgrading from earlier versions of
 FreeBSD will install the
  new tzdata files but it will not touch
 /etc/localtime.
 
 
 That's great. Um, how can I run tzsetup
 non-interactively? It's going
 to be a pain updating all my systems if I have to
 walk through the
 menu on every one; and the man page didn't help at
 all.
 

 It's not what I would call, non interactive, or even
elegant, but below  is what I have done on some
systems. On others, I just installed a copy of the
newly created /etc/localtime file.

 Maybe it will be useful to you.


cd /usr/src/share/zoneinfo
fetch ftp://elsie.nci.nih.gov/pub/tzdata2007a.tar.gz
tar -zxvf tzdata2007a.tar.gz
make
make install

cp -f /usr/share/zoneinfo/America/Los_Angeles
/etc/localtime
chmod 444 /etc/localtime



 Nicole

--
The significant problems we face cannot be solved by
the same level of thinking that created them
  -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: Complete environment on top of /compat/linux

2007-02-09 Thread Matt \Kitche\ Donovan

Pietro Cerutti wrote:

Hi list,
I'm starting off a new job where I'll be forced to work in a GNU/Linux
environment, and I thought that maybe there exists some way to just
chroot in /compat/linux and have a complete GNU/Linux environment at
disposal, without the need for a dual booting setup.

Any experiences or advices on doing such a thing?

Thanx in advance!

yes I chroot into /compat/linux all the time just make sure that you 
kldload linux first to make sure it's loaded first.

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


Re: phpMyAdmin httpd segmentation fault

2007-02-09 Thread Terry Todd



I started from scratch and built a completely new system by installing
from CD's on a different computer and it does the exact same thing
in the exact same place.  At this point I'm a little surprised that
no one else has run across this.

Terry Todd


On Tue, Feb 06, 2007 at 08:42:30AM -0600, Terry Todd wrote:
 On Tue, Feb 06, 2007 at 07:14:02AM +, Matthew Seaman wrote:
  Terry Todd wrote:
   On Mon, Feb 05, 2007 at 07:07:25AM -0800, Garrett Cooper wrote:
   Terry Todd wrote:
   On Sun, Feb 04, 2007 at 09:36:58AM +, Matthew Seaman wrote:
   Terry Todd wrote:
   I installed FreeBSD 6.2-RELEASE, php-5.1.6_3, php5-extensions-1.0,
   mysql-5.0.27 and apache_1.3.37_1.
  
   php -i now works Ok after I moved recode.so to the top of the list
   of extensions in extensions.ini.  It took a while to figure that
   one out.  Before that php -i would seg fault and core dump.  It
   took some google searching and using gdb on the core file to fix
   it.
  
   A test web page for phpinfo works fine too.  Mysql works OK from
   the command line.
  
   However I can't get phpMyAdmin to work.  It seg faults in reading 
   /usr/local/www/phpMyAdmin/libraries/url_generating.lib.php
   There is no core dump produced.
   Hmmm... very strange.  We have just built a RELENG_6_2 server with
   apache13-ssl, php5 and phpMyAdmin and no such problems are apparent.
  
   Did you modify the CFLAGS or otherwise change the level of
   optimization used by the compiler?
   No CFLAGS were changed or anything else.  It's a very standard install.
  
   I ran ktrace httpd -X
  
   Then when I try to open the phpMyAdmin/index.php page in a browser
   httpd seg faults.
  
   Here is the tail of kdump from the ktrace.out from the above ktrace.
  
   
 1372 httpdCALL  gettimeofday(0xbfbf7158,0)
 1372 httpdRET   gettimeofday 0
 1372 httpdCALL  lstat(0xbfbf75b0,0xbfbf70f0)
 1372 httpdNAMI  /usr
 1372 httpdRET   lstat 0
 1372 httpdCALL  lstat(0xbfbf75b0,0xbfbf70f0)
 1372 httpdNAMI  /usr/local
 1372 httpdRET   lstat 0
 1372 httpdCALL  lstat(0xbfbf75b0,0xbfbf70f0)
 1372 httpdNAMI  /usr/local/www
 1372 httpdRET   lstat 0
 1372 httpdCALL  lstat(0xbfbf75b0,0xbfbf70f0)
 1372 httpdNAMI  /usr/local/www/phpMyAdmin
 1372 httpdRET   lstat 0
 1372 httpdCALL  lstat(0xbfbf75b0,0xbfbf70f0)
 1372 httpdNAMI  /usr/local/www/phpMyAdmin/libraries
 1372 httpdRET   lstat 0
 1372 httpdCALL  lstat(0xbfbf75b0,0xbfbf70f0)
 1372 httpdNAMI  
   /usr/local/www/phpMyAdmin/libraries/url_generating.lib.php
 1372 httpdRET   lstat 0
 1372 httpdCALL  open(0x845eda8,0,0x1b6)
 1372 httpdNAMI  
   /usr/local/www/phpMyAdmin/libraries/url_generating.lib.php
 1372 httpdRET   open 4
 1372 httpdCALL  fstat(0x4,0x8102748)
 1372 httpdRET   fstat 0
 1372 httpdCALL  lseek(0x4,0,0,0,0x1)
 1372 httpdRET   lseek 0
 1372 httpdCALL  read(0x4,0x82e3028,0x2000)
 1372 httpdGIO   fd 4 read 4096 bytes
  ?php
   /* $Id: url_generating.lib.php,v 2.12.2.1 2006/09/26 19:23:24 
   lem9 Exp $ */
   // vim: expandtab sw=4 ts=4 sts=4:
  
  
   /**
* URL/hidden inputs generating.
*/
  
  
   /**
* Generates text with hidden inputs.
*
* @see PMA_generate_common_url()
* @param   string   optional database name
* @param   string   optional table name
* @param   int  indenting level
*
* @return  string   string with input fields
*
* @global  string   the current language
* @global  string   the current conversion charset
* @global  string   the current connection collation
* @global  string   the current server
* @global  arraythe configuration array
* @global  boolean  whether recoding is allowed or not
*
*
* @access  public
*
* @author  nijel
*/
   function PMA_generate_common_hidden_inputs($db = '', $table = 
   '', $indent = 0, $skip = array())
   {
   if (is_array($db)) {
   $params  = $db;
   $_indent = empty($table) ? $indent : $table;
   $_skip   = empty($indent) ? $skip : $indent;
   $indent  = $_indent;
   $skip= $_skip;
   } else {
   $params = array();
   if (isset($db)  strlen($db)) {
   $params['db'] = $db;
   }
   if (isset($table)  strlen($table)) {
   $params['table'] = $table;
   }
   }
  
   if (! empty($GLOBALS['server'])
 $GLOBALS['server'] != 
   

FreeBSD 6.2 HAL

2007-02-09 Thread Joe Vender
Does the KDE version (3.5.4) that is installed from the packages list on the 
FreeBSD 6.2 installation CD include support for HAL? I installed KDE from the 
CD set and I've included the options in rc.conf to enable dbus, polkitd and 
hald and the daemons start during bootup according to the messages, but when 
I open the Advanced tab under Storage Media in the KDE control center, two of 
the options are grayed out and not selectable. They are:
Enable HAL backend (no support for HAL on this system)
Enable CD polling (no support for CD polling on this system)

What must I do to get them enabled?

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


extension compiled in and still Cannot load mysql extension

2007-02-09 Thread Noah

so I am running FreeBSD 6.2
and installing phpMyAdmin for the first time.

even after recompiling php5 with the mysql extension phpMyAdmin still
complains Cannot load mysql extension

what else cna I try?

here are the server stats:

ns1# pkg_info | grep MyAdmin
phpMyAdmin-2.9.2A set of PHP-scripts to manage MySQL over the web
ns1# pkg_info | grep mysql
mysql-client-5.0.27 Multithreaded SQL database (client)
mysql-server-5.0.33 Multithreaded SQL database (server)
p5-DBD-mysql-4.001  MySQL driver for the Perl5 Database Interface (DBI)
php5-mysql-5.2.0The mysql shared extension for php
ns1# pkg_info | grep apache
apache-2.2.4Version 2.2 of Apache web server with prefork MPM.
ns1# grep mysql /usr/local/etc/php/extensions.ini
extension=mysql.so


and here is my apache httpd.conf


---s nip 

#
# This is the main Apache HTTP server configuration file.  It contains the
# configuration directives that give the server its instructions.
# See URL:http://httpd.apache.org/docs/2.2 for detailed information.
# In particular, see
# URL:http://httpd.apache.org/docs/2.2/mod/directives.html
# for a discussion of each configuration directive.
#
# Do NOT simply read the instructions in here without understanding
# what they do.  They're here only as hints or reminders.  If you are unsure
# consult the online docs. You have been warned.
#
# Configuration and logfile names: If the filenames you specify for many
# of the server's control files begin with / (or drive:/ for Win32), the
# server will use that explicit path.  If the filenames do *not* begin
# with /, the value of ServerRoot is prepended -- so logs/foo.log
# with ServerRoot set to /usr/local/apache2 will be interpreted by the
# server as /usr/local/apache2/logs/foo.log.

#
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
#
# Do not add a slash at the end of the directory path.  If you point
# ServerRoot at a non-local disk, be sure to point the LockFile directive
# at a local disk.  If you wish to share the same ServerRoot for multiple
# httpd daemons, you will need to change at least LockFile and PidFile.
#
ServerRoot /usr/local/apache2

#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the VirtualHost
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses.
#
#Listen 12.34.56.78:80
Listen www.slops.globs.com:80

#
# Dynamic Shared Object (DSO) Support
#
# To be able to use the functionality of a module which was built as a
DSO you
# have to place corresponding `LoadModule' lines at this location so the
# directives contained in it are actually available _before_ they are used.
# Statically compiled modules (those listed by `httpd -l') do not need
# to be loaded here.
#
# Example:
# LoadModule foo_module modules/mod_foo.so
LoadModule php5_modulemodules/libphp5.so
LoadModule perl_module modules/mod_perl.so
#LoadModule dav_svn_module modules/mod_dav_svn.so
#LoadModule authz_svn_module   modules/mod_authz_svn.so
#

IfModule !mpm_netware_module
#
# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.
#
# User/Group: The name (or #number) of the user/group to run httpd as.
# It is usually good practice to create a dedicated user and group for
# running httpd, as with most system services.
#
User www
Group www
/IfModule

# 'Main' server configuration
#
# The directives in this section set up the values used by the 'main'
# server, which responds to any requests that aren't handled by a
# VirtualHost definition.  These values also provide defaults for
# any VirtualHost containers you may define later in the file.
#
# All of these directives may appear inside VirtualHost containers,
# in which case these default settings will be overridden for the
# virtual host being defined.
#


#
# ServerAdmin: Your address, where problems with the server should be
# e-mailed.  This address appears on some server-generated pages, such
# as error documents.  e.g. [EMAIL PROTECTED]
#
ServerAdmin [EMAIL PROTECTED]

#
# ServerName gives the name and port that the server uses to identify
itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
#
# If your host doesn't have a registered DNS name, enter its IP address
here.
#
ServerName www.slops.globs.com:80

#
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot /usr/local/apache2/htdocs

#
# Each directory to which Apache has access can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
#
# First, we configure the 

[SOLVED] Guidance requested for multimedia conversion

2007-02-09 Thread Murray Taylor
 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Downey
 Sent: Friday, 9 February 2007 2:57 PM
 To: Randy Pratt
 Cc: freebsd-questions@freebsd.org
 Subject: Re: Guidance requested for multimedia conversion
 
 On 2/8/07, Randy Pratt [EMAIL PROTECTED] wrote:
  On Fri, 9 Feb 2007 01:15:21 +
  dgmm [EMAIL PROTECTED] wrote:
 
   On Friday 09 February 2007 00:04, Murray Taylor wrote:
Hi all,
   
Being much more a system programmer / database person
than a multi media type I am requesting a 'recipe' from
a video media expert.
   
I need to convert an 8 minute .avi file into a basic dvd.
No menus or anything, just a dumb as possible 'load it, 
 press play'
disk. As long as I can do that, and also get the dvd player to
do loop play, its fine.
   
I have a dvd burner, have used it via command line and k3b to
burn data Cds and data DVDs.
   
I am quite happy to load a list of ports to do the conversion,
layout and burning for the video DVD... I just need a list of
ports to load, and the sequence of command lines to execute.
   
FreeBSD 5.4 Release,  KDE 3.5.4.
Ports tree within 1 week of current, normally use portmanager
for port installs, but direct make is ok too.
   
   
Thanks
   
Murray T
  
   Start here...
  
   
 http://www.mplayerhq.hu/DOCS/HTML-single/en/MPlayer.html#menc-
 feat-vcd-dvd
  
   In particular, scroll down to section 14.8.5 for some 
 recipes to create the
   DVD compatible video then you'll want 
 multimedia/dvdauthor to create the disc
   image and finally sysutils/dvd+rw-tools for burning
  
   You might want to look at multimedia/dvdstyler as a GUI 
 front end to dvdauthor
   and, depending on your set-up/dvd writer it might do the 
 burning from the GUI
   too.
  
   It's not exactly point'n'shoot but all you need should be there.
 
  The multimedia/avidemux2 is a bit easier to use (IMO) than mencoder
  since its a gui-type video editor/converter that can 
 produce the mpeg2
  program streams from avi files for use with dvdstyler.  Its really
  quite nice with lots of intuitive features.
 
  The ease in converting with any of the utilities will depend largely
  on the source material.
 
  Randy
 
 tovid (multimedia/tovid) will do it.
 

Thanks all who responded --- I now have a working methodology !

I am using mencoder with a ginormous command string, followed by 
dvdstyler.

Attempts
tovid / dvdstyler
-- tovid ran clean, 
-- dvdstyler didnt like the resultant .mpg file

mencoder / dvdstyler [1]
-- mencoder ran clean
-- dvdstyler happy
-- result was 16:9 format ??
-- Played ok on $69 dvd player
-- Played ok on picky big Sony home theatre system
-- Played ok on laptop PowerDVD player
-- didnt load on small (newer) Sony player

mencoder / dvdstyler [2]
-- mencoder ran clean
-- dvdstyler happy
-- result was 4:3 format  fixed command line cut/paste error
-- Played ok on $69 dvd player
-- Played ok on picky big Sony home theatre system
-- Played ok on laptop PowerDVD player
-- didnt load on small (newer) Sony player

mencoder / dvdstyler [3]
-- mencoder ran clean
-- dvdstyler happy  added single menu with PLAY button
-- result was 4:3 format
-- Played ok on $69 dvd player
-- Played ok on picky big Sony home theatre system
-- Played ok on laptop PowerDVD player
-- Played ok on small (newer) Sony player

Still to try avidemux2 as I have some small pixelation occurring
in smoe frames and an oddity on the credit roll at the end.
(white text scrolling up a purple background, leaving trails of 
small 'blip-marks')

But overall, a satisfactory result. Thank you all.

mjt

ps Greg L, your response wound up in a different folder 
here so isnt in this thread, thanks to you also re dvdstyler.

---
The information transmitted in this e-mail is for the exclusive
use of the intended addressee and may contain confidential
and/or privileged material. Any review, re-transmission,
dissemination or other use of it, or the taking of any action
in reliance upon this information by persons and/or entities
other than the intended recipient is prohibited. If you
received this in error, please inform the sender and/or
addressee immediately and delete the material. 

E-mails may not be secure, may contain computer viruses and
may be corrupted in transmission. Please carefully check this
e-mail (and any attachment) accordingly. No warranties are
given and no liability is accepted for any loss or damage
caused by such matters.
---

### This e-mail message has been scanned for Viruses by Bytecraft ###
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


is the list the right place to ask?

2007-02-09 Thread Ray
Hello,
Just wondering if this list is the right place to ask for suggestions for
what package to use for various purposes?
Thanks,
Ray 


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


Re: is the list the right place to ask?

2007-02-09 Thread Juha Saarinen

On 2/10/07, Ray [EMAIL PROTECTED] wrote:

Hello,
Just wondering if this list is the right place to ask for suggestions for
what package to use for various purposes?


Yep... what did you have in mind?

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


Re: is the list the right place to ask?

2007-02-09 Thread John Nielsen
On Friday 09 February 2007 22:55, Ray wrote:
 Hello,
 Just wondering if this list is the right place to ask for suggestions for
 what package to use for various purposes?

Yes it is.

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


Mail server recomendations (was: is the list the right place to ask?)

2007-02-09 Thread Ray

 On 2/10/07, Ray [EMAIL PROTECTED] wrote:
  Hello,
  Just wondering if this list is the right place to ask for suggestions
 for
  what package to use for various purposes?
 
 Yep... what did you have in mind?
 

I'm looking for a package (or set of packages) that would provide a mail
server with the following capabilities

minimally:
pop and smtp access that could handle 20 to 100 domains and 200 to 2000
mail boxes.(allowing some room for future growth)

ideally: also provide a web interface for individual users and also for
administration on a per domain and whole server level.
we have several customers that need to be able to administer their own
domains, (Read this as I don't want ten calls a day saying I forgot my
password) but we don't want them touching others accounts. 

spam and virus scanning would be a definite plus, but from what I have
read, these two parts are fairly straight forward.
We have recently changed the web server from M$ to FreeBSD and now we're
trying to change the mail server too. 
Thanks for any pointers or suggestions.
Ray
 -- 
 Juha
 http://www.geekzone.co.nz/juha


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


Re: is the list the right place to ask?

2007-02-09 Thread Ray


-Original Message-
From: John Nielsen [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Cc: Ray [EMAIL PROTECTED]
Date: Sat, 10 Feb 2007 01:18:35 -0500
Subject: Re: is the list the right place to ask?

 On Friday 09 February 2007 22:55, Ray wrote:
  Hello,
  Just wondering if this list is the right place to ask for suggestions
 for
  what package to use for various purposes?
 
 Yes it is.

Just noticed this second response. Thanks to you both for the reply.
Ray

 
 JN
 ___
 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: Mail server recomendations

2007-02-09 Thread Joe Holden

Ray wrote:

On 2/10/07, Ray [EMAIL PROTECTED] wrote:

Hello,
Just wondering if this list is the right place to ask for suggestions

for

what package to use for various purposes?

Yep... what did you have in mind?



I'm looking for a package (or set of packages) that would provide a mail
server with the following capabilities

minimally:
pop and smtp access that could handle 20 to 100 domains and 200 to 2000
mail boxes.(allowing some room for future growth)


Post for for smtp.
Dovecot with Maildir for imap/pop3.


ideally: also provide a web interface for individual users and also for
administration on a per domain and whole server level.
we have several customers that need to be able to administer their own
domains, (Read this as I don't want ten calls a day saying I forgot my
password) but we don't want them touching others accounts. 


Perhaps one of the many freely available webmail packages, im sure at 
least one is capable of changing passwords via sasl and such.



spam and virus scanning would be a definite plus, but from what I have
read, these two parts are fairly straight forward.
We have recently changed the web server from M$ to FreeBSD and now we're
trying to change the mail server too. 
Thanks for any pointers or suggestions.

Ray


Amavisd-new with ClamAV and SpamAssassin perhaps? My Current setup uses 
all of the above and it handles a shedload of traffic just fine.



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



Thanks,
--
Joe Holden
Telephone: +44 (0) 207 100 9593
Email: [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Bad sector on drive ...

2007-02-09 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Short of a reformat, any way of marking the following as bad? :(

Feb 10 02:27:20 ganymede kernel: ad4: FAILURE - READ_DMA 
status=51READY,DSC,ERROR error=40UNCORRECTABLE LBA=176887263
Feb 10 02:27:25 ganymede kernel: ad4: TIMEOUT - READ_DMA retrying (1 retry 
left) LBA=176887324
Feb 10 02:27:30 ganymede kernel: ad4: TIMEOUT - READ_DMA retrying (0 retries 
left) LBA=176887324
Feb 10 02:27:35 ganymede kernel: ad4: FAILURE - READ_DMA timed out LBA=176887324


- 
Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFFzWoG4QvfyHIvDvMRAmJ6AKDh1PP4WuoW4xh7ZFlZ6lQOHc9uxgCbBsaW
E00joed8d7Ij7w1P/qZKUqg=
=lr6d
-END PGP SIGNATURE-

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


Re: Mail server recomendations

2007-02-09 Thread Joe Holden

Joe Holden wrote:

Post for for smtp.


Postfix even.

--
Joe Holden
Telephone: +44 (0) 207 100 9593
Email: [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: Mail server recomendations (was: is the list the right place to ask?)

2007-02-09 Thread John Nielsen
On Saturday 10 February 2007 01:33, Ray wrote:
 I'm looking for a package (or set of packages) that would provide a mail
 server with the following capabilities

 minimally:
 pop and smtp access that could handle 20 to 100 domains and 200 to 2000
 mail boxes.(allowing some room for future growth)

SMTP: sendmail is part of the base system and is pretty powerful but has a 
steep learning curve. There are alternatives available in the ports, one of 
the more popular being postfix. Others such as qmail may also be worth 
researching.

POP, etc.: I highly recommend dovecot. It's efficient, pretty easy to 
configure, and can handle almost any setup you can imagine. You also get 
IMAP with this, which even if you don't want on its own you will want to 
use with your webmail package.

 ideally: also provide a web interface for individual users and also for
 administration on a per domain and whole server level.
 we have several customers that need to be able to administer their own
 domains, (Read this as I don't want ten calls a day saying I forgot my
 password) but we don't want them touching others accounts.

Admin: webmin provides a reasonably secure web-based frontend to many 
different admin. tools and allows you to grant different levels of access 
to each tool to different users. Virtualmin might be an even better match 
for what you're after.

Webmail: For features, go with Imp and any other parts of the Horde suite of 
applications that interest you. Horde's groupware package is starting to 
get pretty polished, and the individual components (mail, calendar, address 
book, tasks, etc) are all quite mature. Setup and config is a bit on the 
complex side, but there's work going on there and much of the initial 
config is now web-based.  Other popular and simpler webmail packages 
include OpenWebMail and SquirrelMail.

 spam and virus scanning would be a definite plus, but from what I have
 read, these two parts are fairly straight forward.
 We have recently changed the web server from M$ to FreeBSD and now we're
 trying to change the mail server too.
 Thanks for any pointers or suggestions.

I use clamAV on my mailserver, works great and keeps itself up-to-date 
pretty well. Easy integration with sendmail via a milter. For spam you'll 
likely want a combination of techniques. SpamAssassin is a good starting 
point. Also look at the DNS black- or greylisting features of your SMTP 
program (I use a couple realtime DNS blacklists with sendmail). Depending 
on the types of messages you're hoping to stop/detect, you might also want 
to look at MimeDefang.

Everything above is in the ports. You have a lot of options so it's just a 
matter of nailing down what you want in terms of features and then 
selecting the best tool for the task.

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


Re: Bad sector on drive ...

2007-02-09 Thread Dan Nelson
In the last episode (Feb 10), Marc G. Fournier said:
 Short of a reformat, any way of marking the following as bad? :(
 
 Feb 10 02:27:20 ganymede kernel: ad4: FAILURE - READ_DMA  
 status=51READY,DSC,ERROR error=40UNCORRECTABLE LBA=176887263
 Feb 10 02:27:25 ganymede kernel: ad4: TIMEOUT - READ_DMA retrying (1 retry  
 left) LBA=176887324
 Feb 10 02:27:30 ganymede kernel: ad4: TIMEOUT - READ_DMA retrying (0 retries  
 left) LBA=176887324
 Feb 10 02:27:35 ganymede kernel: ad4: FAILURE - READ_DMA timed out 
 LBA=176887324

Try writing to the block causing the error, using dd and the seek=
option; if the write succeeds, you're done (and the drive will have
either reused the block or reassigned it to a spare).  If it doesn't
succeed, copy what you can off the drive and toss it, since all its
spares are used up.

I think LBA numbers map directly to seek= values assuming you keep
bs=512 and access /dev/ad4 .  I'd try reading the bad block with dd to
verify it's the right one before doing a write, though.

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


skype on freebsd problem

2007-02-09 Thread peter
Hello, I install skype from port, but skype test call 
give me problem with sound device.

I use freebsd6.2 with kde 3.5.

Any suggestions?

Thanks.

peter




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