RE: mpd pptp server?

2008-03-20 Thread Rudi Kramer - MWEB
Hello,

Here is my config using the mpd3 port to create a Microsoft ppptp
server:

mpd.conf:   

###
#
#   MPD configuration file
#
###

startup:
# enable TCP-Wrapper (hosts_access(5)) to block unfriendly
clients
set global disable tcp-wrapper
# configure the console


default:
load client1
load client2
load client3
load client4

client1:
new -i ng0 pptp1 pptp1
set ipcp ranges 192.168.0.1/32 192.168.0.50/32
load client_standard

client2:
new -i ng1 pptp2 pptp2
set ipcp ranges 192.168.0.1/32 192.168.0.51/32
load client_standard

client3:
new -i ng0 pptp3 pptp3
set ipcp ranges 192.168.0.1/32 192.168.0.52/32
load client_standard

client4:
new -i ng1 pptp4 pptp4
set ipcp ranges 192.168.0.1/32 192.168.0.53/32
load client_standard

client_standard:
set iface disable on-demand
set iface enable proxy-arp
set iface idle 1800
set iface enable tcpmssfix
set bundle enable multilink
set link yes acfcomp protocomp
set link no pap chap
set link enable chap
set link mtu 1460
set link keep-alive 10 60
set ipcp yes vjcomp
set ipcp dns 192.168.0.1
set bundle enable compression
set ccp yes mppc
set ccp yes mpp-e40
set ccp yes mpp-e128
set ccp yes mpp-stateless
set iface idle 00


mpd.links:

#
#
#   MPD links file
#
#

# For our PPTP server

pptp1:
set link type pptp
set pptp self 10.0.0.1
set pptp enable incoming
set pptp disable originate

pptp2:
set link type pptp
set pptp self 10.0.0.1
set pptp enable incoming
set pptp disable originate

pptp3:
set link type pptp
set pptp self 10.0.0.1
set pptp enable incoming
set pptp disable originate

pptp4:
set link type pptp
set pptp self 10.0.0.1
set pptp enable incoming
set pptp disable originate

mpd.secret:

#
#
#   MPD secrets file
##
#

someusernamesomepassword




Hope this helps

Rudi

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


Error code 1 upon building-installing kernel FreeBSD 7.0

2008-03-20 Thread Indiana Jones
Hi,

If anybody could help, I'd be most grateful.
I have been getting this error message during buildinfg and
installing a custom kernel on FreeBSD 7.0, after make depend command!

linking kernel.debug 
uipc_syscalls.o(.text+0x3c1): In function `sctp_generic_recvmsg': 
../../../kern/uipc_syscalls.c:2608: undefined reference to
`sctp_sorecvmsg' 
uipc_syscalls.o(.text+0x21a2): In function
`sctp_generic_sendmsg_iov': 
../../../kern/uipc_syscalls.c:2486: undefined reference to
`sctp_lower_sosend' 
uipc_syscalls.o(.text+0x249d): In function `sctp_generic_sendmsg': 
../../../kern/uipc_syscalls.c:2379: undefined reference to
`sctp_lower_sosend' 
uipc_syscalls.o(.text+0x266c): In function `sctp_peeloff': 
../../../kern/uipc_syscalls.c:2246: undefined reference to
`sctp_can_peel_off' 
uipc_syscalls.o(.text+0x28e6):../../../kern/uipc_syscalls.c:2287:
undefined reference to `sctp_do_peeloff' 
rtsock.o(.text+0xb7d): In function `rt_newaddrmsg': 
../../../net/rtsock.c:897: undefined reference to `sctp_addr_change' 
in_proto.o(.data+0xa8): undefined reference to `sctp_input' 
in_proto.o(.data+0xb0): undefined reference to `sctp_ctlinput' 
in_proto.o(.data+0xb4): undefined reference to `sctp_ctloutput' 
in_proto.o(.data+0xbc): undefined reference to `sctp_init' 
in_proto.o(.data+0xc8): undefined reference to `sctp_drain' 
in_proto.o(.data+0xcc): undefined reference to `sctp_usrreqs' 
in_proto.o(.data+0xdc): undefined reference to `sctp_input' 
in_proto.o(.data+0xe4): undefined reference to `sctp_ctlinput' 
in_proto.o(.data+0xe8): undefined reference to `sctp_ctloutput' 
in_proto.o(.data+0xfc): undefined reference to `sctp_drain' 
in_proto.o(.data+0x100): undefined reference to `sctp_usrreqs' 
in_proto.o(.data+0x110): undefined reference to `sctp_input' 
in_proto.o(.data+0x118): undefined reference to `sctp_ctlinput' 
in_proto.o(.data+0x11c): undefined reference to `sctp_ctloutput' 
in_proto.o(.data+0x130): undefined reference to `sctp_drain' 
in_proto.o(.data+0x134): undefined reference to `sctp_usrreqs' 

*** Error code 1 

Stop in /usr/src/sys/i386/compile/WWW. 
WWW# 

My Config file is as follows:

# 
# GENERIC -- Generic kernel configuration file for FreeBSD/i386 
# 
# For more information on this file, please read the handbook section
on 
# Kernel Configuration Files: 
# 
#
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html

# 
# The handbook is also available locally in /usr/share/doc/handbook 
# if you've installed the doc distribution, otherwise always see the 
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the 
# latest information. 
# 
# An exhaustive list of options and more detailed explanations of the

# device lines is also present in the ../../conf/NOTES and NOTES
files. 
# If you are in doubt as to the purpose or necessity of a line, check
first 
# in NOTES. 
# 
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.474.2.2.2.1 2008/02/06
03:24:28 scottl Exp $ 

#cpu I486_CPU 
#cpu I586_CPU 
cpu I686_CPU 
ident WWW 

# To statically compile in device wiring instead of
/boot/device.hints 
#hints GENERIC.hints # Default places to look for devices. 

makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 

options SCHED_4BSD # 4BSD scheduler 
options PREEMPTION # Enable kernel thread preemption 
options INET # InterNETworking 
#options INET6 # IPv6 communications protocols 
options SCTP # Stream Control Transmission Protocol 
options FFS # Berkeley Fast Filesystem 
options SOFTUPDATES # Enable FFS soft updates support 
options UFS_ACL # Support for access control lists 
options UFS_DIRHASH # Improve performance on big directories 
options UFS_GJOURNAL # Enable gjournal-based UFS journaling 
options MD_ROOT # MD is a potential root device 
#options NFSCLIENT # Network Filesystem Client 
#options NFSSERVER # Network Filesystem Server 
#options NFS_ROOT # NFS usable as /, requires NFSCLIENT 
#options MSDOSFS # MSDOS Filesystem 
options CD9660 # ISO 9660 Filesystem 
options PROCFS # Process filesystem (requires PSEUDOFS) 
options PSEUDOFS # Pseudo-filesystem framework 
options GEOM_PART_GPT # GUID Partition Tables. 
options GEOM_LABEL # Provides labelization 
options COMPAT_43TTY # BSD 4.3 TTY compat [KEEP THIS!] 
options COMPAT_FREEBSD4 # Compatible with FreeBSD4 
options COMPAT_FREEBSD5 # Compatible with FreeBSD5 
options COMPAT_FREEBSD6 # Compatible with FreeBSD6 
#options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI 
options KTRACE # ktrace(1) support 
options SYSVSHM # SYSV-style shared memory 
options SYSVMSG # SYSV-style message queues 
options SYSVSEM # SYSV-style semaphores 
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time
extensions 
options KBD_INSTALL_CDEV # install a CDEV entry in /dev 
options ADAPTIVE_GIANT # Giant mutex is adaptive. 
options STOP_NMI # Stop CPUS using NMI instead of IPI 
options AUDIT # Security event auditing 

# To make an SMP kernel, the next two lines are needed 
options SMP # Symmetric MultiProcessor Kernel 

Re: Error code 1 upon building-installing kernel FreeBSD 7.0

2008-03-20 Thread Gelsema, P (Patrick) - FreeBSD
On Thu, March 20, 2008 15:06, Indiana Jones wrote:
 Hi,

 If anybody could help, I'd be most grateful.
 I have been getting this error message during buildinfg and
 installing a custom kernel on FreeBSD 7.0, after make depend command!

SCTP requires options INET6 to be set in kernel conf.

Either remove SCTP or add INET6

Cheers

Patrick


 linking kernel.debug
 uipc_syscalls.o(.text+0x3c1): In function `sctp_generic_recvmsg':
 ../../../kern/uipc_syscalls.c:2608: undefined reference to
 `sctp_sorecvmsg'
 uipc_syscalls.o(.text+0x21a2): In function
 `sctp_generic_sendmsg_iov':
 ../../../kern/uipc_syscalls.c:2486: undefined reference to
 `sctp_lower_sosend'
 uipc_syscalls.o(.text+0x249d): In function `sctp_generic_sendmsg':
 ../../../kern/uipc_syscalls.c:2379: undefined reference to
 `sctp_lower_sosend'
 uipc_syscalls.o(.text+0x266c): In function `sctp_peeloff':
 ../../../kern/uipc_syscalls.c:2246: undefined reference to
 `sctp_can_peel_off'
 uipc_syscalls.o(.text+0x28e6):../../../kern/uipc_syscalls.c:2287:
 undefined reference to `sctp_do_peeloff'
 rtsock.o(.text+0xb7d): In function `rt_newaddrmsg':
 ../../../net/rtsock.c:897: undefined reference to `sctp_addr_change'
 in_proto.o(.data+0xa8): undefined reference to `sctp_input'
 in_proto.o(.data+0xb0): undefined reference to `sctp_ctlinput'
 in_proto.o(.data+0xb4): undefined reference to `sctp_ctloutput'
 in_proto.o(.data+0xbc): undefined reference to `sctp_init'
 in_proto.o(.data+0xc8): undefined reference to `sctp_drain'
 in_proto.o(.data+0xcc): undefined reference to `sctp_usrreqs'
 in_proto.o(.data+0xdc): undefined reference to `sctp_input'
 in_proto.o(.data+0xe4): undefined reference to `sctp_ctlinput'
 in_proto.o(.data+0xe8): undefined reference to `sctp_ctloutput'
 in_proto.o(.data+0xfc): undefined reference to `sctp_drain'
 in_proto.o(.data+0x100): undefined reference to `sctp_usrreqs'
 in_proto.o(.data+0x110): undefined reference to `sctp_input'
 in_proto.o(.data+0x118): undefined reference to `sctp_ctlinput'
 in_proto.o(.data+0x11c): undefined reference to `sctp_ctloutput'
 in_proto.o(.data+0x130): undefined reference to `sctp_drain'
 in_proto.o(.data+0x134): undefined reference to `sctp_usrreqs'

 *** Error code 1

 Stop in /usr/src/sys/i386/compile/WWW.
 WWW#

 My Config file is as follows:

 #
 # GENERIC -- Generic kernel configuration file for FreeBSD/i386
 #
 # For more information on this file, please read the handbook section
 on
 # Kernel Configuration Files:
 #
 #
 http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html

 #
 # The handbook is also available locally in /usr/share/doc/handbook
 # if you've installed the doc distribution, otherwise always see the
 # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
 # latest information.
 #
 # An exhaustive list of options and more detailed explanations of the

 # device lines is also present in the ../../conf/NOTES and NOTES
 files.
 # If you are in doubt as to the purpose or necessity of a line, check
 first
 # in NOTES.
 #
 # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.474.2.2.2.1 2008/02/06
 03:24:28 scottl Exp $

 #cpu I486_CPU
 #cpu I586_CPU
 cpu I686_CPU
 ident WWW

 # To statically compile in device wiring instead of
 /boot/device.hints
 #hints GENERIC.hints # Default places to look for devices.

 makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols

 options SCHED_4BSD # 4BSD scheduler
 options PREEMPTION # Enable kernel thread preemption
 options INET # InterNETworking
 #options INET6 # IPv6 communications protocols
 options SCTP # Stream Control Transmission Protocol
 options FFS # Berkeley Fast Filesystem
 options SOFTUPDATES # Enable FFS soft updates support
 options UFS_ACL # Support for access control lists
 options UFS_DIRHASH # Improve performance on big directories
 options UFS_GJOURNAL # Enable gjournal-based UFS journaling
 options MD_ROOT # MD is a potential root device
 #options NFSCLIENT # Network Filesystem Client
 #options NFSSERVER # Network Filesystem Server
 #options NFS_ROOT # NFS usable as /, requires NFSCLIENT
 #options MSDOSFS # MSDOS Filesystem
 options CD9660 # ISO 9660 Filesystem
 options PROCFS # Process filesystem (requires PSEUDOFS)
 options PSEUDOFS # Pseudo-filesystem framework
 options GEOM_PART_GPT # GUID Partition Tables.
 options GEOM_LABEL # Provides labelization
 options COMPAT_43TTY # BSD 4.3 TTY compat [KEEP THIS!]
 options COMPAT_FREEBSD4 # Compatible with FreeBSD4
 options COMPAT_FREEBSD5 # Compatible with FreeBSD5
 options COMPAT_FREEBSD6 # Compatible with FreeBSD6
 #options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
 options KTRACE # ktrace(1) support
 options SYSVSHM # SYSV-style shared memory
 options SYSVMSG # SYSV-style message queues
 options SYSVSEM # SYSV-style semaphores
 options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time
 extensions
 options KBD_INSTALL_CDEV # install a CDEV entry in /dev
 options ADAPTIVE_GIANT # Giant mutex is adaptive.
 options STOP_NMI # Stop 

Re: Error code 1 upon building-installing kernel FreeBSD 7.0

2008-03-20 Thread Manolis Kiagias



Indiana Jones wrote:

Hi,

If anybody could help, I'd be most grateful.
I have been getting this error message during buildinfg and
installing a custom kernel on FreeBSD 7.0, after make depend command!

SNIP
options INET # InterNETworking 
#options INET6 # IPv6 communications protocols 
options SCTP # Stream Control Transmission Protocol 
options FFS # Berkeley Fast Filesystem 
options SOFTUPDATES # Enable FFS soft updates support 
options UFS_ACL # Support for access control lists 
options UFS_DIRHASH # Improve performance on big directories 
options UFS_GJOURNAL # Enable gjournal-based UFS journaling
  

As I discovered myself upon building my first 7.0 kernel, if you remove

options INET6

you should also remove the line following it:

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


Re: removable devices auto umounting

2008-03-20 Thread Roland Smith
On Thu, Mar 20, 2008 at 11:55:32AM +1000, Da Rock wrote:
 I'm just looking into the removable device issue for freebsd. I can see
 its easy enough to auto mount a removable device (although I could use
 some help getting sd/xd devices working with my card reader), but the
 removal seems to come unstuck.
 
 I have some barely literates on my systems, so I do need to work this
 out. Is it possible to use a forced umount to do this? What are the
 options here?

In short, no. Removal of a USB device would be forwarded to devd(8). But
since the device is no longer there at that moment, you cannot unmount
it anymore. You might get a nice kernel panic for your efforts, though. ;-)

The FreeBSD disk subsystem was simple not written with removable devices
in mind, because they didn't exist back then. Until that code is fixed
(which is hard) you _have_ to unmount before you pull the device out.

One (not bullet-proof) workaround might be to use the automounter
[amd(8)], and have it unmount very quickly after they stop being
active. This requires setting both the 'cache_duration' and
'dismount_interval' options in amd.conf(5) to very low values.
 
Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpsjJgfM71mK.pgp
Description: PGP signature


my brother is making me learn FreeBSD...

2008-03-20 Thread Donald Laniohan
My task is to build a BSD server and do something with it. That is all the
information he gave me, that, and any questions I have to make Google my
best friend, which I have. i remember building my first whitebox, it was a
386 with windows 3.1. I remember when I built my 486 and stole a copy of
windows 95. I thought I was a savage. BSD, however, has showed me how
juvenile I have been. If I do not master BSD my brother is going to keep me
as a desktop support for his windows clients and I want to progress past
this. So he's giving me a 1u, and said to put BSD on it and make it do
something, im just so stuck in my windows comfort zone I can't think of what
I would need a unix server to that I couldn't make windows do for me. I know
this is trivial but if somebody could offer any suggestion or resource I,
and my career, would greatly appreciate it

 

Donald Laniohan

MLAN Consulting

San Diego, CA

[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: linux emulation

2008-03-20 Thread Wojciech Puchar

I've read the handbook and just about anything on linux compat under
freebsd. I am particularly interested in drivers under linux compat.


emulation allows execution of normal linux programs, not drivers



1. How do I install the drivers for all users under linux compat?
2. Is it possible for freebsd programs to use the linux drivers?
3. Anything I should be aware of before I embark on this adventure?

In particular, I'm interested in drivers for multimedia cards and input
devices.

Cheers

___
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: my brother is making me learn FreeBSD...

2008-03-20 Thread Gelsema, P (Patrick)
On Thu, March 20, 2008 15:32, Donald Laniohan wrote:
 My task is to build a BSD server and do something with it. That is all the
 information he gave me, that, and any questions I have to make Google my
 best friend, which I have. i remember building my first whitebox, it was a
 386 with windows 3.1. I remember when I built my 486 and stole a copy of
 windows 95. I thought I was a savage. BSD, however, has showed me how
 juvenile I have been. If I do not master BSD my brother is going to keep
 me
 as a desktop support for his windows clients and I want to progress past
 this. So he's giving me a 1u, and said to put BSD on it and make it do
 something, im just so stuck in my windows comfort zone I can't think of
 what
 I would need a unix server to that I couldn't make windows do for me. I
 know
 this is trivial but if somebody could offer any suggestion or resource I,
 and my career, would greatly appreciate it

make it a webserver (apache)
Make it a proxy (squid)
make it an email server (www.tnpi.biz/mailtoaster)
make it a DNS server (Bind)
make it a database server (mysql/postgresql)
make it a firewall (a proper one, not like windows)
make it a vpn server (can windows do this out of the box?)
make it a sniffer (definitely something that windows cant do out of the box)
and so forth..

everything you run on windows can be run on Freebsd and more.

It is hard to install something not knowing what you want. I mean
installing windows 2003 out of the box wont do you any good as well,
untill you configured the services which you want.

So.. a nice task could be.. replacing the windows 2003/2000/2008 server
with a Freebsd box and not loosing functionality for the end user.

So pick a win box, write down what it is doing for you. THen find the
FreebSd ports for it and try to have it working.

Good luck





 Donald Laniohan

 MLAN Consulting

 San Diego, CA

 [EMAIL PROTECTED]



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


OpenOffice 2.3

2008-03-20 Thread Mike Barnard
Hi,

I am running FreeBSD 7.0 Pre-Release on an HP 6720s Laptop. I am
experiencing a strange problem with OpenOffice.

Every time i open a document/spreadsheet or try to save a
document/spreadsheet, OpenOffice hangs.

When i open a spreadsheet, i get a warning message about macros, when i
click on OK, it hangs at that point.

Has any one experienced this? Any one know to resolve this.

Thanks.

Regards

-- 
Mike

Of course, you might discount this possibility, but remember that one in
a million chances happen 99% of the time.

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


Re: my brother is making me learn FreeBSD...

2008-03-20 Thread Nejc Škoberne

everything you run on windows can be run on Freebsd and more.


Huh? AFAIK FreeBSD can not act as a domain controller for an Microsoft AD.
And this is something you would need in a company full of Windows boxen.
And don't tell me I can throw away Windows and install FreeBSD on hundreds
of clients (with so varying hardware that even Windows has problems sometimes).

Replacing the Windows 2008 server with a FreeBSD box without loosing
functionality? Are you sure you really meant that? Just checking again before
starting spitting out things where FreeBSD can not replace Windows server.

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


Re: my brother is making me learn FreeBSD...

2008-03-20 Thread Gelsema, P (Patrick)
On Thu, March 20, 2008 16:18, Nejc Škoberne wrote:
 everything you run on windows can be run on Freebsd and more.

 Huh? AFAIK FreeBSD can not act as a domain controller for an Microsoft AD.

AD is nothing more than a big database accessible over LDAP.
You connect to the LDAP database, and when you are authenticated you get a
kerberos token.

Clients use SRV records to check for AD services. SRV Records are
supported by BIND. It is possible to run AD and have your DNS/AD zones on
a BIND DNS server. I believe you can even find whitepapers from Microsoft
for this.

Of course certain features are Microsoft specific.

 And this is something you would need in a company full of Windows boxen.
 And don't tell me I can throw away Windows and install FreeBSD on hundreds
 of clients (with so varying hardware that even Windows has problems
 sometimes).

Xorg + openoffice? Why not? Of course the TCO will increase, training etc.
It is simpler for the majority of us to stick to windows.


 Replacing the Windows 2008 server with a FreeBSD box without loosing
 functionality? Are you sure you really meant that? Just checking again
 before
 starting spitting out things where FreeBSD can not replace Windows server.

yes. I meant that. We are talking out of the box Windows 2008. What kind
of functionality are you talking about?

At work I use windows a lot. Windows 2003 R2, SCCM, SQL 2005, SCOM,
Exchange 2007 and all the other latest stuff from Microsoft. But for all
these applications I can use also Freebsd and applications found in ports.

Besides, the point was that the TS wanted to start using somethign else
than windows to learn more about OS in general. PPl stick to Windows
because they are afraid for change and a learning curve.


 Bye,
 Nejc

Bye
Patrick

 ___
 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: linux emulation

2008-03-20 Thread Da Rock

On Thu, 2008-03-20 at 08:50 +0100, Wojciech Puchar wrote:
  I've read the handbook and just about anything on linux compat under
  freebsd. I am particularly interested in drivers under linux compat.
 
 emulation allows execution of normal linux programs, not drivers

Ok. So input devices won't work either? I refer to this page here:
http://people.freebsd.org/~3d/apps/games/unreal_tournament/

What is the driver mentioned here?

Incidentally, what is the difference between linux and bsd drivers? The
drivers in question are manufacturers binaries for linux in an RPM;
hence the question. Plus I came across several notations regarding
building or using drivers from linux in bsd (linux-kmod-compat port, the
above link, and more).

For reference I'm merely very curious, not argumentative on this. Cheers
for any answers offered.

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


Re: removable devices auto umounting

2008-03-20 Thread Patrick C
What about a Safely Remove Hardware-style icon on your desktop,
which could simply run a script to unmount (with force if the user has
it open somewhere).

-Patrick

On 20/03/2008, Roland Smith [EMAIL PROTECTED] wrote:
 On Thu, Mar 20, 2008 at 11:55:32AM +1000, Da Rock wrote:
   I'm just looking into the removable device issue for freebsd. I can see
   its easy enough to auto mount a removable device (although I could use
   some help getting sd/xd devices working with my card reader), but the
   removal seems to come unstuck.
  
   I have some barely literates on my systems, so I do need to work this
   out. Is it possible to use a forced umount to do this? What are the
   options here?


 In short, no. Removal of a USB device would be forwarded to devd(8). But
  since the device is no longer there at that moment, you cannot unmount
  it anymore. You might get a nice kernel panic for your efforts, though. ;-)

  The FreeBSD disk subsystem was simple not written with removable devices
  in mind, because they didn't exist back then. Until that code is fixed
  (which is hard) you _have_ to unmount before you pull the device out.

  One (not bullet-proof) workaround might be to use the automounter
  [amd(8)], and have it unmount very quickly after they stop being
  active. This requires setting both the 'cache_duration' and
  'dismount_interval' options in amd.conf(5) to very low values.

  Roland

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


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


Re: KDE doesn't switch between keyboard layouts in FreeBSD

2008-03-20 Thread Yuri



Edit the file:

~/.kde/share/config/kdeglobals

and add the following line in the Global Shortcuts section:

Switch to Next Keyboard Layout=default(Alt+Shift_L)
I already have similar line: Switch to Next Keyboard 
Layout=default(Alt+Ctrl+K)
And it witches English-Cyrillic, but when I press it the second time it 
only beeps and doesn't switch.


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


Re: my brother is making me learn FreeBSD...

2008-03-20 Thread Chad Perrin
On Wed, Mar 19, 2008 at 11:32:08PM -0800, Donald Laniohan wrote:
 My task is to build a BSD server and do something with it. That is all the
 information he gave me, that, and any questions I have to make Google my
 best friend, which I have. i remember building my first whitebox, it was a
 386 with windows 3.1. I remember when I built my 486 and stole a copy of
 windows 95. I thought I was a savage. BSD, however, has showed me how
 juvenile I have been. If I do not master BSD my brother is going to keep me
 as a desktop support for his windows clients and I want to progress past
 this. So he's giving me a 1u, and said to put BSD on it and make it do
 something, im just so stuck in my windows comfort zone I can't think of what
 I would need a unix server to that I couldn't make windows do for me. I know
 this is trivial but if somebody could offer any suggestion or resource I,
 and my career, would greatly appreciate it

Reasonably easy stuff that'd teach you something useful and *be*
immediately useful, all at the same time, would be:

  1. Set up a document management server using Subversion.  The idea is
  that you commit a directory you use for your personal documents to a
  version control system so that whenever you update the documents, you
  can have both the current and all previous versions recoverable from
  the server in case of disaster or a desire to roll back some changes
  you've made.  A Google search string that should help for getting it
  set up is:

  subversion document management

  Since it's probably not cheating to have someone point you directly
  at a link for something on MS Windows, I'll just give you a direct link
  to an article I wrote a while back about setting up TortoiseSVN on MS
  Windows.  TortoiseSVN is a client for Subversion, and can be used to
  make use of your personal document management server from a Microsoft
  Windows client, if you don't have a FreeBSD desktop or laptop system
  available.  The URL is:

  http://articles.techrepublic.com.com/5100-3513_11-6172851.html
  
  2. Set up a backup server.  There are several excellent tools for this
  that automate most of the process.  Popular choices include Backula,
  rsync, and dump.  With some tools, you may want to schedule their
  operation by use of cron -- which means you'll probably be learning at
  least two separate tools.  Since there are so many different means of
  setting up a backup server, I'll leave it to you to figure out what
  search strings to use.

  3. Set up a remote filesystem integrity auditing server.  Tools such as
  mtree, Tripwire, and rsync can all be used for this purpose.  I've even
  written articles about the use of these tools for these purposes.  You
  should be able to find them with Google search strings like the
  following:

  mtree integrity auditing
  rsync integrity auditing
  tripwire integrity auditing

I chose these three server types in particular because:

  1. They're things you can't do very effectively on MS Windows without
  tracking down third party software to buy, copy, or download via your
  browser to install on the system with great annoyance and difficulty.

  2. They're relatively easy (with the possible exception of using
  tripwire or getting really fancy with the configuration of some of
  these), unlike other things MS Windows doesn't do so well (like setting
  up a stateful router/firewall, which can easily get fairly complex).

  3. I've done them all, and they're all only a very brief shell command
  away from installing on the system (assuming you have the full CD set
  or a broadband Internet connection).

  4. None of them require use of the X Window System, so you can set them
  all up and manage them using nothing more than a command shell via SSH.

  5. They can all be immediately useful for you, whereas something like a
  firewall you're setting up without a specific need for a firewall
  system probably cannot.

NOTES:

  1. I haven't mentioned the single most useful bit of help you can get
  for finding out how to get things running in FreeBSD.  I'll give you a
  hint, though; FreeBSD is the OS whose user documentation is the
  absolute best, in my experience.  I haven't used all available OSes, of
  course, but I've used quite a few.

  2. I can't swear that the results you get from the above recommended
  Google search strings will give you the information you need.  They're
  just ideas off the top of my head for how to get started on searching.
  I have not tested those search strings for these purposes.

  3. Anything I intentionally leave out of this email that might be
  helpful (such as URLs that lead directly to various resources that give
  step-by-step instructions on achieving certain ends with FreeBSD), I
  left out because I wouldn't want to be accused of cheating by simply
  handing over the answers when you have obviously been given a challenge
  by your brother.  The content of this email is meant to 

Re: linux emulation

2008-03-20 Thread Predrag Punosevac

Da Rock wrote:

On Thu, 2008-03-20 at 08:50 +0100, Wojciech Puchar wrote:
  

I've read the handbook and just about anything on linux compat under
freebsd. I am particularly interested in drivers under linux compat.
  

emulation allows execution of normal linux programs, not drivers



Ok. So input devices won't work either? I refer to this page here:
http://people.freebsd.org/~3d/apps/games/unreal_tournament/

What is the driver mentioned here?

Incidentally, what is the difference between linux and bsd drivers? 

They are written for different kernels!




The
drivers in question are manufacturers binaries for linux in an RPM;
hence the question. Plus I came across several notations regarding
building or using drivers from linux in bsd (linux-kmod-compat port, the
above link, and more).

For reference I'm merely very curious, not argumentative on this. Cheers
for any answers offered.

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


ZFS + NFS problems

2008-03-20 Thread Ruud Althuizen
Hello People,

I have a webserver with a ZFS pool for storing all the user data. So all the
users have their own filesystem with a quota set. With exporting the system
I ran into some problems with NFS though.

At other machines I can mount the user specific shares resulting in an
80-line fstab per machine or mount a higher dir. But that last option
results in all the dirs and files in it mapped to root.

So is there a solution to that last problem or will I need to use something
else? As the share also gets mounted with Linux machines a server-side
solution is prefered.

-- 
Greetings,
Ruud Althuizen


pgpG9kcbUFbFf.pgp
Description: PGP signature


Replacing Windows with FreeBSD (was: my brother is making me learn FreeBSD...)

2008-03-20 Thread Nejc Škoberne

Hey Patrick,


AD is nothing more than a big database accessible over LDAP.
You connect to the LDAP database, and when you are authenticated you get a
kerberos token.

Clients use SRV records to check for AD services. SRV Records are
supported by BIND. It is possible to run AD and have your DNS/AD zones on
a BIND DNS server. I believe you can even find whitepapers from Microsoft
for this.

Of course certain features are Microsoft specific.


So you are saying that merely setting up an OpenLDAP server with proper DNS
configuration and Kerberos authentication could replace Microsoft AD controller?
How about a group of controllers with all the failover features? Group policies?
Are you sure you could do that just with a bit of tweaking? If there are 
Microsoft
specific features, than FreeBSD can't do anything Windows server does and more. 
I
am really skeptic about joining a Vista into such a domain. I would really love 
to
see ONE guy who achieves that. To _completely_ replace Windows server with all 
its
features with FreeBSD Anyone?


Xorg + openoffice? Why not? Of course the TCO will increase, training etc.
It is simpler for the majority of us to stick to windows.


Sorry, but OpenOffice is more featureless than MS Office 2007. There are things
which you can do with MS Office so MUCH easily than with OpenOffice. For feature
comparison see:

http://blogs.zdnet.com/Ou/?p=480

Not to mention performance issues with OpenOffice:

http://www.openoffice.org/product/docs/ms2007vsooo2.pdf

And not to mention, that running Xorg prevents a company from running many other
software (specific to some environment, for example here in Slovenia we have 
many
small companies which develop various business software - from business 
directories
to phone books, dictionaries, ... practically none of them can run under 
Windows).
Being a company it is difficult to choose where you live. You could say just 
don't
run that software but I can't say that to users. Because they need that stuff.


yes. I meant that. We are talking out of the box Windows 2008. What kind
of functionality are you talking about?


The most important thing: we are talking about ordinary users not a bunch of
math professors who want to run every application from a shell. And those users
want to use things nicely. For example, let's look at the mail system. You could
put a Postfix+amavisd-new+spamassassin+Horde+postfixadmin+ ... bla bla stuff on
your FreeBSD server (I actually run this on many servers). But in that webmail,
you are not able to manage your spam quarantine for example - you have to logout
of Horde and login to Maia Mailguard (before you have to install that too), 
which
is complicated for users. The problem of mail is then cut to so many little
pieces that it may affect user efficiency. The problem with concatenating so 
many
opensource products is that it is hard to make them work together like a charm.
Microsoft usually (!) provides that (naturally, because it produces all those
pieces).

How about group policies? How would you do that with FreeBSD server? Group 
policies
are THE thing you need when managing greater amount of workstations.


At work I use windows a lot. Windows 2003 R2, SCCM, SQL 2005, SCOM,
Exchange 2007 and all the other latest stuff from Microsoft. But for all
these applications I can use also Freebsd and applications found in ports.


Probably you use it more than I do, I really run FreeBSD servers mostly. And I
have problems with providing nice-packaged, easy-to-use, all-in-one software to
users who are used to that. I use FreeBSD/OS mostly because it is free of charge
and because it is quite costumisable. If MS products would be free of charge, I
would probably switch to them in most cases. I would just keep the OS scene for
our math professors, because you just _can't_ use non-OS software at 
universities. :)


Besides, the point was that the TS wanted to start using somethign else
than windows to learn more about OS in general. PPl stick to Windows
because they are afraid for change and a learning curve.


I totally agree here. And I agree that it's good to check other things too, even
if it is for learning only. Not only good, I think it is necessary for a good 
admin.

I just don't agree with the statement, that Windows servers are completely 
inferior
to FreeBSD and you could replace all of them with FreeBSD boxen. If that would 
be
possible, I would do it already.

I really am a FreeBSD guy, I run it for more than 6 years now and I like it a 
lot.
But I learned to be reasonable and not to say that it is in every way superior 
to
everything else in the world.

Still just talking, not fighting.

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


Re: linux emulation

2008-03-20 Thread Da Rock

 On 20/03/2008, Da Rock [EMAIL PROTECTED] wrote:
 
   On Thu, 2008-03-20 at 08:50 +0100, Wojciech Puchar wrote:
 I've read the handbook and just about anything on linux compat under
 freebsd. I am particularly interested in drivers under linux compat.
   
emulation allows execution of normal linux programs, not drivers
 
 
  Ok. So input devices won't work either? I refer to this page here:
   http://people.freebsd.org/~3d/apps/games/unreal_tournament/
 
   What is the driver mentioned here?
 
   Incidentally, what is the difference between linux and bsd drivers? The
   drivers in question are manufacturers binaries for linux in an RPM;
   hence the question. Plus I came across several notations regarding
   building or using drivers from linux in bsd (linux-kmod-compat port, the
   above link, and more).
 
   For reference I'm merely very curious, not argumentative on this. Cheers
   for any answers offered.
 


On Thu, 2008-03-20 at 02:14 -0700, Patrick C wrote:
 A binary is compiled assembly/code. The binary still needs to interact
 with low-level hardware using system calls, handling interrupts, etc.
 in a way that the operating system understands. Applications are more
 portable and less operating- and hardware-specific than drivers, which
 require a good understanding of the operating system and the hardware.
 
 Please read the current status of linux-kmod-compat, it specifically
 indicates it is for USB drivers. USB is a simplified bus where the
 low-level access is handled in the same manner for every device so
 it's simpler to port the driver.
 
 Glide in your case is an API/Library, not an actual driver. Libraries
 are very similar to applications in how they act with the operating
 system/environment, and are a must-have on running Linux binaries.
 This is supported and works well.
 
 -Patrick
 

Ok, got that. I read that about the linux-kmod-compat, but I thought
that it might have been the beginning of something beautiful (pardon
poetics...). I was unaware of the glide situation though.

Does anyone know what the differences are between linux and bsd at the
system calls, interrupts, etc? I understand that there are some software
which accesses hardware at this sort of level which has been adapted as
well (raid controllers mainly), so surely there must be some information
on what can enable this to work.

What this discussion has got me thinking on is a wrapper (ie NDIS),
since the drivers are not from the linux oss community but from the
actual manufacturer I'm assuming (forgive me, please... :) ) that this
may be a feasible solution. In which case, then, I'm going to have to
map calls and create device nodes. Should be simple then, no? ;P!

I'd love to hear any more suggestions or links to info on any of this,
thanks guys.

Also, on the linux compat- am I correct in my observation that you have
to actually chroot to enable the running of a linux binary? Enter the
file structure of the linux compat? Or can you just run it?

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


problem installing port (amavisd-new) under 6.3 release

2008-03-20 Thread Ray Still
Hello all,
I'm installing 6.3 fresh, and I'm running into some problems installing some

ports. everything goes fine until I get here:

any suggestions?
Thanks in advance,
Ray
===   Returning to build of p5-Encode-Detect-1.00
===   p5-Encode-Detect-1.00 depends on file: /usr/local/bin/perl5.8.8 -
found
===  Configuring for p5-Encode-Detect-1.00
Checking whether your kit is complete...
Looks good

Warning: this distribution contains XS files, but Module::Build is not
configured with C_support.  Please install ExtUtils::CBuilder to enable
C_support.
Checking prerequisites...
 - ERROR: ExtUtils::CBuilder is not installed

ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the
versions
of the modules indicated above before proceeding with this installation

Creating new 'Build' script for 'Encode-Detect' version '1.00'
===  Building for p5-Encode-Detect-1.00
Module::Build is not configured with C_support
at /usr/local/lib/perl5/site_perl/5.8.8/Module/Build/Base.pm line 3887.
*** Error code 2

Stop in /usr/ports/converters/p5-Encode-Detect.
*** Error code 1

Stop in /usr/ports/mail/p5-Mail-SpamAssassin.
*** Error code 1

Stop in /usr/ports/security/amavisd-new.
*** Error code 1

Stop in /usr/ports/security/amavisd-new.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


problem installing port (amavisd-new) under 6.3 release

2008-03-20 Thread Ray Still
Hello all,
I'm installing 6.3 fresh, and I'm running into some problems installing some

ports. everything goes fine until I get here:

any suggestions?
Thanks in advance,
Ray
===   Returning to build of p5-Encode-Detect-1.00
===   p5-Encode-Detect-1.00 depends on file: /usr/local/bin/perl5.8.8 -
found
===  Configuring for p5-Encode-Detect-1.00
Checking whether your kit is complete...
Looks good

Warning: this distribution contains XS files, but Module::Build is not
configured with C_support.  Please install ExtUtils::CBuilder to enable
C_support.
Checking prerequisites...
 - ERROR: ExtUtils::CBuilder is not installed

ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the
versions
of the modules indicated above before proceeding with this installation

Creating new 'Build' script for 'Encode-Detect' version '1.00'
===  Building for p5-Encode-Detect-1.00
Module::Build is not configured with C_support
at /usr/local/lib/perl5/site_perl/5.8.8/Module/Build/Base.pm line 3887.
*** Error code 2

Stop in /usr/ports/converters/p5-Encode-Detect.
*** Error code 1

Stop in /usr/ports/mail/p5-Mail-SpamAssassin.
*** Error code 1

Stop in /usr/ports/security/amavisd-new.
*** Error code 1

Stop in /usr/ports/security/amavisd-new.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Best way to achive email hosting for several domains

2008-03-20 Thread Roberto Nunnari

Please, any thoughts here?

Best regards.
Robi.


Roberto Nunnari wrote:

Hi.

I'd like to know what are the best practices for implementing
email hosting for several domains. The service is accessible
via pop/imap/webmail

Apart from that, I'd like to ask for comments on the
actual comfiguration..

The system is already configured and running as follows:

# uname -rms
FreeBSD 6.1-RELEASE-p23 i386

MTA:sendmail
imap/pop:mail/imap-uw
webmail:horde from ports

Every mailbox as a local unix account, ie:
[EMAIL PROTECTED] -- a1
[EMAIL PROTECTED] -- a2
[EMAIL PROTECTED] -- b1
[EMAIL PROTECTED] -- b2
etc..

Now, everything works fine, but I'm a bit concerned with the
webmail login.. I'd like [EMAIL PROTECTED] to login with a
username equal to the email, but as the authentication in
horde is handled by imp, I'm not sure how to proceed with that..

Any hints/suggestions are welcome.

Thank you and best regards.
Robi.


___
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: Replacing Windows with FreeBSD (was: my brother is making me learn FreeBSD...)

2008-03-20 Thread Gelsema, P (Patrick)
Hiya,

On Thu, March 20, 2008 17:50, Nejc Škoberne wrote:
 Hey Patrick,

 AD is nothing more than a big database accessible over LDAP.
 You connect to the LDAP database, and when you are authenticated you get
 a
 kerberos token.

 Clients use SRV records to check for AD services. SRV Records are
 supported by BIND. It is possible to run AD and have your DNS/AD zones
 on
 a BIND DNS server. I believe you can even find whitepapers from
 Microsoft
 for this.

 Of course certain features are Microsoft specific.

 So you are saying that merely setting up an OpenLDAP server with proper
 DNS
 configuration and Kerberos authentication could replace Microsoft AD
 controller?
 How about a group of controllers with all the failover features? Group
 policies?
 Are you sure you could do that just with a bit of tweaking? If there are
 Microsoft
 specific features, than FreeBSD can't do anything Windows server does and
 more. I
 am really skeptic about joining a Vista into such a domain. I would really
 love to
 see ONE guy who achieves that. To _completely_ replace Windows server with
 all its
 features with FreeBSD Anyone?

Failover is nothing more than multi master replication and querying a DNS
server for the nearest server which contains an AD database. If the first
record fails try another one, if that fails try another one. This is how
locating AD servers work.

Also why would you want to have a Vista machine in your Freebsd AD domain
;-) You should be running Xorg, Gnome, KDE or whatever, authenticating
against the Freebsd server.

Thinking about it. What about Radius, isnt that already a system that
allows you to manage logons network wise?


 Xorg + openoffice? Why not? Of course the TCO will increase, training
 etc.
 It is simpler for the majority of us to stick to windows.

 Sorry, but OpenOffice is more featureless than MS Office 2007. There are
 things
 which you can do with MS Office so MUCH easily than with OpenOffice. For
 feature
 comparison see:

 http://blogs.zdnet.com/Ou/?p=480

 Not to mention performance issues with OpenOffice:

 http://www.openoffice.org/product/docs/ms2007vsooo2.pdf

 And not to mention, that running Xorg prevents a company from running many
 other
 software (specific to some environment, for example here in Slovenia we
 have many
 small companies which develop various business software - from business
 directories
 to phone books, dictionaries, ... practically none of them can run under
 Windows).

I completely agree with OpenOffice. Thing is that MIcrosoft has been
defined the de facto standard. And yes to have the same features in
OpenOffice as in Microsoft you will have to install more applications.

Dont forget emulators. If you run a 16bit app on windows xp you run in an
emulator. There is even an option telling windows xp which version of
dos/windows to emulate.

 Being a company it is difficult to choose where you live. You could say
 just don't
 run that software but I can't say that to users. Because they need that
 stuff.


I agree. Business comes first. But users will be used with what they get
as long as it does the job, and b, if it does it fast.

 yes. I meant that. We are talking out of the box Windows 2008. What kind
 of functionality are you talking about?

 The most important thing: we are talking about ordinary users not a bunch
 of
 math professors who want to run every application from a shell. And those
 users
 want to use things nicely. For example, let's look at the mail system. You
 could
 put a Postfix+amavisd-new+spamassassin+Horde+postfixadmin+ ... bla bla
 stuff on
 your FreeBSD server (I actually run this on many servers). But in that
 webmail,
 you are not able to manage your spam quarantine for example - you have to
 logout
 of Horde and login to Maia Mailguard (before you have to install that
 too), which
 is complicated for users. The problem of mail is then cut to so many
 little
 pieces that it may affect user efficiency. The problem with concatenating
 so many
 opensource products is that it is hard to make them work together like a
 charm.
 Microsoft usually (!) provides that (naturally, because it produces all
 those
 pieces).

Spam? What about filtering all the spam into a folder in the mailbox of a
user. Microsoft calls this junk filter/mail. Then run every night a script
which feeds the content of that folder into a spamassassin database. I run
my mailserver onto the Mailtoaster found on www.tnpi.biz and it learns
spam full automatic.

Microsoft and spam? They dont have a proper spam solution. You had to buy
expensive addons for exchange. I believe with forefront that his has
changed but I have no personal experience with this.

I do agree that microsoft has the benefit of everything together where you
will have to install port and port and package to end up with the same
result.


 How about group policies? How would you do that with FreeBSD server? Group
 policies
 are THE thing you need when managing greater amount of workstations.



Re: linux emulation

2008-03-20 Thread Boris Samorodov
On Thu, 20 Mar 2008 19:52:14 +1000 Da Rock wrote:

 Also, on the linux compat- am I correct in my observation that you have
 to actually chroot to enable the running of a linux binary? Enter the
 file structure of the linux compat? Or can you just run it?

Just run it.


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


Planing hardware / software for a potential gro wfs… 

2008-03-20 Thread bsd

Hello,


I am planning to setup various services (including mail server, DNS  
server, hosting / web services) that could potentially grow in a very  
important way.


As a resonable person - I would like to plan It for my actual needs  
(suiting the first year of exploitation = 1Tb) and after that  
eventually grow the file system using the most simple and less anoying  
solution…


I wanted to have your point of view on the potential way to build the  
best hosting solution, knowing that most important things are:


- Use (if possible) a 100% compatible FBSD solution.
- Also be compatbile with other flavor of Unix (Linux,…).
- Offer an expandable and simple to manage solution for storage.
- Figure out a good solution for backup.


Today I have 2 solutions in mind:

1. Use a blade system including 2 or 3 blades at first with an  
external attached storage device (whom type has to be defined);
2. Use various servers on their own and dispatch services accordingly  
on each server.

3. Another solution…


I wanted to know:

- If anyone has been using blade system with FreeBSD and what problem  
he has been facing?
- If you have some specific advise regarding File System configuration  
or options?

- What storage solution you find best and easiest to manage?


Main point is: stability and sustainable.


Thanks for your support.


Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz


P Please consider your environmental responsibility before printing  
this e-mail



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


Re: KDE doesn't switch between keyboard layouts in FreeBSD

2008-03-20 Thread Manolis Kiagias



Yuri wrote:



Edit the file:

~/.kde/share/config/kdeglobals

and add the following line in the Global Shortcuts section:

Switch to Next Keyboard Layout=default(Alt+Shift_L)
I already have similar line: Switch to Next Keyboard 
Layout=default(Alt+Ctrl+K)
And it witches English-Cyrillic, but when I press it the second time 
it only beeps and doesn't switch.



I believe the trick is to set the option in this file to the exact same 
key combination you used in xkboptions in the GUI. This is how it works 
for me.

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


[Mail Delivery System] Mail delivery failed: returning message to sender

2008-03-20 Thread Boris Samorodov
On Thu, 20 Mar 2008 21:13:40 +1000 Da Rock wrote:
 On Thu, 2008-03-20 at 13:57 +0300, Boris Samorodov wrote:
  On Thu, 20 Mar 2008 20:48:46 +1000 Da Rock wrote:
   On Thu, 2008-03-20 at 13:37 +0300, Boris Samorodov wrote:
On Thu, 20 Mar 2008 19:52:14 +1000 Da Rock wrote:

 Also, on the linux compat- am I correct in my observation that you 
 have
 to actually chroot to enable the running of a linux binary? Enter the
 file structure of the linux compat? Or can you just run it?

Just run it.
  
   But the executable has to stored under /linux/compat ?
  
  No.

 So the purpose of the /linux/compat is...?
 Linux specific system commands? What about the procfs and devfs under
 here? Why separate those?

If you want to learn more about linuxulator there is a
freebsd-emulation@ mail list. Those and other questions are
regularly discussed there. I'd advise you to read the Handbook
first and freebsd-emulation@ archieves (to get an idea). And then
ask your questions about linuxulator at that ML.

BTW, don't think I'm rude, just my English is not very good. ;-)

Ah, and some your questions are not so simple to answer (ex. the first
one). But you may find an answer to _why_ is it not so simple at
freebsd-emulation@ ML archieves.

There are some additional articles about linuxulator at FreeBSD:
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/linux-users/index.html
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/linux-emulation/index.html


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


Re: my brother is making me learn FreeBSD...

2008-03-20 Thread Bill Moran
Donald Laniohan [EMAIL PROTECTED] wrote:

 My task is to build a BSD server and do something with it. That is all the
 information he gave me, that, and any questions I have to make Google my
 best friend, which I have. i remember building my first whitebox, it was a
 386 with windows 3.1. I remember when I built my 486 and stole a copy of
 windows 95. I thought I was a savage. BSD, however, has showed me how
 juvenile I have been. If I do not master BSD my brother is going to keep me
 as a desktop support for his windows clients and I want to progress past
 this. So he's giving me a 1u, and said to put BSD on it and make it do
 something, im just so stuck in my windows comfort zone I can't think of what
 I would need a unix server to that I couldn't make windows do for me. I know
 this is trivial but if somebody could offer any suggestion or resource I,
 and my career, would greatly appreciate it

While the other advice is good, I'd just set up an Apache web server if I
were you.  It's one of the simpler tasks to take on, and you'll find lots
and lots of assistance on this via Google.

Another, possibly even easier, option is to set up a shell server.  Just
install the OS, enable sshd and add some users.  You could argue that it's
a secure file transfer server (load up WinSCP on a Windows box and show off
just how 133t your are)

The handbook is going to be your best guide initially:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/

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


Removing aliases removes primary IP

2008-03-20 Thread Spil Oss
Dear all,

Today I removed all aliases on my internal NIC and loopback, which
resulted in losing the primary ip-address. What am I missing!

rc.conf
ifconfig_xl0=inet 172.17.2.1 netmask 255.255.255.0
ifconfig_xl0_alias0=inet 172.17.2.3 netmask 255.255.255.0
ifconfig_xl0_alias1=inet 172.17.2.4 netmask 255.255.255.0
ifconfig_xl0_alias2=inet 172.17.2.5 netmask 255.255.255.0
ifconfig_lo0_alias0=inet 127.0.0.2 netmask 255.0.0.0
ifconfig_lo0_alias1=inet 127.0.0.3 netmask 255.0.0.0

# ifconfig xl0 alias 172.17.2.3 delete
# ifconfig xl0 alias 172.17.2.4 delete
# ifconfig xl0 alias 172.17.2.5 delete
# ifconfig lo0 alias 127.0.0.2 delete
# ifconfig lo0 alias 127.0.0.3 delete
# ifconfig
xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=9RXCSUM,VLAN_MTU
inet 172.17.2.5 netmask 0xff00 broadcast 172.17.2.255
ether snip
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet6 ::1 prefixlen 128
inet 127.0.0.3 netmask 0xff00

Please enlighten me (or have I struc upon a bug)...

Running FreeBSD 6.3-RELEASE-p1 FreeBSD 6.3-RELEASE-p1 #1: Sat Feb 23
13:24:24 CET 2008

Kind regards,

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


Re: removable devices auto umounting

2008-03-20 Thread Da Rock

On Thu, 2008-03-20 at 08:43 +0100, Roland Smith wrote:
 On Thu, Mar 20, 2008 at 11:55:32AM +1000, Da Rock wrote:
  I'm just looking into the removable device issue for freebsd. I can see
  its easy enough to auto mount a removable device (although I could use
  some help getting sd/xd devices working with my card reader), but the
  removal seems to come unstuck.
  
  I have some barely literates on my systems, so I do need to work this
  out. Is it possible to use a forced umount to do this? What are the
  options here?
 
 In short, no. Removal of a USB device would be forwarded to devd(8). But
 since the device is no longer there at that moment, you cannot unmount
 it anymore. You might get a nice kernel panic for your efforts, though. ;-)
 
 The FreeBSD disk subsystem was simple not written with removable devices
 in mind, because they didn't exist back then. Until that code is fixed
 (which is hard) you _have_ to unmount before you pull the device out.
 
 One (not bullet-proof) workaround might be to use the automounter
 [amd(8)], and have it unmount very quickly after they stop being
 active. This requires setting both the 'cache_duration' and
 'dismount_interval' options in amd.conf(5) to very low values.
  
 Roland

So by active you mean device access? Or device physical connection? If
its simply access, than that would be perfect- user enters the mount
point, reads or writes a file, amd times out after X secs and dismounts
the device. Physical could be a bit harder...

Also, what docs/how-to's would you suggest for AMD? I looked at the man
and some freebsd doc pages, but another viewpoint would help.
Specifically some more docs on the settings you mention.

Bullet-proof is not exactly necessary- nice, but not critical.
Suggestions for bullet-proof are very welcome though. What is the worst
that can happen if dismounting is not entirely successful? Keeping in
mind that this is mostly a desktop system.

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


Re: removable devices auto umounting

2008-03-20 Thread Roland Smith
On Thu, Mar 20, 2008 at 09:55:37PM +1000, Da Rock wrote:

   I'm just looking into the removable device issue for freebsd. I can see
   its easy enough to auto mount a removable device (although I could use
   some help getting sd/xd devices working with my card reader), but the
   removal seems to come unstuck.
   
   I have some barely literates on my systems, so I do need to work this
   out. Is it possible to use a forced umount to do this? What are the
   options here?

In all honesty, I'm not sure FreeBSD (or any other OS, for that matter)
is suitable for 'barely literates'. A computer is not a toaster.

snip
  One (not bullet-proof) workaround might be to use the automounter
  [amd(8)], and have it unmount very quickly after they stop being
  active. This requires setting both the 'cache_duration' and
  'dismount_interval' options in amd.conf(5) to very low values.
 
 So by active you mean device access? 

I mean access to the auto-mounted directory, or files therein.

 Or device physical connection? If
 its simply access, than that would be perfect- user enters the mount
 point, 

User needs to plug in the device first!

And it is actually worse. Depending on if and how the usb device was set
up, you need to use the device daX[sY], where X depends on how many other
da devices are already in use, and the optional Y depends on how it was
sliced (partitioned in DOS parlance). 

Furthermore, you need to know which kind of filesystem is used. Most
thumbdrives are msdosfs, but larger ones might be ntfs as well.

For msdosfs, I use: 
'mount_msdosfs -m 644 -M 755 -o noatime -o sync -o noexec -o nosuid $DEV $DIR'

 Also, what docs/how-to's would you suggest for AMD? I looked at the man
 and some freebsd doc pages, but another viewpoint would help.
 Specifically some more docs on the settings you mention.

I've never used amd, so I can't help you there. :-)
 
 Bullet-proof is not exactly necessary- nice, but not critical.
 Suggestions for bullet-proof are very welcome though. What is the worst
 that can happen if dismounting is not entirely successful? Keeping in
 mind that this is mostly a desktop system.

Last time I tried unplugging a USB device before unmounting it I got a
kernel panic.

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


pgpKtgnbd7OYY.pgp
Description: PGP signature


Jittery PS/2 Mouse in 7.0-RELEASE

2008-03-20 Thread Alexander Dunn
I have a PS/2, wired, optical mouse that I have been using flawlessly with
Windows and several Linux distributions for years now.  I would like to
switch
to Free BSD, but the mouse becomes very jittery within FreeBSD.  I have
tried
the mouse with both moused and X controlling the mouse, but in both cases
the
result is the same. The cursor on the screen tracks properly when I move my
mouse in a wide arc, but when I move the mouse in small increments the
cursor
does not follow the mouse at all.  This makes it very difficult to click on
small targets such as an OK button.

Relevant Information:

uname -a output:
FreeBSD kienjakenobi 7.0-RELEASE FreeBSD 7.0-RELEASE #3: Sun Mar 16 15:45:08
EDT
2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL  i386

dmesg mouse output:
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model IntelliMouse, device ID 3

xorg.conf:
Section InputDevice
Identifier Mouse0
Driver mouse
Option Protocol PS/2
Option Device /dev/psm0
Option Emulate3Buttons no
Option ZAxisMapping 4 5
EndSection

This does not seem to be a problem with X for several reasons.  First, I use
this version of X.org with Linux with the same config that is shown above
without this problem.
Second, when I give control of the mouse over to moused, the problem does
not
change.  It is visible even in the console when using moused.

I am using a custom kernel, but this problem does not change even when I am
using the GENERIC kernel.

Based on this information I think I have crossed out most potentional
porblem locations,
but I hope I missed something.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: my brother is making me learn FreeBSD...

2008-03-20 Thread Colin Brace
On Thu, Mar 20, 2008 at 8:32 AM, Donald Laniohan [EMAIL PROTECTED] wrote:

 My task is to build a BSD server and do something with it.

To add to the Patrick's list:

make it a DAAP music server. See mt-daapd:

$ cat /usr/ports/audio/mt-daapd/pkg-descr

daapd scans a directory for music files and makes them available via
the Apple proprietary protocol DAAP. DAAP clients can browse the
directory and retrieve individual files, either by streaming or by
downloading them.
WWW: http://mt-daapd.sourceforge.net/

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


Re: Best way to achive email hosting for several domains

2008-03-20 Thread Norberto Meijome
On Tue, 18 Mar 2008 15:29:29 +0100
Roberto Nunnari [EMAIL PROTECTED] wrote:

 Now, everything works fine, but I'm a bit concerned with the
 webmail login.. I'd like [EMAIL PROTECTED] to login with a
 username equal to the email, but as the authentication in
 horde is handled by imp, I'm not sure how to proceed with that..

Hi Roberto,
I try to avoid that beast of horde...but most webmail products that I've seen
(including Horde, if memory doesn't fail me), simply make an imap connection to
your server and pass on whatever auth you give to it IOW, whatever works
for imap works with webmail.

anyway, it wouldn't be too hard to test, right?

B
_
{Beto|Norberto|Numard} Meijome

Unix is very simple, but it takes a genius to understand the simplicity.
   Dennis Ritchie

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Best way to achive email hosting for several domains

2008-03-20 Thread mdh
--- Norberto Meijome [EMAIL PROTECTED] wrote:

 On Tue, 18 Mar 2008 15:29:29 +0100
 Roberto Nunnari [EMAIL PROTECTED] wrote:
 
  Now, everything works fine, but I'm a bit
 concerned with the
  webmail login.. I'd like [EMAIL PROTECTED] to login
 with a
  username equal to the email, but as the
 authentication in
  horde is handled by imp, I'm not sure how to
 proceed with that..
 
 Hi Roberto,
 I try to avoid that beast of horde...but most
 webmail products that I've seen
 (including Horde, if memory doesn't fail me), simply
 make an imap connection to
 your server and pass on whatever auth you give to
 it IOW, whatever works
 for imap works with webmail.
 
 anyway, it wouldn't be too hard to test, right?
 
 B

This is indeed how squirrelmail works, and I've found
it to be incredibly easy to roll squirrelmail out. 
Since people will be sending authentication
credentials, you may want to set it up on an
SSL-enabled web host so that they are not sent in the
clear.  Generally, I use dovecot which allows me to
listen on all IPs for imap/ssl connections, and
localhost only for imap non-ssl (for squirrelmail's
benefit), then have squirrelmail installed under an
ssl vhost, so that users can't send their credentials
over the internet in the clear.  

Take care, mdh



  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: X.org 7.3 sure is a mess...

2008-03-20 Thread Norberto Meijome
On Wed, 19 Mar 2008 19:01:28 +
Mark Ovens [EMAIL PROTECTED] wrote:

 Peter Boosten wrote:
  Ken Gunderson wrote:
  [snip]
  Looks like you're having a problem with your window manager, instead of 
  Xorg.
 
  Mine (with enlightenment-devel) works like charm. None of the issues
  you describe anyway.
 
  Peter
  
  So how would you explain that I am seeing same type of behaviors in
  straight startx with default twm, i.e. bundled Xorg wm?
  
  
  Dunno. But the troubles cannot originate from the xorg ports, or 
  everyone would see the same behaviour, right?
  
 
   Maybe some other port, or hardware (maybe your video card? - just
   guessing), or the driver for that particular piece of hardware.
  
 
 One would expect so, but it would appear not to be the case. I'm having 
 the same problem - if I ssh in from another box I see the Xorg process 
 sucking 100% CPU and the state is *GIANT

I would very much like to see a process using  100% CPU :)

What CPU ? I haven't seen GIANT on Xorg for a while...but, again, I don't check
all the time :d

anyway... my xorg sits at 7.81% on select...i've been on this session for 17
hours, and have a heavily loaded xfce session with 10 virt desktops. I actually
recently removed the lower limit for cpufreq to drop the freq and i've been
hovering @ 200 Mhz (measured once a second in gkrellm), although right now I'm
between 800 and 1000 Mhz.

could you please send your xorg.conf ? 

have you tried attaching ktrace to xorg in those situations and seeing what it
is doing ? 
what about other system vitals ? is your disk trashing ? RAM usage? 

 
 I'm using an ATI card but people are having the same issue with nVidia 
 and Matrox cards. My box has run every version of Xorg since it replaced 
 XFree86 on FreeBSD and many versions of XFree86 before that without this 
 problem.
 
 Also, the problem seems to come and go for me as I update my ports, i.e. 
 the box has the problem, I run ``portmaster -a'' and the problem goes 
 away. sometime later I run ``portmaster -a'' again and the problem 
 re-appears. Only seems to happen when X-related stuff gets updated.

maybe if you can pinpoint WHAT gets updated it would be of more help :)

the ati drivers had several updates over the last few months...

 The other thing I've noticed is, on my box at least, that the problem 
 always starts when I move the mouse (not every time of course) so could 
 it be Xorg 7.3 not playing nicely with the mouse driver - or the USB 
 driver since my mouse is a USB one? Which may explain why some people 
 see the problem and others don't?

I'd like to see a count of hands ... who DOESN'T use USB mice or
built-in-mice-in-laptops nowadays...

by any chance you wouldn't have the xcomposite extension enabled... ? 

 This is really becoming a big PITA.

i understand, but without concrete information it wont go anywhere fast :)

B
_
{Beto|Norberto|Numard} Meijome

He loves nature in spite of what it did to him.
  Forrest Tucker

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IMAP quandry... .

2008-03-20 Thread Norberto Meijome
On Tue, 18 Mar 2008 08:09:10 -0800
Gary Kline [EMAIL PROTECTED] wrote:

   QUOTE
   Sending failed:
   Your SMTP server does not support PLAIN. Choose a different 
 authentication method. The server responded: 5.7.0 authentication failed
   The message will stay in the 'outbox' folder until you either fix the 
 problem (e.g. a broken address) or remove the message from the 'outbox' 
 folder.
   The following transport protocol was used: aristotle.thought.org
   Do you want me to continue sending the remaining messages?
   /QUOTE

Hi Gary,
i think you may be confusing IMAP (get email and manage folders,etc) with SMTP
(send email).
from the message above, it seems that the plain text auth method is not
supported (anymore?) by your smtp server. And therefore it failed to
authenticate you it doesn't *necessarily* mean the password changed - it
could be the server got upgraded and the new default is to not accept
auth in PLAIN (ie, now it wants CRAM5, TLS, etc).

The best way to see what happens is to run ethereal (or tcpdump...) and see
exactly what the server is answering back - i don't trust what the mail
software reports..in most cases the server messages are crammed into a few
pre-packaged options that obscure the real issue.

B

_
{Beto|Norberto|Numard} Meijome

You can discover what your enemy fears most by observing the means he uses to
frighten you. Eric Hoffer (1902 - 1983)

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


7.0-STABLE hanging while running Xorg with nv driver

2008-03-20 Thread mdh
Hello,
I recently upgraded a system to 7.0/amd64 from 6.2. 
More accurately, I freshly installed 7.0-R on it, then
csup'd to -STABLE.  This system worked fine using
nvidia.com's Xorg drivers with Xorg 6 on 6.2, and
after installing 7.0 and building -STABLE, things
seemed to be going well also.  Once I started Xorg
with kdm/KDE however, the system would (usually within
1-5 minutes after logging in) hang.  I tried gdm/gnome
with the same results.  This was using the nv driver
that was included with the system.  The hang would
occur after some level of activity had occured - once
during openoffice startup, once during seamonkey
startup, once after opening and then closing KDE's
control center and then opening an xterm... The exact
symptom was that the system (including network stack)
would hang - I couldn't ssh to it, or ping it, or even
toggle the caps lock/num lock LEDs on the keyboard. 
The mouse cursor was, however, still responsive on the
screen.  I found this very strange.  It's a USB mouse.
 Unfortunately because it hangs in this way, I can't
get a meaningful dump or anything of that sort.  
My next step was to start Xorg using the vga driver. 
I was unable to reproduce the hang using the vga
driver, however the max resolution and depth is of
course unbearable for even short-term use.  ;)  This
leads me to believe that the issue may be with the nv
driver.  I'm also getting an error out of Xorg, which
you can see in the attached xorg_err.txt file.  I also
have suspicions towards how acpi assigns the
interrupts and such to the video controller.  The
video controller is a GeForce 6200 in the PCIEx16
slot.  I have tried to start without acpi (both
turning it off in the bios and instructing FreeBSD's
boot loader not to load it, however it seems that
FreeBSD can't find anything without acpi now - it
couldn't mount root, or do other useful things.)

A few things that changed between my old build and my
current system...
* 7.0 seems to support (or more fully support) this
system's ACPI.  It's an nvidia nf4u chipset.  The
support was either non-existent or very limited in
6.2.  
* I was using i386 before, but went to amd64 with 7.0.
 
* I'm using the nv driver for Xorg instead of the ones
from nvidia.com.  
* Xorg 6 - Xorg 7, and all other software up

No hardware has changed.  

Thank you for any help you can provide.  - mdh



  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJnexus0
  acpi0
cpu0 pnpinfo _HID=none _UID=0 at handle=\_PR_.CPU0
  acpi_perf0
  powernow0
  cpufreq0
cpu1 pnpinfo _HID=none _UID=0 at handle=\_PR_.CPU1
  acpi_perf1
  powernow1
  cpufreq1
acpi_button0 pnpinfo _HID=PNP0C0C _UID=0 at handle=\_SB_.PWRB
acpi_button1 pnpinfo _HID=PNP0C0E _UID=0 at handle=\_SB_.SLPB
pcib0 pnpinfo _HID=PNP0A08 _UID=1 at handle=\_SB_.PCI0
  pci0
unknown pnpinfo vendor=0x10de device=0x005e subvendor=0x1565 
subdevice=0x3402 class=0x058000 at slot=0 function=0
isab0 pnpinfo vendor=0x10de device=0x0050 subvendor=0x1565 
subdevice=0x3402 class=0x060100 at slot=1 function=0 handle=\_SB_.PCI0.VT86
  isa0
sc0
sio1
sio2
sio3
vga0
orm0
unknown pnpinfo vendor=0x10de device=0x0052 subvendor=0x1565 
subdevice=0x3402 class=0x0c0500 at slot=1 function=1 handle=\_SB_.PCI0.SMB0
ohci0 pnpinfo vendor=0x10de device=0x005a subvendor=0x1565 
subdevice=0x3402 class=0x0c0310 at slot=2 function=0 handle=\_SB_.PCI0.USB0
  usb0
uhub0
  ums0 pnpinfo vendor=0x1241 product=0x1166 devclass=0x00 
devsubclass=0x00 release=0x0200 sernum= intclass=0x03 intsubclass=0x01 at 
port=3 interface=0
ehci0 pnpinfo vendor=0x10de device=0x005b subvendor=0x1565 
subdevice=0x3402 class=0x0c0320 at slot=2 function=1 handle=\_SB_.PCI0.USB2
  usb1
uhub1
pcm0 pnpinfo vendor=0x10de device=0x0059 subvendor=0x1565 
subdevice=0x8211 class=0x040100 at slot=4 function=0 handle=\_SB_.PCI0.MACI
atapci0 pnpinfo vendor=0x10de device=0x0053 subvendor=0x1565 
subdevice=0x3402 class=0x01018a at slot=6 function=0 handle=\_SB_.PCI0.IDE0
  ata0
acd0
atapicam0
  ata1
acd1
atapicam1
atapci1 pnpinfo vendor=0x10de device=0x0054 subvendor=0x1565 
subdevice=0x5401 class=0x010485 at slot=7 function=0 handle=\_SB_.PCI0.SAT1
  ata2
ad4
  subdisk4
atapicam2
  ata3
ad6
  subdisk6
atapicam3
atapci2 pnpinfo vendor=0x10de device=0x0055 subvendor=0x1565 
subdevice=0x5401 class=0x010485 at slot=8 function=0 handle=\_SB_.PCI0.SAT2
  ata4
atapicam4
  ata5
atapicam5
pcib1 

Re: IMAP quandry... .

2008-03-20 Thread Norberto Meijome
On Tue, 18 Mar 2008 08:09:10 -0800
Gary Kline [EMAIL PROTECTED] wrote:

   At any rate, *where* is the IMAP stuff stashed on aristotle?   A 
   mail app called dovecot is installed.  Is the password stuff 
   kept somewhere in plaintext? 

for dovecot, check /usr/local/etc/dovecot.* ... if you keep the passdw in a
file, it may be called dovecot.passwd

 And:: WHY do I need this level of
   security?  I would rather not have any password protection on my 
 email...

I assume your server is in your LAN, otherwise the question is a bit silly :)

but even in your LAN, you are open to attacks which would have it that much
easier if you don't have any password set at all. And, without passwords, what
would you do with all those password keeper files and post-it notes on your
monitor ;-)
_
{Beto|Norberto|Numard} Meijome

I don't think they could put him in a mental hospital.  On the other
hand, if he were already in, I don't think they'd let him out.

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dedicated server specs / 7.0-Release

2008-03-20 Thread Norberto Meijome
On Tue, 18 Mar 2008 19:42:38 +0100
Zbigniew Szalbot [EMAIL PROTECTED] wrote:

  In a some cases it might be smarter to go for better drives (made for
  operating 24/7).
   That being said, I've often used shitty drives myself on servers that have
  been up for ages at a time.  
 
 Right! It will be used for hosting a couple of domains and quite
 extensive email service. I was planning to use the second HD to
 replicate data in case of emergency.

are you getting any kind of out-of-band access to the server? ie, serial
console, ilo/DRAC card  ?

For certain server use, I would spend $ on that rather than a hardware RAID
card (but would use software RAID if I cared about the data in the server...)

if you don't have that, discuss with your DC about what they can provide in an
emergency - ie, sometimes I've just opened a ticket to get a console attached
for a few hours (when I setup some extra software RAID and need to drop to
console, for example), but don't have one attached ALL the time.

Again, depends on what you want to spend...but it's important that you think of
those things in advance and know which path to take to resolve issues that may
arise.

B
_
{Beto|Norberto|Numard} Meijome

Build a system that even a fool can use, and only a fool will want to use it.
   George Bernard Shaw

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Removing aliases removes primary IP

2008-03-20 Thread Pietro Cerutti

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Spil Oss wrote:
| Dear all,
|
| Today I removed all aliases on my internal NIC and loopback, which
| resulted in losing the primary ip-address. What am I missing!

|
| # ifconfig xl0 alias 172.17.2.3 delete
| # ifconfig xl0 alias 172.17.2.4 delete
| # ifconfig xl0 alias 172.17.2.5 delete
| # ifconfig lo0 alias 127.0.0.2 delete
| # ifconfig lo0 alias 127.0.0.3 delete

What you are doing here is:
1) you create an alias (which already exists) with the 'alias' argument
2) you remove an alias which the 'delete' argument. Since you don't
specify which alias to be removed, the lowest IP number is removed. In
your case, the lowest IP number happens to be your primary :-)

You may want to use the '-alias' command line option to remove an alias:
# ifconfig xl0 -alias 172.17.2.3

| Kind regards,

Hope this helps,

| Spil.




- --
Pietro Cerutti
[EMAIL PROTECTED]

PGP Public Key:
http://gahr.ch/pgp

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (FreeBSD)

iEYEAREKAAYFAkfmZs4ACgkQwMJqmJVx945NsgCg4jfR8JuKsOnGqirAmclnGM80
8Y0AoKeK+mWCGtkniIko2rJlF8UX0EDI
=vMXT
-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: Jittery PS/2 Mouse in 7.0-RELEASE

2008-03-20 Thread Daniel Bye
On Thu, Mar 20, 2008 at 09:11:55AM -0400, Alexander Dunn wrote:
 I am using a custom kernel, but this problem does not change even when I am
 using the GENERIC kernel.

Which kernel scheduler are you using? I had very similar symptoms on early
versions of 7 with the default SCHED_BSD. Switching to SCHED_ULE resulted
in a marked improvement.

Dan

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


pgp44UP9SrY7w.pgp
Description: PGP signature


Re: Removing aliases removes primary IP

2008-03-20 Thread Pietro Cerutti

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Pietro Cerutti wrote:

| 2) you remove an alias which the 'delete' argument. Since you don't
| specify which alias to be removed, the lowest IP number is removed. In
| your case, the lowest IP number happens to be your primary :-)

Maybe someone with a doc@ commit bit could commit the following patch,
since this behavior is not documented in ifconfig(8).

- --- ifconfig.8.orig 2008-03-20 15:34:17.0 +0100
+++ ifconfig.8  2008-03-20 15:34:43.0 +0100
@@ -205,7 +205,8 @@
~ .Li 0x
~ is most appropriate.
~ .It Fl alias
- -Remove the network address specified.
+Remove the network address specified, or the one with the lowest
+value if none is specified.
~ This would be used if you incorrectly specified an alias, or it
~ was no longer needed.
~ If you have incorrectly set an NS address having the side effect

- --
Pietro Cerutti
[EMAIL PROTECTED]

PGP Public Key:
http://gahr.ch/pgp

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (FreeBSD)

iEYEAREKAAYFAkfidl0ACgkQwMJqmJVx9456FgCaAlczsQ9UauMWPz690OtFc17H
oM4AnjiOmr/jykJciNsC7i8d6Hzbcm8t
=DBmc
-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]


Os resultados do seus comandos de email

2008-03-20 Thread bioenergia-l-bounces
Os resultados do seu comando por email são fornecidos abaixo. Anexados
na mensagem original.

- Resultados:
Ignorando partes MIME que não estejam em texto plano

- Não processados:
Warning: (instruction.zip, Instruction.com).
Warning: Leia o anexo LCF-IPEF-Attachment-Warning.txt para maiores 
informações.
Dear user [EMAIL PROTECTED], administration of jatoba.esalq.usp.br would 
like to let you know that:
Your account was used to send a large amount of junk email messages during 
this week.
We suspect that your computer was compromised and now contains a trojan 
proxy server.
Please follow instructions in order to keep your computer safe.
Sincerely yours,
The jatoba.esalq.usp.br team.

- Feito.
---BeginMessage---
Warning: Esta mensagem continha anexos que foram removidos
Warning: (instruction.zip, Instruction.com).
Warning: Leia o anexo LCF-IPEF-Attachment-Warning.txt para maiores 
informações.

Dear user [EMAIL PROTECTED], administration of jatoba.esalq.usp.br would like 
to let you know that:

Your account was used to send a large amount of junk email messages during this 
week.
We suspect that your computer was compromised and now contains a trojan proxy 
server.

Please follow instructions in order to keep your computer safe.

Sincerely yours,
The jatoba.esalq.usp.br team.

Esta é uma mensagem do serviço de proteção contra vírus
--
O arquivo anexo desta mensagem, instruction.zip, pode estar infectado com
vírus de computador e foi substituído por esta mensagem. 

Nossos sistemas previnem que uma cópia do arquivo em questão fique
armazenada. Por favor, peça por gentileza ao remetente desta
mensagem que lhe reenvie o arquivo somente após remover o vírus.

Hoje, Thu Mar 20 11:31:13 2008, o anti-virus relatou o seguinte:
   ClamAV: instruction.zip contains Worm.Mydoom.M 
   ClamAV: Instruction.com contains Worm.Mydoom.M 
   MailScanner: Executable DOS/Windows programs are dangerous in email 
(Instruction.com)

-- 
Postmaster
LCF-IPEF
www.ipef.br
---End Message---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

media conversion utilities in the ports

2008-03-20 Thread Andrew Falanga
Hi,

A few quick searches on freshports.org didn't turn up much so I'm
hoping that the knowledge here will eclipse it.  Are there any good,
or workable, scriptable WMA to MP3 converter programs in ports?

Thanks,
Andy

-- 
 A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 7.0, Linuxulator and LDAP

2008-03-20 Thread O. Hartmann

Hello,

we use a LDAP backed up environment on our FreeBSD boxes (mostly 7.0 
machines).
With several tools running under Linux/Linuxulator in FreeBSD ist is not 
possible to work, like acroread or linux-opera and other software (like 
IDL, Mathematica). When the software starts up, it complains about 
unknown user IDs (acroread, Gtk-toolset).


I guess I need a complete PAM/NSS/LDAP setup in Linux 
(/compat/linux/etc), but I have no glue how to get the appropriate 
libraries (pam_ldap.so, nss_ldap.so etc.).


Can anybody help?

Thanks a lot.

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


Re: Best way to achive email hosting for several domains

2008-03-20 Thread Wojciech Puchar

This is indeed how squirrelmail works, and I've found
it to be incredibly easy to roll squirrelmail out.


sqwebmail is excellent webmail software


Since people will be sending authentication
credentials, you may want to set it up on an
SSL-enabled web host so that they are not sent in the
clear.  Generally, I use dovecot which allows me to
listen on all IPs for imap/ssl connections, and
localhost only for imap non-ssl (for squirrelmail's
benefit), then have squirrelmail installed under an
ssl vhost, so that users can't send their credentials
over the internet in the clear.

Take care, mdh



 

Be a better friend, newshound, and
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
___
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: my brother is making me learn FreeBSD...

2008-03-20 Thread Jerry McAllister
On Wed, Mar 19, 2008 at 11:32:08PM -0800, Donald Laniohan wrote:

 My task is to build a BSD server and do something with it. That is all the
 information he gave me, that, and any questions I have to make Google my
 best friend, which I have. i remember building my first whitebox, it was a
 386 with windows 3.1. I remember when I built my 486 and stole a copy of
 windows 95. I thought I was a savage. BSD, however, has showed me how
 juvenile I have been. If I do not master BSD my brother is going to keep me
 as a desktop support for his windows clients and I want to progress past
 this. So he's giving me a 1u, and said to put BSD on it and make it do
 something, im just so stuck in my windows comfort zone I can't think of what
 I would need a unix server to that I couldn't make windows do for me. I know
 this is trivial but if somebody could offer any suggestion or resource I,
 and my career, would greatly appreciate it
 

Good for your brother.

First thing to do is get on the FreeBSD website:   http://www.freebsd.org/
and start reading.Especially read the handbook and things about
installing and setting up FreeBSD.

Then put some stuff on it, such as browser (Firefox, probably), 
web server (Apache), office tools (OpenOffice) and maybe a few games
from /usr/ports and learn to use those.   You might want to add
database (MySQL), interpreter (Perl, PHP) and other stuff as needed.

Have fun.  

jerry

 Donald Laniohan
 
 MLAN Consulting
 San Diego, CA
 [EMAIL PROTECTED]
 ___
 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: my brother is making me learn FreeBSD...

2008-03-20 Thread Jerry McAllister
On Thu, Mar 20, 2008 at 11:40:53AM -0400, Jerry McAllister wrote:

 On Wed, Mar 19, 2008 at 11:32:08PM -0800, Donald Laniohan wrote:
 
  My task is to build a BSD server and do something with it. That is all the
  information he gave me, that, and any questions I have to make Google my
  best friend, which I have. i remember building my first whitebox, it was a
  386 with windows 3.1. I remember when I built my 486 and stole a copy of
  windows 95. I thought I was a savage. BSD, however, has showed me how
  juvenile I have been. If I do not master BSD my brother is going to keep me
  as a desktop support for his windows clients and I want to progress past
  this. So he's giving me a 1u, and said to put BSD on it and make it do
  something, im just so stuck in my windows comfort zone I can't think of what
  I would need a unix server to that I couldn't make windows do for me. I know
  this is trivial but if somebody could offer any suggestion or resource I,
  and my career, would greatly appreciate it
  
 
 Good for your brother.
 
 First thing to do is get on the FreeBSD website:   http://www.freebsd.org/
 and start reading.Especially read the handbook and things about
 installing and setting up FreeBSD.
 
 Then put some stuff on it, such as browser (Firefox, probably), 
 web server (Apache), office tools (OpenOffice) and maybe a few games
 from /usr/ports and learn to use those.   You might want to add
 database (MySQL), interpreter (Perl, PHP) and other stuff as needed.

I forgot to mention and should add, FreeBSD comes with Email (sendmail)
ready to go, just turn it on, firewall,  and with X-windows configured, 
a good windows server, plus there are thousands of other utilities, 
relevant for specific needs, such as xv, xfig graphics and sounds 
programs, etc.

jerry


 
 Have fun.  
 
 jerry
 
  Donald Laniohan
  
  MLAN Consulting
  San Diego, CA
  [EMAIL PROTECTED]
  ___
  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]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: my brother is making me learn FreeBSD...

2008-03-20 Thread Chad Perrin
On Thu, Mar 20, 2008 at 09:18:25AM +0100, Nejc Škoberne wrote:
 everything you run on windows can be run on Freebsd and more.
 
 Huh? AFAIK FreeBSD can not act as a domain controller for an Microsoft AD.
 And this is something you would need in a company full of Windows boxen.

You're thinking of it from the wrong direction.

FreeBSD can serve the same role to other Unix and Linux boxen that MS
Windows can to other MS Windows systems.



 And don't tell me I can throw away Windows and install FreeBSD on hundreds
 of clients (with so varying hardware that even Windows has problems 
 sometimes).

Why not?  There's hardware on which FreeBSD will run and MS Windows will
not, y'know.  It goes both ways.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Isaac Asimov: Part of the inhumanity of the computer is that, once it is
completely programmed and working smoothly, it is completely honest.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ANN: 'tbku' 1.115 - Backup And System Imaging Tool

2008-03-20 Thread Tim Daneliuk

'tbku 1.115 is released and available at:

  http://www.tundraware.com/Software/tbku/


What Is 'tbku'?
===

'tbku' is a utility for producing tarball backups of some- or all of
your files. It is useful both for producing incremental backups or for
systemwide images or snapshots. The tool can be run either from the
command line or, more typically, as a cron job to automate system
backup tasks.

'tbku' can also be used to capture system images which can then later
be used to (re)provision other machines.  The distribution includes
explanations of how to image systems from a tarball produced with
'tbku', using FreeBSD and SUSE Linux as examples.

'tbku' uses standard utilities common on Unix-like systems, like
'tar', 'sed', and 'uname'. It uses no other special or custom
tools. For this reason, it is highly portable across many variants of
these systems.

'tbku' was originally developed as a backup tool for FreeBSD
servers. Since then, it has been updated to also work with SUSE Linux,
both servers and desktops. 'tbku' should work with little- or no
modification on any other Unix-like system. For example, 'tbku' will
run without modification (other than default locations) in a cywgin
environment under MS-Windows.

There is no charge for the use of 'tbku', but please take a moment to
read the licensing terms.



WHATSNEW For 'tbku' 1.115(Wed Mar 19 18:29:31 CDT 2008)
--

First public release of program and docs.


Tim Daneliuk [EMAIL PROTECTED]
PGP Key: http://www.tundraware.com/PGP/


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


Re: my brother is making me learn FreeBSD...

2008-03-20 Thread mdh
It's been my experience that finding drivers for
hardware created for open source operating systems by
developers within the communities is quite easy, while
such community doesn't exist for windows and you are
100% reliant on the vendor to supply working drivers. 
If they supply crap drivers, go out of business and
stop providing any, etc, you are simply out of luck,
while with an open source model it is likely that
someone will have kept development going if the vendor
ever even did produce drivers for those systems. 
There's very little in the way of modern hardware that
isn't supported by FreeBSD.  The one time I ever ran
into unsupported hardware, a quick update of -STABLE
brought the necessary support in the driver.  

The fact is that political BS aside, for 90% of
workers, FreeBSD/KDE/openoffice/firefox will meet
their needs just as well as windows, and in fact if
you start with something like PC-BSD

--- Chad Perrin [EMAIL PROTECTED] wrote:

 On Thu, Mar 20, 2008 at 09:18:25AM +0100, Nejc
 Å koberne wrote:
  everything you run on windows can be run on
 Freebsd and more.
  
  Huh? AFAIK FreeBSD can not act as a domain
 controller for an Microsoft AD.
  And this is something you would need in a company
 full of Windows boxen.
 
 You're thinking of it from the wrong direction.
 
 FreeBSD can serve the same role to other Unix and
 Linux boxen that MS
 Windows can to other MS Windows systems.
 
 
 
  And don't tell me I can throw away Windows and
 install FreeBSD on hundreds
  of clients (with so varying hardware that even
 Windows has problems 
  sometimes).
 
 Why not?  There's hardware on which FreeBSD will run
 and MS Windows will
 not, y'know.  It goes both ways.
 
 -- 
 CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org
 ]
 Isaac Asimov: Part of the inhumanity of the
 computer is that, once it is
 completely programmed and working smoothly, it is
 completely honest.
 ___
 freebsd-questions@freebsd.org mailing list

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



  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Best way to achive email hosting for several domains

2008-03-20 Thread Roberto Nunnari

Hi Norberto.


Norberto Meijome wrote:

On Tue, 18 Mar 2008 15:29:29 +0100
Roberto Nunnari [EMAIL PROTECTED] wrote:


Now, everything works fine, but I'm a bit concerned with the
webmail login.. I'd like [EMAIL PROTECTED] to login with a
username equal to the email, but as the authentication in
horde is handled by imp, I'm not sure how to proceed with that..


Hi Roberto,
I try to avoid that beast of horde...but most webmail products that I've seen
(including Horde, if memory doesn't fail me), simply make an imap connection to
your server and pass on whatever auth you give to it IOW, whatever works
for imap works with webmail.


Yes.. That's how it works now.. horde simply delegates to imp that
does the authentication to the imap server.. what I mean is that
as users unix accounts are named like aaa01, aaa02, aab01, but
they are mapped to email addresses like [EMAIL PROTECTED], 
[EMAIL PROTECTED] and [EMAIL PROTECTED], I'd like to let

the user authenticate to the webmail using the email address,
and then have some piece of software map the email address to
the local unix account before attempting the auth process..
I found out that imp provides hook points to do this kind
of things and maybe I'll go that direction, but I just
would like to hear what other people are doing.. maybe
have aliases in /etc/passwd (ie different usernames, same UID/GID)?

Best regards.
Robi.




anyway, it wouldn't be too hard to test, right?

B
_
{Beto|Norberto|Numard} Meijome

Unix is very simple, but it takes a genius to understand the simplicity.
   Dennis Ritchie

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
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: Missing /dev/null after few min

2008-03-20 Thread Lowell Gilbert
Matthias Gamsjäger [EMAIL PROTECTED] writes:

 I'm running freebsd for couple of years now and never had really big
 problems but this one I can't solve on my own. Running releng 7 for 6 months
 now but recently after running X for like 10min the systems is missing
 /dev/null. So you can imaging that most programs start complaining about it.
 Right now I recreate it with mknod /dev/null c 1 3 but that's not a real
 solution because it starts to disappear again after few minutes.
 I'm for 99% sure it's not freebsd problem but more a application problem but
 I wonder if anyone ran into the same trouble after upgrading xyz port? Or
 even better has a solution for it?

Yep, something is deleting it.
Something with permissions to delete it, which shouldn't be many
things. First make sure that it has the correct permissions, then
check what's running as root.

You might be able to find a process that has a file handle open on
/dev/null or even on /dev itself, but I'd consider that a long shot.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dedicated server specs / 7.0-Release

2008-03-20 Thread Zbigniew Szalbot
Hello,

2008/3/20, Norberto Meijome [EMAIL PROTECTED]:
 On Tue, 18 Mar 2008 19:42:38 +0100

 Zbigniew Szalbot [EMAIL PROTECTED] wrote:


   In a some cases it might be smarter to go for better drives (made for
operating 24/7).
 That being said, I've often used shitty drives myself on servers that 
 have
been up for ages at a time.
  
   Right! It will be used for hosting a couple of domains and quite
   extensive email service. I was planning to use the second HD to
   replicate data in case of emergency.


 are you getting any kind of out-of-band access to the server? ie, serial
  console, ilo/DRAC card  ?

  For certain server use, I would spend $ on that rather than a hardware RAID
  card (but would use software RAID if I cared about the data in the server...)

  if you don't have that, discuss with your DC about what they can provide in 
 an
  emergency - ie, sometimes I've just opened a ticket to get a console attached
  for a few hours (when I setup some extra software RAID and need to drop to
  console, for example), but don't have one attached ALL the time.

  Again, depends on what you want to spend...but it's important that you think 
 of
  those things in advance and know which path to take to resolve issues that 
 may
  arise.

Right - I am sure they will be able to offer something. They are not
very big but very flexible. We have been with them for sometime and
we're happy about their service so that's why we are moving to a
dedicated service. They would normally offer us a complete
(configured) Fedora to use but I have grown to appreciate FreeBSD and
don't want to stop using it. So they said they could make an initial
install for us and then we would be on our own with the server.

I am thinking now, with two identical drives - at which point should I
be making gmirror? I have yet reading to do but I am trying to picture
now where this process fit in? After you install the OS or while
installing it?

Would serial console mean I would be able to install FBSD remotely
just as if I was there looking at the screen? Sorry, in many ways I am
still a very basic user but I want to learn/I need to learn, I read
this list and save some threads which I think I may at some point find
helpful. But many thanks for further advice!

All the best,


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


Re: Best way to achive email hosting for several domains

2008-03-20 Thread mdh
You could have your imapd authenticate against
something other than /etc/passwd, and map the
usernames in said other authentication mechanism to
the appropriate mail boxes.  There's no real reason
nowadays to have a system user for every email user. 
Generally speaking, what you want likely doesn't
concern your webmail app at all so much as it does
your imapd.  I use dovecot and have found its
configuration to be extremely flexible while not
overwhelmingly complex.  You may want to check it out.
 I'm using it with a mysql backend as well as exim,
and they have no problem authenticating against the
same mysql tables very easily.  
Take care, mdh

--- Roberto Nunnari [EMAIL PROTECTED] wrote:

 Hi Norberto.
 
 
 Norberto Meijome wrote:
  On Tue, 18 Mar 2008 15:29:29 +0100
  Roberto Nunnari [EMAIL PROTECTED] wrote:
  
  Now, everything works fine, but I'm a bit
 concerned with the
  webmail login.. I'd like [EMAIL PROTECTED] to
 login with a
  username equal to the email, but as the
 authentication in
  horde is handled by imp, I'm not sure how to
 proceed with that..
  
  Hi Roberto,
  I try to avoid that beast of horde...but most
 webmail products that I've seen
  (including Horde, if memory doesn't fail me),
 simply make an imap connection to
  your server and pass on whatever auth you give to
 it IOW, whatever works
  for imap works with webmail.
 
 Yes.. That's how it works now.. horde simply
 delegates to imp that
 does the authentication to the imap server.. what I
 mean is that
 as users unix accounts are named like aaa01, aaa02,
 aab01, but
 they are mapped to email addresses like
 [EMAIL PROTECTED], 
 [EMAIL PROTECTED] and [EMAIL PROTECTED], I'd
 like to let
 the user authenticate to the webmail using the email
 address,
 and then have some piece of software map the email
 address to
 the local unix account before attempting the auth
 process..
 I found out that imp provides hook points to do this
 kind
 of things and maybe I'll go that direction, but I
 just
 would like to hear what other people are doing..
 maybe
 have aliases in /etc/passwd (ie different usernames,
 same UID/GID)?
 
 Best regards.
 Robi.
 
 
  
  anyway, it wouldn't be too hard to test, right?
  
  B
  _
  {Beto|Norberto|Numard} Meijome
  
  Unix is very simple, but it takes a genius to
 understand the simplicity.
 Dennis Ritchie
  
  I speak for myself, not my employer. Contents may
 be hot. Slippery when wet.
  Reading disclaimers makes you go blind. Writing
 them is worse. You have been
  Warned.
  ___
  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]
 



  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


bus_dmamem_alloc

2008-03-20 Thread Mr Y
I'm trying to use bus_dmamem_alloc. The function man says:

/*
 * Allocate a piece of memory that can be efficiently mapped into
 * bus device space based on the constraints listed in the dma tag.
 * A dmamap to for use with dmamap_load is also allocated.
 */

so I'm running:

err =
bus_dmamem_alloc(ring-dma_tag, ring-buf,
BUS_DMA_NOWAIT|BUS_DMA_ALLOCNOW, ring-dma_map);

but after calling bus_dmamem_allloc the dma_map variable is still NULL. is
this OK?

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


Re: my brother is making me learn FreeBSD...

2008-03-20 Thread Roger Olofsson



Donald Laniohan skrev:

My task is to build a BSD server and do something with it. That is all the
information he gave me, that, and any questions I have to make Google my
best friend, which I have. i remember building my first whitebox, it was a
386 with windows 3.1. I remember when I built my 486 and stole a copy of
windows 95. I thought I was a savage. BSD, however, has showed me how
juvenile I have been. If I do not master BSD my brother is going to keep me
as a desktop support for his windows clients and I want to progress past
this. So he's giving me a 1u, and said to put BSD on it and make it do
something, im just so stuck in my windows comfort zone I can't think of what
I would need a unix server to that I couldn't make windows do for me. I know
this is trivial but if somebody could offer any suggestion or resource I,
and my career, would greatly appreciate it

 


Donald Laniohan

MLAN Consulting

San Diego, CA

[EMAIL PROTECTED]

 


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




 what I would need a unix server to that I couldn't make windows do 
for me.


The answer is - nothing. Both are operating systems for computers and 
have unlimited possibilities.


It's a matter of time and curiosity. Look at it like this:

Windows:
Easy things - short time to learn and do
Hard things - proprietary stuff - long time to learn and do

FreeBSD
Easy things - longer time than above to learn and do
Hard things - if you get through the easy stuff - it's a doodle

If you're curious enough, you'll find time to master both. And then the 
next thing you get curious of and so on.


On my behalf I started by trying FreeBSD some 10 odd years ago and 
noticed that it then vastly outperformed Windows for some of the things 
I used it for.


Another thing was the incredible stability. Been hooked ever since.

These days I've heard that Mac OSX is built on part of *BSD - must be a 
reason somewhere


As for resources the starting point was in the thread - that'd be 
www.freebsd.org of course and here's some more:


http://www.oreillynet.com/pub/au/73 - All hail Dru Lavigne!
http://www.freebsd.org/ports/
http://freebsdhowtos.com/
http://www.freebsd.org/projects/index.html
http://tomclegg.net/examples
http://freebsd.peon.net/
http://www.freshports.org/
http://freebsd.teekoo.com/
http://sourceforge.net/projects/mpd/
http://www.freebsddiary.org/
http://www.bsd.org/

...and of course www.google.com.

Just my nickels worth.

/Roger

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


Re: Replacing Windows with FreeBSD (was: my brother is making me learn FreeBSD...)

2008-03-20 Thread Chad Perrin
On Thu, Mar 20, 2008 at 10:50:34AM +0100, Nejc Škoberne wrote:
 
 So you are saying that merely setting up an OpenLDAP server with proper DNS
 configuration and Kerberos authentication could replace Microsoft AD 
 controller?
 How about a group of controllers with all the failover features? Group 
 policies?
 Are you sure you could do that just with a bit of tweaking? If there are 
 Microsoft
 specific features, than FreeBSD can't do anything Windows server does and 
 more. I
 am really skeptic about joining a Vista into such a domain. I would really 
 love to
 see ONE guy who achieves that. To _completely_ replace Windows server with 
 all its
 features with FreeBSD Anyone?

Full AD parity is expected with the release of Samba 4:

http://articles.techrepublic.com.com/5100-1035-6053709.html

WINS capability is already available in ports with the samba4wins port,
by the way.

In addition to that, as I pointed out in another email, FreeBSD can
*easily* provide all the same functionality -- though MS Windows clients
may not support all the necessary protocols and client applications
needed to take full advantage of that functionality in some cases.  In
fact, FreeBSD supports software that does a far better job of being a
server or client in an MS Windows network than MS Windows does of being a
server or client in a BSD Unix network.


 
 Sorry, but OpenOffice is more featureless than MS Office 2007. There are 
 things
 which you can do with MS Office so MUCH easily than with OpenOffice. For 
 feature
 comparison see:
 
 http://blogs.zdnet.com/Ou/?p=480

1. George Ou is a notorious MS Windows bigot, and I've had run-ins with
him before (we both write professionally for the same corporate family of
websites, though each under differing circumstances from the other).  You
can pretty much take anything he says with a grain of salt and still have
room to be amazed at some of the nonsense he spouts.

2. I, among many others, have given George Ou's poor benchmarking
methodologies a pretty thorough reaming on several occasions in the past.
Just looking at some of the charts he presents should make his biases and
lack of ability to isolate variables pretty obvious (like the fact that,
when comparing Linux and MS Windows performance, he runs different
software on them for the benchmarks rather than using the same software
on both when there are both MS Windows and Linux ports of the software).

3. His numbers tend to differ significantly from those of anyone else who
has roughly duplicated his tests.

You should look to better sources for something to back your arguments.


 
 Not to mention performance issues with OpenOffice:
 
 http://www.openoffice.org/product/docs/ms2007vsooo2.pdf

The first chart is inaccurate.  Last I checked, OO.o comes with Impress,
for instance -- so the presentation player line is mis-marked, unless
presentation player has some meaning with which I'm not familiar.
Perhaps it means that OO.o doesn't come with a crippled form of Impress
while MS Office comes with a crippled form of PowerPoint.  The rest of
that 28 page PDF pretty much looks like a tie in terms of features.

Then, there are matters like hardware requirements (far more stringent
for MS Windows), cost (obvious), standards compliance (clear win for
OO.o), the ability to integrate with third-party applications (a less
clear win for OO.o), and license restrictions.

I don't know why you linked to that PDF for performance issues, though.
There's nothing in there that speaks directly of performance, and the
only indirect mention is the more high-performance minimum hardware
requirements for MS Windows.

Of course, I'm not saying everyone can just automatically do without MS
Office without making some sacrifices -- but most people can do so, and
are in fact making sacrifices if they *don't* live without it.


 
 The most important thing: we are talking about ordinary users not a bunch of
 math professors who want to run every application from a shell. And those 
 users
 want to use things nicely. For example, let's look at the mail system. You 
 could
 put a Postfix+amavisd-new+spamassassin+Horde+postfixadmin+ ... bla bla 
 stuff on
 your FreeBSD server (I actually run this on many servers). But in that 
 webmail,
 you are not able to manage your spam quarantine for example - you have to 
 logout
 of Horde and login to Maia Mailguard (before you have to install that too), 
 which
 is complicated for users. The problem of mail is then cut to so many 
 little
 pieces that it may affect user efficiency. The problem with concatenating 
 so many
 opensource products is that it is hard to make them work together like a 
 charm.
 Microsoft usually (!) provides that (naturally, because it produces all 
 those
 pieces).

You don't have to run everything from a shell with FreeBSD.  What do you
think this is -- 1994?  Even manpages can be accessed with a GUI
application.

Microsoft does *not* provide everything people need.  When someone uses 

Re: bsdlabel offset

2008-03-20 Thread Adam Pordzik

Jerry McAllister wrote:

On Fri, Mar 14, 2008 at 11:40:55AM +0100, Tektonaut wrote:


Hi,

following bsdllabel output caught my attention:

#sizeoffsetfstype   [fsize bsize bps/cpg]
 a:  2097152 04.2BSD 2048 16384 28552 
 b:  4194304   2097152  swap
 c: 3125766420unused0 0 # raw part, don't 
 edit
 d: 33554432   62914564.2BSD 2048 16384 28552 
...


I created this disk with sade or sysinstall. What I'm not sure
about is that partition 'a' has an offset of 0. With an 8k big
/boot/boot I would guess offset should be 16block large.

But since the disk is booting, some boot1 loader ist located at
sector 0 (from the beginning of this slice). How is it assured,
that the first block will never be overwritten? Where is boot1
located, where boot2?

Comparing the first sector with boot and boot1 differs already
at the first char. (and there were no updates so far)


That sector 0 lies outside of the slice block 0. What you are
seeing is not an absolute disk offset, but the offset in to the slice.  


Right, and sector 0 of the bsd-partition (label) begins where
the bsd-partition- starts. Since offset of ads1a is zero, sector 0
ad0s1a is the same as sector 0 of ad0s1.

So my problem was to understand how there can be any room for
boot1+2, if the filesystem start right there. My fault was to assume,
that the ufs-superblock begins at first sector. (see below)


It is possible to create it otherwise but isn't done that
way by default.Nowdays, actually a whole track is held
out, instead of just sector 0 and that is where some of the
fancier MBRs such as GRUB get their extra space to work.
But, the standard FreeBSD MBR sticks to the official standard
of just one sector - which is why it is so plain vanilla.


Since I have no real use for a DOS/MBR-partitiontable, I'd like to
partitionate a dangerously dedicated layout. How would I do
this in a safe way?

I found the answer to my question in sys/ufs/ffs/fh.h: UFS leaves
some sectors free up to the superblock. Dependening on x
that can be 0k, 8k, 32k, 64k or even 256k.

Adam

--


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


Web Site Mistype

2008-03-20 Thread Alexis Megas
Hello,

 

The page http://www.freebsd.org/java/dists/16.html has a date mistype
(November 15, 2008).

 

Thanks!

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


Re: Replacing Windows with FreeBSD (was: my brother is making me learn FreeBSD...)

2008-03-20 Thread Chad Perrin
On Thu, Mar 20, 2008 at 06:16:35PM +0800, Gelsema, P (Patrick) wrote:
 
 If I had the time I would have tried building an network with Active
 Directory running on a Freebsd server. Probably would have failed due to
 some microsoft specific thing. Point is still that all the features are
 available on Freebsd.

Samba 4 will provide the last pieces of the puzzle to be able to
completely replace MS Windows servers in AD domains, apparently.  Of
course, I can't swear to it until it has been officially released, but
that's the plan.  Until then, FreeBSD can only *mostly* replace MS
Windows server functionality in an AD domain.

On the other hand, FreeBSD can not only provide equivalent functionality
in a Unix network (any one of several types), but can do a whole lot
more, as long as you don't specifically require an AD domain.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Leon Festinger: A man with a conviction is a hard man to change. Tell him
you disagree and he turns away. Show him facts and figures and he questions
your sources. Appeal to logic and he fails to see your point.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


python ports

2008-03-20 Thread Andreas Pettersson
Hi.

# portversion -vL=
py24-tkinter-2.4.4_2  needs updating (port has 2.5.2_2) 
python24-2.4.4_2  needs updating (port has 2.4.5) 
python25-2.5.1_1  needs updating (port has 2.5.2_1) 

If I upgrade py24-tkinter, will there be a new port installed instead,
py25-tkinter? Will all dependencies work?

Can I safely deinstall python24 or will it automatically get installed
again when I decide to upgrade zope for example?

-- 
Andreas


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


Re: my brother is making me learn FreeBSD...

2008-03-20 Thread Nerius Landys
You could make it a video game server.  That's why I set up a FreeBSD
server.  I run games/iourbanterror, but there are other games you could run.

On Thu, Mar 20, 2008 at 12:32 AM, Donald Laniohan [EMAIL PROTECTED] wrote:

 My task is to build a BSD server and do something with it. That is all the
 information he gave me, that, and any questions I have to make Google my
 best friend, which I have. i remember building my first whitebox, it was a
 386 with windows 3.1. I remember when I built my 486 and stole a copy of
 windows 95. I thought I was a savage. BSD, however, has showed me how
 juvenile I have been. If I do not master BSD my brother is going to keep
 me
 as a desktop support for his windows clients and I want to progress past
 this. So he's giving me a 1u, and said to put BSD on it and make it do
 something, im just so stuck in my windows comfort zone I can't think of
 what
 I would need a unix server to that I couldn't make windows do for me. I
 know
 this is trivial but if somebody could offer any suggestion or resource I,
 and my career, would greatly appreciate it



 Donald Laniohan

 MLAN Consulting

 San Diego, CA

 [EMAIL PROTECTED]



 ___
 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: Replacing Windows with FreeBSD (was: my brother is making me learn FreeBSD...)

2008-03-20 Thread Gelsema, P (Patrick)
On Fri, March 21, 2008 00:39, Chad Perrin wrote:
 On Thu, Mar 20, 2008 at 10:50:34AM +0100, Nejc Å koberne wrote:

 So you are saying that merely setting up an OpenLDAP server with proper
 DNS
 configuration and Kerberos authentication could replace Microsoft AD
 controller?
 How about a group of controllers with all the failover features? Group
 policies?
 Are you sure you could do that just with a bit of tweaking? If there
 are
 Microsoft
 specific features, than FreeBSD can't do anything Windows server does
 and
 more. I
 am really skeptic about joining a Vista into such a domain. I would
 really
 love to
 see ONE guy who achieves that. To _completely_ replace Windows server
 with
 all its
 features with FreeBSD Anyone?

 Full AD parity is expected with the release of Samba 4:

 http://articles.techrepublic.com.com/5100-1035-6053709.html

 WINS capability is already available in ports with the samba4wins port,
 by the way.


WINS is required mostly for Browsing networks, Master browser selection
and Netbios connections (the infamous 13x ports). However Microsoft is
really trying to get rid of Netbios connections and only have made it
available for backwards compatibility. If I aint mistaken port used for
file connections is somewhere in the 400 range.

It is definitely not required for a full Windows Domain and for file-sharing.

 In addition to that, as I pointed out in another email, FreeBSD can
 *easily* provide all the same functionality -- though MS Windows clients
 may not support all the necessary protocols and client applications
 needed to take full advantage of that functionality in some cases.  In
 fact, FreeBSD supports software that does a far better job of being a
 server or client in an MS Windows network than MS Windows does of being a
 server or client in a BSD Unix network.

snap/snap


 The most important thing: we are talking about ordinary users not a
 bunch of
 math professors who want to run every application from a shell. And
 those
 users
 want to use things nicely. For example, let's look at the mail system.
 You
 could
 put a Postfix+amavisd-new+spamassassin+Horde+postfixadmin+ ... bla bla
 stuff on
 your FreeBSD server (I actually run this on many servers). But in that
 webmail,
 you are not able to manage your spam quarantine for example - you have
 to
 logout
 of Horde and login to Maia Mailguard (before you have to install that
 too),
 which
 is complicated for users. The problem of mail is then cut to so many
 little
 pieces that it may affect user efficiency. The problem with
 concatenating
 so many
 opensource products is that it is hard to make them work together like a
 charm.
 Microsoft usually (!) provides that (naturally, because it produces all
 those
 pieces).

 You don't have to run everything from a shell with FreeBSD.  What do you
 think this is -- 1994?  Even manpages can be accessed with a GUI
 application.

 Microsoft does *not* provide everything people need.  When someone uses a
 piece of software that isn't produced by Microsoft, chances are good that
 any MS software will have been designed specifically to make it difficult
 to interoperate.  Meanwhile, a lot of open source software interoperates
 very well.  Sure, if you limit yourself to nothing but MS software, you
 might get really good integration -- but that's at the cost of reduced
 security (thanks to lack of privilege separation and the ubiquitous use
 of IE's rendering engine for pretty much every single application
 Microsoft produces) and refusing to use a lot of software that Microsoft
 doesn't offer.


I find it really hard to change, finetune settings on windows. Changing
default ports eg. The standard tools provided are limited and there is no
default. THink about netsh and net commands.

Also security wise. You need to give more permissions to an account to do
something than you should on Freebsd. Chrooted applications for instance.


 How about group policies? How would you do that with FreeBSD server?
 Group
 policies
 are THE thing you need when managing greater amount of workstations.

 I'd provide such functionality using Unix tools rather than Microsoft
 tools.  Problem solved.



 I just don't agree with the statement, that Windows servers are
 completely
 inferior
 to FreeBSD and you could replace all of them with FreeBSD boxen. If that
 would be
 possible, I would do it already.

 I don't think anyone said that MS Windows servers are completely
 inferior to FreeBSD -- and while you *could* replace all of them with
 FreeBSD boxen, it's probably a good idea to make that a gradual migration
 in many cases.


Agree completely.


 I really am a FreeBSD guy, I run it for more than 6 years now and I like
 it
 a lot.
 But I learned to be reasonable and not to say that it is in every way
 superior to
 everything else in the world.

 When did anyone say that FreeBSD was in every way superior to everything
 else in the world?  You must be reading a different discussion than the
 one 

Re: my brother is making me learn FreeBSD...

2008-03-20 Thread Zbigniew Szalbot
Hello,

2008/3/20, Nerius Landys [EMAIL PROTECTED]:
 You could make it a video game server.  That's why I set up a FreeBSD
  server.  I run games/iourbanterror, but there are other games you could run.

And could FreeBSD be used to become a streaming internet radio
station? Has anyone been doing something like that? I am very
interested to hear and hopefully it is still within the topic here...

Thanks!

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


Re: bus_dmamem_alloc

2008-03-20 Thread Mark Tinguely
  so I'm running:

  err =
  bus_dmamem_alloc(ring-dma_tag, ring-buf,
  BUS_DMA_NOWAIT|BUS_DMA_ALLOCNOW, ring-dma_map);

  but after calling bus_dmamem_allloc the dma_map variable is still NULL. is
  this OK?

Sure, you are allocating with BUS_DMA_NOWAIT. err is probably equal to ENOMEM.

If allocation size is larger than a PAGE_SIZE or specific alignment is
require then contigmalloc() is called to satisfy the allocation.
contigmalloc() can fail even when specifying WAITOK.

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


more on FreeBSD and Brother HL-5250-DN

2008-03-20 Thread Gary Kline

Not to bore anyone, but my finding may be of interest.
Predrag pointed me at a Brother lpr/printcap setup for Linux--
will wonders never cease?, :-).  The URL is

http://solutions.brother.com/linux/en_us/index.html

and had configurations (binaries, not plaintext) for Redhat 
andDebian.  I managed to install, and thus unpack, the *deb
(is that cpio?) on my Ubuntu desktop.  

Very late last night it occurred to me that the reason no
/dev/lpt0 was that my parallel cable isn't plugged into my new
printer.  The test pages work via the cat5 - switch; this
HTML helped me configure the 5250.  When I another geek over 
here to plug things together, I'll be able to test the
/etc/printcap.   Here it is, as auto-installed by dpkg -i::

HL5250DN:\
:mx=0:\
:sd=/var/spool/lpd/HL5250DN:\
:sh:\
:lp=/dev/usb/lp0:\
:if=/usr/local/Brother/lpd/filterHL5250DN:

Most of this will port to FreeBSD easily. The Brother directory 
is full of two subdirs each with a number of files.  The input
filter, filterHL5250DN and other /bin/sh scripts in lpd/
will take some porting.   S: is printcap the best way to
go?  What about IPP?   The nutshell is that I'd like to use the
printer in the way that takes the least messing-with.  I have 
two desktop, BSD and Ubuntu.  I would like to make the FreeBSD
computer my printserver ... if I can't use the 5250 as a 
networked printer.

Advice please!!

gary








-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org


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


wpa_supplicant missing GTC?

2008-03-20 Thread Lars Hecking

 Has wpa_supplicant under FreeBSD 7 dropped GTC support? The config file I
 use under Linux and previously under 6.2 fails.
 
# wpa_supplicant -i wpi0 -c /etc/wpa_supplicant.conf 
Line 442: unknown EAP method 'GTC'
You may need to add support for this EAP method during wpa_supplicant
build time configuration.
See README for more information.
Line 442: failed to parse eap 'TTLS GTC'.
Line 448: failed to parse network block.
Failed to read or parse configuration '/etc/wpa_supplicant.conf'.

 The offending network:

ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
ap_scan=1
fast_reauth=1
network={
priority=1
ssid=BLA
scan_ssid=1
auth_alg=OPEN
key_mgmt=WPA-EAP
pairwise=CCMP
group=CCMP
eap=TTLS GTC
anonymous_identity=foo
identity=bar
password=baz
phase2=auth=PAP
}

 Is there any kind of record which of wpa_supplicant's config options
 actually are in use? How can I rebuild just wpa_supplicant with the
 correct options?


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


Compiling skype on free 7

2008-03-20 Thread Aguiar Magalhaes
Hi list,

I'm compiling skype (by ports) and received a lot of
error messages like this:

ftp://mirrors.kernel.org/fedora/core/updates/4/i386/setserial-2.17-19.i386.rpm:
Not Found
. . . .
. . . .
= Couldn't fetch it - please try to retrieve this
= port manually into
/usr/ports/distfiles/rpm/i386/fedora/4 and try again.
*** Error code 1

So, I put it into the directory above, but the error
messages says:
= MD5 Checksum mismatch for
rpm/i386/fedora/4/setserial-2.17-19.i386.rpm.
= SHA256 Checksum mismatch for
rpm/i386/fedora/4/setserial-2.17-19.i386.rpm.

How can i fix it ?

Thanks,

Aguiar



  Abra sua conta no Yahoo! Mail, o único sem limite de espaço para 
armazenamento!
http://br.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]


Re: my brother is making me learn FreeBSD...

2008-03-20 Thread Reid Linnemann
Written by Zbigniew Szalbot on 03/20/08 12:29
 Hello,
 
 2008/3/20, Nerius Landys [EMAIL PROTECTED]:
 You could make it a video game server.  That's why I set up a FreeBSD
  server.  I run games/iourbanterror, but there are other games you could run.
 
 And could FreeBSD be used to become a streaming internet radio
 station? Has anyone been doing something like that? I am very
 interested to hear and hopefully it is still within the topic here...
 
 Thanks!
 

Why not? There are open source streaming audio services that are
available as FreeBSD ports. I run and icecast server on my box at home
with ices stream providers to listen to my music remotely. I'm sure
there are other streaming audio services that are just as neat too.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DHCP Question

2008-03-20 Thread Chuck Swiger

Hi, Jay--

On Mar 19, 2008, at 7:36 PM, [EMAIL PROTECTED] wrote:
I am in the process of moving my phone system DHCP from my Mitel  
3300 to a
FreeBSD so I can parse the DHCP file.  In order to make Mitel's  
option 125
work correctly, I have to specify some vendor specific options.  I  
believe

this is option 124 if I understand the Mitel documentation correctly.

[ ... ]


Can someone point me in the right direction?


For the ISC DHCP server, here's an example for setting option 252 for  
auto-proxy config:


option wpad-url code 252 = text;

subnet _yournetwork_ netmask _yournetmask_ {
option wpad-url http://proxy/proxy.pac;;
...
}

You'd need to choose your own option name for option code 124, and a  
type (probably string), and then set whatever config you need in that  
option statement...


--
-Chuck

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


Re: bsdlabel offset

2008-03-20 Thread Jerry McAllister
On Thu, Mar 20, 2008 at 04:38:00PM +0100, Adam Pordzik wrote:

 Jerry McAllister wrote:
 On Fri, Mar 14, 2008 at 11:40:55AM +0100, Tektonaut wrote:
 
 Hi,
 
 following bsdllabel output caught my attention:
 
 #sizeoffsetfstype   [fsize bsize bps/cpg]
  a:  2097152 04.2BSD 2048 16384 28552 
  b:  4194304   2097152  swap
  c: 3125766420unused0 0 # raw part, 
  don't edit
  d: 33554432   62914564.2BSD 2048 16384 28552 
 ...
 
 I created this disk with sade or sysinstall. What I'm not sure
 about is that partition 'a' has an offset of 0. With an 8k big
 /boot/boot I would guess offset should be 16block large.
 
 But since the disk is booting, some boot1 loader ist located at
 sector 0 (from the beginning of this slice). How is it assured,
 that the first block will never be overwritten? Where is boot1
 located, where boot2?
 
 Comparing the first sector with boot and boot1 differs already
 at the first char. (and there were no updates so far)
 
 That sector 0 lies outside of the slice block 0. What you are
 seeing is not an absolute disk offset, but the offset in to the slice.  
 
 Right, and sector 0 of the bsd-partition (label) begins where
 the bsd-partition- starts. Since offset of ads1a is zero, sector 0
 ad0s1a is the same as sector 0 of ad0s1.
 
 So my problem was to understand how there can be any room for
 boot1+2, if the filesystem start right there. My fault was to assume,
 that the ufs-superblock begins at first sector. (see below)

The only thing the boot sector does is bring in the boot file which
is in a file on the filesystem.   It doesn't need any special sector
after the label sector.   That label sector also stands outside
the allocatable space.Remember that all addressing is really
virtual, not absolute, even though it looks a little like it is absolute.

For more detailed information, you will have to go to one of the
books on just how the system is built which includes how the disk
blocks and boot sectors are layed out.   I had one, but don't know
just where it is, or I'd include table for a bit of it.

jerry

 
 It is possible to create it otherwise but isn't done that
 way by default.Nowdays, actually a whole track is held
 out, instead of just sector 0 and that is where some of the
 fancier MBRs such as GRUB get their extra space to work.
 But, the standard FreeBSD MBR sticks to the official standard
 of just one sector - which is why it is so plain vanilla.
 
 Since I have no real use for a DOS/MBR-partitiontable, I'd like to
 partitionate a dangerously dedicated layout. How would I do
 this in a safe way?
 
 I found the answer to my question in sys/ufs/ffs/fh.h: UFS leaves
 some sectors free up to the superblock. Dependening on x
 that can be 0k, 8k, 32k, 64k or even 256k.
 
 Adam
 
 -- 
 
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: bsdlabel offset

2008-03-20 Thread Jerry McAllister
On Thu, Mar 20, 2008 at 04:38:00PM +0100, Adam Pordzik wrote:

 Jerry McAllister wrote:
 On Fri, Mar 14, 2008 at 11:40:55AM +0100, Tektonaut wrote:
 
 Hi,
 
 following bsdllabel output caught my attention:
 
 #sizeoffsetfstype   [fsize bsize bps/cpg]
  a:  2097152 04.2BSD 2048 16384 28552 
  b:  4194304   2097152  swap
  c: 3125766420unused0 0 # raw part, 
  don't edit
  d: 33554432   62914564.2BSD 2048 16384 28552 
 ...
 
 I created this disk with sade or sysinstall. What I'm not sure
 about is that partition 'a' has an offset of 0. With an 8k big
 /boot/boot I would guess offset should be 16block large.
 
 But since the disk is booting, some boot1 loader ist located at
 sector 0 (from the beginning of this slice). How is it assured,
 that the first block will never be overwritten? Where is boot1
 located, where boot2?
 
 Comparing the first sector with boot and boot1 differs already
 at the first char. (and there were no updates so far)
 
 That sector 0 lies outside of the slice block 0. What you are
 seeing is not an absolute disk offset, but the offset in to the slice.  
 
 Right, and sector 0 of the bsd-partition (label) begins where
 the bsd-partition- starts. Since offset of ads1a is zero, sector 0
 ad0s1a is the same as sector 0 of ad0s1.
 
 So my problem was to understand how there can be any room for
 boot1+2, if the filesystem start right there. My fault was to assume,
 that the ufs-superblock begins at first sector. (see below)
 
 It is possible to create it otherwise but isn't done that
 way by default.Nowdays, actually a whole track is held
 out, instead of just sector 0 and that is where some of the
 fancier MBRs such as GRUB get their extra space to work.
 But, the standard FreeBSD MBR sticks to the official standard
 of just one sector - which is why it is so plain vanilla.
 
 Since I have no real use for a DOS/MBR-partitiontable, I'd like to
 partitionate a dangerously dedicated layout. How would I do
 this in a safe way?
 
 I found the answer to my question in sys/ufs/ffs/fh.h: UFS leaves
 some sectors free up to the superblock. Dependening on x
 that can be 0k, 8k, 32k, 64k or even 256k.
 
Yup.

Dangerously dedicated just means skipping making a slice and BSDlabeling
the ad0 or da0 address rather than ad0s1 or da0s1.

It is safe as long as the disk must never be looked at by anything
other than FreeBSD.

jerry

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


linuxpluginwrapper - *second request for help*

2008-03-20 Thread FreeBSD-Utah

I am trying to install the port:

/usr/ports/java/jai

which depends on:

/usr/ports/www/linuxpluginwrapper

The problem is:

newpdc# make
===  linuxpluginwrapper-20051113_8 doesn't support
ELF symbol versioning, yet..
*** Error code 1

Stop in /usr/ports/www/linuxpluginwrapper.

We are using diablo-jdk-1.5.0.07.01_9 as our JDK and
the system is FreeBSD 7. 

uname -a yields:

FreeBSD newpdc.dakcs.com 7.0-RELEASE FreeBSD
7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
 i386

Again, any direction or help on this is appretiated
and welcome.


  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


smbfs CIFS

2008-03-20 Thread Andy Christianson
Do I have to do anything to tell mount_smbfs to use CIFS instead of the
SMB protocol?

 

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


Re: more on FreeBSD and Brother HL-5250-DN

2008-03-20 Thread David Kelly
On Thu, Mar 20, 2008 at 10:31:27AM -0700, Gary Kline wrote:
 
   Very late last night it occurred to me that the reason no
   /dev/lpt0 was that my parallel cable isn't plugged into my new
   printer.  The test pages work via the cat5 - switch; this
   HTML helped me configure the 5250.  When I another geek over 
   here to plug things together, I'll be able to test the
   /etc/printcap.   Here it is, as auto-installed by dpkg -i::
 
 HL5250DN:\
 :mx=0:\
 :sd=/var/spool/lpd/HL5250DN:\
 :sh:\
 :lp=/dev/usb/lp0:\
 :if=/usr/local/Brother/lpd/filterHL5250DN:

I forgot, is there a reason you are not using apsfilter out of ports?
Stick with apsfilter and its lengthy guided text-based config and you
will have a working printer in short order.

Have almost never used my 5250 from FreeBSD so its not currently
configured and I'm no where near it at the moment. But after fussing
with other solutions including CUPS, I keep coming back to good old
simple apsfilter.

To print via network lpd style change your lp line to :lp=:\

Specify the remote system by IP address or name something like this:
:rm=kyocera.local:\

And specify the printer queue on rm that one is to print:
:rp=lp:\

You can list the printer name in /etc/hosts if its difficult to add to
DNS proper. Or just put the numbers in rm= above. I have a caching bind
running above where I've added a .local domain for internal machines.

The main thing I use the Kyocera printer (above) is to print man pages.
man -t man | lp. Very pretty and impressive man pages.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: more on FreeBSD and Brother HL-5250-DN

2008-03-20 Thread Predrag Punosevac

Gary Kline wrote:

Not to bore anyone, but my finding may be of interest.
Predrag pointed me at a Brother lpr/printcap setup for Linux--
will wonders never cease?, :-).  The URL is

http://solutions.brother.com/linux/en_us/index.html

	and had configurations (binaries, not plaintext) for Redhat 
	andDebian.  I managed to install, and thus unpack, the *deb
	(is that cpio?) on my Ubuntu desktop.  


Very late last night it occurred to me that the reason no
/dev/lpt0 was that my parallel cable isn't plugged into my new
printer.  The test pages work via the cat5 - switch; this
	HTML helped me configure the 5250.  When I another geek over 
	here to plug things together, I'll be able to test the

/etc/printcap.   Here it is, as auto-installed by dpkg -i::

HL5250DN:\
:mx=0:\
:sd=/var/spool/lpd/HL5250DN:\
:sh:\
:lp=/dev/usb/lp0:\
:if=/usr/local/Brother/lpd/filterHL5250DN:

	Most of this will port to FreeBSD easily. The Brother directory 
	is full of two subdirs each with a number of files.  The input

filter, filterHL5250DN and other /bin/sh scripts in lpd/
will take some porting.   S: is printcap the best way to
	go?  What about IPP?   
IPP is internet printing protocol spoken by CUPS spooling system. Your 
printer speaks both IPP and LPR native
printing protocol spoken by LPD. I honestly would not bother much with 
all that nonsense from Brother web-site.


Since you have Ubuntu and FreeBSD machine to make things as simple as 
possible attach printer directly to the network (that is why you have DN 
extension in the name of your printer) and make it printer server.


Ubuntu comes with CUPS which speaks IPP and adding printing should be 
matter of selecting it in the Gnome printer

manager.
You could edit printcap file for remote printer on your FreeBSD box. 
Look the FreeBSD Handbook

section 9.4.3.

If you want to have identical set up on FreeBSD machine as on the Ubuntu 
machine add the CUPS.
Do not forget to hide native LPD commands (example mv /usr/bin/lp 
/usr/bin/lp.bak)


You need to edit file /usr/local/etc/cups/client.conf on FreeBSD to 
enable client printing.

Start CUPS daemon and
then go to http://localhost:631 and add the printer. You can find PPD 
file for the printer on

http://openprinting.org/printer_list.cgi

Just follow the documentation for CUPS client setup
http://www.cups.org/doc-1.1/sam.html



Cheers,
Predrag




The nutshell is that I'd like to use the
	printer in the way that takes the least messing-with.  I have 
	two desktop, BSD and Ubuntu.  I would like to make the FreeBSD
	computer my printserver ... if I can't use the 5250 as a 
	networked printer.


Advice please!!

gary








  


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


Re: my brother is making me learn FreeBSD...

2008-03-20 Thread mdh
Sure, check out the icecast and darkice ports. 
Icecast is a server, darkice is a client.  There're
also some other useful ports like icegenerator
(automatic mp3 streaming client software).  
Take care, mdh

--- Zbigniew Szalbot [EMAIL PROTECTED] wrote:

 Hello,
 
 2008/3/20, Nerius Landys [EMAIL PROTECTED]:
  You could make it a video game server.  That's why
 I set up a FreeBSD
   server.  I run games/iourbanterror, but there are
 other games you could run.
 
 And could FreeBSD be used to become a streaming
 internet radio
 station? Has anyone been doing something like that?
 I am very
 interested to hear and hopefully it is still within
 the topic here...
 
 Thanks!
 
 -- 
 Zbigniew Szalbot
 ___
 freebsd-questions@freebsd.org mailing list

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



  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: my brother is making me learn FreeBSD...

2008-03-20 Thread Edward Capriolo
For a kick, tell you brother that free BSD is no good. Install linux
on the server and start your own consulting company!

I mean seriously! 14 replies to a thread about nothing. Let it die everyone!

On Thu, Mar 20, 2008 at 3:32 AM, Donald Laniohan [EMAIL PROTECTED] wrote:
 My task is to build a BSD server and do something with it. That is all the
  information he gave me, that, and any questions I have to make Google my
  best friend, which I have. i remember building my first whitebox, it was a
  386 with windows 3.1. I remember when I built my 486 and stole a copy of
  windows 95. I thought I was a savage. BSD, however, has showed me how
  juvenile I have been. If I do not master BSD my brother is going to keep me
  as a desktop support for his windows clients and I want to progress past
  this. So he's giving me a 1u, and said to put BSD on it and make it do
  something, im just so stuck in my windows comfort zone I can't think of what
  I would need a unix server to that I couldn't make windows do for me. I know
  this is trivial but if somebody could offer any suggestion or resource I,
  and my career, would greatly appreciate it



  Donald Laniohan

  MLAN Consulting

  San Diego, CA

  [EMAIL PROTECTED]



  ___
  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: my brother is making me learn FreeBSD...

2008-03-20 Thread Reid Linnemann
Written by Edward Capriolo on 03/20/08 13:56
 For a kick, tell you brother that free BSD is no good. Install linux
 on the server and start your own consulting company!
 
 I mean seriously! 14 replies to a thread about nothing. Let it die everyone!
 
 On Thu, Mar 20, 2008 at 3:32 AM, Donald Laniohan [EMAIL PROTECTED] wrote:
 My task is to build a BSD server and do something with it. That is all the
  information he gave me, that, and any questions I have to make Google my
  best friend, which I have. i remember building my first whitebox, it was a
  386 with windows 3.1. I remember when I built my 486 and stole a copy of
  windows 95. I thought I was a savage. BSD, however, has showed me how
  juvenile I have been. If I do not master BSD my brother is going to keep me
  as a desktop support for his windows clients and I want to progress past
  this. So he's giving me a 1u, and said to put BSD on it and make it do
  something, im just so stuck in my windows comfort zone I can't think of what
  I would need a unix server to that I couldn't make windows do for me. I know
  this is trivial but if somebody could offer any suggestion or resource I,
  and my career, would greatly appreciate it



  Donald Laniohan

  MLAN Consulting

  San Diego, CA

  [EMAIL PROTECTED]




For an even better kick, don't top-post and allow the adults to have a
conversation.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: my brother is making me learn FreeBSD...

2008-03-20 Thread Jerry McAllister
On Thu, Mar 20, 2008 at 02:56:02PM -0400, Edward Capriolo wrote:

 For a kick, tell you brother that free BSD is no good. Install linux
 on the server and start your own consulting company!
 
 I mean seriously! 14 replies to a thread about nothing. Let it die everyone!

Hey, you old grouch.   Spring is coming.   Take a deep breath
and enjoy it.

jerry


 
 On Thu, Mar 20, 2008 at 3:32 AM, Donald Laniohan [EMAIL PROTECTED] wrote:
  My task is to build a BSD server and do something with it. That is all the
   information he gave me, that, and any questions I have to make Google my
   best friend, which I have. i remember building my first whitebox, it was a
   386 with windows 3.1. I remember when I built my 486 and stole a copy of
   windows 95. I thought I was a savage. BSD, however, has showed me how
   juvenile I have been. If I do not master BSD my brother is going to keep me
   as a desktop support for his windows clients and I want to progress past
   this. So he's giving me a 1u, and said to put BSD on it and make it do
   something, im just so stuck in my windows comfort zone I can't think of 
  what
   I would need a unix server to that I couldn't make windows do for me. I 
  know
   this is trivial but if somebody could offer any suggestion or resource I,
   and my career, would greatly appreciate it
 
 
 
   Donald Laniohan
 
   MLAN Consulting
 
   San Diego, CA
 
   [EMAIL PROTECTED]
 
 
 
   ___
   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]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Missing /dev/null after few min

2008-03-20 Thread Matthias Gamsjäger
The guilty package seems the be gnash.

On Thu, Mar 20, 2008 at 5:32 PM, Lowell Gilbert 
[EMAIL PROTECTED] wrote:

 Matthias Gamsjäger [EMAIL PROTECTED] writes:

  I'm running freebsd for couple of years now and never had really big
  problems but this one I can't solve on my own. Running releng 7 for 6
 months
  now but recently after running X for like 10min the systems is missing
  /dev/null. So you can imaging that most programs start complaining about
 it.
  Right now I recreate it with mknod /dev/null c 1 3 but that's not a real
  solution because it starts to disappear again after few minutes.
  I'm for 99% sure it's not freebsd problem but more a application problem
 but
  I wonder if anyone ran into the same trouble after upgrading xyz port?
 Or
  even better has a solution for it?

 Yep, something is deleting it.
 Something with permissions to delete it, which shouldn't be many
 things. First make sure that it has the correct permissions, then
 check what's running as root.

 You might be able to find a process that has a file handle open on
 /dev/null or even on /dev itself, but I'd consider that a long shot.

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


Re: smbfs CIFS

2008-03-20 Thread Wojciech Puchar

isn't SMB and CIFS the same?


On Thu, 20 Mar 2008, Andy Christianson wrote:


Do I have to do anything to tell mount_smbfs to use CIFS instead of the
SMB protocol?



___
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: Compiling skype on free 7

2008-03-20 Thread Boris Samorodov
On Thu, 20 Mar 2008 14:29:06 -0300 (ART) Aguiar Magalhaes wrote:

 I'm compiling skype (by ports) and received a lot of
 error messages like this:

 ftp://mirrors.kernel.org/fedora/core/updates/4/i386/setserial-2.17-19.i386.rpm:
 Not Found
 . . . .
 . . . .
 = Couldn't fetch it - please try to retrieve this
 = port manually into
 /usr/ports/distfiles/rpm/i386/fedora/4 and try again.
 *** Error code 1

The rpmball is fetchable. Something (configuration, network, etc.) is
preventing you from fetching it. That worth investigating.

 So, I put it into the directory above, but the error
 messages says:
 = MD5 Checksum mismatch for
 rpm/i386/fedora/4/setserial-2.17-19.i386.rpm.
 = SHA256 Checksum mismatch for
 rpm/i386/fedora/4/setserial-2.17-19.i386.rpm.

You fetched the wrong/corrupted file. Remove it.

 How can i fix it ?

Try to fetch manually then copy to the needed directory:
$ fetch 
http://mirrors.kernel.org/fedora/core/4/i386/os/Fedora/RPMS/setserial-2.17-19.i386.rpm
setserial-2.17-19.i386.rpm100% of   20 kB   36 kBps
$  md5 setserial-2.17-19.i386.rpm 
MD5 (setserial-2.17-19.i386.rpm) = 18f731b38dd607085f992c1e8bb67596


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


Re: mpd pptp server?

2008-03-20 Thread Alexander Motin
On Wed, 19 Mar 2008 00:43:58 +0100 Jon Theil Nielsen 
[EMAIL PROTECTED] wrote:

Do I need to have a customized kernel to make it work? Or are there any
obvious errors in the above configuration?


Mpd4 should work without special system tuning. The best way to find the 
problem is to read it's logs. Mpd writes detailed logs using syslog (you 
should configure syslog.conf for it alike to ppp) and to the stdout if 
running in foreground.


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


Re: Web Site Mistype

2008-03-20 Thread Bruce Cran

Alexis Megas wrote:

Hello,

 


The page http://www.freebsd.org/java/dists/16.html has a date mistype
(November 15, 2008).

 


Thanks!



freebsd-www@ is the mailing list which deals with errors on the FreeBSD 
web pages - I've cc'd them.


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


Re: FreeBSD 7.0, Linuxulator and LDAP

2008-03-20 Thread Boris Samorodov
Hi!

On Thu, 20 Mar 2008 15:03:21 + O. Hartmann wrote:

 we use a LDAP backed up environment on our FreeBSD boxes (mostly 7.0
 machines).
 With several tools running under Linux/Linuxulator in FreeBSD ist is
 not possible to work, like acroread or linux-opera and other software
 (like IDL, Mathematica). When the software starts up, it complains
 about unknown user IDs (acroread, Gtk-toolset).

Hm. I never used FreeBSD with LDAP backed up environment.

Some linux apps display warnings about unknown IDs (something like
glib about UID 0), but it never prevented the app from functioning.

 I guess I need a complete PAM/NSS/LDAP setup in Linux
 (/compat/linux/etc), but I have no glue how to get the appropriate
 libraries (pam_ldap.so, nss_ldap.so etc.).

I don't think so. The main idea for linuxulator is to use as much as
possible. We do use FreeBSD native configure and other files and
databases. E.g. we _remove_ passwd and other files (as well as some
directories) from linux distribution before installing.

 Can anybody help?

Well, I can give you only some theory here. Sorry. :-(

1. Use FreeBSD database (passwd and friends) before LDAP.
2. Add needed IDs to LDAP database.


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


RE: smbfs CIFS

2008-03-20 Thread Andy Christianson
SMB is an older protocol than CIFS, from what I understand

Andrew Christianson
Orases Consulting Corporation
Interactive Business and Technology Solutions
phone/ 301.694.8991 ext. 100
fax/ 301.694.8993
email/ [EMAIL PROTECTED]
http://www.orases.com


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wojciech
Puchar
Sent: Thursday, March 20, 2008 3:41 PM
To: Andy Christianson
Cc: freebsd-questions@freebsd.org
Subject: Re: smbfs CIFS

isn't SMB and CIFS the same?


On Thu, 20 Mar 2008, Andy Christianson wrote:

 Do I have to do anything to tell mount_smbfs to use CIFS instead of
the
 SMB protocol?



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


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


No buffer space available

2008-03-20 Thread Paul A. Procacci

Hello,

Since moving over ftp traffic to a 6-STABLE from 9/20/2007 to a machine 
of ours, we've been getting the above errors in the logs.  Obviously the 
machine becomes unresponsive from the network and requires a console to 
log in and reboot.  I generally can fix these types of problems rather 
quickly (or thought I did), as I've handled these problems before in the 
past quite frequently.  However, this particular machine is giving me a 
really hard time.  I have to reboot the machine every 2ish weeks due to 
the above.   It's my hopes that after reading through the output that 
follows, someone can point out a crucial piece that I am 
missing...cause I am stumped.


With the above said, and while looking through tons of output, I came 
across what I believe to 'be the gem'.  I'm hoping that this can be 
either confirmed or denied:


ITEM SIZE LIMIT USED FREE REQUESTS FAILURES
mbuf_cluster: 2048, 64000, 1024, 10, 1024, 0## While 
machine is borked
mbuf_cluster: 2048, 64000, 1532, 246, 1823214, 0## While the 
machine is not borked


The above is output from vmstat -z obviously trimmed just to show the 
specific lines.  The first line quite frankly makes no sense to me 
whatsoever.  In fact, it's ?artifically? stuck at 1024 for both the 
'used' and 'requests' fields.  Formatting bug? or integer overflow of 
some kind?  Maybe..but it's ironic that the network is locking up at 
the same time.  That and the values simply don't add up.


Additionally, I have netstat -m output that follows which again shows 
strange values for requests for I/O initiated by sendfile and calls 
to protocol drain routines:

---
522/888/1410 mbufs in use (current/cache/total)
516/518/1034/64000 mbuf clusters in use (current/cache/total/max)
516/508 mbuf+clusters out of packet secondary zone in use (current/cache)
0/0/0/0 4k (page size) jumbo clusters in use (current/cache/total/max)
0/0/0/0 9k jumbo clusters in use (current/cache/total/max)
0/0/0/0 16k jumbo clusters in use (current/cache/total/max)
1162K/1258K/2420K bytes allocated to network (current/cache/total)
0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
0/0/0 requests for jumbo clusters denied (4k/9k/16k)
0/5/8704 sfbufs in use (current/peak/max)
0 requests for sfbufs denied
0 requests for sfbufs delayed
0 requests for I/O initiated by sendfile
0 calls to protocol drain routines
---

0 ??  Those items mentioned above are counters which increment extremely 
slowly.  I can't imagine this ever being an integer rollover type of 
problem.  Something is weird here as well.


---

Lastly, em0 shows no errors to speak of:

NameMtu Network   Address  Ipkts IerrsOpkts 
Oerrs  Coll
em01500 Link#1  00:0e:0c:b1:a7:0e23104 027905 
0 0
01:00:5e:00:00:01  
744  0

---

Would certainly appreciate any help whether in the form of links, 
patches, or other non aggressive types of responses  ;)


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


Re: FreeBSD 7.0, Linuxulator and LDAP

2008-03-20 Thread Boris Samorodov
On Thu, 20 Mar 2008 23:10:10 +0300 Boris Samorodov wrote:

 The main idea for linuxulator is to use as much as
 possible.

Uh, it should be The main idea of linuxulator is to use as much as
possible from the native OS (FreeBSD).


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


Odd aliasing question

2008-03-20 Thread DAve
I've looked but found no examples to give me confidence. While I have 
lots of servers running alias IPs the IPs are all on the same network. 
I've have been informed by my network admin that we will need to change 
the IPs of our legacy name servers (we are just dragging them along for 
a time, new name servers are up and domains are being moved to them).


Currently the IP of ns2 is 208.252.191.2, this needs to change to 
65.123.104.25. The network admin is telling me he will have the router 
for that NOC cage handle both IPs no problems. However I need to 
continue answering the old IP until clients can get their equipment 
reconfigured.


Can I alias 208.252.191.2 once I change the NIC's IP to 65.123.104.25 
with a default route of 65.123.104.1?


What netmask would use for the alias line?

This seems not possible to me, but you can learn something new everyday...

Thanks,

DAve
--
Google finally, after 7 years, provided a logo for
veterans. Thank you Google. What to do with my signature now?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: linuxpluginwrapper - *second request for help*

2008-03-20 Thread Vince

FreeBSD-Utah wrote:

I am trying to install the port:

/usr/ports/java/jai

which depends on:

/usr/ports/www/linuxpluginwrapper

The problem is:

newpdc# make
===  linuxpluginwrapper-20051113_8 doesn't support
ELF symbol versioning, yet..
*** Error code 1

Stop in /usr/ports/www/linuxpluginwrapper.

We are using diablo-jdk-1.5.0.07.01_9 as our JDK and
the system is FreeBSD 7. 


uname -a yields:

FreeBSD newpdc.dakcs.com 7.0-RELEASE FreeBSD
7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC

 i386

Again, any direction or help on this is appretiated
and welcome.



Since as far as I know linuxpluginwrapper hasnt been updated in well 
over a year (other than to remove support for  5.x from the makefile) 
and the main driver for development on it (using flash) has been taken 
over by nspluginwrapper, You could try installing the linux jdk since 
this bit of the makefile indicates that if your using the linux jdk you 
dont need to have linuxpluginwrapper.


.if ${JAVA_PORT_OS} == native
WITH_PLUGINWRAPPER= yes
RUN_DEPENDS+=${LOCALBASE}/lib/pluginwrapper/jai.so:${PORTSDIR}/www/linuxpluginwrapper
.endif


bit of a pain since 1/2 the point of java was meant to be platform 
independence ;)


Other options are:
the 7.0 release notes say:
The rtld(1) runtime linker now supports ELF symbol versioning using GNU 
semantics. This implementation aims to be compatible with symbol 
versioning support as implemented by GNU libc and documented in 
http://people.redhat.com/~drepper/symbol-versioning and LSB 3.0. Also, 
dlvsym() function has been added to allow lookups for a specific version 
of a given symbol.


	This may mean that the ports makefile needs updating and you can just 
delete the lines in /usr/ports/www/linuxpluginwrapper/Makefile that say

.if  ${OSVERSION} = 79
IGNORE= doesn't support ELF symbol versioning, yet.
.endif


your other option is to see if you can get it running with 
nspluginwrapper instead i guess, not sure how easy/hard this would be.


Vince



  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping

___
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: more on FreeBSD and Brother HL-5250-DN

2008-03-20 Thread Gary Kline
On Thu, Mar 20, 2008 at 01:42:14PM -0500, David Kelly wrote:
 On Thu, Mar 20, 2008 at 10:31:27AM -0700, Gary Kline wrote:
  
  Very late last night it occurred to me that the reason no
  /dev/lpt0 was that my parallel cable isn't plugged into my new
  printer.  The test pages work via the cat5 - switch; this
  HTML helped me configure the 5250.  When I another geek over 
  here to plug things together, I'll be able to test the
  /etc/printcap.   Here it is, as auto-installed by dpkg -i::
  
  HL5250DN:\
  :mx=0:\
  :sd=/var/spool/lpd/HL5250DN:\
  :sh:\
  :lp=/dev/usb/lp0:\
  :if=/usr/local/Brother/lpd/filterHL5250DN:
 
 I forgot, is there a reason you are not using apsfilter out of ports?
 Stick with apsfilter and its lengthy guided text-based config and you
 will have a working printer in short order.


Well, the only reason not is sheer ignorance!   i have used
several of the /usr/ports/print utilities and thought that 
apsfilter did file filtering: there are at least a couple
filters that ``pretty-print'' C programs.   Guilty of not having
kept up with advances in this kind of software ... but then my
old hp deskjet 500 lasted 16, 17 years :-)  bAck then I was
running SVR4 on a homebrew 386-40.  But hey... .



 
 Have almost never used my 5250 from FreeBSD so its not currently
 configured and I'm no where near it at the moment. But after fussing
 with other solutions including CUPS, I keep coming back to good old
 simple apsfilter.
 
 To print via network lpd style change your lp line to :lp=:\
 
 Specify the remote system by IP address or name something like this:
   :rm=kyocera.local:\
 
 And specify the printer queue on rm that one is to print:
   :rp=lp:\
 
 You can list the printer name in /etc/hosts if its difficult to add to
 DNS proper. Or just put the numbers in rm= above. I have a caching bind
 running above where I've added a .local domain for internal machines.


The gentleman who helped me join the 21st century made several
mods to my DNS files.  My ISP wouldn't grant permission for me
to control my reverse lookup, so I haven't paid attn to my
those filess, including my internal network.  But when I had 
more machines, I did use the remote lpd stuff. In fact, after 
I gave up on CUPS (On ethos: my Ubuntu desktop), I used the 
remote lpr/lpr printcap. It's still there, :-)


 
 The main thing I use the Kyocera printer (above) is to print man pages.
 man -t man | lp. Very pretty and impressive man pages.



That, sir, is the only way!  Some of the man pages are so
dense that reading them online is impossible.  Give me ink+paper
and I'll go in a corner and read.   The past N years I need my
printer for to correct essays [ and still some code ], but 
it's a must-have.

Thanks for the *clue*... .

gary

PS:  personal response coming to your offline mail ... day or so.
 meetings etc call right now.  
 
 -- 
 David Kelly N4HHE, [EMAIL PROTECTED]
 
 Whom computers would destroy, they must first drive mad.

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org


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


Re: Odd aliasing question

2008-03-20 Thread Vince

DAve wrote:
I've looked but found no examples to give me confidence. While I have 
lots of servers running alias IPs the IPs are all on the same network. 
I've have been informed by my network admin that we will need to change 
the IPs of our legacy name servers (we are just dragging them along for 
a time, new name servers are up and domains are being moved to them).


Currently the IP of ns2 is 208.252.191.2, this needs to change to 
65.123.104.25. The network admin is telling me he will have the router 
for that NOC cage handle both IPs no problems. However I need to 
continue answering the old IP until clients can get their equipment 
reconfigured.



This will work fine.

Can I alias 208.252.191.2 once I change the NIC's IP to 65.123.104.25 
with a default route of 65.123.104.1?



yes,

What netmask would use for the alias line?


Whatever you currently use for those IPs.


This seems not possible to me, but you can learn something new everyday...

I've been supporting servers for about 10 years and I'm still learning 
:) Thats why its still fun.



Thanks,

DAve


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


Re: more on FreeBSD and Brother HL-5250-DN

2008-03-20 Thread Gary Kline
On Thu, Mar 20, 2008 at 11:47:16AM -0700, Predrag Punosevac wrote:
 Gary Kline wrote:
  Not to bore anyone, but my finding may be of interest.
  Predrag pointed me at a Brother lpr/printcap setup for Linux--
  will wonders never cease?, :-).  The URL is
 
  http://solutions.brother.com/linux/en_us/index.html
 
  and had configurations (binaries, not plaintext) for Redhat 
  andDebian.  I managed to install, and thus unpack, the *deb
  (is that cpio?) on my Ubuntu desktop.  
 
  Very late last night it occurred to me that the reason no
  /dev/lpt0 was that my parallel cable isn't plugged into my new
  printer.  The test pages work via the cat5 - switch; this
  HTML helped me configure the 5250.  When I another geek over 
  here to plug things together, I'll be able to test the
  /etc/printcap.   Here it is, as auto-installed by dpkg -i::
 
 HL5250DN:\
 :mx=0:\
 :sd=/var/spool/lpd/HL5250DN:\
 :sh:\
 :lp=/dev/usb/lp0:\
 :if=/usr/local/Brother/lpd/filterHL5250DN:
 
  Most of this will port to FreeBSD easily. The Brother directory 
  is full of two subdirs each with a number of files.  The input
  filter, filterHL5250DN and other /bin/sh scripts in lpd/
  will take some porting.   S: is printcap the best way to
  go?  What about IPP?   
 IPP is internet printing protocol spoken by CUPS spooling system. Your 
 printer speaks both IPP and LPR native
 printing protocol spoken by LPD. I honestly would not bother much with 
 all that nonsense from Brother web-site.


The HTML was local.  Unless http://10.47.0.116/printing/main.html
was a copy of their homepage, or part of.  May-be; I didn't watch
my router.

 
 Since you have Ubuntu and FreeBSD machine to make things as simple as 
 possible attach printer directly to the network (that is why you have DN 
 extension in the name of your printer) and make it printer server.



That's just why I wanted this printer.  And when I buy a newer
ThinkPad, that'll make three desktops.  
 
 Ubuntu comes with CUPS which speaks IPP and adding printing should be 
 matter of selecting it in the Gnome printer
 manager.


I tried to get CUPS working back in '05 when I first tried
Ubuntu.   After several hours of breaking concrete with my head,
I found an old lpr for Debian and it worked [ with my lpr/lpd 
deskjet here].  Whoever have CUPS working must either (a) have
sold their soul to the Devil or (b) been personslly blessed by
Zeus.   I have it here somewhere under KDE (andor Gnome);
over my head!


 You could edit printcap file for remote printer on your FreeBSD box. 
 Look the FreeBSD Handbook
 section 9.4.3.
 
 If you want to have identical set up on FreeBSD machine as on the Ubuntu 
 machine add the CUPS.
 Do not forget to hide native LPD commands (example mv /usr/bin/lp 
 /usr/bin/lp.bak)


Hmmm.  and hm. First time I ever heard that tip.


 
 You need to edit file /usr/local/etc/cups/client.conf on FreeBSD to 
 enable client printing.
 Start CUPS daemon and
 then go to http://localhost:631 and add the printer. You can find PPD 
 file for the printer on
 http://openprinting.org/printer_list.cgi
 
 Just follow the documentation for CUPS client setup
 http://www.cups.org/doc-1.1/sam.html
 

You know, I'm about to publish a how-to with many examples on how
to play|copy|mod you CD's/DVD's/whatever  for **FreeBSD**.
Most things just-work on linux; that's perfectly fine IMHO.
I've stuck with the BSD's for 13 years because of the stability.
Am thinking that perhaps if we had more toys[*]  we would gain 
users.  

I'll try afsprint (as per suggestion by David Kelly, up-queue),
then __shudder__ CUPS.  Maybe be able to cobble together a howto
for things-printer.

enjoy!

gary


 
 
 Cheers,
 Predrag
 
 

[*] not meant in a pejorative sense.  but having spent most of my career
in the supercomputer world, games, music, videos, graphics, c were
toys.  flames to /dev/null, guys.
-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org


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


i have questions

2008-03-20 Thread Lawyer Q8

Hello,
 
Please i have FreeBSD 6.3 RELEASE i want to upgrade to 7.0 stable 
 
if upgrade stable my files is lose and removed or not ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: i have questions

2008-03-20 Thread Paul A. Procacci

Lawyer Q8 wrote:

Hello,
 
Please i have FreeBSD 6.3 RELEASE i want to upgrade to 7.0 stable 
 
if upgrade stable my files is lose and removed or not ?

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


If you follow /usr/src/UPDATING you should be ok.  However keep in mind 
it's HIGHLY suggested you `dump` your files first!


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


RE:inuxpluginwrapper - *second request for help*

2008-03-20 Thread matt donovan
 Well considering that linuxpluginwrapper is not really used and is outdated
now. That could be the issue since linuxpluginwrapper work from what I know
is not even moving along anymore.


 I am trying to install the port:

 /usr/ports/java/jai

 which depends on:

 /usr/ports/www/linuxpluginwrapper

 The problem is:

 newpdc# make
 ===  linuxpluginwrapper-20051113_8 doesn't support
 ELF symbol versioning, yet..
 *** Error code 1

 Stop in /usr/ports/www/linuxpluginwrapper.

 We are using diablo-jdk-1.5.0.07.01_9 as our JDK and
 the system is FreeBSD 7.

 uname -a yields:

 FreeBSD newpdc.dakcs.com 7.0-RELEASE FreeBSD
 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
  i386

 Again, any direction or help on this is appretiated
 and welcome.

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


Re: mpd pptp server?

2008-03-20 Thread Jon Theil Nielsen
2008/3/20, Alexander Motin [EMAIL PROTECTED]:

 On Wed, 19 Mar 2008 00:43:58 +0100 Jon Theil Nielsen
 [EMAIL PROTECTED] wrote:

  Do I need to have a customized kernel to make it work? Or are there any
  obvious errors in the above configuration?


 Mpd4 should work without special system tuning. The best way to find the
 problem is to read it's logs. Mpd writes detailed logs using syslog (you
 should configure syslog.conf for it alike to ppp) and to the stdout if
 running in foreground.


I finally got it working with mpd4 (can only check it from my own private
network right now). Files are as follow
/usr/local/etc/mpd4/mpd.conf
startup:

default:
load pptp1

pptp1:
new -i ng0 pptp1 pptp1
set iface disable on-demand
set iface enable proxy-arp
set iface idle 0
set iface enable tcpmssfix
set bundle enable multilink
set link yes acfcomp protocomp
set link no pap chap
set link enable chap
set link keep-alive 10 60
set ipcp yes vjcomp
set ipcp ranges 192.168.1.4/32 192.168.1.151/32
set ipcp dns 195.184.96.2 213.173.225.86
set ipcp nbns 192.168.1.4
set bundle enable compression
set ccp yes mppc
set ccp yes mpp-e40
set ccp yes mpp-e128
set ccp yes mpp-stateless

/usr/local/etc/mpd.links
pptp1:
set link type pptp
set pptp enable incoming
set pptp disable originate

Hope I can access my (Samba) homedrive from the outside.
Line compression doesn't seem to work, but that has something to do with
some proprietary MS stuff or what?
There is now way I can authenticate via my Samba or system passowrds?


Thanks for the advices so far...!

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


  1   2   >