[PATCH] Re: FreeBSD 6.0 on Sony Laptop

2005-11-16 Thread Ruben de Groot

Following up on myself; the patch below (relative to 5.4-RELEASE) makes
my vaio VGN-S5M/S recognise the SATA controller for what it is.

Before:

atapci1: GENERIC ATA controller port 
0x18a0-0x18af,0x1894-0x1897,0x18b0-0x18b7,0x18b8-0x18bb,0x18c0-0x18c7 irq 18 at 
device 31.2 on pci0
ad4: 76319MB FUJITSU MHV2080BH/0025 [155061/16/63] at ata2-master UDMA33

After:

atapci1: Intel ICH6-M SATA150 controller port 
0x18a0-0x18af,0x1894-0x1897,0x18b0-0x18b7,0x18b8-0x18bb,0x18c0-0x18c7 irq 18 at 
device 31.2 on pci0
ad4: 76319MB FUJITSU MHV2080BH/0025 [155061/16/63] at ata2-master SATA150

Patch:

diff -u sys/dev/ata.orig/ata-chipset.c sys/dev/ata/ata-chipset.c
--- sys/dev/ata.orig/ata-chipset.c  Wed Mar 23 06:14:11 2005
+++ sys/dev/ata/ata-chipset.c   Tue Nov 15 21:39:17 2005
@@ -838,6 +838,7 @@
  { ATA_I82801FB,   0, 0, 0x00, ATA_UDMA5, Intel ICH6 },
  { ATA_I82801FB_S1,0, 0, 0x00, ATA_SA150, Intel ICH6 },
  { ATA_I82801FB_R1,0, 0, 0x00, ATA_SA150, Intel ICH6 },
+ { ATA_I82801FBM,  0, 0, 0x00, ATA_SA150, Intel ICH6-M },
  { 0, 0, 0, 0, 0, 0}};
 char buffer[64];

diff -u sys/dev/ata.orig/ata-pci.h sys/dev/ata/ata-pci.h
--- sys/dev/ata.orig/ata-pci.h  Wed Mar 23 06:14:11 2005
+++ sys/dev/ata/ata-pci.h   Tue Nov 15 21:41:07 2005
@@ -127,6 +127,7 @@
 #define ATA_I82801FB   0x266f8086
 #define ATA_I82801FB_S10x26518086
 #define ATA_I82801FB_R10x26528086
+#define ATA_I82801FBM  0x26538086

 #define ATA_ITE_ID 0x1283
 #define ATA_IT8212F0x82121283

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


Re: xterm conflicts with xorg-clients

2005-11-16 Thread Jeppe Larsen
On Mon, 14 Nov 2005 20:49:30 +, Alex Zbyslaw wrote:
 
 I have created a patch based on this link, and now xorg-clients builds 
 just fine.  I am attaching a gzipped version of the patch (no idea if 
 attachments will work to the list or not), or you can create one based 
 on the URL (but tabs/spaces will almost certainly mess you up).  Unzip 
 it in /usr/ports/x11/xorg-clients/files
 
 Or you can do (from memory):
 
 cd /usr/ports/x11/xorg-clients
 make clean extract
 cd work/xc
 cp programs/xdriinfo/xdriinfo.c programs/xdriinfo/xdriinfo.c.orig
 * edit programs/xdriinfo/xdriinfo.c and change the glXGetProcAddress to 
 glXGetProcAddressARB on lines 61/2 (or thereabouts).
 diff -u programs/xdriinfo/xdriinfo.c.orig programs/xdriinfo/xdriinfo.c  
 ../../files/patch-xdriinfo.c
 cd ../..
 make patch
 (which should apply cleanly)
 make
 (which should finish normally)
 
 Then if it all worked you can say portupgrade -w x11/xorg-clients 
 which should install what you have just rebuilt.  The patch will survive 
 csvup and would need to be deleted if this issue is ever fixed.
 
 Then portupgrade x11/xterm should work fine.
 
 --Alex
 

Thanks alot, but it worked to deinstall nvidia-driver first and then
update xorg-clients. But I save your patch if the problem reappears with
a new update :)

-- 
vh
Jeppe W. Larsen

Logic is the beginning of wisdom; not the end.


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


Chad Ted

2005-11-16 Thread Uncle Deejy-Pooh
That is the world according to Ted Mittelstaedt.

Stick to answering technical posts Ted.  You are good at that.  Lay  
of the conspiracy crap that your fevered mind makes up.

Chad

Have you two ever met ? If so, who won ???

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


Re: Linuxpluginwrapper

2005-11-16 Thread Tino Boss

Marco Beishuizen wrote:


- Link the plugin:

 ln -s /usr/X11R6/lib/linux-flashplugin7/libflashplayer.so 
/usr/X11R6/lib/browser_plugins/




I have flashplugin6 working here. To install it, I also linked a second 
file called libflashplayer.xpt


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


Install ruby-postgres binding with postgres 8.1

2005-11-16 Thread Pat Maddox
I want to install the ruby-postgres binding
(ports/databases/ruby-postgres), and I've got postgres 8.1 installed
on my machine.  When I do 'make install', it starts to download
postgresql-client-7.4.9, and then fails because that conflicts with
postgresql-client-8.1.0, which I have installed.  I'd like to somehow
remove the dependency on 7.4.9 and compile against 8.1.0...how can I
do this?

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


Re: Im trying to find the H and V sync rates for the LCD in

2005-11-16 Thread Greg 'groggy' Lehey
On Tuesday, 15 November 2005 at 19:15:51 -0600, Eric Murphy wrote:
 A Inspiron 9300, I cant seem to find this info ANYWHERE, and i want to
 configuer Xorg :)   Can anyone point me in the right direction?

What happens when you run this (from a text-mode terminal)?

  X  -configure

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problem with linuxpluginwrapper

2005-11-16 Thread RW
On Wednesday 16 November 2005 04:31, [EMAIL PROTECTED] wrote:
 I have just installed Gnome 2.12 on 6.0stable, and then installed
 linuxpluginwrapper from the port.  After installation I copied
 libmap.conf-FreeBSD6 to /etc/libmap.conf.  However, when I start Mozilla
 and goto the plugins page, there is nothing installed.  Any help to fix
 this is appreciated.



Try rebuilding with: 

WITH_PLUGINS=yes

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


How to properly set-up an SSH tunnel on FreeBSD for automatic backups

2005-11-16 Thread Olaf Greve

Hi,

I'm trying to set-up an SSH tunnel between two FreeBSD machines, over a 
direct cross-wire connection between the two, and I'm having issues in 
doing so. The question(s) I have is/are probably not FreeBSD specific, 
but still I hope someone can answer it/them...


The situation:
I have two servers (one live, and one staging/fall-back server), and 
between the two of those I have set-up a local network. The live machine 
is 192.168.1.1 and the fall-back machine is 192.168.1.2. Now, I have 
already figured out how to synch the files using rsync, and in order to 
automatically down-synch the live MySQL database to the fall-back 
machine at specific times a day, I want to be able to run (from the live 
server) a script that performs commands like this one:

ssh 192.168.1.2 mysqladmin -f drop $database

The followed approach:
In order to be able to run this as root from a cron job, without having 
to type a password, I tried doing the following (which can be found all 
over the Internet).
-On 192.168.1.2: as root generate a (passphrase-less) public RSA key 
(i.e. ssh-keygen -t rsa), and in /etc/ssh/sshd_config add a line like 
AllowUsers [EMAIL PROTECTED] olaf
-On 192.168.1.2 I created the file ~/.ssh/authorized_keys and added the 
public key of 192.168.168.2 to it



The problem:
Even after doing a kill -s HUP sshd pid on both machines, I still 
cannot SSH without being asked for a password. :(
Surely this must be something in my SSHD configuration on 192.168.1.2 
(or at least so I think).


The question(s):
-Does anyone know how to properly achieve this, without opening up the 
fall-back machine to the outside world (it is OK if it's open to 
192.168.1.1)?
-Does anyone see anything wrong in the below (partially) listed 
sshd_config options?


Additional info:
I fiddled around somewhat with /etc/ssh/sshd_config on 192.168.168.2, 
and I tried various combinations of allowing disallowing the below (all 
to no avail):

PermitRootLogin yes
AllowUsers [EMAIL PROTECTED] olaf

RSAAuthentication yes
PubkeyAuthentication yes
AuthorizedKeysFile  .ssh/authorized_keys


Are these the only options that should be manipulated for this, and if 
so, how? Or should I also change some of the below (or other) 
sshd-config settings?


#StrictModes yes

# To disable tunneled clear text passwords, change to no here!
#PasswordAuthentication yes
#PermitEmptyPasswords no

# Change to no to disable PAM authentication
#ChallengeResponseAuthentication yes

# rhosts authentication should not be used
#RhostsAuthentication no
# Don't read the user's ~/.rhosts and ~/.shosts files
#IgnoreRhosts yes
# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
#RhostsRSAAuthentication no
# similar for protocol version 2
#HostbasedAuthentication no
# Change to yes if you don't trust ~/.ssh/known_hosts for
# RhostsRSAAuthentication and HostbasedAuthentication
#IgnoreUserKnownHosts no

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


RE: smp problem

2005-11-16 Thread Graham Lewis
I've got several DL380's running 5.4 SMP without problems.

I suggest it may be the kernel recompile causing you problems:


Nov 15 11:03:53  kernel: /usr/obj/usr/src/sys/MYKERNE\L

Is this a typo in your ?   

Should it not be /usr/obj/usr/src/sys/MYKERNEL?



cd /usr/src/sys/i386/conf
cp GENERIC KSAUNDERS

edit KSAUNDERS and replace ident GENERIC with:

ident   KSAUNDERS

add the line:

options SMP #adds SMP support

Compile the custom kernel

Cd /usr/src
Make buildkernel KERNCONF=KSAUNDERS
Make installkernel KERNCONF=KSAUNDERS

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


Re: Install ruby-postgres binding with postgres 8.1

2005-11-16 Thread Pat Maddox
I managed to get this working.  If anyone's interested, I wrote up a
short guide to upgrading to 8.1
http://www.flpr.org/articles/2005/11/16/upgrading-to-postgresql-8-1


On 11/16/05, Pat Maddox [EMAIL PROTECTED] wrote:
 I want to install the ruby-postgres binding
 (ports/databases/ruby-postgres), and I've got postgres 8.1 installed
 on my machine.  When I do 'make install', it starts to download
 postgresql-client-7.4.9, and then fails because that conflicts with
 postgresql-client-8.1.0, which I have installed.  I'd like to somehow
 remove the dependency on 7.4.9 and compile against 8.1.0...how can I
 do this?

 Thanks,
 Pat

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


strange USB mouse detection behaviour

2005-11-16 Thread likeapear

Hello,

I'm using FreeBSD 6.0-RELEASE (generic kernel) on my laptop Compaq Evo 
n1020v and have trouble with Microsoft USB mouse: Mouse is not 
recognized (no /dev/ums0 information in dmesg). Only this trick help me 
to recognize it: When mouse is unplugged and then plugged in back to 
another USB connector while running FreeBSD! /dev/ums0 is available and 
mouse is working perfect!


With Logitech USB mouse it is the same.

Is there somebody who can help me?

Thank you

{likeapear}

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


gmirror, gvinum or ccd to mirror root-filesystem under 6.0R

2005-11-16 Thread Reinhard

hi list

currently i use gvinum under 5.4-R to mirror (raid-1) my
root-file-system. works nice but was a little bit
complicate/nasty to setup (basically it was the procedure as described
on http://devel.reinikainen.net/docs/how-to/Vinum/#Chapter3.2 )

i plan to install 6.0-R in near future and ask myself if i should use
gmirror, ccd or gvinum (again) for software-raid for mirroring the root
file-system, as to:
- reliability, stability issues
- performance issues
- minimum installation/configuration effort 
- advantages / disadvantages of gmirror vs. ccd vs. gvinum

what are the experiences here ?

thanks for answers,
~reinhard

-- 
My mother drinks to forget she drinks.
-- Crazy Jimmy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to properly set-up an SSH tunnel on FreeBSD for automatic backups

2005-11-16 Thread Alex Zbyslaw

Olaf Greve wrote:


Hi,

I'm trying to set-up an SSH tunnel between two FreeBSD machines, over 
a direct cross-wire connection between the two, and I'm having issues 
in doing so. The question(s) I have is/are probably not FreeBSD 
specific, but still I hope someone can answer it/them...


I don't see any specific problem with what you are trying but ssh 
connections are prone to so many kinds of error...


The first thing you should do is to try your ssh with much verbosity 
ssh -v -v -v and see what it is doing.  Does it try to use your key?  
If it does, does the remote server reject it?  Once you have more 
details it may be easier to help you fix the problem, or you might find 
the answer yourself.


Common mistakes include: wrong permissions on the key file or .ssh 
directories and mis/copy-pasting the public key (make sure you didn't 
get any newlines in it); some mistake in a config file.  I say common, 
because these are the ones I regularly make :-)  ssh -v is your friend.


--Alex

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


ypmatch suddenly uses unprivileged port for master.passwd

2005-11-16 Thread Palle Girgensohn

Hi!

All of a sudden, our ypwhich uses an unprivileged port when accessing 
master.passwd, and of course, it does not get any results:


# ypmatch girgen master.passwd
ypmatch: can't match key girgen in map master.passwd.byname. reason: YP 
server error


messages:
Nov 16 14:51:13 banan ypserv[164]: access to master.passwd.byname denied -- 
client 192.168.1.184:2165 not privileged



tcpdump:

14:12:56.909459 banan.pingpong.net.2425  banan.pingpong.net.972: udp 88
0x   4500 0074 ee7f  4011 0739 c0a8 01b8[EMAIL PROTECTED]
0x0010   c0a8 01b8 0979 03cc 0060 51f1 4c72 f0c8.y...`Q.Lr..
0x0020      0002 0001 86a4  0002
0x0030    0003      
0x0040      0005 4d75 7369 6b00 Musik...
0x0050    0014 6d61 7374 6572 2e70 6173 7377master.passw
0x0060   642e 6279 6e61 6d65  0006 6769 7267d.bynamegirg
0x0070   656e   en..
14:12:56.909917 banan.pingpong.net.972  banan.pingpong.net.2425: udp 32
0x   4500 003c ee80  4011 0770 c0a8 01b8E..[EMAIL PROTECTED]
0x0010   c0a8 01b8 03cc 0979 0028 3061 4c72 f0c8...y.(0aLr..
0x0020    0001      
0x0030      fffa    


No maps where changed, I honestly don't have a clue as to to why this 
happened. Any ideas?


/Palle

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


Re: strange USB mouse detection behaviour

2005-11-16 Thread Dev Tugnait
do you have usbd_enable=YES in rc.conf?

On Wed, 2005-11-16 at 14:41 +0100, likeapear wrote:
 Hello,
 
 I'm using FreeBSD 6.0-RELEASE (generic kernel) on my laptop Compaq Evo 
 n1020v and have trouble with Microsoft USB mouse: Mouse is not 
 recognized (no /dev/ums0 information in dmesg). Only this trick help me 
 to recognize it: When mouse is unplugged and then plugged in back to 
 another USB connector while running FreeBSD! /dev/ums0 is available and 
 mouse is working perfect!
 
 With Logitech USB mouse it is the same.
 
 Is there somebody who can help me?
 
 Thank you
 
 {likeapear}
 
 ___
 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: make release error

2005-11-16 Thread Lowell Gilbert
Maxim Vetrov [EMAIL PROTECTED] writes:

 I'm running 5.4 and trying to make release of 6.0.

You do realize the documentation says that's not supported, right?
You're kind of on your own there.

While making
 release, I got next error:
 
 ...
 cvs checkout: Updating doc/zh_TW.Big5/share
 cvs checkout: Updating doc/zh_TW.Big5/share/sgml
 if [ -d /usr/src/release/../../ports/distfiles/ ]; then  cp -rp
 /usr/src/release/../../ports/distfiles
 /data/RELEASE_60/bin/usr/ports/distfiles;  else  mkdir -p
 /data/RELEASE_60/bin/usr/ports/distfiles;  fi
 make: don't know how to make checksum-recursive. Stop
 *** Error code 2
 
 Stop in /usr/src/release.
 *** Error code 1
 ...
 
 What might cause it?

Seems like a mismatch between the 5.4 and 6.0 makefiles.  
If you try pointing off to the new makefiles, you might be able to
get past this particular issue.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sound Configuration, Sony Laptop with ac97

2005-11-16 Thread Dev Tugnait
Do a kldload snd_driver, then test your sound. This loads all the sound
drivers...then go from there

On Wed, 2005-11-16 at 15:41 +1100, Peter Clutton wrote:
 Hi everyone, wondering if anybody could help me out. I'm running
 FreeBSD 5.4-release on a Sony Vaio, and just about everything worked
 right off the bat. However when starting Gnome, i get a message about
 how it can't open the sound device, and sound just isn't working for
 me.
 
 The sound device listed in Sony's specs says ac97-compatible on board
 sound. I tried the open source sound drivers with no luck. Has anybody
 else been successful getting this sound device up and running? I know
 it's quite a common chip (my desktop, m$, uses it aswell). Is there
 perhaps just an option I can add to the kernel? That would be a
 no-brainer, i just need to know what to add.
 
 Feel free to ask for more info, I will post exact messages, specs, and
 output from any commands that may help you. Thanks in advance.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
-- 
_ 
 FreeBSD 
- 
\   ^__^
 \  (oo)\___
(__)\   )\/\
||w |
|| ||

[ We've switched the bath sponge with a tribble. ]

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

2005-11-16 Thread Lowell Gilbert
Dave [EMAIL PROTECTED] writes:

 Hello,
 Can anyone tell me what these log outputs mean? I'm seeing them in
 my daily security log reports.
 Thanks.
 Dave.
 
 
 +cmd mysqld pid 32880 tried to use non-present sched_yield
 +cmd mysqld pid 32880 tried to use non-present sched_yield
 +cmd cdrecord pid 26176 tried to use non-present sched_get_priority_max
 +cmd cdrecord pid 26176 tried to use non-present sched_setscheduler
 +cmd cdrecord pid 26177 tried to use non-present sched_get_priority_max
 +cmd cdrecord pid 26177 tried to use non-present sched_setscheduler

Please help us help you:

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions/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: problem with linuxpluginwrapper

2005-11-16 Thread Dev Tugnait
There is a whole thread on linuxpluginwrapper in the mailing list or was
ongoing recently, search the archives for that port issue and fixes. I
could only get flash7 working flash6 gave a lot of trouble and I havent
looked into it any further.

On Wed, 2005-11-16 at 12:31 +, RW wrote:
 On Wednesday 16 November 2005 04:31, [EMAIL PROTECTED] wrote:
  I have just installed Gnome 2.12 on 6.0stable, and then installed
  linuxpluginwrapper from the port.  After installation I copied
  libmap.conf-FreeBSD6 to /etc/libmap.conf.  However, when I start Mozilla
  and goto the plugins page, there is nothing installed.  Any help to fix
  this is appreciated.
 
 
 
 Try rebuilding with: 
 
 WITH_PLUGINS=yes
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
-- 
_ 
 FreeBSD 
- 
\   ^__^
 \  (oo)\___
(__)\   )\/\
||w |
|| ||

[ We've switched the bath sponge with a tribble. ]

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


Ntp Runs 2 Processes

2005-11-16 Thread Dev Tugnait
Upong booting my machine i noticed ntp running 2 processes.

root 456  0.0  0.1  2952  1396  ??  Ss4:30AM
0:00.50 /usr/sbin/ntpd -c /etc/ntp.conf -p /var/run/
root 803  0.0  0.1  2952  1404  ??  S 4:31AM
0:00.01 /usr/sbin/ntpd -c /etc/ntp.conf -p /var/run/

rc.conf info
ntpd_enable=YES
ntpd_flags=-c /etc/ntp.conf -p /var/run/ntpd.pid
ntpdate_enable=YES
ntpdate_flags=ntp2.usno.navy.mil


-- 
_ 
 FreeBSD 
- 
\   ^__^
 \  (oo)\___
(__)\   )\/\
||w |
|| ||

[ We've switched the bath sponge with a tribble. ]

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


RE:problem with linuxpluginwrapper

2005-11-16 Thread myfreebsd
I have just installed Gnome 2.12 on 6.0stable, and then installed
linuxpluginwrapper from the port.  After installation I copied
libmap.conf-FreeBSD6 to /etc/libmap.conf.  However, when I start Mozilla
and goto the plugins page, there is nothing installed.  Any help to fix
this is appreciated.

TIA

I had the same problem with Firefox. No plugins installed in about:plugins. 
When I went to /usr/X11R6/lib/browser_plugins I notice that with 6.0, 
linuxpluginwrapper doesn't add the links to the .so/.xpt plugins there. After 
adding them manually, Firefox recognized the plugins. I am not sure if this is 
the same for Mozilla (I actually have never used Mozilla standard) but I don't 
see why it would be different (Made by the same people). If you need help 
finding the location of the plugins, I can give them to you later (@ M$ machine 
@ work) when I get home. 

Also, linuxpluginwrapper now only installs linux-flashplugin I believe. At 
least I had to install acroread seperately. I haven't tried to install 
realplayer as it sucks and never seems to work in Firefox. JDK 1.4 should 
install a plugin in /usr/X11R6/lib/browser_plugin when you build it. If you 
need directions to do this as it is not as simple as 'make install clean' here 
is a link:

http://www.freebsdwiki.net/index.php/Java

If you install acroread and have difficulty getting it to work, read through 
this thread:

http://www.freebsd.org/cgi/getmsg.cgi?fetch=1176741+1180218+/usr/local/www/db/text/2005/freebsd-questions/20051113.freebsd-questions

Last, Mozilla may have a different plugin dir it checks instead of 
/usr/X11R6/lib/browser_plugins. If so, add a link to the plugins there.

David

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


RE:Sound Configuration, Sony Laptop with ac97

2005-11-16 Thread myfreebsd
The sound device listed in Sony's specs says ac97-compatible on board
sound. I tried the open source sound drivers with no luck.

OSS is the sound server, not the sound card driver. It controls which programs 
have access to the sound card. You need to have the driver for the card loaded 
for OSS to work. 

Please read the manual. 

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

David

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


Re: safe and sane way to 6?

2005-11-16 Thread Andrew P.
On 11/16/05, Jeff D. Hamann [EMAIL PROTECTED] wrote:
 I've installed FreeBSD 6BETA4 a few months ago and have been waiting until
 the first release (non-beta) came out to get the machine moving. I went to
 upgrade my system by performing a cvsup after setting the cvsupfile to the
 following:

 *default host=cvsup18.FreeBSD.org
 *default base=/usr
 *default prefix=/usr
 *default release=cvs
 *default tag=RELENG_6_0
 *default delete use-rel-suffix
 *default compress
 src-all
 ports-all
 doc-all
 www
 cvsroot-all

 I then tried to run a make buildworld and got the following error message:

 mkmagic: could not find any magic files!
 *** Error code 1

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

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

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

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

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

 Stop in /usr/src.
 bobby#
 bobby#

 Now what? Would it be smarter to simply install a clean version of FreeBSD
 6.0? or can I upgrade without having to go through all that again?

This question probably belongs to [EMAIL PROTECTED]

This might solve your problem:

1. Try another cvsup server
2. Change your tag to RELENG_6_0
3. Remove the contents of /usr/src and /usr/obj - and cvsup again

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


Re: Need help, How to use knobs?

2005-11-16 Thread Igor Robul
On Wed, Nov 16, 2005 at 12:45:56PM +0800, snnn wrote:
 I'm a newbie to Freebsd.
 Who can tell me how to set the options used by knob when compile a port?
 Thanks~
make WITH_SOME_THING=yes
make WITH_SOME_THING=yes install 

Or I have not understood question?


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


Re: Secure File Copy

2005-11-16 Thread Ivailo Tanusheff
Hi,

You can use lsz/lrz commands, to achieve this install this port:

Port:   lrzsz-0.12.20_1
Path:   /usr/ports/comms/lrzsz
Info:   Receive/Send files via X/Y/ZMODEM protocol. (unrestrictive)
Maint:  [EMAIL PROTECTED]
B-deps:
R-deps:
WWW:http://www.ohse.de/uwe/software/lrzsz.html

Ivailo Tanusheff
Senior System administrator
ProCredit Bank (Bulgaria) AD





Joshua Lewis [EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED]
11/15/2005 03:47 PM

To
freebsd-questions@freebsd.org
cc

Subject
Secure File Copy






I have a FreeBSD 5.4 system and I have no way to back up the data. I don't
have a burner and I can't get one anytime soon. I do however have a burner
on my wifes G4 laptop. I have enabled SSH on the FreeBSD system and I can
SSH into the box from the Mac, However I do not know how to copy the files 
I
need to back up from the FreeBSD system to the Mac. Thanks ahead of time 
for
any help.
___
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: Secure File Copy

2005-11-16 Thread Michael Beattie
On 11/16/05, Ivailo Tanusheff [EMAIL PROTECTED] wrote:
 Hi,

 You can use lsz/lrz commands, to achieve this install this port:

 Port:   lrzsz-0.12.20_1
 Path:   /usr/ports/comms/lrzsz
 Info:   Receive/Send files via X/Y/ZMODEM protocol. (unrestrictive)
 Maint:  [EMAIL PROTECTED]
 B-deps:
 R-deps:
 WWW:http://www.ohse.de/uwe/software/lrzsz.html

 Ivailo Tanusheff
 Senior System administrator
 ProCredit Bank (Bulgaria) AD





 Joshua Lewis [EMAIL PROTECTED]
 Sent by: [EMAIL PROTECTED]
 11/15/2005 03:47 PM

 To
 freebsd-questions@freebsd.org
 cc

 Subject
 Secure File Copy






 I have a FreeBSD 5.4 system and I have no way to back up the data. I don't
 have a burner and I can't get one anytime soon. I do however have a burner
 on my wifes G4 laptop. I have enabled SSH on the FreeBSD system and I can
 SSH into the box from the Mac, However I do not know how to copy the files
 I
 need to back up from the FreeBSD system to the Mac. Thanks ahead of time
 for
 any help.


The easiest thing would be to use scp or stfp...  both are secure copy
commands that run through the ssh daemon.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ntpdate

2005-11-16 Thread Ivailo Tanusheff
Why you need to do this?
Your system is not fully operationl in the time you try to run ntpdate.
Just edit your /etc/ntp.conf to connect to some time servers. Per example 
mine is:

-su-2.05b# cat /etc/ntp.conf 
server ntp2.usno.navy.mil
server tock.usno.navy.mil
server tick.usno.navy.mil
server ntp.colby.edu
server navobs1.oar.net
server gnomon.cc.columbia.edu
server tick.gatech.edu
server ntp0.mcs.anl.gov

statistics loopstats clockstats
statsdir /var/log/ntpd
filegen loopstats enable
filegen clockstats enable
logfile /var/log/ntpd/ntpd.log
driftfile /var/db/ntp.drift
tinker panic 0

.

Ivailo Tanusheff
Senior System administrator
ProCredit Bank (Bulgaria) AD





dick hoogendijk [EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED]
11/15/2005 10:41 PM

To
fbsdq freebsd-questions@freebsd.org
cc

Subject
ntpdate






I have a ntpdate -b server rule in my rc.conf before the ntpd daemon
starts up. I get error msgs that the time server cannot be found.
Is named run before or after ntpdate?
Should I change the rule in something like ntpdate -b ip ?
What is the rule of thumb?

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 6.0 ++ The Power to Serve
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
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: Secure File Copy

2005-11-16 Thread Ivailo Tanusheff
Only if Mac supports this :)

Ivailo Tanusheff
Senior System administrator
ProCredit Bank (Bulgaria) AD




Michael Beattie [EMAIL PROTECTED] 
11/16/2005 05:12 PM

To
Ivailo Tanusheff [EMAIL PROTECTED]
cc
Joshua Lewis [EMAIL PROTECTED], freebsd-questions@freebsd.org
Subject
Re: Secure File Copy






On 11/16/05, Ivailo Tanusheff [EMAIL PROTECTED] wrote:
 Hi,

 You can use lsz/lrz commands, to achieve this install this port:

 Port:   lrzsz-0.12.20_1
 Path:   /usr/ports/comms/lrzsz
 Info:   Receive/Send files via X/Y/ZMODEM protocol. (unrestrictive)
 Maint:  [EMAIL PROTECTED]
 B-deps:
 R-deps:
 WWW:http://www.ohse.de/uwe/software/lrzsz.html

 Ivailo Tanusheff
 Senior System administrator
 ProCredit Bank (Bulgaria) AD





 Joshua Lewis [EMAIL PROTECTED]
 Sent by: [EMAIL PROTECTED]
 11/15/2005 03:47 PM

 To
 freebsd-questions@freebsd.org
 cc

 Subject
 Secure File Copy






 I have a FreeBSD 5.4 system and I have no way to back up the data. I 
don't
 have a burner and I can't get one anytime soon. I do however have a 
burner
 on my wifes G4 laptop. I have enabled SSH on the FreeBSD system and I 
can
 SSH into the box from the Mac, However I do not know how to copy the 
files
 I
 need to back up from the FreeBSD system to the Mac. Thanks ahead of time
 for
 any help.


The easiest thing would be to use scp or stfp...  both are secure copy
commands that run through the ssh daemon.

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


Re: ntpdate

2005-11-16 Thread dick hoogendijk
On Wed, 16 Nov 2005 17:15:24 +0200
Ivailo Tanusheff [EMAIL PROTECTED] wrote:

 Why you need to do this?
 Your system is not fully operationl in the time you try to run
 ntpdate. Just edit your /etc/ntp.conf to connect to some time
 servers. Per example mine is:

[cut very nice example]

Thank you. I
You are probably right. I'll get rid of ntpdate in rc.conf.
I have two timeservers at the moment. I will look for some more in the
Netherlands. Yours are to far away ;-)

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 6.0 ++ The Power to Serve
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


kernel's PAGE_SIZE

2005-11-16 Thread Miguel
Hi, im tunnig a postgresql server and i want to know what is the default 
value for


kernel's PAGE_SIZE

Thanks

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


RE: ICH6-R

2005-11-16 Thread Steve Bertrand
 Steve, I have made good progress. It seems that the factory 
 shipped the sata drives on ports 3 and 4 of the sata 
 controller. Both drives where secondary slaves. While we both 
 know that really shouldnt matter when you build a logical 
 drive and tell the array controller what span to boot from. 
 But it looks like freebsd hiccups on it. I moved my sata 
 drives to ports 1 and 2 on the sata controller, rebuilt the 
 array, installed and booted off the array with no problems. 
 
 My next issue with this controller is the performance -ick! 
 There is a blurb about its read perfomance on the intel web 
 site, Ill keep you posted. Good luck and let me kknow what 
 your drive configuration is. 

Thanks for the info! I'm going to Cc: the list now, in case someone else
is having issues.

My drives are 1 and 2 as well, as a matter of fact, I've tried them
everywhere. No matter what, after install, I get the blinking cursor.

I'm going to try to get a chance this aft to play around again, and I'll
let you know what I find. If it doesn't work, we can compare BIOS
settings.

Regards,

Steve

 
 
  
   Hi Steve, I saw your messages on the FreeBSD mailing list 
 archives. 
   I am doing some work for a client whom purchased an Intel 
   Se7221bk1-e with one of these embedded ICH6-R raid 
 controllers. Same 
   symptoms as you stated, install runs great but wont boot from 
   controller. If I boot from the installation media i can mount 
   /dev/rd0s1a. Just wondering if you made any progress with this 
   controller.
  
  That's some fantastic advise...mount / after booting CD! 
 I'll try that.
  
  Otherwise, no new updates.
  
  i've been watching current, as this chipset doesn't appear 
 to be the 
  only one with this problem.
  
  Keep me posted!
  
  Tks,
  
  Steve
  
   Thanks!
   
  
 

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


Re: How to properly set-up an SSH tunnel on FreeBSD for automatic backups

2005-11-16 Thread Olaf Greve

Hi all,

Thanks for the replies!

I also received several very helpful off-list replies, and they caused 
me to opt for my plan B, which is simply a 'rendez vous' type 
pull-mechanism. I already had a nightly cron job set up on the live 
server that neatly dumps the MySQL DB instances to a convenient 
directory. Also, I already had set up Rsync such that it only ever 
allows connections from my fall-back machine (I use this for the nightly 
file syncing), so I just decided to add an additional DB import script 
which is scheduled well after the DB dumping on the live machine takes 
place. Those dumps are now picked up using rsync (called from the 
fall-back machine) and they are then simply locally processed and worked 
into my DB.


The main reason for deciding for this mechanism after all is that for 
two normal users I want (and need!) to have SSH access enabled from all 
over the world, using a client like PuTTY, using password 
authentication, yet opening up SSH in anyway for root is for me a no-no
(I see too many SSH hack attempts in my daily security reports in order 
to feel comfortable with that ;) ).


O.k., at the expense of having a perhaps slightly less elegant DB 
syncing mechanism I have opted for the above and I just tested it and it 
works fine...:)


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


Re: if_bridge interface confuses Windows Small Business Server 2000

2005-11-16 Thread Ashley Moran
On Wednesday 16 November 2005 04:52, Erik Osterholm wrote:
 This should not be necessary with if_bridge.  A kernel module must be
 loaded before if_bridge will work, but seems to load automatically
 when creating the bridge interface.  Alternatively, if_bridge can be
 compiled into the kernel with the following line:

 device if_bridge

 I've even read where the bridge(4) bridging mode is deprecated.  Does
 anyone know if this is accurate?

Erik

I'm definitely using if_bridge, not bridge.  And I read that bridge is 
depreciated too.

I'm starting to wonder if it's Small Business Server malfunctioning.  Not the 
first time we've wanted chuck it out the window!!!

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


Re: kernel's PAGE_SIZE

2005-11-16 Thread Chuck Swiger

Miguel wrote:
Hi, im tunnig a postgresql server and i want to know what is the default 
value for


kernel's PAGE_SIZE


Run sysctl hw.pagesize and it will tell you.
On most hardware (ie, x86), it's likely to be 4096 bytes...

--
-Chuck


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


Monitoring a program

2005-11-16 Thread db
Hi all

I would like to know what files a program access during it's life time (and 
maybe also the internet connections it makes), how should I do this?
I have considered fstat, find, ktrace and searching the source or binary for 
path strings, but I guess I need a hook for open().

I'm running 5.4 on a ia32, but if there is a 6.x only program it is also 
welcome.

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


Re: ntpdate

2005-11-16 Thread Andrew P.
On 11/16/05, dick hoogendijk [EMAIL PROTECTED] wrote:
 On Wed, 16 Nov 2005 17:15:24 +0200
 Ivailo Tanusheff [EMAIL PROTECTED] wrote:

  Why you need to do this?
  Your system is not fully operationl in the time you try to run
  ntpdate. Just edit your /etc/ntp.conf to connect to some time
  servers. Per example mine is:

 [cut very nice example]

 Thank you. I
 You are probably right. I'll get rid of ntpdate in rc.conf.
 I have two timeservers at the moment. I will look for some more in the
 Netherlands. Yours are to far away ;-)


Last time I checked ntpd docs there was no way
to tell ntpd to set the time to correct at once at
startup. Imagine that you've left your box off for a
few days. Your clock might get inaccurate by
quite a few seconds (about 2-5 minutes a month
on some hardware).

So ntp either converges for the whole eternity, or
just fails to work. Ntpdate at startup solves this
problem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 6, hostap, ral0

2005-11-16 Thread Christer Solskogen
Hi!

I was hoping to use my new wlan card to work as an access point for my
home network. I was using a Dlink router before (and a seperate router,
so the dlink was only working as a AP)

But I`m having trouble getting this to work.
Take a look at ifconfig:

ral0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 2290
inet6 fe80::212:17ff:fe68:8ce9%ral0 prefixlen 64 scopeid 0x1 
inet 192.168.0.3 netmask 0xff00 broadcast 192.168.0.255
ether 00:12:17:68:8c:e9
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
hostap status: associated
ssid carebears channel 6 bssid 00:12:17:68:8c:e9
authmode WPA privacy MIXED deftxkey 2 TKIP 2:128-bit TKIP
3:128-bit txpowmax 100 protmode CTS dtimperiod 1 bintval 100


fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=8VLAN_MTU
inet6 fe80::250:8bff:fe69:a4c5%fxp0 prefixlen 64 scopeid 0x3 
inet 192.168.0.2 netmask 0xff00 broadcast 192.168.0.255
inet 192.168.0.4 netmask 0x broadcast 192.168.0.4
ether 00:50:8b:69:a4:c5
media: Ethernet autoselect (100baseTX full-duplex)
status: active

ral0 is my wireless, and fxp0 is the wired to the rest of the network.
This machine also works as a server for my home network.

# cat /etc/hostapd.conf
interface=ral0
driver=bsd
logger_syslog=-1
logger_syslog_level=0
logger_stdout=-1
logger_stdout_level=0
debug=4
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=wheel
ssid=secret
wpa=1
wpa_passphrase=verysecret
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP


What do I need to do to get the wireless clients to connect? All the
wired clients works as they should, but the wireless do not get an IP.

# sysctl net.inet.ip.forwarding: 1

I also see this my log:
Nov 16 16:53:48 tenderheart hostapd: ral0: STA 00:11:09:c0:31:d7 IEEE
802.11: associated Nov 16 16:53:48 tenderheart hostapd: ral0: STA
00:11:09:c0:31:d7 WPA: event 4 notification Nov 16 16:53:48 tenderheart
hostapd: ral0: STA 00:11:09:c0:31:d7 WPA: sending 1/4 msg of 4-Way
Handshake Nov 16 16:53:48 tenderheart hostapd: ral0: STA
00:11:09:c0:31:d7 WPA: received EAPOL-Key frame (2/4 Pairwise) Nov 16
16:53:48 tenderheart hostapd: ral0: STA 00:11:09:c0:31:d7 WPA: sending
3/4 msg of 4-Way Handshake Nov 16 16:53:48 tenderheart hostapd: ral0:
STA 00:11:09:c0:31:d7 WPA: received EAPOL-Key frame (4/4 Pairwise) Nov
16 16:53:48 tenderheart hostapd: ral0: STA 00:11:09:c0:31:d7 IEEE
802.1X: authorizing port Nov 16 16:53:48 tenderheart hostapd: ral0: STA
00:11:09:c0:31:d7 WPA: pairwise key handshake completed (WPA) Nov 16
16:53:48 tenderheart hostapd: ral0: STA 00:11:09:c0:31:d7 WPA: sending
1/2 msg of Group Key Handshake Nov 16 16:53:48 tenderheart hostapd:
ral0: STA 00:11:09:c0:31:d7 WPA: received EAPOL-Key frame (2/2 Group)
Nov 16 16:53:48 tenderheart hostapd: ral0: STA 00:11:09:c0:31:d7 WPA:
group key handshake completed (WPA)

And I guess that means the encrypting thingi works. But still no IP.
But, I also see kernel: arp: unknown hardware address format in the log.

Nov 16 16:59:41 tenderheart kernel: Nov 16 16:59:41 tenderheart kernel:
arp: unknown hardware address format (0x5896) Nov 16 16:59:42
tenderheart kernel: arp: unknown hardware address format (0xb655) Nov
16 16:59:42 tenderheart kernel: Nov 16 16:59:42 tenderheart kernel:
arp: unknown hardware address format (0xb655) Nov 16 16:59:49
tenderheart kernel: arp: unknown hardware address format (0x4a90) Nov
16 16:59:49 tenderheart kernel: Nov 16 16:59:49 tenderheart kernel:
arp: unknown hardware address format (0x4a90) Nov 16 16:59:50
tenderheart kernel: arp: unknown hardware address format (0x8289) Nov
16 16:59:50 tenderheart kernel: Nov 16 16:59:50 tenderheart kernel:
arp: unknown hardware address format (0x8289) Nov 16 16:59:51
tenderheart kernel: arp: unknown hardware address format (0x21ad) Nov
16 16:59:51 tenderheart kernel: Nov 16 16:59:51 tenderheart kernel:
arp: unknown hardware address format (0x21ad) 

(there are a lot more of these error codes)

Do anyone know what I have missed?  man hostapd.conf is not very good,
and the hostapd.conf is different on openbsd, and linux.

Please CC: I`m not on the list.

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


File Server Questions

2005-11-16 Thread Sean Murphy
I want to set up a FreeBSD file server and want to choose the 
appropriate method.  The filesytems must be mounted on the client, 
always available, and transparent to the user.


Thanks

===

NFS for *nix to *nix only
NIS for better management of NFS

Can OSX mount and respond to NFS/NIS?
What other OSs can use this?
Are user names and passwords encrypted?

===

Netatalk for FreeBSD to Appletalk Macs OS9 and X Only

What other OSs can use this?
Are user names and passwords encrypted?

===

Samba for any *nix running samba, OS X, Windows Machines

Are user names and passwords encrypted?
What other OSs can use this?

===

Any thing for connecting to a Novell Server?
NDS and Bindrey
IPXSPX and TCP/IP

===

Am I missing any?

--
Sean Murphy
Senior Network Technician
California Institute of the Arts
661-253-7732
[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: USB Problems with Scanjet 3400c

2005-11-16 Thread Joe Altman
On Wed, Nov 16, 2005 at 11:05:56AM +0100, Blue Raccoon wrote:
 Roland, Joe,
 
 According to the SANE site their backend should provide 'complete' support. 
 NIASH is required, but since 'niash' is an entry in the SANE config file I 
 assume it is incorporated. 

My apologies; but I'll have to plead ignorance at this point...I
simply don't know how to address this.

Blue, you may wish to query the freebsd-multimedia list, if you have
not already; you could also try the sane lists, and I think it would
be advisable to ask the maintainer of the sane-backends on FreeBSD
what he (or she) thinks. The Makefile for sane-backends has an address
for [EMAIL PROTECTED]; I don't know that he is the current maintainer,
but I'd bet someone on the multimedia list will know who is currently
handling that port.

Best of luck, 

Joe

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


Re: Im trying to find the H and V sync rates for the LCD in

2005-11-16 Thread Greg Barniskis

Greg 'groggy' Lehey wrote:

On Tuesday, 15 November 2005 at 19:15:51 -0600, Eric Murphy wrote:


A Inspiron 9300, I cant seem to find this info ANYWHERE, and i want to
configuer Xorg :)   Can anyone point me in the right direction?



What happens when you run this (from a text-mode terminal)?

  X  -configure



If that doesn't work, I think I found the specs for my 9200 last 
summer (shamefully, *not* in the Dell User's Manual) by Googling on 
the LCD part number rather than Inspiron. Check your invoice for 
details.


Mine's a Samsung product, I think. I'm sure I have my notes from 
that episode somewhere; post back if nothing else works and I'll try 
to dig them up, or at least share my working xorg.conf.


YMMV. Which LCD type is it (WUXGA, WSXGA, other)? Hmm... perhaps 
that is why the Inspiron owner's manual is so vague on this subject; 
the actual display specs may vary depending on what options you choose.



--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
gregb at scls.lib.wi.us, (608) 266-6348
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ntpdate

2005-11-16 Thread Chuck Swiger

Andrew P. wrote:

On 11/16/05, dick hoogendijk [EMAIL PROTECTED] wrote:

[ ... ]

Thank you. I
You are probably right. I'll get rid of ntpdate in rc.conf.
I have two timeservers at the moment. I will look for some more in the
Netherlands. Yours are to far away ;-)


Last time I checked ntpd docs there was no way
to tell ntpd to set the time to correct at once at
startup. Imagine that you've left your box off for a
few days. Your clock might get inaccurate by
quite a few seconds (about 2-5 minutes a month
on some hardware).

So ntp either converges for the whole eternity, or
just fails to work. Ntpdate at startup solves this
problem.


Running ntpdate -b at boot to forcibly syncronize the clock is a pretty good 
idea, but you actually can convince ntpd to sync even a clock which is badly 
off via:


 -g  Normally, ntpd exits if the offset exceeds the sanity limit,
 which is 1000 s by default.  If the sanity limit is set to zero,
 no sanity checking is performed and any offset is acceptable.
 This option overrides the limit and allows the time to be set to
 any value without restriction; however, this can happen only
 once.  After that, ntpd will exit if the limit is exceeded.  This
 option can be used with the -q option.

--
-Chuck

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


Re: Solaris patches and Solaris Express

2005-11-16 Thread J.D. Bronson

At 09:32 PM 11/15/2005, Victor Watkins wrote:


 Do community member find these additional features worth the cost?

No.

We just want to get our patches without jumping through any hoops, or
worrying about if the check made it through the mail, or if Sun FUBAR'ed
our support account info rather than there being a problem with the
Update Manager connecting, etc.

No longer personally worried about it though..I nuked my Solaris install
and have a nice, shiny new FreeBSD 6.0 kit now, and I gotta say, after
Solaris 5.10 x86, the speed difference alone is breathtaking.


Ironically, I too did the same exact thing. Sun screwed me around 
with whats free..whats not free - patches available...patches restricted.


Then when Update manager stopped working - I said enough was enough.

I nuked my solaris 10 install - and opted for FreeBSD. Not only is it 
much faster and easier to work with, but I can feel more assured that 
if/when a patch is needed, I wont be dick'ed around to get it.


Solaris x86 has never offered stellar performance, but when 10 came 
out we all had high hopes. That faded fast. I have 2 MAJOR bugs filed 
that still have not been addressed (reported March 2005) - and there 
are many users out there that dont even know about some of these. 
They likely will find out someday :-(


I still run 1 solaris machine and thats a sparc running 9.0 ...as 
soon as the machine dies or the OS is no longer supported, the 
machine will find a nice resting spot in some city dump (or recycler)









--
J.D. Bronson
Information Services
West Allis Memorial Hospital
Aurora Health Care - Milwaukee, Wisconsin
Office: 414.978.8282 // Fax: 414.977.5299

-Taco Bell is *not* the Mexican Telephone Company-


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


RE: ICH6-R

2005-11-16 Thread Steve Bertrand
  Steve, I have made good progress. It seems that the factory shipped 
  the sata drives on ports 3 and 4 of the sata controller. 
 Both drives 
  where secondary slaves. While we both know that really 
 shouldnt matter 
  when you build a logical drive and tell the array 
 controller what span 
  to boot from.
  But it looks like freebsd hiccups on it. I moved my sata drives to 
  ports 1 and 2 on the sata controller, rebuilt the array, 
 installed and 
  booted off the array with no problems.
  
  My next issue with this controller is the performance -ick! 
  There is a blurb about its read perfomance on the intel web 
 site, Ill 
  keep you posted. Good luck and let me kknow what your drive 
  configuration is.
 
 Thanks for the info! I'm going to Cc: the list now, in case 
 someone else is having issues.
 
 My drives are 1 and 2 as well, as a matter of fact, I've 
 tried them everywhere. No matter what, after install, I get 
 the blinking cursor.
 
 I'm going to try to get a chance this aft to play around 
 again, and I'll let you know what I find. If it doesn't work, 
 we can compare BIOS settings.

I'm still as stuck as I was a month ago. Here's a little more detail:

- During install (this time it's 6.0-RELEASE as of Nov. 3), I have 3
selections to select from when FDISKing etc: ad4, ad6 and ar0.

- I select ad0 to configure as this is the bootable RAID volume, and
everything installs perfectly fine. I then proceed to reboot the box,
and a blinking cursor appears in the top-left side of the screen, as if
BSD wants to boot, but nothing ever happens.

Normally one would think a 'non-bootable disk' error would show up. I
can't see how this is the box, as this exact same situation happens on
another SATA box I have. That said, if the CD installer can see the
disks, and write to the disks, then it's hard to see how it's FBSD's
fault either.

It's time I start smashing my head against the wall in regards to this
issue. I have tried disabling pretty much everything in the BIOS that is
not critical for the system to function, I've tried booting off of an
individual SATA disk etc. etc.

If anyone, anywhere can give me any advice whatsoever to help
troubleshoot this problem, I would be eternally grateful. I'm at the
point where I've re-installed at least a dozen times, several different
versions, and now I'm simply going back over things I know I've tried
several times already.

Regards,

Steve

 
 Regards,
 
 Steve
 
  
  
   
Hi Steve, I saw your messages on the FreeBSD mailing list
  archives. 
I am doing some work for a client whom purchased an Intel 
Se7221bk1-e with one of these embedded ICH6-R raid
  controllers. Same
symptoms as you stated, install runs great but wont boot from 
controller. If I boot from the installation media i can mount 
/dev/rd0s1a. Just wondering if you made any progress with this 
controller.
   
   That's some fantastic advise...mount / after booting CD! 
  I'll try that.
   
   Otherwise, no new updates.
   
   i've been watching current, as this chipset doesn't appear
  to be the
   only one with this problem.
   
   Keep me posted!
   
   Tks,
   
   Steve
   
Thanks!

   
  
 
 ___
 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: Solaris patches and Solaris Express

2005-11-16 Thread Lee Capps
At 18:46 Tue 15 Nov 2005, J.D. Bronson wrote:
 
 I still run 1 solaris machine and thats a sparc running 9.0 ...as 
 soon as the machine dies or the OS is no longer supported, the 
 machine will find a nice resting spot in some city dump (or recycler)
 

Not to start a holy war or anything, but if you're really
feeling motivated, I believe you can run netbsd or one of several
flavors of linux on that sparc.  Not sure about FreeBSD.

Regards,

-- 
Lee Capps
Technology Specialist
CTE Resource Center


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


Re: USB Problems with Scanjet 3400c

2005-11-16 Thread Blue Raccoon

I have to be honest: this OS has made me appreciate XP a bit more. I spent  a 
couple of nights on my sound card, even more on the 8 buttons of my mouse, 
another night on the printer, this afternoon on the usb stick and way too 
much time on the scanner. I think I will save the NVIDIA drivers for 
Christmas and simply give the camera a miss (after I have checked out 
gphoto).

If there is anyone @ freebsd-questions with a working Scanjet 3400c I 
certainly would like to hear about it. 

Joe, Roland - Thanks for your help. If I ever figure it out you'll be the 
first to know.

- Jay

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


Re: Solaris patches and Solaris Express

2005-11-16 Thread J.D. Bronson

At 11:29 AM 11/16/2005, Lee Capps wrote:

At 18:46 Tue 15 Nov 2005, J.D. Bronson wrote:

 I still run 1 solaris machine and thats a sparc running 9.0 ...as
 soon as the machine dies or the OS is no longer supported, the
 machine will find a nice resting spot in some city dump (or recycler)


Not to start a holy war or anything, but if you're really
feeling motivated, I believe you can run netbsd or one of several
flavors of linux on that sparc.  Not sure about FreeBSD.

Regards,


Yes. this is truebut from my past experience...the best things 
that run on SPARC are Sun basedso I didnt want to re-invent the 
wheel so to say :)









--
J.D. Bronson
Information Services
Aurora Health Care - Milwaukee, Wisconsin
Office: 414.978.8282 // Fax: 414.977.5299

-Taco Bell is *not* the Mexican Telephone Company-

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


COMPAT_IA32 COMPAT_FREEBSD5

2005-11-16 Thread Ian Lord

Hi,

I am running freebsd 6 AMD64

I compiled my kernel with the following options:
options COMPAT_IA32 # Compatible with i386 binaries
options COMPAT_FREEBSD5 # Compatible with FreeBSD5

However, I am trying to run an application which 
has been compiled for freebsd 5.x IA32


I get the following error:
Unable to load dynamic library 
'/usr/local/lib/php/20041030/libpdf_php.so' - /usr/
local/lib/php/20041030/libpdf_php.so: unsupported 
file layout in Unknown on line 0



Do I need to do anything special to activate 
COMPAT_IA32 and COMPAT_FREEBSD5 on this loadable module ?


Thanks


~~
Ian Lord, CCNA
MSD Informatique
1711 Montée Major Terrebonne (Québec) J7M 1E6
Tél.: (514) 776-MSDI- (514) 776-6734
Sans Frais: 1(877) 776-MSDI - 1(877) 776-6734
http://www.msdi.ca 
___

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


Re: ICH6-R

2005-11-16 Thread Chuck Swiger

Steve Bertrand wrote:
[ ... ]

- During install (this time it's 6.0-RELEASE as of Nov. 3), I have 3
selections to select from when FDISKing etc: ad4, ad6 and ar0.

- I select ad0 to configure as this is the bootable RAID volume, and

 ^^^ ...?

everything installs perfectly fine. I then proceed to reboot the box,
and a blinking cursor appears in the top-left side of the screen, as if
BSD wants to boot, but nothing ever happens.


If you've configured or enabled a RAID setup in the BIOS, then ar0 ought to be 
the device you should use.


If you are trying to install to a drive in normal, non-RAID mode, then ad0 (if 
you have it) would be the choice.  If you've got static ATA numbering enabled 
in the kernel and you've got no parallel ATA devices attached, only SATA, then 
ad4 might be right.


--
-Chuck

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


Re: Linuxpluginwrapper

2005-11-16 Thread Marco Beishuizen

On stardate Wed, 16 Nov 2005, the wise Tino Boss entered:


Marco Beishuizen wrote:


- Link the plugin:

 ln -s /usr/X11R6/lib/linux-flashplugin7/libflashplayer.so 
/usr/X11R6/lib/browser_plugins/




I have flashplugin6 working here. To install it, I also linked a second file 
called libflashplayer.xpt


Yes! The symlink to libflashplayer.xpt did the trick. I installed flash6 
before but without this symlink and it didn't work then.


Thanks for the tip.

Marco

--
Nuclear war can ruin your whole compile.
-- Karl Lehenbauer
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


egress interface index lookup through a route SACK_RAW socket call

2005-11-16 Thread Martin
How do I construct a routing raw socket call to retrieve the
outgoing interface index for a particular route that is destined out of
an interface other than Ethernet such as a point to point?
 
With Ethernet interfaces I was able to contruct a rt_msghdr with RTM_GET
and RTA_DST- retrieve the gateway IP (RTA_GATEWAY) for the route then
recursively call
the same function passing the gateway IP and the sock_addr_in
-s_port would return with the interface index.
 
But this does not work with PPP interfaces or other non-Ethernet
interfaces.  Any
insight to what i am lacking in the route request would be appreciated.
 
Thanks,
_Martin
 
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ntpdate

2005-11-16 Thread Jonathan Chen
On Wed, Nov 16, 2005 at 12:09:45PM -0500, Chuck Swiger wrote:

[...]
 Running ntpdate -b at boot to forcibly syncronize the clock is a pretty 
 good idea, but you actually can convince ntpd to sync even a clock which is 
 badly off via:
 
  -g  Normally, ntpd exits if the offset exceeds the sanity limit,
  which is 1000 s by default.  If the sanity limit is set to 
  zero,
  no sanity checking is performed and any offset is acceptable.
  This option overrides the limit and allows the time to be set 
  to
  any value without restriction; however, this can happen only
  once.  After that, ntpd will exit if the limit is exceeded.  
  This
  option can be used with the -q option.

The advantage of `ntpdate' vs `ntpd -g' is that ntpdate does it
_immediately_, whereas `ntpd -g' takes a bit of time before it decides
which server to sync to. This means that if your clock is out by
hours/days, there will be a period of 3-7 minutes after you boot where
your system time is badly incorrect, and then you have this big skip
when it corrects.

This could be a problem if you've got overanxious users running
`make' and other time sensitive programs almost immediately after boot;
not to mention weird skips in your various log files.

Cheers.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
If everything's under control, you're going too slow
  - Mario Andretti
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: ICH6-R

2005-11-16 Thread Steve Bertrand

  - During install (this time it's 6.0-RELEASE as of Nov. 3), 
 I have 3 
  selections to select from when FDISKing etc: ad4, ad6 and ar0.
  
  - I select ad0 to configure as this is the bootable RAID volume, and
   ^^^ ...?
  everything installs perfectly fine. I then proceed to 
 reboot the box, 
  and a blinking cursor appears in the top-left side of the 
 screen, as 
  if BSD wants to boot, but nothing ever happens.
 
 If you've configured or enabled a RAID setup in the BIOS, 
 then ar0 ought to be the device you should use.

Yes, I have RAID-1 configured in the BIOS for SATA drives. My other
servers (using either Promise cards, or software RAID on IDE) are all
ar0, so I figured this would be right/

 If you are trying to install to a drive in normal, non-RAID 
 mode, then ad0 (if you have it) would be the choice.  If 
 you've got static ATA numbering enabled in the kernel and 
 you've got no parallel ATA devices attached, only SATA, then
 ad4 might be right.

All drives are SATA, not PATA. I have tried to boot off of ad4, and ad6
respectively to no avail. I'm going to try one more install disabling
RAID and popping out one of the 2 SATA drives in the system to see if
that will work, although I'm certain I've tried that before.

Tks for the reply. Any and all advice is appreciated, even the thoughts
that may be way off. Like I said, I'll try anything at this point!

Steve

 
 --
 -Chuck
 
 

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


Re: Status of 6.0 for production systems

2005-11-16 Thread Mark Bucciarelli
Wow, did this thread veer off-topic!

On Tue, Nov 15, 2005 at 11:50:40PM +, Chris wrote:
 That is indeed a waste but consider that in that year the PC at 150
 watts

This is probably a high estimate, especially for an older, single-cpu 
box.

 has consumed 60 times as much power as the router at 2.5 watts. I make
 that 1314kWh for the PC and 21.9kWh for the router 24/7 for a year.
 Anyone know how much power it takes to manufacture and deliver a small
 router? And maybe other routers last a bit longer.

You can probably get an idea from extrapolating these figures [1]:

RAM:  11.4 kWh and   32   L water for 32 MB chip
CPU:   1.4 kWh and5.9 L water per square-cm silicon wafer
LCD: 553   kWh and 2394   L water for a 15 monitor

A dragonball CPU (2 dies each .343cm x .343 cm) requires 0.3 kWh and 
1.4L.

The impact of producing a CPU seems low to me, especially when compared
to the RAM. Needs to do some more research ... :)

m

[1] Environmnetal Implications of New Wireless Technologies: 
News Delivery and Business Meetings
by Michael W. Toffel, Haas School of Biz, UCal Berkely
and Arpad Horvath, Civil Eng, UCal Berkely
accepted for publication 3/18/2004 in American Chemical Society
http://www.haas.berkeley.edu/responsiblebusiness/documents/wireless_asap.pdf

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


Re: COMPAT_IA32 COMPAT_FREEBSD5

2005-11-16 Thread Andrew P.
On 11/16/05, Ian Lord [EMAIL PROTECTED] wrote:
 Hi,

 I am running freebsd 6 AMD64

 I compiled my kernel with the following options:
 options COMPAT_IA32 # Compatible with i386 binaries
 options COMPAT_FREEBSD5 # Compatible with FreeBSD5

 However, I am trying to run an application which
 has been compiled for freebsd 5.x IA32

 I get the following error:
 Unable to load dynamic library
 '/usr/local/lib/php/20041030/libpdf_php.so' - /usr/
 local/lib/php/20041030/libpdf_php.so: unsupported
 file layout in Unknown on line 0


 Do I need to do anything special to activate
 COMPAT_IA32 and COMPAT_FREEBSD5 on this loadable module ?

Various problems occur when a dynamic x86 executable
tries to use x86_64 libraries.

You don't have to do anything special per se, but ensure
that binaries are consistent.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: COMPAT_IA32 COMPAT_FREEBSD5

2005-11-16 Thread Ian Lord
So Basically, I would need to recompile Php for 
ia32 and run it in emulation, then since php is 
running as a dso, recompile apache...


At that point, I prefer to do a make buildworld :)



At 14:08 2005-11-16, Andrew P. wrote:

On 11/16/05, Ian Lord [EMAIL PROTECTED] wrote:
 Hi,

 I am running freebsd 6 AMD64

 I compiled my kernel with the following options:
 options COMPAT_IA32 # Compatible with i386 binaries
 options COMPAT_FREEBSD5 # Compatible with FreeBSD5

 However, I am trying to run an application which
 has been compiled for freebsd 5.x IA32

 I get the following error:
 Unable to load dynamic library
 '/usr/local/lib/php/20041030/libpdf_php.so' - /usr/
 local/lib/php/20041030/libpdf_php.so: unsupported
 file layout in Unknown on line 0


 Do I need to do anything special to activate
 COMPAT_IA32 and COMPAT_FREEBSD5 on this loadable module ?

Various problems occur when a dynamic x86 executable
tries to use x86_64 libraries.

You don't have to do anything special per se, but ensure
that binaries are consistent.


~~
Ian Lord, CCNA
MSD Informatique
1711 Montée Major Terrebonne (Québec) J7M 1E6
Tél.: (514) 776-MSDI- (514) 776-6734
Sans Frais: 1(877) 776-MSDI - 1(877) 776-6734
http://www.msdi.ca 
___

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


Re: COMPAT_IA32 COMPAT_FREEBSD5

2005-11-16 Thread Ian Lord
So Basically, I would need to recompile Php for ia32 and run it in 
emulation, then since php is running as a dso, recompile apache...


At that point, I prefer to do a make buildworld :)



At 14:08 2005-11-16, Andrew P. wrote:

On 11/16/05, Ian Lord [EMAIL PROTECTED] wrote:
 Hi,

 I am running freebsd 6 AMD64

 I compiled my kernel with the following options:
 options COMPAT_IA32 # Compatible with i386 binaries
 options COMPAT_FREEBSD5 # Compatible with FreeBSD5

 However, I am trying to run an application which
 has been compiled for freebsd 5.x IA32

 I get the following error:
 Unable to load dynamic library
 '/usr/local/lib/php/20041030/libpdf_php.so' - /usr/
 local/lib/php/20041030/libpdf_php.so: unsupported
 file layout in Unknown on line 0


 Do I need to do anything special to activate
 COMPAT_IA32 and COMPAT_FREEBSD5 on this loadable module ?

Various problems occur when a dynamic x86 executable
tries to use x86_64 libraries.

You don't have to do anything special per se, but ensure
that binaries are consistent.

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


RE: ICH6-R

2005-11-16 Thread Steve Bertrand
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Steve Bertrand
 Sent: Wednesday, November 16, 2005 1:58 PM
 To: 'Chuck Swiger'
 Cc: 'FreeBSD Questions'
 Subject: RE: ICH6-R
 
 
   - During install (this time it's 6.0-RELEASE as of Nov. 3),
  I have 3
   selections to select from when FDISKing etc: ad4, ad6 and ar0.
   
   - I select ad0 to configure as this is the bootable RAID 
 volume, and
^^^ ...?
   everything installs perfectly fine. I then proceed to
  reboot the box,
   and a blinking cursor appears in the top-left side of the
  screen, as
   if BSD wants to boot, but nothing ever happens.
  
  If you've configured or enabled a RAID setup in the BIOS, then ar0 
  ought to be the device you should use.
 
 Yes, I have RAID-1 configured in the BIOS for SATA drives. My 
 other servers (using either Promise cards, or software RAID 
 on IDE) are all ar0, so I figured this would be right/
 
  If you are trying to install to a drive in normal, non-RAID 
 mode, then 
  ad0 (if you have it) would be the choice.  If you've got static ATA 
  numbering enabled in the kernel and you've got no parallel 
 ATA devices 
  attached, only SATA, then
  ad4 might be right.
 
 All drives are SATA, not PATA. I have tried to boot off of 
 ad4, and ad6 respectively to no avail. I'm going to try one 
 more install disabling RAID and popping out one of the 2 SATA 
 drives in the system to see if that will work, although I'm 
 certain I've tried that before.

Ok, I've made it a little farther now. I booted off the CD and went
straight to the loader prompt. I then unloaded the CD's kernel, and did:

# load disk1s1a:/boot/kernel/kernel
# boot

It then dropped me into the mountroot prompt, in which I typed:

# ufs:ad4s1a

...and up it came. So, I can get the machine running, but only if I
manually load the proper kernel, then manually specify the root device.
I verified that /etc/fstab shows the proper file systems to be mounted.

Apparently, either this is caused by the PC not actually pointing to the
boot device I tell it to in BIOS, or no remnants of FBSD are being found
on the disk.

At least now I know that it *can* work, I just have to figure out how to
get it to come up itself ;)

Steve
 

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


Re: COMPAT_IA32 COMPAT_FREEBSD5

2005-11-16 Thread Andrew P.
On 11/16/05, Ian Lord [EMAIL PROTECTED] wrote:
  So Basically, I would need to recompile Php for ia32 and run it in
 emulation, then since php is running as a dso, recompile apache...

  At that point, I prefer to do a make buildworld :)

You should propably not rely on ia32 compatibility
layer on any kind of production server unless absolutely
necessary, i.e. you need a legacy closed-source
x86 app. If it's critical, consider using FreeBSD/i386,
if not, try creating a x86 jail environment. This is not
so easy the first time you do it, but it comes very
comfortable later.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Creating bootable DOS floppy w/FreeBSD

2005-11-16 Thread Doug Poland
Hello,

I'm stuck... I need a bootable DOS floppy (for BIOS upgrade) to fix a
broken Windows box.  

I have no problem formatting and putting an msdosfs on a floppy but it
appears I cannot make it bootable with native tools.

I tried emulators/mtools mformat, but it doesn't create bootable media.
I even installed emulators/qemu and installed Win98 into it but format
fails trying to format the host's floppy.

I'm in a bit of a time crunch here, does anyone know how do create a
bootable DOS floppy using just FreeBSD and/or it's ports?


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


Re: Creating bootable DOS floppy w/FreeBSD

2005-11-16 Thread Roland Smith
On Wed, Nov 16, 2005 at 12:32:13PM -0600, Doug Poland wrote:
 Hello,
 
 I'm stuck... I need a bootable DOS floppy (for BIOS upgrade) to fix a
 broken Windows box.  
 
 I have no problem formatting and putting an msdosfs on a floppy but it
 appears I cannot make it bootable with native tools.

I've used FreeDOS [http://www.freedos.org/] to run utilities for
flashing a motherboard bios.

The technique I used was to build a FreeDOS bootable CD with the extra
stuff I needed on it. That enabled me to run the utilities.

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgpSWxfKE4rhO.pgp
Description: PGP signature


Re: Creating bootable DOS floppy w/FreeBSD

2005-11-16 Thread Martin McCann
On Wednesday 16 November 2005 18:32, Doug Poland wrote:
 Hello,

 I'm stuck... I need a bootable DOS floppy (for BIOS upgrade) to fix a
 broken Windows box.

 I have no problem formatting and putting an msdosfs on a floppy but it
 appears I cannot make it bootable with native tools.

 I tried emulators/mtools mformat, but it doesn't create bootable media.
 I even installed emulators/qemu and installed Win98 into it but format
 fails trying to format the host's floppy.

 I'm in a bit of a time crunch here, does anyone know how do create a
 bootable DOS floppy using just FreeBSD and/or it's ports?

do a google on bootable floppy images, there are quite a few about, then dd 
the image you download onto your floppy disk

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


Re: Creating bootable DOS floppy w/FreeBSD

2005-11-16 Thread David Kelly
On Wed, Nov 16, 2005 at 12:32:13PM -0600, Doug Poland wrote:
 Hello,
 
 I'm stuck... I need a bootable DOS floppy (for BIOS upgrade) to fix a
 broken Windows box.  
 
 I have no problem formatting and putting an msdosfs on a floppy but it
 appears I cannot make it bootable with native tools.
 
 I tried emulators/mtools mformat, but it doesn't create bootable media.
 I even installed emulators/qemu and installed Win98 into it but format
 fails trying to format the host's floppy.
 
 I'm in a bit of a time crunch here, does anyone know how do create a
 bootable DOS floppy using just FreeBSD and/or it's ports?

For a floppy to be bootable one must install an OS on to it that it has
something to boot.

Did what you are looking to do Once Upon A Time using
http://www.freedos.org/

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: Freebsd and nagios-plugins

2005-11-16 Thread Lowell Gilbert
Brooke Landers [EMAIL PROTECTED] writes:

 hello.I'm having problems finding the nagios plugin check_hpjd. A
 person of the nagios mailing list told me that it might not be
 inculded because it needs net-snmp.
 
 |
 | check_hpjd:
 | - Requires the NET-SNMP package available from
 |  http://net-snmp.sourceforge.net
 |  The snmpget binary is all that is required.
 |
 | I'm not sure if your package maintainer choose not to include it as a
 | result.
 |
 
 can anyone verify this for me and explain how i can install this from
 ports? I realize that i can downbload the source from cvs but i guess
 there is some knowlegde i am missing since i am new to the ports
 system. i have searched the web but can not find a thing. i am running
 freebsd6 and have installed net-snmp and nagios-plugins ports.
 thankyou for any help. Brooke

Look for it with:
# pkg_info -L nagios-plugins* |grep hpjd

And see if it's actually there.

If not, change your options for the port by:
# cd /usr/ports/net/nagios-plugins; make config

including the net-snmp option, and reinstall nagios-plugins.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


server IM

2005-11-16 Thread Efren Bravo
Hi,

I would like to hear your suggestions about what
free server messenger would be better for a small
LAN (LAN's client has windows O.S.)

Thanks...

Efren Bravo.





__ 
Renovamos el Correo Yahoo! 
Nuevos servicios, más seguridad 
http://correo.yahoo.es
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: ICH6-R

2005-11-16 Thread Steve Bertrand

 At least now I know that it *can* work, I just have to figure 
 out how to get it to come up itself ;)

I finally, finally FINALLY got this up and running!!! I don't know
exactly what I did differently, but I decided to just break down and
start from scratch.

- reset CMOS settings to default
- configured the SATA controller as RAID
- configured BIOS to boot off SATA RAID
- deleted and recreated the RAID mirror via the Intel config manager
- installed FreeBSD (6.0-RELEASE), configuring ar0 as the destination
for install
- popped out the CD, rebooted and HOORYY!!

I could of swarn that I'd done that several times, but it may of been
the order I did it this time or something. Now I've got my 4GB RAM,
200GB RAID P4 2.8 ready to do something useful. (It's been a paperweight
for over a month and a half ;)

Thanks to all who gave any input into this issue!

Steve


 
 Steve
  
 
 

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


Re: server IM

2005-11-16 Thread Glenn Dawson

At 01:07 PM 11/16/2005, Efren Bravo wrote:

Hi,

I would like to hear your suggestions about what
free server messenger would be better for a small
LAN (LAN's client has windows O.S.)


Try the jabber server.  It's in /usr/ports/net/jabberd

-Glenn



Thanks...

Efren Bravo.





__
Renovamos el Correo Yahoo!
Nuevos servicios, más seguridad
http://correo.yahoo.es
___
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: Installation of Freebsd on external hard drive

2005-11-16 Thread Marco Calviani
Hi Eric and list,
unfortunately my BIOS (of a Travelmate 8005) does not support boot from USB
devices.
I'll search for some other information that comes from multi-os users.

Thanks again,
MC



 I've installed it on USB keys and external USB drives with no problem.

 Since I was only using those for experimentation, I never modified my
 boot loader. My BIOS provides a boot menu for selecting the boot
 device, of which external USB device is an option. I found this
 cleaner, since when not using those devices I do not have to go through
 the FreeBSD boot menu.

 Hints?
 For my situation... I booted from the CD. When asked to slice and
 partition my disk... I chose the external USB device. I selected the
 'standard boot loader'. Then the rest of the magic is handled by my BIOS.

 Don't know if that helps you much.



 --
 Regards,
 Eric
 ___


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


Re: Creating bootable DOS floppy w/FreeBSD

2005-11-16 Thread Doug Poland
On Wed, Nov 16, 2005 at 09:07:33PM +0100, Roland Smith wrote:
 On Wed, Nov 16, 2005 at 12:32:13PM -0600, Doug Poland wrote:
  Hello,
  
  I'm stuck... I need a bootable DOS floppy (for BIOS upgrade) to fix a
  broken Windows box.  
  
  I have no problem formatting and putting an msdosfs on a floppy but it
  appears I cannot make it bootable with native tools.
 
 I've used FreeDOS [http://www.freedos.org/] to run utilities for
 flashing a motherboard bios.
 
 The technique I used was to build a FreeDOS bootable CD with the extra
 stuff I needed on it. That enabled me to run the utilities.
 
Thanks for the tips everyone...

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


Re: Sound Configuration, Sony Laptop with ac97

2005-11-16 Thread Peter Clutton
On 11/17/05, Dev Tugnait [EMAIL PROTECTED] wrote:
 Do a kldload snd_driver, then test your sound. This loads all the sound
 drivers...then go from there

Thanks for that, I forgot to mention I had tried that to no avail. It
doesn't seem to recognise it. I will do it again so I can say exactly
what happens when i do that. I was wondering if anyone knew a specific
kernel option, like snd_sbc that supports this chip, and what steps
others have gone through with this chip. I may have done something
wrong when doing kldload snd_driver so will go through it again.

[EMAIL PROTECTED]

Thank you but I did read the manual online, as always before posting.
I also have the printed versions, to support the docos. I just did not
find anything specific to this chip (understandable, not every chip
can be mentioned) nor did i find much about it in association with
freebsd when googling it, and was worrying it may not be supported, or
might take some knowledge i don't have, or is not listed, to configure
it. I will go back to googling.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


help re-writing boot record

2005-11-16 Thread Derek Ragona
I have read the handbook and man pages but found some inconsistencies, so 
that has prompted my question to the list.  Also, I am being careful in 
needing to re-write the boot record because this is an older system that 
won't boot FreeBSD correctly from CD-ROM or from floppy (it will boot from 
floppy but cannot find the floppy drive it booted from, a strange weird 
problem from the BIOS.)


I have a system running FreeBSD 4.11 Release.  This system has 2 SCSI drives.

At one time this system was a dual boot system, that has since been 
dedicated to only FreeBSD.  I needed more space in the root partition and 
have utilized the other OS partitions re-labeling them as FreeBSD and doing 
newfs on them, and moving all the files.  The system will boot from the new 
root partition, but not automatically.


The new root partition is on:
/dev/da1s1e

I have added a boot.config file, but that hasn't helped.  My boot.config 
file contains:

da(1,e)/kernel

When I need to reboot this system, I have to type in this at the boot 
prompt when the system complains it cannot find the boot device:

da(1,e)/kernel
to get the system to boot.

So, what do I need to do to re-label the disk(s) to get the system to boot 
automatically?


Thanks for any help.



-Derek
[EMAIL PROTECTED]


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


strange msg lines..

2005-11-16 Thread dick hoogendijk
I get a lot of these rules in my log file lately. Don't know why they
are not logged in the error.log file. And if they are harmful or not.

==--==
83.30.48.99 - - [16/Nov/2005:23:44:18 +0100] GET / HTTP/1.1 200 1860 
http://puttane-grandi-tette.com; Mozilla/4.0 (compatible; MSIE 6.0b; Windows 
NT 5.0; .NET CLR 1.0.2914)
85.106.229.37 - - [16/Nov/2005:23:44:24 +0100] GET / HTTP/1.1 200 1860 
http://hosting-siti-adulti.com; Mozilla/4.0 (compatible; MSIE 6.0b; Windows 
NT 5.0; .NET CLR 1.0.2914)
81.214.204.104 - - [16/Nov/2005:23:46:38 +0100] GET / HTTP/1.1 200 1860 
http://hosting-siti-adulti.com; Mozilla/4.0 (compatible; MSIE 6.0b; Windows 
NT 5.0; .NET CLR 1.0.2914)
213.219.227.97 - - [16/Nov/2005:23:46:50 +0100] GET / HTTP/1.1 200 1860 
http://hosting-siti-adulti.com; Mozilla/4.0 (compatible; MSIE 6.0b; Windows 
NT 5.0; .NET CLR 1.0.2914)
85.99.124.253 - - [16/Nov/2005:23:47:48 +0100] GET / HTTP/1.1 200 1860 
http://foto-porno-amatoriale.com; Mozilla/4.0 (compatible; MSIE 6.0b; Windows 
NT 5.0; .NET CLR 1.0.2914)
85.102.158.174 - - [16/Nov/2005:23:48:33 +0100] GET / HTTP/1.1 200 1860 
http://puttane-grandi-tette.com; Mozilla/4.0 (compatible; MSIE 6.0b; Windows 
NT 5.0; .NET CLR 1.0.2914)
61.240.180.73 - - [16/Nov/2005:23:50:11 +0100] GET / HTTP/1.1 200 1860 
http://foto-porno-amatoriale.com; Mozilla/4.0 (compatible; MSIE 6.0b; Windows 
NT 5.0; .NET CLR 1.0.2914)
207.46.98.79 - - [16/Nov/2005:23:51:13 +0100] GET /favicon.ico HTTP/1.0 200 
2238 - msnbot/1.0 (+http://search.msn.com/msnbot.htm)
85.102.124.254 - - [16/Nov/2005:23:51:31 +0100] GET / HTTP/1.1 200 1860 
http://foto-porno-amatoriale.com; Mozilla/4.0 (compatible; MSIE 6.0b; Windows 
NT 5.0; .NET CLR 1.0.2914)
217.10.38.59 - - [16/Nov/2005:23:52:00 +0100] GET / HTTP/1.1 200 1860 
http://hosting-siti-adulti.com; Mozilla/4.0 (compatible; MSIE 6.0b; Windows 
NT 5.0; .NET CLR 1.0.2914)
81.222.178.17 - - [16/Nov/2005:23:52:11 +0100] GET / HTTP/1.1 200 1860 
http://foto-porno-amatoriale.com; Mozilla/4.0 (compatible; MSIE 6.0b; Windows 
NT 5.0; .NET CLR 1.0.2914)

These are not normal requests to my apache server. But it seems to
listen to them. Am I 'in danger?'

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 6.0 +++ The Power to Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Release engineering confusion

2005-11-16 Thread Steve Bertrand
Hi all,

I'm a little confused about which tags to use in my supfiles for cvsup.

I've installed 6.0-RELEASE, and really want to stay with STABLE. AFAICT,
in my supfile, I should have the following to do so:

*default tag=RELENG_6_0

...is that correct? I used this, and after a buildworld I got an error.
I'm not concerned about that right now though. Also, is RELENG_6
considered to be the most current, up-to-date release of the 6.0 track,
as opposed to STABLE?

Steve

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


rcorder on 6.0

2005-11-16 Thread J.D. Bronson
I find this a bit odd and would like someone to kindly explain it. 
While looking at rcorder on /etc/rc.d/*  I noticed this start order:


...
...
/etc/rc.d/ppp-user
/etc/rc.d/ipfw
/etc/rc.d/nsswitch
/etc/rc.d/ip6addrctl
/etc/rc.d/atm2
/etc/rc.d/pfsync
/etc/rc.d/pflog
/etc/rc.d/pf

..how I interepret this is that userland 'pppoe' is starting before 
pfsync/pflog and pf. - Am I correct?


This is exactly the opposite of openbsd.

I think I can figure out a way to re-arrange these so that ppp-user 
starts AFTER the pf stuff...is there any reason this is done this way?


Thanks for any clarification on this





--
J.D. Bronson
Information Services
West Allis Memorial Hospital
Aurora Health Care - Milwaukee, Wisconsin
Office: 414.978.8282 // Fax: 414.977.5299

-Taco Bell is *not* the Mexican Telephone Company-


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


Re: Release engineering confusion

2005-11-16 Thread Kris Kennaway
On Wed, Nov 16, 2005 at 06:16:31PM -0500, Steve Bertrand wrote:
 Hi all,
 
 I'm a little confused about which tags to use in my supfiles for cvsup.
 
 I've installed 6.0-RELEASE, and really want to stay with STABLE. AFAICT,
 in my supfile, I should have the following to do so:
 
 *default tag=RELENG_6_0
 
 ...is that correct?

No, that's the 6.0 release branch (security fixes and critical errors
only)

 I used this, and after a buildworld I got an error.
 I'm not concerned about that right now though. Also, is RELENG_6
 considered to be the most current, up-to-date release of the 6.0 track,
 as opposed to STABLE?

RELENG_6 is 6.0-STABLE, which is 6.0 + changes that will eventually
become 6.1.

Kris


pgpMXsG7O6Ncu.pgp
Description: PGP signature


Re: Release engineering confusion

2005-11-16 Thread J.D. Bronson

At 05:16 PM 11/16/2005, Steve Bertrand wrote:

Hi all,

I'm a little confused about which tags to use in my supfiles for cvsup.

I've installed 6.0-RELEASE, and really want to stay with STABLE. AFAICT,
in my supfile, I should have the following to do so:

*default tag=RELENG_6_0

...is that correct? I used this, and after a buildworld I got an error.
I'm not concerned about that right now though. Also, is RELENG_6
considered to be the most current, up-to-date release of the 6.0 track,
as opposed to STABLE?

Steve



according to the example in /usr/share/examples/cvsup:
# The following line is for 6-stable.  If you want 5-stable, 4-stable,
# 3-stable, or 2.2-stable, change to RELENG_5, RELENG_4, RELENG_3,
# or RELENG_2_2 respectively.
*default release=cvs tag=RELENG_6
*default delete use-rel-suffix


So I used this in my cvsup-file
*default release=cvs tag=RELENG_6

and buildworld fails on libcurses..







--
J.D. Bronson
Information Services
West Allis Memorial Hospital
Aurora Health Care - Milwaukee, Wisconsin
Office: 414.978.8282 // Fax: 414.977.5299

-Taco Bell is *not* the Mexican Telephone Company-


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


RE: Release engineering confusion

2005-11-16 Thread Steve Bertrand
 

 -Original Message-
 From: J.D. Bronson [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, November 16, 2005 6:33 PM
 To: Steve Bertrand
 Cc: 'FreeBSD Questions'
 Subject: Re: Release engineering confusion
 
 At 05:16 PM 11/16/2005, Steve Bertrand wrote:
 Hi all,
 
 I'm a little confused about which tags to use in my supfiles 
 for cvsup.
 
 I've installed 6.0-RELEASE, and really want to stay with STABLE. 
 AFAICT, in my supfile, I should have the following to do so:
 
 *default tag=RELENG_6_0
 
 ...is that correct? I used this, and after a buildworld I 
 got an error.
 I'm not concerned about that right now though. Also, is RELENG_6 
 considered to be the most current, up-to-date release of the 
 6.0 track, 
 as opposed to STABLE?
 
 Steve
 
 
 according to the example in /usr/share/examples/cvsup:
 # The following line is for 6-stable.  If you want 5-stable, 
 4-stable, # 3-stable, or 2.2-stable, change to RELENG_5, 
 RELENG_4, RELENG_3, # or RELENG_2_2 respectively.
 *default release=cvs tag=RELENG_6
 *default delete use-rel-suffix
 
 
 So I used this in my cvsup-file
 *default release=cvs tag=RELENG_6
 
 and buildworld fails on libcurses..

Thanks Kris, J.D.,

I found the same build problems on 6_0.

I've subscribed to -current and -stable as I want to better track these
issues...which brings me to my next question:

In production (at an ISP), what is the best to follow...RELENGX_X or
RELENG_X? I have 4.x, 5.x boxes in production, and this 6.x box is being
prepared for the same.

Tks :)

Steve


 
 
 
 
 
 
 
 --
 J.D. Bronson
 Information Services
 West Allis Memorial Hospital
 Aurora Health Care - Milwaukee, Wisconsin
 Office: 414.978.8282 // Fax: 414.977.5299
 
 -Taco Bell is *not* the Mexican Telephone Company-
 
 
 

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


RE: Release engineering confusion

2005-11-16 Thread Steve Bertrand
 

 -Original Message-
 From: J.D. Bronson [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, November 16, 2005 6:33 PM
 To: Steve Bertrand
 Cc: 'FreeBSD Questions'
 Subject: Re: Release engineering confusion
 
 At 05:16 PM 11/16/2005, Steve Bertrand wrote:
 Hi all,
 
 I'm a little confused about which tags to use in my supfiles 
 for cvsup.
 
 I've installed 6.0-RELEASE, and really want to stay with STABLE. 
 AFAICT, in my supfile, I should have the following to do so:
 
 *default tag=RELENG_6_0
 
 ...is that correct? I used this, and after a buildworld I 
 got an error.
 I'm not concerned about that right now though. Also, is RELENG_6 
 considered to be the most current, up-to-date release of the 
 6.0 track, 
 as opposed to STABLE?
 
 Steve
 
 
 according to the example in /usr/share/examples/cvsup:
 # The following line is for 6-stable.  If you want 5-stable, 
 4-stable, # 3-stable, or 2.2-stable, change to RELENG_5, 
 RELENG_4, RELENG_3, # or RELENG_2_2 respectively.
 *default release=cvs tag=RELENG_6
 *default delete use-rel-suffix
 
 
 So I used this in my cvsup-file
 *default release=cvs tag=RELENG_6
 
 and buildworld fails on libcurses..

Whoops, sorry!

I went ahead of myself and said 'me too', whereas I should of said, I
get fails on buildworld as well, but it wasn't there.

Steve

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


Re: Release engineering confusion

2005-11-16 Thread RW
On Wednesday 16 November 2005 23:38, Steve Bertrand wrote:

 In production (at an ISP), what is the best to follow...RELENGX_X or
 RELENG_X? I have 4.x, 5.x boxes in production, and this 6.x box is being
 prepared for the same.

See the Handbook:

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


Re: Status of 6.0 for production systems

2005-11-16 Thread Chris

Mark Bucciarelli wrote:

 Wow, did this thread veer off-topic!

It did rather ;) but it's an important topic for us energy users.


 On Tue, Nov 15, 2005 at 11:50:40PM +, Chris wrote:

 That is indeed a waste but consider that in that year the PC at 150
 watts



 This is probably a high estimate, especially for an older, single-cpu 
box.



 has consumed 60 times as much power as the router at 2.5 watts. I make
 that 1314kWh for the PC and 21.9kWh for the router 24/7 for a year.
 Anyone know how much power it takes to manufacture and deliver a small
 router? And maybe other routers last a bit longer.



 You can probably get an idea from extrapolating these figures [1]:

 RAM:  11.4 kWh and   32   L water for 32 MB chip
 CPU:   1.4 kWh and5.9 L water per square-cm silicon wafer
 LCD: 553   kWh and 2394   L water for a 15 monitor


Thank you! That's a lot of water too.


 A dragonball CPU (2 dies each .343cm x .343 cm) requires 0.3 kWh and 
1.4L.


 The impact of producing a CPU seems low to me, especially when compared
 to the RAM. Needs to do some more research ... :)


Well wild guessing, if a router requires 100kWh to make and an old PC 
uses 1000kWh more in a year than the router you can kill 10 routers in 
the year and still break even. Obviously there are many more 
considerations in calculating total environmental cost but the router is 
an awful long way ahead here.


What's more at 10p/kWh the PC has used £100 more in the year. I can buy 
a router for less than £25 so purely on a selfish basis I should get one.


I suppose as a responsible eco-citizen I should also use packages 
instead of ports to save on the compile time electricity.



 m

 [1] Environmnetal Implications of New Wireless Technologies: News 
Delivery and Business Meetings

 by Michael W. Toffel, Haas School of Biz, UCal Berkely
 and Arpad Horvath, Civil Eng, UCal Berkely
 accepted for publication 3/18/2004 in American Chemical Society
 
http://www.haas.berkeley.edu/responsiblebusiness/documents/wireless_asap.pdf





Chris

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


[Fwd: Re: Package Database Corruption]

2005-11-16 Thread Chris

oops! replied to poster, forwarding to list as it worked.

Chris

 Original Message 
Subject: Re: Package Database Corruption
Date: Tue, 15 Nov 2005 12:56:31 -0500
From: Sean [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Chris [EMAIL PROTECTED]
References: [EMAIL PROTECTED] 
[EMAIL PROTECTED]


Chris wrote:

Sean wrote:


I have some package corruption and have had no luck fixing the problem.
I have tried pkgdb -f, tried to remove and reinstall, and any other 
idea  that I could find.

Can anyone offer some suggestions on this problem?
Here are some of the problem packages.
I even tried a force and rebuild all packages, but obviously no luck.

pkg_version: the package info for package 'linux-atk-1.2.0_3' is corrupt
pkg_version: the package info for package 'linux-expat-1.95.5_3' is 
corrupt
pkg_version: the package info for package 'linux-fontconfig-2.2.3' is 
corrupt
pkg_version: the package info for package 'linux-glib2-2.2.1_3' is 
corrupt

pkg_version: the package info for package 'linux-gtk2-2.2.1_5' is corrupt
pkg_version: the package info for package 'linux-jpeg-6b.15_4' is corrupt
pkg_version: the package info for package 'linux-pango-1.2.1_3' is 
corrupt

pkg_version: the package info for package 'linux-png-1.2.7_6' is corrupt
pkg_version: the package info for package 'linux-sun-jdk-1.4.2.08_2' 
is corrupt

pkg_version: the package info for package 'linux-tiff-3.6.1_3' is corrupt



Can you pkg_delete -f package.name ?
Also delete the work directory in each packages port directory if it 
exists.

Then try running portmanager.

At least some of those ports get installed by linuxpluginwrapper.

Chris



Thanks Chris, that did the trick.

Sean


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


RE: Release engineering confusion

2005-11-16 Thread Steve Bertrand

  In production (at an ISP), what is the best to 
 follow...RELENGX_X or 
  RELENG_X? I have 4.x, 5.x boxes in production, and this 6.x box is 
  being prepared for the same.
 
 See the Handbook:
 
 20.2.2.2 Who Needs FreeBSD-STABLE?

Thank you. However, that entire page out of the handbook pretty much
clarifies that a production environment should *not* track either STABLE
or CURRENT.

So I'm assuming I'm best off with RELENG_6_0 etc, etc? Does anyone here
actually run STABLE or CURRENT in a production environment? I've
personally had the most luck with RELENG_4 which is still my main box,
but now my curiosity has got the best of me.

Steve

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


Re: Sound Configuration, Sony Laptop with ac97

2005-11-16 Thread Chris

Peter Clutton wrote:

On 11/17/05, Dev Tugnait [EMAIL PROTECTED] wrote:


Do a kldload snd_driver, then test your sound. This loads all the sound
drivers...then go from there



Thanks for that, I forgot to mention I had tried that to no avail. It
doesn't seem to recognise it. I will do it again so I can say exactly


Did you check dmesg? I thought I had a similar problem but the output 
for the driver that got loaded was simply not appearing on the console.


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


Re: Sound Configuration, Sony Laptop with ac97

2005-11-16 Thread Dev Tugnait
Try opensound drivers http://opensound.com

On Thu, 2005-11-17 at 09:41 +1100, Peter Clutton wrote:
 On 11/17/05, Dev Tugnait [EMAIL PROTECTED] wrote:
  Do a kldload snd_driver, then test your sound. This loads all the sound
  drivers...then go from there
 
 Thanks for that, I forgot to mention I had tried that to no avail. It
 doesn't seem to recognise it. I will do it again so I can say exactly
 what happens when i do that. I was wondering if anyone knew a specific
 kernel option, like snd_sbc that supports this chip, and what steps
 others have gone through with this chip. I may have done something
 wrong when doing kldload snd_driver so will go through it again.
 
 [EMAIL PROTECTED]
 
 Thank you but I did read the manual online, as always before posting.
 I also have the printed versions, to support the docos. I just did not
 find anything specific to this chip (understandable, not every chip
 can be mentioned) nor did i find much about it in association with
 freebsd when googling it, and was worrying it may not be supported, or
 might take some knowledge i don't have, or is not listed, to configure
 it. I will go back to googling.
-- 
Dev Tugnait [EMAIL PROTECTED]

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


Sarg scripts

2005-11-16 Thread Chris
If anyone is using sarg (/usr/ports/www/sarg) I would really appreciate
what you are doing for gathering daily/weekly/monthly info.

This would be in the form of scripts I assume and cron.


-- 
Best regards,
Chris

You can observe a lot just by watching.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Filesystem monitoring question

2005-11-16 Thread Rools S
I have a FreeBSD 6.0 box with a mounted filesystem that is accessible to a
number of clients via SMB and NFS.

I would like to monitor activity on this filesystem so that every time a
write to the mount is completed, my C program is run (which stats the file
and stores some info about it in a database etc.)

My question is: How do I construct a trigger for my code?

If anyone can point me in the right direction I would greatly appreciate it.

Thanks

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


Re: Release engineering confusion

2005-11-16 Thread Chad Leigh -- Shire.Net LLC


On Nov 16, 2005, at 5:18 PM, Steve Bertrand wrote:




In production (at an ISP), what is the best to

follow...RELENGX_X or

RELENG_X? I have 4.x, 5.x boxes in production, and this 6.x box is
being prepared for the same.


See the Handbook:

20.2.2.2 Who Needs FreeBSD-STABLE?


Thank you. However, that entire page out of the handbook pretty much
clarifies that a production environment should *not* track either  
STABLE

or CURRENT.

So I'm assuming I'm best off with RELENG_6_0 etc, etc? Does anyone  
here

actually run STABLE or CURRENT in a production environment? I've
personally had the most luck with RELENG_4 which is still my main box,
but now my curiosity has got the best of me.



I generally track -RELEASE but my production boxes are currently at  
5.4-STABLE from a while ago since there was an issue I was trying to  
fix and was hoping someone had put a patch in to fix whatever my  
issue was :-)  My issue has not shown up since and my boxes have been  
working fine.


But in general I play it conservative and track -RELEASE

Chad

---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
[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: Release engineering confusion

2005-11-16 Thread Steve Bertrand
 

 -Original Message-
 From: Dan O'Connor [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, November 16, 2005 7:31 PM
 To: Steve Bertrand
 Cc: 'FreeBSD Questions'
 Subject: Re: Release engineering confusion
 
  Thank you. However, that entire page out of the handbook 
 pretty much 
  clarifies that a production environment should *not* track either 
  STABLE or CURRENT.
 
  So I'm assuming I'm best off with RELENG_6_0 etc, etc? Does anyone 
  here actually run STABLE or CURRENT in a production 
 environment? I've 
  personally had the most luck with RELENG_4 which is still 
 my main box, 
  but now my curiosity has got the best of me.
 
 Yes, production servers should track -STABLE, since it's, 
 well, stable...
 
 -CURRENT is the development branch, so for a production 
 server, don't use that. But RELENG_6_0 is the 6.0-RELEASE 
 tag, and you'll never get any updates (bug fixes, security 
 patches, etc).
 

This is why I am confused, because as per the handbook (20.2.2.2):

For these reasons, we do not recommend that you blindly track
FreeBSD-STABLE, and it is particularly important that you do not update
any production servers to FreeBSD-STABLE without first thoroughly
testing the code in your development environment.

Also in there, it states that one does NOT need to follow stable to get
the latest security/bug fixes, which makes me believe that on my
production network, I should track RELENG_6_X (security/bug fix), and in
my devel lab, RELENG_6 (STABLE).

Appreciating, but 'disagreeing' with your comment that _6_0 will NOT get
the sec/bug updates from my understanding so far. It is my understanding
that _6_0 will get ALL the bug/sec updates, but nothing else because it
is *frozen*, making it preferrably the track to follow in a pure,
24/7/365 environment, because new 'tricks' or 'features' are not
introduced here.

Does that seem accurate?

Steve

 ~Dan
 
 
 
 

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


RE: Release engineering confusion

2005-11-16 Thread Steve Bertrand
 

  In production (at an ISP), what is the best to
  follow...RELENGX_X or
  RELENG_X? I have 4.x, 5.x boxes in production, and this 
 6.x box is 
  being prepared for the same.
 
  See the Handbook:
 
  20.2.2.2 Who Needs FreeBSD-STABLE?
 
  Thank you. However, that entire page out of the handbook 
 pretty much 
  clarifies that a production environment should *not* track either 
  STABLE or CURRENT.
 
  So I'm assuming I'm best off with RELENG_6_0 etc, etc? Does anyone 
  here actually run STABLE or CURRENT in a production 
 environment? I've 
  personally had the most luck with RELENG_4 which is still 
 my main box, 
  but now my curiosity has got the best of me.
 
 
 I generally track -RELEASE but my production boxes are currently at  
 5.4-STABLE from a while ago since there was an issue I was trying to  
 fix and was hoping someone had put a patch in to fix whatever my  
 issue was :-)  My issue has not shown up since and my boxes 
 have been  
 working fine.
 
 But in general I play it conservative and track -RELEASE

Thanks Chad,

Do you 'sup and build in a devel lab first, or do you perform your
upgrades in real-time, and if something fails go from there?

I've found it to be ok when something fails (only lived with FBSD since
4.5), as usually it fails during build (which doesn't cause downtime),
and after the reboot after installkernel (which can be reverted by using
your backup of your previous kernel, or if you don't make a direct
backup, essentially kernel.old) that you can get back up and running
very quickly.

Steve

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


Re: Release engineering confusion

2005-11-16 Thread Chad Leigh -- Shire.Net LLC


On Nov 16, 2005, at 5:45 PM, Steve Bertrand wrote:





In production (at an ISP), what is the best to

follow...RELENGX_X or

RELENG_X? I have 4.x, 5.x boxes in production, and this

6.x box is

being prepared for the same.


See the Handbook:

20.2.2.2 Who Needs FreeBSD-STABLE?


Thank you. However, that entire page out of the handbook

pretty much

clarifies that a production environment should *not* track either
STABLE or CURRENT.

So I'm assuming I'm best off with RELENG_6_0 etc, etc? Does anyone
here actually run STABLE or CURRENT in a production

environment? I've

personally had the most luck with RELENG_4 which is still

my main box,

but now my curiosity has got the best of me.



I generally track -RELEASE but my production boxes are currently at
5.4-STABLE from a while ago since there was an issue I was trying to
fix and was hoping someone had put a patch in to fix whatever my
issue was :-)  My issue has not shown up since and my boxes
have been
working fine.

But in general I play it conservative and track -RELEASE


Thanks Chad,

Do you 'sup and build in a devel lab first, or do you perform your
upgrades in real-time, and if something fails go from there?


Major version changes I try and do in a lab first and make sure all  
is good.  -RELEASE patch levels I do live and have never had an  
issue.  The current switch to -STABLE was also live since I was in a  
bind trying to figure out why I was getting a hanging machine...


Chad



I've found it to be ok when something fails (only lived with FBSD  
since

4.5), as usually it fails during build (which doesn't cause downtime),
and after the reboot after installkernel (which can be reverted by  
using

your backup of your previous kernel, or if you don't make a direct
backup, essentially kernel.old) that you can get back up and running
very quickly.

Steve



---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
[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: Release engineering confusion

2005-11-16 Thread David Kirchner
On 11/16/05, Steve Bertrand [EMAIL PROTECTED] wrote:
 Thank you. However, that entire page out of the handbook pretty much
 clarifies that a production environment should *not* track either STABLE
 or CURRENT.

 So I'm assuming I'm best off with RELENG_6_0 etc, etc? Does anyone here
 actually run STABLE or CURRENT in a production environment? I've
 personally had the most luck with RELENG_4 which is still my main box,
 but now my curiosity has got the best of me.

 Steve

Ultimately it depends on how much downtime and difficulty you're
willing to endure, just in case the -STABLE branch ends up not working
for your servers for some particular reason. We use -RELEASE almost
exclusively (we have one -STABLE machine, because we needed a newer
version of a kernel driver) as we manage hundreds of servers, and
there's no one -STABLE release (to properly describe the -STABLE
version you're using you have to have the date and time of the cvsup,
as opposed to -RELEASE versions being like 5.4-RELEASE-p9). It's
easier, and thus more reliable, for us to have stable(heh) version
strings.

If you're just working with a handful of servers, -STABLE would
probably be fine, as long as you have backups and know how to revert
to previous versions when it becomes necessary.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Release engineering confusion

2005-11-16 Thread Steve Bertrand
 

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On 
 Behalf Of David Kirchner
 Sent: Wednesday, November 16, 2005 7:45 PM
 To: Steve Bertrand
 Cc: RW; FreeBSD Questions
 Subject: Re: Release engineering confusion
 
 On 11/16/05, Steve Bertrand [EMAIL PROTECTED] wrote:
  Thank you. However, that entire page out of the handbook 
 pretty much 
  clarifies that a production environment should *not* track either 
  STABLE or CURRENT.
 
  So I'm assuming I'm best off with RELENG_6_0 etc, etc? Does anyone 
  here actually run STABLE or CURRENT in a production 
 environment? I've 
  personally had the most luck with RELENG_4 which is still 
 my main box, 
  but now my curiosity has got the best of me.
 
  Steve
 
 Ultimately it depends on how much downtime and difficulty 
 you're willing to endure, just in case the -STABLE branch 
 ends up not working for your servers for some particular 
 reason. We use -RELEASE almost exclusively (we have one 
 -STABLE machine, because we needed a newer version of a 
 kernel driver) as we manage hundreds of servers, and there's 
 no one -STABLE release (to properly describe the -STABLE 
 version you're using you have to have the date and time of 
 the cvsup, as opposed to -RELEASE versions being like 
 5.4-RELEASE-p9). It's easier, and thus more reliable, for us 
 to have stable(heh) version strings.

I can appreciate the fact it's easier to follow one string for so many
servers.
 
 If you're just working with a handful of servers, -STABLE 
 would probably be fine, as long as you have backups and know 
 how to revert to previous versions when it becomes necessary.

I do only have a handful of servers, however thousands of users, and
indeed, I do have backups. The problem arises in a criticality that 20
minutes of downtime would lead to a severe problemwhich brings up
another good question...how do YOU revert back to a previous release? If
you manage so many servers, I'd love to know what type of routine you'd
use to revert back (and so would many others I'd think ;)

Usually, as per my last message Re: Chad, the upgrades usually fail
during one or two places: buildworld, or rebooting after installkernel.
Both of those are easy to recover from. *knock on wood*, I've never had
a showstopper after installworld before. I wouldn't know what to do if
that happened.

If installkernel reboots, then I've always been good after that.

Steve 

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


Re: Im trying to find the H and V sync rates for the LCD in

2005-11-16 Thread Eric Murphy

Greg Barniskis wrote:


Greg 'groggy' Lehey wrote:


On Tuesday, 15 November 2005 at 19:15:51 -0600, Eric Murphy wrote:


A Inspiron 9300, I cant seem to find this info ANYWHERE, and i want to
configuer Xorg :)   Can anyone point me in the right direction?




What happens when you run this (from a text-mode terminal)?

  X  -configure



If that doesn't work, I think I found the specs for my 9200 last 
summer (shamefully, *not* in the Dell User's Manual) by Googling on 
the LCD part number rather than Inspiron. Check your invoice for 
details.


Mine's a Samsung product, I think. I'm sure I have my notes from that 
episode somewhere; post back if nothing else works and I'll try to dig 
them up, or at least share my working xorg.conf.


YMMV. Which LCD type is it (WUXGA, WSXGA, other)? Hmm... perhaps that 
is why the Inspiron owner's manual is so vague on this subject; the 
actual display specs may vary depending on what options you choose.




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


RE: Release engineering confusion

2005-11-16 Thread Steve Bertrand

  In production (at an ISP), what is the best to
  follow...RELENGX_X or
  RELENG_X? I have 4.x, 5.x boxes in production, and this
  6.x box is
  being prepared for the same.
 
  See the Handbook:
 
  20.2.2.2 Who Needs FreeBSD-STABLE?
 
  Thank you. However, that entire page out of the handbook
  pretty much
  clarifies that a production environment should *not* track either 
  STABLE or CURRENT.
 
  So I'm assuming I'm best off with RELENG_6_0 etc, etc? 
 Does anyone 
  here actually run STABLE or CURRENT in a production
  environment? I've
  personally had the most luck with RELENG_4 which is still
  my main box,
  but now my curiosity has got the best of me.
 
 
  I generally track -RELEASE but my production boxes are 
 currently at 
  5.4-STABLE from a while ago since there was an issue I was 
 trying to 
  fix and was hoping someone had put a patch in to fix whatever my 
  issue was :-)  My issue has not shown up since and my 
 boxes have been 
  working fine.
 
  But in general I play it conservative and track -RELEASE
 
  Thanks Chad,
 
  Do you 'sup and build in a devel lab first, or do you perform your 
  upgrades in real-time, and if something fails go from there?
 
 Major version changes I try and do in a lab first and make 
 sure all is good.  -RELEASE patch levels I do live and have 
 never had an issue.  The current switch to -STABLE was also 
 live since I was in a bind trying to figure out why I was 
 getting a hanging machine...

Thanks again. So, essentially, it's ok for me to track a release...any
release and feel confident that I am secure (at least up to date as I
can be) without introducing new *feature* bugs into a live environment?

Realistically, that's exactly what answer I've been looking for.

My systems perform very particular tasks. I don't need anything new, I
just want to ensure I've got all the sec/bug patches that our fine
fellows have produced, and we know are stable (not as in FBSD-STABLE). I
don't have the time, nor staff resources to test every single update in
a lab before we deploy, hence the reason for this whole entire thread.

Steve

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


Re: Release engineering confusion

2005-11-16 Thread David Kirchner
On 11/16/05, Steve Bertrand [EMAIL PROTECTED] wrote:


  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
  Behalf Of David Kirchner

D'oh. I had no idea my From header looked like that. Another gmail frustration.

 I do only have a handful of servers, however thousands of users, and
 indeed, I do have backups. The problem arises in a criticality that 20
 minutes of downtime would lead to a severe problemwhich brings up
 another good question...how do YOU revert back to a previous release? If
 you manage so many servers, I'd love to know what type of routine you'd
 use to revert back (and so would many others I'd think ;)

Depending on how serious the problem is we may restore the changed
files from backups or cvsup to the date just before when the
-RELEASE-pNN tag was set.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Need urgent help regarding security

2005-11-16 Thread Mark Jayson Alvarez
Good Day!

I think we have a serious problem. One of our old
server running FreeBSD 4.9 have been compromised and
is now connected to an ircd server..
195.204.1.132.6667 ESTABLISHED

However, we still haven't brought the server down in
an attempt to track the intruder down. Right now we
are clueless as to what we need to do..
Most of our servers are running legacy operating
systems(old versions mostly freebsd) Also, that
particular server is running - ProFTPD Version 1.2.4
which someone have suggested to have a known
vulnerability..

I really need all the help I can get as the
administration of those servers where just transferred
to us by former admins. The server is used for ftp.

Thanks..




__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
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]


Need urgent help regarding security

2005-11-16 Thread Mark Jayson Alvarez
Good Day!

I think we have a serious problem. One of our old
server running FreeBSD 4.9 have been compromised and
is now connected to an ircd server..
195.204.1.132.6667 ESTABLISHED

However, we still haven't brought the server down in
an attempt to track the intruder down. Right now we
are clueless as to what we need to do..
Most of our servers are running legacy operating
systems(old versions mostly freebsd) Also, that
particular server is running - ProFTPD Version 1.2.4
which someone have suggested to have a known
vulnerability..

I really need all the help I can get as the
administration of those servers where just transferred
to us by former admins. The server is used for ftp.

Thanks..




__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
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: Need urgent help regarding security

2005-11-16 Thread Steve Bertrand

 I think we have a serious problem. One of our old server 
 running FreeBSD 4.9 have been compromised and is now 
 connected to an ircd server..
 195.204.1.132.6667 ESTABLISHED

Ran into this recently. Please post the entire output from:

# top
# w
# last
# ps -aux
# uname -a

...after that, depending on the intruders knowledge and depending on
what/if they are covering up, we can probably tell what is going on via
further troubleshooting. The output from:

# ls -la /tmp

would probably help too.

 However, we still haven't brought the server down in an 
 attempt to track the intruder down. Right now we are clueless 
 as to what we need to do..
 Most of our servers are running legacy operating systems(old 
 versions mostly freebsd) Also, that particular server is 
 running - ProFTPD Version 1.2.4 which someone have suggested 
 to have a known vulnerability..
 
 I really need all the help I can get as the administration of 
 those servers where just transferred to us by former admins. 
 The server is used for ftp.
 

First...just relax. Do not panic. Just let them do what they are going
to do (with hopes you have backups), and the problem can be found and
eradicated.

Now, answer these:

- do you have an external firewall in front of this box
- do you have a firewall running on this box
- is this box Internet facing
- is this machines ONLY purpose FTP

Another thing...what is the IP of the box. I can quickly nmap it, give
you instructions on how to config IPFW firewall into the mix, tell you
what ports are listening/responding and send you a ruleset to block all
ports in/out to/from that IP.

Don't be concerned about finding out who did what at this point...again,
relax. Running IRC usually doesn't appear they are malicious. THey are
likely just trying to use your bandwidth/resources.

Provide the above, and something can be done.

Steve

___
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 nagios-plugins

2005-11-16 Thread Brooke Landers

If not, change your options for the port by:
# cd /usr/ports/net/nagios-plugins; make config

including the net-snmp option, and reinstall nagios-plugins.


spot on. thank you so much Lowell

_
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


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


BSD 5.4 fs problem...

2005-11-16 Thread xinyu zeng
Hi,

   I have FreeBSD 5.4 installed. I found each time I use ports to
install software it always hangs there (i have only SSH to connect it)
and there is even no ICMP reply (with ping).

   I got to restart the system and find messages of not properly umount.

'Mounting root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
WARNING: /tmp was not properly dismounted
WARNING: /usr was not properly dismounted
WARNING: /var was not properly dismounted
'
   I wounder if this is harddisk error and use 'fsck -y' to check
after it reboot. I know I should umount fs before 'fsck', but I have
no monitor to see it...
--
Best Regards,
Yours Xinyu.Zeng
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Need urgent help regarding security

2005-11-16 Thread Mark Kane
Mark Jayson Alvarez wrote:
 Good Day!
 
 I think we have a serious problem. One of our old
 server running FreeBSD 4.9 have been compromised and
 is now connected to an ircd server..
 195.204.1.132.6667 ESTABLISHED

I believe I'm having the same issue as you, except on FreeBSD
5.4-RELEASE. I notice a connection to the same IP and port as you posted
(which by the way is an Undernet IRC server).

I also see a psyBNC server listening on port 7978:

server# sockstat -l4 | grep psybnc
USER COMMANDPID   FD PROTO  LOCAL ADDRESS FOREIGN ADDRESS
wicked6  psybnc 15819 3  tcp4   *:7978*:*

Funny thing is there is no process by wicked6 (or by anyone currently)
called psybnc. I can connect to an IP on that server on port 7978 and
get a psyBNC though. I've checked for other processes by wicked6, nothing.

It's trying to make a connection on 6667 to that IP as I said:

server1# netstat -n | grep 6667
tcp4   0  0  xx.xx.xx.xx.64243195.197.175.21.6667SYN_SENT

top lists nothing using up much CPU. /tmp doesn't show much except many
session files. I found a psybnc.tar.gz file in a user's home directory
but cannot find any directories with psybnc config files or binaries.

Port 6667 is blocked by my datacenter so this is not actually doing any
damage against the target, but I wanted to post here and let you know
I'm having the same problem on a different version of FBSD with
everything up to date.

To Steve:

I don't want to post the full outputs of those since this is a client
server, but I will say the following points:

- top lists nothing significant. 97% idle CPU
- w only shows myself and one other legit user logged in who is
editing config files with vi
- last shows nothing but myself and that one other user
- ps -aux doesn't say anything about psyBNC or bnc. everything looks
normal as of now
- It's a FreeBSD 5.4-RELEASE machine with a generic kernel except with
quota support

-Mark

-- 
GnuPG Public Key:
http://www.mkproductions.org/mk_pubkey.asc

Internet Radio:
Party107 (Trance/Electronic) - http://www.party107.com
Rock 101.9 The Edge (Rock) - http://www.rock1019.net

IRC:
MIXXnet IRC Network - irc.mixxnet.net (Nick: MIXX941)


signature.asc
Description: OpenPGP digital signature


  1   2   >