asking about NIC card for freebsd 7.2 i386

2009-07-22 Thread husainiz
i doubt about NIC card BMC5674 support or not for freebsd7.2 ? or should i use 
freebsd8.2 beta ?
hope reply me.

from,
Husaini

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


Two VPN via two DSL lines to one ISP

2009-07-22 Thread Anton

   Hello freebsd-questions,

   Have one ISP and two lines from him. Connection to Internet are made
   via= VPN. Could load-balancing be realized with help of mpd5 or some
   other util= ity, which provides VPN connections?

   --

   --

   Best regards,

Anton= ;[1]mailto:an...@sng.by

Administrator

   Feel free to contact me

   via ICQ 363780596

   via Skype dobryak47

   via phone +375 29 3320987

References

   1. 3Dmailto:an...@sng.by;
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


MS Project file viewer

2009-07-22 Thread Matthias Apitz

Hello,

Is there any MS Project (mpp) file viewer which runs on FreeBSD? Thx

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e g...@unixarea.de - w http://www.unixarea.de/
People who hate Microsoft Windows use Linux but people who love UNIX use 
FreeBSD.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Two VPN via two DSL lines to one ISP

2009-07-22 Thread Nikos Vassiliadis

Anton wrote:

   Hello freebsd-questions,

   Have one ISP and two lines from him. Connection to Internet are made
   via=PN. Could load-balancing be realized with help of mpd5 or some
   other util=ty, which provides VPN connections?



With mpd you can combine several ppp links in to one. This process
is called multilink ppp and effectivelly combines the bandwidth of
each link in to one virtual pipe with bigger bandwidth. Yet, your
ISP have to support multilink ppp as well. I am not sure what you
mean when you say Connection to Internet are made via VPN?

If that's not what you are looking for, please elaborate.

Nikos

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


problems with chroot with mod_secrity on freebsd

2009-07-22 Thread Rajaie Issaid
Hi ,

I have FreeBSD 7.2-RELEASE installed on amd64 , I installed apache22 with
mod_security2 , when I try to activate the SecChroot , the below errors
appears , the documentation denotes that it should be straight forward
without any problem , but apparently I have problem with mod_rewrite .

 

I have created the folders of /var/run , /var/run/cache , /var/run/logs  ,
and even /var/log , and the domains are logging httpd-access  error inside
the chroot .

 

Any clues about this issue ?

 

Starting apache22.

httpd: Could not reliably determine the server's fully qualified domain
name, using server01.davincihosting.com for ServerName

[Wed Jul 22 01:44:46 2009] [notice] ModSecurity: chroot checkpoint #1
(pid=41214 ppid=41209)

[Wed Jul 22 01:44:46 2009] [notice] ModSecurity for Apache/2.5.9
(http://www.modsecurity.org/) configured.

[Wed Jul 22 01:44:46 2009] [notice] Original server signature: Apache/2.2.11
(FreeBSD) DAV/2

server01# [Wed Jul 22 01:44:46 2009] [notice] Digest: generating secret for
digest authentication ...

[Wed Jul 22 01:44:46 2009] [notice] Digest: done

[Wed Jul 22 01:44:47 2009] [notice] ModSecurity: chroot checkpoint #2
(pid=41215 ppid=1)

[Wed Jul 22 01:44:47 2009] [notice] ModSecurity: chroot successful,
path=/home/www

[Wed Jul 22 01:44:47 2009] [crit] (2)No such file or directory: mod_rewrite:
could not init rewrite log lock in child

[Wed Jul 22 01:44:47 2009] [crit] (2)No such file or directory: mod_rewrite:
could not init rewrite log lock in child

[Wed Jul 22 01:44:47 2009] [notice] Apache/2.2.11 (FreeBSD) DAV/2 PHP/5.2.10
with Suhosin-Patch    WeB Hosting Server 
configured -- resuming normal operations

[Wed Jul 22 01:44:47 2009] [crit] (2)No such file or directory: mod_rewrite:
could not init rewrite log lock in child

[Wed Jul 22 01:44:47 2009] [crit] (2)No such file or directory: mod_rewrite:
could not init rewrite log lock in child

[Wed Jul 22 01:44:47 2009] [crit] (2)No such file or directory: mod_rewrite:
could not init rewrite log lock in child

 

 

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


Re: asking about NIC card for freebsd 7.2 i386

2009-07-22 Thread Neal Hogan
On Wed, Jul 22, 2009 at 12:13 AM, husai...@streamyx.com wrote:
 i doubt about NIC card BMC5674 support or not for freebsd7.2 ? or should i 
 use freebsd8.2 beta ?
 hope reply me.

Neither (or both). The Broadcom cards are tricky and they have been
talked about a lot. Look at this list's archives and/or google
something like freebsd broadcom

also, look up information on freebsd's ndiswrapper.

good luck!


 from,
 Husaini

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

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


Re[2]: Two VPN via two DSL lines to one ISP

2009-07-22 Thread Anton
Hello Nikos,

Wednesday, July 22, 2009, 11:16:08 AM, you wrote:

 Anton wrote:
Hello freebsd-questions,
 
Have one ISP and two lines from him. Connection to Internet are made
via=PN. Could load-balancing be realized with help of mpd5 or some
other util=ty, which provides VPN connections?
 

 With mpd you can combine several ppp links in to one. This process
 is called multilink ppp and effectivelly combines the bandwidth of
 each link in to one virtual pipe with bigger bandwidth. Yet, your
 ISP have to support multilink ppp as well. I am not sure what you
 mean when you say Connection to Internet are made via VPN?

 If that's not what you are looking for, please elaborate.

 Nikos

What I mean by saying that connection to Internet are made via VPN: we
establish coonection to VPN server of ISP, and we have Internet
Could you give some guidance what to ask from ISP and what to make in
mpd5?


-- 
Best regards,
 Antonmailto:an...@sng.by
 Administrator

Feel free to contact me 
via ICQ 363780596
via Skype dobryak47
via phone +375 29 3320987

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


Re[2]: Two VPN via two DSL lines to one ISP

2009-07-22 Thread Anton
Hello Nikos,

Wednesday, July 22, 2009, 11:16:08 AM, you wrote:

 Anton wrote:
Hello freebsd-questions,
 
Have one ISP and two lines from him. Connection to Internet are made
via=PN. Could load-balancing be realized with help of mpd5 or some
other util=ty, which provides VPN connections?
 

 With mpd you can combine several ppp links in to one. This process
 is called multilink ppp and effectivelly combines the bandwidth of
 each link in to one virtual pipe with bigger bandwidth. Yet, your
 ISP have to support multilink ppp as well. I am not sure what you
 mean when you say Connection to Internet are made via VPN?

 If that's not what you are looking for, please elaborate.

 Nikos

Asked tech's of ISP - they said that they do not dupport multilink ppp

-- 
Best regards,
 Antonmailto:an...@sng.by
 Administrator

Feel free to contact me 
via ICQ 363780596
via Skype dobryak47
via phone +375 29 3320987

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


Re: MS Project file viewer

2009-07-22 Thread Randall Wood
On Wed, Jul 22, 2009 at 10:12:35AM +0200, Matthias Apitz wrote:
 
 Hello,
 
 Is there any MS Project (mpp) file viewer which runs on FreeBSD? Thx
 
   matthias

My company uses Steelray Viewer at the office; to my great surprise there is a 
Linux version available, which makes me think it might run on FreeBSD.  There's 
a trial version you can use to determine compatibility.  For what it's worth, 
the product works well - they license the tech from Microsoft so they have full 
access to the specification.  But it is not free-as-in-beer.
-- 
http://www.therandymon.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: MS Project file viewer

2009-07-22 Thread Craig Butler
On Wed, 2009-07-22 at 11:26 +, Randall Wood wrote:
 On Wed, Jul 22, 2009 at 10:12:35AM +0200, Matthias Apitz wrote:
  
  Hello,
  
  Is there any MS Project (mpp) file viewer which runs on FreeBSD? Thx
  
  matthias
 
 My company uses Steelray Viewer at the office; to my great surprise there is 
 a Linux version available, which makes me think it might run on FreeBSD.  
 There's a trial version you can use to determine compatibility.  For what 
 it's worth, the product works well - they license the tech from Microsoft so 
 they have full access to the specification.  But it is not free-as-in-beer.

openproj work great for me and is available in ports.



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


ULE and Prescott question

2009-07-22 Thread Scott Bennett
 This is a curiousity question.  I'm running 7.2-STABLE at present on
an old Inspiron XPS, which has a 3.4 GHz P4 Prescott CPU.  I have
hyperthreading enabled in the kernel.  The question is:  is there any
appreciable performance difference to be expected with this hardware setup
between the ULE scheduler and the 4BSD scheduler?  Or does the fact that
there is only one core eliminate any difference in performance
characteristics?


  Scott Bennett, Comm. ASMELG, CFIAG
**
* Internet:   bennett at cs.niu.edu  *
**
* A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army.   *
*-- Gov. John Hancock, New York Journal, 28 January 1790 *
**
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Question about install FreeBSD

2009-07-22 Thread asdasd asdasd
Hello. Sorry for ny bad english. :)
My trouble - I install BSD on first computer, after than plug hard drive into 
other computer, but it doesn`t work! Can you help? After booting BIOS FreeBSD 
print Can`t load kernel. What did I must do?

Thanks %)

Если кто-то что-то понял, опишите на русском :)



  
Вы уже с Yahoo!? 
Испытайте обновленную и улучшенную. Yahoo! Почту! http://ru.mail.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Question about install FreeBSD

2009-07-22 Thread Glen Barber
2009/7/22 asdasd asdasd androni...@yahoo.com:
 Hello. Sorry for ny bad english. :)
 My trouble - I install BSD on first computer, after than plug hard drive into 
 other computer, but it doesn`t work! Can you help? After booting BIOS FreeBSD 
 print Can`t load kernel. What did I must do?

 Thanks %)


Did you install the MBR on the disk you moved? (Was there more than
one disk in the original computer?)



-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Purple photos on firefox..

2009-07-22 Thread Adam Vande More
On Tue, Jul 21, 2009 at 11:52 PM, herbert langhans
herbert.raim...@gmx.netwrote:


 It seems to be some firefox bug. When I save the certain purple JPG and
 display it with another program on my comp it appears normal.

 Screenshot would look ok on any computer..

 And it just happens occasionally. Maybe some screen engine bug in ff35?
 Or my graphic card driver (sis-card) is allergic to ff35? Very strange,
 all other X11 programs display correct..

 Not even a big problem if its just on my computer. But I thought there are
 other Freebsd users having this certain problem too.

 Cheers
 herb langhans


  - sometimes the photos, mostly the JPG I guess, appear visible but in a
  deep purple shade.

  Take a screenshot, upload it to a hosting site, have a friend look at the
  photo with a different monitor.
 
  Failure modes for certain monitors may show these symptoms, or you may
 have
  a loose cable to the video card.
 
  Let us know how it works out.


Have you updated any ports recently eg portmaster, portupgrade?  If so you
may wish to look at /usr/ports/UPDATING as that is a FF dependency.
-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Question about install FreeBSD

2009-07-22 Thread Glen Barber
On Wed, Jul 22, 2009 at 9:24 AM, Glen Barberglen.j.bar...@gmail.com wrote:
 2009/7/22 asdasd asdasd androni...@yahoo.com:
 Hello. Sorry for ny bad english. :)
 My trouble - I install BSD on first computer, after than plug hard drive 
 into other computer, but it doesn`t work! Can you help? After booting BIOS 
 FreeBSD print Can`t load kernel. What did I must do?

 Thanks %)


 Did you install the MBR on the disk you moved? (Was there more than
 one disk in the original computer?)


Actually, now that I think about it more, it appears the MBR is not
the problem.  What happens if you try:
boot /boot/kernel

at the loader?


-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


gutenprint and lpd

2009-07-22 Thread Andrew Gould

The CUPS administration tool prints a fine test page to an Epson Stylus Photo 
R280 using a gutenprint ppd; but the printer does not appear in Abiword or 
Gimp.  Attempts to configure the printer under Gimp's gutenprint plugin were a 
disaster -- my fault, I'm sure.

I'm running FreeBSD 7.2 (STABLE as of last week) and XFCE4.  I'm using 
applications installed, mostly, using 'pkg_add -r [app name]'.

Is there a way to use gutenprint drivers with lpd when the printer definition 
is not in the foomatic database?

Is there something special I need to do for applications to see CUPS printers?

Thanks,

Andrew


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


Re: MS Project file viewer

2009-07-22 Thread Matthias Apitz
El día Wednesday, July 22, 2009 a las 12:54:20PM +0100, Craig Butler escribió:

 openproj work great for me and is available in ports.

Thanks for the hint; I've installed it and it works; but on printing it
crashes with te messages below on stderr; any idea?

matthias

Exception in thread AWT-EventQueue-0 java.lang.NullPointerException:
null attribute
at
sun.print.IPPPrintService.isAttributeValueSupported(IPPPrintService.java:1147)
at
sun.print.ServiceDialog$OrientationPanel.updateInfo(ServiceDialog.java:2121)
at
sun.print.ServiceDialog$PageSetupPanel.updateInfo(ServiceDialog.java:1263)
at sun.print.ServiceDialog.updatePanels(ServiceDialog.java:437)
at
sun.print.ServiceDialog.initPrintDialog(ServiceDialog.java:195)
at sun.print.ServiceDialog.init(ServiceDialog.java:124)
at javax.print.ServiceUI.printDialog(ServiceUI.java:188)
at
sun.print.RasterPrinterJob.printDialog(RasterPrinterJob.java:855)
at sun.print.PSPrinterJob.printDialog(PSPrinterJob.java:421)
at com.projity.print.GraphPageable.print(Unknown Source)
at com.projity.pm.graphic.frames.GraphicManager.print(Unknown
Source)
at
com.projity.pm.graphic.frames.GraphicManager$PrintAction.actionPerformed(Unknown
Source)
at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at
javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1216)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1257)
at java.awt.Component.processMouseEvent(Component.java:6038)
at
javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at
java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at
java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

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

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e g...@unixarea.de - w http://www.unixarea.de/
People who hate Microsoft Windows use Linux but people who love UNIX use 
FreeBSD.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Install from a USB Pen (semi OT)

2009-07-22 Thread Mikel King


On Jul 20, 2009, at 2:48 PM, Ken Smith wrote:


On Sat, 2009-07-18 at 11:41 +0800, Fbsd1 wrote:

Took 3 times longer to download the 8.0-BETA1-i386-memstick.img  
that to
download the 8.0-BETA1-i386-disc1.iso. I suggest you look into  
another
method of creating the memstick.img so it downloads faster. dd does  
no

compression of the data.


You're comparing apples to oranges here to some extent.  disc1 isn't
compressed either.  The reason the memstick is larger is that it
contains more stuff than disc1.  That extra stuff is usually  
referred to

as livefs and having that allows the memstick to be used in Fixit
mode - you can boot off the memstick and enter into sysinstall's  
Fixit

menu item which in turn you can use to get to a usable shell that has
all the normal FreeBSD base system utilities available.  That
functionality can be useful for recovering a machine from mistakes.

The CDROM media has a separate livefs.  We needed to separate them out
because of size issues on the CDROM media - the contents of disc1 plus
the contents needed from the livefs disc to make it work in Fixit mode
are too big for our target CDROM media size (700Mb).  The DVD media
contains both so DVDs can be used for this 'Fixit' mode as well.

If you're going to use download time as any sort of evaluation of the
memstick's merit you need to compare the speed of downloading it  
versus

the speed of downloading both disc1 and livefs.  Though I'm not quite
sure why that's any measure of the memstick's merit.

I think I've settled on the memstick images containing what was  
provided

with BETA2, which will be the installation bits from disc1, the livefs
bits, and just the packages that make up the documentation.  Put a
slightly different way it's the contents of the DVD minus all packages
except for the documentation packages.  That's my best guess on the
trade-off of size versus functionality that would benefit the most
end-users.

Using a 8gb memstick as the target to install 8.0 on took 2 times  
longer

than disc1 cd installing to same 8gb memstick.


This shouldn't come as too big a surprise, for *typical* machines  
things

slow down a bit if you're using the same I/O subsystem for both reads
and writes.  I'm guessing your CD isn't USB.  Even if it is, you're
again comparing apples to oranges to a large degree here.  If a speed
comparison is important to you here then compare the speed of  
installing
from the memstick we provide versus one you create with your script  
from

disc1.  I'd be surprised if installing from the one you created using
your script was faster than the memstick we provide.


Here is a script i have used in the past to convert the disc1.iso to
bootable memstick. Maybe its better to add this script to the place
where 8.0-BETA1-i386-disc1.iso is located in place of the  
memstick.img.

That way the 3 times larger memstick.img is not needed any more.


Per above the 3 times larger memstick.img we're providing has more
functionality than what you would get by running your script.  For  
some
people your script also causes something of a chicken-and-egg  
issue.  It

may not be particularly convenient to run your script if you don't
already have FreeBSD installed on a machine.  I don't see the harm  
in us

providing one pre-built memstick image for peoples' convenience.



Just curious, but is there an easy way to get all of this onto the pen  
in the first place? I missed the origin of the thread.


Thanks,
m.

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


make installkernel KERNCONF= faults with error

2009-07-22 Thread Anton

   Hello freebsd-questions,

   It says that there is no libbsm

   --

   --

   Best regards,

Anton= ;[1]mailto:an...@sng.by

Administrator

   Feel free to contact me

   via ICQ 363780596

   via Skype dobryak47

   via phone +375 29 3320987

References

   1. 3Dmailto:an...@sng.by;
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


broken link on http://www.freebsddiary.org/newbies.php

2009-07-22 Thread lisa
Hi,
 I don't mean to bother you, but I was doing some research on Unix for a summer 
programming class I'm taking when I came across your 
page:http://www.freebsddiary.org/newbies.php . 
I noticed you link to:  http://www-wks.acs.ohio-state.edu/unix_course/unix.html 
.
It seems to be broken. :(

During my search I came across this informative page on Unix with common 
commands:
http://www.sharefile.com/content/common-unix-commands.aspx

I found it very helpful and I think it would make a sufficient replacement for 
your broken link.

Have a nice day,
Lisa Baker :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Install from a USB Pen (semi OT)

2009-07-22 Thread Randi Harper
On Wed, Jul 22, 2009 at 8:29 AM, Mikel King mikel.k...@olivent.com wrote:


 Just curious, but is there an easy way to get all of this onto the pen in
 the first place? I missed the origin of the thread.


dd if=image file of=usb drive bs=10240 conv=sync

-- randi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Two VPN via two DSL lines to one ISP

2009-07-22 Thread Nikos Vassiliadis

Anton wrote:

Asked tech's of ISP - they said that they do not dupport multilink ppp


You can achieve almost the same effect with the aid of
a firewall. There many posts/tutorials/examples on the
net, regarding load sharing and (pf|ipf|ipfw). Try to
adapt one to your setup and post your questions to the
list. A google search for load balancing pf reveals
the official pf FAQ:

http://www.openbsd.org/faq/pf/pools.html

Nikos
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: MS Project file viewer

2009-07-22 Thread Jonathan Chen
On Wed, Jul 22, 2009 at 05:07:41PM +0200, Matthias Apitz wrote:
 El d?a Wednesday, July 22, 2009 a las 12:54:20PM +0100, Craig Butler escribi?:
 
  openproj work great for me and is available in ports.
 
 Thanks for the hint; I've installed it and it works; but on printing it
 crashes with te messages below on stderr; any idea?
 
   matthias
 
 Exception in thread AWT-EventQueue-0 java.lang.NullPointerException:
 null attribute
 at
 sun.print.IPPPrintService.isAttributeValueSupported(IPPPrintService.java:1147)
 at
 sun.print.ServiceDialog$OrientationPanel.updateInfo(ServiceDialog.java:2121)
 at
 sun.print.ServiceDialog$PageSetupPanel.updateInfo(ServiceDialog.java:1263)
 at sun.print.ServiceDialog.updatePanels(ServiceDialog.java:437)
 at
 sun.print.ServiceDialog.initPrintDialog(ServiceDialog.java:195)
 at sun.print.ServiceDialog.init(ServiceDialog.java:124)
 at javax.print.ServiceUI.printDialog(ServiceUI.java:188)
 at
 sun.print.RasterPrinterJob.printDialog(RasterPrinterJob.java:855)
 at sun.print.PSPrinterJob.printDialog(PSPrinterJob.java:421)
 at com.projity.print.GraphPageable.print(Unknown Source)
 at com.projity.pm.graphic.frames.GraphicManager.print(Unknown
 Source)
 at

This is a Java  CUPS interaction bug:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6633656

Workaround available at:

http://www.pikopong.com/blog/2008/09/09/java-printing-fix-for-linux-with-cups/


Hope this helps.
-- 
Jonathan Chen j...@chen.org.nz
--
 When you don't know what you are doing, do it neatly.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


(no subject)

2009-07-22 Thread wclark
How do I set up mail server on 7.2bsd
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: (no subject)

2009-07-22 Thread Jason

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

-jgh

On Wed, Jul 22, 2009 at 02:23:58PM -0400, wcl...@dl1.njit.edu thus spake:

How do I set up mail server on 7.2bsd
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


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


Re: (no subject)

2009-07-22 Thread Jon Radel

wcl...@dl1.njit.edu wrote:

How do I set up mail server on 7.2bsd


That's such a broad question that it's unreasonable to expect a complete 
answer on a mailing list.  So I'd suggest you start with reading some 
documentation, such as


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

Once you've decided which e-mail server you wish to use and what you 
want it to do, feel free to come back with specific questions if things 
go wrong or specific steps remain obscure.


--

--Jon Radel
j...@radel.com


smime.p7s
Description: S/MIME Cryptographic Signature


Re: amarok

2009-07-22 Thread Lowell Gilbert
ajtiM lum...@gmail.com writes:

 Problem after problem. I try to rebuild Amarok on my FreeBSD 7.2 and I got:

 deps/ktrm.Tpo -c -o ktrm.lo ktrm.cpp
 ktrm.cpp:47:27: error: tunepimp/tp_c.h: No such file or directory
 ktrm.cpp:57: error: variable or field 'TRMNotifyCallback' declared void
 ktrm.cpp:57: error: 'tunepimp_t' was not declared in this scope
 ktrm.cpp:57: error: expected primary-expression before 'void'
 ktrm.cpp:57: error: 'TPCallbackEnum' was not declared in this scope
 ktrm.cpp:57: error: expected primary-expression before 'int'
 ktrm.cpp:129: error: ISO C++ forbids declaration of 'tunepimp_t' with no type
 ktrm.cpp:129: error: expected ';' before '' token
 ktrm.cpp:134: error: expected `;' before 'protected'
 ktrm.cpp:201: error: 'tunepimp_t' does not name a type
 ktrm.cpp: In member function 'int 
 KTRMRequestHandler::startLookup(KTRMLookup*)':
 ktrm.cpp:84: error: 'm_pimp' was not declared in this scope
 ktrm.cpp:84: error: 'tp_AddFile' was not declared in this scope
 ktrm.cpp:90: error: 'm_pimp' was not declared in this scope
 ktrm.cpp:90: error: 'tp_IdentifyAgain' was not declared in this scope
 ktrm.cpp: In member function 'void 
 KTRMRequestHandler::endLookup(KTRMLookup*)':
 ktrm.cpp:98: error: 'm_pimp' was not declared in this scope
 ktrm.cpp:98: error: 'tp_GetTrack' was not declared in this scope
 ktrm.cpp:98: error: 'tp_ReleaseTrack' was not declared in this scope
 ktrm.cpp:99: error: 'tp_Remove' was not declared in this scope
 ktrm.cpp: In constructor 'KTRMRequestHandler::KTRMRequestHandler()':
 ktrm.cpp:137: error: 'm_pimp' was not declared in this scope
 ktrm.cpp:137: error: 'tp_New' was not declared in this scope
 ktrm.cpp:140: error: 'tp_SetTRMCollisionThreshold' was not declared in this 
 scop
 e
 ktrm.cpp:141: error: 'tp_SetAutoFileLookup' was not declared in this scope
 ktrm.cpp:143: error: 'tp_SetAutoSaveThreshold' was not declared in this scope
 ktrm.cpp:144: error: 'tp_SetMoveFiles' was not declared in this scope
 ktrm.cpp:145: error: 'tp_SetRenameFiles' was not declared in this scope
 ktrm.cpp:149: error: 'tp_SetUseUTF8' was not declared in this scope
 ktrm.cpp:151: error: 'TRMNotifyCallback' was not declared in this scope
 ktrm.cpp:151: error: 'tp_SetNotifyCallback' was not declared in this scope
 ktrm.cpp:163: error: 'tp_GetServer' was not declared in this scope
 ktrm.cpp:187: error: 'tp_SetProxy' was not declared in this scope
 ktrm.cpp: In destructor 'KTRMRequestHandler::~KTRMRequestHandler()':
 ktrm.cpp:197: error: 'm_pimp' was not declared in this scope
 ktrm.cpp:197: error: 'tp_Delete' was not declared in this scope
 ktrm.cpp: At global scope:
 ktrm.cpp:319: error: variable or field 'TRMNotifyCallback' declared void
 ktrm.cpp:319: error: 'tunepimp_t' was not declared in this scope
 ktrm.cpp:319: error: expected primary-expression before 'void'
 ktrm.cpp:319: error: 'TPCallbackEnum' was not declared in this scope
 ktrm.cpp:319: error: expected primary-expression before 'int'
 gmake[4]: *** [ktrm.lo] Error 1
 gmake[4]: Leaving directory 
 `/usr/ports/audio/amarok/work/amarok-1.4.10/amarok/s  
  
 rc'
 gmake[3]: *** [all-recursive] Error 1
 gmake[3]: Leaving directory 
 `/usr/ports/audio/amarok/work/amarok-1.4.10/amarok/s  
  
 rc'
 gmake[2]: *** [all-recursive] Error 1
 gmake[2]: Leaving directory 
 `/usr/ports/audio/amarok/work/amarok-1.4.10/amarok'
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory `/usr/ports/audio/amarok/work/amarok-1.4.10'
 gmake: *** [all] Error 2
 *** Error code 1

 Stop in /usr/ports/audio/amarok.
 *** Error code 1

 Stop in /usr/ports/audio/amarok.

 Thanks.

Looks like a bogus include problem.  Did you try make clean in the
port first?  is the libtunepimp installed?;2~

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


Re: broken link on http://www.freebsddiary.org/newbies.php

2009-07-22 Thread Glen Barber
On Wed, Jul 22, 2009 at 12:46 PM, l...@freecollegemail.org wrote:
 Hi,
  I don't mean to bother you, but I was doing some research on Unix for a 
 summer programming class I'm taking when I came across your 
 page:http://www.freebsddiary.org/newbies.php .
 I noticed you link to:  
 http://www-wks.acs.ohio-state.edu/unix_course/unix.html .
 It seems to be broken. :(

 During my search I came across this informative page on Unix with common 
 commands:
 http://www.sharefile.com/content/common-unix-commands.aspx

 I found it very helpful and I think it would make a sufficient replacement 
 for your broken link.


Hi, Lisa

The FreeBSD Diary site is not directly affiliated with the FreeBSD.org
site -- however, the owner is subscribed to this list and will most
likely see your message anyway, because of your Subject.

Just a friendly FYI.  :)


-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ULE and Prescott question

2009-07-22 Thread Ivan Voras
Scott Bennett wrote:
  This is a curiousity question.  I'm running 7.2-STABLE at present on
 an old Inspiron XPS, which has a 3.4 GHz P4 Prescott CPU.  I have
 hyperthreading enabled in the kernel.  The question is:  is there any
 appreciable performance difference to be expected with this hardware setup
 between the ULE scheduler and the 4BSD scheduler?  Or does the fact that
 there is only one core eliminate any difference in performance
 characteristics?

I'd guess the second thing. It's not like there's cache to be shared
between cores, etc. ULE might still be better simply because it is more
modern. Anyway, all recent (7.1+) versions of FreeBSD ship with ULE as
default, and all FreeBSD versions  7.0 have broken/unfinished ULE.




signature.asc
Description: OpenPGP digital signature


Ports and package creation Automation

2009-07-22 Thread Sam Fourman Jr.
hello list,

After searching google for 5 minutes I cant find what I am looking for.

I know that pkg_create command will create packages for the other 3 boxes.
if I am going to rebuild all of my ports from scratch, can I somehow
tell FreeBSD
to create a package all the time and store it in a directory?

also what file do I modify to tell the other local machines where to
find the packages?
can this be a sftp url? it would be convenient cause sshd is installed in base.

I want to install FreeBSD 8 BETA2 i386 on 4 computers, I want to install
gnome and firefox, k3b, compiz,openoffice etc... all in all it is like
a 975 port count.


Thank you in advance

Sam Fourman Jr.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Ports and package creation Automation

2009-07-22 Thread Glen Barber
On Wed, Jul 22, 2009 at 4:48 PM, Sam Fourman Jr.sfour...@gmail.com wrote:
 hello list,

 After searching google for 5 minutes I cant find what I am looking for.

 I know that pkg_create command will create packages for the other 3 boxes.
 if I am going to rebuild all of my ports from scratch, can I somehow
 tell FreeBSD
 to create a package all the time and store it in a directory?

 also what file do I modify to tell the other local machines where to
 find the packages?
 can this be a sftp url? it would be convenient cause sshd is installed in 
 base.

 I want to install FreeBSD 8 BETA2 i386 on 4 computers, I want to install
 gnome and firefox, k3b, compiz,openoffice etc... all in all it is like
 a 975 port count.



Hi, Sam.

I believe you are looking for the following:
make package
make package-recursive

-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: (no subject)

2009-07-22 Thread Neal Hogan
On Wed, Jul 22, 2009 at 2:17 PM, Jon Radelj...@radel.com wrote:
 wcl...@dl1.njit.edu wrote:

 How do I set up mail server on 7.2bsd

 That's such a broad question that it's unreasonable to expect a complete
 answer on a mailing list.  So I'd suggest you start with reading some
 documentation, such as

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

 Once you've decided which e-mail server you wish to use and what you want it
 to do, feel free to come back with specific questions if things go wrong or
 specific steps remain obscure.

+1

. . . and a descriptive (email) subject line may help attract help.
Prior to opening, I was intrigued to see what a post about nothing
would look like ;-)


 --

 --Jon Radel
 j...@radel.com

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


Re: Purple photos on firefox..

2009-07-22 Thread Al Plant

Steve Bertrand wrote:

herbert langhans wrote:


- sometimes the photos, mostly the JPG I guess, appear visible but in a deep 
purple shade.


I can't resist... was it about 1620 hrs when you witnessed this?

;) Steve

###


Aloha,

Check your monitor video cable I had one here with a bad cable that 
turned the screen green occasionally.



~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD 6.* - 7.* - 8.* +
   email: n...@hdk5.net 
All that's really worth doing is what we do for others.- Lewis Carrol

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


Re: Purple photos on firefox..

2009-07-22 Thread herbert langhans
Aloha Al,
its all kosher with the monitor, cables and graphic card. When I open a 
website, like a magazine, then I have i.e 10 pictures showing up well and two 
totally in purple. 

It must be a software issue. Just wonder where it comes from. Firefox 3.5? The 
Firefox libraries? Screendriver? Freebsd 7.2? A bug in the graphic card 
hardware (has never done this)? Or some combination of it. 

I will check for Adam's suggestion to take a look at the update notes and the 
dependencies.

Is a wacky bug, thats sure.

Thanks
herb langhans


On Wed, 22 Jul 2009 11:16:02 -1000
Al Plant n...@hdk5.net wrote:

 Steve Bertrand wrote:
  herbert langhans wrote:
  
  - sometimes the photos, mostly the JPG I guess, appear visible but in a 
  deep purple shade.
  
  I can't resist... was it about 1620 hrs when you witnessed this?
  
  ;) Steve
 ###
 
 
 Aloha,
 
 Check your monitor video cable I had one here with a bad cable that 
 turned the screen green occasionally.
 
 
 ~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
+ http://hawaiidakine.com + http://freebsdinfo.org +
+ http://aloha50.net   - Supporting - FreeBSD 6.* - 7.* - 8.* +
 email: n...@hdk5.net 
 All that's really worth doing is what we do for others.- Lewis Carrol
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Journal overflow panic

2009-07-22 Thread Brian McCann
I've been having a problem for the past few weeks with a file server I
have.  It's recently started throwing a panic after about 24 hours of
service (it's rare that it lasts longer then that...sometimes as low as 20
hrs): Panic String: Journal overflow (joffset=12964580764160
active=12964584978944 inactive=12964580737536) .  I'm on FreeBSD 7.0.  I've
done some digging, and really can't come up with anything.  I've checked the
drives on the controller, and none of them are reporting any errors (3ware
SATA RAID controller).  Does anyone have any ideas or thoughts?

Thanks!
--Brian

-- 
_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_
Brian McCann

I don't have to take this abuse from you -- I've got hundreds of
people waiting to abuse me.
   -- Bill Murray, Ghostbusters
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Purple photos on firefox..

2009-07-22 Thread Al Plant

herbert langhans wrote:

Aloha Al,
its all kosher with the monitor, cables and graphic card. When I open a website, like a magazine, then I have i.e 10 pictures showing up well and two totally in purple. 

It must be a software issue. Just wonder where it comes from. Firefox 3.5? The Firefox libraries? Screendriver? Freebsd 7.2? A bug in the graphic card hardware (has never done this)? Or some combination of it. 


I will check for Adam's suggestion to take a look at the update notes and the 
dependencies.

Is a wacky bug, thats sure.

Thanks
herb langhans


On Wed, 22 Jul 2009 11:16:02 -1000
Al Plant n...@hdk5.net wrote:


Steve Bertrand wrote:

herbert langhans wrote:


- sometimes the photos, mostly the JPG I guess, appear visible but in a deep 
purple shade.

I can't resist... was it about 1620 hrs when you witnessed this?

;) Steve

###


Aloha,

Check your monitor video cable I had one here with a bad cable that 
turned the screen green occasionally.



~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
   + http://hawaiidakine.com + http://freebsdinfo.org +
   + http://aloha50.net   - Supporting - FreeBSD 6.* - 7.* - 8.* +
email: n...@hdk5.net 
All that's really worth doing is what we do for others.- Lewis Carrol


 ___

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


##
Aloha,

Have fun tracking it down. I just had a Desktop box fail (No Nothing) 
here after being off for a month and it was solved by cleaning the video 
card , memory and network contacts. We are in Hawaii where it is cool at 
night and warm in the day and our office is only screens so its open to 
the elements. Sometimes the corrosion gets to the contacts and I have to 
clean the cards and connectors with alcohol and up it comes.


~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD 6.* - 7.* - 8.* +
   email: n...@hdk5.net 
All that's really worth doing is what we do for others.- Lewis Carrol

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


ndis0 stops working after a while

2009-07-22 Thread Leonardo M . Ramé

Since a couple of weeks I noted my wireless connection (Broadcom 4310 ndis 
wrapper) stops working after a while, something like 10 minutes after I leave 
the notebook, a Dell Inspiron 1525. Then I have to ifconfig ndis0 down / 
ifconfig ndis0 up to reconnect. 

The notebook is connected via WiFi to a router (DLink Dir300), who has another 
PC with WinXP connected by cable, this PC doesn't looses the connection. 

I don't remember having upgraded anything network related. What can be causing 
this behavior?.

Below I copied a couple of config files I changed, specially dhclient.conf 
because I thought the problem was related to the DNS server of my ISP, but now 
I don't think that is the problem.

uname -a:
FreeBSD inspiron.local 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May  1 08:49:13 
UTC 2009 r...@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

/boot/loader.conf
bcmwl5_sys_load=YES
wlan_scan_ap_load=YES
wlan_scan_sta_load=YES
wlan_wep_load=YES
wlan_tkip_load=YES
snd_driver_load=YES
hw.snd.default_unit=1
hint.hdac.0.config=gpio2
hint.hdac.0.cad2.nid13.config=device=Speaker conn=Fixed
vboxdrv_load=YES
atapicam_load=YES
sem_load=YES

/etc/rc.conf
keymap=spanish.iso.acc
inetd_enable=YES
linux_enable=YES
sshd_enable=YES
moused_enable=YES
rpcbind_enable=YES
hald_enable=YES
dbus_enable=YES
amd_enable=YES
fusefs_enable=YES
ifconfig_ndis0=WPA DHCP
hostname=inspiron.local

/etc/dhclient.conf
# $FreeBSD: src/etc/dhclient.conf,v 1.3.34.1 2009/04/15 03:14:26 kensmith Exp $
#
#   This file is required by the ISC DHCP client.
#   See ``man 5 dhclient.conf'' for details.
#
#   In most cases an empty file is sufficient for most people as the
#   defaults are usually fine.
#
prepend domain-name-servers 4.2.2.1,4.2.2.2;

/etc/resolv.conf
nameserver 4.2.2.1
nameserver 4.2.2.2
nameserver 192.168.0.1

Thanks in advance,
Leonardo M. Ramé
http://leonardorame.blogspot.com




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


limit to number of files seen by ls?

2009-07-22 Thread John Almberg

I seem to have run into an odd problem...

A client has a directory with a big-ish number of jpgs... maybe 4000.  
Problem is, I can only see 2329 of them with ls, and I'm running into  
other problems, I think.


Question: Is there some limit to the number of files that a directory  
can contain? Or rather, is there some number where things like ls  
start working incorrectly?


-- John


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


rm -rf and fat fingers

2009-07-22 Thread Jimmie James
So here I was, half asleep, removing some old directories as root, and 
here's what I did...sitting in /home/jimmie after su


jim...@jimmiejaz 101 [0] /home/jimmie#rm -rf cd /usr/local/lib   (note 
the space, the PWD is home/jimmie/)


Now, a lot of libs went missing from /usr/local/lib. With libchk, last 
locatedb I've been able to reinstall most of the libs.
My ~/ *seems* unaffected, but I'm worried about that, I don't notice 
anything missing, but I could be wrong.


What I'm thinking is the rm -rf found no 'cd' and moved to wipe out 
/usr/local/lib  Would this be a correct assumption?


And yes, I sat in the stupid corner with the dunce hat on.


--
Over the years I've come to regard you as people I've met.
I may be schizophrenic, but at least I have each other, and when I am 
alone I am togethe


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


Re: rm -rf and fat fingers

2009-07-22 Thread Glen Barber
On Wed, Jul 22, 2009 at 8:18 PM, Jimmie Jamesjimmie...@gmail.com wrote:
 So here I was, half asleep, removing some old directories as root, and
 here's what I did...sitting in /home/jimmie after su

 jim...@jimmiejaz 101 [0] /home/jimmie#rm -rf cd /usr/local/lib   (note the
 space, the PWD is home/jimmie/)

 Now, a lot of libs went missing from /usr/local/lib. With libchk, last
 locatedb I've been able to reinstall most of the libs.
 My ~/ *seems* unaffected, but I'm worried about that, I don't notice
 anything missing, but I could be wrong.

 What I'm thinking is the rm -rf found no 'cd' and moved to wipe out
 /usr/local/lib  Would this be a correct assumption?


Yes, this is correct.  Similarly, if you were to:

rm -rf .mozilla /usr/local/lib

It would remove your $HOME/.mozilla (assuming you were in $HOME) as
well as /usr/local/llib.  Your $HOME directory *should* be fine.
Unless you had a 'cd' directory, of course. ;)

-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: rm -rf and fat fingers

2009-07-22 Thread ill...@gmail.com
2009/7/22 Jimmie James jimmie...@gmail.com:
 So here I was, half asleep, removing some old directories as root, and
 here's what I did...sitting in /home/jimmie after su

 jim...@jimmiejaz 101 [0] /home/jimmie#rm -rf cd /usr/local/lib   (note the
 space, the PWD is home/jimmie/)

 Now, a lot of libs went missing from /usr/local/lib. With libchk, last
 locatedb I've been able to reinstall most of the libs.
 My ~/ *seems* unaffected, but I'm worried about that, I don't notice
 anything missing, but I could be wrong.

 What I'm thinking is the rm -rf found no 'cd' and moved to wipe out
 /usr/local/lib  Would this be a correct assumption?


Sounds like you're on the right medicine.

If you don't have a ton (that's 2000 in real world measures,
or 1000 in beheader speak) of packages, you can always
reinstall all of your packages to make sure you've caught
every little thing (including things that future packages/ports
may wish to link to).  Well, you still can with a lot, but that might
take a while.

And, yes, rm -rf is a naughty naughty boy.  Excepting the
sense in which he always does exactly as he is told.

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


Bruteblock

2009-07-22 Thread Grant Peel

Hi all,

I am trying to get Bruteblock working on FreeBSD 6.2 and hav e run into a 
snag.


It appears that Proftpd is not sending log detail to the auth or authpriv 
facility.


I have a simple Proftpd setup, with the SysLog directive completely removed, 
and according to the man, it is supposed to be sending to authpriv.


Also, I have the bruteblock syslog.conf setup as per the manual as well.

Proftpd and Bruteblock were both setup from ports.

Has anyone ran into a similar issue? If so, how did you get around it?

-Grant 


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


Re: rm -rf and fat fingers

2009-07-22 Thread Jimmie James

Rolf G Nielsen wrote:

Jimmie James wrote:
So here I was, half asleep, removing some old directories as root, and 
here's what I did...sitting in /home/jimmie after su


jim...@jimmiejaz 101 [0] /home/jimmie#rm -rf cd /usr/local/lib   
(note the space, the PWD is home/jimmie/)


Now, a lot of libs went missing from /usr/local/lib. With libchk, last 
locatedb I've been able to reinstall most of the libs.
My ~/ *seems* unaffected, but I'm worried about that, I don't notice 
anything missing, but I could be wrong.


What I'm thinking is the rm -rf found no 'cd' and moved to wipe out 
/usr/local/lib  Would this be a correct assumption?


And yes, I sat in the stupid corner with the dunce hat on.




Hi Jimmie,

Out of curiousity, what were you trying to do when you issued that command?

And this reminds me of an equally stupid thing I did a few years ago.
I had a directories named share on three different partitions. These 
were for files that I and my then current gf shared. At one point I 
wanted to clean them all out, and issued this command:


find -s / -type d -name share -exec rm -Rd {}/* \; -exec rm -Rd {}/.* \;

Fortunately I had backups. And after that I renamed those share 
directories to something else.


And yes, I too sat in the stupid corner.




I messed up the JPEG update somehow, many ports were failing to build. 
Ran libchk and found some unused/need libraries, and directories, so I 
was going to rm them.
Typed in rm -rf, flipped to another terminal to gather my list, then 
thought it would be better if I was actually in /usr/local/lib so typed 
in cd /usr/local/lib without realizing I was in the terminal with rm -rf 
ready to go... I noticed as soon as I hit [enter] and was able to ^c it 
a few seconds later, but the damage was done.  Lack of coffee/beer and 
administration is a Bad Thing (tm).


Pure stupidity trying to rush to get the day started. Lesson learned.


--
Over the years I've come to regard you as people I've met.
I may be schizophrenic, but at least I have each other, and when I am 
alone I am together.


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


Re: rm -rf and fat fingers

2009-07-22 Thread Rolf G Nielsen

Jimmie James wrote:
So here I was, half asleep, removing some old directories as root, and 
here's what I did...sitting in /home/jimmie after su


jim...@jimmiejaz 101 [0] /home/jimmie#rm -rf cd /usr/local/lib   (note 
the space, the PWD is home/jimmie/)


Now, a lot of libs went missing from /usr/local/lib. With libchk, last 
locatedb I've been able to reinstall most of the libs.
My ~/ *seems* unaffected, but I'm worried about that, I don't notice 
anything missing, but I could be wrong.


What I'm thinking is the rm -rf found no 'cd' and moved to wipe out 
/usr/local/lib  Would this be a correct assumption?


And yes, I sat in the stupid corner with the dunce hat on.




Hi Jimmie,

Out of curiousity, what were you trying to do when you issued that command?

And this reminds me of an equally stupid thing I did a few years ago.
I had a directories named share on three different partitions. These 
were for files that I and my then current gf shared. At one point I 
wanted to clean them all out, and issued this command:


find -s / -type d -name share -exec rm -Rd {}/* \; -exec rm -Rd {}/.* \;

Fortunately I had backups. And after that I renamed those share 
directories to something else.


And yes, I too sat in the stupid corner.

--

Rolf Nielsen
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: limit to number of files seen by ls?

2009-07-22 Thread Julian Zottl
How are you using ls?  I presume something along the lines of ls -la |
more.

What does sysctl fs.file-ma and sysctl kern.maxfiles tell you?

I've seen directories with 1+ files.  The only problem I've ever had
with that many is using the rm command.  In that case, you will need to use
something like find ./ -type f -exec rm {}\;

Take care,


Julian


On Wed, Jul 22, 2009 at 8:01 PM, John Almberg jalmb...@identry.com wrote:

 I seem to have run into an odd problem...

 A client has a directory with a big-ish number of jpgs... maybe 4000.
 Problem is, I can only see 2329 of them with ls, and I'm running into other
 problems, I think.

 Question: Is there some limit to the number of files that a directory can
 contain? Or rather, is there some number where things like ls start working
 incorrectly?

 -- John


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

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


Re: gutenprint and lpd

2009-07-22 Thread Polytropon
On Wed, 22 Jul 2009 07:26:21 -0700 (PDT), Andrew Gould andrewgo...@yahoo.com 
wrote:
 Is there a way to use gutenprint drivers with lpd when the
 printer definition is not in the foomatic database?

A problem is that CUPS seems to replace the default printer
spooler mechanism. There are settings in /etc/rc.conf that have
to be done in order to use CUPS and leave the lpd facility of
the BSD system aside.



 Is there something special I need to do for applications to see
 CUPS printers?

No. CUPS defines a printer name or uses the default lp. You
can set the environmental variable PRINTER to point to the default
printer.

CUPS works as a printer filter, called driver in MICROS~1 land.
Input data is given to this filter, and it translates it into the
natural language of the printer. This data is then handed to the
printer spooler's waiting queue, and finally transmitted into the
printer when it's online and ready.

As an example, I have apsfilter as a printer filter which creates
PCL from any input data (using gs) from any application. My printer
has the name Laserjet (a HP Laserjet 4000 duplex). I'm using
FreeBSD's printer spooler.

In your case: You surely want to solve the potential problem of
concurrent printer spoolers - those of the system (/usr/bin/lp*)
and those of CUPS (/usr/local/bin/lp*). I think there's documentation
around in the FreeBSD Handbook in the Printing section.

Personally, I dislike CUPS, but it seems to be the only way to get
unprinters work on FreeBSD - modern egg-laying woolmilksows that
do not conform to any standards...




-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: make installkernel KERNCONF= faults with error

2009-07-22 Thread Polytropon
On Wed, 22 Jul 2009 19:11:14 +0300, Anton an...@sng.by wrote:
 
Hello freebsd-questions,
 
It says that there is no libbsm

Check that all your sorces are complete and of the same version.
The libbsm is part of openbsm - /usr/src/contrib/openbsm/.


-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Ports and package creation Automation

2009-07-22 Thread Polytropon
On Wed, 22 Jul 2009 16:50:23 -0400, Glen Barber glen.j.bar...@gmail.com wrote:
 I believe you are looking for the following:
 make package
 make package-recursive

If you're using portupgrade / portinstall, the -p option
should be a good choice:

 -p
 --package  Build a package when each specified port is
installed or upgraded.  If a package is upgraded
and its dependent packages are given from the com-
mand line (including the case where -r is speci-
fied), build packages for them as well.

As well as for for make package, packages are stored in
the /usr/ports/packages/ directory.



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Install from a USB Pen

2009-07-22 Thread Fbsd1

Randi Harper wrote:

On Fri, Jul 17, 2009 at 8:41 PM, Fbsd1 fb...@a1poweruser.com wrote:


Took 3 times longer to download the 8.0-BETA1-i386-memstick.img that to
download the 8.0-BETA1-i386-disc1.iso. I suggest you look into another
method of creating the memstick.img so it downloads faster. dd does no
compression of the data.



-rw-r--r--1 110  1002 346845184 Jul 16 02:04
8.0-BETA2-i386-disc1.iso
-rw-r--r--1 110  1002 917391360 Jul 16 02:00
8.0-BETA2-i386-memstick.img

Note the filesize. This may be the reason it took 3 times longer. Just a
guess.



Using a 8gb memstick as the target to install 8.0 on took 2 times longer
than disc1 cd installing to same 8gb memstick.



Might have something to do with the amount of data being written. Again,
just a guess. Are you sure it wasn't 3 times longer?



Selected the [STANDARD/KERNEL DEVELOPER] distribution, It completed
successfully, but the new 8.0 8gb memstick was not recognized as bootable.



I don't know why that's the case as I am unable to reproduce this problem,
but if the memstick.img is 1GB, why are you using an 8GB memstick instead
of the 2GB?



Here is a script i have used in the past to convert the disc1.iso to
bootable memstick. Maybe its better to add this script to the place where
8.0-BETA1-i386-disc1.iso is located in place of the memstick.img.
That way the 3 times larger memstick.img is not needed any more.



No. If you took a look at the contents of the memstick, you'd realize it's
not just a copy of disc1. It also includes livefs. This is probably why the
memstick.img is so much bigger. :D

-- randi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org




Instead of combining disc1 and livefs into a single memstick.img would't 
it be better to make 2 memstick images. One of disc1 and one of livefs. 
This matches the standard all ready in place.



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


Are all USB Flash Memory sticks bootable?

2009-07-22 Thread Fbsd1
Have problem with being able to boot off an new 8GB USB Flash Memory 
stick. When I load the 8.0 disc1.iso to an 2GB USB Flash Memory stick it 
will boot fine. But when I do the same thing to a new 8GB USB Flash 
Memory stick it’s not recognized as bootable. I can access the installed 
partitions manually by mounting then on the 7.2 system. So I know the 
8GB stick has been loaded correctly. I am doing this on a 7.2 release.


Below are the console messages that get displayed when I plug in each of 
the USB Flash Memory stick. You can see a great difference between the 
first set of messages for the 8GB stick versus the 2GB stick that 
follows. I want to boot off the 8GB stick just like I do with the 2GB stick.


What is going on here? They should be handled the same way.


Brand new 8GB Kingston DataTraveler 120 purchased 7/16/09

 umass0: Kingston DataTraveler 120, class 0/0, rev 2.00/1.00, addr 2 
on uhub1

 (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
 (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
 (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition
 (probe0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0
 (probe0:umass-sim0:0:0:0): Not ready to ready change, medium may have 
changed

 (probe0:umass-sim0:0:0:0): Retrying Command (per Sense Data)
 da0 at umass-sim0 bus 0 target 0 lun 0
 da0: Kingston DataTraveler 120 1.00 Removable Direct Access SCSI-2 
device

 da0: 1.000MB/s transfers
 da0: 7643MB (15654848 512 byte sectors: 255H 63S/T 974C)
 GEOM_LABEL: Label for provider da0a is ufsid/4a615a2cc673eb3d.


# 3 year old 2GB Kingston DataTraveler
umass1: vendor 0x0930 USB Flash Memory, class 0/0, rev 2.00/2.00,
 addr 3 on uhub1
da1 at umass-sim1 bus 1 target 0 lun 0
da1:  USB Flash Memory 6.50 Removable Direct Access SCSI-0 device
da1: 1.000MB/s transfers



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