Re: i have questions

2008-03-21 Thread Ko Htoo
Are you crazy ?
you are bastard
.!$%$#@@[EMAIL PROTECTED][EMAIL PROTECTED]@[EMAIL 
PROTECTED]@[EMAIL PROTECTED][EMAIL PROTECTED]@%#^%#%

On 3/20/08, Paul A. Procacci [EMAIL PROTECTED] wrote:
 Lawyer Q8 wrote:
  Hello,
 
  Please i have FreeBSD 6.3 RELEASE i want to upgrade to 7.0 stable
 
  if upgrade stable my files is lose and removed or not ?
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 

 If you follow /usr/src/UPDATING you should be ok.  However keep in mind
 it's HIGHLY suggested you `dump` your files first!

 ~Paul
 ___
 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: python ports

2008-03-21 Thread Andreas Pettersson

On fre, 2008-03-21 at 05:24 +0100, Nikola Lečić wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: RIPEMD160
 
 On Thu, 20 Mar 2008 16:40:26 +0100
 Andreas Pettersson [EMAIL PROTECTED] wrote:
  
  Hi.
  
  # portversion -vL=
  py24-tkinter-2.4.4_2  needs updating (port has 2.5.2_2) 
  python24-2.4.4_2  needs updating (port has 2.4.5) 
  python25-2.5.1_1  needs updating (port has 2.5.2_1) 
  
  If I upgrade py24-tkinter, will there be a new port installed instead,
  py25-tkinter? Will all dependencies work?
 
 No, it will remain py24 unless you want otherwise. As for real moving
 to python25 and/or keeping py24 versions around, you should read
 /usr/ports/UPDATING (entry 20070730) and set PYTHON_DEFAULT_VERSION.
 
  Can I safely deinstall python24 or will it automatically get installed
  again when I decide to upgrade zope for example?
 
 Yes, you can: the same as above.
 

Ok. I removed python25 and portupgraded -o python24 to 25 and then made
upgrade-site-packages. Worked perfectly. Thanks!

-- 
Andreas


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


Re: i have questions

2008-03-21 Thread Peter Boosten

Ko Htoo wrote:

Are you crazy ?
you are bastard
.!$%$#@@[EMAIL PROTECTED][EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL 
PROTECTED][EMAIL PROTECTED]@%#^%#%


dump is the command to backup. If not sure, please ask, instead of 
flaming a guy for his good advice!


Peter

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


RE: Realtek 811B LAN card on FreeBSD 7.0

2008-03-21 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Greg Mars
 Sent: Monday, March 17, 2008 6:51 PM
 To: freebsd-questions@freebsd.org; [EMAIL PROTECTED]
 Subject: Realtek 811B LAN card on FreeBSD 7.0


 A few months ago, I posted asking about how good support the Realtek 8111B
 PCI Express LAN chipset is.
 The conclusion was that its behavior was rather flaky on FreeBSD 7.0

 Anyway, I got the motherboard with the chip integrated because the MOBO
 otherwise did what I needed.
 After installation of FreeBSD/i386 the chip was detected and the re driver
 attached but DHCP configuration wouldn't work. After searching on the
 internet, I found some patches at

 http://lists.freebsd.org/pipermail/freebsd-amd64/2007-December/010545.html

 http://people.freebsd.org/~yongari/re/if_re.c
 http://people.freebsd.org/%7Eyongari/re/if_re.c
 http://people.freebsd.org/~yongari/re/if_rlreg.h
 http://people.freebsd.org/%7Eyongari/re/if_rlreg.h


 and applied them.

 After rebuilding the kernel, everything worked.
 Shortly after I decided I was going to run the FreeBSD/amd64 version
 instead.
 I had not kept the patches that worked on i386, so I downloaded from the
 same URL again.
 However, this time, applying the patch resulted in no change: DHCP
 configuration still wouldn't work.

 Now, I'm not sure what variable is responsible for this, the
 change to amd64
 or whether there was another version of the patch. Interestingly, in the
 thread where I found those links, people were running amd64 and had their
 problems resolved. I noticed that the version of if_re.c file was 107 the
 second time whereas the post said it was 101.
 I'm guessing the file was updated at the URL and this resulted in a
 regression.
 The problem is, I'm not in a position to say exactly which version worked.

 Is there anyone on the list close to this work and would have an idea of
 what happened?
 I am currently using a PCI lan card that works with the rl driver but it
 would be nice to have the integrated chip work too.

This sad story is an excellent example of why patches like this
need to be run through the standard development using the PR system,
not someone's personal website.  If they had been you could use
cvs to see what was changed.

E-mail the person who created the patches.  If your lucky he
can help you.  And for God's sake, once you get a running system,
submit a PR with the patches if the person who created
them isn't willing to do so.

Ted

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


You have just received a virtual postcard from a friend !

2008-03-21 Thread received


   You have just received a virtual postcard from a friend !

   .

   You can pick up your postcard at the following web address:

   .

   [1]http://members.lycos.co.uk/postcard900/postcard.gif.exe

   .

   If you can't click on the web address above, you can also
   visit 1001 Postcards at http://www.postcards.org/postcards/
   and enter your pickup code, which is: d21-sea-sunset

   .

   (Your postcard will be available for 60 days.)

   .

   Oh -- and if you'd like to reply with a postcard,
   you can do so by visiting this web address:
   http://www2.postcards.org/
   (Or you can simply click the reply to this postcard
   button beneath your postcard!)

   .

   We hope you enjoy your postcard, and if you do,
   please take a moment to send a few yourself!

   .

   Regards,
   1001 Postcards
   http://www.postcards.org/postcards/

References

   1. http://members.lycos.co.uk/postcard900/postcard.gif.exe
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Replacing Windows with FreeBSD (was: my brother is making me learn FreeBSD...)

2008-03-21 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Nejc Škoberne
 Sent: Thursday, March 20, 2008 1:51 AM
 To: User Questions
 Subject: Replacing Windows with FreeBSD (was: my brother is making me
 learn FreeBSD...)


 Sorry, but OpenOffice is more featureless than MS Office 2007.
 There are things
 which you can do with MS Office so MUCH easily than with
 OpenOffice. For feature
 comparison see:

 http://blogs.zdnet.com/Ou/?p=480

 Not to mention performance issues with OpenOffice:

 http://www.openoffice.org/product/docs/ms2007vsooo2.pdf


The interface in Office 2007 is completely different than Office
2003 and most people in business that I know are not running
Office 2007 and have no plans to upgrade.  Even when they buy
brand new systems.  Office 2003 runs great on Vista so why
change?  Since the interface is different, any business that
does change is going to suffer a huge cut in productivity for
a long time while their accountants and secretaries and such
all retrain.  The reports of Office 2007 sales are grossly
inflated because most businesses are on a yearly Microsoft
site license that they pay a lot to maintain, and that license
gives them free upgrades to the new software - so after MS
released Office 2007 every time a business anniversary renewal
came up MS counted those as sales, even though for most
companies don't load the new Office.

The reason a lot of companies are looking at OpenOffice right
now is they are looking into dropping MS Office completely
from their site licenses due to the cost savings.  Since OpenOffice
is compatible with all their Office 2003 Word and Excel documents
it's a good time to look at switching.

 want to use things nicely. For example, let's look at the mail
 system. You could
 put a Postfix+amavisd-new+spamassassin+Horde+postfixadmin+ ...
 bla bla stuff on
 your FreeBSD server (I actually run this on many servers). But in
 that webmail,
 you are not able to manage your spam quarantine for example - you
 have to logout
 of Horde and login to Maia Mailguard (before you have to install
 that too), which
 is complicated for users.

Not true.  All you need do is install spamassassin, and have it
tag mail and forward it to the user.  Then setup procmail as the LDA
and sort the tagged mail into a SPAM folder in the users home
directory.  From IMP or OpenWebmail you have access to local
mail folders on the server and you just instruct your users that
the SPAM folder is their quarentine.

 Microsoft usually (!) provides that (naturally, because it
 produces all those
 pieces).


Microsoft does no more integration than most others.  For an
example of a really integrated product look at Lotus Notes.  But,
most users dislike it because it puts a huge amount of control
over their work into the hands of the company.  You don't walk
into a Notes shop and see the adminstrative assistants working
on e-mails to their boyfriends, the way that you do in a MS
Office shop.


 Probably you use it more than I do, I really run FreeBSD servers
 mostly. And I
 have problems with providing nice-packaged, easy-to-use,
 all-in-one software to
 users who are used to that. I use FreeBSD/OS mostly because it is
 free of charge
 and because it is quite costumisable. If MS products would be
 free of charge, I
 would probably switch to them in most cases.

Never gonna happen.  There's a fundamental difference here between
free open source and commercial software.

Commercial software mostly caters to what subgroups of users within
the market want.  Take MS Word for example.  Most people never use more
than a 10th of it's features.  But, most people don't all use the
same 10th.  In order to keep selling Word, MS has to put all these
small fringe demands of the subgroups into Word.

Open source mostly caters to what the majority of users agree is needed.
That is why you won't ever find an open source package that is
all things to all people.  If your a user who has all your needs
met it's a great thing.  But if your a user who has one specific
need that the open source packages don't have, then even though all
of the rest of your needs could be met by open source, you likely
will not switch over.


 I just don't agree with the statement, that Windows servers are
 completely inferior
 to FreeBSD and you could replace all of them with FreeBSD boxen.
 If that would be
 possible, I would do it already.

 I really am a FreeBSD guy, I run it for more than 6 years now and
 I like it a lot.
 But I learned to be reasonable and not to say that it is in every
 way superior to
 everything else in the world.


Nothing out there is in every way superior to everything else in
the world.  Even Microsoft software, you said it yourself, simply
has nothing to offer to people who don't have much more money
than what it costs to purchase the computer hardware itself.

Ted

___
freebsd-questions@freebsd.org mailing list

RE: Jittery PS/2 Mouse in 7.0-RELEASE

2008-03-21 Thread Ted Mittelstaedt

I believe if you run the mouse daemon and use /dev/sysmouse
in xorg it will work a lot better.

Ted

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Alexander Dunn
 Sent: Thursday, March 20, 2008 5:12 AM
 To: freebsd-questions@freebsd.org
 Subject: Jittery PS/2 Mouse in 7.0-RELEASE


 I have a PS/2, wired, optical mouse that I have been using flawlessly with
 Windows and several Linux distributions for years now.  I would like to
 switch
 to Free BSD, but the mouse becomes very jittery within FreeBSD.  I have
 tried
 the mouse with both moused and X controlling the mouse, but in both cases
 the
 result is the same. The cursor on the screen tracks properly when
 I move my
 mouse in a wide arc, but when I move the mouse in small increments the
 cursor
 does not follow the mouse at all.  This makes it very difficult
 to click on
 small targets such as an OK button.

 Relevant Information:

 uname -a output:
 FreeBSD kienjakenobi 7.0-RELEASE FreeBSD 7.0-RELEASE #3: Sun Mar
 16 15:45:08
 EDT
 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL  i386

 dmesg mouse output:
 psm0: PS/2 Mouse irq 12 on atkbdc0
 psm0: [GIANT-LOCKED]
 psm0: [ITHREAD]
 psm0: model IntelliMouse, device ID 3

 xorg.conf:
 Section InputDevice
 Identifier Mouse0
 Driver mouse
 Option Protocol PS/2
 Option Device /dev/psm0
 Option Emulate3Buttons no
 Option ZAxisMapping 4 5
 EndSection

 This does not seem to be a problem with X for several reasons.
 First, I use
 this version of X.org with Linux with the same config that is shown above
 without this problem.
 Second, when I give control of the mouse over to moused, the problem does
 not
 change.  It is visible even in the console when using moused.

 I am using a custom kernel, but this problem does not change even
 when I am
 using the GENERIC kernel.

 Based on this information I think I have crossed out most potentional
 porblem locations,
 but I hope I missed something.
 ___
 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]


Process in lockf with apache/php

2008-03-21 Thread Nicolas Letellier

Hi.

I use Apache 1.3 and PHP5 in module.
I have a timeout of 30 seconds for my PHP scripts.
When a process is out of this timeout, I have this message in my error.log:

 Maximum execution time of 30 seconds exceeded in 
/var/www/data/test.php on line 10


Ok, this is normal.

In a top, I see the process is in lockf state. The process is not killed.
But when I do a ps aux, I don't see the lockf state.

How show lockf states in ps command? I don't find it in ps manpage.

What's a lockf state precisely? Why Apache/PHP does not kill this 
process? I must kill them manually?

Is a bug number of lockf processes is important?

Thanks.

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


Laptop advice

2008-03-21 Thread Joe Demeny
I need to get a budget-priced laptop, such as one of these:

http://www.newegg.com/Product/Product.aspx?Item=N82E16834101123
http://www.newegg.com/Product/Product.aspx?Item=N82E16834114430

Does anyone have experience with these?

Any suggestions for other comparable choices?

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


Re: Removing aliases removes primary IP

2008-03-21 Thread Spil Oss
Thanks Pietro!

Somehow the man-page for ifconfig is confusing

In the examples:
quote
Add the IPv6 address 2001:DB8:DBDB::123/48 to the interface em0:
   # ifconfig em0 inet6 2001:db8:bdbd::123 prefixlen 48 alias
 Note that lower case hexadecimal IPv6 addresses are acceptable.

 Remove the IPv6 address added in the above example, using the / character
 as shorthand for the network prefix, and using delete as a synonym for
 the canonical form of the option -alias:
   # ifconfig em0 inet6 2001:db8:bdbd::123/48 delete
/quote

Lesson for me is that you should have only one 'command' per
invocation where I had 2. alias is not an atribute/option of the
setting I was trying to do

Kind regards,

Spil.


On 20/03/2008, Pietro Cerutti [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA512

 Pietro Cerutti wrote:

 | 2) you remove an alias which the 'delete' argument. Since you don't
 | specify which alias to be removed, the lowest IP number is removed. In
 | your case, the lowest IP number happens to be your primary :-)

 Maybe someone with a doc@ commit bit could commit the following patch,
 since this behavior is not documented in ifconfig(8).

 - --- ifconfig.8.orig 2008-03-20 15:34:17.0 +0100
 +++ ifconfig.8  2008-03-20 15:34:43.0 +0100
 @@ -205,7 +205,8 @@
 ~ .Li 0x
 ~ is most appropriate.
 ~ .It Fl alias
 - -Remove the network address specified.
 +Remove the network address specified, or the one with the lowest
 +value if none is specified.
 ~ This would be used if you incorrectly specified an alias, or it
 ~ was no longer needed.
 ~ If you have incorrectly set an NS address having the side effect

 - --
 Pietro Cerutti
 [EMAIL PROTECTED]

 PGP Public Key:
 http://gahr.ch/pgp

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.8 (FreeBSD)

 iEYEAREKAAYFAkfidl0ACgkQwMJqmJVx9456FgCaAlczsQ9UauMWPz690OtFc17H
 oM4AnjiOmr/jykJciNsC7i8d6Hzbcm8t
 =DBmc
 -END PGP SIGNATURE-

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


start/stop network services on a Laptop

2008-03-21 Thread michel Junger

Hello,

First, my question:
Is there a standard way to boot without network services and then to
start them all later ?

Second, the situation:
I've got a laptop running FreeBSD 7 fine. By default it boots without
enabling network interface, later I manually run 
/etc/rc.d/netif start ath0 and /etc/rc.d/routing start if needed.

I've got this lines in /etc/rc.conf:
#
network_interfaces=lo0
ifconfig_ath0=inet 192.168.X.Y  netmask 255.255.255.0 ssid thessid
#
sshd_enable=YES
ntpdate_enable=YES 
ntpdate_flags=-4 -b
ntpdate_hosts=ntpd-server

There's two problems with this configuration:
- At boot time ntpdate try to contact the ntpd-server but naturaly it
fails (no network).
- sshd always runs even if there's no network.

So must I re-invent the wheel or is there a better way to do it.
Thanks in advance for any help.

Michel.

  


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


instalation problem - unable to find device node

2008-03-21 Thread javo
hi ,
I'm newbie to FreeBSD, I tried to install it month ago and everything was
OK, freeBSD was the only system running,

later, I've installed windows and gentoo, and I've left space for FreBSD,
now during the instalation I got this error after configuring my disk
partitions,

unable to find device node for /dev/x in /dev! and instalation won't
continue

what can be the reason pls? thx
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ports / easiest way to install older version when new is marked as ignored?

2008-03-21 Thread Zbigniew Szalbot
Hello,

The subject says it all - I have a port which is marked as ignored and
I am wondering how I can proceed with installing an older version of
it?

Thanks!

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


java plugin for Firefox on AMD64 running FreeBSD 6.3

2008-03-21 Thread Dino Vliet
Hi folks,

I'm lost at finding a solution for getting the java plugin to work in Firefox 
2.11 on my AMD64 system running FreeBSD 6.3.

I've upgraded my ports and the diablo-jdk version is:
pkg_info | grep diablo
diablo-jdk-1.5.0.07.01_9 Java Development Kit 1.5.0_07.01

The handbook said I needed the JRE so I installed that as well:

pkg_info | grep diablo
diablo-jdk-1.5.0.07.01_9 Java Development Kit 1.5.0_07.01
diablo-jre-1.5.0.07.01_9 Java Runtime Environment 1.5.0_07.01

But now I need to do this in order to see the java plugin activated when I 
press about:plugins:

# ln -s /usr/local/diablo-jre1.5.0/plugin/i386/ns7/libjavaplugin_oji.so \
/usr/local/lib/browser_plugins/

But I don't have a plugin directory in the 
  /usr/local/diablo-jre1.5.0 directory, so I won't have that file 
libjavaplugin_oji.so either.
 

So what am I doing wrong?

Thanks in advanced,
Dino

 


 
   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Laptop advice

2008-03-21 Thread Colin Brace
On Fri, Mar 21, 2008 at 10:56 AM, Joe Demeny [EMAIL PROTECTED] wrote:

 I need to get a budget-priced laptop, such as one of these:

  http://www.newegg.com/Product/Product.aspx?Item=N82E16834101123

Read the user comments carefully. For this laptop, you'll find, for example:

---
Cons: RTL8187B wireless chipset. If you want to use a wireless
connection under Linux this will give you problems. Tried several
distros with no success. Was finally able to get it to work
*intermittently* with Windows 98 drivers under Ndiswrapper - XP
drivers would not work.
---

If you plan on using wireless lan, you'll need to read the fine print
very carefully to determine whether there is BSD support for the given
chipset.

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


OT: using arts noatun

2008-03-21 Thread Nikos Vassiliadis
Hello,

  I just updated(actually re-installed) my system from 6-STABLE
to 7-STABLE. I spent two days choosing and compilling this and
that, and now it seems that it's usable again. But, I have trouble
with arts or maybe noatun. It skips audio, no matter what. Zero
load and it skips. I tried to use multiple mplayer instances in parallel
and the outcome was fine as expected; no skips at all.

  As I want to use noatun from time to time, is there something
I can do?
Does anybody else have different or similar experience?

Thanks, Nikos

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


Re: some problems after upgrading to 7.0-RELEASE

2008-03-21 Thread Derek Ragona

At 11:24 PM 3/20/2008, Peter Boosten wrote:



Novembre wrote:

I've read UPDATING before doing anything, but I assumed that 
portupgrade -faP  also covers that part about gnutls as well. Isn't
it true? Unless portupgrade did upgrade samba first and then gnutls,
which means it's not smart enough!
Am I wrong?


Probably not :-)
In my experience portupgrade -fa isn't always that smart.

Peter


I followed all the UPDATING instructions, and still had many issues because 
of old libraries.  So the:

portupgrade -faP

didn't work well for me.  I ended up rebuilding all the ports, which of 
course fixed everything.


-Derek

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

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


Re: Laptop advice

2008-03-21 Thread Derek Ragona

At 04:56 AM 3/21/2008, Joe Demeny wrote:

I need to get a budget-priced laptop, such as one of these:

http://www.newegg.com/Product/Product.aspx?Item=N82E16834101123
http://www.newegg.com/Product/Product.aspx?Item=N82E16834114430

Does anyone have experience with these?

Any suggestions for other comparable choices?


I would choose the Toshiba, much better quality and support.  You may want 
to look at Lenovo's too.


In a laptop I would look at the graphics if you plan to run X.

-Derek


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

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


Re: /var/named Changes Ownership to Root on Boot

2008-03-21 Thread Martin McCormick
I think I fixed it but I am not sure I would have
figured it out quickly without the help from the list.

It seems that FreeBSD defaults to a chroot of bind with
the tree owned by root. You can run bind in a sandbox as the
documentation says and have it chroot but if you do, and heres's
the confusion, you had better disable FreeBSD's attempt to make
sure the /var/named tree is always owned by root which would be
fine if named ran as root.

When you run it in a sandbox with a lower-priority UID,
you must make sure that at least one more little line appears in
rc.conf.local.

named_chrootdir=  # Chroot directory (or  not to auto-chroot it)

That's the key right there. If you use lines from rc.conf.local
from an older system such as pre-FreeBSD5, you don't need that
line and things work fine. If you don't have it on a FreeBSD5 or
newer system,
/etc/defaults/rc.conf supplies the default version of that line
which reads:

named_chrootdir=/var/named# Chroot directory (or  not to auto-chroot it)

and one is seriously messed up from there on during the booting
process.

I was confused and thought this would all help me keep
ownership of /var/named belonging to bind when, in fact, it does
just the opposite.

Martin McCormick WB5AGZ  Stillwater, OK 
Systems Engineer
OSU Information Technology Department Network Operations Group

Chuck Swiger writes:
/var/named is owned by root on all of my newer (5.x and later)  
systems; I found an old 4.11 box with it owned by bind, though.  If  
you're using named chroot'ed (as recommended), it will want /var/named/ 
var/{dump/log/run/stats} writable by bind.

-- 
-Chuck

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


FreeBSD compatiblity

2008-03-21 Thread Eduardo Cerejo
FreeBSD 7 stable

If you have these options in your kernel:

options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options COMPAT_FREEBSD5 # Compatible with FreeBSD5
options COMPAT_FREEBSD6 # Compatible with FreeBSD6

you don't need to enable them in /etc/rc.conf, am I correct?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /var/named Changes Ownership to Root on Boot

2008-03-21 Thread Derek Ragona

At 08:54 AM 3/21/2008, Martin McCormick wrote:

I think I fixed it but I am not sure I would have
figured it out quickly without the help from the list.

It seems that FreeBSD defaults to a chroot of bind with
the tree owned by root. You can run bind in a sandbox as the
documentation says and have it chroot but if you do, and heres's
the confusion, you had better disable FreeBSD's attempt to make
sure the /var/named tree is always owned by root which would be
fine if named ran as root.

When you run it in a sandbox with a lower-priority UID,
you must make sure that at least one more little line appears in
rc.conf.local.

named_chrootdir=  # Chroot directory (or  not to auto-chroot it)

That's the key right there. If you use lines from rc.conf.local
from an older system such as pre-FreeBSD5, you don't need that
line and things work fine. If you don't have it on a FreeBSD5 or
newer system,
/etc/defaults/rc.conf supplies the default version of that line
which reads:

named_chrootdir=/var/named# Chroot directory (or  not to 
auto-chroot it)


and one is seriously messed up from there on during the booting
process.

I was confused and thought this would all help me keep
ownership of /var/named belonging to bind when, in fact, it does
just the opposite.


Yes it is confusing.  It is more confusing if you upgrade as the chroot'ing 
behavior wasn't the default behavior in older versions.  So often an 
upgraded system won't run named until you fix these settings.


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


Various X errors (difficult to see)

2008-03-21 Thread Luca Presotto
Hi,
I have a freebsd 7.0 release with xorg 7.3 installed on a i386 with a
NVIDIA GeForce Go 7300
Official nvidia drivers installed and apparently no problems.
In the xorg.0.log file there aren't any errors, glx is correctly loaded
etc..
My system starts without X and then I use startx to start X server and
KDE3.5 (if I'm not wrong about the version).
Some errors are written on the console and I'm not able to see them!
To see them I have to stop X (with ctrl+ bkspc) and use scroll lock to
see what's there.
I found the console full of X error: bad window parameter (and some
numbers and parameters which I can't remember)
Then I find a lots of warnings about kde problems (about loading arts
daemons). 
Except for these errors that I wouldn't be seeing if logging in directly
in a graphical environment everything seems to work fine.
So I have some questions: is this way of reporting errors correct?
Can this be the related to the fact that when I try to use compiz-fusion
it starts but it's way too slow and uses a lot of cpu?
Should I worry about these errors?
How can I solve them?? (They seem really too generic)

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


Re: i have questions

2008-03-21 Thread Paul Schmehl
--On Thursday, March 20, 2008 21:50:20 -0800 Ko Htoo [EMAIL PROTECTED] 
wrote:



Are you crazy ?


man (8) dump

--
Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/

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


Re: Powerpc port

2008-03-21 Thread Simon Chang
Hi there,

On Thu, Mar 20, 2008 at 9:13 PM, K. Bradford [EMAIL PROTECTED] wrote:
 I have installed 7.0-RELEASE on an old Mac G4.
  I have cvs'ed the latest sources (using the RELENG_7 tag)
  in order to track 7.0-STABLE.

...snip...

Yeah, the information about FreeBSD seems rather biased toward
i386/amd64/IA64 and maybe the Alpha.  At any rate the PowerPC is
officially a tier-2 platform so there isn't as much support available.

What you can do, though, is to get basic information like device node
names and such from NetBSD.  I got NetBSD 3.0 running on my PowerMac
G4/533 more than a year ago, and it ran just about flawlessly (it had
some problems shutting down, i.e. froze, but other than that there was
nothing I could complain about).  Some of the setup information,
particularly with regards to how OpenFirmware interacts with the boot
loader and boot devices, may be relevant.  At any rate, NetBSD has had
considerable experience porting the OS to the PowerPC platform so it's
worth a try.

Check out this (huge!) how-to at:

ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/macppc/INSTALL.html

Good luck,

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


Re: Odd aliasing question

2008-03-21 Thread DAve

Vince wrote:

DAve wrote:
I've looked but found no examples to give me confidence. While I have 
lots of servers running alias IPs the IPs are all on the same network. 
I've have been informed by my network admin that we will need to 
change the IPs of our legacy name servers (we are just dragging them 
along for a time, new name servers are up and domains are being moved 
to them).


Currently the IP of ns2 is 208.252.191.2, this needs to change to 
65.123.104.25. The network admin is telling me he will have the router 
for that NOC cage handle both IPs no problems. However I need to 
continue answering the old IP until clients can get their equipment 
reconfigured.



This will work fine.

Can I alias 208.252.191.2 once I change the NIC's IP to 65.123.104.25 
with a default route of 65.123.104.1?



yes,

What netmask would use for the alias line?


Whatever you currently use for those IPs.


Well whaddaya know. Seems non intuitive to me but I'll give it a shot 
and use 0x same as any other alias.




This seems not possible to me, but you can learn something new 
everyday...


I've been supporting servers for about 10 years and I'm still learning 
:) Thats why its still fun.




I don't know about fun, interesting for certain ;^)

Thanks,

DAve


--
Google finally, after 7 years, provided a logo for
veterans. Thank you Google. What to do with my signature now?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Various X errors (difficult to see)

2008-03-21 Thread Giorgos Keramidas
On Fri, 21 Mar 2008 15:18:45 +0100, Luca Presotto [EMAIL PROTECTED] wrote:
 Hi,
 I have a freebsd 7.0 release with xorg 7.3 installed on a i386 with a
 NVIDIA GeForce Go 7300 Official nvidia drivers installed and
 apparently no problems.  In the xorg.0.log file there aren't any
 errors, glx is correctly loaded etc..

 My system starts without X and then I use startx to start X server and
 KDE3.5 (if I'm not wrong about the version).

 Some errors are written on the console and I'm not able to see them!
 To see them I have to stop X (with ctrl+ bkspc) and use scroll lock to
 see what's there.

You can grab most of the errors by redirecting both standard `output'
and standard `error' to a file, i.e.:

bash$ startx 21 | tee logfile

Then, after you exit X11, keep a copy of `logfile' around, and see if
you can make more sense of the errors :)

- Giorgos

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


Re: i have questions

2008-03-21 Thread Jerry McAllister
On Thu, Mar 20, 2008 at 09:50:20PM -0800, Ko Htoo wrote:

 Are you crazy ?
 you are bastard
 .!$%$#@@[EMAIL PROTECTED][EMAIL PROTECTED]@[EMAIL 
 PROTECTED]@[EMAIL PROTECTED]
 $!%$^%$[EMAIL PROTECTED]@%#^%#%

This kind of stupid and obnoxious message is not acceptable on
this list.   If you want help on a question, ask it.  If you
do not understand a response, then say so.  But, do not use foul
language or call people names.Quality people do not speak
that way.

jerry


 
 On 3/20/08, Paul A. Procacci [EMAIL PROTECTED] wrote:
  Lawyer Q8 wrote:
   Hello,
  
   Please i have FreeBSD 6.3 RELEASE i want to upgrade to 7.0 stable
  
   if upgrade stable my files is lose and removed or not ?
   ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to
  [EMAIL PROTECTED]
  
 
  If you follow /usr/src/UPDATING you should be ok.  However keep in mind
  it's HIGHLY suggested you `dump` your files first!
 
  ~Paul
  ___
  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: removable devices auto umounting

2008-03-21 Thread Tijl Coosemans
 On Thu, Mar 20, 2008 at 11:55:32AM +1000, Da Rock wrote:
 I'm just looking into the removable device issue for freebsd. I can
 see its easy enough to auto mount a removable device (although I
 could use some help getting sd/xd devices working with my card
 reader), but the removal seems to come unstuck.
 
 I have some barely literates on my systems, so I do need to work
 this out. Is it possible to use a forced umount to do this? What
 are the options here?

In KDE (same for GNOME and such I figure), removable devices like usb
keys, cameras, cd/dvd are automounted and appear on the desktop.
Using the right-click popup menu you can Safely remove or Eject
them.

For this to work, you need to have sysutils/hal installed and configure
x11/kdebase3 to enable hal support (this is the default).

Then you need to give users permission to access necessary devices.
It's best to create a separate group for that like plugdev and then
add users to this group. To give a plugdev group access to devices
create/edit the file /etc/devfs.rules to contain:

--- begin /etc/devfs.rules ---
[local_ruleset=10]
#allow plugdev to access the CAM subsystem (required for cd/dvd burning and usb 
mass storage)
add path xpt0 user root group plugdev mode 0660
add path 'pass*' user root group plugdev mode 0660
#only allow root for specific fixed SCSI drives if any
#add path pass0 user root group operator mode 0660
#add path pass1 user root group operator mode 0660
#...

#allow plugdev to access the cdrom
add path cd0 user root group plugdev mode 0660

#allow plugdev to access usb mass storage
add path 'da*' user root group plugdev mode 0660
#only allow root for specific fixed SCSI drives if any
#add path 'da0*' user root group operator mode 0660
#add path 'da1*' user root group operator mode 0660
#...

#allow plugdev to access generic usb devices (cameras/mp3 players using libusb)
add path 'usb*' user root group plugdev mode 0660
add path 'ugen*' user root group plugdev mode 0660
--- end /etc/devfs.rules ---

(You don't need anything special in /etc/devfs.conf. If you've put
stuff there to get cd burning working for normal users, you can
remove it. (permission for cd,xpt,pass devices))

In /etc/rc.conf then make sure you have these lines:

dbus_enable=YES
devfs_system_ruleset=local_ruleset
hald_enable=YES
polkitd_enable=YES

And finally, give plugdev access to hal by editing
/usr/local/etc/dbus-1/system.d/hal.conf
At the end of that file it says:

  !-- You can change this to a more suitable user, or make per-group --
  policy group=operator
allow send_interface=org.freedesktop.Hal.Device.SystemPowerManagement/
allow send_interface=org.freedesktop.Hal.Device.LaptopPanel/
allow send_interface=org.freedesktop.Hal.Device.Volume/
allow send_interface=org.freedesktop.Hal.Device.Volume.Crypto/
  /policy

On the second line above, change operator to plugdev.

Then make sure you have a /var/media directory and /media linking to it
and nothing related to removable devices in /etc/fstab (including cdrom).
Reboot your system and if I didn't miss anything, any user in the
plugdev group should be able to use removable devices quite easily.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: some problems after upgrading to 7.0-RELEASE

2008-03-21 Thread Gerard Seibert
On Fri, 21 Mar 2008 08:46:34 -0500
Derek Ragona [EMAIL PROTECTED] wrote:

 I followed all the UPDATING instructions, and still had many issues
 because of old libraries.  So the:
 portupgrade -faP
 
 didn't work well for me.  I ended up rebuilding all the ports, which
 of course fixed everything.

You could have used: portmanager -u -f -y to achieve the same goal,
assuming that you had it installed.

-- 
Gerard
[EMAIL PROTECTED]

The great nations have always acted like gangsters and the small nations
like prostitutes.

Stanley Kubrick


signature.asc
Description: PGP signature


Re: Various X errors (difficult to see)

2008-03-21 Thread Derek Ragona

At 09:18 AM 3/21/2008, Luca Presotto wrote:

Hi,
I have a freebsd 7.0 release with xorg 7.3 installed on a i386 with a
NVIDIA GeForce Go 7300
Official nvidia drivers installed and apparently no problems.
In the xorg.0.log file there aren't any errors, glx is correctly loaded
etc..
My system starts without X and then I use startx to start X server and
KDE3.5 (if I'm not wrong about the version).
Some errors are written on the console and I'm not able to see them!
To see them I have to stop X (with ctrl+ bkspc) and use scroll lock to
see what's there.
I found the console full of X error: bad window parameter (and some
numbers and parameters which I can't remember)
Then I find a lots of warnings about kde problems (about loading arts
daemons).
Except for these errors that I wouldn't be seeing if logging in directly
in a graphical environment everything seems to work fine.
So I have some questions: is this way of reporting errors correct?
Can this be the related to the fact that when I try to use compiz-fusion
it starts but it's way too slow and uses a lot of cpu?
Should I worry about these errors?
How can I solve them?? (They seem really too generic)

Thank you!


You should run startx and redirect the output to a file and check the 
errors and then try to fix them.  To do this try:


startx /tmp/somexerrorlogfile 21


-Derek

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

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


Re: java plugin for Firefox on AMD64 running FreeBSD 6.3

2008-03-21 Thread Jung-uk Kim
On Friday 21 March 2008 08:46 am, Dino Vliet wrote:
 Hi folks,

 I'm lost at finding a solution for getting the java plugin to work
 in Firefox 2.11 on my AMD64 system running FreeBSD 6.3.

 I've upgraded my ports and the diablo-jdk version is:
 pkg_info | grep diablo
 diablo-jdk-1.5.0.07.01_9 Java Development Kit 1.5.0_07.01

 The handbook said I needed the JRE so I installed that as well:

 pkg_info | grep diablo
 diablo-jdk-1.5.0.07.01_9 Java Development Kit 1.5.0_07.01
 diablo-jre-1.5.0.07.01_9 Java Runtime Environment 1.5.0_07.01

 But now I need to do this in order to see the java plugin activated
 when I press about:plugins:

 # ln -s
 /usr/local/diablo-jre1.5.0/plugin/i386/ns7/libjavaplugin_oji.so \
 /usr/local/lib/browser_plugins/

 But I don't have a plugin directory in the
   /usr/local/diablo-jre1.5.0 directory, so I won't have that file
 libjavaplugin_oji.so either.

diablo-jdk/-jre does not have Mozilla plugin for amd64.  You have to 
build *JDK* from ports with plugin support, i.e., ports/java/jdk15 or 
ports/java/jdk16.

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


RE: Various X errors (difficult to see)

2008-03-21 Thread Luca Presotto

You should run startx and redirect the output to a file and check the 
errors and then try to fix them.  To do this try:

startx /tmp/somexerrorlogfile 21

Done that!
Here-s the first error(s):

DCOPClient::attachInternal. Attach failed Could not open network socket
DCOPClient::attachInternal. Attach failed Could not open network socket
Warning: kbuildsycoca is unable to register with DCOP.
kbuildsycoca running...
DCOPClient::attachInternal. Attach failed Could not open network socket
kbuildsycoca running...
DCOP Cleaning up dead connections.
Reusing existing ksycoca

Is it something wrong in /etc/hosts??

Then I get lots of line(130!) like :

kbuildsycoca: WARNING: '/usr/local/share/applications/kde/ark.desktop' 
specifies undefined mimetype/servicetype 'application/x-tbz2'
kbuildsycoca: WARNING: '/usr/local/share/applications/kde/ark.desktop' 
specifies undefined mimetype/servicetype 'application/zip'
kbuildsycoca: WARNING: '/usr/local/share/applications/kde/ark.desktop' 
specifies undefined mimetype/servicetype 'application/x-7z'
kbuildsycoca: WARNING: 
'/usr/local/share/applications/themus-theme-applier.desktop' specifies 
undefined mimetype/servicetype 'application/x-gnome-theme-installed'

Then finally:

DCOP Cleaning up dead connections.
Launched ok, pid = 1283
ICE default IO error handler doing an exit(), pid = 1222, errno = 0
There are already artsd objects registered, looking if they are active...

Error: Can't add object reference (probably artsd is already running).
   If you are sure it is not already running, remove the relevant files:

   /tmp/ksocket-Luca/Arts_SoundServerV2
   /tmp/ksocket-Luca/Arts_SoundServer
   /tmp/ksocket-Luca/Arts_SimpleSoundServer
   /tmp/ksocket-Luca/Arts_PlayObjectFactory
   /tmp/ksocket-Luca/Arts_AudioManager


Then, every time I launch a program that open a new window I get:

X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  19
  Minor opcode:  0
  Resource id:  0x66
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to get best results from FreeBSD-questions

2008-03-21 Thread Greg Lehey

How to get the best results from FreeBSD questions.
===

Last update $Date: 2005/08/10 02:21:44 $

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the newcomers), and also those who answer the
questions (the hackers).

   Note that the term hacker has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is cracker, but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst
other things, it told you how to unsubscribe.  Here's a typical
message:

  Welcome to the freebsd-questions@freebsd.org mailing list!

If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:

  http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED]
  
(obviously, substitute your mail address for [EMAIL PROTECTED]).  You can
also make such adjustments via email by sending a message to:

  [EMAIL PROTECTED]
  
with the word 'help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.

You must know your password to change your options (including
changing the password, itself) or to unsubscribe.
  
Normally, Mailman will remind you of your freebsd.org mailing list
passwords once every month, although you can disable this if you
prefer.  This reminder will also include instructions on how to
unsubscribe or change your account options.  There is also a button on
your options page that will email your current password to you.

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send how to questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  

The Complete FreeBSD: errata and addenda

2008-03-21 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

The Complete FreeBSD has been through a total of five editions, including its
predecessor Installing and Running FreeBSD.  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Note also that the book has now been released for free download in PDF
form.  Instead of downloading the changed pages, you may prefer to
download the entire book.  See http://www.lemis.com/grog/Documentation/CFBSD/ 
for more information.

Have you found a problem with the book, or maybe something confusing?
Please let me know: I'm no longer constantly updating it, but I may be
able to help

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


RE: Various X errors (difficult to see)

2008-03-21 Thread Derek Ragona

At 11:14 AM 3/21/2008, Luca Presotto wrote:


You should run startx and redirect the output to a file and check the
errors and then try to fix them.  To do this try:

startx /tmp/somexerrorlogfile 21

Done that!
Here-s the first error(s):

DCOPClient::attachInternal. Attach failed Could not open network socket
DCOPClient::attachInternal. Attach failed Could not open network socket
Warning: kbuildsycoca is unable to register with DCOP.
kbuildsycoca running...
DCOPClient::attachInternal. Attach failed Could not open network socket
kbuildsycoca running...
DCOP Cleaning up dead connections.
Reusing existing ksycoca

Is it something wrong in /etc/hosts??


It could be your /etc/hosts or /etc/hosts.allow or you may need to add:
 -listen_tcp

to your startx commandline.



Then I get lots of line(130!) like :

kbuildsycoca: WARNING: '/usr/local/share/applications/kde/ark.desktop' 
specifies undefined mimetype/servicetype 'application/x-tbz2'
kbuildsycoca: WARNING: '/usr/local/share/applications/kde/ark.desktop' 
specifies undefined mimetype/servicetype 'application/zip'
kbuildsycoca: WARNING: '/usr/local/share/applications/kde/ark.desktop' 
specifies undefined mimetype/servicetype 'application/x-7z'
kbuildsycoca: WARNING: 
'/usr/local/share/applications/themus-theme-applier.desktop' specifies 
undefined mimetype/servicetype 'application/x-gnome-theme-installed'


These messages are errors telling you the window manager cannot manage 
these mimetypes.  Did you remove any ports for handling these types of 
archive files?




Then finally:

DCOP Cleaning up dead connections.
Launched ok, pid = 1283
ICE default IO error handler doing an exit(), pid = 1222, errno = 0
There are already artsd objects registered, looking if they are active...

Error: Can't add object reference (probably artsd is already running).
   If you are sure it is not already running, remove the relevant files:

   /tmp/ksocket-Luca/Arts_SoundServerV2
   /tmp/ksocket-Luca/Arts_SoundServer
   /tmp/ksocket-Luca/Arts_SimpleSoundServer
   /tmp/ksocket-Luca/Arts_PlayObjectFactory
   /tmp/ksocket-Luca/Arts_AudioManager


This error refers to the artsd daemon already running, or the system thinks 
this daemon is running.  You should open a terminal window and do:

ps -ax|grep -i art

and see if the artsd daemon is running or not.  If it is not, you may need 
to force it to start.





Then, every time I launch a program that open a new window I get:

X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  19
  Minor opcode:  0
  Resource id:  0x66



When you say every time you launch a program  how exactly are you trying 
to launch a program?


The error is complaining about passing a bad parameter, so if you are 
launching the program just through your window manager, you must have a bad 
configuration file.



-Derek

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

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


help for a wounded disk drive...

2008-03-21 Thread William Bulley
I damaged a Seagate 80 GB EIDE drive that was attached to a FreeBSD 5.4
system (as ufs) some time ago, and I would like to recover the data on
this drive - if that is possible.  All positive suggestions are welcome.

The drive is mechanically and electrically good.  I just can't mount it
and use it under FreeBSD.  It was a dual boot drive with a DOS partition
on the first partition and FreeBSD 5.4 on partition two.  I did the normal
sysinstall for FreeBSD 5.5 as I had done many times before.  Unfortunately,
I had the older, FreeBSD 5.4 drive cabled up (and powered up) on the second
IDE channel (using cable select) of an i386 motherboard while I did the 5.5
install on a new, blank drive on the first IDE channel.

I told sysinstall to add the standard FreeBSD bootloader on the new drive.
I don't recall if I allowed for a DOS partition or just used the entire disk.
The FreeBSD 5.4 disk on the second IDE channel also had the standard FreeBSD
bootloader from my earlier sysinstall of 5.4 on that disk.

When I completed the install, I figured I could just mount the second (older)
drive manually.  When I tried to do this, things went from bad to worse, and
the new system could never recognize the drive.  I believe the installation
process attempted to (or succeeded in) putting (an unnecessary) bootloader on
the older drive.  Had it not been connected, it would probably be okay today.
I learned an important lesson at that time...

I don't know what steps to take to recover this drive so I can mount it in a
read-only mode.  I just want to recover the files on this drive.  It is very
small by today's standards, so I will likely not use the drive in production.

I am comfortable running any required shell commands (as root), but I don't
want to damage the disk drive any further.  I hope I don't have to resort to
using dd(1) on the raw device!  Thanks in advance for any pointers.

Regards,

web...

--
William Bulley Email: [EMAIL PROTECTED]

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


R: Various X errors (difficult to see)

2008-03-21 Thread Luca Presotto
Is it something wrong in /etc/hosts??

It could be your /etc/hosts or /etc/hosts.allow or you may need to add:
 -listen_tcp

to your startx commandline.

I supposed the problem was there! I'll look at -listen_tcp and at hosts.allow.
I have doubts about setting hosts. X used to give me errors about not being 
able to connect (but still worked!). Then I tried to set up hosts correctly and 
now here's the new problem.
I've read man hosts, read the handbook and googled around but it's not very 
clear what I should write in this file.
My hostname is lucy. It's a laptot that eventually connects to the nearest 
available network. So it isn't part of a domain or something like that.
In the end I set up the concerned hosts lines to:
::1 localhost localhost.my.domain lucy
127.0.0.1 localhost localhost.my.domain lucy
 
Is it correct?
Why should I leave localhost.my.domain ?

These messages are errors telling you the window manager cannot manage these 
mimetypes.  
Did you remove any ports for handling these types of archive files?

No, I didn't remove anything! But I copied just 3 warnings. There were 130 of 
them related not only to archive files handling but almost to everything.

This error refers to the artsd daemon already running, or the system thinks 
this daemon is running.  You should open a terminal window and do:
ps -ax|grep -i art

and see if the artsd daemon is running or not.  If it is not, you may need to 
force it to start.

I'll try that later!

When you say every time you launch a program  how exactly are you trying to 
launch a program?  

Either with the kde launch program, either launching the file in a xterm, 
either when firefox opens a new popupAnd I think those are pretty much all 
the possible ways I explored!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Various X errors (difficult to see)

2008-03-21 Thread Luca Presotto
This error refers to the artsd daemon already running, or the system thinks 
this daemon is running.  You should open a terminal window and do:
ps -ax|grep -i art

and see if the artsd daemon is running or not.  If it is not, you may need to 
force it to start.

I'll try that later!

If I do ps -ax etc...  I get:
 1185  ??  S  0:00.03 kdeinit: kdeinit: klauncher --new-startup (kdeinit)
 1187  ??  S  0:00.28 kdeinit: kdeinit: kded --new-startup (kdeinit)
 1206  ??  S  0:00.49 /usr/local/bin/artsd -F 10 -S 4096 -s 60 -m 
artsmessage -c drkonqi -l 3 -f
 1106  v0  I+ 0:00.00 /bin/sh /usr/local/bin/startx
 1131  v0  I  0:00.01 /bin/sh /usr/local/bin/startkde
 1328  p0  R+ 0:00.00 grep -i art

I think that 1206 is the right daemon and is correctly running. Correct?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


samba

2008-03-21 Thread MD Keith
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Greetings, I have a FreeBSD box i set up long ago as a file server

has worked great till I had to get a better laptop with gfx card to keep
up with my SecondLife Addiction.  and now can't get the installed
Vista Os to connect to it.

Help would be appreciated,

running 5.4-RELEASE FreeBSD 5.4-RELEASE #0 on the box

Thanks in advance,
 Wolf


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: http://firegpg.tuxfamily.org

iD8DBQFH4/grLYy55nbmwbwRAo4gAJ90NYqAIE9Mgxevh9SIlLdFv93BzACeOGQt
crK8s0gUSNtkI4w6Tbv4dGk=
=0BQG
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: samba

2008-03-21 Thread Eduardo Cerejo

 Hash: SHA1
 
 Greetings, I have a FreeBSD box i set up long ago as a file server
 
 has worked great till I had to get a better laptop with gfx card to keep
 up with my SecondLife Addiction.  and now can't get the installed
 Vista Os to connect to it.
 
 Help would be appreciated,
 
 running 5.4-RELEASE FreeBSD 5.4-RELEASE #0 on the box
 
 Thanks in advance,
  Wolf

Don't know much about samba but placing your samba configuration file would 
help many.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How do I add search paths to gcc

2008-03-21 Thread Eduardo Cerejo
My gcc is only looking in /usr/lib and /usr/include for libraries and hearders 
and I added the paths /usr/local/lib/ and /usr/local/include to my .cshrc file:

set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin 
/usr/local/bin /usr/local/lib /usr/local/include $HOME/bin)

but I still have to use gcc with -I and -L switch for a program to compile or 
else it will fail.  

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


Re: How do I add search paths to gcc

2008-03-21 Thread mdh
--- Eduardo Cerejo [EMAIL PROTECTED] wrote:

 My gcc is only looking in /usr/lib and /usr/include
 for libraries and hearders and I added the paths
 /usr/local/lib/ and /usr/local/include to my .cshrc
 file:
 
 set path = (/sbin /bin /usr/sbin /usr/bin /usr/games
 /usr/local/sbin /usr/local/bin /usr/local/lib
 /usr/local/include $HOME/bin)

PATH in the environment is where your shell searches
for programs to run from the command line, system(),
etc.  This allows you to type, say, `sh` instead of
having to type out `/bin/sh` or risking having
`/home/somekiddie/sh` run instead when you type it.  

 
 but I still have to use gcc with -I and -L switch
 for a program to compile or else it will fail.  
 
 I'm using tcsh.

There are two ways to set up alternate places to find
libraries.  The first is ldconfig, and you can see
ports run this when you install a port containing
shared libraries for example.  The other is to use the
LD_LIBRARY_PATH environment variable to set alternate
paths at run-time.  

The 'ldconfig(1)' man page has more info for you.  

Take care, mdh



  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: java plugin for Firefox on AMD64 running FreeBSD 6.3

2008-03-21 Thread Dino Vliet
Jung-uk Kim [EMAIL PROTECTED] wrote: On Friday 21 March 2008 08:46 am, Dino 
Vliet wrote:
 Hi folks,

 I'm lost at finding a solution for getting the java plugin to work
 in Firefox 2.11 on my AMD64 system running FreeBSD 6.3.

 I've upgraded my ports and the diablo-jdk version is:
 pkg_info | grep diablo
 diablo-jdk-1.5.0.07.01_9 Java Development Kit 1.5.0_07.01

 The handbook said I needed the JRE so I installed that as well:

 pkg_info | grep diablo
 diablo-jdk-1.5.0.07.01_9 Java Development Kit 1.5.0_07.01
 diablo-jre-1.5.0.07.01_9 Java Runtime Environment 1.5.0_07.01

 But now I need to do this in order to see the java plugin activated
 when I press about:plugins:

 # ln -s
 /usr/local/diablo-jre1.5.0/plugin/i386/ns7/libjavaplugin_oji.so \
 /usr/local/lib/browser_plugins/

 But I don't have a plugin directory in the
   /usr/local/diablo-jre1.5.0 directory, so I won't have that file
 libjavaplugin_oji.so either.

diablo-jdk/-jre does not have Mozilla plugin for amd64.  You have to 
build *JDK* from ports with plugin support, i.e., ports/java/jdk15 or 
ports/java/jdk16.

Jung-uk Kim


Works Perfect:-)
I've installed jdk15 and the plugin worked immediately.
Thanks a lot, because this means I can continue using my FreeBSD desktop iso 
switching to a linux pc whenever I needed to work at home.

Ciao
Dino

   
-
Never miss a thing.   Make Yahoo your homepage.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: help for a wounded disk drive...

2008-03-21 Thread Derek Ragona

At 12:39 PM 3/21/2008, William Bulley wrote:

I damaged a Seagate 80 GB EIDE drive that was attached to a FreeBSD 5.4
system (as ufs) some time ago, and I would like to recover the data on
this drive - if that is possible.  All positive suggestions are welcome.

The drive is mechanically and electrically good.  I just can't mount it
and use it under FreeBSD.  It was a dual boot drive with a DOS partition
on the first partition and FreeBSD 5.4 on partition two.  I did the normal
sysinstall for FreeBSD 5.5 as I had done many times before.  Unfortunately,
I had the older, FreeBSD 5.4 drive cabled up (and powered up) on the second
IDE channel (using cable select) of an i386 motherboard while I did the 5.5
install on a new, blank drive on the first IDE channel.

I told sysinstall to add the standard FreeBSD bootloader on the new drive.
I don't recall if I allowed for a DOS partition or just used the entire disk.
The FreeBSD 5.4 disk on the second IDE channel also had the standard FreeBSD
bootloader from my earlier sysinstall of 5.4 on that disk.

When I completed the install, I figured I could just mount the second (older)
drive manually.  When I tried to do this, things went from bad to worse, and
the new system could never recognize the drive.  I believe the installation
process attempted to (or succeeded in) putting (an unnecessary) bootloader on
the older drive.  Had it not been connected, it would probably be okay today.
I learned an important lesson at that time...

I don't know what steps to take to recover this drive so I can mount it in a
read-only mode.  I just want to recover the files on this drive.  It is very
small by today's standards, so I will likely not use the drive in production.

I am comfortable running any required shell commands (as root), but I don't
want to damage the disk drive any further.  I hope I don't have to resort to
using dd(1) on the raw device!  Thanks in advance for any pointers.

Regards,

web...


If the mechanics and other workings are good, try testdisk at:
www.testdisk.org

-Derek

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

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


mtree

2008-03-21 Thread Robert Huff

I know mtree can be used to describe a directory layout, and
then to re-create that structure.  Is there a place where this is
described?
Respectfully,


Robert Huff



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


Re: mtree

2008-03-21 Thread Kris Kennaway

Robert Huff wrote:

I know mtree can be used to describe a directory layout, and
then to re-create that structure.  Is there a place where this is
described?


Start with the manpage, I guess ;)  There are also examples in /etc/mtree.

Kris

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


Re: mtree

2008-03-21 Thread Lowell Gilbert
Robert Huff [EMAIL PROTECTED] writes:

   I know mtree can be used to describe a directory layout, and
 then to re-create that structure.  Is there a place where this is
 described?

I figured out everything I wanted to know from the manual page.  It's
a pretty good manual -- the reason it gives people trouble is just
that there are so *many* different things it can do.

In the EXAMPLES section of its manual, there is a formula for how to
create an /etc/mtree style BSD.*.dist file which is the first half
of what you want.  Offhand, I think mtree -U is enough to mash
everything back to the way the original specification described.

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


RE: Various X errors (difficult to see)

2008-03-21 Thread Derek Ragona

At 01:07 PM 3/21/2008, Luca Presotto wrote:
This error refers to the artsd daemon already running, or the system 
thinks this daemon is running.  You should open a terminal window and do:

ps -ax|grep -i art

and see if the artsd daemon is running or not.  If it is not, you may 
need to force it to start.


I'll try that later!

If I do ps -ax etc...  I get:
 1185  ??  S  0:00.03 kdeinit: kdeinit: klauncher --new-startup (kdeinit)
 1187  ??  S  0:00.28 kdeinit: kdeinit: kded --new-startup (kdeinit)
 1206  ??  S  0:00.49 /usr/local/bin/artsd -F 10 -S 4096 -s 60 -m 
artsmessage -c drkonqi -l 3 -f

 1106  v0  I+ 0:00.00 /bin/sh /usr/local/bin/startx
 1131  v0  I  0:00.01 /bin/sh /usr/local/bin/startkde
 1328  p0  R+ 0:00.00 grep -i art

I think that 1206 is the right daemon and is correctly running. Correct?


Looks like the right daemon.  I wonder if your config files are trying to 
start it twice.


-Derek

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

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


Re: help for a wounded disk drive...

2008-03-21 Thread Jerry McAllister
On Fri, Mar 21, 2008 at 01:39:50PM -0400, William Bulley wrote:

 I damaged a Seagate 80 GB EIDE drive that was attached to a FreeBSD 5.4
 system (as ufs) some time ago, and I would like to recover the data on
 this drive - if that is possible.  All positive suggestions are welcome.
 
 The drive is mechanically and electrically good.  I just can't mount it
 and use it under FreeBSD.  It was a dual boot drive with a DOS partition
 on the first partition and FreeBSD 5.4 on partition two.  I did the normal
 sysinstall for FreeBSD 5.5 as I had done many times before.  Unfortunately,
 I had the older, FreeBSD 5.4 drive cabled up (and powered up) on the second
 IDE channel (using cable select) of an i386 motherboard while I did the 5.5
 install on a new, blank drive on the first IDE channel.
 
 I told sysinstall to add the standard FreeBSD bootloader on the new drive.
 I don't recall if I allowed for a DOS partition or just used the entire disk.
 The FreeBSD 5.4 disk on the second IDE channel also had the standard FreeBSD
 bootloader from my earlier sysinstall of 5.4 on that disk.
 
 When I completed the install, I figured I could just mount the second (older)
 drive manually.  When I tried to do this, things went from bad to worse, and
 the new system could never recognize the drive.  I believe the installation
 process attempted to (or succeeded in) putting (an unnecessary) bootloader on
 the older drive.  Had it not been connected, it would probably be okay today.
 I learned an important lesson at that time...
 
 I don't know what steps to take to recover this drive so I can mount it in a
 read-only mode.  I just want to recover the files on this drive.  It is very
 small by today's standards, so I will likely not use the drive in production.
 
 I am comfortable running any required shell commands (as root), but I don't
 want to damage the disk drive any further.  I hope I don't have to resort to
 using dd(1) on the raw device!  Thanks in advance for any pointers.

Depends a little on what actually happened to it.   If you just smotched
the boot sector, it should be recoverable as a data disk.  

First, you need to find out as much as you can about the condition of the
disk.  For that, you will need to run  fdisk(8)  and then maybe bsdlabel(8)
to get information.

Presuming the system recognizes the drive as /dev/ad1
do:  
fdisk ad1

Look at what it tells you.   Most of it is just boilerplace verbiage, but
mixed in there should be some valuable information.   What you want to
find is how many slices are actually configured.   There can be up
to 4, numberes 1..4   If a slice is being used, it should have 
information about it, including size in sectors, what type, if it 
is bootable and if it is marked active for booting.   

Ignore the cylinders/tracks/sectors stuff.  Just look at the slice 
size in sectors/blocks.  The type will tell you if it is FreeBSD
formatted slice or Messy Dos.   FreeBSD is type 165 if I remember 
correctly.

If you can get this kind of information, then there should be enough
left to get more with bsdlabel and possibly even read data.  I don't
remember how far back FreeBSD switched from disklabel to bsdlabel.  They 
are functionally the same, so use whichever your FreeBSD version has.

If you find, for example a slice 2 that appears to be a FreeBSD slice,
then run bsdlabel as: 
baslabel ad1s2
and pay attention to how it is divided up into partitions in the table.
Ignore all the disk identifier stuff above that.  Just pay attention
to the stuff below the line that says '8 partitions'  where it
names a partition and gives size and offset.

If that gives some decent information, such as a partition 'a' with
some reasonable looking size and (hopefully) an offset of 0 and
maybe some other reasonable looking partitions and offsets (do not
muck with partitin c), then try running fsck on the partitions
you find.

fsck /dev/ad1s2a   for example.

It should come up with some complaints, but be able to fix them.

If so, create a mount point - something like:
mkdir /rootfix or whatever
and try to mount it
mount /dev/ad1s2a /rootfix

If, after the fsck, this works, cd to it and look around.

Then try this for any other slices+partitions you find that
claim to be FreeBSD type.

If this doesn't work, then you are in for a more difficult task.

jerry
   


 
 Regards,
 
 web...
 
 --
 William Bulley Email: [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: help for a wounded disk drive...

2008-03-21 Thread Dimitri Yioulos
On Friday 21 March 2008 1:39 pm, William Bulley wrote:
 I damaged a Seagate 80 GB EIDE drive that was attached to a FreeBSD 5.4
 system (as ufs) some time ago, and I would like to recover the data on
 this drive - if that is possible.  All positive suggestions are welcome.

 The drive is mechanically and electrically good.  I just can't mount it
 and use it under FreeBSD.  It was a dual boot drive with a DOS partition
 on the first partition and FreeBSD 5.4 on partition two.  I did the normal
 sysinstall for FreeBSD 5.5 as I had done many times before.  Unfortunately,
 I had the older, FreeBSD 5.4 drive cabled up (and powered up) on the second
 IDE channel (using cable select) of an i386 motherboard while I did the 5.5
 install on a new, blank drive on the first IDE channel.

 I told sysinstall to add the standard FreeBSD bootloader on the new drive.
 I don't recall if I allowed for a DOS partition or just used the entire
 disk. The FreeBSD 5.4 disk on the second IDE channel also had the standard
 FreeBSD bootloader from my earlier sysinstall of 5.4 on that disk.

 When I completed the install, I figured I could just mount the second
 (older) drive manually.  When I tried to do this, things went from bad to
 worse, and the new system could never recognize the drive.  I believe the
 installation process attempted to (or succeeded in) putting (an
 unnecessary) bootloader on the older drive.  Had it not been connected, it
 would probably be okay today. I learned an important lesson at that time...

 I don't know what steps to take to recover this drive so I can mount it in
 a read-only mode.  I just want to recover the files on this drive.  It is
 very small by today's standards, so I will likely not use the drive in
 production.

 I am comfortable running any required shell commands (as root), but I don't
 want to damage the disk drive any further.  I hope I don't have to resort
 to using dd(1) on the raw device!  Thanks in advance for any pointers.

 Regards,

 web...

 --
 William Bulley Email: [EMAIL PROTECTED]


If it's just a matter of grabbing data off this drive, would a live rescue CD 
such as Reci=overy Is Possible be of help to you?

Dimitri

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

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


Re: help for a wounded disk drive...

2008-03-21 Thread Ezat - Ezatech

Hey William,

Was in a similar situation about a month ago.. I knew the drive was on 
its way out but once it went, i could not retrieve the data nor use it 
under freebsd even under a new system. My drive had physical issues.


I got the drive, stuck it in a 3.5inch usb enclosure and plugged it into 
a ms windows box.  Then I used a free proggy called ffsdrv which i found 
on sourceforge.


Snipit --

It enables you to read BSD(FreeBSD, NetBSD, OpenBSD) FFS partitions on 
Windows 2000/XP/2003.

http://ffsdrv.sourceforge.net/

Managed to get all data off this way.

Ezat





William Bulley wrote:

I damaged a Seagate 80 GB EIDE drive that was attached to a FreeBSD 5.4
system (as ufs) some time ago, and I would like to recover the data on
this drive - if that is possible.  All positive suggestions are welcome.

The drive is mechanically and electrically good.  I just can't mount it
and use it under FreeBSD.  It was a dual boot drive with a DOS partition
on the first partition and FreeBSD 5.4 on partition two.  I did the normal
sysinstall for FreeBSD 5.5 as I had done many times before.  Unfortunately,
I had the older, FreeBSD 5.4 drive cabled up (and powered up) on the second
IDE channel (using cable select) of an i386 motherboard while I did the 5.5
install on a new, blank drive on the first IDE channel.

I told sysinstall to add the standard FreeBSD bootloader on the new drive.
I don't recall if I allowed for a DOS partition or just used the entire disk.
The FreeBSD 5.4 disk on the second IDE channel also had the standard FreeBSD
bootloader from my earlier sysinstall of 5.4 on that disk.

When I completed the install, I figured I could just mount the second (older)
drive manually.  When I tried to do this, things went from bad to worse, and
the new system could never recognize the drive.  I believe the installation
process attempted to (or succeeded in) putting (an unnecessary) bootloader on
the older drive.  Had it not been connected, it would probably be okay today.
I learned an important lesson at that time...

I don't know what steps to take to recover this drive so I can mount it in a
read-only mode.  I just want to recover the files on this drive.  It is very
small by today's standards, so I will likely not use the drive in production.

I am comfortable running any required shell commands (as root), but I don't
want to damage the disk drive any further.  I hope I don't have to resort to
using dd(1) on the raw device!  Thanks in advance for any pointers.

Regards,

web...

--
William Bulley Email: [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: help for a wounded disk drive...

2008-03-21 Thread D Hill

On Sat, 22 Mar 2008 at 08:47 +1100, [EMAIL PROTECTED] confabulated:


Hey William,

Was in a similar situation about a month ago.. I knew the drive was on its 
way out but once it went, i could not retrieve the data nor use it under 
freebsd even under a new system. My drive had physical issues.


I got the drive, stuck it in a 3.5inch usb enclosure and plugged it into a ms 
windows box.  Then I used a free proggy called ffsdrv which i found on 
sourceforge.


Snipit --

It enables you to read BSD(FreeBSD, NetBSD, OpenBSD) FFS partitions on 
Windows 2000/XP/2003.

http://ffsdrv.sourceforge.net/

Managed to get all data off this way.


This is just what I was looking for to mount an FBSD drive on XP. Thanks! 
I was able to completely transfer all data from the drive just now.



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


Re: How do I add search paths to gcc

2008-03-21 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

mdh wrote:
 --- Eduardo Cerejo [EMAIL PROTECTED] wrote:
 
 My gcc is only looking in /usr/lib and /usr/include
 for libraries and hearders and I added the paths
 /usr/local/lib/ and /usr/local/include to my .cshrc
 file:

 set path = (/sbin /bin /usr/sbin /usr/bin /usr/games
 /usr/local/sbin /usr/local/bin /usr/local/lib
 /usr/local/include $HOME/bin)
 
 PATH in the environment is where your shell searches
 for programs to run from the command line, system(),
 etc.  This allows you to type, say, `sh` instead of
 having to type out `/bin/sh` or risking having
 `/home/somekiddie/sh` run instead when you type it.  
 
 but I still have to use gcc with -I and -L switch
 for a program to compile or else it will fail.  

 I'm using tcsh.
 
 There are two ways to set up alternate places to find
 libraries.  The first is ldconfig, and you can see
 ports run this when you install a port containing
 shared libraries for example.  The other is to use the
 LD_LIBRARY_PATH environment variable to set alternate
 paths at run-time.  
 

Well, that might be taken as confusing, even though your info is technically
quite correct.  Both those methods WILL get those added dirs searched for
loading the libraries at run time, BUT it will NOT get your compiler to find the
new paths, when linking the program during the build.  I'm fairly sure that's
what the person wanted, don't you think so?

Because, if I'm wrong,  you can delete this email right here and now, read no 
more.

BUT you were quite correct, there are definitely *at least* two methods to set
up your *compiler* library search paths.  In fact, I think I can show you 3
methods right now.

First, you can list the full path of the library on the command line, when you
use your compiler to link your program.
]
Second, you can (as the person suggested himself) you can use the -l/-L options
to bring in libraries  paths.  The -L should come first, it adds the path, and
the -l afterwards adds the specific library.

The 3rd method is the use the variables LDFLAGS and LDADD.  These variables are
NOT 100% reliable to use, although they are fairly reliable on BSD systems.  The
 LDFLAGS is where  you put your -LExtraPath and the LDADD is where you stick
the -lExtraLibrary, like this (from a Makefile example):
LDFLAGS+=-L/usr/local
LDFLAGS+=-lgtk

If you are using the BSD make util, the you use += to add to your variables,
instead of replacing them, in case they had some values in them to begin with.
Make automatically adds in the obvious spaces, so your definitions don't have
a train wreck for you.

 The 'ldconfig(1)' man page has more info for you.  
 
 Take care, mdh
 
 
 
   
 
 Looking for last minute shopping deals?  
 Find them fast with Yahoo! Search.  
 http://tools.search.yahoo.com/newsearch/category.php?category=shopping
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH5Ddaz62J6PPcoOkRAheZAKCFZGYrN4rx4GvuCUvvAeIIR5lvjQCeMfy/
rlsk+UF3+WKwh1676scYGOI=
=MMpk
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: samba

2008-03-21 Thread Werewolf
Thanks for pointing that out
So attaching the smb.conf file from the
/usr/local/etc directory

uname -a
FreeBSD server.ZOO 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

smbstatus
Samba version 2.2.12
Service  uid  gid  pid machine
--
public   nobody   nobody   58932   jennifer (192.168.42.34) Fri Mar
21 18:00:24 2008

No locked files

Later


Werewolf6851 [EMAIL PROTECTED]

===
 GPG key 76E6C1BC with following fingerprint
D508 2C9D B3A9 2F0E E472  95A8 2D8C B9E6 76E6 C1BC
===

Mal: If anyone gets nosy, just...you know... shoot 'em.

Zoe: Shoot 'em?

Mal: Politely.
--Episode #1, Serenity


Eduardo Cerejo wrote:
 Hash: SHA1

 Greetings, I have a FreeBSD box i set up long ago as a file server

 has worked great till I had to get a better laptop with gfx card to keep
 up with my SecondLife Addiction.  and now can't get the installed
 Vista Os to connect to it.

 Help would be appreciated,

 running 5.4-RELEASE FreeBSD 5.4-RELEASE #0 on the box

 Thanks in advance,
  Wolf
 
 Don't know much about samba but placing your samba configuration file would 
 help many.
 
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash) 
# is a comment and is ignored. In this example we will use a #
# for commentry and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command testparm
# to check that you have not many any basic syntactic errors. 
#
#=== Global Settings =
[global]

# workgroup = NT-Domain-Name or Workgroup-Name, eg: REDHAT4
   workgroup = ZOO

# server string is the equivalent of the NT Description field
   server string = %h Samba Server

# This option is important for security. It allows you to restrict
# connections to machines which are on your local network. The

# following example restricts access to two C class networks and
# the loopback interface. For more examples of the syntax see
# the smb.conf man page
#hosts allow = 192.168.242. 127.0.0.1
hosts allow = 192.168.42. 127.0.0.1

# If you want to automatically load your printer list rather
# than setting them up individually then you'll need this
;   load printers = yes

# you may wish to override the location of the printcap file
;   printcap name = /etc/printcap

# on SystemV system setting printcap name to lpstat should allow
# you to automatically obtain a printer list from the SystemV spool
# system
;   printcap name = lpstat

# It should not be necessary to specify the print system type unless
# it is non-standard. Currently supported print systems include:
# bsd, sysv, plp, lprng, aix, hpux, qnx
;   printing = bsd

# Uncomment this if you want a guest account, you must add this to /etc/passwd
# otherwise the user nobody is used
;  guest account = pcguest

# this tells Samba to use a separate log file for each machine
# that connects
   log file = /var/log/log.%m

# Put a capping on the size of the log files (in Kb).
   max log size = 50

# Security mode. Most people will want user level security. See
# security_level.txt for details.
   security = user

# Use password server option only with security = server
# The argument list may include:
#   password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
# or to auto-locate the domain controller/s
#   password server = *
;   password server = NT-Server-Name

# Note: Do NOT use the now deprecated option of domain controller
# This option is no longer implemented.

# You may wish to use password encryption. Please read
# ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.
# Do not enable this option unless you have read those documents
;  encrypt passwords = yes
encrypt passwords = yes

# Using the following line enables you to customise your configuration
# on a per machine basis. The %m gets replaced with the netbios name
# of the machine that is connecting
;   include = /usr/local/etc/smb.conf.%m

# Most people will find that this option gives better performance.
# See speed.txt and the manual pages for details
# You may want to add the following on a Linux system:
# SO_RCVBUF=8192 SO_SNDBUF=8192
   socket options = TCP_NODELAY 

# Configure Samba to use multiple interfaces
# If you have multiple network interfaces then you must list them
# here. See the man page for details.
;   interfaces = 192.168.12.2/24 192.168.13.2/24 

# Browser Control Options:
# set local master to no if you don't want Samba to become a master
# browser on your network. 

Re: my brother is making me learn FreeBSD...

2008-03-21 Thread Chad Perrin
On Thu, Mar 20, 2008 at 11:40:53AM -0400, Jerry McAllister wrote:
 On Wed, Mar 19, 2008 at 11:32:08PM -0800, Donald Laniohan wrote:
 
  My task is to build a BSD server and do something with it. That is all the
  information he gave me, that, and any questions I have to make Google my
  best friend, which I have. i remember building my first whitebox, it was a
  386 with windows 3.1. I remember when I built my 486 and stole a copy of
  windows 95. I thought I was a savage. BSD, however, has showed me how
  juvenile I have been. If I do not master BSD my brother is going to keep me
  as a desktop support for his windows clients and I want to progress past
  this. So he's giving me a 1u, and said to put BSD on it and make it do
  something, im just so stuck in my windows comfort zone I can't think of what
  I would need a unix server to that I couldn't make windows do for me. I know
  this is trivial but if somebody could offer any suggestion or resource I,
  and my career, would greatly appreciate it
  
 
 Good for your brother.
 
 First thing to do is get on the FreeBSD website:   http://www.freebsd.org/
 and start reading.Especially read the handbook and things about
 installing and setting up FreeBSD.
 
 Then put some stuff on it, such as browser (Firefox, probably), 
 web server (Apache), office tools (OpenOffice) and maybe a few games
 from /usr/ports and learn to use those.   You might want to add
 database (MySQL), interpreter (Perl, PHP) and other stuff as needed.

Considering the purpose here is to build a server, I doubt Firefox,
OpenOffice.org, and games would really be appropriate at this time.


 
 Have fun.  

I second the motion.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Marvin Minsky: It's just incredible that a trillion-synapse computer could
actually spend Saturday afternoon watching a football game.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: my brother is making me learn FreeBSD...

2008-03-21 Thread Chad Perrin
On Thu, Mar 20, 2008 at 06:29:09PM +0100, Zbigniew Szalbot wrote:
 Hello,
 
 2008/3/20, Nerius Landys [EMAIL PROTECTED]:
  You could make it a video game server.  That's why I set up a FreeBSD
   server.  I run games/iourbanterror, but there are other games you could 
  run.
 
 And could FreeBSD be used to become a streaming internet radio
 station? Has anyone been doing something like that? I am very
 interested to hear and hopefully it is still within the topic here...

Technically speaking: Easily.

Legally speaking: That depends on who's going to be listening to it.  Of
course, the same is true of any other OS that could server as a
streaming internet radio station.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Isaac Asimov: Part of the inhumanity of the computer is that, once it is
completely programmed and working smoothly, it is completely honest.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mtree

2008-03-21 Thread Robert Huff

Lowell Gilbert writes:

  In the EXAMPLES section of its manual, there is a formula for
  how to create an /etc/mtree style BSD.*.dist file which is the
  first half of what you want.

I saw that ...

   Offhand, I think mtree -U is enough to mash
  everything back to the way the original specification described.

... but somehow missed this.  (*WHAP*)

Thanks to Lowell and Kris.


Robert Huff

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


Re: Replacing Windows with FreeBSD (was: my brother is making me learn FreeBSD...)

2008-03-21 Thread Chad Perrin
On Fri, Mar 21, 2008 at 01:01:35AM +0800, Gelsema, P (Patrick) wrote:
 On Fri, March 21, 2008 00:39, Chad Perrin wrote:
  On Thu, Mar 20, 2008 at 10:50:34AM +0100, Nejc Å koberne wrote:
 
  So you are saying that merely setting up an OpenLDAP server with proper
  DNS
  configuration and Kerberos authentication could replace Microsoft AD
  controller?
  How about a group of controllers with all the failover features? Group
  policies?
  Are you sure you could do that just with a bit of tweaking? If there
  are
  Microsoft
  specific features, than FreeBSD can't do anything Windows server does
  and
  more. I
  am really skeptic about joining a Vista into such a domain. I would
  really
  love to
  see ONE guy who achieves that. To _completely_ replace Windows server
  with
  all its
  features with FreeBSD Anyone?
 
  Full AD parity is expected with the release of Samba 4:
 
  http://articles.techrepublic.com.com/5100-1035-6053709.html
 
  WINS capability is already available in ports with the samba4wins port,
  by the way.
 
 
 WINS is required mostly for Browsing networks, Master browser selection
 and Netbios connections (the infamous 13x ports). However Microsoft is
 really trying to get rid of Netbios connections and only have made it
 available for backwards compatibility. If I aint mistaken port used for
 file connections is somewhere in the 400 range.
 
 It is definitely not required for a full Windows Domain and for file-sharing.

True.  I'm just not sure how that's particularly relevant to what I said.


 
  In addition to that, as I pointed out in another email, FreeBSD can
  *easily* provide all the same functionality -- though MS Windows clients
  may not support all the necessary protocols and client applications
  needed to take full advantage of that functionality in some cases.  In
  fact, FreeBSD supports software that does a far better job of being a
  server or client in an MS Windows network than MS Windows does of being a
  server or client in a BSD Unix network.
 
 snap/snap

I'm sorry . . . does that mean anything?  You've lost me.


 
  The most important thing: we are talking about ordinary users not a
  bunch of
  math professors who want to run every application from a shell. And
  those
  users
  want to use things nicely. For example, let's look at the mail system.
  You
  could
  put a Postfix+amavisd-new+spamassassin+Horde+postfixadmin+ ... bla bla
  stuff on
  your FreeBSD server (I actually run this on many servers). But in that
  webmail,
  you are not able to manage your spam quarantine for example - you have
  to
  logout
  of Horde and login to Maia Mailguard (before you have to install that
  too),
  which
  is complicated for users. The problem of mail is then cut to so many
  little
  pieces that it may affect user efficiency. The problem with
  concatenating
  so many
  opensource products is that it is hard to make them work together like a
  charm.
  Microsoft usually (!) provides that (naturally, because it produces all
  those
  pieces).
 
  You don't have to run everything from a shell with FreeBSD.  What do you
  think this is -- 1994?  Even manpages can be accessed with a GUI
  application.
 
  Microsoft does *not* provide everything people need.  When someone uses a
  piece of software that isn't produced by Microsoft, chances are good that
  any MS software will have been designed specifically to make it difficult
  to interoperate.  Meanwhile, a lot of open source software interoperates
  very well.  Sure, if you limit yourself to nothing but MS software, you
  might get really good integration -- but that's at the cost of reduced
  security (thanks to lack of privilege separation and the ubiquitous use
  of IE's rendering engine for pretty much every single application
  Microsoft produces) and refusing to use a lot of software that Microsoft
  doesn't offer.
 
 
 I find it really hard to change, finetune settings on windows. Changing
 default ports eg. The standard tools provided are limited and there is no
 default. THink about netsh and net commands.

Funny . . . I don't seem to have these problems.  Have you asked for help
here?


 
 Also security wise. You need to give more permissions to an account to do
 something than you should on Freebsd. Chrooted applications for instance.

Say what?

. . . as opposed to MS Windows, where about 50% of what someone needs to
do on a given day requires escalation to administrative permissions?


 
  I really am a FreeBSD guy, I run it for more than 6 years now and I like
  it
  a lot.
  But I learned to be reasonable and not to say that it is in every way
  superior to
  everything else in the world.
 
  When did anyone say that FreeBSD was in every way superior to everything
  else in the world?  You must be reading a different discussion than the
  one I've been reading.
 
 
 My point exactly.

. . .

You lost me again.


 
 
  Still just talking, not fighting.
 
  I'm just offering a perspective and asking 

Re: my brother is making me learn FreeBSD...

2008-03-21 Thread Chad Perrin
On Thu, Mar 20, 2008 at 08:57:01AM -0700, mdh wrote:
 It's been my experience that finding drivers for
 hardware created for open source operating systems by
 developers within the communities is quite easy, while
 such community doesn't exist for windows and you are
 100% reliant on the vendor to supply working drivers. 
 If they supply crap drivers, go out of business and
 stop providing any, etc, you are simply out of luck,
 while with an open source model it is likely that
 someone will have kept development going if the vendor
 ever even did produce drivers for those systems. 
 There's very little in the way of modern hardware that
 isn't supported by FreeBSD.  The one time I ever ran
 into unsupported hardware, a quick update of -STABLE
 brought the necessary support in the driver.  
 
 The fact is that political BS aside, for 90% of
 workers, FreeBSD/KDE/openoffice/firefox will meet
 their needs just as well as windows, and in fact if
 you start with something like PC-BSD

I think 90% is pessimistic, actually.  It's probably closer to 98%.

By the way, please don't top-post.  The freebsd-questions list is one of
those where I get to enjoy a no top-posting rule, and seeing
unnecessary top-posting kinda harshes my mellow here.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Paul Graham: Real ugliness is not harsh-looking syntax, but having to
build programs out of the wrong concepts.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


uscanner and ugen drivers questions

2008-03-21 Thread Predrag Punosevac

Dear All,

I was playing with various scanners and all-in-one devices on FreeBSD 
(probably 6-7 different scanners and all-in-one
devices) and I noticed that the range of scanners supported on FreeBSD 
is far smaller than that of sane-backends.
This is due to the fact that there is no standard device class for USB 
scanners.
Therefore for instance uscanner driver will only recognise devices whose 
USB IDs are explicitly listed in the table in the driver itself. 
Parallel port scanners and all-in-one devices are even in worse shape 
due to the limitation of lpt driver but they can be considered 
semi-obsolete so I didn't even bother to play with them.


I was wondering if anybody has tried manually to add the device and the 
vendor ID to uscanner.c and recompile the kernel. Will that work. In 
particular last night I played little bit with Epscon CX3810 all-in-one 
which I got for $5.
The device is recognized as /dev/ulpt0 and is usable as a printer with 
the Gutenprint driver. If I remove ulpt and umass
driver from the kernel the device is seen as ulpt but sane-find-scanner 
list it as Unknown device.
I tried to edit /usr/local/etc/sane.d/epson.conf and add the vendor name 
and the product ID but the scanner is not responsive. The CX3810 is 
fully supported by Epson and Epson2 backend and works out of box on Ubuntu.



Did anybody play with these things at all or people are using just a few 
usable devices ( I have couple of working scanners on FreeBSD for instance)?


Another question. Is it possible to unload driver from the kernel 
without recompiling it like on OpenBSD

with config utility.

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


Re: smbfs CIFS

2008-03-21 Thread Darren Spruell
On Thu, Mar 20, 2008 at 12:40 PM, Wojciech Puchar
[EMAIL PROTECTED] wrote:
 isn't SMB and CIFS the same?

Superficially, although there are differences in the protocols. CIFS
descended from the original SMB specification and adds to it.

Hence, why e.g. in Linux you find separate module support for cifs and smbfs.

-- 
Darren Spruell
[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: removable devices auto umounting

2008-03-21 Thread Da Rock

On Fri, 2008-03-21 at 16:21 +0100, Tijl Coosemans wrote:
  On Thu, Mar 20, 2008 at 11:55:32AM +1000, Da Rock wrote:
  I'm just looking into the removable device issue for freebsd. I can
  see its easy enough to auto mount a removable device (although I
  could use some help getting sd/xd devices working with my card
  reader), but the removal seems to come unstuck.
  
  I have some barely literates on my systems, so I do need to work
  this out. Is it possible to use a forced umount to do this? What
  are the options here?
 
 In KDE (same for GNOME and such I figure), removable devices like usb
 keys, cameras, cd/dvd are automounted and appear on the desktop.
 Using the right-click popup menu you can Safely remove or Eject
 them.
 
 For this to work, you need to have sysutils/hal installed and configure
 x11/kdebase3 to enable hal support (this is the default).
 
 Then you need to give users permission to access necessary devices.
 It's best to create a separate group for that like plugdev and then
 add users to this group. To give a plugdev group access to devices
 create/edit the file /etc/devfs.rules to contain:
 
 --- begin /etc/devfs.rules ---
 [local_ruleset=10]
 #allow plugdev to access the CAM subsystem (required for cd/dvd burning and 
 usb mass storage)
 add path xpt0 user root group plugdev mode 0660
 add path 'pass*' user root group plugdev mode 0660
 #only allow root for specific fixed SCSI drives if any
 #add path pass0 user root group operator mode 0660
 #add path pass1 user root group operator mode 0660
 #...
 
 #allow plugdev to access the cdrom
 add path cd0 user root group plugdev mode 0660
 
 #allow plugdev to access usb mass storage
 add path 'da*' user root group plugdev mode 0660
 #only allow root for specific fixed SCSI drives if any
 #add path 'da0*' user root group operator mode 0660
 #add path 'da1*' user root group operator mode 0660
 #...
 
 #allow plugdev to access generic usb devices (cameras/mp3 players using 
 libusb)
 add path 'usb*' user root group plugdev mode 0660
 add path 'ugen*' user root group plugdev mode 0660
 --- end /etc/devfs.rules ---
 
 (You don't need anything special in /etc/devfs.conf. If you've put
 stuff there to get cd burning working for normal users, you can
 remove it. (permission for cd,xpt,pass devices))
 
 In /etc/rc.conf then make sure you have these lines:
 
 dbus_enable=YES
 devfs_system_ruleset=local_ruleset
 hald_enable=YES
 polkitd_enable=YES
 
 And finally, give plugdev access to hal by editing
 /usr/local/etc/dbus-1/system.d/hal.conf
 At the end of that file it says:
 
   !-- You can change this to a more suitable user, or make per-group --
   policy group=operator
 allow send_interface=org.freedesktop.Hal.Device.SystemPowerManagement/
 allow send_interface=org.freedesktop.Hal.Device.LaptopPanel/
 allow send_interface=org.freedesktop.Hal.Device.Volume/
 allow send_interface=org.freedesktop.Hal.Device.Volume.Crypto/
   /policy
 
 On the second line above, change operator to plugdev.
 
 Then make sure you have a /var/media directory and /media linking to it
 and nothing related to removable devices in /etc/fstab (including cdrom).
 Reboot your system and if I didn't miss anything, any user in the
 plugdev group should be able to use removable devices quite easily.

Thanks for that- I was just looking into that from the Project Utopia
article. Just a couple of things-

1. You still have to click eject before removing the device. Is there a
way to skip this and just remove the device?

2. The D-Bus system only works with an X wm doesn't it?

I know it seems contrary, but is there a way I can set this up so that
it will work from a standard tty? The amd system appears to allow this,
but it does have its faults as well.

Consider this theory: IF the X windows system is running- D-Bus and all-
can other background daemons use this system? I guess they wouldn't need
to concern themselves with this problem as the X windows will be taking
care of it automatically.

Another thought: do all wm's use the D-Bus? Or is it only kde and gnome?

Thanks for being a sounding board guys.

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


List replies

2008-03-21 Thread Da Rock
This may have been suggested or discussed before, but is there a reason
why the reply-to on this list isn't the list itself instead of the
person who posted? Ie reply-to: freebsd-questions@freebsd.org

Curious...

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


Card readers

2008-03-21 Thread Da Rock
I have mentioned this before in other threads, but it appears it
requires a thread of its own.

I have a laptop with a card reader built in which I have never been able
to get to work. Everything I have looked up regarding these has to do
with usb versions, and other than the laptops my card readers are usb so
this shouldn't be a problem.

In the laptops I have a texas instruments PCI card reader though, which
gives me a real headache. I can't seem to get them to operate at all, so
I'm left wondering about drivers and such. These are the specs:

Mass storage controller: Texas Instruments PCIxx21 Integrated FlashMedia
Controller
02:09.4 SD Host controller: Texas Instruments
PCI6411/6421/6611/6621/7411/7421/7611/7621 Secure Digital Controller

I'm currently running Fedora (which seems to work), but I'd like to move
over to FreeBSD as soon as I can get all the features needed on these. I
seem to be making headway on most of these, so here's hoping.

The card reader is capable of reading nearly all format cards, including
xD which is a main reason why I'd like to get it to work.

Any links and info would be very appreciated.

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


Console Random Text

2008-03-21 Thread Andy Christianson
Hello everyone,

 

I am having a very strange problem. My sever stopped responding in SSH.
At the time,

a co-worker said he was importing a MySQL database from a USB drive
mounted as ext2fs.

 

I went back to check on the console, and it was scrolling *EXTREMELY*
quickly with

apparently random text (it could have said something, but it was too
fast to read). 

 

I could not switch to another virtual console. It would not respond to
any keyboard input.

 

Oddly enough, the machine was still responding to ICMP.

 

Does anyone have ANY clues as to what this could be? This is a server
that an entire

Company runs on, so it's really important that I find out what is
causing this.

 

Thanks in advance! This FreeBSD community is the friendliest one I've
found yet.

 

-Andy

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


Re: List replies

2008-03-21 Thread Erik Trulsson
On Sat, Mar 22, 2008 at 10:35:57AM +1000, Da Rock wrote:
 This may have been suggested or discussed before, but is there a reason
 why the reply-to on this list isn't the list itself instead of the
 person who posted? Ie reply-to: freebsd-questions@freebsd.org

Because many people who ask questions here are not subscribed to the
list and thus would not see any answers that were sent only to the list.




-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to uninstall a flash port.

2008-03-21 Thread Al Plant

Aloha Gurus,

I installed the Linux flash9 port on a new 7.0 box to work with 
SeaMonkey and it dies when it reaches flash using sites.


How can I de-install this port with out causing problems to other programs?

I cant find it in the  handbook how to's.   Im I missing something?

Thanks...



~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
 + http://hawaiidakine.com + http://freebsdinfo.org + 
 + http://aloha50.net   - Supporting - FreeBSD 6.* - 7.* - 8.* +

  email: [EMAIL PROTECTED] 
All that's really worth doing is what we do for others.- Lewis Carrol


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


How to uninstall a flash port.

2008-03-21 Thread Robert Huff

Al Plant writes:

  I installed the Linux flash9 port on a new 7.0 box to work with 
  SeaMonkey and it dies when it reaches flash using sites.
  
  How can I de-install this port with out causing problems to other
  programs?

 cd port directory
 made deinstall

or use pkh_deinstall.


Robert Huff



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


RE: Console Random Text

2008-03-21 Thread The-IRC Hosting Administration Team
I have been having the same problem with a 6.3 server but without random
text.

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


Re: List replies

2008-03-21 Thread Da Rock

On Sat, 2008-03-22 at 02:58 +0100, Erik Trulsson wrote:
 On Sat, Mar 22, 2008 at 10:35:57AM +1000, Da Rock wrote:
  This may have been suggested or discussed before, but is there a reason
  why the reply-to on this list isn't the list itself instead of the
  person who posted? Ie reply-to: freebsd-questions@freebsd.org
 
 Because many people who ask questions here are not subscribed to the
 list and thus would not see any answers that were sent only to the list.

Well that certainly explains it, but it does surprise me. I thought
you'd have to subscribe to post.


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


RE: Console Random Text

2008-03-21 Thread Tamouh H.
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Andy Christianson
 Sent: March 21, 2008 7:28 PM
 To: freebsd-questions@freebsd.org
 Subject: Console Random Text
 
 Hello everyone,
 
  
 
 I am having a very strange problem. My sever stopped 
 responding in SSH.
 At the time,
 
 a co-worker said he was importing a MySQL database from a USB 
 drive mounted as ext2fs.
 
  
 
 I went back to check on the console, and it was scrolling 
 *EXTREMELY* quickly with
 
 apparently random text (it could have said something, but it 
 was too fast to read). 
 
  
 
 I could not switch to another virtual console. It would not 
 respond to any keyboard input.
 
  
 
 Oddly enough, the machine was still responding to ICMP.
 
  
 
 Does anyone have ANY clues as to what this could be? This is 
 a server that an entire
 
 Company runs on, so it's really important that I find out 
 what is causing this.
 
 
  
 
 -Andy
 

If it looks like it is online, but no services respond then it could be a bad 
backplane or corrupted RAID. From personal experience.

Tamouh


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


Re: List replies

2008-03-21 Thread Robert Huff
Da Rock writes:

   Because many people who ask questions here are not subscribed to the
   list and thus would not see any answers that were sent only to the list.
  
  Well that certainly explains it, but it does surprise me. I thought
  you'd have to subscribe to post.

I believe that has been considered and rejected, on the grounds
this is the list most likely to be found by novices and it should
present the only the absolutely necessary number of hoops.


Robert Huff

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


Re: How to uninstall a flash port.

2008-03-21 Thread Eduardo Cerejo

 I installed the Linux flash9 port on a new 7.0 box to work with 
 SeaMonkey and it dies when it reaches flash using sites.
 
 How can I de-install this port with out causing problems to other programs?
 
 I cant find it in the  handbook how to's.   Im I missing something?
 
 Thanks...

If you are using the portupgrade tools you can use pkg_deinstall 
linux-flashplugin
if not use make deinstall or pkg_delete  but you have to specify the registered 
name in /var/db/pkg/ just run pkg_info pkg_info | grep linux-flashplugin and it 
should give you the registered name.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: List replies

2008-03-21 Thread Paul Schmehl
--On March 22, 2008 1:10:40 PM +1000 Da Rock 
[EMAIL PROTECTED] wrote:




On Sat, 2008-03-22 at 02:58 +0100, Erik Trulsson wrote:

On Sat, Mar 22, 2008 at 10:35:57AM +1000, Da Rock wrote:
 This may have been suggested or discussed before, but is there a
 reason why the reply-to on this list isn't the list itself instead of
 the person who posted? Ie reply-to: freebsd-questions@freebsd.org

Because many people who ask questions here are not subscribed to the
list and thus would not see any answers that were sent only to the list.


Well that certainly explains it, but it does surprise me. I thought
you'd have to subscribe to post.



And *I* thought it was proper etiquette to only reply to the list.

Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/

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


virtual machine software

2008-03-21 Thread Jim Stapleton
I need to get a VM work for XP. I tried QEmu, but XP wouldn't install.
I wouldn't mind VMWare, but I want to run it under trial first if
possible.

Any documents/suggestions that anyone can point me to?

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


Re: List replies

2008-03-21 Thread Da Rock

On Fri, 2008-03-21 at 22:38 -0500, Paul Schmehl wrote:
 --On March 22, 2008 1:10:40 PM +1000 Da Rock 
 [EMAIL PROTECTED] wrote:
 
 
  On Sat, 2008-03-22 at 02:58 +0100, Erik Trulsson wrote:
  On Sat, Mar 22, 2008 at 10:35:57AM +1000, Da Rock wrote:
   This may have been suggested or discussed before, but is there a
   reason why the reply-to on this list isn't the list itself instead of
   the person who posted? Ie reply-to: freebsd-questions@freebsd.org
 
  Because many people who ask questions here are not subscribed to the
  list and thus would not see any answers that were sent only to the list.
 
  Well that certainly explains it, but it does surprise me. I thought
  you'd have to subscribe to post.
 
 
 And *I* thought it was proper etiquette to only reply to the list.

Me too.

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


[Fwd: Re: List replies]

2008-03-21 Thread Da Rock

---BeginMessage---

On Fri, 2008-03-21 at 23:24 -0400, Robert Huff wrote:
 Da Rock writes:
 
Because many people who ask questions here are not subscribed to the
list and thus would not see any answers that were sent only to the list.
   
   Well that certainly explains it, but it does surprise me. I thought
   you'd have to subscribe to post.
 
   I believe that has been considered and rejected, on the grounds
 this is the list most likely to be found by novices and it should
 present the only the absolutely necessary number of hoops.
 
 
   Robert Huff

Fair enough, but is it necessary on all the lists for freebsd?
---End Message---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: virtual machine software

2008-03-21 Thread Da Rock

On Fri, 2008-03-21 at 23:37 -0400, Jim Stapleton wrote:
 I need to get a VM work for XP. I tried QEmu, but XP wouldn't install.
 I wouldn't mind VMWare, but I want to run it under trial first if
 possible.
 
 Any documents/suggestions that anyone can point me to?

I'm not certain that it is ported yet, but you can build vmware - to get
xp on vmware you'll need server though.

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


Re: List replies

2008-03-21 Thread Jonathan McKeown
On Saturday 22 March 2008 06:33, Da Rock wrote:
 On Fri, 2008-03-21 at 22:38 -0500, Paul Schmehl wrote:
  --On March 22, 2008 1:10:40 PM +1000 Da Rock
 
  [EMAIL PROTECTED] wrote:
   On Sat, 2008-03-22 at 02:58 +0100, Erik Trulsson wrote:
   On Sat, Mar 22, 2008 at 10:35:57AM +1000, Da Rock wrote:
This may have been suggested or discussed before, but is there a
reason why the reply-to on this list isn't the list itself instead
of the person who posted? Ie reply-to: freebsd-questions@freebsd.org
  
   Because many people who ask questions here are not subscribed to the
   list and thus would not see any answers that were sent only to the
   list.
  
   Well that certainly explains it, but it does surprise me. I thought
   you'd have to subscribe to post.
 
  And *I* thought it was proper etiquette to only reply to the list.

 Me too.

This discussion takes place regularly on every mailing list in existence. The 
main arguments against it seem to be that a) it might trash an existing 
reply-to header and make it impossible to send an individual reply; b) in the 
event of user error it fails safely - list reply ends up going to an 
individual - rather than the potentially catastrophic 
private-reply-to-publically-archived-mailing-list failure. Google for 
reply-to munging considered harmful for more argument on both sides.

As regards copying the original recipients, this list specifically requests 
it: check the regular posting titled ``how to get best results from 
freebsd-questions'', particularly para VII.6.

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


Mutex unlock failure when compiling KDE (upgrade from 6.x)

2008-03-21 Thread RCL
Hi,

I'm having the same troubles as Leslie Jensen when compiling KDE (or
anything that uses uic, e.g. amarok):
compile process stucks with the following message:

Mutex unlock failure: Operation not permitted

I found out that the problem was already being investigated here on
the list, but no solution has yet been proposed :(
If it helps, I performed the steps that Mel asked to perform and
here's the log file of Qt build process:

http://rcl.mine.nu/outbound/freebsd/qt-copy-3.3.8_6.log.tar.gz

The actual command that is used to link uic is:
c++ -fno-exceptions  -Wl,-rpath,/usr/local/lib
-Wl,-rpath,/usr/local/lib -pthread -o ../../../bin/uic
.obj/release-shared-mt/main.
o  .obj/release-shared-mt/uic.o  .obj/release-shared-mt/form.o
.obj/release-shared-mt/object.o  .obj/release-shared-mt/subclassing
.o  .obj/release-shared-mt/embed.o
.obj/release-shared-mt/widgetdatabase.o
.obj/release-shared-mt/domtool.o  .obj/release-shared-
mt/parser.o-L/usr/local/lib
-L/usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/lib
-L/usr/local/lib -lqt-mt -lmng -ljpeg -lp
ng -lz -lXi -lXrender -lXrandr -lXcursor -lXinerama -lXft -lfreetype
-lfontconfig -lXext -lX11 -lm -lSM -lICE

There's no file libpthread.* in /usr/local/lib. These are
libpthread.so/a files I have:

# ls -la `locate libpthread.{a,so}`
lrwxrwxrwx  1 root  wheel  19 Feb 29 13:57
/usr/compat/linux/lib/libpthread.so.0 - libpthread-2.3.6.so
lrwxrwxrwx  1 root  wheel  18 Feb 29 13:57
/usr/compat/linux/lib/obsolete/linuxthreads/libpthread.so.0 -
libpthread-0.10.so
lrwxr-xr-x  1 root  wheel   8 Feb 29 12:21 /usr/lib/libpthread.a - libthr.a
-r--r--r--  1 root  wheel  136020 Feb 29 16:16
/usr/local/lib/compat/libpthread.so.1
-r-xr-xr-x  1 root  wheel   43284 Oct 17 00:52
/usr/local/lib/valgrind/libpthread.so
lrwxr-xr-x  1 root  wheel  13 Oct 17 00:52
/usr/local/lib/valgrind/libpthread.so.2 - libpthread.so

I upgraded the system nearly a month ago (On 29th Feb) and since then
I cannot build any KDE application (not even rebuild kde base/lib
ports themselves).
Upgrade procedure I used is described here:
http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade.html

I hope the information provided will help further investigate the
problem. I don't want to reinstall the system, that feels like a
solution from Windows world :-)

Best regards,
Dmitry RCL Rekman

Mel wrote:

 Nope. But I would be interested to see what the line is that compiles uic. And
 what configure produces.

 I still think there's something '6.x-ish' going on here, but without knowing
 how uic gets built, it's anyone's guess.

 Could you try the following:
 cd /usr/ports/x11/qt33
 make clean
 mkdir /var/log/portbuilds
 make build /var/log/portbuilds/`make -V PKGNAME`.log 21
 make -V CONFIGURE_ARGS  /var/log/portbuilds/`make -V PKGNAME`.log
 cat `make -V WRKSRC`/config.log \
   /var/log/portbuilds/`make -V PKGNAME`.log

 Then put that log up somewhere if you have webspace, or try to find references
 to '-pthread', 'libpthread', 'libthr' and the final link command that makes
 uic.

 It's probably some setting you have or some stray library that causes this and
 until you get it resolved, you can't trust any threaded application you build
 from ports. Or, it's specific for qt, but I highly doubt that.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]