Your message to rx7 awaits moderator approval

2007-04-12 Thread rx7-bounces
Your mail to 'rx7' with the subject

Returned mail: see transcript for details

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

The reason it is being held:

Post by non-member to a members-only list

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


http://lists.rx7-world.net/mailman/confirm/rx7/50cc905da935948cb5ddccf9d1dd72f6710a5962

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


nspluginwrapper + native firefox 2 + flash9?

2007-04-12 Thread John Reynolds
Hi everybody, I've been struggling with this all night and the archives +
google aren't coming up with much except for other people's success stories.

I recently ditched using the linux-firefox port in favor of the native version
when I read a post about nspluginwrapper. I've spent the last 2 days upgrading
many ports on my system. I think I've got things A-OK, but I cannot get
nspluginwrapper to do anything meaningful with the native firefox.

My config:

 6.2-STABLE as of april 10th
 CVSup'ed ports tree as of April 10th
 linux_base-fc-4_9 installed--do I need fc-6??
 linux-alsa-lib-1.0.10.3 also installed
 firefox-2.0.0.3,1 compiled and installed
 linux-flashplugin9 installed 

I did the following:

  % nspluginwrapper -v -i /usr/X11R6/lib/linux-mozilla/plugins/libflashplayer.so

saw:

Install plugin /usr/X11R6/lib/linux-mozilla/plugins/libflashplayer.so
  into /usr/local/lib/browser_plugins/npwrapper.libflashplayer.so

after firing firefox back up and doing about:plugins I see what I hoped to see:

   Shockwave Flash
   
   File name: npwrapper.libflashplayer.so
   Shockwave Flash 9.0 r31
   
   MIME TypeDescription SuffixesEnabled
   application/x-shockwave-flashShockwave Flash swf Yes
   application/futuresplash FutureSplash Player spl Yes

However whenever I visit a site that utilizes Flash, nothing shows up--not even
an 'outline' of what should be a flash file playing. 

I've tried using nspluginwrapper -r to uninstall the plugin and use
linux-flashplugin7 but the results are the same. I've also tried using
linux-mplayer-plugin which yielded similar results: about:plugins showed a
plethora of MIME type's, descriptions, etc. but no dice.

Does anybody have any clues as to what's going wrong or things I could possibly
try? From all accounts seen via google, this has just worked for people ... :(

Thanks in advance.

-Jr

-- 
John  Jennifer Reynolds  johnjen at reynoldsnet.orgwww.reynoldsnet.org
Structural/Physical Design - some group - Intel   jreynold at 
sedona.ch.intel.com
Running FreeBSD since 2.1.5-RELEASE.   KT7JCRFreeBSD: The Power to 
Serve!
Unix is user friendly, it's just particular about the friends it chooses.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FileSystem Fix

2007-04-12 Thread Chris Hesselrode

My friend took out a hard disk we had in a computer, that ran an
internal web server, threw it in a new box, as a secondary drive. Now
that I've smacked him around a bit, and put it back in the original
box, it won't boot. When doing an fsck it comes back with:

mount reload of '/' failed: No such file or directory

Can't stat /dev/ad6s1e: No such file or directory (6 times ... with
different ending letters)

How can I fix this?

In the /dev there are only:

ad4
ad4s1
ad4s1a
ad4s1b
ad4s1c
ad4s1d
ad4s1e
ad4s1f

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


FileSystem Fix

2007-04-12 Thread Chris Hesselrode

My friend took out a hard disk we had in a computer, that ran an
internal web server, threw it in a new box, as a secondary drive. Now
that I've smacked him around a bit, and put it back in the original
box, it won't boot. When doing an fsck it comes back with:

mount reload of '/' failed: No such file or directory

Can't stat /dev/ad6s1e: No such file or directory (6 times ... with
different ending letters)

How can I fix this?

In the /dev there are only:

ad4
ad4s1
ad4s1a
ad4s1b
ad4s1c
ad4s1d
ad4s1e
ad4s1f

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


Re: gmirror device numbers

2007-04-12 Thread [EMAIL PROTECTED]

On 11/04/07, Toomas Aas [EMAIL PROTECTED] wrote:

Hello!

I have a server with gmirror volumes. Backup of this server is being done
with Amanda, which uses GNU tar and its --listed-incremental option
(snapshot files) in order to do incremental backups.

It seems that gmirror devices get a different 'device number' on each boot
(each time the gmirror is created). Since the device number is stored in
GNU tar's snapshot file, it effectively means that after rebooting GNU tar
sees all files as having been changed since previous backup. This causes
huge incremental backups.

Is there a way to force a gmirror device to have a 'fixed' device number?


Not to sound too thick, but what do you mean
by device number?  Is this the Geom name:
or ID: field when you type:
gmirror list

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


Re: FileSystem Fix

2007-04-12 Thread [EMAIL PROTECTED]

On 12/04/07, Chris Hesselrode [EMAIL PROTECTED] wrote:

My friend took out a hard disk we had in a computer, that ran an
internal web server, threw it in a new box, as a secondary drive. Now
that I've smacked him around a bit, and put it back in the original
box, it won't boot. When doing an fsck it comes back with:

mount reload of '/' failed: No such file or directory

Can't stat /dev/ad6s1e: No such file or directory (6 times ... with
different ending letters)

How can I fix this?

In the /dev there are only:

ad4
ad4s1
ad4s1a
ad4s1b
ad4s1c
ad4s1d
ad4s1e
ad4s1f


It seems to me that your fstab is expecting
/dev/ad6* and the drive is now on /dev/ad4.
You might be able to plug it into another
controller and have it work.

Otherwise you will have to go through the tedium
of passing the root device to the boot loader[1],
booting into single user mode, fsck-ing by device
number, mount /dev/ad6s1a /, editing the /etc/fstab,
and continuing the boot from there.


[1] I am not certain you need to do this.

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


Re: gmirror device numbers

2007-04-12 Thread Toomas Aas

[EMAIL PROTECTED] wrote:


On 11/04/07, Toomas Aas [EMAIL PROTECTED] wrote:


It seems that gmirror devices get a different 'device number' on each 
boot

(each time the gmirror is created). Since the device number is stored in
GNU tar's snapshot file, it effectively means that after rebooting GNU 
tar

sees all files as having been changed since previous backup. This causes
huge incremental backups.

Is there a way to force a gmirror device to have a 'fixed' device number?


Not to sound too thick, but what do you mean
by device number?  Is this the Geom name:
or ID: field when you type:
gmirror list


First, I may have to take back some of what I said. I've rebooted the 
server twice in last two days, and the results are different.


First time, the server actually lost power accidentally (faulty UPS) and 
the gmirror volume was rebuilt. The device numbers had changed after that. 
Second time I rebooted the server myself (gmirror remained healthy), and 
device numbers remained unchanged.


Now to your question. By device number I mean the numbers 81, 83, 84 etc 
as displayed here:


# ls -l /dev/mirror/gm0*
crw-r-  1 root  operator0,  81 Apr 11 18:18 /dev/mirror/gm0
crw-r-  1 root  operator0,  83 Apr 11 18:18 /dev/mirror/gm0s1
crw-r-  1 root  operator0,  84 Apr 11 18:18 /dev/mirror/gm0s1a
crw-r-  1 root  operator0,  85 Apr 11 18:18 /dev/mirror/gm0s1b
crw-r-  1 root  operator0,  86 Apr 11 18:18 /dev/mirror/gm0s1c
crw-r-  1 root  operator0,  87 Apr 11 18:18 /dev/mirror/gm0s1d
crw-r-  1 root  operator0,  88 Apr 11 18:18 /dev/mirror/gm0s1e
crw-r-  1 root  operator0,  89 Apr 11 18:18 /dev/mirror/gm0s1f
crw-r-  1 root  operator0,  90 Apr 11 18:18 /dev/mirror/gm0s1g
crw-r-  1 root  operator0,  91 Apr 11 18:18 /dev/mirror/gm0s1h

When, for example, the / filesystem that resides on /dev/mirror/gm0s1a is 
backed up with GNU tar 1.15.1 and a snapshot file is created (using 
--listed-incremental), the snapshot file contains lines such as:


84 4165 ./etc/bluetooth
84 22 ./root/.cpan/sources/authors/id
84 12486 ./media
84 8323 ./boot
84 169 ./root/.cpan/build/Tree-R-0.05/blib/arch
84 4169 ./etc/mtree

The first number here is device number. If this number changes, GNU tar 
considers all files as having been changed next time it is run, and as a 
result the incremental backup backs up all files.


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


Re: Two firefoxes, 1.5 and 2.0, script keeps running 1.5 instead of 2.0

2007-04-12 Thread Pietro Cerutti

On 4/12/07, Oliver Iberien [EMAIL PROTECTED] wrote:

I seem to have messed up with pkgdb -F when firefox 1.5 got deprecated, and
now have 1.5 installed without any clear way to get rid of it.

bsd# cd /usr/ports/www/firefox15/
bsd# make deinstall
===  Deinstalling for www/firefox15
===   firefox not installed, skipping

Deinstalling any other way gets rid of 2.0 instead of
1.5.  /usr/local/bin/firefox starts up 1.5 instead of 2.0  Does anyone know
the way out of this?


Try to deinstall any versions of firefox, and then manually delete the
files which keep laying around.. after that reinstall you favorite
version of firefox...



--
Pietro Cerutti

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


Shell scripting: Absolute path name of a file given as parameter

2007-04-12 Thread Aitor San Juan
Hi List,

Just a simple question.

I have developed a shell script that, among other things, shows the filename
that was specified as a parameter.

However, when I invoke the script and the file is located in the current working
directory, it just shows: ./my_input_filename

I'd like the script to show the full path name of the input file. I wonder
whether there is or not an equivalent to %~f1 (Windows Batch file programming).
This parameter extension expands parameter %1 ($1 in shell scripting jargon) to 
a
Fully qualified path name.

Any hint would be highly appreciated.

Thanks in advance.

Aitor.


 LEGEZKO OHARRA / AVISO LEGAL / LEGAL ADVICE * 
Mezu honek isilpeko informazioa gorde dezake, edo jabea duena, edota legez 
babestuta dagoena. Zuri zuzendua ez bada, bidali duenari esan eta ezabatu, 
inori berbidali edo gorde gabe, legeak debekatzen duelako mezuak erabiltzea 
baimenik gabe. 
--
Este mensaje puede contener información confidencial, en propiedad o legalmente 
protegida. Si usted no es el destinatario, le rogamos lo comunique al remitente 
y proceda a borrarlo, sin reenviarlo ni conservarlo, ya que su uso no 
autorizado está prohibido legalmente.
--
This message may contain confidential, proprietary or legally privileged 
information. If you are not the intended recipient of this message, please 
notify it to the sender and delete without resending or backing it, as it is 
legally prohibited.
**
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Shell scripting: Absolute path name of a file given as parameter

2007-04-12 Thread Garrett Cooper

Aitor San Juan wrote:

Hi List,

Just a simple question.

I have developed a shell script that, among other things, shows the filename
that was specified as a parameter.

However, when I invoke the script and the file is located in the current working
directory, it just shows: ./my_input_filename

I'd like the script to show the full path name of the input file. I wonder
whether there is or not an equivalent to %~f1 (Windows Batch file programming).
This parameter extension expands parameter %1 ($1 in shell scripting jargon) to 
a
Fully qualified path name.

Any hint would be highly appreciated.

Thanks in advance.

Aitor.
You could always do it relative to the current working path, i.e. 
`pwd`/./my_input_filename.


There's another way to do this by determining the absolute path of the 
shell script, but that was a bit more complicated and I don't remember 
where the documentation for that is right now..

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


Qemu audio with win2k3 guest.

2007-04-12 Thread Chris Keladis

Hi all,

Running QEMU 0.9.0 from the ports on a FreeBSD 6.1 host box running a
win2k3 guest.

Everything works great except audio, i was wondering if anyone has got
audio working with a win2k3 guest?

Windows sees the hardware but has trouble adding drivers.

Would appreciate any help.



Thanks,

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


issues adding a disk

2007-04-12 Thread Dave

Hello,
   I'm following the handbook section 18.3.2.1 to add a disk to a FreeBSD 
6.2 system. I've got the disk plugged in and it shows up as /dev/ad6 so i 
did:


dd if=/dev/zero of=/dev/ad6 bs=1k count=1

That worked fine. My problem came with fdisk. I used:

fdisk -BI ad6

and i got the message:

Invalid partition table
geom not found.

If i do:

fdisk ad6

i get a summary of the current disk partitions on ad6, all empty as this is 
a new disk.

Thanks.
Dave.

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


Re: Port for Roller?

2007-04-12 Thread Alex Zbyslaw

Murray Taylor wrote:


cd /usr/ports
make search key=roller | more

If its there this will find it ... and often much more as well
depending on the key string used.  grepping for Port: cuts down 
on the gibbering a bit


 


make search name=roller | less

will only look in the name of the port.

I find this (tcsh) alias useful as it strips lots of the cruft:

(chdir /usr/ports; make search name=!:1 | egrep '^Port|^Info|^Path|^$')

The actual alias line is far more hideous to account for the quotes:

alias portname '(chdir /usr/ports; make search name=\!:1 | egrep 
'''^Port|^Info|^Path|^$''')'



and similar for portkey.

--Alex



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


Re: Port for Roller?

2007-04-12 Thread Alex Zbyslaw

Alex Zbyslaw wrote:


make search name=roller | less

Should add that this only looks in whatever version of the port tree you 
have downloaded.  You would want to update your port tree to be sure you 
got an up-to--date answer.


If, for any reason (*) you don't want to update your port tree, then you 
can search the ports tree at: http://www.freebsd.org/ports/index.html


--Alex

(*) I personally do not upgrade my port tree unless I am also actually 
going to update the ports themselves.  I like my tree to match what I 
have installed; that way if I ever need to re-install some port I get 
exactly the same version I had before, which presumably worked.



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


Re: FileSystem Fix

2007-04-12 Thread Alex Zbyslaw

[EMAIL PROTECTED] wrote:


On 12/04/07, Chris Hesselrode [EMAIL PROTECTED] wrote:


mount reload of '/' failed: No such file or directory

Can't stat /dev/ad6s1e: No such file or directory (6 times ... with
different ending letters)

How can I fix this?

In the /dev there are only:

ad4
ad4s1
ad4s1a
ad4s1b
ad4s1c
ad4s1d
ad4s1e
ad4s1f



It seems to me that your fstab is expecting
/dev/ad6* and the drive is now on /dev/ad4.
You might be able to plug it into another
controller and have it work.

Otherwise you will have to go through the tedium
of passing the root device to the boot loader[1],
booting into single user mode, fsck-ing by device
number, mount /dev/ad6s1a /, editing the /etc/fstab,
and continuing the boot from there.


Or boot from CD1, go in to fixit shell, mount /dev/ad4s1a on /mnt and 
edit /mnt/etc/fstab with vi or ed.


Take out the CD and it should boot.

--Alex






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


Port removal

2007-04-12 Thread Steve Bertrand
Hi all,

On RELENG_6_2, I'm going to be installing chillisoft from ports.

However, when I first ran 'make', there was an initial configuration
window came up before compile. I selected the wrong options (I realized
this after the make was complete). I did not do a 'make install'.

I tried to 'make clean', distclean then I removed the entire port from
the ports system and re 'supped it and still, when I run make again, the
configuration dialog does not appear.

Am I missing something that I need to remove to put the port back to the
way it was before (so the config dialog will re-appear)?

TIA,

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


Re: Port removal

2007-04-12 Thread usleepless

Steve,

On 4/12/07, Steve Bertrand [EMAIL PROTECTED] wrote:

Hi all,

On RELENG_6_2, I'm going to be installing chillisoft from ports.

However, when I first ran 'make', there was an initial configuration
window came up before compile. I selected the wrong options (I realized
this after the make was complete). I did not do a 'make install'.

I tried to 'make clean', distclean then I removed the entire port from
the ports system and re 'supped it and still, when I run make again, the
configuration dialog does not appear.

Am I missing something that I need to remove to put the port back to the
way it was before (so the config dialog will re-appear)?


#cd /var/db/ports
#ls
#rm -rf chilliwhatever

or edit options with an editor.

regards,

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


Re: Port removal

2007-04-12 Thread Duane Hill

On Thu, 12 Apr 2007, Steve Bertrand wrote:


Hi all,

On RELENG_6_2, I'm going to be installing chillisoft from ports.

However, when I first ran 'make', there was an initial configuration
window came up before compile. I selected the wrong options (I realized
this after the make was complete). I did not do a 'make install'.

I tried to 'make clean', distclean then I removed the entire port from
the ports system and re 'supped it and still, when I run make again, the
configuration dialog does not appear.

Am I missing something that I need to remove to put the port back to the
way it was before (so the config dialog will re-appear)?


do a

  make config

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


Re: Port removal

2007-04-12 Thread Alex Zbyslaw

Steve Bertrand wrote:


Hi all,

On RELENG_6_2, I'm going to be installing chillisoft from ports.

However, when I first ran 'make', there was an initial configuration
window came up before compile. I selected the wrong options (I realized
this after the make was complete). I did not do a 'make install'.

I tried to 'make clean', distclean then I removed the entire port from
the ports system and re 'supped it and still, when I run make again, the
configuration dialog does not appear.
 


make config  (re)does the config

make rmconfig  removes a config so that running make will ask you 
the questions again.


All information courtesy of man ports.

--Alex


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


Cant boot fresh install of freebsd 6.2 or dell poweredge 6650

2007-04-12 Thread Craig Russell
I am a newbie using freebsd and have run into a
problem on a new install on a dell poweredge 6650.  I
am installing to a hardeware raid 1 on an LSI Logic
raid controller.  The installation appears to go well
but after a reboot the freebsd boot manager comes up
with F1 to boot Freebsd (or default) and then it
complains of no boot loader followed by a no
/boot/kernel/kernel error.

The default boot parameter is
0:ad(0,d)/boot/kernel/kernel

I've tried different slices with the same results.  I
have tried using the MBR instead of the freebsd boot
manager.  I have tried different bios settings on the
raid card (LSI logic in the poweredge 6650).  I'm not
really sure what to try next.  I've even tried to
install it on a different machine on a single sata
drive with the same result.  I am obviously doing
something wrong but I can't for the life of me figure
out what it is.

Thank you for any help or direction you can provide.

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


Re: Port removal

2007-04-12 Thread Gerard
On Thursday April 12, 2007 at 10:36:26 (AM) Steve Bertrand wrote:


 
 On RELENG_6_2, I'm going to be installing chillisoft from ports.
 
 However, when I first ran 'make', there was an initial configuration
 window came up before compile. I selected the wrong options (I realized
 this after the make was complete). I did not do a 'make install'.
 
 I tried to 'make clean', distclean then I removed the entire port from
 the ports system and re 'supped it and still, when I run make again, the
 configuration dialog does not appear.
 
 Am I missing something that I need to remove to put the port back to the
 way it was before (so the config dialog will re-appear)?

You should be able to run:

make config

from the port to reconfigure it. Perhaps running:

make rmconfig

first might work better. Be sure to do a 'make clean' before trying to
build the port again.


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


Re: Two firefoxes, 1.5 and 2.0, script keeps running 1.5 instead of 2.0

2007-04-12 Thread Oliver Iberien
On Thursday 12 April 2007 02:48, Gerard wrote:
 On Wednesday April 11, 2007 at 11:54:53 (PM) Oliver Iberien wrote:
  I seem to have messed up with pkgdb -F when firefox 1.5 got deprecated,
  and now have 1.5 installed without any clear way to get rid of it.
 
  bsd# cd /usr/ports/www/firefox15/
  bsd# make deinstall
  ===  Deinstalling for www/firefox15
  ===   firefox not installed, skipping
 
  Deinstalling any other way gets rid of 2.0 instead of
  1.5.  /usr/local/bin/firefox starts up 1.5 instead of 2.0  Does anyone
  know the way out of this?

 Try this:

 pkg_delete -dfv firefox*

 Then run:

 pkgdb -aFfv

 portsclean -CDLPP

 Now update your ports and install the firefox version of your choice.
 Personally, I would use portmanager to install the port; however, the
 choice is yours.

Thanks for this... However, I can't get the first command to work:

bsd# pkg_delete -dfv firefox*
pkg_delete: No match.

Is there some other way to express this, or something to tweak in my shell I 
have not done?

Thanks,

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


Re: Two firefoxes, 1.5 and 2.0, script keeps running 1.5 instead of 2.0

2007-04-12 Thread Dan Nelson
In the last episode (Apr 12), Oliver Iberien said:
 Thanks for this... However, I can't get the first command to work:
 
 bsd# pkg_delete -dfv firefox*
 pkg_delete: No match.
 
 Is there some other way to express this, or something to tweak in my
 shell I have not done?

You need to escape or quote the asterisk so your shell doesn't try and
expand it:  firefox\*  or firefox*

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


correct lib version?

2007-04-12 Thread Robert Huff

What is the correct version of libpthread for -CURRENT?
I ask because:

huff@ find /usr/local/lib -name libpthread.*
/usr/local/lib/compat/libpthread.so.1
/usr/local/lib/pth/libpthread.so
/usr/local/lib/pth/libpthread.so.20
/usr/local/lib/pth/libpthread.a
huff@ find /usr/lib -name libpthread.*
/usr/lib/libpthread.so.1
/usr/lib/libpthread.a
/usr/lib/libpthread.so


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


Re: Port removal

2007-04-12 Thread Tom Judge

[EMAIL PROTECTED] wrote:

Steve,

On 4/12/07, Steve Bertrand [EMAIL PROTECTED] wrote:

Hi all,

On RELENG_6_2, I'm going to be installing chillisoft from ports.

However, when I first ran 'make', there was an initial configuration
window came up before compile. I selected the wrong options (I realized
this after the make was complete). I did not do a 'make install'.

I tried to 'make clean', distclean then I removed the entire port from
the ports system and re 'supped it and still, when I run make again, the
configuration dialog does not appear.

Am I missing something that I need to remove to put the port back to the
way it was before (so the config dialog will re-appear)?


#cd /var/db/ports
#ls
#rm -rf chilliwhatever

or edit options with an editor.



Did you try make config?

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


Re: Boot failure after installation

2007-04-12 Thread Jerry McAllister

 Will someone please explain in detail how to run the FreeBSD fdisk util 
 outside of the freebsd installer? Please provide detailed steps.

You just type   fdisk devname   where devname is the disk device.

There are a number of flags and parameters you may need to use.
Have you read the fdisk man page?Also read the bsdlabel man page.

 What would the experts do next in this situation? I've checked and 
 double-checked BIOS (current version is same as what I have -- 1013, so did 
 not re-flash), SCSI BIOS (reset defaults and low-level formatted da0). I've 
 performed Minimal FreeBSD install per step-by-step directions, and always 
 says it's installed successfully, but can never boot from da0 (since 
 repartitioning using FreeBSD fdisk util). I've verified that I'm creating a 
 single partition (slice) on da0, making it the active partition, then 
 setting it Bootable.

I would first ignore the issue of cylinders as has been mentioned.

 
 I booted the FreeSBIE LiveCD, and tried to mount da0:
 mount /dev/da0 /mnt
 mount: /dev/da0: Operation not permitted

First of all, do you even have a da0 drive?  Maybe it is  ad0

Second, is there a file system build on da0a?I haven't seen anything
that indicates it.   You can only mount a file system.   Fdisk doesn't
have much to do with creating a file system.   That is newfs.


The standard way to build a disk is:
  Use fdisk to create slice[s] (1..4)  -- and possibly write an MBR on the disk.
  Use bsdlabel to divide the slice in to partitions (a..h) and possibly
  write a boot sector on the slice.
  Use newfs to create file systems on each of the partitions except swap  c.

Then you can mount any of those newfs created filesystems.  

You must first read the man pages for those utilities and also study the
relevant handbook sections.   Also, peruse the FreeBSD-questions archives.
I have written on this several time recently.   Find and read those.

Then, if you have further specific questions, come back and ask.  But, you
must do your homework first or our answers will be useless to you and a
waste of our time.

jerry

  
 Jerry McAllister [EMAIL PROTECTED] wrote: On Tue, Apr 10, 2007 at 
 07:48:07PM -0700, L Goodwin wrote:
 
  Is there a way to run the FDISK tool outside of the freebds installer? 
  How do I change the disk configuration without reinstalling freebsd 
  every @[EMAIL PROTECTED] time?
 
 Yes, all sysinstall does is collect the information and run fdisk for you.
 See the man page   (enter  man fdisk )
 
 It can be a little hard to read at first.  The fdisk and bsdlabel don't 
 follow the normal man page form.
 
 One thing you must know;  you cannot run fdisk on a drive that is in
 active use.  If you booted from that drive or if you are CD-ed in to 
 a file system on the drive, the system will not let you write to the
 drive using fdisk.   You can only use fdisk to read the slice table
 and run prototype setups that do not actually write out to the disk.
 
 Trying to write to a drive that is active is a very popular mistake
 when attempting to use fdisk.
 
 So, read the fdisk man page and then come back with some more specific
 questions if you need.
 
  I really want to set up a FreeBSD server and appreciate the learning 
  experience, but it's way past the point where I should have switched to an 
  OS that will actually run on my client's server. If I don't get it going 
  tonight, I'm going to install the first Linux distribution that says Hey, 
  Sailor...  =8-0
 
 Guess you will need to follow the installation instructions in the FreeBSD
 handbook more carefully.
 
  BTW, I burned a freeSBIE 2.0.1 Live CD, but have no idea what to do with 
  it. Yes, I am pathetically clueless. Thanks for your patience!
 
 Just boot it up and run it.It will give you a very basic working
 environment.Then do something like you might in a UNIX system, 
 like ls or cd or df or whatever.
 
  
  Derek Ragona  wrote:   One other thing that 
  might be happening is if the geometry of the drive isn't allowing an 
  extended translation because of the age of your hardware, you may need to 
  keep the boot partition, that is the entire boot partition (not talking 
  slices here) within the first 1024 cylinders.  In the partition tool in 
  sysinstall you can change the display to show different units, and one of 
  those will be cylinders.  The 1024 cylinder limit is from older BIOS 
  translations and if the boot partition extended beyond 1024 the system 
  will give that same error you are getting.
 
 If the machine is built any less than about 11 years ago, this doesn't apply.
 
   With older hardware you may need to use multiple partitions instead of 
  slices.  You can have 4 partitons on a drive (4 is hardcoded in the 
  partition table size and a location) so you can add additional partitions 
  for swap and /usr if you want.  Any partitions you use for filesystems 
  like /usr the boot manager will see and offer to boot them.  

Re: Installing the CVS

2007-04-12 Thread sac

Maybe you can avoid posting these questions to freebsd-bugs.
Just mail to freebsd-questions.

Regards,
sac.

On 4/11/07, Dhananjaya hiremath [EMAIL PROTECTED] wrote:


Hello sir,

   Please specifies how to get the CVS to FreeBSD.And some packages are
not
  installing lile( samba,python etc) It is giving the error so how we can
install this one.



Thank U
Dhananjaya Hiremath


-
Looking for earth-friendly autos?
Browse Top Cars by Green Rating at Yahoo! Autos' Green Center.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]





--

Regards,
Sachidananda.
Informedia Technologies (Mysore) Pvt. Ltd.
Mysore.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Two firefoxes, 1.5 and 2.0, script keeps running 1.5 instead of 2.0

2007-04-12 Thread Robert Huff
Oliver Iberien writes:

  Thanks for this... However, I can't get the first command to work:
  
  bsd# pkg_delete -dfv firefox*
  pkg_delete: No match.

This sounds like the files are present, but the port is not
registered in /var/db/pkg/pkgdb.db.
If this is the case, to get everything pristine you'll need to:

a) install firefox-1.5, i.e.:
cd /usr/ports/firefox15  make install 
b) remove firefox-1.5:
make deinstall
c) remove firefox-2.0:
cd /usr/ports/firefox15  make deinstall 
d) install firefox-2.0:
make install

Afterwards I'd also do pkgdb -F just to make sure all the
dependencies are hooked up.


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


Re: correct lib version?

2007-04-12 Thread Dan Nelson
In the last episode (Apr 12), Robert Huff said:
 
   What is the correct version of libpthread for -CURRENT?
   I ask because:
 
 huff@ find /usr/local/lib -name libpthread.*
 /usr/local/lib/compat/libpthread.so.1

That's from the compat5x port/package.  You can use the pkg_which
command to determine which ports files in /usr/local/* came from.

 /usr/local/lib/pth/libpthread.so
 /usr/local/lib/pth/libpthread.so.20
 /usr/local/lib/pth/libpthread.a

That's from the GNU pth port, which is a userland thread library
similar to libc_r.  It's tucked away in its own subdirectory so only
ports that explicitly look for it will use it.

 huff@ find /usr/lib -name libpthread.*
 /usr/lib/libpthread.so.1
 /usr/lib/libpthread.a
 /usr/lib/libpthread.so

That's a libpthread.so.1 from when your system was running 5.*.  6.*
and later put critical shared libs in /lib, so you should see a
/lib/libpthread.so.2 file there.

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


Re: looking for something like an embedded ftp server

2007-04-12 Thread Derrill Guilbert

On 4/11/07, Pieter de Goeje [EMAIL PROTECTED] wrote:


On Wednesday 11 April 2007, David J Brooks wrote:
 On Wednesday 11 April 2007 12:26:42 pm Derrill Guilbert wrote:
  I've been given an old machine, and asked to turn it into an ftp
server.
  It will got on its own IP, separate from the one our LAN uses. It will
  have three read-only users and maybe five read/write users. It will
  contain design data that we're transferring to the offices in China.
That
  is, we will upload it from here in at the main office, and the China
  staff will download it to implement the little containers we're
building.
 
  This does not need to be secure beyond password protection
necessarily,
  though some sort of secure FTP would be fine.
 
  What I would really prefer is some sort of BSD based simple FTP server
  setup. I've found several BSD based router/firewall/whatever servers
out
  there, such as m0n0wall and pfsense, among others, and I would like
  something that simple for an FTP server. That is, I want to be able to
  install the server and then only have to configure users, no mess with
  hardening things and setting up pf or so ...
 
  Does such a thing exist? Am I needlessly complicating things for
myself
  in another way (often the case, I'm little more than a user when it
comes
  to FreeBSD)?
 
  Any kind of guidance on this topic would be appreciated --- if what I
  want to do can be done with a custom install of FreeBSD, that'd be
  wonderful also.
 
  Thank you in advance for any guidance.


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ftp.html
You can also run ftpd without inetd: adding ftpd_enable=YES to
/etc/rc.conf
should do the trick.



I actually know how to set up a FreeBSD machine with FTP server, but was
hoping there was something simpler - and therefore quicker, and
theoretically more secure out of the box, with essentially nothing else
running? I suppose this may be a silly request. :)

Regardless, thank you for the link and the rc.conf suggestion.

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


Re: correct lib version?

2007-04-12 Thread Robert Huff
Dan Nelson writes:

  In the last episode (Apr 12), Robert Huff said:
   
  What is the correct version of libpthread for -CURRENT?

  That's from the compat5x port/package.
  That's from the GNU pth port,
  That's a libpthread.so.1 from when your system was running 5.*.  6.*
  and later put critical shared libs in /lib, so you should see a
  /lib/libpthread.so.2 file there.

Question answered.
Thank you.


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


Re: looking for something like an embedded ftp server

2007-04-12 Thread Peter A. Giessel
On 2007/04/12 7:57, Derrill Guilbert seems to have typed:
 I actually know how to set up a FreeBSD machine with FTP server, but was
 hoping there was something simpler - and therefore quicker, and
 theoretically more secure out of the box, with essentially nothing else
 running? I suppose this may be a silly request. :)
 
 Regardless, thank you for the link and the rc.conf suggestion.

Simpler?  No.
More Secure? Yes.

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


Re: Cant boot fresh install of freebsd 6.2 or dell poweredge 6650

2007-04-12 Thread Derek Ragona

At 09:21 AM 4/12/2007, Craig Russell wrote:

I am a newbie using freebsd and have run into a
problem on a new install on a dell poweredge 6650.  I
am installing to a hardeware raid 1 on an LSI Logic
raid controller.  The installation appears to go well
but after a reboot the freebsd boot manager comes up
with F1 to boot Freebsd (or default) and then it
complains of no boot loader followed by a no
/boot/kernel/kernel error.

The default boot parameter is
0:ad(0,d)/boot/kernel/kernel

I've tried different slices with the same results.  I
have tried using the MBR instead of the freebsd boot
manager.  I have tried different bios settings on the
raid card (LSI logic in the poweredge 6650).  I'm not
really sure what to try next.  I've even tried to
install it on a different machine on a single sata
drive with the same result.  I am obviously doing
something wrong but I can't for the life of me figure
out what it is.

Thank you for any help or direction you can provide.


If you have tried on two systems, one with a standard IDE/SATA drive and 
that failed to boot as well, I would suspect the install media is bad.  I 
would download a new ISO and burn a new cd.  You might try an ISO from a 
different mirror.  It is possible your CD is foobar.  Be sure you get the 
correct disk 1 ISO from whatever mirror you use.


-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: Cant boot fresh install of freebsd 6.2 or dell poweredge 6650

2007-04-12 Thread Craig Russell
Very newbie mistake, which I finally figured out. 
That will teach me to read the vendors instructions
more carefully than the OS documentation.  Basically
the problem was that I followed the instructions of
the software that I will be installing on this server
for the partitioning scheme.  They recommended a
seperate partition for boot and this evidently does
not work for freebsd, which makes sense since it
probably isn't mounted at boot time.  As I was looking
through the bsd install guides, I noticed this was
never done so I gave that a try and voila!, everything
works as expected.

Thanks

Craig Russell

--- Derek Ragona [EMAIL PROTECTED]
wrote:

 At 09:21 AM 4/12/2007, Craig Russell wrote:
 I am a newbie using freebsd and have run into a
 problem on a new install on a dell poweredge 6650. 
 I
 am installing to a hardeware raid 1 on an LSI Logic
 raid controller.  The installation appears to go
 well
 but after a reboot the freebsd boot manager comes
 up
 with F1 to boot Freebsd (or default) and then it
 complains of no boot loader followed by a no
 /boot/kernel/kernel error.
 
 The default boot parameter is
 0:ad(0,d)/boot/kernel/kernel
 
 I've tried different slices with the same results. 
 I
 have tried using the MBR instead of the freebsd
 boot
 manager.  I have tried different bios settings on
 the
 raid card (LSI logic in the poweredge 6650).  I'm
 not
 really sure what to try next.  I've even tried to
 install it on a different machine on a single sata
 drive with the same result.  I am obviously doing
 something wrong but I can't for the life of me
 figure
 out what it is.
 
 Thank you for any help or direction you can
 provide.
 
 If you have tried on two systems, one with a
 standard IDE/SATA drive and 
 that failed to boot as well, I would suspect the
 install media is bad.  I 
 would download a new ISO and burn a new cd.  You
 might try an ISO from a 
 different mirror.  It is possible your CD is foobar.
  Be sure you get the 
 correct disk 1 ISO from whatever mirror you use.
 
  -Derek
 
 -- 
 This message has been scanned for viruses and
 dangerous content by MailScanner, and is
 believed to be clean.
 MailScanner thanks transtec Computers for their
 support.
 
 

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


Re: looking for something like an embedded ftp server

2007-04-12 Thread Tom Ierna


On Apr 11, 2007, at 1:26 PM, Derrill Guilbert wrote:

What I would really prefer is some sort of BSD based simple FTP server
setup. I've found several BSD based router/firewall/whatever  
servers out

there, such as m0n0wall and pfsense, among others, and I would like
something that simple for an FTP server. That is, I want to be able to
install the server and then only have to configure users, no mess with
hardening things and setting up pf or so ...


What about FreeNAS(1): http://www.freenas.org/

1) I've never tried this myself, so I don't know how easy just the  
FTP portion is...


Regards,
-Tom

--
Tom Ierna
President
Shockergroup, Inc.

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


Re: adding keyboard after reboot with no keyboard ...

2007-04-12 Thread MikeM
On 4/10/2007 at 11:55 AM Marc G. Fournier wrote:

|-BEGIN PGP SIGNED MESSAGE-
|Hash: SHA1
|
|
|I hate it when a subject doesn't easily present itself ... but ...
|
|Is there something that I'm missing, such that if I add a keyboard to
a
|server 
|*after* rebooting it with no keyboard, that will have that keyboard
|recognized?
|
|Basically, I have several remote servers, with no keyboards, but if I
need
|a 
|tech to check something on the console (ie. the ethernet went down for
|some 
|reason), when they plug a keyboard back in again, there is no signal
until
|they 
|actually power cycle the machine ... which of course, is too late to
do
|any 
|diagnosis :(
 =


Configure a serial console?

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




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


Re: Shell scripting: Absolute path name of a file given as parameter

2007-04-12 Thread Pete Slagle
Aitor San Juan wrote:

 I have developed a shell script that, among other things, shows the filename
 that was specified as a parameter.
 
 However, when I invoke the script and the file is located in the current 
 working
 directory, it just shows: ./my_input_filename
 
 I'd like the script to show the full path name of the input file. I wonder
 whether there is or not an equivalent to %~f1 (Windows Batch file 
 programming).
 This parameter extension expands parameter %1 ($1 in shell scripting jargon) 
 to a
 Fully qualified path name.

man (1) realpath

For example:

 #!/bin/sh
 echo The full path of the file name is $(realpath $1)


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


Shell PATH not being reread

2007-04-12 Thread Sean Murphy

I have just installed FreeBSD 6.2 Release.  I su to root and run

pkg_add -r cvsup-without-gui

It installed fine

I edited the ports-supfile
cd /usr/share/examples/cvsup
vi ports-supfile

but when I go to run

cvsup -g -L 2 ports-supfile

It tells me it cannot find the command

I logout completely then login again and su and I can now run the same 
command from the /usr/share/examples/cvsup directory.


It seems the path is not being rebuilt or reread when I added that 
package but when I logout and login it works.  I know I can type in the 
the full path and command but was wondering if there was a solution to 
reload/rebuild/reread the path so I don't have to login/logout/login


env for myself is
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/smurphy/bin
SHELL=/bin/sh

env for root is
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin
SHELL=/bin/csh


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


Re: Shell PATH not being reread

2007-04-12 Thread Kevin Kinsey

Sean Murphy wrote:

I have just installed FreeBSD 6.2 Release.  I su to root and run

pkg_add -r cvsup-without-gui

It installed fine

I edited the ports-supfile
cd /usr/share/examples/cvsup
vi ports-supfile

but when I go to run

cvsup -g -L 2 ports-supfile

It tells me it cannot find the command


FAQ, I think.  For csh/tcsh, issue rehash:

# portinstall myfooport
# myfooport
myfooport:  Command not found
# rehash
# myfooport  --version
Welcome to myfooport v0.0.0!

If you are indeed having this problem with /bin/sh,
I'm not at all sure why, as I think it rereads the
executables in $PATH fairly continuously (but then,
I hardly use it for interactive use).  A brief test
here didn't show evidence that this would be a problem
for sh, though.

HTH,

Kevin Kinsey
--
Nobody wants constructive criticism.
It's all we can do to put up with constructive praise.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Shell PATH not being reread

2007-04-12 Thread sac

As Kevin Kinsey pointed out, if your shell is csh, ksh, zsh or tcsh, all you
have to do is run
$ hash -r
or
$ rehash


On 4/12/07, Sean Murphy [EMAIL PROTECTED] wrote:


I have just installed FreeBSD 6.2 Release.  I su to root and run

pkg_add -r cvsup-without-gui

It installed fine

I edited the ports-supfile
cd /usr/share/examples/cvsup
vi ports-supfile

but when I go to run

cvsup -g -L 2 ports-supfile

It tells me it cannot find the command

I logout completely then login again and su and I can now run the same
command from the /usr/share/examples/cvsup directory.

It seems the path is not being rebuilt or reread when I added that
package but when I logout and login it works.  I know I can type in the
the full path and command but was wondering if there was a solution to
reload/rebuild/reread the path so I don't have to login/logout/login

env for myself is

PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/smurphy/bin
SHELL=/bin/sh

env for root is

PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin
SHELL=/bin/csh


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





--

Regards,
Sachidananda.
Informedia Technologies (Mysore) Pvt. Ltd.
Mysore.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Shell PATH not being reread

2007-04-12 Thread Sean Murphy

sac wrote:
As Kevin Kinsey pointed out, if your shell is csh, ksh, zsh or tcsh, 
all you

have to do is run
$ hash -r
or
$ rehash


On 4/12/07, Sean Murphy [EMAIL PROTECTED] wrote:


I have just installed FreeBSD 6.2 Release.  I su to root and run

pkg_add -r cvsup-without-gui

It installed fine

I edited the ports-supfile
cd /usr/share/examples/cvsup
vi ports-supfile

but when I go to run

cvsup -g -L 2 ports-supfile

It tells me it cannot find the command

I logout completely then login again and su and I can now run the same
command from the /usr/share/examples/cvsup directory.

It seems the path is not being rebuilt or reread when I added that
package but when I logout and login it works.  I know I can type in the
the full path and command but was wondering if there was a solution to
reload/rebuild/reread the path so I don't have to login/logout/login

env for myself is

PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/smurphy/bin 


SHELL=/bin/sh

env for root is

PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin 


SHELL=/bin/csh


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







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


send error with perl and unix domain sockets

2007-04-12 Thread Andy Greenwood

I'm working on getting a script to work (see below). It is a perl
daemon associated with a bittorent client that I am helping develop.
The daemon uses unix domain sockets to commincate with the php pages.
However, anytime a message is sent via php, the script dies with

send: Cannot determine peer address at
/usr/local/www/root/tf-b4rt/trunk/html/bin/fluxd/fluxd.pl line 1256

I did some reasearch and found a similar problem with OpenBSD's perl
http://www.nntp.perl.org/group/perl.perl5.porters/2007/02/msg121151.html

and tried to apply that fix to my own Socket.pm's. I modified these files
[EMAIL PROTECTED] p5-IO]$ locate Socket.pm
/usr/home/andy/.cpan/build/IO-1.2301/IO/Socket.pm
/usr/home/andy/.cpan/build/IO-1.2301/blib/lib/IO/Socket.pm
/usr/local/lib/perl5/5.8.8/mach/IO/Socket.pm
/usr/local/lib/perl5/5.8.8/mach/Socket.pm

and re-started my process, but no effect. the bug report above
suggests that this was a problem for OpenBSD due to differences in
struct sockaddr_un. Could that be a problem here as well?

the php code which communicates with the socket is below

-begin php--
   /**
* send command
*
* @param $command
* @param $read does this command return something ?
* @return string with retval or null if error
*/
   function instance_sendCommand($command, $read = 0) {
   if ($this-state == FLUXD_STATE_RUNNING) {
   // create socket
   $socket = -1;
   $socket = @socket_create(AF_UNIX, SOCK_STREAM, 0);
   if ($socket  0) {
   array_push($this-messages , socket_create() failed:
reason: [EMAIL PROTECTED]($socket));
   $this-state = FLUXD_STATE_ERROR;
   return null;
   }
   //timeout after n seconds
   @socket_set_option($socket, SOL_SOCKET, SO_RCVTIMEO,
array('sec' = $this-_socketTimeout, 'usec' = 0));
   // connect
   $result = -1;
   $result = @socket_connect($socket, $this-_pathSocket);
   if ($result  0) {
   array_push($this-messages , socket_connect() failed:
reason: [EMAIL PROTECTED]($result));
   $this-state = FLUXD_STATE_ERROR;
   return null;
   }
   // write command
   @socket_write($socket, $command.\n);
   // read retval
   $return = ;
   if ($read != 0) {
   do {
   // read data
   $data = @socket_read($socket,
4096, PHP_BINARY_READ);
   $return .= $data;
   } while (isset($data)  ($data != ));
   }
   // close socket
   @socket_close($socket);
   // return
   return $return;
   } else { // fluxd not running
   return null;
   }
   }
-end php---

and the perl daemon's socket code is below

--begin perl--
sub checkConnections {
   # Get the readable handles. timeout is 0, only process stuff that can be
   # read NOW.
   my $return = ;
   my @ready = $select-can_read(0);
   foreach my $socket (@ready) {
   if ($socket == $server) {
   my $new = $socket-accept();
   $select-add($new);
   } else {
   my $buf = ;
   my $char = getc($socket);
   while ((defined($char))  ($char ne \n)) {
   $buf .= $char;
   $char = getc($socket);
   }
   $return = processRequest($buf);
   $socket-send($return);
   $select-remove($socket);
   close($socket);
   }
   }
}
-end perl--

I can provide the full text of the appropriate files on request or you
can view them at
http://svn.berlios.de/wsvn/tf-b4rt/trunk/?rev=0sc=0

perl-5.8.8
apache-2.2.4_2
php5-5.2.1_3
php5-gd-5.2.1_3
php5-pcre-5.2.1_5
php5-pgsql-5.2.1_3
php5-posix-5.2.1_3
php5-session-5.2.1_3
php5-simplexml-5.2.1_3
php5-sockets-5.2.1_3
php5-spl-5.2.1_3
php5-sqlite-5.2.1_3

FreeBSD zeus.agreenftp.no-ip.com 6.2-STABLE FreeBSD 6.2-STABLE #0: Sat
Mar 31 23:12:40 EDT 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/ZEUS  i386

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


Working xorg.conf for Dell Latitude D820 laptop (NVidia Quadro NVS 120M GeForce Go 7400 512MB)?

2007-04-12 Thread Matt Kosht

Does anyone have a working xorg.conf for this combo working with FreeBSD 6.2?

Specifically I would like the onboard LCD on the laptop to display at
1920x1200 and an attached external LCD at 1280x1024 both at 32 bit
color at the same time. I think this may be called twinview (?). This
configuration works fine in Windows XP so I know the hardware is
capable of it.

I have searched for this quite a bit, but haven't found one that does
the 1920x1200 and the external display.  Many advanced thanks and free
virtual beers.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Boot failure after installation

2007-04-12 Thread L Goodwin
I have BOTH ad0 (IDE HDD) AND da0 (SCSI device #0). I posted detailed BIOS 
settings and install steps in previous emails. I've attached the BIOS and SCSI 
BIOS settings (with footnotes).

I have installed FreeBSD on da0 multiple times, each time creating a single 
slice/partition on da0, and setting da0 as bootable, and installing the FreeBSD 
boot manager on da0. OK?

I also found an IDE HDD yesterday, and installed Linux on ad0 (the IDE HDD), 
but am getting the exact same boot failure. 

I tried setting my bios to try booting from IDE drives first (before SCSI), and 
vice-versa (SCSI first, which is what it was set to), with no change.

I also tried removing the IDE HDD and booting, but boot from CD-ROM drive 
hangs, and boot from C fails.
I did not change BIOS settings re the (removed) IDE HDD. I've never worked on a 
machine that has both SCSI and IDE controller/drive configuration, and am not 
sure how to disentangle the IDE hard drive from the system without causing new 
problems. Ended up reinstalling the IDE HDD for now, but would like to remove 
it for use elsewhere (this machine has 5 SCSI drives, so don't need it).

Jerry McAllister [EMAIL PROTECTED] wrote: 
 Will someone please explain in detail how to run the FreeBSD fdisk util 
 outside of the freebsd installer? Please provide detailed steps.

You just type   fdisk devname   where devname is the disk device.

There are a number of flags and parameters you may need to use.
Have you read the fdisk man page?Also read the bsdlabel man page.

 What would the experts do next in this situation? I've checked and 
 double-checked BIOS (current version is same as what I have -- 1013, so did 
 not re-flash), SCSI BIOS (reset defaults and low-level formatted da0). I've 
 performed Minimal FreeBSD install per step-by-step directions, and always 
 says it's installed successfully, but can never boot from da0 (since 
 repartitioning using FreeBSD fdisk util). I've verified that I'm creating a 
 single partition (slice) on da0, making it the active partition, then 
 setting it Bootable.

I would first ignore the issue of cylinders as has been mentioned.

 
 I booted the FreeSBIE LiveCD, and tried to mount da0:
 mount /dev/da0 /mnt
 mount: /dev/da0: Operation not permitted

First of all, do you even have a da0 drive?  Maybe it is  ad0

Second, is there a file system build on da0a?I haven't seen anything
that indicates it.   You can only mount a file system.   Fdisk doesn't
have much to do with creating a file system.   That is newfs.


The standard way to build a disk is:
  Use fdisk to create slice[s] (1..4)  -- and possibly write an MBR on the disk.
  Use bsdlabel to divide the slice in to partitions (a..h) and possibly
  write a boot sector on the slice.
  Use newfs to create file systems on each of the partitions except swap  c.

Then you can mount any of those newfs created filesystems.  

You must first read the man pages for those utilities and also study the
relevant handbook sections.   Also, peruse the FreeBSD-questions archives.
I have written on this several time recently.   Find and read those.

Then, if you have further specific questions, come back and ask.  But, you
must do your homework first or our answers will be useless to you and a
waste of our time.

jerry

  
 Jerry McAllister  wrote: On Tue, Apr 10, 2007 at 07:48:07PM -0700, L Goodwin 
 wrote:
 
  Is there a way to run the FDISK tool outside of the freebds installer? 
  How do I change the disk configuration without reinstalling freebsd 
  every @[EMAIL PROTECTED] time?
 
 Yes, all sysinstall does is collect the information and run fdisk for you.
 See the man page   (enter  man fdisk )
 
 It can be a little hard to read at first.  The fdisk and bsdlabel don't 
 follow the normal man page form.
 
 One thing you must know;  you cannot run fdisk on a drive that is in
 active use.  If you booted from that drive or if you are CD-ed in to 
 a file system on the drive, the system will not let you write to the
 drive using fdisk.   You can only use fdisk to read the slice table
 and run prototype setups that do not actually write out to the disk.
 
 Trying to write to a drive that is active is a very popular mistake
 when attempting to use fdisk.
 
 So, read the fdisk man page and then come back with some more specific
 questions if you need.
 
  I really want to set up a FreeBSD server and appreciate the learning 
  experience, but it's way past the point where I should have switched to an 
  OS that will actually run on my client's server. If I don't get it going 
  tonight, I'm going to install the first Linux distribution that says Hey, 
  Sailor...  =8-0
 
 Guess you will need to follow the installation instructions in the FreeBSD
 handbook more carefully.
 
  BTW, I burned a freeSBIE 2.0.1 Live CD, but have no idea what to do with 
  it. Yes, I am pathetically clueless. Thanks for your patience!
 
 Just boot it up and run it.It will give you a very basic 

Error with PAM-Authentification/X-Terminal

2007-04-12 Thread Stevan Tiefert

Hello list!

I have two Hosts. Host notebook and host aixa. aixa is running FreeBSD 
6.2 and XDM. notebook is running Cygwin/X (Windows XP). notebook is 
acting as a X-Terminal and he is displaying the login-screen of aixa.


When I try to login on aixa via XDMP-Protocol I can read on aixa (XDM) 
in a xconsole following:


Apr 12 21:45:05 aixa xdm: pam_sm_close_session(): no utmp record for 
notebook:0


On notebook I see the login-screen, I type my login and password, the 
login-screen disappears and appears again. It seems that the login failed!


It seems for me a problem with the pam-module but I have no idea... 
Maybe somebody out there?


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


Mysql Hogging all system resources

2007-04-12 Thread Don O'Neil
I have a customer that loaded up a HUGE table and was doing all sorts of
fancy stuff in it, and not waiting for the process to finish before sending
the same query, and eventually loading up the server to the point where the
only thing I could do was unplug it.

Is there a way to prioritize or set the amount of resources that MySQL is
allowed to have? Do I need to set it up as a jailed process maybe? I've
never done that before, so I'm not sure if it's the right approach or not.

I'm running FreeBSD 6.1.

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


Re: Two firefoxes, 1.5 and 2.0, script keeps running 1.5 instead of 2.0

2007-04-12 Thread Chuck Swiger

On Apr 11, 2007, at 8:54 PM, Oliver Iberien wrote:

bsd# cd /usr/ports/www/firefox15/
bsd# make deinstall
===  Deinstalling for www/firefox15
===   firefox not installed, skipping

Deinstalling any other way gets rid of 2.0 instead of
1.5.  /usr/local/bin/firefox starts up 1.5 instead of 2.0  Does  
anyone know

the way out of this?


Try:

  cd /usr/ports/www/firefox15
  make reinstall
  make deinstall

--
-Chuck

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


MailScanner broken

2007-04-12 Thread Tom Munro Glass
Yesterday I updated with portmaster and now MailScanner is broken. When I try 
to start it I get the following messages:

Starting mailscanner.
IO::Compress::Base::Common version 2.004 required--this is only version 2.003 
at /usr/local/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm line 11.
BEGIN failed--compilation aborted 
at /usr/local/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm line 11.
Compilation failed in require 
at /usr/local/lib/perl5/site_perl/5.8.8/Archive/Zip.pm line 24.
BEGIN failed--compilation aborted 
at /usr/local/lib/perl5/site_perl/5.8.8/Archive/Zip.pm line 24.
Compilation failed in require 
at /usr/local/lib/MailScanner/MailScanner/Message.pm line 48.
BEGIN failed--compilation aborted 
at /usr/local/lib/MailScanner/MailScanner/Message.pm line 48.
Compilation failed in require at /usr/local/sbin/mailscanner line 79.
BEGIN failed--compilation aborted at /usr/local/sbin/mailscanner line 79.


I have rebuilt MailScanner plus all perl libraries but still get the same 
message.

Any ideas please?

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


Re: Mysql Hogging all system resources

2007-04-12 Thread Bill Moran
In response to Don O'Neil [EMAIL PROTECTED]:

 I have a customer that loaded up a HUGE table and was doing all sorts of
 fancy stuff in it, and not waiting for the process to finish before sending
 the same query, and eventually loading up the server to the point where the
 only thing I could do was unplug it.
 
 Is there a way to prioritize or set the amount of resources that MySQL is
 allowed to have? Do I need to set it up as a jailed process maybe? I've
 never done that before, so I'm not sure if it's the right approach or not.

man login.conf should tell you all you need to know.

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


Re: MailScanner broken

2007-04-12 Thread Gerard
On Thursday April 12, 2007 at 04:17:25 (PM) Tom Munro Glass wrote:


 Yesterday I updated with portmaster and now MailScanner is broken. When I try 
 to start it I get the following messages:
 
 Starting mailscanner.
 IO::Compress::Base::Common version 2.004 required--this is only version 2.003 
 at /usr/local/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm line 11.
 BEGIN failed--compilation aborted 
 at /usr/local/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm line 11.
 Compilation failed in require 
 at /usr/local/lib/perl5/site_perl/5.8.8/Archive/Zip.pm line 24.
 BEGIN failed--compilation aborted 
 at /usr/local/lib/perl5/site_perl/5.8.8/Archive/Zip.pm line 24.
 Compilation failed in require 
 at /usr/local/lib/MailScanner/MailScanner/Message.pm line 48.
 BEGIN failed--compilation aborted 
 at /usr/local/lib/MailScanner/MailScanner/Message.pm line 48.
 Compilation failed in require at /usr/local/sbin/mailscanner line 79.
 BEGIN failed--compilation aborted at /usr/local/sbin/mailscanner line 79.
 
 
 I have rebuilt MailScanner plus all perl libraries but still get the same 
 message.
 
 Any ideas please?

That port:   p5-IO-Compress-Base-2.004 is available in the ports system.
When was the last time you updated your ports tree?

I would recommend you update your ports tree and try again. I don't have
much experience with portmaster. You could use portmanager instead.
Using it with the '-p' flag would insure that all dependencies were up
to date also.

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


Re: Shell PATH not being reread

2007-04-12 Thread RW
On Thu, 12 Apr 2007 10:29:29 -0700
Sean Murphy [EMAIL PROTECTED] wrote:

 I have just installed FreeBSD 6.2 Release.  I su to root and run
 
 pkg_add -r cvsup-without-gui
 
 It installed fine

Just in case you are not aware, the base-system now comes with csup,
which is a rewrite of cvsup-without-gui in C. CVSup is written in
Modulo-2, and its dependencies kept it out of the base-system.









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


Re: MailScanner broken

2007-04-12 Thread Tom Munro Glass
On Fri, 13 Apr 2007, Gerard wrote:
 On Thursday April 12, 2007 at 04:17:25 (PM) Tom Munro Glass wrote:
  Yesterday I updated with portmaster and now MailScanner is broken. When I
  try to start it I get the following messages:
 
  Starting mailscanner.
  IO::Compress::Base::Common version 2.004 required--this is only version
  2.003 at /usr/local/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm line 11.
  BEGIN failed--compilation aborted
  at /usr/local/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm line 11.
  Compilation failed in require
  at /usr/local/lib/perl5/site_perl/5.8.8/Archive/Zip.pm line 24.
  BEGIN failed--compilation aborted
  at /usr/local/lib/perl5/site_perl/5.8.8/Archive/Zip.pm line 24.
  Compilation failed in require
  at /usr/local/lib/MailScanner/MailScanner/Message.pm line 48.
  BEGIN failed--compilation aborted
  at /usr/local/lib/MailScanner/MailScanner/Message.pm line 48.
  Compilation failed in require at /usr/local/sbin/mailscanner line 79.
  BEGIN failed--compilation aborted at /usr/local/sbin/mailscanner line 79.
 
 
  I have rebuilt MailScanner plus all perl libraries but still get the same
  message.
 
  Any ideas please?

 That port:   p5-IO-Compress-Base-2.004 is available in the ports system.
 When was the last time you updated your ports tree?

 I would recommend you update your ports tree and try again. I don't have
 much experience with portmaster. You could use portmanager instead.
 Using it with the '-p' flag would insure that all dependencies were up
 to date also.

Thanks for this - looks like the Australian ports mirror is either broken or 
out of date. I'm updating the ports from the primary site.

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


Re: Qemu audio with win2k3 guest.

2007-04-12 Thread Jan Henrik Sylvester

Hello!

I run XP on QEMU 0.9.0 with sound (FreeBSD 6.2, KQEMU 1.3.0.p11).

As it is mentioned in the QEMU FAQ, the driver for es1370 is 
automatically installed by Windows. Probably this applies to 2003, too.


qemu -hda winxp.img -m 256 -soundhw es1370 -localtime -net nic -net user 
-cdrom /dev/acd0


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


route

2007-04-12 Thread Miguel Alcántara

hello all the people, i want to configure a freebsd 6.2 as a router, in
rc.conf added this line

router_enable=YES

it's ip is 192.168.1.33

then i have two PCs, one with freebsd(10.0.0.15) and another with debian(
192.168.1.34), but i can't realize if I must configure something in the
others two  machines
the pourpose of this is to get communicated the freebsd(10.0.0.15) with
debian(192.168.1.34).

thanks in advance for your help.


--
$ miguel_alcántara $

… empiezo acá con la idea de ir allá en un experimento para aumentar, por
ejemplo, la velocidad del cable interoceánico del Atlántico; pero cuando he
llegado en parte a la meta, me encuentro con un fenómeno que me empuja en
otra dirección [...] hacia algo completamente inesperado.

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

RE: Mysql Hogging all system resources

2007-04-12 Thread Don O'Neil
This isn't exactly what I want to do. According to the FreeBSD Handbook, by
defining a CPU limit it will just kill any process that uses more than the
limit. What I want to do is effectively throttle the process so it doesn't
use up more than a certain % CPU, but still lives, esentially taking longer
to process than if it had unlimited resources. That way the process still
runs and the system isn't taken to it's knees.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bill Moran
Sent: Thursday, April 12, 2007 1:32 PM
To: Don O'Neil
Cc: [EMAIL PROTECTED]
Subject: Re: Mysql Hogging all system resources

In response to Don O'Neil [EMAIL PROTECTED]:

 I have a customer that loaded up a HUGE table and was doing all sorts 
 of fancy stuff in it, and not waiting for the process to finish before 
 sending the same query, and eventually loading up the server to the 
 point where the only thing I could do was unplug it.
 
 Is there a way to prioritize or set the amount of resources that MySQL 
 is allowed to have? Do I need to set it up as a jailed process maybe? 
 I've never done that before, so I'm not sure if it's the right approach or
not.

man login.conf should tell you all you need to know.

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

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


Re: Mysql Hogging all system resources

2007-04-12 Thread Chuck Swiger

On Apr 12, 2007, at 4:18 PM, Don O'Neil wrote:
This isn't exactly what I want to do. According to the FreeBSD  
Handbook, by
defining a CPU limit it will just kill any process that uses more  
than the
limit. What I want to do is effectively throttle the process so it  
doesn't
use up more than a certain % CPU, but still lives, esentially  
taking longer
to process than if it had unlimited resources. That way the process  
still

runs and the system isn't taken to it's knees.


Use the nice or renice commands to lower the priority of the MySQL  
server so that it will not preempt other processes which want to run  
at normal priority?


--
-Chuck

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


Re[2]: looking for something like an embedded ftp server

2007-04-12 Thread Ghirai
Hello David,

Wednesday, April 11, 2007, 9:12:17 PM, you wrote:

 On Wednesday 11 April 2007 12:26:42 pm Derrill Guilbert wrote:
 I've been given an old machine, and asked to turn it into an ftp server. It
 will got on its own IP, separate from the one our LAN uses. It will have
 three read-only users and maybe five read/write users. It will contain
 design data that we're transferring to the offices in China. That is, we
 will upload it from here in at the main office, and the China staff will
 download it to implement the little containers we're building.

 This does not need to be secure beyond password protection necessarily,
 though some sort of secure FTP would be fine.

 What I would really prefer is some sort of BSD based simple FTP server
 setup. I've found several BSD based router/firewall/whatever servers out
 there, such as m0n0wall and pfsense, among others, and I would like
 something that simple for an FTP server. That is, I want to be able to
 install the server and then only have to configure users, no mess with
 hardening things and setting up pf or so ...

 Does such a thing exist? Am I needlessly complicating things for myself in
 another way (often the case, I'm little more than a user when it comes to
 FreeBSD)?

 Any kind of guidance on this topic would be appreciated --- if what I want
 to do can be done with a custom install of FreeBSD, that'd be wonderful
 also.

 Thank you in advance for any guidance.

Try pure-ftpd in the ports collection.

It's nice that it supports virtual users (so you don't need to have
system users for each user who uses the ftp), bandw. throttling,
and lots of other nice things.
It's also reasonably small.

Apart from that, you only need ssh access to the box to configure
things when needed, and you're ready to go.

-- 
Best regards,
Ghirai.

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


RE: route

2007-04-12 Thread Wood, Russell


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-freebsd-
 [EMAIL PROTECTED] On Behalf Of Miguel Alcántara
 Sent: Friday, 13 April 2007 5:55 AM
 To: faqfreebsd
 Subject: route
 
 hello all the people, i want to configure a freebsd 6.2 as a router, in
 rc.conf added this line
 
 router_enable=YES
 
 it's ip is 192.168.1.33
 
 then i have two PCs, one with freebsd(10.0.0.15) and another with debian(
 192.168.1.34), but i can't realize if I must configure something in the
 others two  machines
  the pourpose of this is to get communicated the freebsd(10.0.0.15) with
 debian(192.168.1.34).
 
 thanks in advance for your help.
 
 
 --
 $ miguel_alcántara $

http://www.freebsddiary.org/gateway.php


DISCLAIMER:
Disclaimer.  This e-mail is private and confidential. If you are not the 
intended recipient, please advise us by return e-mail immediately, and delete 
the e-mail and any attachments without using or disclosing the contents in any 
way. The views expressed in this e-mail are those of the author, and do not 
represent those of this company unless this is clearly indicated. You should 
scan this e-mail and any attachments for viruses. This company accepts no 
liability for any direct or indirect damage or loss resulting from the use of 
any attachments to this e-mail.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: locking down scsi device id's in 6.2

2007-04-12 Thread Dave

Hello,
   My thanks to everyone who has helped thus far with this situation. I've 
gone over scsi(4) and have added the below to device.hints:


hint.sa.0.at=scbus0
hint.sa.0.target=5
hint.sa.0.unit=0
hint.cd.0.at=scbus0
hint.cd.0.target=0
hint.cd.0.unit=0
hint.cd.1.at=scbus0
hint.cd.1.target=1
hint.cd.1.unit=0

camcontrol devlist shows:
Quantum DLT4000 D996 at scbus0 target 5 lun 0 (sa0,pass0)
LITE-ON LTR-48246S SS06  at scbus2 target 0 lun 0 (cd2,pass1)
LITE-ON DVDRW SOHW-1633S BS0Kat scbus2 target 1 lun 0 (cd3,pass2)

I used the wired example, but my device didn't wire. Any suggestions as to 
what i missed?

Thanks.
Dave.

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


Complete loss of network on 6_STABLE

2007-04-12 Thread Drew

I have a 6 stable box that I cvsup'd at around 5:15am central US time this
morning. I did a buildworld and buildkernel on it after checking the
UPDATING file and finding nothing since 6.2 release, ran mergemaster and
rebooted, so I was a little surprised when it never came back. Once I gained
physical access to the box, I discovered it had no apparent ability to open
a sock - neither unix, nor udp nor tcp. I can ping localhost, but not other
IP's on my network. X tells me host.domain.name:0 is a bad display name. So
I need to know how to get things back up and running. Is this a known
problem that has been fixed, or have I stumbled across something no one else
has seen? As a side note, I have to give major props to all the developers -
it sounds like my situation is really bad, but this is the first major
problem I've had in over 7 years of tracking -STABLE of one version or
another. Let me know if I can just cvsup another 6-stable box and burn it to
a disc and copy it off on here, or what I need to do to fix this, because
I'm lost. For the record:

mergemaster -p
make buildworld
make buildkernel KERNCONF=mykernel
make installworld
make installkernel KERNCONF=mykernel
mergemaster -a
reboot

came up with no sockets. At this point:

rm -rf /usr/obj
make clean
make buildworld ...etc - still no sockets.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: locking down scsi device id's in 6.2

2007-04-12 Thread Robert Marella
On Thu, 12 Apr 2007 21:15:22 -0400
Dave [EMAIL PROTECTED] wrote:

 Hello,
 My thanks to everyone who has helped thus far with this
 situation. I've gone over scsi(4) and have added the below to
 device.hints:
 
 hint.sa.0.at=scbus0
 hint.sa.0.target=5
 hint.sa.0.unit=0
 hint.cd.0.at=scbus0
 hint.cd.0.target=0
 hint.cd.0.unit=0
 hint.cd.1.at=scbus0
 hint.cd.1.target=1
 hint.cd.1.unit=0
 
 camcontrol devlist shows:
 Quantum DLT4000 D996 at scbus0 target 5 lun 0
 (sa0,pass0) LITE-ON LTR-48246S SS06  at scbus2 target 0 lun
 0 (cd2,pass1) LITE-ON DVDRW SOHW-1633S BS0Kat scbus2 target 1
 lun 0 (cd3,pass2)
 
 I used the wired example, but my device didn't wire. Any suggestions
 as to what i missed?
 Thanks.
 Dave.
 

Dave

I still think you are missing the scsi controller.

I used to use a scsi hard drive in one of my computers and here is what
I had

hint.scbus.0.at=ahc0   #find this with dmesg
hint.da.0.at=scbus0
hint.da.0.target=0
hint.da.0.unit=0

I do not think you have to do anything with the Cd devices. At least I
never did. At this time I have an external hard drive on firewire that
I have wired down with the following.

### Wire down external hd to da0###
hint.scbus.0.at=sbp0#find this with dmesg
hint.da.0.at=scbus0
hint.da.0.target=0
hint.da.0.unit=0

I hope this helps

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


Re: nspluginwrapper + native firefox 2 + flash9?

2007-04-12 Thread Ghirai
Hello John,

Thursday, April 12, 2007, 9:48:34 AM, you wrote:

 Hi everybody, I've been struggling with this all night and the archives +
 google aren't coming up with much except for other people's success stories.

 I recently ditched using the linux-firefox port in favor of the native version
 when I read a post about nspluginwrapper. I've spent the last 2 days upgrading
 many ports on my system. I think I've got things A-OK, but I cannot get
 nspluginwrapper to do anything meaningful with the native firefox.

 My config:

  6.2-STABLE as of april 10th
  CVSup'ed ports tree as of April 10th
  linux_base-fc-4_9 installed--do I need fc-6??
  linux-alsa-lib-1.0.10.3 also installed
  firefox-2.0.0.3,1 compiled and installed
  linux-flashplugin9 installed 

 I did the following:

   % nspluginwrapper -v -i
 /usr/X11R6/lib/linux-mozilla/plugins/libflashplayer.so

 saw:

 Install plugin /usr/X11R6/lib/linux-mozilla/plugins/libflashplayer.so
   into /usr/local/lib/browser_plugins/npwrapper.libflashplayer.so

 after firing firefox back up and doing about:plugins I see what I hoped to 
 see:

Shockwave Flash

File name: npwrapper.libflashplayer.so
Shockwave Flash 9.0 r31

MIME TypeDescription SuffixesEnabled
application/x-shockwave-flashShockwave Flash swf Yes
application/futuresplash FutureSplash Player spl Yes

 However whenever I visit a site that utilizes Flash, nothing shows up--not 
 even
 an 'outline' of what should be a flash file playing. 

 I've tried using nspluginwrapper -r to uninstall the plugin and use
 linux-flashplugin7 but the results are the same. I've also tried using
 linux-mplayer-plugin which yielded similar results: about:plugins showed a
 plethora of MIME type's, descriptions, etc. but no dice.

 Does anybody have any clues as to what's going wrong or things I could 
 possibly
 try? From all accounts seen via google, this has just worked for people ... 
 :(

 Thanks in advance.

 -Jr


I'm using konqueror with flash, and i followed this howto
(http://freebsd.kde.org/howtos/konqueror-flash.php).

I know you were looking for a way to get FF to work,
but i gave up, and konqueror is working fine for me.

-- 
Best regards,
Ghirai.

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


Dell PowerEdge SC1435 and FreeBSD

2007-04-12 Thread Philip M. Gollucci

Hi,

A company bought 3 of these and had issue installing FreeBSD on them
(I'm currently off site) saying it hung very early in the boot process 
from CD for 6.2 amd64 and the monitor went blank.  Can anyone here 
comment on their experiences with this ?


I've included some links below too.

http://configure.us.dell.com/dellstore/config.aspx?c=uscs=04kc=6W300l=enoc=bscwek1s=bsd
Dual Core 2216 Processor;
2X1MB Cache, 2.4GHz Opteron,
1Ghz HyperTransport for PowerEdge SC 1435
Dual Core Opteron 2nd Processor,
2x1MB Cache, 2.4GHz
1Ghz HyperTransport for PowerEdge SC 1435
4GB Memory, 4x1GB, 667MHz, Single Ranked DIMMs
Broadcom TCP/IP Offload EngineNot Enabled
Riser with 1 PCIe Slot for PowerEdge SC1435
250GB, SATA, 3.5-inch 7.2K RPMHard Drive
SAS 5IR SAS, PCI-Express Internal RAID Adapter
On-Board Dual Gigabit Network Adapter, No TOE
24X IDE CD-RW/DVD ROM Drive for PowerEdge SC 1435
Bezel for PESC1435
250GB, SATA, 3.5-inch 7.2K RPMHard Drive
Add-in SATA/SAS controller, 2 Hard Drives, RAID 1, PowerEdge SC1435
Sliding Rapid/Versa Rails and Cable Management Arm,Universal

http://www.freebsdsystems.com/sata2_rackserver_multicore.php
Seems to validate the video card an ATI ES1000 16MB is okay.

http://lists.freebsd.org/mailman/htdig/freebsd-hardware/2006-December/004103.html
seems to say it works in general.

Thanks in advance.


Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]