Re: Renaming "root" to "homer"?

2008-05-30 Thread Christian Zachariasen
On Fri, May 30, 2008 at 5:03 PM, Wojciech Puchar <
[EMAIL PROTECTED]> wrote:

> Peope have already pointed out that it is a bad idea to
>> allow remote root logins, so I won't repeat that.  :-)
>>
>
> i like bad ideas :) except the worst idea - dumb generalization.
>
>  But to answer your question:  Renaming the "root" account
>> will probably break quite a log of things, for example
>>
>
> make 2 roots, root and homer in /etc/master.passwd
>
> just remember to type
> passwd root
>
> or
>
> passwd homer.
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> [EMAIL PROTECTED]"
>

How would that help with his problem?

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


Re: Renaming "root" to "homer"?

2008-05-30 Thread Christian Zachariasen
On Fri, May 30, 2008 at 7:38 AM, Brian <[EMAIL PROTECTED]> wrote:

>
>  Sorry, forgot to send this to the mailing list as well:
>>
>> Not recommended.
>>
>> Instead edit your sshd_config file and change the option PermitRootLogin
>> to
>> "no".
>>
>> Christian Zachariasen
>>
>>
> Isnt this the Freebsd default anyway, that root cannot login remotely
> anyway, unlike that penguin OS?  SSH in remotely as a non root user that is
> in the wheel group and then su to root.
>
> Brian
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> [EMAIL PROTECTED]"
>

I think you're right, I was just assuming that he had the setting set to
"Yes" since he wanted to rename root to homer in order to stop these
attacks.

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


Re: Renaming "root" to "homer"?

2008-05-29 Thread Christian Zachariasen
On Thu, May 29, 2008 at 10:40 AM, Gilles <[EMAIL PROTECTED]> wrote:

> Hello
>
> With all those scripts trying to connect to SSHd as "root", I was
> wondering if it'd be OK to rename this account to eg. "homer", to act
> as a first line of defense?
>
> Are there unknown consequences to doing something like that?
>
> If not, is it done by just editing /etc/password with vi, or is there
> a better way?
>
> Thank you.
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> [EMAIL PROTECTED]"
>

Sorry, forgot to send this to the mailing list as well:

Not recommended.

Instead edit your sshd_config file and change the option PermitRootLogin to
"no".

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


Re: Stumped:: web HTML. Caution, may be OT.

2008-05-29 Thread Christian Zachariasen
On Thu, May 29, 2008 at 8:57 AM, Gary Kline <[EMAIL PROTECTED]> wrote:

>Several weeks ago a friend asked why my www.thought.org page
>was so hard to read.  She said that part of my text was black
>on the deep-blue bg on my RHS.  I stopped and checked with
>firefox; things looked fine.  I've done all markup by hand since
>'94, very carefully, with only browsers in the ports tree--
>mozilla, firefox, a couple others.
>
>About a week ago I viewed my homepage with KDE Konq and almost
>flipped out.  One "free" commercial historical calender event
>feature was glued to the bottom of my blue bar ()
>on the RHS of the page.   And yep, the new text and other things
>were centered in the middle of the long blue rectangle.
>
>Since I have a few weeks now to work on things beside research,
>it's time to update my main web page.   My friend was using IE;
>it may be that Konqueror uses a similar parser to position
>things on a .php or .html page.
>
>Other than beginning from Zero and trying to determine exactly
>what causes firefox and konq to diverge, do any of you have any
>other ideas?  I've never learned an HTML editors because of the
>learning curve.  But:: if/when I come up with a better design for
>my home page, I'm willing to try again:: any best (simple) HTML
>editors in ports?
>
>I'd be much obliged for any help here.
>
>
>gary
>
>
>
>
>
>
> --
>  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
>http://jottings.thought.org   http://transfinite.thought.org
>
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> [EMAIL PROTECTED]"
>

I say keep using the technique you're using now. That's what I'd do. Instead
of finding a HTML Editor
just find a simple text editor and write all your HTML in a clean manner.

I don't know where Ted got his statistics from, but most people I know use
simple text editors for writing their HTML, CSS
and JavaScript. Personally I stick to vi or diakonos on BSD and Notepad2 on
Windows.

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


Re: Can I Reinstall FreeBSD Over SSH?

2008-05-25 Thread Christian Zachariasen
On Sun, May 25, 2008 at 9:42 AM, "Kyrre Nygård" <[EMAIL PROTECTED]>
wrote:

> My server is getting kinda messy, but my ISP charges too much for a
> reinstall. Can I do this myself over SSH? Or perhaps there are ways to make
> ones system as clean as a fresh install? Thanks.
>
> Much obliged,
> Kyrre
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> [EMAIL PROTECTED]"
>

(sorry, forgot to send this to the list as well)

You have a server at an ISP?

I'd say you'll need physical access to do an actual reinstall, unless
they're using some kind of virtualization and you have access to that.

But how is the server getting "messy"? In most cases you can just remove the
software you're not using, and reclaim disk space that way. Also make sure
any unneeded services are removed from /etc/rc.conf. To be honest, though -
I've never felt the need to reinstall FreeBSD unless I was doing a major
update as well (5 -> 6 for example).

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


Re: core dumped with java

2008-05-25 Thread Christian Zachariasen
On Sun, May 25, 2008 at 10:11 AM, ronggui <[EMAIL PROTECTED]> wrote:

> Dear List,
>
> I upgraded to freebsd 7.0 yesterday.
>
> I have install /usr/ports/java/diablo-jre15/ using ports. Then, I run
> the following command, resulting errors.
>
> [EMAIL PROTECTED] -jar /usr/local/share/java/jabref/jabref.jar
> Segmentation fault: 11 (core dumped)
>
> Anyone know how to solve this problem? Thanks.
>
> --
> HUANG Ronggui, Wincent  http://ronggui.huang.googlepages.com/
> Bachelor of Social Work, Fudan University, China
> Master of sociology, Fudan University, China
> Ph.D. Candidate, CityU of HK.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> [EMAIL PROTECTED]"
>

Does it segfault if you just run a class as you normally would? e.g what
happens if you do the following:

vi HelloWorld.java

class HelloWorld {
  public static void main(String[] args) {
    System.out.println("Hello world!");
  }
}


javac HelloWorld.java
java HelloWorld

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


Re: HEAD UP: non-MPSAFE network drivers to be disabled (was: 8.0 network stack MPsafety goals (fwd))

2008-05-24 Thread Christian Zachariasen
; awi   PCCARD  AMD PCnetMobile IEEE 802.11 PCMCIA wireless network
> >   driver
> > axe   USB ASIX Electronics AX88172 USB Ethernet driver
> > cdce  USB USB Communication Device Class Ethernet driver
> > cnw   PCCARD  Netwave AirSurfer wireless network driver
> > csISA/PCCARD  Ethernet device driver
> > cue   USB CATC USB-EL1210A USB Ethernet driver
> > exISA/PCCARD  Ethernet device driver for the Intel EtherExpress
> >   Pro/10 and Pro/10+
> > feCBUS/ISA/PCCARD Fujitsu MB86960A/MB86965A based Ethernet adapters
> > icI2C I2C bus system
> > ieISA Ethernet device driver
> > kue   USB Kawasaki LSI KL5KUSB101B USB Ethernet driver
> > oltr  ISA/PCI Olicom Token Ring device driver
> > plip  PPBUS   printer port Internet Protocol driver
> > ppp   TTY point to point protocol network interface
> > ray   PCCARD  Raytheon Raylink/Webgear Aviator PCCard driver
> > rue   USB RealTek RTL8150 USB to Fast Ethernet controller
> driver
> > rum   USB Ralink Technology USB IEEE 802.11a/b/g wireless
> >   network device
> > sbni  ISA/PCI Granch SBNI12 leased line modem driver
> > sbsh  PCI Granch SBNI16 SHDSL modem device driver
> > slTTY slip network interface
> > snc   ISA/PCCARD  National Semiconductor DP8393X SONIC Ethernet
> adapter
> >   driver
> > srISA/PCI synchronous RISCom/N2 / WANic 400/405 device driver
> > udav  USB Davicom DM9601 USB Ethernet driver
> > ural  USB Ralink Technology RT2500USB IEEE 802.11 driver
> > xePCCARD  Xircom PCMCIA Ethernet device driver
> > zyd   USB ZyDAS ZD1211/ZD1211B USB IEEE 802.11b/g wireless
> >   network device
> >
> > In some cases, the requirement for Giant is a property of a subsystem the
> > driver depends on as the driver itself; for example, the tty subsystem
> for SLIP
> > and PPP, and the USB subsystem for a number of USB ethernet and wireless
> > drivers.  With most of a year before to go on the proposed schedule, my
> hope is
> > that we will have lots of time to address these issues, but wanted to get
> a
> > roadmap out from a network protocol stack architecture perspective so
> that
> > device driver and subsystem authors could have a schedule in mind.
> >
> > FYI, the following drivers also reference IFF_NEEDSGIANT, but only in
> order to
> > provide their own conditional MPSAFEty, which can be removed without
> affecting
> > device driver functionality (I believe):
> >
> > Name  Bus Man page description
> > ---   --- 
> > cePCI driver for synchronous Cronyx Tau-PCI/32 WAN
> adapters
> > cpPCI driver for synchronous Cronyx Tau-PCI WAN adapters
> > ctau  ISA driver for synchronous Cronyx Tau WAN adapters
> > cxISA driver for synchronous/asynchronous Cronyx Sigma
> WAN
> >   adapters
> >
> > Developers and users of the above drivers are heavily encouraged to
> update the
> > drivers to remove dependence on Giant, and/or make other contingency
> plans.
> >
> > Robert N M Watson
> > Computer Laboratory
> > University of Cambridge
>
> I've created a quick table of these at the following location:
> http://wiki.freebsd.org/NetworkNeedsGiant
>
> Please everyone feel free to fill in the blanks. I'll try to do it as
> well as time permits.
>
> --
> Coleman Kane


Just out of curiousity - is there a guide available that gives some pointers
on how to go about removing the GIANT-parts of the drivers? What would one
replace it with? I'm not sure I would be up to the task, but I'd find it
interesting to actually understand the process.


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


Re: Samba user failed..Corrupt

2008-05-24 Thread Christian Zachariasen
On Sat, May 24, 2008 at 10:05 AM, Ruel Luchavez <[EMAIL PROTECTED]>
wrote:

> Regards to ALL,
>
> Guys do you have an idea how to fix this?
> Every time I add this user in my samba it always got an error:
>
> #smbpasswd -a John
> New SMB password=x
> Retype password=x
> build_sam_account: sambapasswd database is corrupt! username Joh with uid
> 1001 is not in unix passwd database!
> add_smbfilepwd_entry: entry with name John already exists
> Failed to add entry for user John
> Failed to modify password entry for user John
>
> >From what i know the server declare that the user is existing, BUT i have
> already remove the user (rmuser -y ruel)
>
> Idea please..I'm stock with this..or is this a BUGS?
> Thanks in advance
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> [EMAIL PROTECTED]"


You say you have already rmuser'd John from your system, but in your post
you wrote rmuser -y ruel. I'm assuming this is a spelling mistake. I've
never seen this error before and wasn't able to reproduce it on my system,
but this is what I'd do:

If we assume the user name you want to add is actually John, then rmuser -y
John first of all.
Make a backup of /usr/local/etc/samba/smbpasswd and then delete the
smbpasswd file.
Type adduser and add John as you normally would, then type smbpasswd -a
John.

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


Re: vi secure

2008-05-22 Thread Christian Zachariasen
recdir="/var/tmp/vi.recover"
> > sections="NHSHH HUnhsh"
> > shell="/bin/sh"
> > shellmeta="~{[*?$`'"^V"
> > Press any key to continue [: to enter more ex commands]:
> >
> > "inside_vi :set nosecure" -->
> > set: the secure option may not be turned off.
> >
> > ns1:/usr/local/www/info/docs> uname -a
> > FreeBSD ns1.tru2life.net 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12
> 10:40:27 UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
>  i386
> >
> > ns1:/usr/local/www/info/docs> sysctl -a | grep secure
> > kern.securelevel: -1
> > net.inet.tcp.insecure_rst: 0
> >
> > ns1:/usr/local/www/info/docs> whereis vi
> > vi: /usr/bin/vi /usr/share/man/man1/vi.1.gz
> /usr/ports/editors/openoffice.org-2/work/OOE680_m6/helpcontent2/source/auxiliary/vi
> >
> > [EMAIL PROTECTED]:/.../...> uname -a
> > FreeBSD lazy.tru2life.net 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May  8
> 10:21:06 UTC 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
>  i386
> >
> > [EMAIL PROTECTED]:/.../...> sysctl -a | grep secure
> > kern.securelevel: -1
> > net.inet.tcp.insecure_rst: 0
> >
> > ns3:/usr/home/master> uname -a
> > FreeBSD ns3.tru2life.net 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May  7
> 04:32:43 UTC 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
>  i386
> >
> > ns3:/home/master> sysctl -a | grep secure
> > kern.securelevel: -1
> > net.inet.tcp.insecure_rst: 0
>
> I guess you've looked at the obvious: ~/.exrc & ~/.nexrc although :set
> all does say noexrc.
>
> Have you checked:
>
> $ file /usr/bin/vi
>
> & compared output with uname?
>
> Compared /usr/bin/nvi with /usr/bin/vi? They should be the same.
>
> E.g:
>
> $ ls -l /usr/bin/vi
> -r-xr-xr-x  6 root  wheel  309336 Apr 28 14:15 /usr/bin/vi
>
> $ ls -l /usr/bin/nvi
> -r-xr-xr-x  6 root  wheel  309336 Apr 28 14:15 /usr/bin/nvi
>
> Failing that, I'm mystified :(
>
> --
>
>  Frank
>
>
>  Contact info: http://www.shute.org.uk/misc/contact.html
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> [EMAIL PROTECTED]"
>

Your behaviour is reproducible when I run vi -S, but in normal vi I have
full access to external commands with !, both running as root and toor. I
googled your error message and couldn't find it anywhere except for
newsgroups where you've been posting, so it's a very rare issue indeed. I
don't have any suggestions as to how you'd fix it though, except look for
any aliases and the stuff people have said before.

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


Re: Server crashing, no explanations

2008-05-21 Thread Christian Zachariasen
On Tue, May 20, 2008 at 8:34 PM, Wojciech Puchar <
[EMAIL PROTECTED]> wrote:

> Then, if crash dumps are enabled, it could be a HW failure..
>>
>
> no it is not. i have similar problems but not with apache, it is certainly
> FreeBSD bug that causes it to randomly reboot under certain types of load.
>
> i found the way to fix it in my case
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> [EMAIL PROTECTED]"
>

Yeah, because hardware never fails, right Wojciech?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Which version

2008-05-21 Thread Christian Zachariasen
On Wed, May 21, 2008 at 10:01 AM, Russell Schoen <[EMAIL PROTECTED]> wrote:

> Hi,
> Do you have a version that will run with an AMD Sempron 3100+, 1.8Ghz, 32
> bit, X86 family processor?
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> [EMAIL PROTECTED]"
>

Please do some reading before asking questions on the mailing list. The
FreeBSD Handbook (google it) is an excellent resource and will
answer most of your questions about FreeBSD.


But to answer this specific question: Yes, it's called FreeBSD. Just get the
latest release (7.0) and install it.

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


Re: FreeBSD 7 on Windows 2008 (Hyper-V)

2008-05-12 Thread Christian Zachariasen
Sounds like a problem with your partitioning or boot manager installation.
Being a noob with FreeBSD surely doesn't help when you're trying to install
it in a completely experimental way!

I'd advise setting up FreeBSD on a completely blank hard drive using the
exact same steps you used to set it up in the Hyper-V. If it works, then
you'll know it's a problem with the virtualization.

Of course, always check out any wikis or forums about installing different
OSes on the Hyper-V - someone out there is bound to have tried doing the
same thing as you.

Christian Zachariasen


On Mon, May 12, 2008 at 8:48 AM, Wojciech Puchar <
[EMAIL PROTECTED]> wrote:

> so install on clean machine, then run windows in emulator. much better
> solution ;)
>
>
>
> On Sun, 11 May 2008, Natham wrote:
>
>  Hi:
> >
> > Im trying to set up a FreeBSD VM under Hyper-V but i the instalation
> > do not start. i try x86 and x64 boot disk only (for a net install).
> > The error i got is "cant load kernel".
> >
> > Im a novice on FreeBSD but i have set up a few small server with it. Any
> > idea?
> >
> >
> >
> > --
> > mmm, interesante.
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "
> > [EMAIL PROTECTED]"
> >
> >
> >  ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> [EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: coretemp 70C = CPU too hot?

2008-05-09 Thread Christian Zachariasen
On Fri, May 9, 2008 at 9:08 AM, Wojciech Puchar <
[EMAIL PROTECTED]> wrote:

> As with so many other things in the computer world, it depends. With no
>> case
>> fans, it's weird that the computer gets colder if it has something above
>> and
>>
>
> no it's not. the machines above and below has proper cooling, and transfers
> this machine heat by conduction - rack cases are mostly metal and conduct
> heat well.


I've very little experience with computers in racks, but if the machines are
actually touching, then yes, this could be the case.

The 65 C temperature a previous poster was talking about is not the maximum
operating temperature for the actual processor, it's the maximum temperature
in the case while the computer is operating. As far as I know CPU
temperatures are measured on the actual processor die, and the case
temperature will normally be *much* lower.

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


Re: coretemp 70C = CPU too hot?

2008-05-08 Thread Christian Zachariasen
On Fri, May 9, 2008 at 4:55 AM, Nerius Landys <[EMAIL PROTECTED]> wrote:

> Howdy.  I purchased a 1U 10 inch deep server machine a few months ago:
>
> http://www.abmx.com/1u-10inch-deep-supermicro-mini-server-p-366.html?osCsid=80f3951929d5a7ae27a51733627ee18a
>
> The CPU is a Xeon 3xxx dual core 2.4 GHz.  The machine has no case fans, by
> design.
>
> It's sitting in a well-ventilated rack in a data center.  Oddly, when there
> are no machines below and above it, the machine gets hotter.  Seems that
> machines above and below help to cool it down.  I have the "coretemp"
> kernel
> module loaded on the FreeBSD 7.0 OS, and I saw that the CPU core temp(s)
> hit
> 70 degrees Celsius during a compile of GCC.  Is this too hot?  Should I
> complain to the people who assembled the computer?  At the time this
> happened there were supposedly no surrounding machines.  This machine has
> given me no problems.  At idle when conditions are good (meaning A/C is
> working properly and there are machines above and below it) my CPU temps
> are
> below 40.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> [EMAIL PROTECTED]"
>

As with so many other things in the computer world, it depends. With no case
fans, it's weird that the computer gets colder if it has something above and
underneath it. But there are so many factors when it comes to case
temperatures and air flow that it's nearly impossible to tell why. If
there's a huge cooler on top of the Xeon (Processor wind tunnel), then it
could be that closing the ventilation holes in the top and bottom of the
case makes the air flow more directly from the front to the back of the
case.

It seems the Xeon shuts down the system automatically if it reaches 105 C. I
don't know if this is any pointer to what a reasonable 100% load-temperature
could be, but I know processors nowadays run much cooler than they used to.
(I'm used to AMD Athlons on or above 70 C idle)

I'd say you should be fine if you haven't seen any instability at 70 C with
100% load.

You could try this if you want to be sure:

---
On Tue, Feb 28, 2006 at 12:27:07PM -0800, Don O'Neil wrote:
> What is the best way to 'burn in' or 'stress test' a new system w/
FreeBSD?
> I'd like to stress test the CPU, Memory, Disk, etc.. To make sure the
> hardware is 100% good before putting it in production.

Doing something like a buildworld -j64 loop (if you have enough
memory, otherwise reduce -j level to avoid swapping) is going to
exercise your system a fair bit.

Kris
---


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


Re: server (partly) fails: hardware?

2008-05-04 Thread Christian Zachariasen
On Sun, May 4, 2008 at 11:38 AM, Colin Brace <[EMAIL PROTECTED]> wrote:

>
> Hi all,
>
> I have FreeBSD installed on a ~6 year old IBM NetVista box; it serves a
> headless gateway/server/WAP for my home network. I upgraded it from v6 to
> v7 in mid January, building a custom kernel with altq and the new
> scheduler. It has been running fine since early December.
>
> However, three times during the past few days, it has stop functioning.
> The
> WAN connection dies and I can no longer ssh into the box. However, I can
> still ping it, and I can still ssh from one LAN client to another via the
> FreeBSD box.
>
> IOW, it seems to be dying, but not freezing, if that makes any sense.
> Alas,
> there is nothing in /var/messages to indicate what happens. I don't think
> it is succumbing to excessive load; it has a 1.6 MHz Pentium IV, 512 MB
> RAM, rarely uses swap, and the load averages tend to be very light.
>
> At this point, I assume a hardware issue, and I can have the box tested by
> a local whitebox shop later this week, but I am open to other avenues to
> purse as well.
>
> Thanks in advance for any ideas.
>
> --
>  Colin Brace
>  Amsterdam
>  http://lim.nl
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> [EMAIL PROTECTED]"
>

Can you predict at what point the server will crash? Is it after performing
a specific action, or at a certain time of day?

If you can connect a monitor to the server and actually see what happens and
also if it still accepts keystrokes and stuff, that would probably help in
diagnosing the problem.

Another tip might be to download memtest86 and run it for a while on the
machine, in order to make sure the memory is working correctly. You're
saying the machine has been running stable for a while, but it's nice to get
things like this out of the way so you at least know what isn't wrong.

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


Re: Unable to open device file "/dev/lpt0": Permission denied

2008-04-22 Thread Christian Zachariasen
On Wed, Apr 23, 2008 at 4:53 AM, David Reedy Jr <[EMAIL PROTECTED]>
wrote:

> On Tuesday 22 April 2008 10:40:25 am Roland Smith wrote:
> > On Tue, Apr 22, 2008 at 10:08:37AM -0500, David Reedy Jr wrote:
> > > > IICR, the print device should belong to the cups group. At least,
> > > > that's my working setup.
> > > >
> > > > I have the following in /etc/devfs.conf:
> > > >
> > > > # Give cups printer access
> > > > own lpt0root:cups
> > > > permlpt00660
> > >
> > > Thanks for the info. This didn't actually fix the problem, but I
> > > know it was needed since I read somewhere that everything that
> > > cupsd spawns runs as cups.
> > >
> > > What I ended up doing was resetting my cupsd.conf to default and
> > > redid my settings. I must have had a typo in there somewhere before
> > > because as soon as I restarted cupsd after making the changes, the
> > > parallel and usb ports suddenly became available as devices for the
> > > printer.
> >
> > It happens. :-)
> >
> > > I had previously selected lpd and then manually specified the uri
> > > as parallel:/dev/lpt0.
> > >
> > > The laser on the parallel port is now working fine.
> >
> > Good.
> >
> > > I also went ahead
> > > and setup my deskjet on usb:/dev/ulpt0. Print test pages get marked
> > > as completed but nothing actually comes out of the printer. Still
> > > trying to figure that one out.
> >
> > Have a look at the cups logfiles in /var/log/cups. They should give
> > you some pointers. You'll probably need to set the device permissions
> > for ulpt in devfs.rules, not devfs.conf!
> >
> I got the rules setup in devfs.rules, no problem. When I turn on the
> printer it's detected...
>
> ulpt0:  on uhub0
> ulpt0: using bi-directional mode
>
> and things get set right permission-wise...
>
> crw-rw  1 root  cups0,  88 Apr 22 21:20 /dev/ulpt0
>
> according to /var/log/cups/error_log it prints...
>
> I [22/Apr/2008:21:20:03 -0500]
> Started "/usr/local/libexec/cups/cgi-bin/printers.cgi" (pid=756)
> I [22/Apr/2008:21:20:03 -0500] [Job 47] Adding start banner page "none".
> I [22/Apr/2008:21:20:03 -0500] [Job 47] Adding job file of type
> application/postscript.
> I [22/Apr/2008:21:20:03 -0500] [Job 47] Adding end banner page "none".
> I [22/Apr/2008:21:20:03 -0500] [Job 47] Queued on "inkjet" by "root".
> I [22/Apr/2008:21:20:03 -0500] [Job 47] Started
> filter /usr/local/libexec/cups/filter/pstops (PID 757)
> I [22/Apr/2008:21:20:03 -0500] [Job 47] Started
> filter /usr/local/libexec/cups/filter/pstoraster (PID 758)
> I [22/Apr/2008:21:20:03 -0500] [Job 47] Started
> filter /usr/local/libexec/cups/filter/rastertohp (PID 759)
> I [22/Apr/2008:21:20:03 -0500] [Job 47] Started
> backend /usr/local/libexec/cups/backend/usb (PID 760)
> I [22/Apr/2008:21:20:06 -0500]
> Started "/usr/local/libexec/cups/cgi-bin/printers.cgi" (pid=761)
> I [22/Apr/2008:21:20:06 -0500] [Job 47] Completed successfully.
> I [22/Apr/2008:21:20:17 -0500]
> Started "/usr/local/libexec/cups/cgi-bin/printers.cgi" (pid=762)
>
> but the job disappears into some sort of black hole. Nothing prints.
> Printer just sits there peacefully doing nothing.
>
> From printers.conf for this printer...
>
> 
> Info HP DeskJet 3845
> Location Bottom
> DeviceURI usb:/dev/ulpt0
> State Idle
> StateTime 1208917161
> Accepting Yes
> Shared Yes
> JobSheets none none
> QuotaPeriod 0
> PageLimit 0
> KLimit 0
> AllowUser root
> AllowUser davidrjr
> OpPolicy default
> ErrorPolicy stop-printer
> 
>
> If anybody has additional insight, I'd sure appreciate it.
>
> Dave
>
> > Roland
>
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> [EMAIL PROTECTED]"
>

IIRC, you should be able to actually write

echo "something" >> /dev/ulpt0

and it should print? Might be useful for testing and stuff.

Anyway, after a quick bit of googling around for your problem (I've had CUPS
problems many times in the past myself and I know how hard it can be) I
found this:

Here is a workaround:

In printers.conf () you will probably find a line like this:

DeviceURI usb:/dev/ulpt0

change usb: to file:, so that it looks something like this:

DeviceURI file:/dev/ulpt0

Then restart cups. Cups will not read any status information from the
printer, but at least it can print. Be warned about unknown side effects. :)

Jan-Espen Pettersen


( http://lists.freebsd.org/pipermail/freebsd-questions/2006-June/125703.html)

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


Re: Experience with genealogy software?

2008-04-07 Thread Christian Zachariasen
You could check out Geni, although it might not suit your needs

http://www.geni.com/

Christian Zachariasen

On Mon, Apr 7, 2008 at 5:41 PM, Leslie Jensen <[EMAIL PROTECTED]> wrote:

>
>
> Joe Kraft skrev:
>
> > I'm looking for a web based collaborative geneology software to run on
> > FreeBSD.  Does anyone here have an experience with any of the packages out
> > there?
> >
> > I'm looking at PhpGedView, GeneWeb and Poplar.  Any recommendations?
> >
> > I'm also looking at the info on GRAMPS, but don't see anything to
> > provide web based access to a GRAMPS database.
> >
>
> I'm running Gramps and it suits my needs. I found the webbased programs to
> be less intuitive.
>
> You need to export the database if you want to share it.
> /Leslie
>
>
>
>
> > Thanks,
> > Joe.
> >
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "
> > [EMAIL PROTECTED]"
> >
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> [EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: I'd like some help

2008-03-24 Thread Christian Zachariasen
On Windows, I can really recommend the freeware burner program CDBurnerXP:

http://cdburnerxp.se/

Christian Zachariasen

On Mon, Mar 24, 2008 at 5:05 PM, Jerry McAllister <[EMAIL PROTECTED]> wrote:

> On Sat, Mar 22, 2008 at 02:58:24PM -0700, Matthew Woodson wrote:
>
> > I've been learning about a bunch of the BSD OSes, and i want to try Free
> > BSD, but i can't figure out how to download it and the instructions
> don't
> > make sense. I am running Windows XP OS- can you tell me how to download
> > Free BSD with it?
>
> Well, you generally want an ftp client.  Use it to ftp to:
>  ftp.freebsd.org
>
> Use 'anonymous' for login id  and your email address for password.
>
> >From there cd to pub/FreeBSD/releases   (NOTE that case is
> significant)
>
> At this point, you need to know the type of machine.  It is most
> likely i386  or amd64.   amd64 is for the AMD64 processor.  i386 is for
> all of the regular INTEL type processors that regular PCs use and your
> most likely choice.
>
> So, cd to i386and thenISO-IMAGES
>
> Then you have to select the version.
> I would suggest starting with 7.0
>
> cd cd to  7.0
>
> So that ends you up in:
>
>  pub/FreeBSD/releases/i386/ISO-IMAGES/7.0
>
> Then download the necessary ISOs.
>
>
> If you have a reasonable internet connection, you can install over
> the net.   That is really the best if you can do it.
>
> In that case, you only need the file  7.0-RELEASE-i386-disc1.ISO
>
> If you hav a slow or unreliable network connection, then you may
> also need disc2 and even disc3.   They have the ports' source code
> on them.
>
> Presuming disc1 is good enough,
>
> burn the file to a cd.   Note that the file is already an ISO and
> doesn't need to be converted.   It needs to be burned as a raw file
> to the CD.   Some cd burner utilities make this a bit confusing.
> Each is a little different.
>
>
> You now need to decide how to divide the hard disk and if you will be
> putting only FreeBSD on the harddisk or sharing one with some other
> OS such as something from Microsloth (called dual booting).
>
> In any case, you have to have a slice dedicated to FreeBSD.
> Note that FreeBSD UNIX uses the term slice but Microsloth uses the
> term 'primary partition' to refer to a slice.   The UNIX slice and
> the MS primary partition are essentially the same and are compatible.
>
> In BSD, a slice is further divided in to 'partitions'.  Microsloth uses
> 'extended partitions'.  But those MS extended partitions are completely
> different and incompatible with UNIX partitions.
>
> If you are sharing a disk, you will need to use some utility to
> shrink the existing disk allocation to make room for FreeBSD.
>
> Only 4 slices/primary partitions (names 1..4) are allowed on a disk in
> current systems.   Typically a major vendor puts some proprietary
> diagnostic
> and hardware utilities in the first [small] slice and marks it hidden.
> Hidden is only meaningful to Microsloth systems.  It remains visible to
> UNIX.
>
> Then they put the MS OS (XP or whatever) on slice 2 and make that slice
> contain all the rest of the disk, leaving slice 3 and slice 4 empty
> and unused.So, to fit FreeBSD on the disk, it becomes necessary to
> shrink that slice 2 to free up some space to allocate to another slice -
> most likely slice-3.
>
> I have used a commercial utility called Partition Magic successfully
> in the past to manipulate the slices and make room.   That was with
> a version 7.0 of PM which was put out by a company called Power Quest.
> But, it got sold and the new owner put a version 8.0 which has not
> been as successful as far as I can see.  I tried to use it to slice a
> USB disk and it would not talk to it, even though its promotional
> literature made a special point of advertising it would.  So, I returned
> it for a refund.
>
> In consequence I get a utility called Gparted, made the boot floppy and
> was quite successful with using it to manipulate the disk.  Just do a
> little search with google and find it and download it.  It works fine.
> There are some other freeware utilities out there, but most will not
> work with the NTFS type Microsloth filesystem which is common nowdays.
> So, check on that.   Gparted seems to handle it OK.
>
> Anyway, lets say you carve out a nice 40 GB of disk for FreeBSD and that
> is in slice 3 - a common circumstance.If you have a whole disk to
> decicate to FreeBSD the rest of this applies.  You just don't need to
> go through the gyrations to make room on a shared disk and the disk name
> is slightly different - probably ad1 instea

Re: Headless Azureus with any X11 Dependencies ??

2008-03-18 Thread Christian Zachariasen
I never had much load running torrentflux on my server, and I'd run quite a
lot of them at a time (don't remember if there was a limit).

This might have something to do with your installation, so if you don't hate
TF maybe you should do some troubleshooting around it?
Check their forums, they were very helpful when I frequented them.

Is the b4rt fork still using the python client?

Christian Zachariasen


On Tue, Mar 18, 2008 at 7:32 PM, Wael Nasreddine <[EMAIL PROTECTED]> wrote:

> This One Time, at Band Camp, Christian Zachariasen <[EMAIL PROTECTED]>
> said, On Sat, Mar 15, 2008 at 05:28:10PM +0100:
> > I can, from the bottom of my heart, recommend TorrentFlux (
> > http://www.torrentflux.com). I used it for over two years on my shared
> > server and it worked great. The great thing is - it's in ports!
> > (/net-p2p/torrentflux).
>
> Actually I use tf-b4rt[1] a TorrentFlux fork ( Better than TF trust
> me) since 2 years now, The reason I want Azureus, is because running
> 10 ~ 15 torrents on TF takes my server's load up to 10 even 15
> sometimes, I had a headless Azureus on Gentoo (before I moved to
> FreeBSD) and running up to 20 Torrents keeps the load at 3 tops!!!
>
> I could perhaps use rTorrent but if I succeed into making rtorrent
> identifies as Azureus, Private trackers sucks!!! Speaking of this
> *cheat* I did modify libtorrent's configure script, replaced
> PEER_NAME's value with -az3050- but didn't work, did anyone change the
> PEER ID successfully?? I used the below sed command:
>  CUT
> sed -e '[EMAIL PROTECTED](PEER_NAME\) [EMAIL PROTECTED] "-az3050-"@g' \
>-e '[EMAIL PROTECTED](PEER_VERSION\) [EMAIL PROTECTED] 
> "azx30x50"@g' \
>-i configure
>  CUT
>
> I also tried -ut1770- for latest utorrent still nothing :S
>
> [1]: http://tf-b4rt.berlios.de/
>
> > On Fri, Mar 14, 2008 at 6:22 PM, Wael Nasreddine <[EMAIL PROTECTED]>
> wrote:
>
> > > This One Time, at Band Camp, Wojciech Puchar <
> > > [EMAIL PROTECTED]> said, On Fri, Mar 14, 2008 at
> 06:11:28PM
> > > +0100:
> > > >> I have a server at home, I use it as a mail server, as well as P2P
> > > >> instead of running P2P on my Laptop, I run it on the server and I
> just
> > > >> use clients to control it...
>
> > > > isn't azureus a torrent program.
>
> > > Yes it is.
>
> > > > use rtorrent, it's text mode and is fast
>
> > > rtorrent is a fast text mode, but It has no WEB controller and no
> > > multiuser :S
>
> > > I require WEB Controler + Multiuser because my uncle uses my server to
> > > download torrents as his ISP filter P2P packets...
>
> > > Thanks.
>
> > > --
> > > Wael Nasreddine
> > > http://wael.nasreddine.com
> > > PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2
>
> > > .: An infinite number of monkeys typing into GNU emacs,
> > >   would never make a good program. (L. Torvalds 1995) :.
>
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "
> [EMAIL PROTECTED]"
>
>
> --
> Wael Nasreddine
> http://wael.nasreddine.com
> PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2
>
> .: An infinite number of monkeys typing into GNU emacs,
>   would never make a good program. (L. Torvalds 1995) :.
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Headless Azureus with any X11 Dependencies ??

2008-03-15 Thread Christian Zachariasen
I can, from the bottom of my heart, recommend TorrentFlux (
http://www.torrentflux.com). I used it for over two years on my shared
server and it worked great. The great thing is - it's in ports!
(/net-p2p/torrentflux).

On Fri, Mar 14, 2008 at 6:22 PM, Wael Nasreddine <[EMAIL PROTECTED]> wrote:

> This One Time, at Band Camp, Wojciech Puchar <
> [EMAIL PROTECTED]> said, On Fri, Mar 14, 2008 at 06:11:28PM
> +0100:
> >> I have a server at home, I use it as a mail server, as well as P2P
> >> instead of running P2P on my Laptop, I run it on the server and I just
> >> use clients to control it...
> >
> > isn't azureus a torrent program.
> >
> Yes it is.
>
> > use rtorrent, it's text mode and is fast
> >
> rtorrent is a fast text mode, but It has no WEB controller and no
> multiuser :S
>
> I require WEB Controler + Multiuser because my uncle uses my server to
> download torrents as his ISP filter P2P packets...
>
> Thanks.
>
> --
> Wael Nasreddine
> http://wael.nasreddine.com
> PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2
>
> .: An infinite number of monkeys typing into GNU emacs,
>   would never make a good program. (L. Torvalds 1995) :.
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"