Re: savemail panic

2010-12-08 Thread Polytropon
On Wed, 8 Dec 2010 10:58:48 +0300, K. Yura yy.gu...@gmail.com wrote:
 I got that error SYSERR(root): savemail: cannot save rejected email anywhere
 Losing ./qfob86:savemail panic. How can I fix it? Thanks.

See the first line in df -h:

 Filesystem SizeUsed   Avail Capacity  Mounted on
 /dev/ad0s1a496M476M-20M   104%/

Your / partition is full (overful, halfway precisely speaking).
512 MB is a bit small for a 8.1 install. See if you can remove
unneeded stuff (for example old kernels).

The home directory for root is /root which resides on /. You
can create /home/root and specify it (via chsh) as root's
new home directory. In this case, it will be on whatever
partition /home is on.



-- 
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-08 Thread Bruce Cran
On Wed, 8 Dec 2010 01:58:04 +0100
Polytropon free...@edvax.de wrote:

 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.

The argument is normally that even without a CD drive everyone has USB
so should install using that instead of floppies.

-- 
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-08 Thread Polytropon
On Wed, 8 Dec 2010 09:04:16 +, Bruce Cran br...@cran.org.uk wrote:
 The argument is normally that even without a CD drive everyone has USB
 so should install using that instead of floppies.

That's not an argument, that's a dogma. :-)

Especially when you want to use AT style hardware, maybe
older laptops that should work as a kind of console device
(serial console using the cu program), or older PCs that
should run as a router, firewall, printer server or
anything else that doesn't require a PlentyCore CPU and
tenmelonhundred GB of RAM, taking into mind their very
low power consumption, then you usually face the situation
that you do NOT have
- bootable network
- USB
- DVD (or at least CD-ROM)
In such situations, you are happy to be able to boot from
floppy (or floppies, that's okay too) and then perform an
installation via network (or plip). Traditionally hardware
of the AT and the early ATX times do not come with USB.
And if they have USB, they can't boot from it.

This sounds old-fashioned, I know. The strength of FreeBSD
is that you actually COULD install it under this kind of
circumstances - a strength other operating systems lack,
especially when they call theirselves advanced.

One could argument that it should be possible to extract
the hard disk from such a kind of computer and use it
in a different system that can boot NOT from floppy. But
that may cause other problems (e. g. no (P)ATA connector
in a SATA system, can't reach hard disk, can't open
laptop, and so on).




-- 
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-08 Thread Charlie Kester

On Tue 07 Dec 2010 at 23:39:26 PST Polytropon wrote:

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.



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.


Oh yeah, *those* messages.  I did have those too.

As a last gasp effort, I gave my LJ4+ a thorough cleaning and replaced
the rollers for the output feed in the back.  And hey, it seems to be
working now!  The way it had been sounding, I was sure I'd broken
something the last time I replaced the toner cartridge after clearing a
paper jam.  But maybe I just didn't have the cartridge properly
seated...

So now I'm looking into ways to adapt it to use a network connection.
___
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-08 Thread Julian H. Stacey

Bruce Cran wrote:
 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.

Oh ! Thanks, I'll subscribe,
(I checked the list again last night, but me eye was indexing on I
not S.  Sorry).

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-08 Thread Julian H. Stacey
Polytropon wrote: 
To: Julian H. Stacey j...@berklix.com
I added back lost
Cc: questi...@freebsd.org

 On Wed, 08 Dec 2010 10:46:29 +0100, Julian H. Stacey j...@berklix.com 
 wrote:
   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.)
  
  VI has been on BSD since about 1979 or so I recall.
  EE breaks the principle of least surprise.
 
 But it as an on-top help screen. :-)

Each install I do, ee annoys me at inetd.conf.


 If I remember correctly, earlier versions of FreeBSD I
 did install did have vi as default editor,

I don't think so.  I recall FreeBSD installer had no screen editor
until Jordan looked for one that would fit the install without
executable breaking floppy size constraints.  But jkh@ was an emacs
user by preference,  had more important install issues, so ee was
bundled in. I told him very quickly of 2 small vi clones, but too
late. With floppy size constraints disappearing, we'll be free to
consider options.


 even during
 installation. The change must have happened sometimes
 in the 5.x era. It obsoleted the initial /bin/ed, the
 standard editor (ed is the standard editor).
 
 For those who like to use vi, it's still part of the
 base installation. At least I hope this won't change,
 and also many system utilities pay attention to $EDITOR,
 which defaulted to /usr/bin/vi in the past.
 
 For those who are familiar with FreeBSD, or with UNIX
 in general, there is no problem using either vi or ed.
 For novice users, ee is definitely the better choice
 as it doesn't require them to learn anything prior to
 its use, as learning is generally considered unpleasant
 these days... :-)
 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...

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

2010-12-08 Thread Thomas Mueller

--- On Tue, 12/7/10, Kazuhiro Satoyoshi satoyoshi_...@yahoo.co.jp wrote:

   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

I found it, and you're not limited to 3.5.1.

ftp://ftp-arch...@freebsd.org/pub/FreeBSD-Archive/old-releases/i386/ISO-IMAGES/

You can also get other architectures besides i386, and if you don't want 
ISO-images. you can also get it by bits and pieces, which could be useful if 
you install through the ftp server.

Still, perhaps you don't really need such an old version.

I once downloaded the ISO for 2.2.9 for an old computer , Cx486DX-2S at 66 MHz, 
20 MB RAM, hard drive controller apparently went bad, all I have to install 
onto is a SCSI Iomega Zip 250 on Trantor T130B SCSI card which also runs the 
internal CD-ROM drive, apparently not supported in FreeBSD = 3.0.  I failed to 
access the CD on the first few tries.

___
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-08 Thread Thomas Mueller
 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

Are you sure they're error-free?  I think most users would prefer USB sticks.

 The argument is normally that even without a CD drive everyone has USB
 so should install using that instead of floppies.

Not true on a very old computer (especially USB)

On choice of text editor, I prefer vi, but that might be uncomfortable for 
users completely unfamiliar with vi: this includes many MS-Windows users as 
well as users coming from DOS.

NetBSD uses ed on installation ramdisk, which leaves me completely floored.  vi 
is heaven compared to ed.

IBM had a Tiny Editor, not open-source, dating to 1993, .EXE about 1 bytes: 
this was for DOS and 16-bit OS/2 (OS/2 1.x was 16-bit, became 32-bit with 
v2.0).  This was used on OS/2 installation floppies.


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-08 Thread Bruce Cran
On Wed, 08 Dec 2010 11:14:22 +
Thomas Mueller mueller6...@bellsouth.net wrote:

  The argument is normally that even without a CD drive everyone has
  USB so should install using that instead of floppies.
 
 Not true on a very old computer (especially USB)

That's why I said the argument, implying that it's something I don't
agree with :)  
I do think we need to be careful to remember that plenty of people
don't have modern setups.

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


Why gdb-7.1 doesn't set hardware watchpoints on i7 CPU (amd64)?

2010-12-08 Thread Yuri

All watchpoints are software.
How can I troubleshoot?

Yuri
___
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-08 Thread Da Rock

On 12/08/10 10:57, Chuck Swiger wrote:

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,
   
Thanks for the heads up. What language do you recommend then based on 
these security reports?

___
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-08 Thread Da Rock

On 12/08/10 11:26, Polytropon wrote:

On Wed, 08 Dec 2010 00:09:24 +0100, Julian H. Staceyj...@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.



   

I like that approach- works for me anyway...

 - 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. :-)

   
Accessibility should be foremost at this level and above. The legalities 
themselves are becoming hairy these days, and considering the point that 
we are trying to push accessibility in terms of applications (such as 
issues with flash, to name one) using physical accessibility as a 
parallel argument we should be setting an example as well.


That said, there is no reason why can't make it look as pretty as we can 
without compromising this principle :)

___
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-08 Thread Da Rock

On 12/08/10 11:49, Chris Hill wrote:

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.

I'll second that :)
___
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-08 Thread Da Rock

On 12/08/10 21:27, Bruce Cran wrote:

On Wed, 08 Dec 2010 11:14:22 +
Thomas Muellermueller6...@bellsouth.net  wrote:

   

The argument is normally that even without a CD drive everyone has
USB so should install using that instead of floppies.
   

Not true on a very old computer (especially USB)
 

That's why I said the argument, implying that it's something I don't
agree with :)
I do think we need to be careful to remember that plenty of people
don't have modern setups.

   
Count me for one. I'm using old stuff for routing and what not- and no, 
they don't even see a usb keyboard let alone boot from usb :) I actually 
have to disconnect the dud slim cd and and strap in a spare internal cd, 
and remove it once installed. I could setup lan boot, but believe it or 
not that would be longer...

___
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-08 Thread Arthur Chance

On 12/07/10 22:42, Jerry wrote:

On Tue, 07 Dec 2010 16:10:38 -0600
Jorge Biquezjbiq...@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.



This search produces a lot more, including oscommerce and magento

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

--
Although the wombat is real and the dragon is not, few know what a
wombat looks like, but everyone knows what a dragon looks like.

-- Avram Davidson, _Adventures in Unhistory_
___
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-08 Thread krad
On 8 December 2010 14:27, Gautham Ganapathy gaut...@lisphacker.org wrote:

 On Tue, Dec 7, 2010 at 5:11 PM, krad kra...@gmail.com wrote:
 
  the easiest way to do zfs root is use the pc-bsd disk but select the
 freebsd
  install not the pc bsd one

 I tried that last week with the PCBSD 8.1 DVD. Unfortunately, to
 install on ZFS, you need to go to advanced mode when creating
 partitions, which did not consider my windows partition and showed the
 entire disk as free. I had to abort or wipe windows off my laptop

 Is it possible to have windows and a zfs-based freebsd installation on
 the same drive, and dual-boot between them?

 Regards
 Gautham



if you you a none gpt layout yes
___
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-08 Thread Gautham Ganapathy
On Tue, Dec 7, 2010 at 5:11 PM, krad kra...@gmail.com wrote:

 the easiest way to do zfs root is use the pc-bsd disk but select the freebsd
 install not the pc bsd one

I tried that last week with the PCBSD 8.1 DVD. Unfortunately, to
install on ZFS, you need to go to advanced mode when creating
partitions, which did not consider my windows partition and showed the
entire disk as free. I had to abort or wipe windows off my laptop

Is it possible to have windows and a zfs-based freebsd installation on
the same drive, and dual-boot between them?

Regards
Gautham
___
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


Can openoffice 3.3 be built without gnome_vfs?

2010-12-08 Thread Steven Friedrich
gnome_vfs requires kerberos. I don't want it.
-- 
System Name: laptop2.StevenFriedrich.org
Hardware:2.80GHz Intel Pentium 4 (HTT) with 2 GB memory
OS version:  FreeBSD 8.1-RELEASE-p2 i386 (5.1 MB kernel)
Window Manager(s):   kde4-4.5.4 
X Window System: xorg-7.5X.Org X Server 1.7.5
___
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-08 Thread Kazuhiro Satoyoshi
They're old, but not so old that 8.1 shouldn't work.
  Some day, I tried to install FreeBSD 7.3-RELEASE (i386, amd64), but I could't.
  I did't know the reason why...
  That's why I though to need old FreeBSD version for my PC.
   
  OK, I'll try to install latest version.
  Thank you very much.
   
  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


FTP not working in jail

2010-12-08 Thread Redd Vinylene
Hello!

I'm trying to set up a virtual vsftpd-ssl-2.3.2 server so my band can share
new tracks, production material or what not, but I'm getting all kinds of
strange errors:

http://pastie.org/1358536

Anybody know why? I'm using a jail. There are no firewalls on either the
host or the jail. I've tried other ftpd's and gotten similar results, so I
don't think there's vsftpd there's something wrong with here.

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: FTPD not working properly on jail

2010-12-08 Thread Bjoern A. Zeeb

On Wed, 8 Dec 2010, Redd Vinylene wrote:


Hello!

I'm trying to set up a virtual vsftpd-ssl-2.3.2 server so my band can share
new tracks, production material or what not, but I'm getting all kinds of
strange errors:

http://pastie.org/1358536

Anybody know why? The server runs on a jail. There are no firewalls on
either the host or the jail. I've tried other ftpd's and gotten similar
results so I don't think it's vsftpd there's something wrong with here.


a) have you tried without SSL?
b) have you tried ftpd from base?

It pretty much smells like a bug in vsftpd.

Out of curiosity - which version of freebsd is that?

/bz

--
Bjoern A. Zeeb  Welcome a new stage of life.
ks Going to jail sucks -- bz All my daemons like it!
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails.html
___
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-08 Thread Justin V.



On Wed, 8 Dec 2010, Chris Brennan wrote:


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






I ended up rebooting.. USB works..
___
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: FTPD not working properly on jail

2010-12-08 Thread krad
On 8 December 2010 15:52, Bjoern A. Zeeb bzeeb-li...@lists.zabbadoz.netwrote:

 On Wed, 8 Dec 2010, Redd Vinylene wrote:

  Hello!

 I'm trying to set up a virtual vsftpd-ssl-2.3.2 server so my band can
 share
 new tracks, production material or what not, but I'm getting all kinds of
 strange errors:

 http://pastie.org/1358536

 Anybody know why? The server runs on a jail. There are no firewalls on
 either the host or the jail. I've tried other ftpd's and gotten similar
 results so I don't think it's vsftpd there's something wrong with here.


 a) have you tried without SSL?
 b) have you tried ftpd from base?

 It pretty much smells like a bug in vsftpd.

 Out of curiosity - which version of freebsd is that?

 /bz

 --
 Bjoern A. Zeeb  Welcome a new stage of life.
ks Going to jail sucks -- bz All my daemons like it!
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails.html
 ___
 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 you sure its not a passive/active ftp issue?
___
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


libphp5.so

2010-12-08 Thread Ivan Frosty
isnt it possible for some one to get me their libphp5.so so i can
download ? i installed php and all the dependancies but i used pkg_add
because i dont have internet apparently. so i cant do make, make
install. so is it possible i get that file and simply put it where its
supposed to be? my apache wont start because it cant find it.
suggestions?

-- 
Frosty-456
___
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


RecursiveDependencyError

2010-12-08 Thread Robert Fitzpatrick
Stuck on this problem. It is not happening for all ports, but for 
several pear ports. I tried a 'pkgdb -fF' and it reported no errors, 
what else can I do to find the cause of this when trying to install the 
pear-Mail and others on this FreeBSD 8.1 server. This is a new 
install...thanks for any help!


[Gathering depends for mail/pear-Mail 
.../usr/local/sbin/portinstall:854:in 
`get_all_depends': recursive dependency (RecursiveDependencyError)

from /usr/local/sbin/portinstall:877:in `get_all_depends'
from /usr/local/lib/ruby/1.8/set.rb:195:in `each'
from /usr/local/lib/ruby/1.8/set.rb:195:in `each_key'
from /usr/local/lib/ruby/1.8/set.rb:195:in `each'
from /usr/local/sbin/portinstall:876:in `get_all_depends'
from /usr/local/sbin/portinstall:877:in `get_all_depends'
from /usr/local/lib/ruby/1.8/set.rb:195:in `each'
from /usr/local/lib/ruby/1.8/set.rb:195:in `each_key'
from /usr/local/lib/ruby/1.8/set.rb:195:in `each'
from /usr/local/sbin/portinstall:876:in `get_all_depends'
from /usr/local/sbin/portinstall:877:in `get_all_depends'
from /usr/local/lib/ruby/1.8/set.rb:195:in `each'
from /usr/local/lib/ruby/1.8/set.rb:195:in `each_key'
from /usr/local/lib/ruby/1.8/set.rb:195:in `each'
from /usr/local/sbin/portinstall:876:in `get_all_depends'
from /usr/local/sbin/portinstall:877:in `get_all_depends'
from /usr/local/lib/ruby/1.8/set.rb:195:in `each'
from /usr/local/lib/ruby/1.8/set.rb:195:in `each_key'
from /usr/local/lib/ruby/1.8/set.rb:195:in `each'
from /usr/local/sbin/portinstall:876:in `get_all_depends'
from /usr/local/sbin/portinstall:877:in `get_all_depends'
from /usr/local/lib/ruby/1.8/set.rb:195:in `each'
from /usr/local/lib/ruby/1.8/set.rb:195:in `each_key'
from /usr/local/lib/ruby/1.8/set.rb:195:in `each'
from /usr/local/sbin/portinstall:876:in `get_all_depends'
from /usr/local/sbin/portinstall:893:in `get_notinstalled_depends'
from /usr/local/sbin/portinstall:775:in `main'
from /usr/local/sbin/portinstall:753:in `each'
from /usr/local/sbin/portinstall:753:in `main'
from /usr/local/lib/ruby/1.8/optparse.rb:1310:in `call'
from /usr/local/lib/ruby/1.8/optparse.rb:1310:in `parse_in_order'
from /usr/local/lib/ruby/1.8/optparse.rb:1306:in `catch'
from /usr/local/lib/ruby/1.8/optparse.rb:1306:in `parse_in_order'
from /usr/local/lib/ruby/1.8/optparse.rb:1254:in `catch'
from /usr/local/lib/ruby/1.8/optparse.rb:1254:in `parse_in_order'
from /usr/local/lib/ruby/1.8/optparse.rb:1248:in `order!'
from /usr/local/lib/ruby/1.8/optparse.rb:1241:in `order'
from /usr/local/sbin/portinstall:559:in `main'
from /usr/local/lib/ruby/1.8/optparse.rb:791:in `initialize'
from /usr/local/sbin/portinstall:231:in `new'
from /usr/local/sbin/portinstall:231:in `main'
from /usr/local/sbin/portinstall:2219

--
Robert
___
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: FTPD not working properly on jail

2010-12-08 Thread Redd Vinylene
On Wed, Dec 8, 2010 at 4:52 PM, Bjoern A. Zeeb 
bzeeb-li...@lists.zabbadoz.net wrote:


 a) have you tried without SSL?
 b) have you tried ftpd from base?

 It pretty much smells like a bug in vsftpd.

 Out of curiosity - which version of freebsd is that?

 /bz


Greetings!

a) Good question. Just tested - without a doubt, yes it works perfectly
without SSL. But we need SSL though.

b) No, because as far as I know, it doesn't allow the kind of virtual setup
vsftpd does.

The FreeBSD version is 8.2-PRERELEASE.

Thanks man.
___
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: FTPD not working properly on jail

2010-12-08 Thread Redd Vinylene
On Wed, Dec 8, 2010 at 5:24 PM, krad kra...@gmail.com wrote:


 are you sure its not a passive/active ftp issue?


Yep, not this time :-)

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: FTPD not working properly on jail

2010-12-08 Thread Bjoern A. Zeeb

On Wed, 8 Dec 2010, Redd Vinylene wrote:


On Wed, Dec 8, 2010 at 4:52 PM, Bjoern A. Zeeb 
bzeeb-li...@lists.zabbadoz.net wrote:



a) have you tried without SSL?
b) have you tried ftpd from base?

It pretty much smells like a bug in vsftpd.

Out of curiosity - which version of freebsd is that?

/bz



Greetings!

a) Good question. Just tested - without a doubt, yes it works perfectly
without SSL. But we need SSL though.


application or configuration issue unrelated to jails.

--
Bjoern A. Zeeb  Welcome a new stage of life.
ks Going to jail sucks -- bz All my daemons like it!
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails.html
___
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-08 Thread Chris Brennan
On Wed, Dec 8, 2010 at 10:55 AM, Justin V. v...@yeaguy.com wrote:



 On Wed, 8 Dec 2010, Chris Brennan wrote:

  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:


 I ended up rebooting.. USB works..



Good to know...
___
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: FTPD not working properly on jail

2010-12-08 Thread Redd Vinylene
On Wed, Dec 8, 2010 at 5:31 PM, Bjoern A. Zeeb 
bzeeb-li...@lists.zabbadoz.net wrote:

 application or configuration issue unrelated to jails.



Absolutely. Thanks for making me realize it though.

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


Re: libphp5.so

2010-12-08 Thread Chris Brennan
On Wed, Dec 8, 2010 at 10:55 AM, Ivan Frosty ivanfro...@gmail.com wrote:

 isnt it possible for some one to get me their libphp5.so so i can
 download ? i installed php and all the dependancies but i used pkg_add
 because i dont have internet apparently. so i cant do make, make
 install. so is it possible i get that file and simply put it where its
 supposed to be? my apache wont start because it cant find it.
 suggestions?


'make' 'make install' arn't internet (network) dependant. Are you saying
that because your box doesn't have network access, PORTS failed to download
the sources? My 'libphp5.so' very likely may not work for you because it was
compiled for my specific machine. Can you be a little more explicit in your
description?
___
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: RecursiveDependencyError

2010-12-08 Thread Chris Brennan
On Wed, Dec 8, 2010 at 11:08 AM, Robert Fitzpatrick li...@webtent.netwrote:

 Stuck on this problem. It is not happening for all ports, but for several
 pear ports. I tried a 'pkgdb -fF' and it reported no errors, what else can I
 do to find the cause of this when trying to install the pear-Mail and others
 on this FreeBSD 8.1 server. This is a new install...thanks for any help!

 [Gathering depends for mail/pear-Mail
 .../usr/local/sbin/portinstall:854:in
 `get_all_depends': recursive dependency (RecursiveDependencyError)
from /usr/local/sbin/portinstall:877:in `get_all_depends'
from /usr/local/lib/ruby/1.8/set.rb:195:in `each'
from /usr/local/lib/ruby/1.8/set.rb:195:in `each_key'
from /usr/local/lib/ruby/1.8/set.rb:195:in `each'
from /usr/local/sbin/portinstall:876:in `get_all_depends'
from /usr/local/sbin/portinstall:877:in `get_all_depends'
from /usr/local/lib/ruby/1.8/set.rb:195:in `each'
from /usr/local/lib/ruby/1.8/set.rb:195:in `each_key'
from /usr/local/lib/ruby/1.8/set.rb:195:in `each'
from /usr/local/sbin/portinstall:876:in `get_all_depends'
from /usr/local/sbin/portinstall:877:in `get_all_depends'
from /usr/local/lib/ruby/1.8/set.rb:195:in `each'
from /usr/local/lib/ruby/1.8/set.rb:195:in `each_key'
from /usr/local/lib/ruby/1.8/set.rb:195:in `each'
from /usr/local/sbin/portinstall:876:in `get_all_depends'
from /usr/local/sbin/portinstall:877:in `get_all_depends'
from /usr/local/lib/ruby/1.8/set.rb:195:in `each'
from /usr/local/lib/ruby/1.8/set.rb:195:in `each_key'
from /usr/local/lib/ruby/1.8/set.rb:195:in `each'
from /usr/local/sbin/portinstall:876:in `get_all_depends'
from /usr/local/sbin/portinstall:877:in `get_all_depends'
from /usr/local/lib/ruby/1.8/set.rb:195:in `each'
from /usr/local/lib/ruby/1.8/set.rb:195:in `each_key'
from /usr/local/lib/ruby/1.8/set.rb:195:in `each'
from /usr/local/sbin/portinstall:876:in `get_all_depends'
from /usr/local/sbin/portinstall:893:in `get_notinstalled_depends'
from /usr/local/sbin/portinstall:775:in `main'
from /usr/local/sbin/portinstall:753:in `each'
from /usr/local/sbin/portinstall:753:in `main'
from /usr/local/lib/ruby/1.8/optparse.rb:1310:in `call'
from /usr/local/lib/ruby/1.8/optparse.rb:1310:in `parse_in_order'
from /usr/local/lib/ruby/1.8/optparse.rb:1306:in `catch'
from /usr/local/lib/ruby/1.8/optparse.rb:1306:in `parse_in_order'
from /usr/local/lib/ruby/1.8/optparse.rb:1254:in `catch'
from /usr/local/lib/ruby/1.8/optparse.rb:1254:in `parse_in_order'
from /usr/local/lib/ruby/1.8/optparse.rb:1248:in `order!'
from /usr/local/lib/ruby/1.8/optparse.rb:1241:in `order'
from /usr/local/sbin/portinstall:559:in `main'
from /usr/local/lib/ruby/1.8/optparse.rb:791:in `initialize'
from /usr/local/sbin/portinstall:231:in `new'
from /usr/local/sbin/portinstall:231:in `main'
from /usr/local/sbin/portinstall:2219



This looks an aweful lot like the circular dependency issues I've
encountered on my gentoo box. Typically that is solved by removing one or
more USE flags for the atom. In this case, 'cd /usr/ports/mail/pear-Mail;
make config' and deselect some or all options. Rinse and Repeat for each
port giving you this issue.
___
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: FTPD not working properly on jail

2010-12-08 Thread krad
On 8 December 2010 16:39, Redd Vinylene reddvinyl...@gmail.com wrote:

 On Wed, Dec 8, 2010 at 5:31 PM, Bjoern A. Zeeb 
 bzeeb-li...@lists.zabbadoz.net wrote:

  application or configuration issue unrelated to jails.
 
 
 
 Absolutely. Thanks for making me realize it though.

 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



do you have a personal firewall or are natting at any point on your pc (not
the ftp server), as if you do and are using active, the firewall ftp proxy
wont be able to read the data stream in SSL mode as its encrypted, and hence
setup the needed forwarding rules.

WHy not try sftp? Probably more secure and a dam site easier to setup.
___
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: FTPD not working properly on jail

2010-12-08 Thread Redd Vinylene
On Wed, Dec 8, 2010 at 5:49 PM, krad kra...@gmail.com wrote:


 do you have a personal firewall or are natting at any point on your pc (not
 the ftp server), as if you do and are using active, the firewall ftp proxy
 wont be able to read the data stream in SSL mode as its encrypted, and hence
 setup the needed forwarding rules.

 WHy not try sftp? Probably more secure and a dam site easier to setup.


Nope, nothing like that. Thanks though.
___
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: FTPD not working properly on jail

2010-12-08 Thread Chris Brennan

 On Wed, Dec 8, 2010 at 5:49 PM, krad kra...@gmail.com wrote:

  WHy not try sftp? Probably more secure and a dam site easier to setup.


I second this. SFTP is a ton easier, it's setup by default to work when SSH
is setup/installed on any system.
___
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-08 Thread Reed Loefgren
On 12/08/10 06:21, Kazuhiro Satoyoshi wrote:
 They're old, but not so old that 8.1 shouldn't work.
 
   Some day, I tried to install FreeBSD 7.3-RELEASE (i386, amd64), but I 
 could't.
   I did't know the reason why...
   That's why I though to need old FreeBSD version for my PC.

   OK, I'll try to install latest version.
   Thank you very much.

   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

   
Here's a guess: You're in Japan perhaps. Does that machine of yours
require a pc98-type of release rather than i386? (Maybe there's not even
a difference, I've just seen it listed before, distinct from
i386/amd64/IA64/PPC, etc.)

Glad to help muddy the waters. :)
___
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-08 Thread Jerry McAllister
On Wed, Dec 08, 2010 at 10:21:05PM +0900, Kazuhiro Satoyoshi wrote:

 They're old, but not so old that 8.1 shouldn't work.
   Some day, I tried to install FreeBSD 7.3-RELEASE (i386, amd64), but I 
 could't.
   I did't know the reason why...
   That's why I though to need old FreeBSD version for my PC.

   OK, I'll try to install latest version.
   Thank you very much.

Good.   Try the latest RELEASE version.
Then, don't give up if you have a problem.
Study and find out what problem is happening and then attack it.
Probably the only real problem you might have with the older machine 
is having enough storage.  You might have to add some.

jerry


   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: Page faults and threads

2010-12-08 Thread Alejandro Imass
On Wed, Dec 8, 2010 at 2:08 AM, Mark Terribile materrib...@yahoo.com wrote:

 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?


By no means an expert but i think your question is way too broad for a
single answer so IMHO it depends on many things like FBSD version,
type of threading you are using and how. A short summary to best of my
knowledge is that the threading models in FBSD have changed broadly
and continuously since FBSD 5 so it really depends...

In general I would think that if the model/lib you are using is 1:1
(default from FBSD 7, I think) then a page fault should halt a single
thread and no other threads should be affected if no mem is shared
between them, although since threads may(usually?) share memory in
most popular models (1:1, N:1, N:M) the fault should block all threads
that share that memory space. In any case the issue of page faults and
blocking is more related to the VM than to the scheduler, again to the
best of my knowledge, and there should be a bunch of sysctls to
fine-tune / tweak the behavior.

The topic is quite interesting to me, sadly don't know enough about
the matter (though I use mod_perl/mod_worker a lot on FBSD so I know
just enough to get by) and it would be great if some experts jump in
and shed some light on the current threading implementations on the 7,
8 and 9 releases. Furthermore, (knowingly a bit OT to the OP) and if
some Perl on FBSD experts on this list (merlyn?) would also give their
.02 on Perl threading options/details on FBSD 7,8,9 would be even
better ;-)

best,
--
Alejandro Imass

    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

___
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: Page faults and threads

2010-12-08 Thread Alejandro Imass
On Wed, Dec 8, 2010 at 12:27 PM, Mark Terribile materrib...@yahoo.com wrote:


[...]

Copying the list for this comment...

Well I can tell you this much. A while back I carried out some heavy
load testing on a Catalyst app on mod_perl, mod_worker apache 2 on
FBSD 6.2 and Debian with kernel 2.6.18 both on 64 bits same exact
hardware:

FreeBSD 6.2 Stable
Apache 2.2.3, Server MPM: Worker
mod_perl 2.0.4
Perl v5.8.8 built for amd64-freebsd-thread-multi
Catalyst 5.7014
mysql  Ver 14.12 Distrib 5.0.45, for portbld-freebsd6.2 (amd64) using  5.2

Debian 4.0 (Etch) Stable
Apache 2.2.3, Server MPM: Worker
mod_perl 2.0.4
Perl v5.8.8 built for amd64-debian-thread-multi
Catalyst 5.7014
mysql Ver 14.12 Distrib 5.0.45, for Debian (amd64) using 5.2


I can't disclose the official results, but the bottom line was that
Linux was generally somewhat faster (61 vs. 72 ms per request on
average) but it's over-optimistic memory broke the OS completely when
maxing out and consuming the swap, and we concluded that the VM in
that version of Linux was particularly broke for our application.
Coincidentally you could observe a dramatic difference in the Virtual
and Resident size of each Apache process when in peak load:

Linux 2.6.18 : 710/130
FreeBSD 6.2: 185/132

(it also proved in both cases that threaded mod_perl (an esoteric mix
in the eyes of many an expert) saved tons of RAM and was generally
very stable ;-))

Anyway what really caught our attention in these tests is that when
the extreme load was removed, FBSD recovered almost immediately like
nothing had happened and we had to reboot Linux almost every time,
cause it remained very unstable afterwards. We did manage to play with
Linux's vm settings especially the over-committal stuff to somewhat
behave like FBSD,  but vanilla FBSD was always more stable in every
test. This told us that the FBSD folks must be doing something right
in the standard thread / vm management in FBSD and we switched to it
since for our heavy-weight Web deployments.



 I'd like to know if things how things are now on FreeBSD.


Hopefully this thread will catch the eye of some FBSD threading experts !

    Mark Terribile

 --- On Wed, 12/8/10, Alejandro Imass a...@p2ee.org wrote:

 From: Alejandro Imass a...@p2ee.org
 Subject: Re: Page faults and threads
 To: Mark Terribile materrib...@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: Shopping cart other than OSCommerce?

2010-12-08 Thread Chuck Swiger
On Dec 8, 2010, at 5:37 AM, Da Rock wrote:
 Thanks for the heads up. What language do you recommend then based on these 
 security reports?

Well, I've been implementing online stores and content-management/publishing 
systems written in Java and Objective-C for quite a while, so I'm biased 
towards those.  If I were starting over from scratch today, Ruby or Python 
would probably enter into the picture for consideration.  (Of course, Python 
threading runs into the GIL issue limiting true concurrency, and the only Ruby 
implementation around which does better is JRuby, which is Ruby implemented on 
top of Java.)

You don't magically get immunity from SQL injection by using JDBC or EOF or 
whatever, but using bound variables in queries rather than feeding user input 
into raw SQL, or invoking stored procedures or user-defined functions instead 
will mitigate one of the more common security problems.

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


mixer -s and multiple dev

2010-12-08 Thread Steven Friedrich
I want to be able to save, set, and restore the values for vol and pcm only.

When I invoke mixer -s vol pcm, it sets the vol to 0. Not what I intended.

I AM able to save ALL and restore ALL. But I hope to just be able to save and 
restore some channels.

-- 
System Name: laptop2.StevenFriedrich.org
Hardware:2.80GHz Intel Pentium 4 (HTT) with 2 GB memory
OS version:  FreeBSD 8.1-RELEASE-p2 i386 (5.1 MB kernel)
Window Manager(s):   kde4-4.5.4 
X Window System: xorg-7.5X.Org X Server 1.7.5
___
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


mountroot prompt in the middle of updating - can't get past it

2010-12-08 Thread Kurt Buff
All,

I have a Lenovo T61 with a 100g HD that I dual boot with FreeBSD
8.0-STABLE amd64 and Windows XP.

FBSD is on ad0s2a, with ad0s2b as swap, and XP on ad0s1a.

Yesterday I booted up FBSD, started xfce4, started a terminal session,
su'ed to root and did the following - running a generic kernel:

# cd /usr/src
# make buildworld
# make buildkernel
# make installkernel

Then I exited xfce4, did sudo shutdown -r now, and got a mountroot
prompt that I now can't get past.

I can get to the loader prompt, and lsdev shows the following:

   cd devices:
   disk devices:
 disk0: BIOS drive C:
disk0s1: NTFS/HPFS
disk0s2a:  FFS
disk02sb:  swap

when I use '?' at the mountroot prompt I get:

   List of GEOM managed disk devices:
  acd0
   Loader variables:
   vfs.root.mountfrom=ufs:/dev/ad0s2a
   vfs.root.mountfrom.options=rw


I've tried entering the following at the mountroot prompt, with no success:
   ufs:/dev/ad0s2a
   ufs:/ad0s2a
   ufs:ad0s2a
   ffs:/dev/ad0s2a

and several other variations that I've found while googling, but no
success anywhere.

Does anyone have thoughts on how to remedy this?

Thanks,

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


Terrible Clock Skew

2010-12-08 Thread Dave Cundiff
Hi everyone,

I posted this to the forum as well but figured I'd try here since the
same people might not subscribe to both.

I've been experiencing some terrible clock skew and just can't figure
it out. By terrible I mean I'm losing 30 minutes a day. The loss only
occurs when I bring the system under heavy load. The load is multiple
Rsync backups to a ZFS pool(with gzip compression) backed by a 16 disk
Raid50. I'm using a hardware Raid controller for battery backed write
caching.

Mobo: Supermicro X8DTL
CPU: Dual Intel 5620 quad cores
Raid: Areca 1620

I have ntp enabled but the skew happens to fast and it stops trying.
I've tried a bunch of stuff from the various lists. I tried all my
clock sources. TSC(-100) HPET(900) ACPI-fast(1000) i8254(0). I tried
changing the kern.hz flag lower. I also tried disabling the enhanced
speed step feature of this chip as per the FAQ on the site. Nothing
works.

Currently I'm defaults except the following settings.

EIST Disabled in BIOS
kern.hz=100
kern.timecounter.hardware=i8254

Is there anything else I could do to debug this? I can't really blame
the hardware because I have these same boards/chips running in Linux
with no clock issues.

-- 
Dave Cundiff
System Administrator
A2Hosting, Inc
http://www.a2hosting.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: Terrible Clock Skew

2010-12-08 Thread Chris Brennan
On Wed, Dec 8, 2010 at 3:01 PM, Dave Cundiff syshack...@gmail.com wrote:

 Hi everyone,


bad button battery maybe? when the system is under load, it's diverting what
ever processor time to correct for the skew elsewhere (guessing). If it is a
bad battery, setup NTP to reset your system clock more frequently.
___
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


[fbsd_questions] mac and windoze formats

2010-12-08 Thread spellberg_robert

howdy, folks ---

this may be a stupid question,
  but, i figure that it is better to ask than to assume.



premise:

i was looking at a retail site that is offering
  a dvd_archive of every issue of a particular magazine back to its beginning, 
many decades ago
  [ these have become popular, lately ].
usually, i put these things on my windoze_box, until it was no longer new 
enough.
then, i looked for linux [ aka, elf ] compatability, which also works.

well, it has finally happened.
something i want is only available for windoze and os_x.



research:

now, freebsd handles all sorts of elf; but,
  mac is not elf, it is derived from mach [ a long_unused word from my youth ].

so, this question is about emulation.
i found the section in the faq and in the handbook on elf, but,
  there is no mention of mac, osx, mach or anything else that is not elf, not 
even wine.
i found a recent _questions post that suggested that there is no current 
ability to run a mach-o binary.
because no one challenged this assertion, i take it as true.



  q:where do things stand regarding
  the future ability to run either a windoze or mac binary
  [ as these are the general_public's notion of a computer ] ?

  q:would the present situation be described as closer
  to  real_soon_now ! ,
  to  are you kidding ?  or
  to somewhere between these two endpoints ?



happy everything, to everybody, all of the time,
  even to those who don't celebrate anything, at any time.

rob

___
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: [fbsd_questions] mac and windoze formats

2010-12-08 Thread Chuck Swiger
On Dec 8, 2010, at 12:12 PM, spellberg_robert wrote:
 premise:
 
 i was looking at a retail site that is offering
  a dvd_archive of every issue of a particular magazine back to its beginning, 
 many decades ago
  [ these have become popular, lately ].

If the archive contains this magazine in a common format like PDF, you can view 
such under nearly any platform (including FreeBSD).

 usually, i put these things on my windoze_box, until it was no longer new 
 enough.
 then, i looked for linux [ aka, elf ] compatability, which also works.

ELF is a binary file format.  It's used by Linux, FreeBSD, Solaris, and other 
platforms.

 research:
 
 now, freebsd handles all sorts of elf; but,
  mac is not elf, it is derived from mach [ a long_unused word from my youth ].

Yes, MacOS X uses the Mach kernel from CMU, also used by NEXTSTEP.  The binary 
file format for the Mac is called MachO.

 so, this question is about emulation.
 i found the section in the faq and in the handbook on elf, but,
  there is no mention of mac, osx, mach or anything else that is not elf, not 
 even wine.
 i found a recent _questions post that suggested that there is no current 
 ability to run a mach-o binary.  because no one challenged this assertion, i 
 take it as true.

It is.

  q:where do things stand regarding
  the future ability to run either a windoze or mac binary
  [ as these are the general_public's notion of a computer ] ?

You can use emulation software like VMWare 3 to run a Windows environment under 
FreeBSD; however, that won't let you run MacOS X or Mac programs.

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


Jarupon has sent you a private message

2010-12-08 Thread Jarupon Mahiphot


  = 
___

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: Jarupon has sent you a private message

2010-12-08 Thread Chris Brennan
On Wed, Dec 8, 2010 at 1:56 PM, Jarupon Mahiphot jaru...@quepasa.comwrote:


   ___
 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


umm..
___
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: Jarupon has sent you a private message

2010-12-08 Thread Ryan Coleman
do what everyone else does: delete them.

It's an open list that anyone can email - or spam.
On Dec 8, 2010, at 2:58 PM, Chris Brennan wrote:

 On Wed, Dec 8, 2010 at 1:56 PM, Jarupon Mahiphot jaru...@quepasa.comwrote:
 
 
  ___
 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
 
 
 umm..
 ___
 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: FTPD not working properly on jail

2010-12-08 Thread Chris Brennan
On Wed, Dec 8, 2010 at 3:07 PM, Joseph Bashe joseph.ba...@gmail.com wrote:

 But he mentioned he needs some sort of 'virtual' (I'm assuming chroot)
 feature; this is not possible with sftp afaik.


With some clever mapping of $HOME into the chroot, why wouldn't that be
possible?
___
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? [LONG]

2010-12-08 Thread Karl Vogel
 On Tue, 7 Dec 2010 21:23:04 -0700, 
 Dale Scott dalesc...@shaw.ca said:

D I'll interpret that as saying a large percentage of the PHP apps vying
D for your attention are crap, but buyer beware. Just be careful, have a
D healthy level of scepticism, and keep your eyes open.

   Yup.

D I don't know anything about Facebook other than it's PHP-based, but I'm
D sure we'd hear about it being hacked on a regular basis if it was.

   
http://www.informationweek.com/news/security/vulnerabilities/showArticle.jhtml?articleID=216403016
   Microsoft and Facebook Team Up to Put the Kibosh on Koobface
   Mon, 6 Apr 2009

   Microsoft and Facebook are working together to protect users from the
   Koobface worm.  Koobface spreads through Facebook and MySpace social
   networking sites and infects users who run vulnerable versions of
   Windows.  It steals login information so it can hijack accounts and spam
   users' contact lists.

   The spam usually contains a link to what is billed as a video, but users
   who click the link are told they must download a program to watch the clip.
   If users agree to the download, their machines become infected with malware.
   Microsoft has added Koobface to its Malicious Software Removal Tool (MSRT),
   which removed nearly 200,000 instances of Koobface from more than 133,000
   computers in two weeks.
   

   http://www.theregister.co.uk/2009/05/15/facebook_phishing_scam/
   http://technology.timesonline.co.uk/tol/news/tech_and_web/article6294169.ece
   Another Phishing Attack Targets Facebook Users
   Fri, 15 May 2009

   Users of the social networking site Facebook have been subjected to another
   phishing attack.  The attackers gained access to the social networking
   site by using legitimate user accounts and then directing the contacts
   of the compromised accounts to websites containing malicious software.
   The attackers ostensibly gained access to the initial accounts by exploiting
   easy-to-guess passwords.
   

   
http://searchsecurity.techtarget.com/news/article/0,289142,sid14_gci1356896,00.html
   IT Managers Feel Pressured to Relax Security Policies
   Wed, 20 May 2009

   According to a recent survey of 1,300 IT managers, 86 percent said
   they were being pressured by company executives, marketing departments,
   and sales departments to relax web security policies to allow access to
   web-based platforms such as Google Apps.  Nearly half of respondents said
   some employees bypass security policies to access services like Twitter
   and Facebook.  More than half of the respondents noted that they lacked the
   means to detect embedded malicious code and prevent URL redirect attacks.
   

   http://www.theregister.co.uk/2009/08/07/twitter_attack_theory/
   Attack on Twitter and Facebook Was a JoeJob
   6-10 Aug 2009

   The denial-of-service attacks that hobbled Twitter and Facebook last week
   were not conducted through botnets, but instead were the result of a spam
   campaign aimed at a taking out accounts that belong to a pro-Republic of
   Georgia blogger.
   

   
http://www.scmagazineus.com/Facebook-to-modify-privacy-practices-after-investigation/article/147556/
   http://technology.timesonline.co.uk/tol/news/tech_and_web/article6812783.ece
   Facebook Will Strengthen Privacy Practices
   27-28 Aug 2009

   In response to an investigation launched by Canada's Office of the Privacy
   Commissioner, Facebook has agreed to give users more control about the
   information they share with third-party applications.  The applications will
   be required to get permission from users for every category of personal
   information they want to access.  In addition, users will have the option
   to deactivate or to even to delete their accounts.  If users delete their
   accounts, all information belonging to that user will be deleted from
   Facebook servers.
   

   
http://www.computerworld.com/s/article/9138780/Facebook_Captchas_broken_?source=rss_security
   Spammers Break Facebook CAPTCHA
   Thu, 1 Oct 2009

   Malware purveyors have managed to break the Facebook CAPTCHA (completely
   automated public Turing test to tell computers and humans apart), allowing
   them to automate the creation of Facebook pages.  The malicious pages are
   being used to send links to malicious websites that promote scareware.
   The pages all have the same photograph, but have different user names.
   Facebook is taking steps to identify the rogue pages and disable them.
   

   http://www.wired.com/epicenter/2010/01/facebook-email/
   Rogue Marketers Can Mine Your Info on Facebook
   Ryan Singel
   Tue, 5 Jan 2010

   A marketer can take a list of 1,000 e-mail addresses, either legally or
   illegally collected -- and upload those to Facebook through a dummy
   account -- which then lets the user see all the profiles created using
   those addresses.  Given Facebook's ubiquity and most people's 

Re: Shopping cart other than OSCommerce? [LONG]

2010-12-08 Thread Jerry McAllister
On Wed, Dec 08, 2010 at 04:13:25PM -0500, Karl Vogel wrote:

  On Tue, 7 Dec 2010 21:23:04 -0700, 
  Dale Scott dalesc...@shaw.ca said:
 
 D I'll interpret that as saying a large percentage of the PHP apps vying
 D for your attention are crap, but buyer beware. Just be careful, have a
 D healthy level of scepticism, and keep your eyes open.
 
Yup.
 
 D I don't know anything about Facebook other than it's PHP-based, but I'm
 D sure we'd hear about it being hacked on a regular basis if it was.

Interesting.   Looks like most of these depend on the bad judgement
of the user to respond to phishing and similar attacks rather than
a flaw in the php code.- though once the user makes the mistake
they [unknowingly] allow the attack to insert malware.

jerry
  
  


 http://www.informationweek.com/news/security/vulnerabilities/showArticle.jhtml?articleID=216403016
Microsoft and Facebook Team Up to Put the Kibosh on Koobface
Mon, 6 Apr 2009
 
Microsoft and Facebook are working together to protect users from the
Koobface worm.  Koobface spreads through Facebook and MySpace social
networking sites and infects users who run vulnerable versions of
Windows.  It steals login information so it can hijack accounts and spam
users' contact lists.
 
The spam usually contains a link to what is billed as a video, but users
who click the link are told they must download a program to watch the clip.
If users agree to the download, their machines become infected with 
 malware.
Microsoft has added Koobface to its Malicious Software Removal Tool (MSRT),
which removed nearly 200,000 instances of Koobface from more than 133,000
computers in two weeks.

 
http://www.theregister.co.uk/2009/05/15/facebook_phishing_scam/

 http://technology.timesonline.co.uk/tol/news/tech_and_web/article6294169.ece
Another Phishing Attack Targets Facebook Users
Fri, 15 May 2009
 
Users of the social networking site Facebook have been subjected to another
phishing attack.  The attackers gained access to the social networking
site by using legitimate user accounts and then directing the contacts
of the compromised accounts to websites containing malicious software.
The attackers ostensibly gained access to the initial accounts by 
 exploiting
easy-to-guess passwords.

 

 http://searchsecurity.techtarget.com/news/article/0,289142,sid14_gci1356896,00.html
IT Managers Feel Pressured to Relax Security Policies
Wed, 20 May 2009
 
According to a recent survey of 1,300 IT managers, 86 percent said
they were being pressured by company executives, marketing departments,
and sales departments to relax web security policies to allow access to
web-based platforms such as Google Apps.  Nearly half of respondents said
some employees bypass security policies to access services like Twitter
and Facebook.  More than half of the respondents noted that they lacked the
means to detect embedded malicious code and prevent URL redirect attacks.

 
http://www.theregister.co.uk/2009/08/07/twitter_attack_theory/
Attack on Twitter and Facebook Was a JoeJob
6-10 Aug 2009
 
The denial-of-service attacks that hobbled Twitter and Facebook last week
were not conducted through botnets, but instead were the result of a spam
campaign aimed at a taking out accounts that belong to a pro-Republic of
Georgia blogger.

 

 http://www.scmagazineus.com/Facebook-to-modify-privacy-practices-after-investigation/article/147556/

 http://technology.timesonline.co.uk/tol/news/tech_and_web/article6812783.ece
Facebook Will Strengthen Privacy Practices
27-28 Aug 2009
 
In response to an investigation launched by Canada's Office of the Privacy
Commissioner, Facebook has agreed to give users more control about the
information they share with third-party applications.  The applications 
 will
be required to get permission from users for every category of personal
information they want to access.  In addition, users will have the option
to deactivate or to even to delete their accounts.  If users delete their
accounts, all information belonging to that user will be deleted from
Facebook servers.

 

 http://www.computerworld.com/s/article/9138780/Facebook_Captchas_broken_?source=rss_security
Spammers Break Facebook CAPTCHA
Thu, 1 Oct 2009
 
Malware purveyors have managed to break the Facebook CAPTCHA (completely
automated public Turing test to tell computers and humans apart), allowing
them to automate the creation of Facebook pages.  The malicious pages are
being used to send links to malicious websites that promote scareware.
The pages all have the same photograph, but have different user names.
Facebook is taking steps to identify the rogue pages and disable them.
  

Re: FTPD not working properly on jail

2010-12-08 Thread Joseph Bashe
But he mentioned he needs some sort of 'virtual' (I'm assuming chroot) feature; 
this is not possible with sftp afaik.
-Original Message-
From: Chris Brennan xa...@xaerolimit.net
Sender: owner-freebsd-j...@freebsd.org
Date: Wed, 8 Dec 2010 11:59:00 
To: Redd Vinylenereddvinyl...@gmail.com
Cc: Bjoern A. Zeebbzeeb-li...@lists.zabbadoz.net; 
questionsquesti...@freebsd.org; j...@freebsd.org; kradkra...@gmail.com
Subject: Re: FTPD not working properly on jail


 On Wed, Dec 8, 2010 at 5:49 PM, krad kra...@gmail.com wrote:

  WHy not try sftp? Probably more secure and a dam site easier to setup.


I second this. SFTP is a ton easier, it's setup by default to work when SSH
is setup/installed on any system.
___
freebsd-j...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to freebsd-jail-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: Terrible Clock Skew

2010-12-08 Thread Chuck Swiger
Hi, Dave--

On Dec 8, 2010, at 12:01 PM, Dave Cundiff wrote:
 Hi everyone,
 
 I posted this to the forum as well but figured I'd try here since the
 same people might not subscribe to both.

I'm not sure which forum you're mentioning here, although it proves you right 
about the conclusion you'd made here.  :-)

 I've been experiencing some terrible clock skew and just can't figure
 it out. By terrible I mean I'm losing 30 minutes a day. The loss only
 occurs when I bring the system under heavy load. The load is multiple
 Rsync backups to a ZFS pool(with gzip compression) backed by a 16 disk
 Raid50. I'm using a hardware Raid controller for battery backed write
 caching.

That kind of slew rate is well past what ntpd can deal with; it suggests 
possibly that you're losing timer interrupts, or maybe that the time of day 
clock on the motherboard is broken or dead.  Output of vmstat -i might be 
informative for the former, for the latter check whether the BIOS can keep the 
clock sane while in the BIOS menu-- there should be a small Li battery on the 
motherboard which might be replaceable.

You might also double-check that you've got the latest BIOS version update, but 
that's less likely to help.

For a workaround, you can fire off ntpdate -b from cron every 5 minutes or 
similar to keep the clock from drifting too far.

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


dhclient doesn't work over wireless

2010-12-08 Thread Michael

Hello,

My FreeBSD laptop is unable to get IP address over DHCP but the same 
network works fine on Windows, Ubuntu and Android so I believe the 
problem lies in my FreeBSD configuration and not on the router/access 
point. Problem occurs only for wireless interface.


FreeBSD 8.1 amd64 with Atheros interface. Wireless networking was 
working fine on that system (the same config files) until I had to 
replace my wireless router.


My rc.conf file:
  wlans_ath0=wlan0
  ifconfig_wlan0=WPA SYNCDHCP

I'm using standard dhclient.conf file.

My wpa_supplicant.conf file:
  network={
  ssid=wifi
  scan_ssid=1
  bssid=XX:XX:XX:XX:XX:XX
  priority=9
  mode=0
  proto=RSN
  key_mgmt=WPA-PSK
  auth_alg=OPEN
  pairwise=CCMP
  group=CCMP
  psk=x
}

Now after reboot I'm geting wlan0 connection (status associated):
wlan0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
  ether xx:xx:xx:xx:xx:xx
  inet 0.0.0.0 netmask 0xff00 broadcast 255.255.255.255
  media: IEEE 802.11 Wireless Ethernet DS/11Mbps mode 11g
  status: associated
  ssid wifi channel 9 (2452 MHz 11g) bssid d8:5d:4c:ea:cb:ee
  regdomain 103 indoor ecm authmode WPA2/802.11i privacy ON
  deftxkey UNDEF AES-CCM 2:128-bit txpower 20 bmiss 7 scanvalid 450
  bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5
  protmode CTS wme burst roaming MANUAL

But for some reason it doesn't get the IP address!
And whrn I manually try to: dhclient wlan0
  DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
  DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
  DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 16
  DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 21
  DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
  No DHCPOFFERS received.
  No working leases in persistent database - sleeping.

Again, other systems doesn't seem to have any trouble with getting IP 
from this DHCP server and wired interface (em0) works fine too.


Any ideas please?
___
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: FTPD not working properly on jail

2010-12-08 Thread krad
On 8 December 2010 20:07, Joseph Bashe joseph.ba...@gmail.com wrote:

 But he mentioned he needs some sort of 'virtual' (I'm assuming chroot)
 feature; this is not possible with sftp afaik.
 .



Its totally possble to chroot the sftp, and I have done it several times.
Something like the below will isolate each user

Match Group sftponly
 ChrootDirectory /home/chroot/%u
 X11Forwarding no
 AllowTcpForwarding no
 ForceCommand internal-sftp


he might need something more like this so they can share data

Match Group sftponly
 ChrootDirectory /home/chroot/
 X11Forwarding no
 AllowTcpForwarding no
 ForceCommand internal-sftp
___
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-08 Thread Kevin Kinsey

Chuck Swiger wrote:

You don't magically get immunity from SQL injection by using 
JDBC or EOF or whatever, but using bound variables in queries rather 
than feeding user input into raw SQL, or invoking stored procedures 
or user-defined functions instead will mitigate one of the more 

 common security problems.

And these practices are Good Practice in any language, including
PHP.  I think a big part of PHP's problem was that in order to have
it widely adopted and to be thought simple enough for $ME to use,
the documentation was written in simplest terms, without these
types of checks, and inexperienced coders adopted similar practices
to write working sites.  The real problems with PHP are its ubiquity
(not unlike M$ operating systems ... it's an omnipresent target) and
the fact that many of the people writing it come from a design
background instead of a programming one.  A man who has no inkling
of the existence of carnivorous animals will not build his house in a tree.

My $.02,

Kevin Kinsey
___
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: [fbsd_questions] mac and windoze formats - a

2010-12-08 Thread spellberg_robert

chuck ---

thank you.
your clarity is warmly appreciated.



fyi, would that these --were-- pdfs.
regrettably, these are not computer people;
  they are print_the_magazine_on_paper_and_sell_the_paper people.

the usual approach is to install a binary on the box that, at the least,
  requires the presence of the optical_disc in the drive to operate.

well, that's what happens when one charges money for something that is easily 
duplicated.
their loss; i didn't include this item in today's order for some single_issues.



ciao.

rob



Chuck Swiger wrote:

On Dec 8, 2010, at 12:12 PM, spellberg_robert wrote:


premise:

i was looking at a retail site that is offering
a dvd_archive of every issue of a particular magazine back to its beginning, 
many decades ago
[ these have become popular, lately ].



If the archive contains this magazine in a common format like PDF, you can view 
such under nearly any platform (including FreeBSD).



usually, i put these things on my windoze_box, until it was no longer new 
enough.
then, i looked for linux [ aka, elf ] compatability, which also works.



ELF is a binary file format.  It's used by Linux, FreeBSD, Solaris, and other 
platforms.



research:

now, freebsd handles all sorts of elf; but,
mac is not elf, it is derived from mach [ a long_unused word from my youth ].



Yes, MacOS X uses the Mach kernel from CMU, also used by NEXTSTEP.  The binary 
file format for the Mac is called MachO.



so, this question is about emulation.
i found the section in the faq and in the handbook on elf, but,
there is no mention of mac, osx, mach or anything else that is not elf, not 
even wine.
i found a recent _questions post that suggested that there is no current 
ability to run a mach-o binary.  because no one challenged this assertion, i 
take it as true.



It is.



q:where do things stand regarding
the future ability to run either a windoze or mac binary
[ as these are the general_public's notion of a computer ] ?



You can use emulation software like VMWare 3 to run a Windows environment under 
FreeBSD; however, that won't let you run MacOS X or Mac programs.

Regards,



___
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: FTPD not working properly on jail

2010-12-08 Thread Da Rock

On 12/09/10 06:13, Chris Brennan wrote:

On Wed, Dec 8, 2010 at 3:07 PM, Joseph Bashejoseph.ba...@gmail.com  wrote:

   

But he mentioned he needs some sort of 'virtual' (I'm assuming chroot)
feature; this is not possible with sftp afaik.


 

With some clever mapping of $HOME into the chroot, why wouldn't that be
possible?
___
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
   
Never been a problem for me. I have a jails to sftp into and out of all 
the time.

___
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? [LONG]

2010-12-08 Thread Da Rock

On 12/09/10 07:13, Karl Vogel wrote:

On Tue, 7 Dec 2010 21:23:04 -0700,
Dale Scottdalesc...@shaw.ca  said:
   

D  I'll interpret that as saying a large percentage of the PHP apps vying
D  for your attention are crap, but buyer beware. Just be careful, have a
D  healthy level of scepticism, and keep your eyes open.

Yup.

D  I don't know anything about Facebook other than it's PHP-based, but I'm
D  sure we'd hear about it being hacked on a regular basis if it was.


http://www.informationweek.com/news/security/vulnerabilities/showArticle.jhtml?articleID=216403016
Microsoft and Facebook Team Up to Put the Kibosh on Koobface
Mon, 6 Apr 2009

   

... /snip

And thats why Facebook and all those social network sites are bad news. 
What happened to anonymity on the internet? Everyone I know worth their 
salt steers well clear of them...

___
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? [LONG]

2010-12-08 Thread Jerry
On Thu, 09 Dec 2010 10:07:57 +1000
Da Rock freebsd-questi...@herveybayaustralia.com.au articulated:

[snip]

 And thats why Facebook and all those social network sites are bad
 news. What happened to anonymity on the internet? Everyone I know
 worth their salt steers well clear of them...

Nothing is foolproof to a sufficiently talented fool. Or as some
say, Make it idiot proof and someone will make a better idiot.

There is nothing inherently bad with Facebook or any of its imitators.
The acronym PEBKAC accurately describes the true nature of problem.
The inclusion of anonymity has nothing to do with the problem.

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

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

Everyone is entitled to be stupid, but some abuse the privilege.
___
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-08 Thread patrick
Be sure to check out the ezjail port in /usr/ports/sysutils/ezjail --
it makes deploying and updating multiple jails really fast;
exponentially faster than building a jail as per jail(8).

http://erdgeist.org/arts/software/ezjail/

Patrick

On Tue, Dec 7, 2010 at 10:15 AM, Xn Nooby xno...@gmail.com 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!
 ___
 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: USB management utility

2010-12-08 Thread Chad Perrin
On Wed, Dec 08, 2010 at 12:07:35AM +, Bruce Cran wrote:
 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)?

Thanks.  The manpage for usbconfig is so cryptic and sparse as to be
essentially useless, so I had no idea it would accomplish what I asked.

I guess I have some research ahead of me.

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


pgplnib3xXfFf.pgp
Description: PGP signature


Re:anybody else have an asus 900a

2010-12-08 Thread justin sullivan

14
Date: Tue, 7 Dec 2010 11:05:43 -0800
From: Gary Kline kl...@thought.org
Subject: Anybody else have an ASUS 900A?
To: FreeBSD Mailing List freebsd-questions@FreeBSD.ORG
Message-ID: 20101207190541.ga16...@thought.org

Content-Type: text/plain; charset=us-ascii


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



Yeah mine was also pretty cheap, but thats why I bought it! I wiped the Xandros 
distro off of it immediately and put Ubuntu netbook remix on it at first. Then 
moved on to Freebsd.  I've had FreeBSD on this machine for almost a year now. 
Everything works well. The only problem I ran into was disk space as it only 
has a  4gb ssd. I got around this by using a 8 gb sd card for my /usr 
partition. From what I've read online there is also an additional usb slot on 
the actual mother board, so you can use a micro usb key for storage there as 
well.  Although, I haven't checked so I'm not 100% positive on that. I'm 
currently running 8.1-RELEASE with fluxbox, linux-opera(flash), and about 400 
other packages. Wireless works great, I don't install from ports unless I 
absolutely have to because it just takes so damn long to compile anything on 
here. Anyways you're wanting to install ktts on your 
machine(/usr/ports/accessibility/ktts)? I dont forsee you having any problems 
using ktts on it. 


Regards,


~Sully
  
___
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: dhclient doesn't work over wireless

2010-12-08 Thread Chris Brennan
On Wed, Dec 8, 2010 at 6:01 PM, Michael mlmichae...@gmail.com wrote:


 Again, other systems doesn't seem to have any trouble with getting IP from
 this DHCP server and wired interface (em0) works fine too.

 Any ideas please?


A question first, is this a VirtualBox VM? If so, you'll need to either
install the bridging adapter from vBox or use a NAT configuration, in which
case you will get a 10.0.0.x IP address.
___
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: dhclient doesn't work over wireless

2010-12-08 Thread Adam Vande More
On Wed, Dec 8, 2010 at 5:01 PM, Michael mlmichae...@gmail.com wrote:


 Again, other systems doesn't seem to have any trouble with getting IP from
 this DHCP server and wired interface (em0) works fine too.

 Any ideas please?


Your answer lies within:

http://www.freebsd.org/cgi/query-pr-summary.cgi

-- 
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: FreeBSD on Virtualbox: No network access

2010-12-08 Thread Weihang Wang

On Dec 3, 2010, at 4:25 AM, Timm Wimmers wrote:

 Am Freitag, den 03.12.2010, 00:33 -0500 schrieb Weihang Wang:
 Hi Martes,
 
 I have tried the first two interfaces which are said to be supported by 
 FreeBSD, they do not work. Surprisingly, now I choose the option Intel 
 PRO/1000 T Server and in NAT mode, it works now
 Thank you so much, you do me a great favor!! Hope this also works for Chris!
 
 In most cases it is better to use bridge mode. In NAT mode your VM get a
 private subnet and other devices in your network can't find your VM,
 because the VM is behind (or encapsulated in) your HOST (as like as your
 HOST is behind your router to the internet). This can work if you define
 routes, but bridging is mostly easier.
 
 In Bridge mode your VM acts like any other machine in your network and
 will get an IP-Adress from your DHCP server (if you use DHCP).
 
 -- 
 Timm
 
 [1] HSOT = your Ubuntu Workstation
 

Hi,

Could someone tell me how to enable Bridge mode?

I just change the network settings of my virtual machine, change it to bridged 
mode. I also select the eth0, which is the physical interface of my system. 
Then in my virtual machine, I add one line:
ifconfig_em0=DHCP in /etc/rc.conf file.
I have changed each of the five virtual interfaces Intel and ..., but I could 
not get network access. 

If I use NAT mode, one of these five interfaces works fine. But now I do need 
the Bridged mode because one of my machine would be a server in my experiment.

Hope to hear from you. Thanks in advance.

Best,
W.W.___
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 on Virtualbox: No network access

2010-12-08 Thread Adam Vande More
On Wed, Dec 8, 2010 at 10:34 PM, Weihang Wang weih...@vt.edu wrote:

 Hi,

 Could someone tell me how to enable Bridge mode?


Seems like you already know how since you do it below.


 I just change the network settings of my virtual machine, change it to
 bridged mode. I also select the eth0, which is the physical interface of my
 system.
 Then in my virtual machine, I add one line:
 ifconfig_em0=DHCP in /etc/rc.conf file.
 I have changed each of the five virtual interfaces Intel and ..., but I
 could not get network access.


ifconfig_em0=DHCP would only work for the intel adapters, not amd ones.


 If I use NAT mode, one of these five interfaces works fine. But now I do
 need the Bridged mode because one of my machine would be a server in my
 experiment.


 You do have a DHCP server correct?  What happens when you do dhclient
em0?  Does bridged networking work with a different guest OS as maybe it's
some problem with your host.

-- 
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: FreeBSD on Virtualbox: No network access

2010-12-08 Thread Chris Brennan
On Wed, Dec 8, 2010 at 11:34 PM, Weihang Wang weih...@vt.edu wrote:

 Hi,

 Could someone tell me how to enable Bridge mode?

 I just change the network settings of my virtual machine, change it to
 bridged mode. I also select the eth0, which is the physical interface of my
 system.
 Then in my virtual machine, I add one line:
 ifconfig_em0=DHCP in /etc/rc.conf file.
 I have changed each of the five virtual interfaces Intel and ..., but I
 could not get network access.

 If I use NAT mode, one of these five interfaces works fine. But now I do
 need the Bridged mode because one of my machine would be a server in my
 experiment.

 Hope to hear from you. Thanks in advance.


Weihang,

Basically what you want to do is select bridging in your vBox settings for
your VM. Then select your real system's ethernet adapter, expand the little
drop down below that and it will allow you to choose which vNIC you want. I
choose the Intel 82545EM device which gives me an em0 vNIC. in my FreeBSD VM
I have the following three lines pertaining to setting up my network

sshd_enable=YES
ifconfig_em0=inet 192.168.0.20 netmask 255.255.255.0
defaultrouter=192.168.0.1
hostname=freebsd-bsd.xaerolimit.net

and of course, that hostname does resolve on my lan, but that's not what
this e-mail is about. Hope this helps.
___
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-08 Thread Polytropon
On Wed, 08 Dec 2010 23:48:11 +1000, Da Rock 
freebsd-questi...@herveybayaustralia.com.au wrote:
 On 12/08/10 11:26, Polytropon wrote:
  On Wed, 08 Dec 2010 00:09:24 +0100, Julian H. Staceyj...@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.
 
 
 
 
 I like that approach- works for me anyway...

Let me add that it would be good to default do an action
after a certain time (e. g. 60 seconds). This default should
be the preparation for remote installation as this is the
obvious choice when no interaction is done - because it
maybe is not possible (like for headless servers). So
you put in the installation media (CD or USB stick), wait
a minute, and then remotely access the installer.



 Accessibility should be foremost at this level and above.

I would also like to see it that way; sadly, market share
oriented development doesn't share this thought. You can
make money on all the healthy users, there's plenty of
them. Users with disabilites are uninteresting, from a
marketing point of view. Users in niche markets are
uninteresting, too.



 The legalities 
 themselves are becoming hairy these days, and considering the point that 
 we are trying to push accessibility in terms of applications (such as 
 issues with flash, to name one) using physical accessibility as a 
 parallel argument we should be setting an example as well.

Accessibility on the web is just one point. Operating systems,
the backbones of all the dancing bunnies, should be a good
example of how to make information accessible to the widest
amount of people. This includes the idea of NOT cutting out
those who do not have the ability to access a graphical
installer: Not because they don't want to use it, but because
they don't have the means to access it.



 That said, there is no reason why can't make it look as pretty as we can 
 without compromising this principle :)

GUI installer, remote access and not rising barriers does not
contradict. If done properly, it can benefit both the professional
users AND those who judge at first sight.



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


mbr loader

2010-12-08 Thread xinyou yan
1. when i install freebsd . I can write mbr and not write
if i write mbr . freebsd can Identification  windows and load it

2 if i do not write  . How  windows load bsd

3. Can freebsd load linux  (fedora)? and how  ?
___
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


Disk encryption on a headless box?

2010-12-08 Thread Andre Goree
I was looking at encrypting my data on a headless server I have, and found a
good tutorial using ZFS+geli.  Easy enough to setup, but one thing I just
realized is that I wouldn't be able to enter the passphrase on the server
since I keep it headless.

I wonder if there is some type of encryption I can use that does not require
entering a passphrase.  For example, perhaps I can set it up in a way that
it'll automatically read from certain files on a thumb drive?
___
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-08 Thread Chris Brennan
Sadly this didn't work for me. I for the same error.

-- Sent from my Droid

On Dec 7, 2010 10:28 AM, Lowell Gilbert 
freebsd-questions-lo...@be-well.ilk.org wrote:
 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


Re: Terrible Clock Skew

2010-12-08 Thread Modulok
On 12/8/10, Dave Cundiff syshack...@gmail.com wrote:
 Hi everyone,

 I posted this to the forum as well but figured I'd try here since the
 same people might not subscribe to both.

 I've been experiencing some terrible clock skew and just can't figure
 it out. By terrible I mean I'm losing 30 minutes a day. The loss only
 occurs when I bring the system under heavy load. The load is multiple
 Rsync backups to a ZFS pool(with gzip compression) backed by a 16 disk
 Raid50. I'm using a hardware Raid controller for battery backed write
 caching.

 Mobo: Supermicro X8DTL
 CPU: Dual Intel 5620 quad cores
 Raid: Areca 1620

 I have ntp enabled but the skew happens to fast and it stops trying.
 I've tried a bunch of stuff from the various lists. I tried all my
 clock sources. TSC(-100) HPET(900) ACPI-fast(1000) i8254(0). I tried
 changing the kern.hz flag lower. I also tried disabling the enhanced
 speed step feature of this chip as per the FAQ on the site. Nothing
 works.

 Currently I'm defaults except the following settings.

 EIST Disabled in BIOS
 kern.hz=100
 kern.timecounter.hardware=i8254

 Is there anything else I could do to debug this? I can't really blame
 the hardware because I have these same boards/chips running in Linux
 with no clock issues.

In the man page for ntpd, you might look into The huff-n'-puff
Filter. Not saying it will help, but it seems like you've tried
everything else.

-Modulok-
___
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: Disk encryption on a headless box?

2010-12-08 Thread Adam Vande More
On Wed, Dec 8, 2010 at 10:52 PM, Andre Goree an...@drenet.homelinux.netwrote:

 I was looking at encrypting my data on a headless server I have, and found
 a
 good tutorial using ZFS+geli.  Easy enough to setup, but one thing I just
 realized is that I wouldn't be able to enter the passphrase on the server
 since I keep it headless.

 I wonder if there is some type of encryption I can use that does not
 require
 entering a passphrase.  For example, perhaps I can set it up in a way that
 it'll automatically read from certain files on a thumb drive?


GELI has both man pages and handbook entries.  Those should typically be
your first line of questioning.

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

2010-12-08 Thread Jonathan McKeown
On Thursday 09 December 2010 01:07:38 Kevin Kinsey wrote:
 Chuck Swiger wrote:
  You don't magically get immunity from SQL injection by using
  JDBC or EOF or whatever, but using bound variables in queries rather
  than feeding user input into raw SQL, or invoking stored procedures
  or user-defined functions instead will mitigate one of the more
 
   common security problems.

 And these practices are Good Practice in any language, including
 PHP.  I think a big part of PHP's problem was [... documentation]

I don't think it was just documentation. Perl, for example, comes with a 
standard way to access databases, DBI, which has good practices like binding 
variables in queries, escaping of input and output and so on, baked in.

PHP comes with builtin functions for accessing MySQL databases, which do 
nothing at all to help the programmer make sensible decisions and follow best 
practice.

There are database abstraction modules for PHP as far as I know, but if 
someone decides not to use them, is it still as hard as it was to do things 
safely using the builtin mysql_* functions?

Jonathan
___
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: mountroot prompt in the middle of updating - can't get past it

2010-12-08 Thread Boris Samorodov
On Wed, 8 Dec 2010 11:49:41 -0800 Kurt Buff wrote:

 All,

 I have a Lenovo T61 with a 100g HD that I dual boot with FreeBSD
 8.0-STABLE amd64 and Windows XP.

 FBSD is on ad0s2a, with ad0s2b as swap, and XP on ad0s1a.

 Yesterday I booted up FBSD, started xfce4, started a terminal session,
 su'ed to root and did the following - running a generic kernel:

 # cd /usr/src
 # make buildworld
 # make buildkernel
 # make installkernel

 Then I exited xfce4, did sudo shutdown -r now, and got a mountroot
 prompt that I now can't get past.

 I can get to the loader prompt, and lsdev shows the following:

cd devices:
disk devices:
  disk0: BIOS drive C:
 disk0s1: NTFS/HPFS
 disk0s2a:  FFS
 disk02sb:  swap

 when I use '?' at the mountroot prompt I get:

List of GEOM managed disk devices:
   acd0
Loader variables:
vfs.root.mountfrom=ufs:/dev/ad0s2a
vfs.root.mountfrom.options=rw


 I've tried entering the following at the mountroot prompt, with no success:
ufs:/dev/ad0s2a
ufs:/ad0s2a
ufs:ad0s2a
ffs:/dev/ad0s2a

 and several other variations that I've found while googling, but no
 success anywhere.

 Does anyone have thoughts on how to remedy this?

Just for the last question:
Try to load an old kernel. (Type boot /boot/kernel.old at loader
prompt.)

-- 
WBR, bsam
___
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: mbr loader

2010-12-08 Thread Da Rock

On 12/09/10 15:08, xinyou yan wrote:

1. when i install freebsd . I can write mbr and not write
 if i write mbr . freebsd can Identification  windows and load it

2 if i do not write  . How  windows load bsd

3. Can freebsd load linux  (fedora)? and how  ?
___
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
   

I can't remember winblow$ method, but I know fedora can load BSD.

I have a temporary setup to test my new bright shiny AND STABLE FreeBSD 
media server (many thanks to all those involved in getting dvb cards 
working on BSD), but I have left the default F10 setup so I can iron out 
bugs and still have a tv if it breaks.


So I setup grub.conf- the man pages are rather useful, but the long and 
the short of it is that its simple to work out: Name the system you want 
to boot, and provide a root for it. Don't chainload.


So the core of it (from memory mind, so check the man and anyone else 
correct the errors) was as follows:


title FreeBSD 8.1
root(hd 1,a)

Root will vary according to your needs. Mine was on a second disk, slice 1a.

I assume from what you have said regarding BSD loading winblow$ that the 
reverse (BSD load linux) would be true too in the same fashion.

___
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