Re: Can a home LAN server use a jail as a router?

2010-12-07 Thread Martes G Wigglesworth


On 12/05/2010 10:53 PM, Da Rock wrote:

Is it possible to use FreeBSD to create three jails on one
box, so that one jail can be a router to the internet, and the other
two can be webservers?
What you seem to need is to run the host as a router, and create two or 
three more jails on top of that router kernel.
The default should be a  router and the secondary functions should be 
the jail.
I think you just need to read a bit more on how jails are used on the 
BSD platform and it will be clear to you.



I wanted to create an environment where if one
webserver got compromised, the other webserver would be unaffected.

This would be the true use of jails in your environment.
You want to isolate web services such as Apache installs into jails so 
if they get compromised then you don't have to worry about the rest of 
the system becoming completely compromised.

So I would
also like to make a jail to be a samba server. 
I believe that you can install samba inside a jailed environment as 
well, however, I have never done this, so I am not familiar with how it 
will be done, however, I have a Bind-9 environment where the external 
internet interface serves the internet my public information, and there 
is a second jail which hosts dns for the internal segment. So I can see 
how Samba can be installed in a jail, and it would make appropriate 
sense to do so.


I hope this helps you in your investigation(s).

--
Respectfully,


Martes G Wigglesworth
M. G. Wigglesworth Holdings, LLC
www.mgwigglesworth.net

___
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: Installer program for FreeBSD-9.0?

2010-12-07 Thread Thomas Mueller
On Mon, 6 Dec 2010 10:31:26 +, Bruce Cran br...@cran.org.uk wrote:
  There's a plan to replace sysinstall with pc-sysinstall, the
  PCBSD installer in 9.0. Currently the backend has been committed and
  people are working on a web interface frontend to allow people to do
  installations via a web browser.

 Does this imply that the installation requires running X
 plus a web browser, or a hard to use text mode web browser?
 Or is this intended to be used for remote installation only?
 Will the installer therefore be unusable for specific
 settings (headless, serial, text)?



  Meanwhile I'm hoping to find some time to improve sysinstall now that
  we don't support installation from floppies: I know there are some big
  improvements that can be made while not taking on the work of a complete
  rewrite.

 I agree that sysinstall could benefit from some improvements,
 especially the incorporation of the new partitioning methods,
 involving labels, ufsids, GEOM, GPT and PMBR, keeping the
 traditional methods MBR, fdisk, bsdlabel and newfs available
 for those systems that the user INTENDEDLY wants to install
 with those methods (e. g. older hardware).

 Polytropon
 Magdeburg, Germany

I guess FreeBSD installation from floppies is no longer supported because of 
the difficulty of fitting the kernel?

Otherwise, it would be theoretically possible to install FreeBSD from a lot of 
floppies, but finding sufficient errorfree floppies would be practically 
impossible.  I remember I had a substantial percentage of bad floppies when I 
needed five to install DR-DOS in 1999.  Floppies are now eleven years more 
advanced into deterioration.

While installation and update via web browser makes sense as an option, it must 
not be the only option.  What if the user starts with a blank hard drive, 
nothing installed?  Then one needs to be able to install from CD, DVD or USB 
drive.

I remember in the late 1990s updating OS/2 Warp 4 with a Service Pak via web 
browser (Web Explorer), so the idea isn't new.

Yes, there needs to be support for installing into the new partitioning 
methods.  Remember that thread I started about FreeBSD support for hard drive  
2 TB?  Western Digital has come out with up to 3 TB Caviar Green drive.  
Somebody might want to install FreeBSD and run a software repository on such a 
hard drive.


Tom

___
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: Installer program for FreeBSD-9.0?

2010-12-07 Thread Bruce Cran
On Tue, Dec 07, 2010 at 11:29:09AM +, Thomas Mueller wrote:
 While installation and update via web browser makes sense as an option, it 
 must not be the only option.  What if the user starts with a blank hard 
 drive, nothing installed?  Then one needs to be able to install from CD, DVD 
 or USB drive.

If the user starts with a blank HDD then the installer loads from the
CD/DVD, starts the web server on the disc and the user browses to the 
machine as normal.

-- 
Bruce Cran
___
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: Installer program for FreeBSD-9.0?

2010-12-07 Thread Bruce Cran
On Tue, 07 Dec 2010 11:29:09 +
Thomas Mueller mueller6...@bellsouth.net wrote:

 Otherwise, it would be theoretically possible to install FreeBSD from
 a lot of floppies, but finding sufficient errorfree floppies would be
 practically impossible.  I remember I had a substantial percentage of
 bad floppies when I needed five to install DR-DOS in 1999.  Floppies
 are now eleven years more advanced into deterioration.

It's easy enough to find error-free floppy disks if you don't mind
paying for them: http://www.amazon.co.uk/b?ie=UTF8node=430460031 :)

-- 
Bruce Cran
___
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: devel/gobject-introspection throws up because of python

2010-12-07 Thread Lowell Gilbert
Chris Brennan xa...@xaerolimit.net writes:

 While trying to compile audio/tagtool on a FreeBSD7.3 (x86) machine
 devel/gobject-introspection decides to throw up and I got this: (the install
 was via portmaster -d)

Looks like your python installation is broken.  

Try rebuilding that first.
___
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 3.5.1-RELEASE

2010-12-07 Thread Kazuhiro Satoyoshi
Dear sir,
   
  Hi, I'm kazu from Japan.
I'd like to install [freebsd 3.5.1-RELEASE] into my PC.
(I have no idea wether this version(3.5.1) is proper for my PC...)
  I browsed around Internet, but I could't find this FILES.
  How can I do?
I need your help!
   
  I think my PC is like below:
FMV DESKPER ME4/535P
   
  sincerely,
  kazu
 

 
-
Learn more about HIV/AIDS - Red Ribbon Campaign 2010
___
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: FreeBSD 3.5.1-RELEASE

2010-12-07 Thread Jerry McAllister
On Tue, Dec 07, 2010 at 10:40:43PM +0900, Kazuhiro Satoyoshi wrote:

 Dear sir,

   Hi, I'm kazu from Japan.
 I'd like to install [freebsd 3.5.1-RELEASE] into my PC.

Is there any good reason for installing such an ancient version
of FreeBSD?Install the most recent RELEASE you can get to
run on it.   Try 8.1 now.


 (I have no idea wether this version(3.5.1) is proper for my PC...)
   I browsed around Internet, but I could't find this FILES.
   How can I do?
 I need your help!

   I think my PC is like below:
 FMV DESKPER ME4/535P

I have no idea what an   FMV DESKPER ME4/535P   is.

jerry   


   sincerely,
   kazu
  
 
  
 -
 Learn more about HIV/AIDS - Red Ribbon Campaign 2010
 ___
 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: zpool won't mount as dataset stuck

2010-12-07 Thread Geoff Roberts
Hi,

On Sun, 28 Nov 2010 04:30:48 pm Geoff Roberts wrote:
 Long and short is I can see the tank zpool without a problem, but
 whenever I try to import it the disk light flashes every second and
 the datasets won't mount.
 
 I can run a history command on tank and that shows the following
 repeated every second (tgx keeps incrementing by one):
 
 2010-11-28.15:08:33 [internal rollback txg:9645688] dataset = 222
 [user root on systemname.com]
 2010-11-28.15:08:34 [internal rollback txg:9645689] dataset = 222
 [user root on systemname.com]

Just for reference, I was able to use the steps below to recover the data of 
the zpool that was stuck. The steps below were done using virtual machines. 
The zpool history command was a great help as well.

a) Created a FreeBSD 9.0 system and applied a ZFS v28 patch for a few features 
that looked useful for my problem.

i) Ability to mount zpool in readonly

ii) Ability to mount zpool with -N (do not mount datasets)

iii) Ability to mount zpool with -T to specify a particular transaction set. 
In the end I didn't need this feature.

b) Took an image of one of the mirror partitions housing the zpool using dd 
and transferred that to a file on a stand UFS2 file system. This was so I could 
work on a copy and transfer the data on an external hard disk to the FreeBSD 
9.0 virtual machine.

c) Used mdconfig to mount the file image on the FreeBSD 9.0 system.

d) I was able to use zpool import -o readonly=on -N poolname

The readonly option in particular seemed to stop the last transaction 
continually attempting to run in an endless loop.

e) I could then see the datasets. From here I was able to mount them and 
recover all the data.

Geoff

___
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: FreeBSD 3.5.1-RELEASE

2010-12-07 Thread Bruce Cran
On Tue, 7 Dec 2010 11:14:10 -0500
Jerry McAllister jerr...@msu.edu wrote:

 I have no idea what an   FMV DESKPER ME4/535P   is.

It looks like one of these:
http://www.fmworld.net/product/former/dp0005/m_series.html . They're
old, but not so old that 8.1 shouldn't work. If you only have 64MB
memory you'll need to build a custom kernel to get the most out of it.
I have an equivalent machine with 128MB RAM (EPIA5000 with a 533MHz CPU)
and it does routing and runs a DNS server well enough.

-- 
Bruce Cran
___
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: ZFS

2010-12-07 Thread krad
On 6 December 2010 09:45, Elias Chrysocheris elias...@cha.forthnet.grwrote:

 On Monday 06 of December 2010 02:38:12 Gabor Illo wrote:
  2010/12/6 Elias Chrysocheris elias...@cha.forthnet.gr:
   Sorry, my mistake... I used cd without the / when I was in the dist
   directory... So I cannot see why it does not work for you... What disk
   are you trying to use? Is it the official DVD?
  
   Regards
   Elias
 
  I use livefs sysinstall FIXME option (defined wiki 1.2 step), fixme
  shell only works livefs CD.

 Well.. I thing that in livefs cd there are no installation packages of the
 release. I thing it contains only the necessary software for the livefs
 system. It is better to use the installation DVD that also contains the
 livefs
 and Fixme console and all the necessary system's packages.

 That will do. I don't know if the installation CD also works, but the DVD
 is
 OK. I've done it many times before...

 Regards,
 Elias
 ___
 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


the easiest way to do zfs root is use the pc-bsd disk but select the freebsd
install not the pc bsd one
___
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


USB Stack/# of bytes to read?

2010-12-07 Thread Brian J. McGovern
All,

  I have a couple of quick questions about the USB stack in 8.x that I'm hoping
someone with a bit more experience than I can answer.

  I am currently working on a device driver for a Velleman K8055 board. 
Basically, it does digital and analog I/O under the control of a PC via USB. 
I've got the basic driver working fine, and I'm moving data back and forth 
without issue.

  What I'd like to be able to do, however, is poll the driver to see how much
data is sitting in the input buffer, or at least see how many packet/buffers
are waiting. Looking through the control structures, it appears that something
like sc-fifo.fp[USB_FIFO_TX]-used_q.ifq_len would be the right field, but it
never appears to be set anywhere (and is always 0). Using something like 
USB_IF_POLL() on the used_q suggests there is something to write, but not how
much.

  On a similar line of thinking, how about flushing the queue entirely? Should
I call usb_fifo_reset() directly? Or should I just reimplement the logic?

  -B
___
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: Why do you use a devil as a mascot?

2010-12-07 Thread Richard T C Farnes
To Da Rock and others
Please feel free  to use my text here in any marketing.

On Tuesday 23 November 2010 00:47:50 Da Rock wrote:
 On 11/23/10 07:29, Richard T C Farnes wrote:
  Why do some people get  hung up in some  features of our cute little
  mascot that remind them of devils. You must look at it in a positive way
  that represents FreeBSD like a sporting character that has a sporty
  attitude. Just observe the modern running shoes and it has a harpoon in
  its hand to signify being ready to attack all problems on the way. Linux
  has only a lazy penguin that does not seem to be  doing anything except
  sitting on its behind.
 
  Hope this answers all questions about this matter
  Sign
  Richard Farnes

 If you don't mind, I'll use that perspective in my marketing. I like
 that one :)

  On Saturday 20 November 2010 09:00:04 Da Rock wrote:
  On 11/14/10 05:22, Chad Perrin wrote:
  On Sat, Nov 13, 2010 at 12:36:29PM -0500, Jerry McAllister wrote:
  On Fri, Nov 12, 2010 at 07:08:51PM -0500, Chris Brennan wrote:
  Did you know...
  If you play a Windows 2000 CD backwards, you hear satanic messages,
  but what's worse is when you play it forward
 
  I like this one - though you could update if from W 2000 to a more
  current one.
 
  I vote Vista.
 
  I vote Winblow$ 7. The bloody cloud for photos ad on tv gives me the
  shits no end. 1) As if you'd need more than one computer to edit a
  photo, and 2) as if you could solve anything with M$ crap in the first
  place...
 
  And the missus doesn't like the idea of an unnatural photo either, so
  that'd be 2 votes
 
  Oh and thank you! Finally I have a FreeBSD media system! Hoorah! Now to
  move forward finally...
 
  ___
  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

 ___
 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: can't mount root during freebsd-update 7.0 - 8.1 on amd64

2010-12-07 Thread joost
 2010/12/5  jo...@jodocus.org:
 Hi

 I'm trying to upgrade a amd64 box from 7.0-RELEASE to 8.1-RELEASE with
 freebsd-update. After the first reboot the 8.1R GENERIC kernel loads
 (I'm
 using a custom kernel, so at this point the generic kernel is loaded
 manually)
 It then claims it can't mount /


 GEOM_PART becomes the default slicer

 Status: Committed to -CURRENT
 Will appear in 8.0: sure
 Author: Marcel Moolenaar  others
 Web: commit message

 GEOM_PART (gpart) is a new GEOM partition class (slicer) and utility
 that rolls up support for many partitioning formats (MBR, BSD, GPT
 etc.) into a single code base.

 NOTE: Caveat when upgrading! GEOM_PART might interpret existing
 partition tables (especially if many operating systems are present -
 multi boot) differently than the previous classes. Your devices might
 get renamed.

 NOTE: Some old utilities like bsdlabel may not work if the kernel
 doesn't include GEOM_BSD and other old slicer classes. In other words,
 bsdlabel et al don't work with GEOM_PART.

 Maybe you're encountering this trouble right now. what I would advise
 you is using labels. Please do the following :

 tunefs -L root /dev/ad4a
 tunefs -L var /dev/ad4e (assuming it's e on your system ?)
 and for usr, tmp, etc ...

From a fixit environment. then edit your /etc/fstab and place
 /dev/ufs/root /dev/ufs/var instead of hardcoding the device node.


Adding labels to the partitions doesn't help. I've tried both UFS and GEOM
labels. You did point me in the right direction though.

If I load geom_mbr my partitions show up and all is well. I think it was
actually the slice that wasn't recognized.

geom_part should have recognized the mbr, right? I've scanned
g_part_mbr_probe() and all the checks it does should succeed. DOSMAGIC is
there. The first byte of each row in the partition table is either 0x80 of
0x00. geom_part seems to do first match when probing. is there a way for
me to find out which geom_part_* module is staking a claim on my mbr?

I'm assuming I'm not the first person to try 8.x on amd64 with an mbr on a
disk so there must be something 'special' with this system...


Joost.

___
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: Why do you use a devil as a mascot?

2010-12-07 Thread Steve Bertrand
On 2010.11.11 19:44, Ryan Coleman wrote:
 Not this shit again...

Amen!

Steve
___
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: Can a home LAN server use a jail as a router?

2010-12-07 Thread Xn Nooby
 I hope this helps you in your investigation(s).

Yes, thank you and the previous poster.  It sounds like my outer box
needs to be the router, and everything else should be a jail. I will
do some more reading up on jails.  Thanks!
___
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: Why do you use a devil as a mascot?

2010-12-07 Thread Steve Bertrand
On 2010.11.11 23:49, Adam Vande More wrote:

 I thought I remembered this little gem:
 
 http://lists.freebsd.org/pipermail/freebsd-questions/2008-June/177810.html

LMFAO!!

Steve

___
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


Anybody else have an ASUS 900A?

2010-12-07 Thread Gary Kline

Well, no wonder it was so cheap; ASUS is going with their 10
model  Eventually I will put on FBSD; for the time being, if
anyone else onlist has this model, please write off list.
Trying to find the best way to put on ktts.

gary



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
   Journey Toward the Dawn, E-Book: http://www.thought.org
  The 7.97a release of Jottings: http://jottings.thought.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: can't mount root during freebsd-update 7.0 - 8.1 on amd64

2010-12-07 Thread Steve Randall
On Tue, 7 Dec 2010 19:09:53 +0100
jo...@jodocus.org wrote:

  2010/12/5  jo...@jodocus.org:
  Hi
 
  I'm trying to upgrade a amd64 box from 7.0-RELEASE to 8.1-RELEASE with
  freebsd-update. After the first reboot the 8.1R GENERIC kernel loads
  (I'm
  using a custom kernel, so at this point the generic kernel is loaded
  manually)
  It then claims it can't mount /
 
 
  GEOM_PART becomes the default slicer
 
  Status: Committed to -CURRENT
  Will appear in 8.0: sure
  Author: Marcel Moolenaar  others
  Web: commit message
 
  GEOM_PART (gpart) is a new GEOM partition class (slicer) and utility
  that rolls up support for many partitioning formats (MBR, BSD, GPT
  etc.) into a single code base.
 
  NOTE: Caveat when upgrading! GEOM_PART might interpret existing
  partition tables (especially if many operating systems are present -
  multi boot) differently than the previous classes. Your devices might
  get renamed.

I guess that's the key paragraph.


 
  NOTE: Some old utilities like bsdlabel may not work if the kernel
  doesn't include GEOM_BSD and other old slicer classes. In other words,
  bsdlabel et al don't work with GEOM_PART.
 
  Maybe you're encountering this trouble right now. what I would advise
  you is using labels. Please do the following :
 
  tunefs -L root /dev/ad4a
  tunefs -L var /dev/ad4e (assuming it's e on your system ?)
  and for usr, tmp, etc ...
 
 From a fixit environment. then edit your /etc/fstab and place
  /dev/ufs/root /dev/ufs/var instead of hardcoding the device node.
 
 
 Adding labels to the partitions doesn't help. I've tried both UFS and GEOM
 labels. You did point me in the right direction though.
 
 If I load geom_mbr my partitions show up and all is well. I think it was
 actually the slice that wasn't recognized.
 
 geom_part should have recognized the mbr, right? I've scanned
 g_part_mbr_probe() and all the checks it does should succeed. DOSMAGIC is
 there. The first byte of each row in the partition table is either 0x80 of
 0x00. geom_part seems to do first match when probing. is there a way for
 me to find out which geom_part_* module is staking a claim on my mbr?

You mean on ad4.

$ gpart show ad4

Your disk was at one time dangerously dedicated and later converted
to MBR. But there is still an obsolete BSD label in block 1 of the disk.

# dd if=/dev/zero of=/dev/ad4 seek=1 count=1
___
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: portupgrade causes kernel message: maxproc limit exceeded by uid 0

2010-12-07 Thread CyberLeo Kitsana
On 12/05/2010 10:45 AM, Lowell Gilbert wrote:
 Yuri y...@rawbw.com writes:
 
 Beginning at some time less than 1 month ago I started getting such
 message. Increasing maxproc doesn't help. Current values are like
 this:
 kern.maxproc: 6164
 kern.maxprocperuid: 5547

 What may be causing such condition?
 
 limits(1), perhaps?

I DoSed a remote box building devel/glib20 too. Just now reproduced it
locally.

It manifested as a forkbomb somewhere in gnome-libtool while building
glib-2.26.1 inside a clean chroot (not a jail). The issue seemed to only
manifest within the chroot, regardless of whether the configuration was
identical to the host or not. It did not occur when attempting to build
on the host machine.

Every other package I built worked just fine.

I eventually tracked it down to a stray colon at the start of the PATH
variable in my chroot build environment:

PATH=:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

Thus, it might be a good idea to verify that your build environment
variables and config files are sane.

==

mv -f .deps/gdatetime.Tpo .deps/gdatetime.Po
/bin/sh /usr/obj/usr/ports/devel/glib20/work/gnome-libtool  --tag=CC
--mode=link cc  -O2 -pipe -O2 -pipe -march=nocona -fno-strict-aliasing
-Wall  -L/usr/local/lib -lintl -o strfuncs strfuncs.o
../../glib/libglib-2.0.la  -lm
mv -f .deps/regex.Tpo .deps/regex.Po
/bin/sh /usr/obj/usr/ports/devel/glib20/work/gnome-libtool  --tag=CC
--mode=link cc  -O2 -pipe -O2 -pipe -march=nocona -fno-strict-aliasing
-Wall  -L/usr/local/lib -lintl -o string string.o
../../glib/libglib-2.0.la  -lm
printf: Cannot fork: Resource temporarily unavailable
printf: Cannot fork: Resource temporarily unavailable
printf: Cannot fork: Resource temporarily unavailable
printf: Cannot fork: Resource temporarily unavailable
printf: Cannot fork: Resource temporarily unavailable
/libexec/ld-elf.so.1: Shared object libglib-2.0.so.0 not found,
required by printf

==

-- 
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
cyber...@cyberleo.net

Furry Peace! - http://.fur.com/peace/
___
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


Shopping cart other than OSCommerce?

2010-12-07 Thread Jorge Biquez

Hello all.

I would like to hear your advice, if possible,  based on experience 
about what Shopping cart other than OSCommerce consider as an 
excellent choice to be run under FreeBSD.


With a provider where I had a dedicated server, not running FreeBsd , 
the entire server was hacked and before leaving them, the tech 
support people said that the hacking was because of a problem with 
some libraries under PHP AND OSCOMMERCE. They never could prove that 
but I leave them since the entire server was hacked, not information 
stolen but ONLY that$ all  web pages (.html, .php) pages where 
changed, all under different domains  and account jailed (?) using 
CPANEL. Anyway. I am not sure how sensible is OSCCOmmerce to that 
since I know it is very popular but I would like to test something else.


I know there are tons of options but would like to hear your comments 
about what are you using and what do you recommend me to try that 
have proved that runs fine under Freebsd.


The idea is to have  4 domains running the same software (could be 
multiple instances) under different DOMAINS: If possible that would 
be multilangua or at least that support English and Spanish, free and 
it does not matter if uses PHP or something else. SOmething important 
is that my test machine is an old one running Freebsd 7.3, 2 
processors 386 with 1 GB of RAM, once I have running all without 
problems will move to a newer one that will run Freebsd 8.1.


Thanks in advance.

Jorge Biquez

___
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: Shopping cart other than OSCommerce?

2010-12-07 Thread Chuck Swiger
On Dec 7, 2010, at 12:36 PM, Jorge Biquez wrote:
 With a provider where I had a dedicated server, not running FreeBsd , the 
 entire server was hacked and before leaving them, the tech support people 
 said that the hacking was because of a problem with some libraries under PHP 
 AND OSCOMMERCE. They never could prove that but I leave them since the entire 
 server was hacked, not information stolen but ONLY that$ all  web pages 
 (.html, .php) pages where changed, all under different domains  and account 
 jailed (?) using CPANEL. Anyway. I am not sure how sensible is OSCCOmmerce to 
 that since I know it is very popular but I would like to test something else.

30 seconds with a Google search suggests that osCommerce has unpatched security 
vulnerabilities which do lead to compromise of admin and arbitrary PHP code 
execution:

  http://secunia.com/advisories/product/1308/

Affected By 7 Secunia advisories
44 Vulnerabilities

Unpatched29% (2 of 7 Secunia advisories)

Most Critical Unpatched
The most severe unpatched Secunia advisory affecting osCommerce 2.x, with all 
vendor patches applied, is rated Highly critical.

  http://secunia.com/advisories/33446/

1) The application allows users to perform certain actions via HTTP requests 
without performing any validity checks to verify the requests. This can be 
exploited to e.g. create additional administrator accounts by tricking an 
administrative user into visiting a malicious web site.

2) An error in the authentication mechanism can be exploited to bypass 
authentication checks and gain access to the administrative interface in the 
admin/ folder.

Successful exploitation allows to upload and execute arbitrary PHP code e.g. 
via the file_manager.php script.

In other words, your former site's tech support people were likely right-- the 
site was almost certainly hacked because of osCommerce.  Find something else, 
preferably something which is not based upon PHP.

Regards,
-- 
-Chuck

___
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: Can a home LAN server use a jail as a router?

2010-12-07 Thread Nikos Vassiliadis

On 12/7/2010 8:15 PM, Xn Nooby wrote:

I hope this helps you in your investigation(s).


Yes, thank you and the previous poster.  It sounds like my outer box
needs to be the router, and everything else should be a jail. I will
do some more reading up on jails.  Thanks!


You can create infinitely complex network topologies,
using vnet jails. Check the URLs below to get the picture:

http://imunes.tel.fer.hr/virtnet/eurobsdcon07_tutorial.pdf
http://wiki.freebsd.org/Image/VNETSamples

Just my 2 cents, 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: Shopping cart other than OSCommerce?

2010-12-07 Thread Jorge Biquez

Hello all.

Thanks for the time and rapid response Mr Chuck.

Yes. Seems like the guilty one was OSCommerce. I am looking exactly 
for other option, as you say maybe not PHP ones and that's why asked 
for advice based on experinces of what people is using. I am looking 
for python option also. My needs are very simple, even a catalog of 
products without the shopping cart will be enough. I am also looking 
options that let you add modules. I want to continue using Freebsd, 
continue learning and also solve a personal need.
 Of course the idea is not to start a war between PHP lovers and any 
other language, but options and suggestions are very welcome. Anyway. 
I will continue searching. And when I find the solution will posted 
here , maybe could be of help to someone.


By the way. It is great to receive advise from people like you all 
guys. I have been on the list for several years and I always learn 
something , always.


Thanks to all

Jorge Biquez

At 03:01 p.m. 07/12/2010, Chuck Swiger wrote:

On Dec 7, 2010, at 12:36 PM, Jorge Biquez wrote:
 With a provider where I had a dedicated server, not running 
FreeBsd , the entire server was hacked and before leaving them, the 
tech support people said that the hacking was because of a problem 
with some libraries under PHP AND OSCOMMERCE. They never could 
prove that but I leave them since the entire server was hacked, not 
information stolen but ONLY that$ all  web pages (.html, .php) 
pages where changed, all under different domains  and account 
jailed (?) using CPANEL. Anyway. I am not sure how sensible is 
OSCCOmmerce to that since I know it is very popular but I would 
like to test something else.


30 seconds with a Google search suggests that osCommerce has 
unpatched security vulnerabilities which do lead to compromise of 
admin and arbitrary PHP code execution:


  http://secunia.com/advisories/product/1308/

Affected By7 Secunia advisories
44 Vulnerabilities

Unpatched   29% (2 of 7 Secunia advisories)

Most Critical Unpatched
The most severe unpatched Secunia advisory affecting osCommerce 2.x, 
with all vendor patches applied, is rated Highly critical.


  http://secunia.com/advisories/33446/

1) The application allows users to perform certain actions via HTTP 
requests without performing any validity checks to verify the 
requests. This can be exploited to e.g. create additional 
administrator accounts by tricking an administrative user into 
visiting a malicious web site.


2) An error in the authentication mechanism can be exploited to 
bypass authentication checks and gain access to the administrative 
interface in the admin/ folder.


Successful exploitation allows to upload and execute arbitrary PHP 
code e.g. via the file_manager.php script.


In other words, your former site's tech support people were likely 
right-- the site was almost certainly hacked because of 
osCommerce.  Find something else, preferably something which is not 
based upon PHP.


Regards,
--
-Chuck

___
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: Shopping cart other than OSCommerce?

2010-12-07 Thread Jerry
On Tue, 07 Dec 2010 15:32:06 -0600
Jorge Biquez jbiq...@intranet.com.mx articulated:

 At 03:01 p.m. 07/12/2010, Chuck Swiger wrote:
 On Dec 7, 2010, at 12:36 PM, Jorge Biquez wrote:
   With a provider where I had a dedicated server, not running 
  FreeBsd , the entire server was hacked and before leaving them, the 
  tech support people said that the hacking was because of a problem 
  with some libraries under PHP AND OSCOMMERCE. They never could 
  prove that but I leave them since the entire server was hacked, not 
  information stolen but ONLY that$ all  web pages (.html, .php) 
  pages where changed, all under different domains  and account 
  jailed (?) using CPANEL. Anyway. I am not sure how sensible is 
  OSCCOmmerce to that since I know it is very popular but I would 
  like to test something else.
 
 30 seconds with a Google search suggests that osCommerce has 
 unpatched security vulnerabilities which do lead to compromise of 
 admin and arbitrary PHP code execution:
 
http://secunia.com/advisories/product/1308/
 
 Affected By7 Secunia advisories
  44 Vulnerabilities
 
 Unpatched   29% (2 of 7 Secunia advisories)
 
 Most Critical Unpatched
 The most severe unpatched Secunia advisory affecting osCommerce 2.x, 
 with all vendor patches applied, is rated Highly critical.
 
http://secunia.com/advisories/33446/
 
 1) The application allows users to perform certain actions via HTTP 
 requests without performing any validity checks to verify the 
 requests. This can be exploited to e.g. create additional 
 administrator accounts by tricking an administrative user into 
 visiting a malicious web site.
 
 2) An error in the authentication mechanism can be exploited to 
 bypass authentication checks and gain access to the administrative 
 interface in the admin/ folder.
 
 Successful exploitation allows to upload and execute arbitrary PHP 
 code e.g. via the file_manager.php script.
 
 In other words, your former site's tech support people were likely 
 right-- the site was almost certainly hacked because of 
 osCommerce.  Find something else, preferably something which is not 
 based upon PHP.
 
 Thanks for the time and rapid response Mr Chuck.
 
 Yes. Seems like the guilty one was OSCommerce. I am looking exactly 
 for other option, as you say maybe not PHP ones and that's why asked 
 for advice based on experinces of what people is using. I am looking 
 for python option also. My needs are very simple, even a catalog of 
 products without the shopping cart will be enough. I am also looking 
 options that let you add modules. I want to continue using Freebsd, 
 continue learning and also solve a personal need.
   Of course the idea is not to start a war between PHP lovers and any 
 other language, but options and suggestions are very welcome. Anyway. 
 I will continue searching. And when I find the solution will posted 
 here , maybe could be of help to someone.
 
 By the way. It is great to receive advise from people like you all 
 guys. I have been on the list for several years and I always learn 
 something , always.

Seriously, have you tried Googling for a potential solution? I just
spent a few minutes and found several candidates.

-- 
Jerry ✌
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

___
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: Shopping cart other than OSCommerce?

2010-12-07 Thread Jorge Biquez


At 04:04 p.m. 07/12/2010, you wrote:

On Tue, 07 Dec 2010 15:32:06 -0600
Jorge Biquez jbiq...@intranet.com.mx articulated:

 At 03:01 p.m. 07/12/2010, Chuck Swiger wrote:
 On Dec 7, 2010, at 12:36 PM, Jorge Biquez wrote:
   With a provider where I had a dedicated server, not running
  FreeBsd , the entire server was hacked and before leaving them, the
  tech support people said that the hacking was because of a problem
  with some libraries under PHP AND OSCOMMERCE. They never could
  prove that but I leave them since the entire server was hacked, not
  information stolen but ONLY that$ all  web pages (.html, .php)
  pages where changed, all under different domains  and account
  jailed (?) using CPANEL. Anyway. I am not sure how sensible is
  OSCCOmmerce to that since I know it is very popular but I would
  like to test something else.
 
 30 seconds with a Google search suggests that osCommerce has
 unpatched security vulnerabilities which do lead to compromise of
 admin and arbitrary PHP code execution:
 
http://secunia.com/advisories/product/1308/
 
 Affected By7 Secunia advisories
  44 Vulnerabilities
 
 Unpatched   29% (2 of 7 Secunia advisories)
 
 Most Critical Unpatched
 The most severe unpatched Secunia advisory affecting osCommerce 2.x,
 with all vendor patches applied, is rated Highly critical.
 
http://secunia.com/advisories/33446/
 
 1) The application allows users to perform certain actions via HTTP
 requests without performing any validity checks to verify the
 requests. This can be exploited to e.g. create additional
 administrator accounts by tricking an administrative user into
 visiting a malicious web site.
 
 2) An error in the authentication mechanism can be exploited to
 bypass authentication checks and gain access to the administrative
 interface in the admin/ folder.
 
 Successful exploitation allows to upload and execute arbitrary PHP
 code e.g. via the file_manager.php script.
 
 In other words, your former site's tech support people were likely
 right-- the site was almost certainly hacked because of
 osCommerce.  Find something else, preferably something which is not
 based upon PHP.

 Thanks for the time and rapid response Mr Chuck.

 Yes. Seems like the guilty one was OSCommerce. I am looking exactly
 for other option, as you say maybe not PHP ones and that's why asked
 for advice based on experinces of what people is using. I am looking
 for python option also. My needs are very simple, even a catalog of
 products without the shopping cart will be enough. I am also looking
 options that let you add modules. I want to continue using Freebsd,
 continue learning and also solve a personal need.
   Of course the idea is not to start a war between PHP lovers and any
 other language, but options and suggestions are very welcome. Anyway.
 I will continue searching. And when I find the solution will posted
 here , maybe could be of help to someone.

 By the way. It is great to receive advise from people like you all
 guys. I have been on the list for several years and I always learn
 something , always.

Seriously, have you tried Googling for a potential solution? I just
spent a few minutes and found several candidates.

--
Jerry ✌
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__




Hello.
I have found several already with Google just 
not sure what path to follow and that's why I 
wanted to know what suggestions other has on what 
are using actually under Freebsd. Of course there 
are several ones, some look very good and promising yes.


Thanks in advance

Jorge Biquez

___
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: Shopping cart other than OSCommerce?

2010-12-07 Thread Matthew Seaman
On 07/12/2010 21:32, Jorge Biquez wrote:
 Seems like the guilty one was OSCommerce. I am looking exactly for other
 option, as you say maybe not PHP ones and that's why asked for advice
 based on experinces of what people is using.

Take a look at Magento -- it's in ports: www/magento.

Despite being written in PHP, Magento is not bad security wise.  There's
a company behind it which is very actively developing the application,
and they are receptive and responsive to reports of security problems,
or bugs in general.  Many household name companies
are using it.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: Shopping cart other than OSCommerce?

2010-12-07 Thread Jerry
On Tue, 07 Dec 2010 16:10:38 -0600
Jorge Biquez jbiq...@intranet.com.mx articulated:

[snip]

 I have found several already with Google just 
 not sure what path to follow and that's why I 
 wanted to know what suggestions other has on what 
 are using actually under Freebsd. Of course there 
 are several ones, some look very good and promising yes.

I don't think that FreeBSD offers much in that arena in the ports
system. A quick perusal only turned up two candidates.

http://www.freebsd.org/cgi/ports.cgi?query=shoppingstype=allsektion=all

You might be able to locate others though.

-- 
Jerry ✌
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__
I'm so broke I can't even pay attention.
___
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: Installer program for FreeBSD-9.0?

2010-12-07 Thread Julian H. Stacey
Bruce Cran wrote:
 On Tue, Dec 07, 2010 at 11:29:09AM +, Thomas Mueller wrote:
  While installation and update via web browser makes sense as an option, it 
  must not be the only option.  What if the user starts with a blank hard 
  drive, nothing installed?  Then one needs to be able to install from CD, 
  DVD or USB drive.

FreeBSD has no instal...@freebsd.org list.  Should it ?  Only a few
people tend to work on  know the constraints of the installer,
many people over years have have made suggestions  comments, would
it be more efficient if FAQs were auto archived  easily found in
an instal...@freebsd.org archive ?

My comments/ wish list
- One text mode (non bitmap graphical) browser: /usr/ports/www/lynx
- Still too complex for blind/ partially sighted people with special I/O
  phsical devs, I guess.
- There are small clones of standard vi, with executables
  no larger than ee, could replace ee.

Cheers,
Julian
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
Mail plain text;  Not quoted-printable, or HTML or base 64.
Avoid top posting, it cripples itemised cumulative responses.
___
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: Installer program for FreeBSD-9.0?

2010-12-07 Thread Bruce Cran
On Wed, 08 Dec 2010 00:09:24 +0100
Julian H. Stacey j...@berklix.com wrote:

 FreeBSD has no instal...@freebsd.org list.  Should it ?  Only a few
 people tend to work on  know the constraints of the installer,
 many people over years have have made suggestions  comments, would
 it be more efficient if FAQs were auto archived  easily found in
 an instal...@freebsd.org archive ?

We've had freebsd-sysinst...@freebsd.org for a few months now.

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


USB management utility

2010-12-07 Thread Chad Perrin
Is there a simple command line utility that takes the disorganized
annoyance out of simple USB device management?  For instance, something
that comes with simple commands in a unified CLI interface (preferably
not curses-style captive interface, though I guess I'll take what I can
get) for tasks like listing connected devices, mounting and unmounting,
et cetera, would be fantastic.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgpWAElrUqcW7.pgp
Description: PGP signature


Re: USB management utility

2010-12-07 Thread Bruce Cran
On Tue, 7 Dec 2010 16:21:43 -0700
Chad Perrin per...@apotheon.com wrote:

 Is there a simple command line utility that takes the disorganized
 annoyance out of simple USB device management?

usbconfig(8)?

-- 
Bruce Cran
___
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: Shopping cart other than OSCommerce?

2010-12-07 Thread Da Rock

On 12/08/10 07:01, Chuck Swiger wrote:

On Dec 7, 2010, at 12:36 PM, Jorge Biquez wrote:
   

With a provider where I had a dedicated server, not running FreeBsd , the 
entire server was hacked and before leaving them, the tech support people said 
that the hacking was because of a problem with some libraries under PHP AND 
OSCOMMERCE. They never could prove that but I leave them since the entire 
server was hacked, not information stolen but ONLY that$ all  web pages (.html, 
.php) pages where changed, all under different domains  and account jailed (?) 
using CPANEL. Anyway. I am not sure how sensible is OSCCOmmerce to that since I 
know it is very popular but I would like to test something else.
 

30 seconds with a Google search suggests that osCommerce has unpatched security 
vulnerabilities which do lead to compromise of admin and arbitrary PHP code 
execution:

   http://secunia.com/advisories/product/1308/

Affected By7 Secunia advisories
 44 Vulnerabilities

Unpatched29% (2 of 7 Secunia advisories)

Most Critical Unpatched
The most severe unpatched Secunia advisory affecting osCommerce 2.x, with all vendor 
patches applied, is rated Highly critical.

   http://secunia.com/advisories/33446/

1) The application allows users to perform certain actions via HTTP requests 
without performing any validity checks to verify the requests. This can be exploited 
to e.g. create additional administrator accounts by tricking an administrative user 
into visiting a malicious web site.

2) An error in the authentication mechanism can be exploited to bypass authentication 
checks and gain access to the administrative interface in the admin/ folder.

Successful exploitation allows to upload and execute arbitrary PHP code e.g. via the 
file_manager.php script.

In other words, your former site's tech support people were likely right-- the 
site was almost certainly hacked because of osCommerce.  Find something else, 
preferably something which is not based upon PHP.

Regards,
   
One to point out the obvious, and two to clarify your view here: why not 
php? Php was the scripting used, but if used poorly will create a 
security risk in the web app. That means that the vulnerability is the 
coder's problem; not php itself. God knows how many references there are 
to what not to do for security reasons on the php site.


Vulnerabilities due to bad coding is not the fault of the language used, 
otherwise we wouldn't be using c, c++, etc.


I ask because I'm coding web apps in php myself, and I'm curious to know 
if my view is in error...

___
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: Shopping cart other than OSCommerce?

2010-12-07 Thread Chuck Swiger
On Dec 7, 2010, at 4:27 PM, Da Rock wrote:
 One to point out the obvious, and two to clarify your view here: why not php? 
 Php was the scripting used, but if used poorly will create a security risk in 
 the web app. That means that the vulnerability is the coder's problem; not 
 php itself. God knows how many references there are to what not to do for 
 security reasons on the php site.
 
 Vulnerabilities due to bad coding is not the fault of the language used, 
 otherwise we wouldn't be using c, c++, etc.
 
 I ask because I'm coding web apps in php myself, and I'm curious to know if 
 my view is in error...

I would disagree and argue that vulnerabilities due to bad coding often reflect 
flaws in the language being used.  For example, a vast range of buffer 
overflows, null pointer dereference issues, etc are entirely a consequence of 
C-based languages which permit arbitrary pointer arithmetic.  Tools like 
valgrind and Purify were later created to help add runtime array and memory 
buffer bounds-checking to C/C++ which other languages (Java, Python, etc) 
already provide by raising an index out of range exception or similar.

As for PHP and security, well, when someone ends up getting married to three 
abusive drunks in a row, there is more going on with that then random chance or 
even bad luck.  I've got an archive of a couple of years worth of list traffic 
from full-disclosure  bugt...@securityfocus, and nearly a third of the 
messages involve PHP or software written in PHP.  That's about twice as many as 
the next largest category, which is vulnerabilities in Windows (including stuff 
like Adobe Flash/Reader).

Regards,
-- 
-Chuck

___
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: Installer program for FreeBSD-9.0?

2010-12-07 Thread Polytropon
On Tue, 07 Dec 2010 11:29:09 +, Thomas Mueller 
mueller6...@bellsouth.net wrote:
 I guess FreeBSD installation from floppies is no longer
 supported because of the difficulty of fitting the kernel?

I think so, too. My interest is to be able to boot a
system that does not boot from CD or via LAN. In this
case, starting (!) the installation from floppy can work.

An example from my own practical use: I wanted to install
FreeBSD 4 on a laptop that didn't have network or CD-ROM.
I chose to boot from floppy, and then started the install
process via parallel cable (printer port) from a second
system, already running FreeBSD and exporting the install
CD via plip.



 While installation and update via web browser makes sense
 as an option, it must not be the only option. 

Please don't get me wrong: I see lots of potential in
providing a web-based install. The downside, however,
is that interaction WITH this frontend is done through
the browser that is used, and therefore suffers from
the disabilites of the browser. For example, lynx is
a text mode browser that works well even via serial
console - as soon as you KNOW how to interact with
that browser! Keep in mind that the cursor keys often
don't do what the novice user might assume they will
do! So the accessibility of the browser has impact
on how the installation process is performed.



 What if the user starts with a blank hard drive,
 nothing installed?  Then one needs to be able to
 install from CD, DVD or USB drive.

Exactly that is the usual starting point for a FreeBSD
installation. :-)

It's also worth mentioning that FreeBSD is considered
to be an advanced OS because of the fact that it can
turn old-fashioned or even outdated computers into
usable things (routers, servers, workstations). This
goal can only be met with providing maximum compatibility:
This doesn't only include support for new partitioning
methods, but also for old booting practices. Artificially
rising a barrier by saying You need a graphics card, a
mouse and 1 GB RAM to install this is not an option. As
long as CHOICE is provided - no problem.




-- 
Polytropon
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: printer recommendations?

2010-12-07 Thread David Brodbeck
On Fri, Dec 3, 2010 at 10:13 AM, Polytropon free...@edvax.de wrote:
 On Thu, 2 Dec 2010 20:38:05 -0800, Charlie Kester corky1...@comcast.net 
 wrote:
 My old HP Laserjet 4+ is broken and I'm thinking about buying a new
 printer.

 In case you have been happy with your 4+, consider getting
 a used HP office-class laser printer. I can recommend the
 HP LaserJet 4000 (maybe including a duplexer, very handy).
 Interfaces are parallel and network - use network if possible.

I have a LaserJet 2300n that's also worked out very well.  It has
about the same footprint as the 4m it replaced, but it's much faster.
Good network interface and good Postscript support.  The paper trays
seem a little flimsy compared to the 4, but I haven't broken one yet.

 Used office-class equipment, I can't emphasize it enough. The
 HP Laserjet printers have a good eco-mode standby behaviour,
 so even energy costs are low

Yup.  I checked mine with a Kill-A-Watt and found no measurable power
draw (less than 1 watt) in standby.  After that I stopped bothering to
turn it off.
___
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


usb devices

2010-12-07 Thread justin v

Aloha world..

For whatever reason, today, when i plugin my USB devices they are not  
showing up..


They are just not registering.. Never seen this problem before... Prior to  
today, I was able to plug my Android phone in and mount it just fine.


Prior to today, I was able to plug my usb mouse and keyboard in and type  
away at the console or in xorg.. so i run tail -f /var/log/messages from  
my alt. pc and plug in my phone and nothing..


It was working fine the previous days, you can see my phone and logitech  
keyboard.. Sure I suppose I could reboot but I dont want to...


My system:

yeaguy# uname -a
FreeBSD yeaguy.com 8.1-RELEASE FreeBSD 8.1-RELEASE #3: Thu Nov  4 20:43:41  
PDT 2010 v...@yeaguy.com:/usr/obj/usr/src/sys/HBCA  i386


My WIFI adapter is usb.. I am up and passing traffic on that interface  
too, so im a little confused..



yeaguy# cat /var/log/messages | grep -i usb
Dec  6 10:32:38 yeaguy root: Unknown USB device: vendor 0x0bb4 product  
0x0c9e bus uhub2

Dec  6 10:32:38 yeaguy kernel: ugen2.3: HTC at usbus2
Dec  6 10:32:38 yeaguy kernel: umass0: HTC Android Phone, class 0/0, rev  
2.00/2.26, addr 3 on usbus2
Dec  6 10:32:39 yeaguy root: Unknown USB device: vendor 0x0bb4 product  
0x0c9e bus uhub2

Dec  6 11:48:08 yeaguy kernel: ugen1.2: Logitech at usbus1
Dec  6 11:48:08 yeaguy kernel: ukbd0: Logitech USB Receiver, class 0/0,  
rev 2.00/12.01, addr 2 on usbus1
Dec  6 11:48:08 yeaguy kernel: ums0: Logitech USB Receiver, class 0/0,  
rev 2.00/12.01, addr 2 on usbus1
Dec  6 11:48:09 yeaguy kernel: uhid0: Logitech USB Receiver, class 0/0,  
rev 2.00/12.01, addr 2 on usbus1
Dec  6 11:48:09 yeaguy root: Unknown USB device: vendor 0x046d product  
0xc52b bus uhub1

Dec  6 11:54:35 yeaguy kernel: ugen1.2: Logitech at usbus1 (disconnected)
Dec  6 13:06:03 yeaguy kernel: ugen2.3: HTC at usbus2 (disconnected)
Dec  6 18:47:33 yeaguy kernel: ugen1.2: Logitech at usbus1
Dec  6 18:47:33 yeaguy kernel: ukbd0: Logitech USB Receiver, class 0/0,  
rev 2.00/12.01, addr 2 on usbus1
Dec  6 18:47:33 yeaguy kernel: ums0: Logitech USB Receiver, class 0/0,  
rev 2.00/12.01, addr 2 on usbus1
Dec  6 18:47:33 yeaguy root: Unknown USB device: vendor 0x046d product  
0xc52b bus uhub1
Dec  6 18:47:33 yeaguy kernel: uhid0: Logitech USB Receiver, class 0/0,  
rev 2.00/12.01, addr 2 on usbus1

Dec  6 18:57:23 yeaguy kernel: ugen1.2: Logitech at usbus1 (disconnected)
Dec  6 19:02:46 yeaguy root: Unknown USB device: vendor 0x0bb4 product  
0x0c9e bus uhub2

Dec  6 19:02:46 yeaguy kernel: ugen2.3: HTC at usbus2
Dec  6 19:02:46 yeaguy kernel: umass0: HTC Android Phone, class 0/0, rev  
2.00/2.26, addr 3 on usbus2
Dec  6 19:02:47 yeaguy root: Unknown USB device: vendor 0x0bb4 product  
0x0c9e bus uhub2

Dec  6 22:39:32 yeaguy kernel: ugen2.3: HTC at usbus2 (disconnected)
Dec  7 00:19:50 yeaguy root: Unknown USB device: vendor 0x0bb4 product  
0x0c9e bus uhub2

Dec  7 00:19:50 yeaguy kernel: ugen2.3: HTC at usbus2
Dec  7 00:19:50 yeaguy kernel: umass0: HTC Android Phone, class 0/0, rev  
2.00/2.26, addr 3 on usbus2
Dec  7 00:19:51 yeaguy root: Unknown USB device: vendor 0x0bb4 product  
0x0c9e bus uhub2

Dec  7 00:22:38 yeaguy kernel: ugen2.3: HTC at usbus2 (disconnected)
Dec  7 00:23:05 yeaguy root: Unknown USB device: vendor 0x0bb4 product  
0x0c9e bus uhub2

Dec  7 00:23:05 yeaguy kernel: ugen2.3: HTC at usbus2
Dec  7 00:23:05 yeaguy kernel: umass0: HTC Android Phone, class 0/0, rev  
2.00/2.26, addr 3 on usbus2
Dec  7 00:23:06 yeaguy root: Unknown USB device: vendor 0x0bb4 product  
0x0c9e bus uhub2

Dec  7 06:06:07 yeaguy kernel: ugen2.3: HTC at usbus2 (disconnected)
yeaguy#


Thanks,

justin v.
___
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: Installer program for FreeBSD-9.0?

2010-12-07 Thread Polytropon
On Wed, 08 Dec 2010 00:09:24 +0100, Julian H. Stacey j...@berklix.com wrote:
 My comments/ wish list
 - One text mode (non bitmap graphical) browser:   /usr/ports/www/lynx

The lynx browser, due to its special key handling, does not
appeal to novice users. NO text mode browser gives a first
sight effect that will convince a user he's installing a
modern OS. Sounds stupid, I know.

As I said, the way the user interacts with the browser does
determine how fast he gets through the installation. Learning
the browser (instead of just pressing the keys shown on the
screen) could make things look worse.

On the other hand, with the ability of X to run without
configuration on recent hardware, what's wrong with running
X with a graphical web browser - if the user DECIDED that
way? Of course, this decision is the FIRST step in the install
process:

Install method
--
T - traditional text mode installer (sysinstall)
(this one does not have all the options)
W - web-based installer in text mode
(typical for professional users)
G - web-based installer in graphics mode
(typical for novice users)
R - remote installation
(just starts the server)
S - shell
(dialog shell access to live system)

Enter choice: _

Just a simple idea.



 - Still too complex for blind/ partially sighted people with special I/O
   phsical devs, I guess.

Very true. The ability of FreeBSD to be a barrier-free (!!!)
OS always made it a first class product. It would be sad if
it would lose this ability in the future, just to cater the
expected first sight effect newbies. :-)



 - There are small clones of standard vi, with executables
   no larger than ee, could replace ee.

Allow me a side question, but... what's wrong with ee? (Don't
get me wrong, I've been a long-term vi user myself.)



-- 
Polytropon
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: Installer program for FreeBSD-9.0?

2010-12-07 Thread Chris Hill

On Wed, 8 Dec 2010, Julian H. Stacey wrote:

[ snip ]

   - There are small clones of standard vi, with executables
 no larger than ee, could replace ee.


I think ee is actually a good choice for this application. vi can be a 
little frustrating for those who rarely use it, and it's downright 
impenetrable to someone who has never seen it before. With ee, a newb has 
a fighting chance.


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
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: Shopping cart other than OSCommerce?

2010-12-07 Thread Dale Scott
 As for PHP and security, well, when someone ends up getting married to
 three abusive drunks in a row, there is more going on with that then
random
 chance or even bad luck.

I'll interpret that as saying a large percentage of the PHP apps vying for
your attention are crap, but buyer beware. Just be careful, have a healthy
level of scepticism, and keep your eyes open. I'm amazed at the ease with
which a good looking web app can be created, and with complete and total
disregard for the most basic software development best practices. However,
that doesn't mean all apps are crap, just like there are still guys  gals
out there worth tying your life to.

In my experience (which is probably more than some, but certainly not much
compared to some others), MediaWiki, MantisBT, Moodle, and Drupal are
mature, reliable and generally secure PHP-based applications. They have good
documentation, active communities, and are honest and prompt with security
advisories (and also pretty prompt with security updates). I'm sure there
must be others (e.g., I don't know anything about Facebook other than it's
PHP-based, but I'm sure we'd hear about it being hacked on a regular basis
if it was).

Dale

___
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: usb devices

2010-12-07 Thread Chris Brennan
Does usbconf show that it was indeed registered? The kernel may see it and
fail to pass it to the USB subsystem for what ever reason.

-- Sent from my Droid

On Dec 7, 2010 8:26 PM, justin v v...@yeaguy.com wrote:
 Aloha world..

 For whatever reason, today, when i plugin my USB devices they are not
 showing up..

 They are just not registering.. Never seen this problem before... Prior to

 today, I was able to plug my Android phone in and mount it just fine.

 Prior to today, I was able to plug my usb mouse and keyboard in and type
 away at the console or in xorg.. so i run tail -f /var/log/messages from
 my alt. pc and plug in my phone and nothing..

 It was working fine the previous days, you can see my phone and logitech
 keyboard.. Sure I suppose I could reboot but I dont want to...

 My system:

 yeaguy# uname -a
 FreeBSD yeaguy.com 8.1-RELEASE FreeBSD 8.1-RELEASE #3: Thu Nov 4 20:43:41
 PDT 2010 v...@yeaguy.com:/usr/obj/usr/src/sys/HBCA i386

 My WIFI adapter is usb.. I am up and passing traffic on that interface
 too, so im a little confused..


 yeaguy# cat /var/log/messages | grep -i usb
 Dec 6 10:32:38 yeaguy root: Unknown USB device: vendor 0x0bb4 product
 0x0c9e bus uhub2
 Dec 6 10:32:38 yeaguy kernel: ugen2.3: HTC at usbus2
 Dec 6 10:32:38 yeaguy kernel: umass0: HTC Android Phone, class 0/0, rev
 2.00/2.26, addr 3 on usbus2
 Dec 6 10:32:39 yeaguy root: Unknown USB device: vendor 0x0bb4 product
 0x0c9e bus uhub2
 Dec 6 11:48:08 yeaguy kernel: ugen1.2: Logitech at usbus1
 Dec 6 11:48:08 yeaguy kernel: ukbd0: Logitech USB Receiver, class 0/0,
 rev 2.00/12.01, addr 2 on usbus1
 Dec 6 11:48:08 yeaguy kernel: ums0: Logitech USB Receiver, class 0/0,
 rev 2.00/12.01, addr 2 on usbus1
 Dec 6 11:48:09 yeaguy kernel: uhid0: Logitech USB Receiver, class 0/0,
 rev 2.00/12.01, addr 2 on usbus1
 Dec 6 11:48:09 yeaguy root: Unknown USB device: vendor 0x046d product
 0xc52b bus uhub1
 Dec 6 11:54:35 yeaguy kernel: ugen1.2: Logitech at usbus1 (disconnected)
 Dec 6 13:06:03 yeaguy kernel: ugen2.3: HTC at usbus2 (disconnected)
 Dec 6 18:47:33 yeaguy kernel: ugen1.2: Logitech at usbus1
 Dec 6 18:47:33 yeaguy kernel: ukbd0: Logitech USB Receiver, class 0/0,
 rev 2.00/12.01, addr 2 on usbus1
 Dec 6 18:47:33 yeaguy kernel: ums0: Logitech USB Receiver, class 0/0,
 rev 2.00/12.01, addr 2 on usbus1
 Dec 6 18:47:33 yeaguy root: Unknown USB device: vendor 0x046d product
 0xc52b bus uhub1
 Dec 6 18:47:33 yeaguy kernel: uhid0: Logitech USB Receiver, class 0/0,
 rev 2.00/12.01, addr 2 on usbus1
 Dec 6 18:57:23 yeaguy kernel: ugen1.2: Logitech at usbus1 (disconnected)
 Dec 6 19:02:46 yeaguy root: Unknown USB device: vendor 0x0bb4 product
 0x0c9e bus uhub2
 Dec 6 19:02:46 yeaguy kernel: ugen2.3: HTC at usbus2
 Dec 6 19:02:46 yeaguy kernel: umass0: HTC Android Phone, class 0/0, rev
 2.00/2.26, addr 3 on usbus2
 Dec 6 19:02:47 yeaguy root: Unknown USB device: vendor 0x0bb4 product
 0x0c9e bus uhub2
 Dec 6 22:39:32 yeaguy kernel: ugen2.3: HTC at usbus2 (disconnected)
 Dec 7 00:19:50 yeaguy root: Unknown USB device: vendor 0x0bb4 product
 0x0c9e bus uhub2
 Dec 7 00:19:50 yeaguy kernel: ugen2.3: HTC at usbus2
 Dec 7 00:19:50 yeaguy kernel: umass0: HTC Android Phone, class 0/0, rev
 2.00/2.26, addr 3 on usbus2
 Dec 7 00:19:51 yeaguy root: Unknown USB device: vendor 0x0bb4 product
 0x0c9e bus uhub2
 Dec 7 00:22:38 yeaguy kernel: ugen2.3: HTC at usbus2 (disconnected)
 Dec 7 00:23:05 yeaguy root: Unknown USB device: vendor 0x0bb4 product
 0x0c9e bus uhub2
 Dec 7 00:23:05 yeaguy kernel: ugen2.3: HTC at usbus2
 Dec 7 00:23:05 yeaguy kernel: umass0: HTC Android Phone, class 0/0, rev
 2.00/2.26, addr 3 on usbus2
 Dec 7 00:23:06 yeaguy root: Unknown USB device: vendor 0x0bb4 product
 0x0c9e bus uhub2
 Dec 7 06:06:07 yeaguy kernel: ugen2.3: HTC at usbus2 (disconnected)
 yeaguy#


 Thanks,

 justin v.
 ___
 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


Page faults and threads

2010-12-07 Thread Mark Terribile

Hi,

Can anyone tell me: when a thread hits a page fault in a multithread program on 
FreeBSD, is the entire program stopped waiting for the page to be loaded/made 
ready or just the one thread?

Has this changed in recent versions with the changes to the scheduler?

And, if you know, do other Open-Source OS's do the same thing, or are they all 
different?

Mark Terribile


  
___
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: FreeBSD 3.5.1-RELEASE

2010-12-07 Thread Polytropon
On Tue, 7 Dec 2010 11:14:10 -0500, Jerry McAllister jerr...@msu.edu wrote:
 I have no idea what an   FMV DESKPER ME4/535P   is.

Fujitsu-Siemens FMV DESKPOWER maybe.


-- 
Polytropon
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: printer recommendations?

2010-12-07 Thread Polytropon
On Fri, 3 Dec 2010 21:57:49 -0800, Charlie Kester corky1...@comcast.net wrote:
 My LJ4+ was connected via parallel and I never noticed any problems with
 error messages or the speed. 

Speed: It's just faster with PCL than with PS. Given a
multi-page output, the printer is in constant action
loading paper, duplexing, printing and ejecting, so
no big deal.

Error messages: This started with FreeBSD 7. The system
log gets full of

lpt0: [GIANT-LOCKED]
lpt0: [ITHREAD]

when printing. I even have 

hw.intr_storm_threshold=1000

in /boot/loader.conf. I didn't have this problem with 4 and 5.
But hey, the printer works (again), and with my new system
getting ready for 8 and networked printing, I won't complain. :-)



 I'm OK with a printer that's as slow as I am.  ;)

As long as the printer isn't as tall as you are... :-)




-- 
Polytropon
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


savemail panic

2010-12-07 Thread K. Yura

 FreeBSD .dlink 8.1-RELEASE FreeBSD 8.1-RELEASE #1: Tue Nov  9 21:13:03 MSK
2010 r...@.dlink:/usr/obj/usr/src/sys/GENERIC  i386
-
df -h
Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/ad0s1a496M476M-20M   104%/
devfs  1.0K1.0K  0B   100%/dev
/dev/ad0s1e496M 12K456M 0%/tmp
/dev/ad0s1f 22G5.5G 15G27%/usr
/dev/ad0s1d1.2G 39M1.1G 3%/var
--

I got that error SYSERR(root): savemail: cannot save rejected email anywhere
Losing ./qfob86:savemail panic. How can I fix it? Thanks.
___
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