Re: FreeBSD 5.3 I/O Performance / Linux 2.6.10

2005-01-24 Thread Emanuel Strobl
Am Montag, 24. Januar 2005 06:17 schrieb Oliver Fuchs:

  In addition, was on OS running a window manager and the other not? Was
  one running ssh and the other not, was FBSD running Linux emu? ... Was
  one running (insert program) and the other not...

 In addition to this:
 - how often did you run your test
 - what processes/daemons else where running
 - what is the contents of /etc/fstab
 - what is the contents of /etc/login.conf
 - what shell was used
 - what user was used
 - ... .

Well, these aren't of big interest atm. I posted a question in -current 
regarding horrible ftp transfer rates (fwe and em transfer rates).
He was the only one answering and regrettably confirming my experience.
First, tell me why a 866MHz PII machine is full loaded for transfering 22MB/s 
(over em0 and ftp, disks can do more that 50MB/s, no switch, just direct 
connect, no packet loss/mutilation...)?

There is such a big performance hole that it's really uninteresting if one 
runs syslogd on one machine and not on the other...

-Mano


pgpIuQsXrObQT.pgp
Description: PGP signature


Re: SSH suddenly giving pam error for existing user

2005-01-24 Thread Ian Moore
On Wed, 19 Jan 2005 18:33, Ian Moore wrote:
 Hi,
 I can normally ssh to my home computer (using password authentication), but
 today it's stopped working. The last time I did it was about 9 days ago
 from work  it worked then.
 The console log shows:
 Jan 19 17:04:25 daemon sshd[61084]: error: PAM: authentication error for
 imoore from firewall.

 I've tried connecting from 2 different remote hosts, one at work  another
 elsewhere - same result.

 When I got home today, I tried creating a new user  then ssh'ed to a
 remote machine  ssh'ed back to mine with the new username.
 I was able to log in OK as the new user.

 I then changed the password for my normal user  tried to ssh back with the
 new password, but I still can't login.

 I'm running 5.3-RELEASE-p2. I have upgraded a few ports since ssh last
 worked - openoffice and a few bit  pieces - I'm not sure what exactly.
 I haven't altered my ipfw config in that time, nor have I upgraded the base
 system or kernel.

 Can anyone think what might have caused this?

 Cheers,

Hi, I'm still having trouble with this.
I figured I should be able to fix it by renaming my home directory, then use 
rmuser to delete my account  create a new account with the same uid.

Well I figured wrongly! I still couldn't ssh to my new account.

Then I tried deleting that account  creating a new one with the same name but 
a different UID - still no joy. I just get error: PAM: authentication error 
for imoore every time.

So why does it work for new user with a different username? Is PAM somehow 
keeping the old password somewhere?

Cheers,
-- 
Ian

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Network Printing (continued)

2005-01-24 Thread B H
gabriel skrev:
Here's what I tried:
insomniac# echo wee | lpr -P HPPRINTER 
lpr: Unable to connect to /var/run/printer: No such file or directory
lpr: Check to see if the master 'lpd' process is running.
jobs queued, but cannot start daemon.
insomniac#
You need to backup the original lpd  lpr files.
Copy the cups versions of those files to that directory.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ipf ipnat ftp question

2005-01-24 Thread Erik Norgaard
dick hoogendijk wrote:
I want ftp services to and from the internet for my gateway and my lan
machines. I read the handbook but still have some questions. As I
understand I have to put two lines into my ipf.rules whe I use the IPNAT
built in ftp proxy.
#pass out quick on rl0 proto tcp from any to any port = 21 flags S keep state
# Allow in non-secure FTP ( both passive  active modes)
#pass in quick on rl0 proto tcp from any to any port = 21 flags S keep state
one thing at the time, let's first get your LAN clients ftp access to 
servers on the internet (then your users will give you peace to solve 
the other problems :-)

But I don't understand the proxy rules ;-( !!
What happens with the /29 thing? ??? Why isn't it /24 ??
Sorry, but if you give no info on your network how can we tell wether 
/24 or /29 is the right?

My network:
LAN GW  Internet
 xl1  xl0
xl1=172.16.0.1/16
xl0=62.x.x.x/32
My ipnat rules are:
map xl0 172.16.0.0/16 - 62.x.x.x/32 proxy port ftp ftp/tcp
map xl0 172.16.0.0/16 - 62.x.x.x/32 portmap tcp/udp auto
map xl0 172.16.0.0/16 - 62.x.x.x/32
This allows clients on 172.16.0.0/16 to connect to the outside using a 
many-one mapping. ftp-connections use the proxy. Make sure rules are in 
that order - ipnat is first match.

Please give me some hints on this.

### ip.nat.rules
###
# This rule will handle all the traffic for the internal LAN:
# map rl0 192.168.11.0/29 - 0/32 proxy port 21 ftp/tcp
# This rule handles the FTP traffic from the gateway.
# map rl0 0.0.0.0/0 - 0/32 proxy port 21 ftp/tcp
# This rule handles all non-FTP traffic from the internal LAN.
# map rl0 192.168.11.0/29 - 0/32
# Only one filter rule is needed for FTP if the NAT FTP proxy is used.
you have remmed out your rules and two rules for ftp-proxy - what are 
your rules?

Cheers, Erik
--
Ph: +34.666334818   web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


can't install port pkg_install

2005-01-24 Thread Olga Zenkova
Hi!
Can't install port pkg_install-20040802 on
FreeBSD-4.2. The port is successfully built, but on
command make install I get:

== Installing for pkg_install-20040802
== Generating temporary packing list
ln: illegal option -- h
usage: ln [-fisv] file 1 file2
ln: [-fisv] file ... directory
link file1 file2
*** Error code 1

Stop in /usr/ports/sysutils/pkg_install.

I don't understand this message. What can I do?

Thanks, Olga 



__ 
Do you Yahoo!? 
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Network Printing (continued)

2005-01-24 Thread gabriel
Thank for your reply, I appreciate it, but you know what's crazy that
worked. It apears that lpr was reading /usr/bin/lpr and well, it
looks like cups uses /usr/local/bin/lpr.

So needless to say it all works dandy now!!

Thanks again! :)


On Mon, 24 Jan 2005 09:48:59 +0100, B H [EMAIL PROTECTED] wrote:
 gabriel skrev:
 
  Here's what I tried:
  insomniac# echo wee | lpr -P HPPRINTER
  lpr: Unable to connect to /var/run/printer: No such file or directory
  lpr: Check to see if the master 'lpd' process is running.
  jobs queued, but cannot start daemon.
  insomniac#
 
 You need to backup the original lpd  lpr files.
 Copy the cups versions of those files to that directory.
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


-- 
gabriel,

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


cpu,memory info - issues ( newbie)

2005-01-24 Thread saravanan ganapathy
Hai 

I 've installed freebsd5.3 Rel on my dual processor.
I'm not sure that my OS detected dual cpu. Sysctl 
dmesg output just confused me.

dmesg Output
--

#dmesg | grep -i cpu

CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2399.33-MHz
686-class CPU)
  Hyperthreading: 2 logical CPUs
cpu0: ACPI CPU on acpi0
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%),
currently 100.0%

Sysctl Output
--

#sysctl -a | grep -i cpu

kern.threads.virtual_cpu: 1
kern.ccpu: 1948
kern.smp.maxcpus: 1
kern.smp.cpus: 1
hw.model: Intel(R) Xeon(TM) CPU 2.40GHz
hw.ncpu: 1
hw.acpi.cpu.throttle_max: 8
hw.acpi.cpu.throttle_state: 8
hw.acpi.cpu.cx_supported: C1/0
hw.acpi.cpu.cx_lowest: C1
hw.acpi.cpu.cx_usage: 100.00%
machdep.cpu_idle_hlt: 1
dev.cpu.0.%desc: ACPI CPU
dev.cpu.0.%driver: cpu
dev.cpu.0.%location: handle=\_PR_.CPU1
dev.cpu.0.%pnpinfo: _HID=none _UID=0
dev.cpu.0.%parent: acpi0

Memory info also looks different in both as 

dmesg Output
-
#dmesg | grep -i memory

real memory  = 2147418112 (2047 MB)
avail memory = 2095939584 (1998 MB)

Sysctl Output
-  
#sysctl -a | grep -i memory

Virtual Memory: (Total: 767K, Active 91556K)
Real Memory:(Total: 1049000K Active
35396K)
Shared Virtual Memory:  (Total: 6168K Active: 3748K)
Shared Real Memory: (Total: 5684K Active: 3524K)
Free Memory Pages:  1001152K
hw.cbb.start_memory: 2281701376
p1003_1b.memory_protection: 0
p1003_1b.shared_memory_objects: 1


Which one should I follow?

Sarav



__ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 

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


Rocketport uPCI ioaddr mapping failed under FreeBSD-5.3CURRENT

2005-01-24 Thread wsk
hi,folks:

  after installed RocketPort uPCI card into my box;it
dumps the follow eror msgs:

rp0: RocketPort PCI port 0xde00-0xdeff,0xdd80-0xddff mem
0xfcedff80-0xfced
irq 19 at device 10.0 on pci2
rp0: failed: rid 0x10 is memory, requested 4
rp0: ioaddr mapping failed for RocketPort(PCI).
device_attach: rp0 attach returned 6

and pciconfig the rp0:
[EMAIL PROTECTED]:10:0:  class=0x078000 card=0x080511fe chip=0x080511fe rev=0x01
hdr=0x00
vendor   = 'Comtrol Corp'
class= simple comms

and downloaded the 1800255A file and follwed the README from
www.comtrol.com. During the buildkernel, I got errors:

cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual  -fformat-extensions -std=c99  -nostdinc -I-  -I. -I../../..
-I../../../contrib/dev/acpica -I../../../contrib/altq
-I../../../contrib/ipfilter -I../../../contrib/pf
-I../../../contrib/dev/ath -I../../../contrib/dev/ath/freebsd
-I../../../contrib/ngatm -D_KERNEL -include opt_global.h -fno-common
-finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000  -mno-align-long-strings
-mpreferred-stack-boundary=2 -ffreestanding -Werror  ../../../dev/rp/rp.c
../../../dev/rp/rp.c: In function `rp_do_receive':
../../../dev/rp/rp.c:772: error: request for member `l_rint' in something
not a structure or union
../../../dev/rp/rp.c:820: error: request for member `l_rint' in something
not a structure or union
../../../dev/rp/rp.c: In function `rp_handle_port':
../../../dev/rp/rp.c:850: error: request for member `l_modem' in something
not a structure or union
../../../dev/rp/rp.c:854: error: request for member `l_modem' in something
not a structure or union
../../../dev/rp/rp.c:855: error: request for member `l_modem' in something
not a structure or union
../../../dev/rp/rp.c: In function `rp_do_poll':
../../../dev/rp/rp.c:903: error: request for member `l_start' in something
not a structure or union
../../../dev/rp/rp.c: In function `rp_attachcommon':
../../../dev/rp/rp.c:982: warning: assignment makes integer from pointer
without a cast
../../../dev/rp/rp.c:985: warning: assignment makes integer from pointer
without a cast
../../../dev/rp/rp.c:988: warning: assignment makes integer from pointer
without a cast
../../../dev/rp/rp.c:991: warning: assignment makes integer from pointer
without a cast
../../../dev/rp/rp.c:994: warning: assignment makes integer from pointer
without a cast
../../../dev/rp/rp.c:997: warning: assignment makes integer from pointer
without a cast
../../../dev/rp/rp.c: In function `rp_releaseresource':
../../../dev/rp/rp.c:1077: warning: passing arg 1 of `destroy_dev' makes
pointer from integer without a cast
../../../dev/rp/rp.c: In function `rpopen':
../../../dev/rp/rp.c:1088: error: argument dev doesn't match prototype
../../../dev/rp/rp.c:672: error: prototype declaration
../../../dev/rp/rp.c:1096: warning: passing arg 1 of `minor' makes pointer
from integer without a cast
../../../dev/rp/rp.c:1097: warning: passing arg 1 of `minor' makes pointer
from integer without a cast
../../../dev/rp/rp.c:1102: warning: passing arg 1 of `minor' makes pointer
from integer without a cast
../../../dev/rp/rp.c:1108: error: invalid type argument of `-'
../../../dev/rp/rp.c:1120: warning: passing arg 1 of `minor' makes pointer
from integer without a cast
../../../dev/rp/rp.c:1145: warning: assignment makes pointer from integer
without a cast
../../../dev/rp/rp.c:1150: warning: passing arg 1 of `minor' makes pointer
from integer without a cast
../../../dev/rp/rp.c:1200: warning: passing arg 1 of `minor' makes pointer
from integer without a cast
../../../dev/rp/rp.c:1201: warning: passing arg 1 of `minor' makes pointer
from integer without a cast
../../../dev/rp/rp.c:1202: error: request for member `l_modem' in
something not a structure or union
../../../dev/rp/rp.c:1212: warning: passing arg 1 of `minor' makes pointer
from integer without a cast
../../../dev/rp/rp.c:1221: error: request for member `l_open' in something
not a structure or union
../../../dev/rp/rp.c:1224: warning: passing arg 1 of `minor' makes pointer
from integer without a cast
../../../dev/rp/rp.c: In function `rpclose':
../../../dev/rp/rp.c:1246: error: argument dev doesn't match prototype
../../../dev/rp/rp.c:673: error: prototype declaration
../../../dev/rp/rp.c:1252: warning: passing arg 1 of `minor' makes pointer
from integer without a cast
../../../dev/rp/rp.c:1253: warning: passing arg 1 of `minor' makes pointer
from integer without a cast
../../../dev/rp/rp.c:1257: warning: passing arg 1 of `minor' makes pointer
from integer without a cast
../../../dev/rp/rp.c:1264: error: request for member `l_close' in
something not a structure or union
../../../dev/rp/rp.c:1271: warning: implicit declaration of function
`ttyclose'
../../../dev/rp/rp.c:1271: warning: nested extern declaration of `ttyclose'
../../../dev/rp/rp.c: In function `rpread':
../../../dev/rp/rp.c:1321: 

Dual booting w/ two disks

2005-01-24 Thread gabriel
I'm trying to dual boot FreeBSD and Windows XP with two different
disks, I have manged to get FreeBSD running and installed the boot
manager and grub on it.

When I boot into windows, I get some sort of boot loader error and it halts.

Here's my menu.lst:
color black/cyan yellow/cyan
default 0
fallback 1

# For booting FreeBSD

title FreeBSD - Unix
root (hd0,a)
kernel /boot/loader

# For booting Windows NT or Windows95

title Windows XP Menu

map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd0,1)
chainloader +1
makeactive

Any help would be greatly appreciated, at this point this is my last
project involving my pcs for a while and I'd like to  get 'er done
:)

Cheers!
-- 
gabriel,

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


Re: Sendmail: host name lookup failure

2005-01-24 Thread Paul A. Hoadley
[I didn't realise Joe's question was Cc'd to the list.  I replied
privately days ago.]

On Thu, Jan 20, 2005 at 09:28:43PM +, Joe Kraft wrote:

 have you found out any more about why it's not working?  I'm also
 curious about the entry in mailertable because my feeble attempt
 didn't work.

Adding this to /etc/mail/mailertable:

coremedicalsolutions.comesmtp:[192.168.10.70]

and running 'make maps' was all I needed to do.


-- 
Paul.

w  http://logicsquad.net/
h  http://paul.hoadley.name/


pgpAiiADn60Dg.pgp
Description: PGP signature


Re: Sendmail: host name lookup failure

2005-01-24 Thread Paul A. Hoadley
On Thu, Jan 20, 2005 at 05:03:05PM -0500, Niy wrote:

 Just a quick thought, I had a similar problem on my LAN. I set up
 /etc/hosts files, and that did the trick for me.

This was one of the first things I tried.  It didn't work in the
particular situation I described.


-- 
Paul.

w  http://logicsquad.net/
h  http://paul.hoadley.name/


pgpwfqeVUuTP2.pgp
Description: PGP signature


Re: samba printing

2005-01-24 Thread Mikko Heiskanen
On Mon, 2005-01-24 at 04:48, McCy Ron wrote:
 I have/had the same problem - couldn't print to the Samba shared printer 
 until I found in the
 Handbook a couple of line of code that were missing in my smb.conf
 
 [printers]
comment = Guttenburgs Pride
printable = yes
printing = BSD
printcap name = /etc/printcap
print command = /usr/bin/lpr -P%p -r %s
path = /var/spool/samba
min print space = 2000
public = yes
 
 I've got a printcap setting that uses a pass-through filter.
 Windows provides the drivers that talk to the printer correctly. BSD 
 need only pass the bytes through.
 
 ###
 ### printcap setup for Samba printer share..
 
 broxima|hplj4|Samba Laser:\
 :sh:\
 :lp=/dev/lpt0:sd=/var/spool/output/broxima:\
 :lf=/var/log/smbprt-errs:\
 :if=/usr/libexec/pass-prt:\
 
 ### pass-prt ..Pass through filter
 #!/bin/sh
 /bin/cat  exit 0
 exit

Right you are about the pass-through. I read from a webpage where there
was used a printcap entry with raw -driver. I understand it
accomplishes the same as the pass-through filter. Correct me if I'm
wrong.

I've done some more digging, and found the following to put into the
samba configuration file.

smb.conf:
print command = /usr/bin/lpr -P%S /var/spool/samba/%s; /bin/rm
/var/spool/samba/%s; /bin/echo %T %U %M %I %a %S
/var/spool/samba/smbprint.log

Which, ofcourse, keeps appending to the file, so one might want to
logrotate it.

So now it is working. Hope this helps others who have struggled to get
it work. Oh, and by the way, samba version is 2.2.8a.

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


Re: can't install port pkg_install

2005-01-24 Thread Giorgos Keramidas
On 2005-01-24 01:03, Olga Zenkova [EMAIL PROTECTED] wrote:
 Hi!
 Can't install port pkg_install-20040802 on FreeBSD-4.2. The port is
 successfully built, but on command make install I get:

 == Installing for pkg_install-20040802
 == Generating temporary packing list
 ln: illegal option -- h
 usage: ln [-fisv] file 1 file2
 ln: [-fisv] file ... directory
 link file1 file2
 *** Error code 1

 Stop in /usr/ports/sysutils/pkg_install.

 I don't understand this message. What can I do?

 Thanks, Olga

  - Is your ports tree up to date?

  - Are you using any special options on the command line?

  - Does your make.conf set NO_MTREE?

The only case for ln(1) to get an -h option that I could track in the
pkg_install installation comes from `bsd.port.mk' in `/usr/ports/Mk'
and is not normally enabled (unless you explicitly set NO_MTREE in
your make.conf file).

Giorgos

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


Re: Sendmail: host name lookup failure

2005-01-24 Thread Paul A. Hoadley
Hi,

Firstly, thanks for the comprehensive reply.

On Fri, Jan 21, 2005 at 04:06:32AM +0100, J65nko BSD wrote:

 It could be that the MS Windows DNS server, which is derived
 from/patterned after named or however you want to call it, suffers
 from a similar defect. Being not familiar with the MS DNS server,
 you could find out whether it it possible to disable IPV6. BIND has
 this option.

Interesting.  I did wonder whether disabling IPv6 in the Windows DNS
server was possible---it was going to be something I looked at, but I
stopped investigating once I found a workaround.

 RE: resolving unqualified hostnames

Thanks for the information and examples.

 RE: .ns.chariot.net.au. and ns2.chariot.net.au.

Thanks for the information.  The problem I originally described, of
course, is unrelated to these nameservers.  I never made it quite
clear enough in my original post, but the trouble I was having was
with an internal view of our domain namespace.  I'll let Chariot know
their nameservers are broken.


-- 
Paul.

w  http://logicsquad.net/
h  http://paul.hoadley.name/


pgppmCLCVN78n.pgp
Description: PGP signature


Re: Dual booting w/ two disks

2005-01-24 Thread Irvin Piraman
Get GAG (gag.sourceforge.net) and try booting to Windows... 

HTH

On Mon, 24 Jan 2005 01:27:45 -0800, gabriel [EMAIL PROTECTED] wrote:
 I'm trying to dual boot FreeBSD and Windows XP with two different
 disks, I have manged to get FreeBSD running and installed the boot
 manager and grub on it.
 
 When I boot into windows, I get some sort of boot loader error and it halts.
 
 Here's my menu.lst:
 color black/cyan yellow/cyan
 default 0
 fallback 1
 
 # For booting FreeBSD
 
 title FreeBSD - Unix
 root (hd0,a)
 kernel /boot/loader
 
 # For booting Windows NT or Windows95
 
 title Windows XP Menu
 
 map (hd0) (hd1)
 map (hd1) (hd0)
 rootnoverify (hd0,1)
 chainloader +1
 makeactive
 
 Any help would be greatly appreciated, at this point this is my last
 project involving my pcs for a while and I'd like to  get 'er done
 :)
 
 Cheers!
 --
 gabriel,
 
 Member of:
 FreeBSD-Announce
 FreeBSD-Hardware
 FreeBSD-Multimedia
 FreeBSD-questions
 ___
 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]


/var is lack of space!!

2005-01-24 Thread heccj

My box has Apahce,PureFtp,MySql services, it's hardware:128M memory,
i386 FSB 800Mhz,18G SCSI disk,FreeBSD 5.3.It's slice:
/   256M
/swap   256M
/tmp256M
/var300M
/usrothers
After installation,the useage is about 20%.But after few days,
it increases 50%,so i moved the http and ftp logs,mysql data to another
slice,but after several days it increases to 70%,now almost 90%.Perhaps
my box will crash serveral days.I checked the /var/log,it only use about
20M,/var/tmp only 100k.So who and where used the space?How should I do?

thanks every one,itis the first time i use freebsd's mailist.





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


Re: FreeBSD 5.3 I/O Performance / Linux 2.6.10

2005-01-24 Thread Oliver Fuchs
On Mon, 24 Jan 2005, Emanuel Strobl wrote:

 Am Montag, 24. Januar 2005 06:17 schrieb Oliver Fuchs:
 
   In addition, was on OS running a window manager and the other not? Was
   one running ssh and the other not, was FBSD running Linux emu? ... Was
   one running (insert program) and the other not...
 
  In addition to this:
  - how often did you run your test
  - what processes/daemons else where running
  - what is the contents of /etc/fstab
  - what is the contents of /etc/login.conf
  - what shell was used
  - what user was used
  - ... .
 
 Well, these aren't of big interest atm. I posted a question in -current 
 regarding horrible ftp transfer rates (fwe and em transfer rates).
 He was the only one answering and regrettably confirming my experience.
 First, tell me why a 866MHz PII machine is full loaded for transfering 22MB/s 
 (over em0 and ftp, disks can do more that 50MB/s, no switch, just direct 
 connect, no packet loss/mutilation...)?

Hi,
that is true but he was not testing the ftp transfer rates but instead
... use Postgresql  for our database needs  So I think that makes a
difference.

 There is such a big performance hole that it's really uninteresting if one 
 runs syslogd on one machine and not on the other...

Again he was not complaining about bad FreeBSD performance but he compared
two OSes and came to the conclusion that FreeBSD is not his first choice.
So his test was quiet good because his result was that FreeBSD is not the
operating system he would recommend.
So what I do not understand is why he is sending the mail. I
mean I do not want to offend/critisize anybody but he did the test and the
result was clear - so he can trust in that. He tried to run his test in a
standard environment (although if I had done it I would have used an
official release of FreeBSD and not current) and I only wanted to point to
some disturbing variabels ... that was all.

Maybe there is a performance problem with FreeBSD - but again that was not
his question.

Oliver
-- 
... don't touch the bang bang fruit
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can't install port pkg_install

2005-01-24 Thread Kris Kennaway
On Mon, Jan 24, 2005 at 01:03:53AM -0800, Olga Zenkova wrote:
 Hi!
 Can't install port pkg_install-20040802 on
 FreeBSD-4.2. The port is successfully built, but on
 command make install I get:
 
 == Installing for pkg_install-20040802
 == Generating temporary packing list
 ln: illegal option -- h
 usage: ln [-fisv] file 1 file2
 ln: [-fisv] file ... directory
 link file1 file2
 *** Error code 1
 
 Stop in /usr/ports/sysutils/pkg_install.
 
 I don't understand this message. What can I do?

Update to a supported version of FreeBSD (i.e. 4.10, 5.3, or wait for
4.11-R in a few days).  4.2 is long out of support, and does not have
sufficient features to use the current ports collection.

Kris


pgpONkWgAyMoj.pgp
Description: PGP signature


Transparent Proxy going astray

2005-01-24 Thread L.Norvydas
Hello, Paul,

I saw your message in freebsd-questions forum about transparent proxy. Right
now I'm facing the same problem: gateway with ipfw/natd and squid proxy on
different machine. Maybe you have solved this problem? Everywhere I look, I
see the same questions I'm asking, i.e. has anyone successfuly configured
gateway and proxy, working on different machines? :)

I have FreeBSD-4.10 with ipfw/natd working with quite complex ruleset and
other box with squid. When I install squid on the gateway machine and make
fwd GW_LOOPBACK,3128 tcp from MY_TEST_PC to any 80 then this squid works
just fine. But when I try to forward to other, not gateway machine, i.e.
fwd OTHER_BOX_WITH_SQUID,3128 tcp from MY_TEST_PC to any 80, then it isn't
working... I see packets maching fwd rule (counter increases), but no
traffic reaches squid machine.

I have wandered through lots of forums and mailing lists, but haven't found
solution until now. Thought maybe you have successfuly coped with this and
maybe you can help or advice something?

Lawrence, network / systems administrator

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


Re: /var is lack of space!!

2005-01-24 Thread Oliver Fuchs
On Mon, 24 Jan 2005, heccj wrote:

 
 My box has Apahce,PureFtp,MySql services, it's hardware:128M memory,
 i386 FSB 800Mhz,18G SCSI disk,FreeBSD 5.3.It's slice:
 / 256M
 /swap 256M
 /tmp  256M
 /var  300M
 /usr  others
 After installation,the useage is about 20%.But after few days,
 it increases 50%,so i moved the http and ftp logs,mysql data to another
 slice,but after several days it increases to 70%,now almost 90%.Perhaps
 my box will crash serveral days.I checked the /var/log,it only use about
 20M,/var/tmp only 100k.So who and where used the space?How should I do?

Hi,

run du on /var and find out what log exactly is filling up your directory.
If you cannot find anything notable maybe the /var slice was not umounted
properly so try to run fsck on it.

Oliver
-- 
... don't touch the bang bang fruit
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: change bootloader

2005-01-24 Thread Malcolm Kay
On Mon, 24 Jan 2005 04:13 pm, Oliver Fuchs wrote:
 On Mon, 24 Jan 2005, dick hoogendijk wrote:
  I installed the bootmng and now I have the F1 FreeBSD prompt at
  boottime. This is not what I want though.
  I want my disk to just boot into FreeBSD. I can't find the right option
  in boot0cfg to change this behaviour of my harddisk.
  Can I still change the F1 prompt into nothing? If so, how can this be
  done?

 Take a look at the FAQs:

 [...]
 3.9. Windows killed my boot manager! How do I get it back?
 [...]
 Boot the FreeBSD boot floppy again and go to the Custom installation menu
 item. Choose Partition. Select the drive which used to contain your boot
 manager (likely the first one) and when you come to the partition editor
 for it, as the very first thing (e.g. do not make any changes) select
 (W)rite. This will ask for confirmation, say yes, and when you get the Boot
 Manager selection prompt, be sure to select ``Boot Manager''. This will
 re-write the boot manager to disk. Now quit out of the installation menu
 and reboot off the hard disk as normal. [...]

My reading of the OP is that this is where he is! but doesn't like it.

He should do as you suggest except choose the Standard MBR option.

Malcolm

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


RELENG_4 vs RELENG_4_11

2005-01-24 Thread Geert Hendrickx
Hello, 

I'm tracking 4-STABLE (RELENG_4) on my machines.  After the release of
FreeBSD 4.11, will there go any more improvements into 4-STABLE?  Or
will RELENG_4 become the same as RELENG_4_11?  

GH

PS: please cc me.  

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


re: re: make: don't know how to make when trying to make world for a jail

2005-01-24 Thread Daniel Johansson
I was running a small script I wrote to set up a jail. I've used it before and
it works. It does just the same thing that the manpage for jail tells you to
do.

make_jail.sh:
#!/bin/sh

D=$1 
cd /usr/src 
mkdir -p $D 
make world DESTDIR=$D 
cd etc 
make distribution DESTDIR=$D 
mount_devfs devfs $D/dev 
cd $D 
ln -sf dev/null kernel


Then I just run that script with ./make_jail.sh
/usr/jail/jail.henrikssons.net.

I get the exact same output if I run make world
DESTDIR=/usr/jail/jail.henrikssons.net manually or with any other path.

make.conf:
# $FreeBSD: src/share/examples/etc/make.conf,v 1.218 2003/09/24 04:19:26 
gshapiro Exp $
#
# NOTE:  Please would any committer updating this file also update the
# make.conf(5) manual page, if necessary, which is located in
# src/share/man/man5/make.conf.5.
#
# /etc/make.conf, if present, will be read by make (see
# /usr/share/mk/sys.mk).  It allows you to override macro definitions
# to make without changing your source tree, or anything the source
# tree installs.
#
# This file must be in valid Makefile syntax.
#
# There are additional things you can put into /etc/make.conf.
# You have to find those in the Makefiles and documentation of
# the source tree.
#
#
# The CPUTYPE variable controls which processor should be targeted for
# generated code.  This controls processor-specific optimizations in
# certain code (currently only OpenSSL) as well as modifying the value
# of CFLAGS to contain the appropriate optimization directive to gcc.
# The automatic setting of CFLAGS may be overridden using the
# NO_CPU_CFLAGS variable below.
# Currently the following CPU types are recognized:
#   Intel x86 architecture:
#   (AMD CPUs)  athlon-mp athlon-xp athlon-4 athlon-tbird athlon k6-3
#   k6-2 k6 k5
#   (Intel CPUs)p4 p3 p2 i686 i586/mmx i586 i486 i386
#   Alpha/AXP architecture: ev67 ev6 pca56 ev56 ev5 ev45 ev4
#   Intel ia64 architecture: itanium
#
# (?= allows to buildworld for a different CPUTYPE.)
#
CPUTYPE=p3
#NO_CPU_CFLAGS= true# Don't add -march=cpu to CFLAGS automatically
#NO_CPU_COPTFLAGS=true  # Don't add -march=cpu to COPTFLAGS automatically
#
# CFLAGS controls the compiler settings used when compiling C code.
# Note that optimization settings above -O (-O2, ...) are not recommended
# or supported for compiling the world or the kernel - please revert any
# nonstandard optimization settings to -O before submitting bug reports
# to the developers.
# Note also that at this time the -O2 setting is known to produce BROKEN
# CODE on the Alpha platform.
#
CFLAGS= -O -pipe
#
# CXXFLAGS controls the compiler settings used when compiling C++ code.
# Note that CXXFLAGS is initially set to the value of CFLAGS.  If you wish
# to add to CXXFLAGS value, += must be used rather than =.  Using =
# alone will remove the often needed contents of CFLAGS from CXXFLAGS.
#
#CXXFLAGS+= -fmemoize-lookups -fsave-memoized
#
# MAKE_SHELL controls the shell used internally by make(1) to process the
# command scripts in makefiles.  Three shells are supported, sh, ksh, and
# csh.  Using sh is most common, and advised.  Using ksh *may* work, but is
# not guaranteed to.  Using csh is absurd.  The default is to use sh.
#
#MAKE_SHELL?=sh
#
# BDECFLAGS are a set of gcc warning settings that Bruce Evans has suggested
# for use in developing FreeBSD and testing changes.  They can be used by
# putting CFLAGS+=${BDECFLAGS} in /etc/make.conf.  -Wconversion is not
# included here due to compiler bugs, e.g., mkdir()'s mode_t argument.
#
#BDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \
#   -Wcast-qual -Wchar-subscripts -Winline \
#   -Wmissing-prototypes -Wnested-externs -Wpointer-arith \
#   -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings
#
# To compile just the kernel with special optimizations, you should use
# this instead of CFLAGS (which is not applicable to kernel builds anyway).
# There is very little to gain by using higher optimization levels, and doing
# so can cause problems.
#
COPTFLAGS= -O -pipe
#
# To build the system compiler such that it forces high optimization levels to
# a lower one.  GCC -O2+ is known to trigger known optimizer bugs at various
# times -- this is worse on the Alpha platform.  The value assigned here will
# be the highest optimization value used.
#WANT_FORCE_OPTIMIZATION_DOWNGRADE=1
#
# Compare before install
#INSTALL=install -C
#
# Mtree will follow symlinks
#MTREE_FOLLOWS_SYMLINKS= -L
#
# To build ppp with normal permissions
#PPP_NOSUID=true
#
# To enable installing ssh(1) with the setuid bit turned on
#ENABLE_SUID_SSH=   true
#
# To enable installing newgrp(1) with the setuid bit turned on.
# Without the setuid bit, newgrp cannot change users' groups.
#ENABLE_SUID_NEWGRP=true
#
# To avoid building various parts of the base system:
#NO_CVS=true# do not build CVS
#NO_CXX=true# do not build C++ and friends
NO_BIND=   

Re: RELENG_4 vs RELENG_4_11

2005-01-24 Thread Erik Trulsson
On Mon, Jan 24, 2005 at 12:15:18PM +0100, Geert Hendrickx wrote:
 Hello, 
 
 I'm tracking 4-STABLE (RELENG_4) on my machines.  After the release of
 FreeBSD 4.11, will there go any more improvements into 4-STABLE? 

Almost certainly. We still get the occasional commit to RELENG_3 and it
is a long time since the last 3.x release was made.

The amount of new stuff that makes it into RELENG_4 will of course
dwindle as time goes on, but there will probably be some.

 Or
 will RELENG_4 become the same as RELENG_4_11?  

No.

-- 
Insert your favourite quote here.
Erik Trulsson
[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: sk0: not freezing up, looking good!! but....

2005-01-24 Thread T.F. Cheng

  whole thing up, this is good really good
 however, it still can't do DHCP
 
 Do you have
 
 devicebpf
 
 in your kernel config? dhclient(8) needs it.

yup! i do!



 
 Actually, if you upgraded your source from
 5.3-RELEASE to STABLE, you 
 definitely should rebuild world then the kernel,
 install kernel, world, 
 etc. IOW, go though the full procedure outlined in
 the handbook. 
 Although it's possible to rebuild just the kernel or
 parts of the world 
 in some circumstances, you should rebuild the whole
 thing if you're 
 updating more than some isolated parts. The source
 you have now likely 
 requires the world and kernel be built, although I
 cannot say for sure 
 (am not tracking STABLE), but this is by far the
 safest way.
 
 - jt
okay! then i shall do world and stuff to rebuild the
system, actually, just when I replug the cable from
xl0 interface back to sk0, my system freezed up,
sign :-(

  

=
Best Regards,

Tsu-Fan Cheng

_
Do You Yahoo!?
 @yahoo.com  @ http://chinese.mail.yahoo.com
Get your free @yahoo.com address at http://chinese.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: Cheap, reliable mass storage

2005-01-24 Thread markzero
  To clarify, I'm looking for long-term reliability, low cost and large
  space rather than high performance. I have a budget of around $600-900
  to spend but I would not have to buy a PC as I have plenty of old
  machines (average spec: Intel P3 700mhz) laying around that would=20
  probably be up to the job.
 
 You can buy lots of storage for $900...  How much storage do you need?
 
 One way to do it.  Take one machine, get 2 large drives for the data, one
 smaller drive for the OS and a CD-ROM drive.  Send all the data to the
 first data drive and configure OS to sync second drive every 24 hours.
 
 If you have a pranoia about safety of the data on one machine, buy
 external drive enclosure.  Attach external drive only when it is time
 to run a backup.

Oops, that's quite an important bit of information to miss isn't it. I
was hoping to grab around 1TB of storage, but I'm not sure how likely
this is with the current budget. I was thinking of buying 4 x 300gb
drives and a RAID card from Promise. I would then do as you'd advised
and put a small 4gb drive in the machine with a mini-install of FreeBSD.

Do you think there would be any problem with this? I'd like to get all
issues ironed out before I go off spending... :)

Mark


pgpX8E4ZCfrvq.pgp
Description: PGP signature


Re: port update problem - newbie

2005-01-24 Thread saravanan ganapathy

--- Tabor Kelly
[EMAIL PROTECTED] wrote:

 saravanan ganapathy wrote:
 
 snip
 
  --- Erik Norgaard [EMAIL PROTECTED] wrote:
  Since I am very new to freebsd, I am not sure abt
 the
  ports collections which I don't want.
 
 Since you are new, I will give you some (ports)
 advice:
 
 1. Always update all of your ports so that you can
 use portupgrade.
 2. Use portupgrade.
 3. Read /usr/ports/UPDATING if you want things to go
 smoothly.
 4. If you forget step 3, and step 3 happens to have
 some bad news in it 
 (usually pertaining to gettext), 'portupgrade -rRf
 [some port]' can work 
 wonders.
 5. Don't forget to do a 'portsdb -uU' after
 cvsup'ing your ports.
 
 My quick start to portupgrade: 

http://tabor.taborandtashell.net/serversetup/ports.html
 Where I learned about portupgrade:

http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html
 

The above link was very useful to me and I 've learnt
the portupgrade procedure.

I am also looking for package management. I know that
a package can be installed using 'pkg_add -r
sendmail'. But how to keep update these packages like
ports?

I need to choose either ports or packages. 

Sarav








__ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.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: /var is lack of space!!

2005-01-24 Thread John
On Mon, Jan 24, 2005 at 06:27:11PM +0800, heccj wrote:
 
 My box has Apahce,PureFtp,MySql services, it's hardware:128M memory,
 i386 FSB 800Mhz,18G SCSI disk,FreeBSD 5.3.It's slice:
 / 256M
 /swap 256M
 /tmp  256M
 /var  300M
 /usr  others
 After installation,the useage is about 20%.But after few days,
 it increases 50%,so i moved the http and ftp logs,mysql data to another
 slice,but after several days it increases to 70%,now almost 90%.Perhaps
 my box will crash serveral days.I checked the /var/log,it only use about
 20M,/var/tmp only 100k.So who and where used the space?How should I do?
 
 thanks every one,itis the first time i use freebsd's mailist.

This is a good way to find out where the storage is being used:
cd /var ; du -s * | sort -nr | more
That will give you a list, sorted from most storage to least, of
each directory (or file) at the /var level.  You can then choose
to descend into one of those, and run the command again, to drill
deeper.

This is slightly manual, but I find it helpful to stop and think
at each level what it is telling me and what it means.
-- 

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


Audio Driver

2005-01-24 Thread
Hello.
My name ia Aleksey.
I have an old sound card which name is opti 82c930a and I can't enable 
it to play the music.
Tell me please how can I solve this problem.
Bye.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Internet sharing authentication

2005-01-24 Thread Gareth Bailey
Greetings,

I have set up a FreeBSD gateway/firewall with ipf and ipnat in the
past, but I am now confronted with a new challenge. I need to setup
the firewall to only allow internet (www) access to users who
successfully authenticate themselves with a username/password
combination.

Ideally, a user will open their web browser and be confronted with a
authentication popup before gaining access to browse the web. Users
should be able to access mail without authentication.

Please advise on what I might use to do this.

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


RE: Internet sharing authentication

2005-01-24 Thread Walker, Michael

 Greetings,
 
 I have set up a FreeBSD gateway/firewall with ipf and ipnat in the
 past, but I am now confronted with a new challenge. I need to setup
 the firewall to only allow internet (www) access to users who
 successfully authenticate themselves with a username/password
 combination.
 
 Ideally, a user will open their web browser and be confronted with a
 authentication popup before gaining access to browse the web. Users
 should be able to access mail without authentication.
 
 Please advise on what I might use to do this.
 
 Thanks,
 Gareth

You could setup some kind of proxy server on the gateway machine, and
configure all the clients to use that as their primary proxy.

HTH
Mick


**
This email and any files transmitted with it are confidential, and may be 
subject to legal privilege, and are intended solely for the use of the 
individual or entity to whom they are addressed.  
If you have received this email in error or think you may have done so, you may 
not peruse, use, disseminate, distribute or copy this message. Please notify 
the sender immediately and delete the original e-mail from your system.

Computer viruses can be transmitted by e-mail. Recipients should check this 
e-mail for the presence of viruses. The Capita Group and its subsidiaries 
accept no liability for any damage caused by any virus transmitted by 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: Audio Driver

2005-01-24 Thread tanja pislar
hi Aleksey,

as a first thing i would suggest to try the steps described in the
freeBSD handbook:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html
i had some problems with sound on my aptop as well, but that mad eit
work alright :)

regards,
tanja


On Mon, 24 Jan 2005 16:20:32 +0300,  
[EMAIL PROTECTED] wrote:
 Hello.
 My name ia Aleksey.
 I have an old sound card which name is opti 82c930a and I can't enable
 it to play the music.
 Tell me please how can I solve this problem.
 Bye.
 ___
 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: A stupid thing I've done...

2005-01-24 Thread Ruben de Groot
On Sun, Jan 23, 2005 at 12:37:04AM +0100, Gregory Nou typed:
 Hi !
 I've tried to chroot an user, so i create /home/this_user/usr and the 
 other needed directories, but later, I wanted to delete them (as root of 
 course) and i typed rm -r /usr instead of rm -r usr ...
 It asked me if  i wanted to overwrite su, so i saw my mistake, and 
 cancelled, but i don't have adduser, man, ee and ... make anymore !
 How can I repair that ? can i do something without reinstalling 
 everything ? (I need at least make... and I'm quite reluctant at 
 compiling /usr/src/usr.bin/make ... So i hope there is another way)

Depending on the branch your system is on (I assume 5.x), you could 
download the latest release relative to your system, mount the cd and
do:

/rescue/cat /cdrom/base/base.?? | /rescue/tar --unlink -xpzf - -C / usr/

This will reinstall everything under /usr and probably get you a workable
system again.

G'Luck,
Ruben

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


Re: Error installing softwares on FreeBSD system

2005-01-24 Thread Martin Hepworth
HI

I think you will need to make cvsup first from the ports directory,
Then use cvsup to get the latest version of ports tree. See
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html
for more details..

--
Martin


On Fri, 21 Jan 2005 18:06:09 GMT, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
 
  I completed the BSD 5.3 instllation on my Dell Desktop using the first CD of 
 the 4 CD set. I installed all the ports and distributions in the first CD. 
 But when I tried to 'make install' emacs from the /usr/ports/editors/emacs20 
 directory I get a lot of messages which says 'Attemting to fetch from :ftp 
 site name : No address record
 And finally an error message which says:
Couldn't fetch it - please try to retrieve this port manually into 
 usr/ports/distfiles and try again
 Error code 1
 Same is the case with other softwates and utilities.
 
 I don't have FTP configured on my computer. Do I have to get the CVS 
 repository installed? If so please give me the instructions or a link. Is it 
 necessary that I install the rest of the CDs?
 ___
 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]


xf86config for Toshiba satellite pro laptop

2005-01-24 Thread Riaan de Klerk
hi there i am stuck i have a older auwa laptop and cant find the s3 savage
86c270 video driver for it.
could you be as kind as to assist me in finding it.

Kind regards.

Riaan de Klerk
CEOS Sales Representative

Tel:(011) 792-2279
Fax:(011) 792-2488
Cell: 083-730-1427
E-mail: [EMAIL PROTECTED]
Charlene: [EMAIL PROTECTED]

Boskruin Business Park
Unit 11
Bosbok Road
Randpark Ridge
x58

This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
Dissemination, distribution or copying of this e-mail or the information
herein by anyone other than the intended recipient,
 or an employee or agent responsible for delivering the message to the
intended recipient, is prohibited.







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


Re: Internet sharing authentication

2005-01-24 Thread Erik Norgaard
Gareth Bailey wrote:
Greetings,
I have set up a FreeBSD gateway/firewall with ipf and ipnat in the
past, but I am now confronted with a new challenge. I need to setup
the firewall to only allow internet (www) access to users who
successfully authenticate themselves with a username/password
combination.
Ideally, a user will open their web browser and be confronted with a
authentication popup before gaining access to browse the web. Users
should be able to access mail without authentication.
Squid seems to be your friend for www/ftp.
What do you mean by accessing mail without authenticatoin? hotmail or 
similar? If you want to provide mail service yourself, then users must 
authenticate in order not to be able to read others mail, also by 
authenticating smtp and only allow smtp to your server you prevent virus 
and spambots from spreading.

Cheers, Erik
--
Ph: +34.666334818   web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


compiling kernel

2005-01-24 Thread Josip
Let me first just say that I'm new to FreeBSD. I'm tring to compile a 
custom kernel and when I do make buildkernel KERNCONF=NEWKERN  I get  
this:
perl5 /usr/src/sys/kern/vnode_if.pl -h /usr/src/sys/kern/vnode_if.src
perl5:No such file or directory.

Both files are in the specified dir.
When I run the above command manualy it execues OK and creates the file 
vnode_if.h in pwd.

What am I doing wrong?
Thanks!
PS Also if I do make buildkernel KERNCONF=GENERIC I get the same error!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: I do not understand kernel modules

2005-01-24 Thread Daniel Bye
On Fri, Jan 21, 2005 at 03:57:35PM +0100, Colin J. Raven wrote:
 On Jan 21 at 08:42, Gardner Bell wrote:
 
  On Fri, Jan 21, 2005 at 12:55:32AM +0100 Ramiro Aceves wrote:
  Jorn Argelo wrote:
  On Thu, 20 Jan 2005 13:38:54 +0100, Ramiro Aceves wrote
 
 
  Yes, I understand now. The problem is that my old pentium machine takes
  very long time to compile all the modules even if I am not going to use
  them. I would like to compile only the modules I use, to reduce
  compiling time. Is that possible?
 
  Refer to the option MODULES_OVERRIDE in man make.conf(5) if you wish
  to only compile certain modules.
 
 Thanks for this! I'm approaching a critical  rite of passage today 
 conincidentally, by recompiling my kernel and getting rid of stuff I 
 don't need.
 Doing what you suggest sounds eminently sensible, yet I have to ask a 
 followup question...
 
 How do you specify a particular make.conf that should *only* be used for 
 recompiling kernels?

As far as I know, there is no need to do so - some knobs are relevant
only to buildworld/buildkernel and others are only relevant to ports
builds, and some bits are relevant to both.  The build system is smart
enough to not contaminate environments with bits that shouldn't be
there.

At least, this is my understanding of it...

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpwgIEvbbUdZ.pgp
Description: PGP signature


FreeBSD and SANs

2005-01-24 Thread Wood, Bradley

Hi

I am wanting to access a SAN from FreeBSD. Is there any support for this to
you knowledge? If so, can anyone recommend a hardware solution that worked
well? Additionally, if anyone is aware of hosting firms that provide and
support FreeBSD nodes co-lo managed but also provide per gigabyte pricing on
SAN-accessible storage I would be most interested.

Thanks

Bradley

This email may contain confidential material.  If you were not an
intended recipient, please notify the sender and delete all copies.
We may monitor email to and from our network.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


strange log files ..

2005-01-24 Thread faisal gillani
there are so many my private ip name log files present
on my system ...

my network ip scheme is 10.0.0.
why is that ?



log.0.0.0.0 log.10.0.0.225 
log.smbd.old
log.10.0.0.1log.10.0.0.23  
lpd-errs
log.10.0.0.108  log.10.0.0.23.old  
maillog
log.10.0.0.109  log.10.0.0.234 
maillog.0.bz2
log.10.0.0.11   log.10.0.0.236 
maillog.1.bz2
log.10.0.0.110  log.10.0.0.237 
maillog.2.bz2
log.10.0.0.111  log.10.0.0.240 
maillog.3.bz2
log.10.0.0.118  log.10.0.0.240.old 
maillog.4.bz2
log.10.0.0.125  log.10.0.0.242 
maillog.5.bz2
log.10.0.0.127  log.10.0.0.248 
messages
log.10.0.0.134  log.10.0.0.249 
messages.0.bz2
log.10.0.0.138  log.10.0.0.25  
messages.1.bz2
log.10.0.0.146  log.10.0.0.254 
messages.2.bz2
log.10.0.0.150  log.10.0.0.26  
mount.today
log.10.0.0.153  log.10.0.0.28  
ppp.log
log.10.0.0.157  log.10.0.0.3samba
log.10.0.0.157.old  log.10.0.0.30  
scrollkeeper.log
log.10.0.0.16   log.10.0.0.31  
security
log.10.0.0.162  log.10.0.0.43  
sendmail.st
log.10.0.0.168  log.10.0.0.46  
sendmail.st.0
log.10.0.0.181  log.10.0.0.47  
sendmail.st.1
log.10.0.0.181.old  log.10.0.0.5   
setuid.today
log.10.0.0.183  log.10.0.0.51  
slip.log
log.10.0.0.186  log.10.0.0.52  
userlog
log.10.0.0.187  log.10.0.0.53   wtmp
log.10.0.0.189  log.10.0.0.56  
xferlog
log.10.0.0.19   log.10.0.0.67

=
*º¤., ¸¸,.¤º*¨¨¨*¤ Allah-hu-Akber*º¤., ¸¸,.¤º*¨¨*¤

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://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]


missing files in system boot .

2005-01-24 Thread faisal gillani
there are some missing file error in the system start
up .. 
these files are related to samba deamon , which by the
way is running fine ..
what can be the case here ?




Jan 24 12:51:23 website kernel: /libexec/ld-elf.so.1: 
Jan 24 12:51:23 website kernel: Shared object
libldap-2.2.so.7 not found, requ
ired by smbd
Jan 24 12:51:23 website kernel: 
Jan 24 12:51:23 website kernel: nmbd
Jan 24 12:51:23 website kernel: /libexec/ld-elf.so.1: 
Jan 24 12:51:23 website kernel: Shared object
libiconv.so.3 not found, require
d by nmbd
Jan 24 12:51:23 website kernel: 
Jan 24 12:51:23 website kernel: add net default:
gateway 10.0.0.1
Jan 24 12:51:23 website kernel: Additional routing
options:
Jan 24 12:51:23 website kernel: .
Jan 24 12:51:23 website kernel: Starting devd.
Jan 24 12:51:23 website kernel: smbd
Jan 24 12:51:23 website kernel: /libexec/ld-elf.so.1: 
Jan 24 12:51:23 website kernel: Shared object
libldap-2.2.so.7 not found, requ
ired by smbd
Jan 24 12:51:23 website kernel: 
Jan 24 12:51:23 website kernel: nmbd
Jan 24 12:51:23 website kernel: /libexec/ld-elf.so.1: 
Jan 24 12:51:23 website kernel: Shared object
libiconv.so.3 not found, require
d by nmbd
Jan 24 12:51:23 website kernel: 
Jan 24 12:51:23 website kernel: smbd
Jan 24 12:51:23 website kernel: /libexec/ld-elf.so.1: 
Jan 24 12:51:23 website kernel: Shared object
libldap-2.2.so.7 not found, requ
ired by smbd
Jan 24 12:51:23 website kernel: 
Jan 24 12:51:23 website kernel: nmbd
Jan 24 12:51:23 website kernel: /libexec/ld-elf.so.1: 
Jan 24 12:51:23 website kernel: Shared object
libiconv.so.3 not found, require
d by nmbd


=
*º¤., ¸¸,.¤º*¨¨¨*¤ Allah-hu-Akber*º¤., ¸¸,.¤º*¨¨*¤

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://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: FreeBSD 5.3 I/O Performance / Linux 2.6.10

2005-01-24 Thread Matthias Buelow
Chris wrote:
In addition, was on OS running a window manager and the other not? Was 
I seriously doubt that raw disk performance of such a test is noticably 
affected by the existence of a window manager, or sshd...

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


Re: ndis0: link down after idle time

2005-01-24 Thread lreid

Hendrik - are you certain it is a rev. B3 with the ar5213 chipset? The
ath driver on my box attempts to hook, but fails. I get these kernel
messages:

ath0: Atheros 5212 mem 0xd680-0xd68 0 irq 5 at device 10.0 on
pci0
ath0: unable to attach hardware; HAL status 13
kernel: device_attach: ath0 attach returned 6

On 1/24/2005, Hendrik Spiegel [EMAIL PROTECTED] wrote:

Hi,

I use the same D_Link card as you do, although I use it successfully
with the native ath driver.

On Sun, 2005-01-23 at 22:23 -0600, [EMAIL PROTECTED] wrote:
 I am running FreeBSD 5.3-stable and have had limited success with a
 d-link DWL-G520 card, rev B3 (atheros ar5213 chipset). I had hoped that
 I would have purchased a card with a supported native driver (ath),

You probably did ;)
 The card works well, albeit only in 802.11b 11mb/s adhoc mode,

I can reproduce this with the native driver. 11g is sometimes down to a
few kBit and 500-1000ms when I switch to 11b speed is ok and times are
25-40ms.


 that I can't figure out. After about an hour or so of idle time on the
 link, the interface brings itself down and cannot be resurrected unless
 I issue a command through ifconfig to bring the interface up again. Does
 anyone else experience this problem and/or have a solution?

I will watch this - I do not remember exactly if there were such
problems.

FreeBSD mars.local 5.3-RELEASE-p2 FreeBSD 5.3-RELEASE-p2 #0: Mon Jan 10
23:27:32 CET 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BTKERNEL
i386

[EMAIL PROTECTED]:9:0:  class=0x02 card=0x3a131186 chip=0x0013168c rev=0x01
hdr=0x00
vendor   = 'Atheros Communications Inc.'
device   = 'AR5213 802.11a/b/g Wireless Adapter'
class= network
subclass = ethernet

ath0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 192.168.0.2 netmask 0xff00 broadcast 192.168.0.255
ether 00:0f:3d:ab:9a:b6
media: IEEE 802.11 Wireless Ethernet autoselect mode 11b
(DS/11Mbps)
status: associated
ssid LokalHorst 1:LokalHorst
channel 4 authmode OPEN powersavemode OFF powersavesleep 100
rtsthreshold 2312 protmode CTS
wepmode MIXED weptxkey 1
wepkey 1:104-bit


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


Re: strange log files ..

2005-01-24 Thread Daniel S. Haischt
log.10.0.0.x files are samba log. Each smb clients
that connects to your samba instance gets its own
log file.
Are you running DHCP?
Are you restricting access to your sambe server?
For example are you denying access from the internet
to samba?
faisal gillani schrieb:
there are so many my private ip name log files present
on my system ...
my network ip scheme is 10.0.0.
why is that ?

log.0.0.0.0 log.10.0.0.225 
log.smbd.old
log.10.0.0.1log.10.0.0.23  
lpd-errs
log.10.0.0.108  log.10.0.0.23.old  
maillog
log.10.0.0.109  log.10.0.0.234 
maillog.0.bz2
log.10.0.0.11   log.10.0.0.236 
maillog.1.bz2
log.10.0.0.110  log.10.0.0.237 
maillog.2.bz2
log.10.0.0.111  log.10.0.0.240 
maillog.3.bz2
log.10.0.0.118  log.10.0.0.240.old 
maillog.4.bz2
log.10.0.0.125  log.10.0.0.242 
maillog.5.bz2
log.10.0.0.127  log.10.0.0.248 
messages
log.10.0.0.134  log.10.0.0.249 
messages.0.bz2
log.10.0.0.138  log.10.0.0.25  
messages.1.bz2
log.10.0.0.146  log.10.0.0.254 
messages.2.bz2
log.10.0.0.150  log.10.0.0.26  
mount.today
log.10.0.0.153  log.10.0.0.28  
ppp.log
log.10.0.0.157  log.10.0.0.3samba
log.10.0.0.157.old  log.10.0.0.30  
scrollkeeper.log
log.10.0.0.16   log.10.0.0.31  
security
log.10.0.0.162  log.10.0.0.43  
sendmail.st
log.10.0.0.168  log.10.0.0.46  
sendmail.st.0
log.10.0.0.181  log.10.0.0.47  
sendmail.st.1
log.10.0.0.181.old  log.10.0.0.5   
setuid.today
log.10.0.0.183  log.10.0.0.51  
slip.log
log.10.0.0.186  log.10.0.0.52  
userlog
log.10.0.0.187  log.10.0.0.53   wtmp
log.10.0.0.189  log.10.0.0.56  
xferlog
log.10.0.0.19   log.10.0.0.67

=
*º¤., ¸¸,.¤º*¨¨¨*¤ Allah-hu-Akber*º¤., ¸¸,.¤º*¨¨*¤
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://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]
--
Mit freundlichen Gruessen / With kind regards
DAn.I.El S. Haischt
Want a complete signature??? Type at a shell prompt:
$  finger -l [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: FreeBSD 5.3 I/O Performance / Linux 2.6.10

2005-01-24 Thread Matthias Buelow
Oliver Fuchs wrote:
Maybe there is a performance problem with FreeBSD - but again that was not
his question.
I don't know why people are so obsessed with performance.. after all, 
you can't really load stock Unix systems properly anyways (like, say, an 
IBM mainframe, which you can keep at 90+% loaded all the time), so it 
really doesn't matter, as long as the machine is fast enough.  What 
matters a _lot_ more, imho, is stability and robustness, and imho here 
the attention should lie at this early stage of the 5.x tree.  5.3 
robustness is far from spectacular, there're too many ugly bugs still 
around to bother about peak performance improvements just yet.  Make it 
reliable first, and only then fast.

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


Re: samba printing

2005-01-24 Thread Warren Block
On Sun, 23 Jan 2005, McCy Ron wrote:
I've got a printcap setting that uses a pass-through filter.
Windows provides the drivers that talk to the printer correctly. BSD need 
only pass the bytes through.

###
### printcap setup for Samba printer share..
broxima|hplj4|Samba Laser:\
  :sh:\
  :lp=/dev/lpt0:sd=/var/spool/output/broxima:\
  :lf=/var/log/smbprt-errs:\
  :if=/usr/libexec/pass-prt:\
### pass-prt ..Pass through filter
#!/bin/sh
/bin/cat  exit 0
exit
That looks like it is the same as having no input filter at all, i.e.:
 broxima|hplj4|Samba Laser:\
   :sh:\
   :lp=/dev/lpt0:sd=/var/spool/output/broxima:\
   :lf=/var/log/smbprt-errs:
-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


pxe boot: BTX halted

2005-01-24 Thread Norbert Koch
Hello,
I am desperately trying to get pxe boot running.

The client machine is a PentiumMMX/166MHz which successfully
boots FreeBSD from hard disk. It is connected to the server
machine's second ethernet card xl0 (3com).
I can boot the client with etherboot from a floppy withoudt problems,
but usually have no floppy connected to the machine.

When I run ethereal on the server machine I see successful
dhcp and tftp requests. No obvious problems.

The client machine comes up with Intel UNDI PXE-2.0 (build 074).

PXEBOOT usually crashes with int 6 or int d.
CS:EIP points to nothing: ff ff ff ff ...
The final message is: 'BTX halted'.

Any idea?

Thank you,

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


Problem with nss_ldap in FreeBSD 5.3-RELEASE/AMD64

2005-01-24 Thread Nathan Vidican
Hey All,

Not entirely sure which list this should be sent to, so I figured sending to
the general list would be a good start. If there's a more appropriate list,
could someone kindly reply and direct me as to who else may be better able
to help solve or at least point me in the right direction to solve this
problem myself. - Thanks.

That said, here goes; I am apparently encountering an overflow of sorts with
nss_ldap on FreeBSD:

-
Currently running OpenLDAP server, to store all local
usernames/passwords/groups/shells/homedirs info. The accounts are shared
between the system on the FreeBSD side using posixAccount attributes, and on
the Windows side using sambaSamAccount attributes. We are using the FreeBSD
port of LAM to create/modify/manage users and groups internally through a
web-based interface running on Apache/php. Further details, including
version specifics, etc will follow, just prefer to give you an idea of the
problem we're having before wasting your time reading all the really
specific stuff.

Here's the problem, only a few selected usernames (4 out of about 190 or
so), root cannot do a 'cd ~username'. This seems to cause issues with samba,
and the list just goes on from there. What happens when one logged in as
root types in the command 'cd ~username', is apparently an overflow of some
sort which leaves one connected to the LDAP session, a simple [CRTL]+D
releases one back to console. This same condition occurs when ANY user (not
just root) attempts to cd to one of these 4 user directories; what troubles
me most, is this happens regardless of permission issues to the filesystem,
as it is apparently during the username lookup that it happens, to what
extent the open session can allow someone access as an intruder of sorts I
do not know - but nonetheless fear as an administrator, that this could be a
security risk as well. I have attached a UNICODE txt file of a session which
shows what one gets on the console when one attempts to 'cd ~USERNAME',
where 'USERNAME' was edited removing the original username.


Here's what I've tried to resolve the issue:

First tried re-creating the user objects in the LDAP tree, failing that, I
removed them, and re-created them with different UID numbers; essentially
making them different objects with different distinctive names (DN's) in the
database - nothing, same problem.

Removed and re-created the physical directory entries on the disk as well,
including proper ownership and permissions each time I changed the
associated entry in the LDAP tree as well - even tried changing where/which
disk the homedir was physically stored on.

Lastly, I tried removing the entire LDAP database, and restoring FIRST the
troublesome users only - same problem still. Added in the rest of the users
via an LDIF export (backup of db before I toasted it) - still same problem.
I figure spelling can't really be an issue; all usernames here follow the
same convention (first letter of first name, followed by first 7 characters
of last name, no numeric nor punctual characters of any sort). All four
usernames are phonetically distinct and do not share any alphabetic pattern
whatsoever either (I'd prefer not to send them out to the general list, as
this machine is currently in production, and given the nature of what these
accounts are causing I'd prefer not opening up a whole new security risk
here).

More Detailed Information Follows:
--
FreeBSD 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov  5 03:50:01 UTC 2004
amd64
OpenLDAP nss_ldap  pam_ldap installed from ports-tree, using versions as
follows
  (pkg_info -a reports: openldap-client-2.2.15, openldap-server-2.2.15,
pam_ldap-1.7.1_1, nss_ldap-1.204_5)
Samba Version Samba-3.0.8, compiled with LDAP SAM support, acting as PDC for
Win2K/WinXP Clients

Still running GENERIC kernel (intent upon eventually getting around to
making a new one, removing a lot of debugging and what-not once all is up
and running well for a boost in performance).

The machine is an AMD Opteron 146-based system, with 2GB ECC registered
memory, (dual capable board, eventually going to go with dual 246 Opterons
when we can take them from a workstation and upgrade the workstation to
faster cpus). Using WDC RAID Edition S-ATA 250GB Drives, the on-board
Broadcom GigE controllers (2), and on-board ATI video controller. The drives
are configured in a RAID 5 array, attached each to an independent channel on
a 3Ware Escalade 9500 series S-ATA controller, for a total of 705GB and
change storage across 4 partitions (2GB /, 10GB /usr, 40GB /var, rest as
/server).

Attached is a copy of an (edited for username) session which details what
happens when this error occurs. There are no errors reported in the OpenLDAP
nor the system/auth logs to give you, but if anything else is needed please
don't hesitate to ask.

RE: Transparent Proxy going astray

2005-01-24 Thread Wood, Bradley



 -Original Message-
 From: L.Norvydas [mailto:[EMAIL PROTECTED] 
 Sent: 24 January 2005 10:41
 To: freebsd-questions@freebsd.org
 Subject: Transparent Proxy going astray
 
 
 Hello, Paul,
 
 I saw your message in freebsd-questions forum about 
 transparent proxy. Right now I'm facing the same problem: 
 gateway with ipfw/natd and squid proxy on different machine. 
 Maybe you have solved this problem? Everywhere I look, I see 
 the same questions I'm asking, i.e. has anyone successfuly 
 configured gateway and proxy, working on different machines? :)
 
Have you looked at WCCP? Not sure if there are BSD implementations of
this, but in linux there are. Its basically a protocol that runs on both the
proxy and f/w server such that any http traffic is transparently forwarding
to the proxy server for caching/whatever before it goes through the
gateway... It used to be a cisco proprietary protocol, but I believe it may
have been RFCd

brad

This email may contain confidential material.  If you were not an
intended recipient, please notify the sender and delete all copies.
We may monitor email to and from our network.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Tiny freeBSD?

2005-01-24 Thread Joachim Dagerot

I have a spare Dell Lattitude CPx which I will re-build into a digital frame.

I therfor need either an installation on a 1GB sandisk or a bootable CD. I 
would prefer the CD solution

Now it comes to hardware. I have not political thoughts whatsoever o what OS 
people uses. I run a freeBSD server and plenty of workstations home.

My questions which I hope someone can answers are:

1. Is there a small plug'n'play freBSD solution that can run from a CD and map 
samba-drivers (Or NFS actually)?

2. If not, what would you recommend starting with? Linux, freeBSD, windows?

3. This seams not like a very unique thing to do, has anyone seen a complete 
distr of some kind that solves it?





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


Re: Tiny freeBSD?

2005-01-24 Thread Dan Nelson
In the last episode (Jan 24), Joachim Dagerot said:
 I have a spare Dell Lattitude CPx which I will re-build into a
 digital frame.
 
 I therfor need either an installation on a 1GB sandisk or a bootable
 CD. I would prefer the CD solution
 
 Now it comes to hardware. I have not political thoughts whatsoever o
 what OS people uses. I run a freeBSD server and plenty of
 workstations home.
 
 My questions which I hope someone can answers are:
 
 1. Is there a small plug'n'play freBSD solution that can run from a
 CD and map samba-drivers (Or NFS actually)?

Check out FreeSBIE, a live BSD install on a CD. 
http://www.freesbie.org/

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


Re: samba printing

2005-01-24 Thread McCy Ron
The pass-through script, and the idea to use it, came from FreeBSD 
Unleashed. I didn't know you could get away with not having a filter in 
printcap.
I'll try your idea to see if it works. I'm using the same idea for 
other remote Ethernet printers this computer serves.
Warren Block wrote:

On Sun, 23 Jan 2005, McCy Ron wrote:
I've got a printcap setting that uses a pass-through filter.
Windows provides the drivers that talk to the printer correctly. BSD 
need only pass the bytes through.

###
### printcap setup for Samba printer share..
broxima|hplj4|Samba Laser:\
  :sh:\
  :lp=/dev/lpt0:sd=/var/spool/output/broxima:\
  :lf=/var/log/smbprt-errs:\
  :if=/usr/libexec/pass-prt:\
### pass-prt ..Pass through filter
#!/bin/sh
/bin/cat  exit 0
exit

That looks like it is the same as having no input filter at all, i.e.:
 broxima|hplj4|Samba Laser:\
   :sh:\
   :lp=/dev/lpt0:sd=/var/spool/output/broxima:\
   :lf=/var/log/smbprt-errs:
-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /var is lack of space!!

2005-01-24 Thread Robert Huff

John writes:

  This is a good way to find out where the storage is being used:
  cd /var ; du -s * | sort -nr | more
  That will give you a list, sorted from most storage to least, of
  each directory (or file) at the /var level.  You can then choose
  to descend into one of those, and run the command again, to drill
  deeper.

Technical notes:
1) given you're already at /var, the * is superfluous.
2) if you omit the -s, you get the drilling down for free:

47100   ./db
40126   ./db/pkg
13160   ./log
10738   ./log/samba
5554./mail
3688./spool
3656./spool/clientmqueue
2072./db/scrollkeeper
1648./db/clamav
1096./db/pkg/teTeX-texmf-2.0.2_3
796 ./db/pkg/linux_base-8-8.0_6

at the cost of a much longer list.
I have it set up so this runs as a cron job and is waiting in
the morning e-mail.


Robert Huff


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


Re: pxe boot: BTX halted

2005-01-24 Thread Jan Branbergen
Hello,
 I am desperately trying to get pxe boot running.
 
 The client machine is a PentiumMMX/166MHz which successfully
 boots FreeBSD from hard disk. It is connected to the server
 machine's second ethernet card xl0 (3com).
 I can boot the client with etherboot from a floppy withoudt
 problems,
 but usually have no floppy connected to the machine.
 
 When I run ethereal on the server machine I see successful
 dhcp and tftp requests. No obvious problems.
 
 The client machine comes up with Intel UNDI PXE-2.0 (build 074).
 
 PXEBOOT usually crashes with int 6 or int d.
 CS:EIP points to nothing: ff ff ff ff ...
 The final message is: 'BTX halted'.
 
 Any idea?

you could try to update the PXE firmware for your card. i have encountered some 
problems with older PXE cards ( go to manufacturers website ). 

furthermore, please post ( your / the relevant portion of )  dhcpd.conf 

regards,

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


Re: Dual booting w/ two disks

2005-01-24 Thread gabriel
I'd rather get grub working, I don't think installing another boot
loader is gonna solve anything. Plus I like grub :P


On Mon, 24 Jan 2005 02:21:07 -0800, Irvin Piraman [EMAIL PROTECTED] wrote:
 Get GAG (gag.sourceforge.net) and try booting to Windows...
 
 HTH
 
 On Mon, 24 Jan 2005 01:27:45 -0800, gabriel [EMAIL PROTECTED] wrote:
  I'm trying to dual boot FreeBSD and Windows XP with two different
  disks, I have manged to get FreeBSD running and installed the boot
  manager and grub on it.
 
  When I boot into windows, I get some sort of boot loader error and it halts.
 
  Here's my menu.lst:
  color black/cyan yellow/cyan
  default 0
  fallback 1
 
  # For booting FreeBSD
 
  title FreeBSD - Unix
  root (hd0,a)
  kernel /boot/loader
 
  # For booting Windows NT or Windows95
 
  title Windows XP Menu
 
  map (hd0) (hd1)
  map (hd1) (hd0)
  rootnoverify (hd0,1)
  chainloader +1
  makeactive
 
  Any help would be greatly appreciated, at this point this is my last
  project involving my pcs for a while and I'd like to  get 'er done
  :)
 
  Cheers!
  --
  gabriel,
 
  Member of:
  FreeBSD-Announce
  FreeBSD-Hardware
  FreeBSD-Multimedia
  FreeBSD-questions
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 


-- 
gabriel,

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


Re: /var is lack of space!!

2005-01-24 Thread John
On Mon, Jan 24, 2005 at 10:50:38AM -0500, Robert Huff wrote:
 
 John writes:
 
   This is a good way to find out where the storage is being used:
   cd /var ; du -s * | sort -nr | more
   That will give you a list, sorted from most storage to least, of
   each directory (or file) at the /var level.  You can then choose
   to descend into one of those, and run the command again, to drill
   deeper.
 
   Technical notes:
   1) given you're already at /var, the * is superfluous.

No, it's not your technical notes are WRONG, you've not understood
my point.  With the -s option and not the *, you'd only get the
total usage for the filesystem, and he already knows that from the
df.

   2) if you omit the -s, you get the drilling down for free:

You've entirely missed my point.  Read on...
 
 47100   ./db
 40126   ./db/pkg
 13160   ./log
 10738   ./log/samba

I find this hard to read, you've done a great job of illustrating my point.
When looking at this, you need to remember that the ./db 47100 contains
the ./db/pkg 40126 - you can't add up that column of numbers to see what
part of the total filesystem is in use.

I'm not saying my way is the only way, but at least I'm not telling
you your way is wrong without understanding it.  I find my method
useful, so I shared it - if he doesn't want to use it, he doesn't have to.
-- 

John Lind
[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: Dual booting w/ two disks

2005-01-24 Thread Irvin Piraman
You don't have to install GAG in place of grub. Just test the Windows
MBR if you haven't trashed it... yet.




On Mon, 24 Jan 2005 08:12:52 -0800, gabriel [EMAIL PROTECTED] wrote:
 I'd rather get grub working, I don't think installing another boot
 loader is gonna solve anything. Plus I like grub :P
 
 
 On Mon, 24 Jan 2005 02:21:07 -0800, Irvin Piraman [EMAIL PROTECTED] wrote:
  Get GAG (gag.sourceforge.net) and try booting to Windows...
 
  HTH
 
  On Mon, 24 Jan 2005 01:27:45 -0800, gabriel [EMAIL PROTECTED] wrote:
   I'm trying to dual boot FreeBSD and Windows XP with two different
   disks, I have manged to get FreeBSD running and installed the boot
   manager and grub on it.
  
   When I boot into windows, I get some sort of boot loader error and it 
   halts.
  
   Here's my menu.lst:
   color black/cyan yellow/cyan
   default 0
   fallback 1
  
   # For booting FreeBSD
  
   title FreeBSD - Unix
   root (hd0,a)
   kernel /boot/loader
  
   # For booting Windows NT or Windows95
  
   title Windows XP Menu
  
   map (hd0) (hd1)
   map (hd1) (hd0)
   rootnoverify (hd0,1)
   chainloader +1
   makeactive
  
   Any help would be greatly appreciated, at this point this is my last
   project involving my pcs for a while and I'd like to  get 'er done
   :)
  
   Cheers!
   --
   gabriel,
  
   Member of:
   FreeBSD-Announce
   FreeBSD-Hardware
   FreeBSD-Multimedia
   FreeBSD-questions
   ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to [EMAIL PROTECTED]
  
 
 
 
 --
 gabriel,
 
 Member of:
 FreeBSD-Announce
 FreeBSD-Hardware
 FreeBSD-Multimedia
 FreeBSD-questions

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


Re: keeping 5.1 install up to date?

2005-01-24 Thread Danny MacMillan
On Mon, Jan 24, 2005 at 08:21:35AM -0500, aklist_061666 wrote:
 
 I'm moving this to -questions@ ...
 
 Assuming you have an internet connection, the simplest way to install
 CVSUp is (line 2 may wrap):
 
 1. su
 2. pkg_add 
 ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-5.3-release/net/cvsup-without-gui-16.1h.tbz
 
 OK, great...that's what I wanted to know...I was just starting from the 
 cvsup page and the original method (compiling it from source) was all they 
 proposed.
 
 I know you say you're running 5.1.  The 5.1 packages are no longer
 maintained, at least on the master site.  The above works for me,
 though I'm using 5.2.1-RELEASE on this machine, and I think it will
 work for you, too.  You don't need to install Modula-3 to install or
 run CVSUp, only to build it.
 
 Does it make more sense, then, to upgrade to 5.2.1 first? All this machine 
 is doing is running BIND 9.2.3.

Probably not, as 5.2.1 is also out of date.  I was just pointing out
that even though the package is for 5.3, as you can see in the URL, it
works on a 5.2.1 system and by extension probably works on a 5.1
system.  If you were to upgrade your system, you should upgrade to 5.3.
However, I believe that I've read something on here stating that there
are nonstandard gotchas in the upgrade from 5.1 to 5.3 that may make
doing a clean install your best option.  In your place, I would install
5.3 from scratch and proceed from there, as 5.1 is neither production
quality nor very well supported.  If you have difficulties in the
future the first advice you are likely to get is, upgrade to a
supported version.

 If you want to build from source but don't want to use the ports tree,
 you are not a newbie :)
 
 yeah, right! Not this week!
 
 Thanks Danny 

No problem.

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


Re: strange log files ..

2005-01-24 Thread faisal gillani
yes exactly .. i am only allowing 2-3 systems on my
network to access samba others are all denied acess ..
so these are some kind of security log files ?\
is there a way to disable them ? i mean stop making
these files ..



--- Daniel S. Haischt
[EMAIL PROTECTED] wrote:

 log.10.0.0.x files are samba log. Each smb clients
 that connects to your samba instance gets its own
 log file.
 
 Are you running DHCP?
 Are you restricting access to your sambe server?
 For example are you denying access from the internet
 to samba?
 
 faisal gillani schrieb:
  there are so many my private ip name log files
 present
  on my system ...
  
  my network ip scheme is 10.0.0.
  why is that ?
  
  
  
  log.0.0.0.0 log.10.0.0.225 
  log.smbd.old
  log.10.0.0.1log.10.0.0.23  
  lpd-errs
  log.10.0.0.108  log.10.0.0.23.old  
  maillog
  log.10.0.0.109  log.10.0.0.234 
  maillog.0.bz2
  log.10.0.0.11   log.10.0.0.236 
  maillog.1.bz2
  log.10.0.0.110  log.10.0.0.237 
  maillog.2.bz2
  log.10.0.0.111  log.10.0.0.240 
  maillog.3.bz2
  log.10.0.0.118  log.10.0.0.240.old 
  maillog.4.bz2
  log.10.0.0.125  log.10.0.0.242 
  maillog.5.bz2
  log.10.0.0.127  log.10.0.0.248 
  messages
  log.10.0.0.134  log.10.0.0.249 
  messages.0.bz2
  log.10.0.0.138  log.10.0.0.25  
  messages.1.bz2
  log.10.0.0.146  log.10.0.0.254 
  messages.2.bz2
  log.10.0.0.150  log.10.0.0.26  
  mount.today
  log.10.0.0.153  log.10.0.0.28  
  ppp.log
  log.10.0.0.157  log.10.0.0.3   
 samba
  log.10.0.0.157.old  log.10.0.0.30  
  scrollkeeper.log
  log.10.0.0.16   log.10.0.0.31  
  security
  log.10.0.0.162  log.10.0.0.43  
  sendmail.st
  log.10.0.0.168  log.10.0.0.46  
  sendmail.st.0
  log.10.0.0.181  log.10.0.0.47  
  sendmail.st.1
  log.10.0.0.181.old  log.10.0.0.5   
  setuid.today
  log.10.0.0.183  log.10.0.0.51  
  slip.log
  log.10.0.0.186  log.10.0.0.52  
  userlog
  log.10.0.0.187  log.10.0.0.53  
 wtmp
  log.10.0.0.189  log.10.0.0.56  
  xferlog
  log.10.0.0.19   log.10.0.0.67
  
  =
  *º¤., ¸¸,.¤º*¨¨¨*¤ Allah-hu-Akber*º¤., ¸¸,.¤º*¨¨*¤
  
  __
  Do You Yahoo!?
  Tired of spam?  Yahoo! Mail has the best spam
 protection around 
  http://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]
 
 -- 
 Mit freundlichen Gruessen / With kind regards
 DAn.I.El S. Haischt
 
 Want a complete signature??? Type at a shell prompt:
 $  finger -l [EMAIL PROTECTED]
 


=
*º¤., ¸¸,.¤º*¨¨¨*¤ Allah-hu-Akber*º¤., ¸¸,.¤º*¨¨*¤



__ 
Do you Yahoo!? 
All your favorites on one personal page – Try My Yahoo!
http://my.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: Dual booting w/ two disks

2005-01-24 Thread Brian M. Kincaid
I have been running a dual boot system with Windows and FreeBSD on 
separate disks for several years. I use just the basic FreeBSD MBR boot 
program, installed using the procedure described in the Handbook.
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/boot-blocks.html

Windows XP needs to be on the first disk (Disk 0) and you can put 
FreeBSD on the other disk. Windows installation will clobber the FreeBSD 
boot block, so you need to write over it with the Handbook procedure.

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


Re: Dual booting w/ two disks

2005-01-24 Thread gabriel
In my case, freebsd is on the master and windows is on the slave, you
mean that it should be the other way around?


On Mon, 24 Jan 2005 08:45:44 -0800, Brian M. Kincaid [EMAIL PROTECTED] wrote:
 I have been running a dual boot system with Windows and FreeBSD on
 separate disks for several years. I use just the basic FreeBSD MBR boot
 program, installed using the procedure described in the Handbook.
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/boot-blocks.html
 
 Windows XP needs to be on the first disk (Disk 0) and you can put
 FreeBSD on the other disk. Windows installation will clobber the FreeBSD
 boot block, so you need to write over it with the Handbook procedure.
 
 Brian
 


-- 
gabriel,

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


Re: Dual booting w/ two disks

2005-01-24 Thread Brian M. Kincaid
Yup, Windows needs to be the first disk.
gabriel wrote:
In my case, freebsd is on the master and windows is on the slave, you
mean that it should be the other way around?
On Mon, 24 Jan 2005 08:45:44 -0800, Brian M. Kincaid [EMAIL PROTECTED] 
wrote:
I have been running a dual boot system with Windows and FreeBSD on
separate disks for several years. I use just the basic FreeBSD MBR boot
program, installed using the procedure described in the Handbook.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/boot-blocks.html
Windows XP needs to be on the first disk (Disk 0) and you can put
FreeBSD on the other disk. Windows installation will clobber the FreeBSD
boot block, so you need to write over it with the Handbook procedure.
Brian


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


Re: Dual booting w/ two disks

2005-01-24 Thread gabriel
hmm.. I guess I can just change the jumper settings on the disks to
swap 'em out? *sigh*

What do you suggest?


On Mon, 24 Jan 2005 08:51:33 -0800, Brian M. Kincaid [EMAIL PROTECTED] wrote:
 Yup, Windows needs to be the first disk.
 
 
 gabriel wrote:
  In my case, freebsd is on the master and windows is on the slave, you
  mean that it should be the other way around?
 
 
  On Mon, 24 Jan 2005 08:45:44 -0800, Brian M. Kincaid [EMAIL PROTECTED] 
  wrote:
 
 I have been running a dual boot system with Windows and FreeBSD on
 separate disks for several years. I use just the basic FreeBSD MBR boot
 program, installed using the procedure described in the Handbook.
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/boot-blocks.html
 
 Windows XP needs to be on the first disk (Disk 0) and you can put
 FreeBSD on the other disk. Windows installation will clobber the FreeBSD
 boot block, so you need to write over it with the Handbook procedure.
 
 Brian
 
 
 
 
 
 


-- 
gabriel,

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


Re: Dual booting w/ two disks

2005-01-24 Thread Brian M. Kincaid
Gabriel:
What I would do is make sure that you can get Windows to boot up as the 
master disk before doing any further modifications to the boot blocks. 
If you get this far, then the FreeBSD Handbook procedure will handle the 
rest.

If you can't get Windows to boot, there are several possible causes, and 
you need to use Google to address them.

I have probably made every possible configuration mistake in setting up 
dual boot systems, and my recommendation is to take things one step at a 
time and verify that you haven't clobbered something. Assume nothing, 
trust no one, and always check!

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


[Repost] Logging to custom file via syslog [was]: php log to own syslog file

2005-01-24 Thread Gerard Samuel
Kevin Kinsey wrote:
Gerard Samuel wrote:
Im trying to figure out how to setup FreeBSD 5.3 to log
php events to its own log file via syslog.
In /etc/syslog.conf, I added -
# php logs
!httpd
*.* /var/log/php.log
I created a empty file for the log -
gladiator# touch /var/log/php.log
gladiator# ls -l /var/log/php*
-rw-r--r--  1 root  wheel  0 Jan 20 16:37 /var/log/php.log
Then I HUPped syslogd -
gladiator# ps aux | grep syslogd
root 277  0.0  0.2  1316  908  ??  Is4:14PM   0:00.01
/usr/sbin/syslogd -s
gladiator# kill -HUP 277
In my php script, Im using -
define_syslog_variables();
openlog('TESTING', LOG_NDELAY, LOG_USER);
syslog(LOG_INFO, $message);
closelog();
But nothing is being logged to the file.
Am I doing something wrong on the FreeBSD side of things??
Thanks


PHP as an Apache module?  IANAE, but wouldn't
you have to change log settings in httpd.conf? 

I dont think so.  These errors, that I want to log, are initiated by
the php function syslog() (look at the example above).
These messages are supposed to go to the syslogd daemon, not to 
httpd's log file.
In the example above, if I change the priority from LOG_INFO to 
LOG_WARNING,
the error messages go to /var/log/messages.
I just need it to start going to its own file.
The ultimate goal, is that I want to have a cluster of webservers,
logging to a central server. 

I think this is a FreeBSD problem.
Here is what I have.
1.  I removed my initial modification of /etc/syslog.conf, and added -
user.=info  /var/log/php.log
According to syslog.conf man page, that should mean, any syslog events that
come is as LOG_USER, and only LOG_INFO, should be appended to
/var/log/php.log
2.  I HUPped syslogd.
3.  Im using logger to try to add a message to the log file like -
gladiator# logger -s -p user.info test
gsam: test
But unfortunately, the message test doesn't appear in /var/log/php.log OR
/var/log/messages.
I currently have the file /var/log/php.log chmodded to 777.
Im including my syslog.conf file.
Can anyone tell me, as to why, Im unable to log these tests?
Thanks
/etc/syslog.conf

# $FreeBSD: src/etc/syslog.conf,v 1.26 2003/04/23 13:08:31 des Exp $
#
#   Spaces ARE valid field separators in this file. However,
#   other *nix-like systems still insist on using tabs as field
#   separators. If you are sharing this file between systems, you
#   may want to use only tabs as field separators here.
#   Consult the syslog.conf(5) manpage.
*.err;kern.debug;auth.notice;mail.crit  /dev/console
*.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err
/var/log/messages
security.*  /var/log/security
auth.info;authpriv.info /var/log/auth.log
mail.info   /var/log/maillog
lpr.info/var/log/lpd-errs
ftp.info/var/log/xferlog
cron.*  /var/log/cron
*.=debug/var/log/debug.log
*.emerg *
# uncomment this to log all writes to /dev/console to /var/log/console.log
#console.info   /var/log/console.log
# uncomment this to enable logging of all log messages to /var/log/all.log
# touch /var/log/all.log and chmod it to mode 600 before it will work
#*.*/var/log/all.log
# uncomment this to enable logging to a remote loghost named loghost
#*.*@loghost
# uncomment these if you're running inn
# news.crit /var/log/news/news.crit
# news.err  /var/log/news/news.err
# news.notice   /var/log/news/news.notice
!startslip
*.* /var/log/slip.log
!ppp
*.* /var/log/ppp.log
user.=info  /var/log/php.log
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: port update problem - newbie

2005-01-24 Thread Lowell Gilbert
saravanan ganapathy [EMAIL PROTECTED] writes:

 I am also looking for package management. I know that
 a package can be installed using 'pkg_add -r
 sendmail'. But how to keep update these packages like
 ports?

Use portupgrade for that too; it knows how to deal with ports or packages.

 I need to choose either ports or packages. 

Nonsense.  In fact, once you have installed them, it is *very* hard to
*tell* whether a program was installed from a port or a package.

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


Re: strange log files ..

2005-01-24 Thread Daniel S. Haischt
those logs are containing traces from the smbd and nmbd
process.
Do you ahve a line this in your smb.conf?
 hosts allow = 192.168.0., 192.168.120.
Additionally you should should change the directory
which holds your samba log files:
 log file = /var/log/samba/log.%m
because you do have a samba directory in /var/log.
--
Do all of you three systems receive their IP etc. via
DHCP? Do you run a DHCP daemon or some kinda router
with a builtin DHCP server?
faisal gillani schrieb:
yes exactly .. i am only allowing 2-3 systems on my
network to access samba others are all denied acess ..
so these are some kind of security log files ?\
is there a way to disable them ? i mean stop making
these files ..

--- Daniel S. Haischt
[EMAIL PROTECTED] wrote:

log.10.0.0.x files are samba log. Each smb clients
that connects to your samba instance gets its own
log file.
Are you running DHCP?
Are you restricting access to your sambe server?
For example are you denying access from the internet
to samba?
faisal gillani schrieb:
there are so many my private ip name log files
present
on my system ...
my network ip scheme is 10.0.0.
why is that ?

log.0.0.0.0 log.10.0.0.225 
log.smbd.old
log.10.0.0.1log.10.0.0.23  
lpd-errs
log.10.0.0.108  log.10.0.0.23.old  
maillog
log.10.0.0.109  log.10.0.0.234 
maillog.0.bz2
log.10.0.0.11   log.10.0.0.236 
maillog.1.bz2
log.10.0.0.110  log.10.0.0.237 
maillog.2.bz2
log.10.0.0.111  log.10.0.0.240 
maillog.3.bz2
log.10.0.0.118  log.10.0.0.240.old 
maillog.4.bz2
log.10.0.0.125  log.10.0.0.242 
maillog.5.bz2
log.10.0.0.127  log.10.0.0.248 
messages
log.10.0.0.134  log.10.0.0.249 
messages.0.bz2
log.10.0.0.138  log.10.0.0.25  
messages.1.bz2
log.10.0.0.146  log.10.0.0.254 
messages.2.bz2
log.10.0.0.150  log.10.0.0.26  
mount.today
log.10.0.0.153  log.10.0.0.28  
ppp.log
log.10.0.0.157  log.10.0.0.3   
samba
log.10.0.0.157.old  log.10.0.0.30  
scrollkeeper.log
log.10.0.0.16   log.10.0.0.31  
security
log.10.0.0.162  log.10.0.0.43  
sendmail.st
log.10.0.0.168  log.10.0.0.46  
sendmail.st.0
log.10.0.0.181  log.10.0.0.47  
sendmail.st.1
log.10.0.0.181.old  log.10.0.0.5   
setuid.today
log.10.0.0.183  log.10.0.0.51  
slip.log
log.10.0.0.186  log.10.0.0.52  
userlog
log.10.0.0.187  log.10.0.0.53  
wtmp
log.10.0.0.189  log.10.0.0.56  
xferlog
log.10.0.0.19   log.10.0.0.67

=
*., ,.** Allah-hu-Akber*., ,.**
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam
protection around 

http://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]
--
Mit freundlichen Gruessen / With kind regards
DAn.I.El S. Haischt
Want a complete signature??? Type at a shell prompt:
$  finger -l [EMAIL PROTECTED]

=
*., ,.** Allah-hu-Akber*., ,.**
		
__ 
Do you Yahoo!? 
All your favorites on one personal page  Try My Yahoo!
http://my.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
--
Mit freundlichen Gruessen / With kind regards
DAn.I.El S. Haischt
Want a complete signature??? Type at a shell prompt:
$  finger -l [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: A stupid thing I've done...

2005-01-24 Thread gregorynou
 On Sun, Jan 23, 2005 at 12:37:04AM +0100, Gregory Nou typed:
 Hi !
 I've tried to chroot an user, so i create /home/this_user/usr and the
 other needed directories, but later, I wanted to delete them (as root of
 course) and i typed rm -r /usr instead of rm -r usr ...
 It asked me if  i wanted to overwrite su, so i saw my mistake, and
 cancelled, but i don't have adduser, man, ee and ... make anymore !
 How can I repair that ? can i do something without reinstalling
 everything ? (I need at least make... and I'm quite reluctant at
 compiling /usr/src/usr.bin/make ... So i hope there is another way)

 Depending on the branch your system is on (I assume 5.x), you could
 download the latest release relative to your system, mount the cd and
 do:

 /rescue/cat /cdrom/base/base.?? | /rescue/tar --unlink -xpzf - -C / usr/

 This will reinstall everything under /usr and probably get you a workable
 system again.

 G'Luck,
 Ruben

Thx a lot !! that worked !
Actually, I had to do this (just in case somebody would have the same bad
idea I had and would read the posts in this list ;)) :
1. copy gzip from /rescue to /usr/bin (maybe not the good location, but I
could use it, so..)
2. mkdir /usr/tmp  cd /usr/tmp
3. /rescue/cat /cdrom/base/base.??  usr.bak
4. /rescue/tar --unlink -xpzf usr.bak
And then, I just get what I needed, and had only to copy the missing file.
Being able to RTFM again is so great !
Thanks a lot for your tip.

-- 
Grégory

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


Problem with nss_ldap in FreeBSD 5.3-RELEASE/AMD64 (2nd edition)

2005-01-24 Thread Nathan Vidican
Hey All, - Sorry, forgot the attachement, same msg as earlier follows:

Not entirely sure which list this should be sent to, so I figured sending to
the general list would be a good start. If there's a more appropriate list,
could someone kindly reply and direct me as to who else may be better able
to help solve or at least point me in the right direction to solve this
problem myself. - Thanks.

That said, here goes; I am apparently encountering an overflow of sorts with
nss_ldap on FreeBSD:

-
Currently running OpenLDAP server, to store all local
usernames/passwords/groups/shells/homedirs info. The accounts are shared
between the system on the FreeBSD side using posixAccount attributes, and on
the Windows side using sambaSamAccount attributes. We are using the FreeBSD
port of LAM to create/modify/manage users and groups internally through a
web-based interface running on Apache/php. Further details, including
version specifics, etc will follow, just prefer to give you an idea of the
problem we're having before wasting your time reading all the really
specific stuff.

Here's the problem, only a few selected usernames (4 out of about 190 or
so), root cannot do a 'cd ~username'. This seems to cause issues with samba,
and the list just goes on from there. What happens when one logged in as
root types in the command 'cd ~username', is apparently an overflow of some
sort which leaves one connected to the LDAP session, a simple [CRTL]+D
releases one back to console. This same condition occurs when ANY user (not
just root) attempts to cd to one of these 4 user directories; what troubles
me most, is this happens regardless of permission issues to the filesystem,
as it is apparently during the username lookup that it happens, to what
extent the open session can allow someone access as an intruder of sorts I
do not know - but nonetheless fear as an administrator, that this could be a
security risk as well. I have attached a UNICODE txt file of a session which
shows what one gets on the console when one attempts to 'cd ~USERNAME',
where 'USERNAME' was edited removing the original username.


Here's what I've tried to resolve the issue:

First tried re-creating the user objects in the LDAP tree, failing that, I
removed them, and re-created them with different UID numbers; essentially
making them different objects with different distinctive names (DN's) in the
database - nothing, same problem.

Removed and re-created the physical directory entries on the disk as well,
including proper ownership and permissions each time I changed the
associated entry in the LDAP tree as well - even tried changing where/which
disk the homedir was physically stored on.

Lastly, I tried removing the entire LDAP database, and restoring FIRST the
troublesome users only - same problem still. Added in the rest of the users
via an LDIF export (backup of db before I toasted it) - still same problem.
I figure spelling can't really be an issue; all usernames here follow the
same convention (first letter of first name, followed by first 7 characters
of last name, no numeric nor punctual characters of any sort). All four
usernames are phonetically distinct and do not share any alphabetic pattern
whatsoever either (I'd prefer not to send them out to the general list, as
this machine is currently in production, and given the nature of what these
accounts are causing I'd prefer not opening up a whole new security risk
here).

More Detailed Information Follows:
--
FreeBSD 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov  5 03:50:01 UTC 2004
amd64
OpenLDAP nss_ldap  pam_ldap installed from ports-tree, using versions as
follows
  (pkg_info -a reports: openldap-client-2.2.15, openldap-server-2.2.15,
pam_ldap-1.7.1_1, nss_ldap-1.204_5)
Samba Version Samba-3.0.8, compiled with LDAP SAM support, acting as PDC for
Win2K/WinXP Clients

Still running GENERIC kernel (intent upon eventually getting around to
making a new one, removing a lot of debugging and what-not once all is up
and running well for a boost in performance).

The machine is an AMD Opteron 146-based system, with 2GB ECC registered
memory, (dual capable board, eventually going to go with dual 246 Opterons
when we can take them from a workstation and upgrade the workstation to
faster cpus). Using WDC RAID Edition S-ATA 250GB Drives, the on-board
Broadcom GigE controllers (2), and on-board ATI video controller. The drives
are configured in a RAID 5 array, attached each to an independent channel on
a 3Ware Escalade 9500 series S-ATA controller, for a total of 705GB and
change storage across 4 partitions (2GB /, 10GB /usr, 40GB /var, rest as
/server).

Attached is a copy of an (edited for username) session which details what
happens when this error occurs. There are no errors reported in the OpenLDAP
nor the system/auth logs to give 

JDK 1.5 and 5.3

2005-01-24 Thread Andrew Hall
Greetings,
I have a few questions about jdk and 5.3.
1. If one does a src compile, it requires that the linux-sun-jdk to be 
installed to bootstrap the compile of native jdk.

Why would freebsd not use a binary version of it's own native jdk to 
bootstrap itself?  If that's not feasible, then why would the jdk port 
not immediately remove all the linux crap that it installs if its not 
needed?  If something is only temporary, then it should be removed 
immediately after use right :)?

2. Where did the browser plugin go?  In 1.3 and 1.4 I symlinked 
/usr/X11R6/lib/browser_plugins/libjavaplugin_oji.so to what ever jdk I 
was using.  For example:

/usr/X11R6/lib/browser_plugins/libjavaplugin_oji.so - 
/usr/local/jdk1.4.2/jre/plugin/i386/ns610/libjavaplugin_oji.so

But in 1.5 I don't see this .so, nor does the plugin directory even 
exist.  Is there a new way I am not aware of?

3. Since the linux jdk is not necessary, is there an easy way to get a 
list of everything that was installed as the req for the native jdk 
compile so I may remove it all (and its deps)?

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


Xerox 6250 USB

2005-01-24 Thread Mike Woods
I've been having a battle with a xerox phaser 6250dp for a good few 
months now with some bizziare printing issues.

The problem, if i push more than one job into it's buffer at once i get 
one job out and on some large jobs i get corruption, Xerox have no idead 
what this is, the Cups people could offer no answers (although i've 
since managed to rule cups out) and any other usb printers connected to 
this machine work perfectly.

The machine in question is a FreeBSD 5.1 Release machine, connection to 
the printer is via usb, the printer has the latest firmware and all 
printing is being handled through cups with the ppd driver from the 
xerox website.

So, the question is does anyone have one of these beasties working 
properly on FreeBSD and would care to share the details with a man at 
the end of his whits!

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


Re: Tiny freeBSD?

2005-01-24 Thread Joachim Dagerot


 1. Is there a small plug'n'play freBSD solution that can run from a
 CD and map samba-drivers (Or NFS actually)?

Check out FreeSBIE, a live BSD install on a CD. 
http://www.freesbie.org/

Woaw, worked at first attempt. Thanks alot for this help. No I just need to 
dissamle, find a fram, solve the power problem, doing something about the 
noice, connect ti with network wo cables and find a good SlideShow software. ;-)



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


win. Girder for freeBSD

2005-01-24 Thread Joachim Dagerot

Is there something like the windows software Girder for freeBSD/Gnome?



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


READ_DMA timed out on Promise FastTrak100

2005-01-24 Thread [EMAIL PROTECTED]
Hello,
I installed an older Promise FastTrak100 controller in my server, and 
set up a RAID1 mirror with two Samsung ST1614N 160GB drives using the 
card's BIOS. The initial replication went off without a hitch, and the 
card BIOS says the RAID volume is fine.

However, when I boot FreeBSD, the system reports READ_DMA errors on the 
second drive, and the array reports a degraded state. I can still mount 
it, and both drive lights flash when accessing the volume.

The error:
ad0: 19092MB WDC WD200BB-00AUA1/18.20D18 [38792/16/63] at ata0-master 
UDMA33
ad4: 152627MB SAMSUNG SP1614N/TM100-30 [310101/16/63] at ata2-master 
UDMA100
ad6: 152627MB SAMSUNG SP1614N/TM100-24 [310101/16/63] at ata3-master 
UDMA100
ad6: TIMEOUT - READ_DMA retrying (2 retries left) LBA=312581745
ad6: FAILURE - READ_DMA timed out
ar0: WARNING - mirror lost
ar0: 152627MB ATA RAID1 array [19457/255/63] status: DEGRADED subdisks:
 disk0 READY on ad4 at ata2-master
 disk1 DOWN no device found for this disk

I was originally running 5.3-RELEASE-p5 (SMP, dual P3). I built and 
booted 5.3-STABLE SMP, and although everything else looks fine, the 
READ_DMA error is unchanged. I have verified the seating of cables and 
cards.

Does anyone have any pointers? What else should I try?
Thanks in advance.
The gory details:
# atacontrol list
ATA channel 0:
Master:  ad0 WDC WD200BB-00AUA1/18.20D18 ATA/ATAPI revision 5
Slave:   no device present
ATA channel 1:
Master:  no device present
Slave:   no device present
ATA channel 2:
Master:  ad4 SAMSUNG SP1614N/TM100-30 ATA/ATAPI revision 7
Slave:   no device present
ATA channel 3:
Master:  ad6 SAMSUNG SP1614N/TM100-24 ATA/ATAPI revision 7
Slave:   no device present
# atacontrol status ar0
ar0: ATA RAID1 subdisks: ad4 DOWN status: DEGRADED
My dmesg:
FreeBSD 5.3-STABLE #2: Mon Jan 24 06:21:21 PST 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel Pentium III (651.48-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x683  Stepping = 3
Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real memory  = 268435456 (256 MB)
avail memory = 253038592 (241 MB)
MPTable: INTEL440BX   
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Assuming intbase of 0
ioapic0 Version 1.1 irqs 0-23 on motherboard
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Intel 82443GX host to PCI bridge pcibus 0 on motherboard
pci0: PCI bus on pcib0
agp0: Intel 82443GX host to PCI bridge mem 0xf800-0xfbff at 
device 0.0 on pci0
pcib1: PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
pci1: display, VGA at device 0.0 (no driver attached)
isab0: PCI-ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel PIIX4 UDMA33 controller port 
0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
uhci0: Intel 82371AB/EB (PIIX4) USB controller port 0xef80-0xef9f irq 
9 at device 7.2 on pci0
uhci0: [GIANT-LOCKED]
usb0: Intel 82371AB/EB (PIIX4) USB controller on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
piix0: PIIX Timecounter port 0x440-0x44f at device 7.3 on pci0
Timecounter PIIX frequency 3579545 Hz quality 0
ahc0: Adaptec aic7895 Ultra SCSI adapter port 0xe400-0xe4ff mem 
0xfebfe000-0xfebfefff irq 10 at device 14.0 on pci0
ahc0: [GIANT-LOCKED]
aic7895C: Ultra Wide Channel A, SCSI Id=7, 32/253 SCBs
ahc1: Adaptec aic7895 Ultra SCSI adapter port 0xe800-0xe8ff mem 
0xfebff000-0xfebf irq 10 at device 14.1 on pci0
ahc1: [GIANT-LOCKED]
aic7895C: Ultra Wide Channel B, SCSI Id=7, 32/253 SCBs
atapci1: Promise PDC20267 UDMA100 controller port 
0xef00-0xef3f,0xefe0-0xefe3,0xefa8-0xefaf,0xefe4-0xefe7,0xeff0-0xeff7 
mem 0xfebc-0xfebd irq 11 at device 16.0 on pci0
ata2: channel #0 on atapci1
ata3: channel #1 on atapci1
xl0: 3Com 3c905B-TX Fast Etherlink XL port 0xec00-0xec7f mem 
0xfebfdf80-0xfebfdfff irq 5 at device 18.0 on pci0
miibus0: MII bus on xl0
xlphy0: 3Com internal media interface on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:10:5a:00:4c:47
cpu0 on motherboard
cpu1 on motherboard
orm0: ISA Option ROMs at iomem 
0xc8800-0xd0fff,0xc8000-0xc87ff,0xc-0xc7fff on isa0
pmtimer0 on isa0
atkbdc0: Keyboard controller (i8042) at port 0x64,0x60 on isa0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse, device ID 3
fdc0: Enhanced floppy controller at port 0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: [FAST]
fd0: 1440-KB 3.5 drive on fdc0 drive 0
ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode

Some questions about using ports colleciton

2005-01-24 Thread Kvesdn Gbor
Hi,

I'd like to set up a webserver and install everything via ports collection.


1, As the phpinfo tool indicates, these are my configure commands for
apache2:
./configure' '--enable-versioning' '--enable-memory-limit'
'--with-layout=GNU' '--with-config-file-scan-dir=/usr/local/etc/php'
'--disable-all' '--with-regex=php' '--disable-cli'
'--with-apxs2=/usr/local/sbin/apxs' '--prefix=/usr/local'
'amd64-portbld-freebsd5.3'

But they have to be similar to these:
'./configure' '--with-apxs2=/usr/local/apache2_php/bin/apxs' '--disable-cli'
'--without-pear' '--disable-posix' '--disable-sockets' '--disable-sysvshm'
'--disable-sysvsem' '--disable-sysvmsg' '--with-mysql' '--enable-bcmath'
'--enable-calendar' '--enable-dbase' '--with-gd=/usr/local'
'--with-jpeg-dir=/usr/local' '--with-freetype-dir=/usr/local'
'--enable-gd-native-ttf' '--enable-ftp' '--enable-xml'
'--enable-memory-limit' '--enable-safe-mode'

How can I recompile and reinstall my apache webserver with these configure
parameters?


2, I also need some additional php modules, thus I attempted to install the
php-extensions port. A window appeared and I selected all of the available
extensions, but the compiling failed. I did a make clean, and wanted to
reinstall the port with the really necessary ports, but the window didn't
appear again. I did a make distclean but the result was the same. How can I
completely clean the config files from the port? I'd like to restart the
whole installation and re-configure the installation process with that
window.

Cheers,

Gbor Kvesdn

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


Re: JDK 1.5 and 5.3

2005-01-24 Thread Erik Norgaard
Andrew Hall wrote:
Greetings,
I have a few questions about jdk and 5.3.
1. If one does a src compile, it requires that the linux-sun-jdk to be 
installed to bootstrap the compile of native jdk.

Why would freebsd not use a binary version of it's own native jdk to 
bootstrap itself?  If that's not feasible, then why would the jdk port 
not immediately remove all the linux crap that it installs if its not 
needed?  If something is only temporary, then it should be removed 
immediately after use right :)?
1) I think you are touching into the licence discussion that appeared 
recently. 2) yes you can deinstall the linux binaries.

New question: Can one upgrade jdk without installing the linux binaries 
again?

Cheers, Erik
--
Ph: +34.666334818   web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cpu,memory info - issues ( newbie)

2005-01-24 Thread [EMAIL PROTECTED]
saravanan ganapathy wrote:
I 've installed freebsd5.3 Rel on my dual processor.
I'm not sure that my OS detected dual cpu. Sysctl 
dmesg output just confused me.
Hi,
What does uname -a say? Did you compile your kernel with SMP? The 2 
logical CPUs message is referring to the hyperthreading feature of the 
Xeon processor, where it emulates two CPUs in one physical processor.

If you haven't, cvsup using RELENG_5_3 to get the security updates for 
5.3, and then compile with the option KERNCONF=SMP.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
Hope this helps.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: JDK 1.5 and 5.3

2005-01-24 Thread Andrew Hall

Erik Norgaard wrote:
Andrew Hall wrote:
Greetings,
I have a few questions about jdk and 5.3.
1. If one does a src compile, it requires that the linux-sun-jdk to be 
installed to bootstrap the compile of native jdk.

Why would freebsd not use a binary version of it's own native jdk to 
bootstrap itself?  If that's not feasible, then why would the jdk port 
not immediately remove all the linux crap that it installs if its not 
needed?  If something is only temporary, then it should be removed 
immediately after use right :)?

1) I think you are touching into the licence discussion that appeared 
recently. 2) yes you can deinstall the linux binaries.

New question: Can one upgrade jdk without installing the linux binaries 
again?
From everything I read online you do not need the linux jdk once you 
have a working native jdk.

Any idea about the missing browser plugin?
Drew
Cheers, Erik
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Scroll whell on FreeBSD 5.3 i386

2005-01-24 Thread Michael Madden
What is the secret to getting my scroll wheel working on FreeBSD 5.3?  If have
the following added to /etc/rc.conf:

moused_enable=YES
moused_flags=
moused_port=/dev/psm0
moused_type=auto

I've also got the mouse section of /etc/X11/xorg.conf setup as:

Section InputDevice
Identifier  Mouse1
Driver  mouse
Option  Protocol auto
Option  Device /dev/sysmouse
EndSection

The mouse works fine as a normal mouse (right click, left click, middle
click), but the scroll wheel doesn't scroll.

Thanks in advance,
Mike

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


Re: Scroll whell on FreeBSD 5.3 i386

2005-01-24 Thread Andrew Hall
Add this to your mouse section, and restart X.
Option  ZAxisMapping  4 5
Drew
Michael Madden wrote:
What is the secret to getting my scroll wheel working on FreeBSD 5.3?  If have
the following added to /etc/rc.conf:
moused_enable=YES
moused_flags=
moused_port=/dev/psm0
moused_type=auto
I've also got the mouse section of /etc/X11/xorg.conf setup as:
Section InputDevice
Identifier  Mouse1
Driver  mouse
Option  Protocol auto
Option  Device /dev/sysmouse
EndSection
The mouse works fine as a normal mouse (right click, left click, middle
click), but the scroll wheel doesn't scroll.
Thanks in advance,
Mike
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ndis0: link down after idle time

2005-01-24 Thread Hendrik Spiegel
That's what the kernel tells me during boot:
ath0: Atheros 5212 mem 0xde10-0xde10 irq 5 at device 9.0 on
pci0
ath0: mac 5.9 phy 4.3 5ghz radio 4.6
ath0: Ethernet address: 00:0f:3d:ab:9a:b6
ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps
24Mbps 36Mbps 48Mbps 54Mbps

Mine is also identified as the 5212. But I saw that my hardware version
is B2 and the firmware versionn is 3.1.6.

You do not seem to be the only one with your problem:
This guy gets the same message as you did, but it is supposed to be
fixed:
http://lists.freebsd.org/pipermail/freebsd-current/2003-November/014227.html

According to this link an European B3 does not work with linux either:
http://madwifiwiki.thewebhost.de/wiki/DLinkDWLG520

sysctl dev.ath
dev.ath.0.%desc: Atheros 5212
dev.ath.0.%driver: ath
dev.ath.0.%location: slot=9 function=0
dev.ath.0.%pnpinfo: vendor=0x168c device=0x0013 subvendor=0x1186
subdevice=0x3a13 class=0x02
dev.ath.0.%parent: pci0

BTW: Are you German? I just wondered because your SSID was deutschland
in your initial posting.


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


Re: port update problem - newbie

2005-01-24 Thread Kent Stewart
On Monday 24 January 2005 05:11 am, saravanan ganapathy wrote:
 --- Tabor Kelly

 [EMAIL PROTECTED] wrote:
  saravanan ganapathy wrote:
 
  snip
 
   --- Erik Norgaard [EMAIL PROTECTED] wrote:
   Since I am very new to freebsd, I am not sure abt
 
  the
 
   ports collections which I don't want.
 
  Since you are new, I will give you some (ports)
  advice:
 
  1. Always update all of your ports so that you can
  use portupgrade.
  2. Use portupgrade.
  3. Read /usr/ports/UPDATING if you want things to go
  smoothly.
  4. If you forget step 3, and step 3 happens to have
  some bad news in it
  (usually pertaining to gettext), 'portupgrade -rRf
  [some port]' can work
  wonders.
  5. Don't forget to do a 'portsdb -uU' after
  cvsup'ing your ports.
 
  My quick start to portupgrade:

 http://tabor.taborandtashell.net/serversetup/ports.html

  Where I learned about portupgrade:

 http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html


 The above link was very useful to me and I 've learnt
 the portupgrade procedure.

 I am also looking for package management. I know that
 a package can be installed using 'pkg_add -r
 sendmail'. But how to keep update these packages like
 ports?

 I need to choose either ports or packages.

Why? Either is an appropriate method of updating. Maintaining the ports 
using something like portupgrade is frequently faster because you can 
update the port as soon as it is changed. With a package, you have to 
wait until the package has been built and moved to the mirrors. If a 
package is available, you save a lot of cpu usage on slow machines. In 
order to use current versions, both require maintaining an uptodate 
port structure. You just have to determine which method is an optimum 
for your usage.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: Error installing softwares on FreeBSD system

2005-01-24 Thread Kent Stewart
On Monday 24 January 2005 06:04 am, Martin Hepworth wrote:
 HI

 I think you will need to make cvsup first from the ports directory,
 Then use cvsup to get the latest version of ports tree. See
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using
.html for more details..

Cvsup changes so slowly that I don't see an purpose in building it from 
the ports. You have so much extra bagage with building modula (ezm3) 
that you completely avoid with the package.

Kent


 --
 Martin


 On Fri, 21 Jan 2005 18:06:09 GMT, [EMAIL PROTECTED]

 [EMAIL PROTECTED] wrote:
   I completed the BSD 5.3 instllation on my Dell Desktop using the
  first CD of the 4 CD set. I installed all the ports and
  distributions in the first CD. But when I tried to 'make install'
  emacs from the /usr/ports/editors/emacs20 directory I get a lot of
  messages which says 'Attemting to fetch from :ftp site name : No
  address record And finally an error message which says:
 Couldn't fetch it - please try to retrieve this port manually
  into usr/ports/distfiles and try again Error code 1
  Same is the case with other softwates and utilities.
 
  I don't have FTP configured on my computer. Do I have to get the
  CVS repository installed? If so please give me the instructions or
  a link. Is it necessary that I install the rest of the CDs?
  ___
  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]

-- 
Kent Stewart
Richland, WA

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


OpenGL hardware acceleration with FreeBSD 5.3

2005-01-24 Thread Michael Madden
I have a Matrox G400, and I cannot figure out how to get hardware acceleration
setup for it.  glxinfo still displays direct rendering: No, and OpenGL
apps like glxgears are slow.  I've made sure I've got the dri and glx modules
loaded, and I've added the DRI section to xorg.conf.

If it helps, here is my xorg.conf file.  Thanks for the help.

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

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

Section InputDevice
Identifier  Keyboard1
Driver  keyboard
EndSection

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

Section Monitor
Identifier  hp 1825
HorizSync   31.5 - 64.3
VertRefresh 50-70
EndSection

Section Device
Identifier  Matrix G400
Driver  mga
VideoRam16384
EndSection

Section Screen
Identifier  Screen 1
Device  Matrix G400
Monitor hp 1825
DefaultDepth 24

Subsection Display
Depth   8
Modes   1280x1024 1024x768 800x600 640x480
ViewPort0 0
EndSubsection
Subsection Display
Depth   16
Modes   1280x1024 1024x768 800x600 640x480
ViewPort0 0
EndSubsection
Subsection Display
Depth   24
Modes   1280x1024 1024x768 800x600 640x480
ViewPort0 0
EndSubsection
EndSection

Section ServerLayout
Identifier  Simple Layout
Screen Screen 1
InputDevice Mouse1 CorePointer
InputDevice Keyboard1 CoreKeyboard
EndSection

Section DRI
Mode 0666
EndSection

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


making freebsd boot faster ...

2005-01-24 Thread faisal gillani
i want my freebsd 5.3 to boot faster 
there are almost 15 sec my box is taking longer , 5
sec in the boot manager screen  10 sec more in the
welcome  boot options screen ..


?

=
*º¤., ¸¸,.¤º*¨¨¨*¤ Allah-hu-Akber*º¤., ¸¸,.¤º*¨¨*¤

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://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: Scroll whell on FreeBSD 5.3 i386

2005-01-24 Thread Alan Gerber
If one is using the auto-configure feature of xorg, how does one specify 
this override?  If there is no way to override this setting [so that one 
must create an xorg.cfg file, is there a way to pull out the 
currently-running configuration?

--
Alan Gerber
Andrew Hall wrote:
Add this to your mouse section, and restart X.
Option  ZAxisMapping  4 5
Drew
Michael Madden wrote:
What is the secret to getting my scroll wheel working on FreeBSD 
5.3?  If have
the following added to /etc/rc.conf:

moused_enable=YES
moused_flags=
moused_port=/dev/psm0
moused_type=auto
I've also got the mouse section of /etc/X11/xorg.conf setup as:
Section InputDevice
Identifier  Mouse1
Driver  mouse
Option  Protocol auto
Option  Device /dev/sysmouse
EndSection
The mouse works fine as a normal mouse (right click, left click, middle
click), but the scroll wheel doesn't scroll.
Thanks in advance,
Mike
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

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

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


Re: ndis0: link down after idle time

2005-01-24 Thread Hendrik Spiegel
Sorry, I should read first and post afterwards :)
According to the drivers source HAL_STATUS 13 means Hardware revision
not supported.



Am Montag, den 24.01.2005, 09:02 -0600 schrieb [EMAIL PROTECTED]:
 Hendrik - are you certain it is a rev. B3 with the ar5213 chipset? The
 ath driver on my box attempts to hook, but fails. I get these kernel
 messages:
 
 ath0: Atheros 5212 mem 0xd680-0xd68 0 irq 5 at device 10.0 on
 pci0
 ath0: unable to attach hardware; HAL status 13
 kernel: device_attach: ath0 attach returned 6



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


Re: Dual booting w/ two disks

2005-01-24 Thread FreeBsdBeni
 On Mon, 24 Jan 2005 01:27:45 -0800, gabriel [EMAIL PROTECTED] wrote:
  I'm trying to dual boot FreeBSD and Windows XP with two different
  disks, I have manged to get FreeBSD running and installed the boot
  manager and grub on it.
 
  When I boot into windows, I get some sort of boot loader error and it
  halts.
 
  Here's my menu.lst:

I have Grub booting just from 1 disk, not 2, but with 4 different partitions.
Here's my menu.lst as installed by Suse 9.2. I just moved the FreeBSD lines up 
to the first place ;-). The lines to boot FreeBSD from the Linux Grub version 
I found with a info grub under Suse. There is a chapter on booting other 
OS'es. But it boots Windows XP, FreeBSD and Suse without any problem here.


color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd0,2)/boot/message

###Added by Beni ###
title FreeBSD
root (hd0,a) 
kernel /boot/loader 
boot

###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE LINUX 9.2
kernel (hd0,2)/boot/vmlinuz root=/dev/hda3 vga=0x31a selinux=0 
splash=verbose resume=/dev/hda6 desktop elevator=as showopts
initrd (hd0,2)/boot/initrd

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows XP
root (hd0,0)
chainloader +1

###Don't change this comment - YaST2 identifier: Original name: floppy###
title Diskette
root (fd0)
chainloader +1

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE LINUX 9.2
kernel (hd0,2)/boot/vmlinuz root=/dev/hda3 showopts ide=nodma apm=off 
acpi=off vga=normal noresume selinux=0 barrier=off nosmp noapic maxcpus=0  3
initrd (hd0,2)/boot/initrd


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


Re: Dual booting w/ two disks

2005-01-24 Thread gabriel
Okay cool, I'll try those when I get home. I think the main issue with
me is just finding the actual partition on the second disk to boot
windows because I dont know which is it.

Thanks!

On Mon, 24 Jan 2005 21:01:39 +0100, FreeBsdBeni [EMAIL PROTECTED] wrote:
  On Mon, 24 Jan 2005 01:27:45 -0800, gabriel [EMAIL PROTECTED] wrote:
   I'm trying to dual boot FreeBSD and Windows XP with two different
   disks, I have manged to get FreeBSD running and installed the boot
   manager and grub on it.
  
   When I boot into windows, I get some sort of boot loader error and it
   halts.
  
   Here's my menu.lst:
 
 I have Grub booting just from 1 disk, not 2, but with 4 different partitions.
 Here's my menu.lst as installed by Suse 9.2. I just moved the FreeBSD lines up
 to the first place ;-). The lines to boot FreeBSD from the Linux Grub version
 I found with a info grub under Suse. There is a chapter on booting other
 OS'es. But it boots Windows XP, FreeBSD and Suse without any problem here.
 
 color white/blue black/light-gray
 default 0
 timeout 8
 gfxmenu (hd0,2)/boot/message
 
 ###Added by Beni ###
 title FreeBSD
root (hd0,a)
kernel /boot/loader 
boot
 
 ###Don't change this comment - YaST2 identifier: Original name: linux###
 title SUSE LINUX 9.2
kernel (hd0,2)/boot/vmlinuz root=/dev/hda3 vga=0x31a selinux=0
 splash=verbose resume=/dev/hda6 desktop elevator=as showopts
initrd (hd0,2)/boot/initrd
 
 ###Don't change this comment - YaST2 identifier: Original name: windows###
 title Windows XP
root (hd0,0)
chainloader +1
 
 ###Don't change this comment - YaST2 identifier: Original name: floppy###
 title Diskette
root (fd0)
chainloader +1
 
 ###Don't change this comment - YaST2 identifier: Original name: failsafe###
 title Failsafe -- SUSE LINUX 9.2
kernel (hd0,2)/boot/vmlinuz root=/dev/hda3 showopts ide=nodma apm=off
 acpi=off vga=normal noresume selinux=0 barrier=off nosmp noapic maxcpus=0  3
initrd (hd0,2)/boot/initrd
 
 --
 FreeBsdBeni.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


-- 
gabriel,

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


Re: Scroll whell on FreeBSD 5.3 i386

2005-01-24 Thread gabriel
You have to edit /etc/X11/tab and make the change there if I
remember correctly.

Cheers!


On Mon, 24 Jan 2005 14:59:51 -0500, Alan Gerber [EMAIL PROTECTED] wrote:
 If one is using the auto-configure feature of xorg, how does one specify
 this override?  If there is no way to override this setting [so that one
 must create an xorg.cfg file, is there a way to pull out the
 currently-running configuration?
 
 --
 Alan Gerber
 
 Andrew Hall wrote:
 
  Add this to your mouse section, and restart X.
 
 
  Option  ZAxisMapping  4 5
 
  Drew
 
  Michael Madden wrote:
 
  What is the secret to getting my scroll wheel working on FreeBSD
  5.3?  If have
  the following added to /etc/rc.conf:
 
  moused_enable=YES
  moused_flags=
  moused_port=/dev/psm0
  moused_type=auto
 
  I've also got the mouse section of /etc/X11/xorg.conf setup as:
 
  Section InputDevice
  Identifier  Mouse1
  Driver  mouse
  Option  Protocol auto
  Option  Device /dev/sysmouse
  EndSection
 
  The mouse works fine as a normal mouse (right click, left click, middle
  click), but the scroll wheel doesn't scroll.
 
  Thanks in advance,
  Mike
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


-- 
gabriel,

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


Re: OpenGL hardware acceleration with FreeBSD 5.3

2005-01-24 Thread Jorn Argelo
On Mon, 24 Jan 2005 13:48:23 -0600, Michael Madden wrote
 I have a Matrox G400, and I cannot figure out how to get hardware 
acceleration
 setup for it.  glxinfo still displays direct rendering: No, and OpenGL
 apps like glxgears are slow.  I've made sure I've got the dri and 
 glx modules loaded, and I've added the DRI section to xorg.conf.
 
 If it helps, here is my xorg.conf file.  Thanks for the help.
 
[snip]

Are you using Matrox's Linux drivers? If so, are you sure that you are using 
the right driver for xorg? I have no experience with the cards though, so I 
don't know what drivers they use.

Jorn

 
 ___
 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 HOWTO: Software Mirror System Disk

2005-01-24 Thread Danny Howard
[ From http://dannyman.toldme.com/2005/01/24/freebsd-howto-gmirror-system/ ]
A new feature of FreeBSD 5.3 is the ability to set up a software mirror 
of your system disk. This allows you to boot off either of a pair of 
hard disks, which will then function as a RAID1, which will ensure 
system uptime in the face of a single disk failure.

As the documentation is a bit sketchy, heres a quick cheat sheet for 
setting this up with gmirror:
(This crib sheet assumes you have a pair of identical IDE (in my case, 
SATA) drives identified as ad4 and ad6.)

  1. Install FreeBSD on to ad4.
  2. Reboot with the Install CD.
  3. Enter Fixit mode, using Install CD disc2 as the live filesystem
  4. # *chroot /dist*
 # *mount_devfs devfs /dev*
 # *gmirror label -v -b round-robin gm0 /dev/ad4*
 # *gmirror insert gm0 /dev/ad6*
 # *mount /dev/mirror/gm0s1a /mnt*
 # *echo geom_mirror_load=YES  /mnt/boot/loader.conf*
 # *echo swapoff=YES  /mnt/etc/rc.conf*
  5. Edit /mnt/etc/fstab to convert ad4 - mirror/gm0
  6. Reboot
Thanks to the few dozen people who have come before me, and posted 
crucial hints to the mailing lists. Thanks also to Ralf S. Engelschall 
who has a far more verbose explanation of how to do this sort of thing 
with mis-matched disks. [See http://people.freebsd.org/~rse/mirror/ ]
http://people.freebsd.org/%7Erse/mirror/
You should definately look over the gmirror man page, and review the 
output of *gmirror list gm0* when swapping out drives. You can disable 
automatic rebuild, etc. It is quite nice.

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


Re: JDK 1.5 and 5.3

2005-01-24 Thread Tabor Kelly
Andrew Hall wrote:
snip
Any idea about the missing browser plugin?
Which browser? For Firefox one way to get a functional Java plugin is 
simply to install the JDK before you build Firefox.

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


Re: compiling kernel

2005-01-24 Thread Oliver Leitner
$ which perl5
/usr/local/bin/perl5
$ perl5 --version

This is perl, v5.8.5 built for i386-freebsd-64int

Copyright 1987-2004, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'.  If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.

Thats my info on perl5, which tells me, that i prolly installed it through 
the ports collection (hence /usr/local...), and that its the perl version 
5.8.5 from there...

maybe you just havent the right perl installed?

but i cant put my hand into the fire for this, after all im new to bsd=)

Greetings
Oliver Leitner
Technical Staff
http://www.shells.at

On Monday 24 January 2005 15:13, Josip wrote:
 Let me first just say that I'm new to FreeBSD. I'm tring to compile a
 custom kernel and when I do make buildkernel KERNCONF=NEWKERN  I get
 this:
 perl5 /usr/src/sys/kern/vnode_if.pl -h /usr/src/sys/kern/vnode_if.src
 perl5:No such file or directory.

 Both files are in the specified dir.

 When I run the above command manualy it execues OK and creates the file
 vnode_if.h in pwd.

 What am I doing wrong?

 Thanks!

 PS Also if I do make buildkernel KERNCONF=GENERIC I get the same error!
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

-- 
By reading this mail you agree to the following:

using or giving out the email address and any 
other info of the author of this email is strictly forbidden.
By acting against this agreement the author of this mail 
will take possible legal actions against the abuse.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD and SANs

2005-01-24 Thread Oliver Leitner
Ok, im not fully into the programs involved with SAN technology, maybe you 
may give a few names of programs youre used to, so i could look for em?

Greetings
Oliver Leitner
Technical Staff
http://www.shells.at

On Monday 24 January 2005 15:46, Wood, Bradley wrote:
 Hi

 I am wanting to access a SAN from FreeBSD. Is there any support for this to
 you knowledge? If so, can anyone recommend a hardware solution that worked
 well? Additionally, if anyone is aware of hosting firms that provide and
 support FreeBSD nodes co-lo managed but also provide per gigabyte pricing
 on SAN-accessible storage I would be most interested.

 Thanks

 Bradley

 This email may contain confidential material.  If you were not an
 intended recipient, please notify the sender and delete all copies.
 We may monitor email to and from our network.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

-- 
By reading this mail you agree to the following:

using or giving out the email address and any 
other info of the author of this email is strictly forbidden.
By acting against this agreement the author of this mail 
will take possible legal actions against the abuse.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: JDK 1.5 and 5.3

2005-01-24 Thread Andrew Hall

Tabor Kelly wrote:
Andrew Hall wrote:
snip
Any idea about the missing browser plugin?

Which browser? For Firefox one way to get a functional Java plugin is 
simply to install the JDK before you build Firefox.

Well sorta.  I installed firefox, then built jdk, then removed firefox, 
then rebuilt from ports and about:plugins show sqat for jdk.

Can you force firefox to find java again after install?
Drew
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD HOWTO: Software Mirror System Disk

2005-01-24 Thread Danny Howard
Danny Howard wrote:
As the documentation is a bit sketchy, heres a quick cheat sheet for 
setting this up with gmirror:
(This crib sheet assumes you have a pair of identical IDE (in my case, 
SATA) drives identified as ad4 and ad6.)
Let me apologize for Thunderbird formatting my mail goofy.  (I only use 
it for mailing lists, silly vim weenie.)  Here's a little clean-up:

 1. Install FreeBSD on to ad4.
 2. Reboot with the Install CD.
 3. Enter Fixit mode, using Install CD disc2 as the live filesystem
 4. # chroot /dist
# mount_devfs devfs /dev
# gmirror label -v -b round-robin gm0 /dev/ad4
# gmirror insert gm0 /dev/ad6
# mount /dev/mirror/gm0s1a /mnt
# echo geom_mirror_load=YES  /mnt/boot/loader.conf
# echo swapoff=YES  /mnt/etc/rc.conf
 5. Edit /mnt/etc/fstab to convert ad4 - mirror/gm0
 6. Reboot
-danny
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: making freebsd boot faster ...

2005-01-24 Thread Oliver Leitner

Wow, thats a long time**

nahh, lets think bout this seriously, shouldnt we;)

ok, if youre kinda into it, you could try to compile your bsd kernel with as 
small amount of modules, as possible.

also, if youre deeper into it, you could try to rewrite the modules, all in 
pure asm.

on top of that, how bout disabling all daemons that startup on boottime with 
the box, and in case you have it running, disable your x, cause its just 
taking up time and we dont really need a gui on bsd, do we?

ok, just had to be...

Greetings
Oliver Leitner
Technical Staff
http://www.shells.at

On Monday 24 January 2005 20:52, faisal gillani wrote:
 i want my freebsd 5.3 to boot faster
 there are almost 15 sec my box is taking longer , 5
 sec in the boot manager screen  10 sec more in the
 welcome  boot options screen ..


 ?

 =
 *º¤., ¸¸,.¤º*¨¨¨*¤ Allah-hu-Akber*º¤., ¸¸,.¤º*¨¨*¤

 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around
 http://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]

-- 
By reading this mail you agree to the following:

using or giving out the email address and any 
other info of the author of this email is strictly forbidden.
By acting against this agreement the author of this mail 
will take possible legal actions against the abuse.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: JDK 1.5 and 5.3

2005-01-24 Thread Andrew Hall
Sorry to reply to my own post
Andrew Hall wrote:

Tabor Kelly wrote:
Andrew Hall wrote:
snip
Any idea about the missing browser plugin?

Which browser? For Firefox one way to get a functional Java plugin is 
simply to install the JDK before you build Firefox.

Well sorta.  I installed firefox, then built jdk, then removed firefox, 
then rebuilt from ports and about:plugins show sqat for jdk.

Can you force firefox to find java again after install?
Even if you can, the fact that the plugin is missing from the jdk 1.5 is 
whats bothering me.  There is no plugins dir, as there should be.

Drew
Drew
___
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: Scroll whell on FreeBSD 5.3 i386

2005-01-24 Thread Alan Gerber
Oops.  Forgot to send this to the list. :-)
Alan Gerber wrote:
In my particular place, I have nothing in /etc/X11.  In other words, I 
have not created a configuration file yet - xorg has been 
automatically detecting my installation just fine [with the obvious 
exception of the mouse wheel].  Is there a way to pull out the 
configuration it is currently using?

--
Alan Gerber
gabriel wrote:
You have to edit /etc/X11/tab and make the change there if I
remember correctly.
Cheers!
On Mon, 24 Jan 2005 14:59:51 -0500, Alan Gerber [EMAIL PROTECTED] 
wrote:
 

If one is using the auto-configure feature of xorg, how does one 
specify
this override?  If there is no way to override this setting [so that 
one
must create an xorg.cfg file, is there a way to pull out the
currently-running configuration?

--
Alan Gerber
Andrew Hall wrote:
  

Add this to your mouse section, and restart X.
Option  ZAxisMapping  4 5
Drew
Michael Madden wrote:


What is the secret to getting my scroll wheel working on FreeBSD
5.3?  If have
the following added to /etc/rc.conf:
moused_enable=YES
moused_flags=
moused_port=/dev/psm0
moused_type=auto
I've also got the mouse section of /etc/X11/xorg.conf setup as:
Section InputDevice
   Identifier  Mouse1
   Driver  mouse
   Option  Protocol auto
   Option  Device /dev/sysmouse
EndSection
The mouse works fine as a normal mouse (right click, left click, 
middle
click), but the scroll wheel doesn't scroll.

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

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


  1   2   3   >