Questions about stats

2008-04-22 Thread Luigi

Hi,

I'm a user of PC-BSD in Belgium.

So I'd like to know if it's possible to have stats for Belgium and where
can I find it ?

Thank you very much.

Luigi

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


Re: Questions about stats

2008-04-22 Thread Leslie Jensen



Luigi skrev:

Hi,

I'm a user of PC-BSD in Belgium.

So I'd like to know if it's possible to have stats for Belgium and where
can I find it ?

Thank you very much.

Luigi




I suggest that you install bsdstats!

http://bsdstats.org/

/Leslie

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


Hangup on USB mass device

2008-04-22 Thread Sébastien Morand

Hi everybody,

I have a problem with some usb mass devices. Camera or music player make my 
system hang up whenever I plug then in one of my USB ports? What is the problem?


Thanks by advance for you help.

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

Re: Looking up portsnap.FreeBSD.org mirrors... none found.

2008-04-22 Thread andrew clarke
On Tue 2008-04-22 07:40:38 UTC+1000, andrew clarke ([EMAIL PROTECTED]) wrote:

 I have serveral FreeBSD machines on my home network and was wondering
 why Portsnap failed to find any mirrors on some but not others.  I had
 a look at the /usr/sbin/portsnap script to find out what it is doing.
 The command it calls to search for mirrors is:
 
 host -t srv _http._tcp.portsnap.freebsd.org
 
 resulting in:
 
 ;; connection timed out; no servers could be reached
 
 After a bit of investigating it turns out that on the machines where
 it failed, /etc/resolv.conf was configured to use my D-Link DSL-504T
 ADSL modem/router's internal nameserver for DNS lookups.  Changing
 resolv.conf to instead point directly at my ISP's nameservers solved
 the problem.

Just a short update to this.  The DSL-504T runs embedded Linux, using
dproxy as a caching name server.  So it would as though dproxy does
not support SRV record lookups.

Interestingly, dproxy isn't in the FreeBSD Ports tree.

http://www.dlink.com.au/Products.aspx?Sec=1Sub1=1Sub2=2PID=49
http://dproxy.sourceforge.net/
http://en.wikipedia.org/wiki/SRV_record
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


pw create home dir issue

2008-04-22 Thread Unga
Hi

I cannot get the pw to create a new user's home
directory. Here is what I used:

pw -V /etc useradd -n test \
-c Test User -b /home/ \
-G wheel,operator -m -M 0700 \
-k /etc/skel/ -s /usr/local/bin/bash

It creates the user without user's home directory.
Once home directory is created manually, the account
can be used. I don't have a /etc/pw.conf. I also used
-d /home/, but it still doesn't create the home
directory.

Have I made a mistake or is there a error in pw. I use
FreeBSD 7.0.

Kind regards
Unga



  

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


Re: pw create home dir issue

2008-04-22 Thread Peter Boosten



Unga wrote:

Hi

I cannot get the pw to create a new user's home
directory. Here is what I used:

pw -V /etc useradd -n test \
-c Test User -b /home/ \
-G wheel,operator -m -M 0700 \
-k /etc/skel/ -s /usr/local/bin/bash

It creates the user without user's home directory.
Once home directory is created manually, the account
can be used. I don't have a /etc/pw.conf. I also used
-d /home/, but it still doesn't create the home
directory.



I use it without the slash:

adduser -d /home -q -s /usr/local/bin/rzsh

Works like charm

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: CONTACT FEDEX DELIVERY COMPANY LTD.

2008-04-22 Thread Wojciech Puchar


we've been using greylisting to block much of this, but some still gets
through. :(

so i suppose that even though the spammers have gotten smarter, those
writing for them haven't.

this writing are smart. it is not targeted to You or me, as we don't 
read at all, ignore it and/or classify as nonsense.


but - if it's still sent - there are lots of dumb people for whom it is 
targeted.


people gets more dumb so spam gets more dumb. simple
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Updating - Free 7

2008-04-22 Thread Wojciech Puchar

. .. ...
. .. ...
mountroot ?


so type

ufs:yourpartition





How can I fix it using a secure way ?

Aguiar


 Abra sua conta no Yahoo! Mail, o único sem limite de espaço para 
armazenamento!
http://br.mail.yahoo.com/
___
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: RAM Swap Speed

2008-04-22 Thread Wojciech Puchar

But to my surprise the workstation ran faster--but before adding RAM it did NOT 
make use of the swap-partition and after the big RAM chip of course not too 
(checked it with #top).


but more files are cached.

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


Re: Sidetracked: why gjournal over soft-updates (Was: Re: UFS2

2008-04-22 Thread Wojciech Puchar

than SU


The caching can be stopped by putting hw.ata.wc=0 into
/boot/loader.conf.  Doesn't that settle this point about safety?



but that's not needed. UPS is enough. even if your machine will 
halt/crash/panic, drive cache will be written then.



Since we use softupdates and others use gjournal, one suspects that
there are reasons why real journaling systems have not been adopted.


softupdates works very well, and doesn't write the same thing twice, like 
journaling.



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


Re: Max Ram

2008-04-22 Thread Wojciech Puchar

I would like to know if can i use 8 GB of Ram in Freebsd 6.1


using FreeBSD/amd64 - yes.

use 6.3 not 6.1


and if have raid drivers for the new dell 2950

no idea what raid hardware is there.

if you don't need RAID5 using non-raid hardware with gmirror/gstripe is 
much better.

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


Re: BSD Computers

2008-04-22 Thread Wojciech Puchar
FreeBSD, like all open source systems (that I know of), publishes a hardware 
compatibility list [1] that you can consult to see if the hardware you intend 
to purchase is supported.  In general, most major manufacturers' systems will 
work fine, although the newest systems can sometimes be problematic.


most desktop/servers. not laptops. all lenovo/ibm works fine but this is 
exception. most laptops can run only windoze.


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


Re: BSD Computers

2008-04-22 Thread Wojciech Puchar

I can’t find any out of the box computers that have FreeBSD loaded. Do you
know which computer manufactures, both laptop and desktop, which can run
FreeBSD? Do you recommend any particular models or know of which ones are



my second hand IBM T23 is perfect example. everything works, even lucent 
winmodem.



more highly regarded? What about support? I am a newbie and would need some
handholding. I will be using the computer to run a small business and online
research. I would need the regular suite of productivity tools, hopefully an
open source. I would like to punt MS. Thanks.



Jerry Rukavina, MBA



T: +1 (403) 229 - 2412

F: +1 (403) 229 - 1581

HYPERLINK http://www.attalin.comwww.attalin.com



He prevails who endures to the end”   Entrepreneur's aphorism



**

The information contained in this e-mail may contain confidential
information intended for a specific individual and purpose. The information
is private and is legally protected by law. If you are not the intended
recipient, you are hereby notified that any disclosure, copying,
distribution or the taking of any action in reliance on the comments of this
information is strictly prohibited. If you have received this communication
in error, please notify the sender immediately by telephone or return
e-mail. Thank you.

**
L'information contenue dans ce courriel peut ?tre de nature confidentielle
et elle est destinée ? une personne précise dans un but précis.
L'information est privée et protégée par la loi. Si vous n'?tes pas le
destinataire du message, vous ?tes, par la présente, avisé que toute
divulgation, reproduction, distribution ou action prise en s'appuyant sur
cette information sont strictement interdites. Si vous avez reçu ce message
par erreur, veuillez en informer l'expéditeur sur-le-champ, par téléphone ou
par courriel. Merci.








No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.524 / Virus Database: 269.23.2/1387 - Release Date: 4/19/2008
11:31 AM

___
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: FreeBSD 7.0 jail and Samba 3

2008-04-22 Thread Nejc Škoberne

Hey Johan,


I think you will need to remove 127.0.0.1
Just use 192.168.1.2/24
There is no 127.0.0.1 on a jailed system


I have done so - I still can't do smbclient //machine from another box to
the jailed Samba. If I put the Samba out of the jail (same version, same config)
it works as it should. I have this in my rc.conf:

jail_enable=YES
jail_sysvipc_allow=YES
jail_socket_unixiproute_only=NO

#= Jails ---=#
jail_list=samba
#=--=#
jail_samba_rootdir=/usr/jail/samba
jail_samba_hostname=samba.domain.local
jail_samba_ip=192.168.15.201
jail_samba_interface=rl0
jail_samba_devfs_enable=YES
jail_samba_procfs_enable=YES
jail_samba_devfs_ruleset=devfsrules_jail
#=--=#

and this in my sysctl.conf:

security.jail.allow_raw_sockets=1
security.jail.sysvipc_allowed=1

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


Re: open pgp

2008-04-22 Thread Chris Bannister
On Mon, Apr 21, 2008 at 03:19:39AM -0400, kalin m wrote:
 Chris Bannister wrote:

 Who's passphrase?
   
 client provided - for the user in the key...
[..]

 Did the client encrypt using your public key?
   
 no their own key. which i got from them and added to my keychain..


 now...  i did get gnupg. the error i'm getting is pretty much the same.  
 the client insists the passphrase is correct. here is the output:

Try it locally. Encrypt a file with their pub key + see if it decrypts with
their secret key.

-- 
Chris.
==
One, with God, is always a majority, but many a martyr has been burned
   at the stake while the votes were being counted.  -- Thomas B. Reed
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Off topic - plea for help

2008-04-22 Thread llund
I am in a bit of a pinch.  Maybe you could help me.

I live in a small town because  that is where my ex-wife lives and our 14 year 
old son who needs to have his dad in his life.
When I lived in a bigger city I made good money as a computer programmer.  But 
my son needs me.  So I've made the sacrifice of living here where there is no 
computer work to speak of.
My ex-wife has a good paying government job.  When I worked in my field I made 
more than she did.  In this rural setting I can't find computer work.  So I get 
by on what I can find.  For the last few years I''ve made only about 1/3 of 
what she does.  Now she is moving 2000 miles away to get an even better paying 
job.  I feel that I should move too.  I feel that my son still needs me in his 
life.  But there is no way I can afford that move.  If I could get there I 
could probably get good work.  The town she is moving to is only 90 miles from 
Pittsburgh, PA and it looks like there are plenty of computer programming jobs 
available there.

If you think you could help please send $1 to

L. Lund
POB 1686
Parowan, UT, 84781

and forward this to several (or many) people.


P.S. For the last several years I've been using my spare time (after 12-16 hr. 
work days) to build a web site where parents of school children can pay for 
school lunch on-line.  The basic functionality is there so I can give you a 
link where you could donate on-line and save the postage.  See 
http://www.1wbs1589.info/help.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Crontab @reboot directive

2008-04-22 Thread Zbigniew Szalbot

Hello,

If I want to start a program at every system reboot and the program should
not be started by root, is it enough for me to edit a users crontab with
the following directive?

@reboot /path/to/file.sh

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


Re: FreeBSD 7.0 jail and Samba 3

2008-04-22 Thread Gelsema, P (Patrick)
On Tue, April 22, 2008 17:33, Nejc ©koberne wrote:
 Hey Johan,

 I think you will need to remove 127.0.0.1
 Just use 192.168.1.2/24
 There is no 127.0.0.1 on a jailed system

 I have done so - I still can't do smbclient //machine from another box
 to
 the jailed Samba. If I put the Samba out of the jail (same version, same
 config)
 it works as it should. I have this in my rc.conf:

OK.. if it is running inside your jail it doesnt respond to WINS
broadcasts (request for NETBIOS Names.. oi, who is Machine on this
subnet???), if it is not running in your jail, it is.

So, what are your settings for master (local, domain and wins)?

can you do a ping to machine? Can it be resolved?
Can you connect smbclient //ipadres?
Do you see the smb client listening on the machines virtual ip?

in case the above work for you it is all about name resolution.
# man smbclient
Read the first paragraph of servicename on servername resolution.

Patrick





 jail_enable=YES
 jail_sysvipc_allow=YES
 jail_socket_unixiproute_only=NO

 #= Jails ---=#
 jail_list=samba
 #=--=#
 jail_samba_rootdir=/usr/jail/samba
 jail_samba_hostname=samba.domain.local
 jail_samba_ip=192.168.15.201
 jail_samba_interface=rl0
 jail_samba_devfs_enable=YES
 jail_samba_procfs_enable=YES
 jail_samba_devfs_ruleset=devfsrules_jail
 #=--=#

 and this in my sysctl.conf:

 security.jail.allow_raw_sockets=1
 security.jail.sysvipc_allowed=1

 Thanks,
 Nejc
 ___
 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: FreeBSD 7.0 jail and Samba 3

2008-04-22 Thread Nejc Škoberne

Hey Johan,


Well i use ezjail for my jails, i leave everything else standard, but have the 
same sysctl value's
This is my smb.conf (it is a fileserver as member of a domain for my domain).

[global]

...

wins server = hz2-serv.mydomain.local


This is why it works for you. You use external WINS server - and for the Windows
client to be able to go to \\fileserv-hz2 there must be WINS server set up on 
it. Which
is not really what I want - I want to be able to use NetBIOS to resolve NetBIOS 
name
of the server, not WINS. I also tried with the external WINS server and it 
works for
me too.

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


Re: wine: notepad OK, others not

2008-04-22 Thread Tijl Coosemans
On Tuesday 22 April 2008 06:00:40 [EMAIL PROTECTED] wrote:
 ... If you want to run applications under Wine either install
 them under Wine or (with simple applications) copy them over
 from a Windows install into ~/.wine/drive_c.

 And specifically I'd populate  ~/.wine/drive_c/windows/fonts
 from a real windows installation.
 
 Which raises the question:  how does one figure out what-all
 pieces of a real windows installation should and should not be
 copied (or symlinked) into ~/.wine/drive_c?  So far it looks
 as if some (but surely not all) .exe's and .dll's, and (all?)
 fonts, should be imported.

And then you're forgetting all the bits in the register.
It's really easier to try to install an app under Wine and then
when you run it, see if there are any missing dlls or missing
functionality in Wine built-in dlls (err and fixme messages).
Then you can copy those from Windows. You also might want to
have a look at http://wiki.winehq.org/winetricks for a script
that can install and setup various packages, also fonts.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pw create home dir issue

2008-04-22 Thread Unga

--- Peter Boosten [EMAIL PROTECTED] wrote:

 
 
 Unga wrote:
  Hi
  
  I cannot get the pw to create a new user's home
  directory. Here is what I used:
  
  pw -V /etc useradd -n test \
  -c Test User -b /home/ \
  -G wheel,operator -m -M 0700 \
  -k /etc/skel/ -s /usr/local/bin/bash
  
  It creates the user without user's home directory.
  Once home directory is created manually, the
 account
  can be used. I don't have a /etc/pw.conf. I also
 used
  -d /home/, but it still doesn't create the home
  directory.
  
 
 I use it without the slash:
 
 adduser -d /home -q -s /usr/local/bin/rzsh
 
 Works like charm
 

There is no keyword adduser to the pw(8) :)

Regards
Unga


  

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


Re: pw create home dir issue

2008-04-22 Thread Peter Boosten


Unga wrote:

--- Peter Boosten [EMAIL PROTECTED] wrote:



Unga wrote:

Hi

I cannot get the pw to create a new user's home
directory. Here is what I used:

pw -V /etc useradd -n test \
-c Test User -b /home/ \
-G wheel,operator -m -M 0700 \
-k /etc/skel/ -s /usr/local/bin/bash

It creates the user without user's home directory.
Once home directory is created manually, the

account

can be used. I don't have a /etc/pw.conf. I also

used

-d /home/, but it still doesn't create the home
directory.


I use it without the slash:

adduser -d /home -q -s /usr/local/bin/rzsh

Works like charm



There is no keyword adduser to the pw(8) :)



Ah, yeah you're right: therefore I used the adduser command :-)

Apologies for the confusion.

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: pw create home dir issue

2008-04-22 Thread Jonathan McKeown
On Tuesday 22 April 2008 12:54, Unga wrote:
 --- Peter Boosten [EMAIL PROTECTED] wrote:
 
  I use [pw] without the slash:
 
  adduser -d /home -q -s /usr/local/bin/rzsh
 
  Works like charm

 There is no keyword adduser to the pw(8) :)

From the manpage:

 The first one or two keywords provided to pw on the command line provide
 the context for the remainder of the arguments.  The keywords user and
 group may be combined with add, del, mod, show, or next in any order.
 (For example, showuser, usershow, show user, and user show all mean the
 same thing.)  This flexibility is useful for interactive scripts calling
 pw for user and group database manipulation. 

Please verify that what you're saying is right before posting: people rely on 
this list.

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


Re: Crontab @reboot directive

2008-04-22 Thread andrew clarke
On Tue 2008-04-22 12:34:12 UTC+0200, Zbigniew Szalbot ([EMAIL PROTECTED]) wrote:

 If I want to start a program at every system reboot and the program should
 not be started by root, is it enough for me to edit a users crontab with
 the following directive?
 
 @reboot /path/to/file.sh

Yes.  This is how I start fetchmail after a reboot:

@reboot /usr/local/bin/fetchmail -d 120
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Off topic - plea for help

2008-04-22 Thread Bill Moran
In response to [EMAIL PROTECTED]:

 I am in a bit of a pinch.  Maybe you could help me.
 
 I live in a small town because  that is where my ex-wife lives and our 14 
 year old son who needs to have his dad in his life.
 When I lived in a bigger city I made good money as a computer programmer.  
 But my son needs me.  So I've made the sacrifice of living here where there 
 is no computer work to speak of.
 My ex-wife has a good paying government job.  When I worked in my field I 
 made more than she did.  In this rural setting I can't find computer work.  
 So I get by on what I can find.  For the last few years I''ve made only about 
 1/3 of what she does.  Now she is moving 2000 miles away to get an even 
 better paying job.  I feel that I should move too.  I feel that my son still 
 needs me in his life.  But there is no way I can afford that move.  If I 
 could get there I could probably get good work.  The town she is moving to is 
 only 90 miles from Pittsburgh, PA and it looks like there are plenty of 
 computer programming jobs available there.

Why don't you post a resume to [EMAIL PROTECTED]

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


Re: cannot move geli disk from 6.3-R to 6.1-R

2008-04-22 Thread Dmitry Sukhodoyev

RW wrote:
i try to attach geli provider, which i have used in 6.3-RELEASE to 
6.1-RELEASE:


# geli attach -k /root/da1.key /dev/da1
MD5 hash mismatch for /dev/da1

in 6.3-R it still attaches successfully, but in 6.1-R is not. system 
with 6.1-R is not my own, so i can't update it. how i can attach geli 
provider from my 6.3-R to this 6.1-R?



In the 7.0 source code there are two versions of the function that
computes that hash, so I guess that 6.3 is back-compatible with
6.1, but that a 6.3 geli-device can't be read  by 6.1.

If this is a removable drive that needs to inter-operate, I would
suggest that you dump the data, and create a new geli device under 6.1.
  
i can modify some source of kernel of 6.1 and rebuild it for correct 
hash calculating. which source files can i import from 6.3 to 6.1 for up 
this drive? this is a huge disk: raid5 array, 3Tb data. data dump isn't 
possible.


--
raVen

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


Re: pw create home dir issue

2008-04-22 Thread Unga
--- Jonathan McKeown [EMAIL PROTECTED] wrote:

 On Tuesday 22 April 2008 12:54, Unga wrote:
  --- Peter Boosten [EMAIL PROTECTED] wrote:
  
   I use [pw] without the slash:
  
   adduser -d /home -q -s /usr/local/bin/rzsh
  
   Works like charm
 
  There is no keyword adduser to the pw(8) :)
 
 From the manpage:
 
  The first one or two keywords provided to pw on
 the command line provide
  the context for the remainder of the arguments.
  The keywords user and
  group may be combined with add, del, mod, show,
 or next in any order.
  (For example, showuser, usershow, show user,
 and user show all mean the
  same thing.)  This flexibility is useful for
 interactive scripts calling
  pw for user and group database manipulation. 
 
 Please verify that what you're saying is right
 before posting: people rely on 
 this list.
 

Thanks for highlighting. Apologies for that.

So lets focus now to the main issue.

Unga 


  

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


Having trouble getting cups working

2008-04-22 Thread Andrew Falanga
HI,

I've never actually tried to install cups before and last night decided to 
give it a try because I was not having much success getting my printer 
working using the handbook directions.  (I got it all setup correctly, 
obviously something is incorrect but stay with me, and although I could get 
stuff to print when I did 'cat somefile  /dev/lp0' I couldn't get anything 
to print when I submitted to lpd.)

So, I installed cups from ports, and setup my HP LaserJet 4+.  All seemed to 
go well.  At first I had a problem with an error, something like unknown 
application/postscript.  Anyway, some digging on the internet revealed that 
I needed ESP Ghostscript installed.  So, I got that and that error went away.  
Now, however, I still cannot get it to print.

When I try to submit the printer test page from the web management interface, 
it says, network host 'sniper' busy: will retry in X seconds.  The URI I'm 
using for my printer is, lpd://sniper/lj4.  The printer is connected to my 
parallel port and I think this is what I want because the other options are 
whatever it is that cups calls JetDirect and then IPP and something else.

Anyway, if someone could please point me in the correct direction I'd 
appreciate it greatly.

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


Re: BSD Computers

2008-04-22 Thread Jerry McAllister
On Mon, Apr 21, 2008 at 09:58:29PM +0200, Wojciech Puchar wrote:

 FreeBSD, like all open source systems (that I know of), publishes a 
 hardware compatibility list [1] that you can consult to see if the 
 hardware you intend to purchase is supported.  In general, most major 
 manufacturers' systems will work fine, although the newest systems can 
 sometimes be problematic.
 
 most desktop/servers. not laptops. all lenovo/ibm works fine but this is 
 exception. most laptops can run only windoze.

I don't think this is true.

jerry


 ___
 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: pw create home dir issue

2008-04-22 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

Unga wrote:
 Hi
 
 I cannot get the pw to create a new user's home
 directory. Here is what I used:
 
 pw -V /etc useradd -n test \
   -c Test User -b /home/ \
   -G wheel,operator -m -M 0700 \
   -k /etc/skel/ -s /usr/local/bin/bash
 
 It creates the user without user's home directory.
 Once home directory is created manually, the account
 can be used. I don't have a /etc/pw.conf. I also used
 -d /home/, but it still doesn't create the home
 directory.
 
 Have I made a mistake or is there a error in pw. I use
 FreeBSD 7.0.

Hmmm I vaguely remember running into this around the turn of the 
millenium.  Excuse me while I dust off those neurons...

Yes -- if you use the '-V' switch to pw(8) it silently disables creating
the home directory for new accounts.  This comes up in the mailing lists
occasionally:

http://docs.freebsd.org/cgi/getmsg.cgi?fetch=2108497+0+archive/2001/freebsd-questions/20011028.freebsd-questions
http://lists.freebsd.org/pipermail/freebsd-questions/2003-August/016200.html

Since the default location for the password files is /etc, you don't
need the '-V /etc' switch at all -- omit that, and you should find that
user home directories get created for you.

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   Flat 3
  7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW, UK
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.8 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREDAAYFAkgN/kQACgkQ3jDkPpsZ+VaJ4wCfbm8Cgf2U8J4xj2XBtMT9/W+j
KgEAnRtIEOgv3yYsJ9C2QAUtWOTZbNgG
=tMAR
-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: Unable to open device file /dev/lpt0: Permission denied

2008-04-22 Thread David Reedy Jr
On Monday 21 April 2008 2:54:16 pm Roland Smith wrote:
 On Mon, Apr 21, 2008 at 01:05:56PM -0500, David Reedy Jr wrote:
  Small home network. Trying to get cups working on my server.
 
  FreeBSD 7.0-RELEASE #4: Tue Apr 15 11:01:37 CDT 2008
  [EMAIL PROTECTED]:/usr/obj/usr/src/sys/OMEGA
  ...
  ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0
  ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
  ppc0: FIFO with 16/16/9 bytes threshold
  ppbus0: Parallel port bus on ppc0
  ppbus0: [ITHREAD]
  ppbus0: IEEE1284 device found /NIBBLE
  Probing for PnP devices on ppbus0:
  ppbus0: Hewlett-Packard HP LaserJet 6L/0101.01 PRINTER HP
  ENHANCED PCL5,PJL

 snip

  StateMessage Unable to open device file /dev/lpt0: Permission
  denied

 snip

  Trying to print a test page from the cups web interface on a client
  machine, I get the error message. Doing chmod 777 /dev/lpt0 does
  not change anything.
 
  Can somebody tell me what I've done wrong or point me in the
  direction I should be looking?

 IICR, the print device should belong to the cups group. At least,
 that's my working setup.

 I have the following in /etc/devfs.conf:

 # Give cups printer access
 own lpt0root:cups
 permlpt00660

Thanks for the info. This didn't actually fix the problem, but I know it 
was needed since I read somewhere that everything that cupsd spawns 
runs as cups.

What I ended up doing was resetting my cupsd.conf to default and redid 
my settings. I must have had a typo in there somewhere before because 
as soon as I restarted cupsd after making the changes, the parallel and 
usb ports suddenly became available as devices for the printer. I had 
previously selected lpd and then manually specified the uri as 
parallel:/dev/lpt0.

The laser on the parallel port is now working fine. I also went ahead 
and setup my deskjet on usb:/dev/ulpt0. Print test pages get marked as 
completed but nothing actually comes out of the printer. Still trying 
to figure that one out.


 If you don't want to reboot;
 # chown root:cups /dev/lpt0
 # chmod 0660 /dev/lpt0

 Roland


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


Having trouble getting cups working

2008-04-22 Thread Robert Huff

Andrew Falanga writes:


  When I try to submit the printer test page from the web
  management interface, it says, network host 'sniper' busy: will
  retry in X seconds.  The URI I'm using for my printer is,
  lpd://sniper/lj4.  The printer is connected to my parallel port
  and I think this is what I want because the other options are
  whatever it is that cups calls JetDirect and then IPP and
  something else.

huff@ cat /usr/local/etc/cups/printers.conf
# Printer configuration file for CUPS v1.3.6
# Written by cupsd on 2008-04-17 12:22
Printer 6mp
Info LaserJet 6MP
Location 2nd floor
DeviceURI parallel:/dev/lpt0
State Idle
StateTime 1176603287
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
/Printer

works for me uder cups-1.3.7.
You will need to have the correct permissions for /dev/lpt0.


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: Having trouble getting cups working

2008-04-22 Thread Reid Linnemann
Written by Andrew Falanga on 04/22/08 09:40
 HI,
 
 I've never actually tried to install cups before and last night decided to 
 give it a try because I was not having much success getting my printer 
 working using the handbook directions.  (I got it all setup correctly, 
 obviously something is incorrect but stay with me, and although I could get 
 stuff to print when I did 'cat somefile  /dev/lp0' I couldn't get anything 
 to print when I submitted to lpd.)
 
 So, I installed cups from ports, and setup my HP LaserJet 4+.  All seemed to 
 go well.  At first I had a problem with an error, something like unknown 
 application/postscript.  Anyway, some digging on the internet revealed that 
 I needed ESP Ghostscript installed.  So, I got that and that error went away. 
  
 Now, however, I still cannot get it to print.
 
 When I try to submit the printer test page from the web management interface, 
 it says, network host 'sniper' busy: will retry in X seconds.  The URI I'm 
 using for my printer is, lpd://sniper/lj4.  The printer is connected to my 
 parallel port and I think this is what I want because the other options are 
 whatever it is that cups calls JetDirect and then IPP and something else.
 
 Anyway, if someone could please point me in the correct direction I'd 
 appreciate it greatly.
 
 Thanks,
 Andy
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

Your device URI should not be an lpd URI, especially since you can't
print with lpd. Use a 'parallel' URI in your case; parallel:/dev/lpt0
works for me. When you want to refer to the printer from an external
system, use ipp://hostname/printers/printername
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Japanese dictionary-software for FreeBSD?

2008-04-22 Thread Kemian Dang
Try stardict http://stardict.sourceforge.net/, it is a dictionary
engine and you can find Japanese dictionary at
http://stardict.sourceforge.net/Dictionaries_ja.php

Best wishes,
Kemian

On 21/04/2008, Niels Kobschaetzki [EMAIL PROTECTED] wrote:
 Hi!

  Anyone on the list that can tell me which software is usable under
  FreeBSD as an edict-client? I just do not get gjiten compiled and I
  don't know other useful ones…


  Niels

 ___
  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: Having trouble getting cups working

2008-04-22 Thread David Reedy Jr
On Tuesday 22 April 2008 9:40:16 am Andrew Falanga wrote:
 HI,

 I've never actually tried to install cups before and last night
 decided to give it a try because I was not having much success
 getting my printer working using the handbook directions.  (I got it
 all setup correctly, obviously something is incorrect but stay with
 me, and although I could get stuff to print when I did 'cat
 somefile  /dev/lp0' I couldn't get anything to print when I
 submitted to lpd.)

 So, I installed cups from ports, and setup my HP LaserJet 4+.  All
 seemed to go well.  At first I had a problem with an error, something
 like unknown application/postscript.  Anyway, some digging on the
 internet revealed that I needed ESP Ghostscript installed.  So, I got
 that and that error went away. Now, however, I still cannot get it to
 print.

 When I try to submit the printer test page from the web management
 interface, it says, network host 'sniper' busy: will retry in X
 seconds.  The URI I'm using for my printer is, lpd://sniper/lj4. 
 The printer is connected to my parallel port and I think this is what
 I want because the other options are whatever it is that cups calls
 JetDirect and then IPP and something else.


I've just been dealing with the same thing the last day or two. First 
off, the uri you want is parallel:/dev/lpt0. The advise I was given 
yesterday was to add the following to /etc/devfs.conf (requires reboot)

own lpt0 root:cups
perm lpt0 0660

or to...

chown /dev/lpt0 root:cups
chmod 0660 lpt0

After making that change, the parallel port still wasn't listed as an 
available device (along with JetDirect, IPP, LPD, etc). I ended up 
resetting my /usr/local/etc/cups/cupsd.conf file to default and redid 
the settings. After restarting the cupsd I suddenly had the parallel 
and usb ports listed. I'm guessing I had a typo in my original setup.

HTH.

Dave

 Anyway, if someone could please point me in the correct direction I'd
 appreciate it greatly.

 Thanks,
 Andy
 ___
 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: BSD Computers

2008-04-22 Thread Roland Smith
On Mon, Apr 21, 2008 at 09:58:29PM +0200, Wojciech Puchar wrote:
 FreeBSD, like all open source systems (that I know of), publishes a 
 hardware compatibility list [1] that you can consult to see if the 
 hardware you intend to purchase is supported.  In general, most major 
 manufacturers' systems will work fine, although the newest systems can 
 sometimes be problematic.
 
 most desktop/servers. not laptops. all lenovo/ibm works fine but this is 
 exception. most laptops can run only windoze.

I've got a secondhand Dell Latitude C610 that runs FreeBSD perfectly.
Before that I had a Compaq Armada M700 that also worked perfectly.

If you can get a good look at the specs, especially at the chipset used,
you can normally get a pretty good idea if it will run FreeBSD.

Better yet, if you are thinking of buying a laptop, go to the store with
a FreeBSD boot CD and test. If they don't let you do that, take your
business somewhere else.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpnd8N1Zlp9A.pgp
Description: PGP signature


Re: Hangup on USB mass device

2008-04-22 Thread Roland Smith
On Tue, Apr 22, 2008 at 07:33:57AM +, Sébastien Morand wrote:
 Hi everybody,
 
 I have a problem with some usb mass devices. Camera or music player make my 
 system hang up whenever I plug then in one of my USB ports? What is the 
 problem?

That is impossible to tell with the limited amount of information you provide.

Which version of FreeBSD are you using? On what kind of hardware?
Is a crashdump available?

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpdCaFZdxMJ0.pgp
Description: PGP signature


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

2008-04-22 Thread Roland Smith
On Tue, Apr 22, 2008 at 10:08:37AM -0500, David Reedy Jr wrote:
  IICR, the print device should belong to the cups group. At least,
  that's my working setup.
 
  I have the following in /etc/devfs.conf:
 
  # Give cups printer access
  own lpt0root:cups
  permlpt00660
 
 Thanks for the info. This didn't actually fix the problem, but I know it 
 was needed since I read somewhere that everything that cupsd spawns 
 runs as cups.
 
 What I ended up doing was resetting my cupsd.conf to default and redid 
 my settings. I must have had a typo in there somewhere before because 
 as soon as I restarted cupsd after making the changes, the parallel and 
 usb ports suddenly became available as devices for the printer.

It happens. :-)

 I had previously selected lpd and then manually specified the uri as 
 parallel:/dev/lpt0.
 
 The laser on the parallel port is now working fine. 

Good.

 I also went ahead 
 and setup my deskjet on usb:/dev/ulpt0. Print test pages get marked as 
 completed but nothing actually comes out of the printer. Still trying 
 to figure that one out.

Have a look at the cups logfiles in /var/log/cups. They should give you
some pointers. You'll probably need to set the device permissions for
ulpt in devfs.rules, not devfs.conf!

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpFkTh9a6YhA.pgp
Description: PGP signature


Re: Hangup on USB mass device

2008-04-22 Thread Sébastien Morand
Hi,

thanks for the answer, I'm sorry for the little information I send.

FreeBSD 7.0-STABLE kernel GENERIC on i386.
I don't see anything in the message, but I'm not sure where to look at
for crashdump.

My computer is either hanging up for ever, I can't move mouse or use
keyboard anymore, juste reset, or hang up a few seconds and reboot by
it self.

Sébastien

On Tue, Apr 22, 2008 at 3:34 PM, Roland Smith [EMAIL PROTECTED] wrote:
 On Tue, Apr 22, 2008 at 07:33:57AM +, Sébastien Morand wrote:
   Hi everybody,
  
   I have a problem with some usb mass devices. Camera or music player make my
   system hang up whenever I plug then in one of my USB ports? What is the
   problem?

  That is impossible to tell with the limited amount of information you 
 provide.

  Which version of FreeBSD are you using? On what kind of hardware?
  Is a crashdump available?

  Roland
  --
  R.F.Smith   http://www.xs4all.nl/~rsmith/
  [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
  pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

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


glxinfo missing after upgrade to 7.0-RELEASE

2008-04-22 Thread Novembre
Hi all,

I've upgraded my machine from 6.2-RELEASE to 7.0-RELEASE some time ago, and
I just realized that glxinfo is missing! I do remember that I had it before,
but now it has vanished! I did rebuild all my ports after upgrading as
well...
Any ideas what might have happened to it or how I can install it again?

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


Re: glxinfo missing after upgrade to 7.0-RELEASE

2008-04-22 Thread Reid Linnemann
Written by Novembre on 04/22/08 10:59
 Hi all,
 
 I've upgraded my machine from 6.2-RELEASE to 7.0-RELEASE some time ago, and
 I just realized that glxinfo is missing! I do remember that I had it before,
 but now it has vanished! I did rebuild all my ports after upgrading as
 well...
 Any ideas what might have happened to it or how I can install it again?
 
 Thanks...
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

pkg_info -W /usr/local/bin/glxinfo
/usr/local/bin/glxinfo was installed by package mesa-demos-7.0.2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


SOLVED - Re: Need help with error building lang/guile

2008-04-22 Thread Norberto Meijome
On Tue, 22 Apr 2008 00:22:41 +1000
Norberto Meijome [EMAIL PROTECTED] wrote:

 Hi everyone,
 For a while now i've been unable to upgrade to the latest lang/guile port. I 
 am
 running 7.0-STABLE (world and kernel up to date about twice weekly) on x86. my
 current guile is 
 
 guile-1.6.8_3   GNU Ubiquitous Intelligent Language for Extension
 
[...]
 ---
 make distclean; make 
 [...]
 
[...]
 scmconfig.h.tmp ./gen-scmconfig  scmconfig.h.tmp Segmentation fault (core
 dumped) gmake[2]: *** [scmconfig.h] Error 139 gmake[2]: Leaving directory
 `/usr/ports/lang/guile/work/guile-1.8.4/libguile' gmake[1]: *** 
 [all-recursive]
 Error 1 gmake[1]: Leaving directory `/usr/ports/lang/guile/work/guile-1.8.4'
 gmake: *** [all] Error 2
 *** Error code 2
 
 Stop in /usr/ports/lang/guile.
 
[...]

Short answer : uninstall (corrupted?) linuxthreads package.

full story, for the archive...

ok, so I figured i needed to dig deeper...
- i enable debugging ( CFLAGS+= -ggdb in /etc/make.conf)
- I built libc (only that) with debug symbols (  sudo make  -DDEBUG_FLAGS=-g  
in /usr/src/lib/libc , and DEBUG_FLAGS=-g in /etc/make.conf so the libs are not 
stripped on make install)

when I run gdb, i got this...

[EMAIL PROTECTED] [Wed Apr 23 01:38:52 2008]
/usr/ports/lang/guile/work/guile-1.8.4/libguileESC[0m^B
ESCkESC\# ESC[Kgdb gen-scESCgmconfig gen-ESCgscmconfig.cESCgore 
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i386-marcel-freebsd...
Core was generated by `gen-scmconfig'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/liblthread.so.6...done.
Loaded symbols for /usr/local/lib/liblthread.so.6
Reading symbols from /usr/local/lib/libgmp.so.7...done.
Loaded symbols for /usr/local/lib/libgmp.so.7
Reading symbols from /lib/libcrypt.so.4...done.
Loaded symbols for /lib/libcrypt.so.4
Reading symbols from /lib/libm.so.5...done.
Loaded symbols for /lib/libm.so.5
Reading symbols from /usr/local/lib/libltdl.so.4...done.
Loaded symbols for /usr/local/lib/libltdl.so.4
Reading symbols from /lib/libc.so.7...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x2804b4a7 in ___tls_get_addr () from /libexec/ld-elf.so.1
(gdb) bt
#0  0x2804b4a7 in ___tls_get_addr () from /libexec/ld-elf.so.1
#1  0x2816fa9b in malloc () from /lib/libc.so.7
#2  0x2808be69 in _pthread_mutex_destroy () from /usr/local/lib/liblthread.so.6
#3  0x2808bf27 in _pthread_mutex_trylock () from /usr/local/lib/liblthread.so.6
#4  0x0002 in ?? ()
#5  0x in ?? ()
#6  0x in ?? ()
#7  0x281f6858 in ?? () from /lib/libc.so.7
#8  0x0003 in ?? ()
#9  0xbbc00118 in ?? ()
#10 0x2816faeb in malloc () from /lib/libc.so.7
Previous frame inner to this frame (corrupt stack?)

Which doesnt mean much at all to me 

but the mention of /usr/local/lib/liblthread.so.6 caught my eye as I hadn't 
seen it before... it turned out it belonged to package linuxthreads. I checked 
the package, nothing depended on it... and I didn't have my local package 
(which possibly points to a v old package in my box)... so i uninstalled 
it...and presto, fixed - rebuilt port with no other problems

Best,
B
_
{Beto|Norberto|Numard} Meijome

If it's there, and you can see it, it's real.
If it's not there, and you can see it, it's virtual.
If it's there, and you can't see it, it's transparent.
If it's not there, and you can't see it, you erased it.

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Hangup on USB mass device

2008-04-22 Thread Paul Schmehl
--On Tuesday, April 22, 2008 15:42:47 + Sébastien Morand 
[EMAIL PROTECTED] wrote:



Hi,

thanks for the answer, I'm sorry for the little information I send.

FreeBSD 7.0-STABLE kernel GENERIC on i386.
I don't see anything in the message, but I'm not sure where to look at
for crashdump.

My computer is either hanging up for ever, I can't move mouse or use
keyboard anymore, juste reset, or hang up a few seconds and reboot by
it self.



Please don't top post.

I too am having a problem with umass on 7.0-STABLE.  Not quite the same as 
yours, but similar.  During reboots, the umass device cases the kernel to core 
dump and the system reboots.  If I unplug the drive and wait for the system to 
come up to a login prompt, I can login, plug in the drive, watch it's detection 
and then mount it with no problem.


Dont' know what the problem is, but other problems with umass have been 
reported on the STABLE list as well.  I've recompiled my kernel six times now. 
The umass device has gone from unmountable to stable in the OS but still fails 
during boot.


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


FYI [solved] Missing pkg-descr for

2008-04-22 Thread Hans Lambermont
FYI

I got this :

# cd /usr/ports/sysutils/screen
# make install clean
...
===   Generating temporary packing list
** Missing pkg-descr for screen-4.0.3_1.
*** Error code 1

and another somewhere else :
...
===   Generating temporary packing list
** Missing pkg-descr for ...
*** Error code 1

Which is fixed by (csh used) :

unsetenv PKGDIR PKG_PATH PACKAGESITE

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


Re: Hangup on USB mass device

2008-04-22 Thread Roland Smith
On Tue, Apr 22, 2008 at 03:42:47PM +, Sébastien Morand wrote:
 Hi,
 
 thanks for the answer, I'm sorry for the little information I send.

In the future, please don't reply on top, but on the bottom of the original.
 
 FreeBSD 7.0-STABLE kernel GENERIC on i386.
 I don't see anything in the message, but I'm not sure where to look at
 for crashdump.

The default location is /var/crash. Look for files named vmcore.N, where
N is a number.

What kind of USB chip do you have on the motherboard? Try 'dmesg | grep
^usb' and post the output.
 
 My computer is either hanging up for ever, I can't move mouse or use
 keyboard anymore, juste reset, or hang up a few seconds and reboot by
 it self.

It could be a hardware problem, or a bug.

Does anything appear in the dmesg output when you try to plug in a USB
device? look in /var/log/messages, at the correct time.
E.g, the following appears when I plug in a USB flash drive;

Apr 22 18:24:45 slackbox kernel: umass0: vendor 0x3538 USB Mass Storage 
Device, class 0/0, rev 2.00/1.00, addr 2 on uhub4
Apr 22 18:24:45 slackbox kernel: da0 at umass-sim0 bus 0 target 0 lun 0
Apr 22 18:24:45 slackbox kernel: da0: Generic USB Flash Disk 0.00 Removable 
Direct Access SCSI-2 device 
Apr 22 18:24:45 slackbox kernel: da0: 40.000MB/s transfers
Apr 22 18:24:45 slackbox kernel: da0: 250MB (512000 512 byte sectors: 64H 32S/T 
250C)

Seeing which of these lines appear or not makes it easier to track down
the bug.

Try to read the crashdump with the kernel debugger, as described in
§10.2 of the FreeBSD Developers' Handbook. Obtain a so-called
backtrace. (using the 'bt' command in the debugger).

Post your question and the information that you've gathered to the
-stable mailing list. There are more people there who are familiar with
the kernel internals.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpGYFriyg3Xp.pgp
Description: PGP signature


Re: BSD Computers

2008-04-22 Thread andrew clarke
On Tue 2008-04-22 17:32:17 UTC+0200, Roland Smith ([EMAIL PROTECTED]) wrote:

 On Mon, Apr 21, 2008 at 09:58:29PM +0200, Wojciech Puchar wrote:

  FreeBSD, like all open source systems (that I know of), publishes a 
  hardware compatibility list [1] that you can consult to see if the 
  hardware you intend to purchase is supported.  In general, most major 
  manufacturers' systems will work fine, although the newest systems can 
  sometimes be problematic.

  most desktop/servers. not laptops. all lenovo/ibm works fine but this is 
  exception. most laptops can run only windoze.
 
 I've got a secondhand Dell Latitude C610 that runs FreeBSD perfectly.
 Before that I had a Compaq Armada M700 that also worked perfectly.

I have an old secondhand Asus L8400 that runs GNOME under FreeBSD 7.0
surprisingly well, given its age.  Not sure about the power management
features or the infrared port, though.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Why does portupgrade sometime fail?

2008-04-22 Thread Rudy


I ran a
 portupgrade -r glib

and I get this problem with some packages:

===  Installing for liboil-0.3.14
===   liboil-0.3.14 depends on executable: pkg-config - found
===   Generating temporary packing list
===  Checking if devel/liboil already installed
===   An older version of devel/liboil is already installed (liboil-0.3.12)
  You may wish to ``make deinstall'' and install this port again
  by ``make reinstall'' to upgrade it properly.
  If you really wish to overwrite the old port of devel/liboil
  without deleting it first, set the variable FORCE_PKG_REGISTER
  in your environment or the make install command line.

Why doesn't portupgrade just uninstall and upgrade 'liboil'?

I manually went into devel/liboil and ran:
  make deinstall install

Is there a portupgrade flag I am missing?  And I don't want my pkg_info to end 
up with both versions:
 liboil-0.3.12
 liboil-0.3.14

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


Re: vpn + samba

2008-04-22 Thread alexus
have you used openvpn? whats so good about it?

On Mon, Apr 21, 2008 at 8:31 PM, Elliot Finley [EMAIL PROTECTED] wrote:
 I would suggest openVPN.  works great and extremely easy to set up.


 On Mon, 21 Apr 2008 14:01:50 -0400, you wrote:

 no problem (yet) just trying to get a word from someone who has an
 experience in both to share their knowledge which one is better and
 why.
 
 so far i see that mpd has more recent release vs poptop
 
 On Sun, Apr 20, 2008 at 11:16 AM, Wojciech Puchar
 [EMAIL PROTECTED] wrote:
 
   hi
  
   i need to get vpn + samba working by vpn i mean a remote user being on
   the road can connect to box and use samba file sharing, most of our
   users use vista, some xp
  
  
   so do it. what a problem?
 




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


Dell 29x0: DAT tape drive goes missing under 6.3...

2008-04-22 Thread Chuck Swiger

Hi, all--

I've got a number of Dell 2900/2950 machines at various clients, and  
some of them have Seagate DAT72 drives off the LSILogic PERC 4/Di amr  
controller identified as:


# camcontrol devlist -v
scbus0 on amr0 bus 0:
PE/PV 1x6 SCSI BP 1.0at scbus0 target 6 lun 0 (ses0,pass0)
scbus1 on amr0 bus 1:
SEAGATE DATDAT72-052 A060at scbus1 target 6 lun 0 (sa0,pass1)
scbus-1 on xpt0 bus 0:
 at scbus-1 target -1 lun -1 (xpt0)

On one system which I've just updated from 6.1 to 6.3, the tape drive  
has disappeared:


# camcontrol devlist -v
scbus-1 on xpt0 bus 0:
 at scbus-1 target -1 lun -1 (xpt0)

camcontrol rescan all doesn't seem to do anything.  This has been  
running a slightly modified SMP kernel, but I'm going to add options  
CAMDEBUG to try to get more info.


# dmesg | grep amr
amr0: LSILogic MegaRAID 1.53 mem 0xfa0f-0xfa0f, 
0xfe9c-0xfe9f irq 46 at device 14.0 on pci2

amr0: delete logical drives supported by controller
amr0: LSILogic PERC 4e/Di Firmware 521S, BIOS H430, 256MB RAM
amr0: delete logical drives supported by controller
amrd0: LSILogic MegaRAID logical drive on amr0
amrd0: 69880MB (143114240 sectors) RAID 1 (optimal)
Trying to mount root from ufs:/dev/amrd0s1a

It's seen under 6.1, and I'm going to have someone try to burn a 6.2  
CD and see whether the tape drive is seen under that version of the OS  
to try and identify when the regression might have happened.


Regards,
--
-Chuck

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


Re: Hangup on USB mass device

2008-04-22 Thread Al Plant

Paul Schmehl wrote:
--On Tuesday, April 22, 2008 15:42:47 + Sébastien Morand 
[EMAIL PROTECTED] wrote:



Hi,

thanks for the answer, I'm sorry for the little information I send.

FreeBSD 7.0-STABLE kernel GENERIC on i386.
I don't see anything in the message, but I'm not sure where to look at
for crashdump.

My computer is either hanging up for ever, I can't move mouse or use
keyboard anymore, juste reset, or hang up a few seconds and reboot by
it self.



Please don't top post.

I too am having a problem with umass on 7.0-STABLE.  Not quite the same 
as yours, but similar.  During reboots, the umass device cases the 
kernel to core dump and the system reboots.  If I unplug the drive and 
wait for the system to come up to a login prompt, I can login, plug in 
the drive, watch it's detection and then mount it with no problem.


Dont' know what the problem is, but other problems with umass have been 
reported on the STABLE list as well.  I've recompiled my kernel six 
times now. The umass device has gone from unmountable to stable in the 
OS but still fails during boot.



Aloha,
FWIW:

I have had several FreeBSD boxes from 4.11 to 7* that wont boot with the 
usb device in the slot, but work just fine if you boot first than insert 
the usb device. In my case the device is a flash/thumb drive for backing 
up files.


I never figured out why so I just leave them unpluged during a reboot.

Maybe it tries to boot from the usb drive which is not bootable so it 
just hangs in my case.


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


Re: vpn + samba

2008-04-22 Thread Elliot Finley
On Tue, 22 Apr 2008 13:27:58 -0400, you wrote:

have you used openvpn? 

Of course I've used it.  That's how I know it works great and is
extremely easy to set up.

whats so good about it?

It works great and is extremely easy to set up.

Anything else you'd like to know? :-)


On Mon, Apr 21, 2008 at 8:31 PM, Elliot Finley [EMAIL PROTECTED] wrote:
 I would suggest openVPN.  works great and extremely easy to set up.


 On Mon, 21 Apr 2008 14:01:50 -0400, you wrote:

 no problem (yet) just trying to get a word from someone who has an
 experience in both to share their knowledge which one is better and
 why.
 
 so far i see that mpd has more recent release vs poptop
 
 On Sun, Apr 20, 2008 at 11:16 AM, Wojciech Puchar
 [EMAIL PROTECTED] wrote:
 
   hi
  
   i need to get vpn + samba working by vpn i mean a remote user being on
   the road can connect to box and use samba file sharing, most of our
   users use vista, some xp
  
  
   so do it. what a problem?
 

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


Re: Why does portupgrade sometime fail?

2008-04-22 Thread Dominic Fandrey

Rudy wrote:


I ran a
 portupgrade -r glib

and I get this problem with some packages:

===  Installing for liboil-0.3.14
===   liboil-0.3.14 depends on executable: pkg-config - found
===   Generating temporary packing list
===  Checking if devel/liboil already installed
===   An older version of devel/liboil is already installed 
(liboil-0.3.12)

  You may wish to ``make deinstall'' and install this port again
  by ``make reinstall'' to upgrade it properly.
  If you really wish to overwrite the old port of devel/liboil
  without deleting it first, set the variable FORCE_PKG_REGISTER
  in your environment or the make install command line.

Why doesn't portupgrade just uninstall and upgrade 'liboil'?

I manually went into devel/liboil and ran:
  make deinstall install

Is there a portupgrade flag I am missing?  And I don't want my pkg_info 
to end up with both versions:

 liboil-0.3.12
 liboil-0.3.14

Thanks,
Rudy


Either the port that requires the one that won't install has defined a 
dependency in a wrong way (this normally happens when something changes in the 
port depended upon) or your package database is broken, e.g. due to a crash 
during port registration or shortly after.

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


Re: is this hardware supported?

2008-04-22 Thread Roberto Nunnari

Roland,

Thank you for your support. I'll post here the result of
installing FreeBSD on that HW.

Best regards.
Robi.


Roland Smith wrote:

On Sat, Apr 19, 2008 at 06:45:40PM +0200, Roberto Nunnari wrote:

Hi!

Ok. So what about this?
http://de.asus.com/products.aspx?modelmenu=2model=1178l1=3l2=11l3=307

Has anybody been using it?
With what success?
Can anybody use the embedded RAID controller to make a HW RAID 1
with two SATA disks?


According to ata(4), the ICH8 chipset is supported. According to
ataraid(4) the jmicron is supported.

But if it doesn't work, you can always use gmirror(8).


Is the NIC supported and working well?


Hard to say. The spec page you provided doesn't list the type of Realtek
chip used. Again, if it doesn't work get a cheap Realtek 8139 card.


Again, I couldn't find any of its chipsets in the 6.3 supported
HW list, so that's why I ask the list.


It is better to check the manual pages of drivers.
 

But in this case I'm a bit muc more confident that FreeBSD 6.3
can run on this HW


I recently booted FreeBSD on a system with a intel motherboard with a
ICH9 chipset. Everything seemed to work OK.

Roland


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


Re: freebsd-questions Digest, Vol 212, Issue 5

2008-04-22 Thread Eric Mesa
On Tue, Apr 22, 2008 at 8:00 AM, [EMAIL PROTECTED]
wrote:



 Message: 7
 Date: Mon, 21 Apr 2008 21:58:29 +0200 (CEST)
 From: Wojciech Puchar [EMAIL PROTECTED]
 Subject: Re: BSD Computers
 To: Paul Schmehl [EMAIL PROTECTED]
 Cc: freebsd-questions@freebsd.org, Jerry Rukavina
[EMAIL PROTECTED]
 Message-ID: [EMAIL PROTECTED]
 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

  FreeBSD, like all open source systems (that I know of), publishes a
 hardware
  compatibility list [1] that you can consult to see if the hardware you
 intend
  to purchase is supported.  In general, most major manufacturers' systems
 will
  work fine, although the newest systems can sometimes be problematic.

 most desktop/servers. not laptops. all lenovo/ibm works fine but this is
 exception. most laptops can run only windoze.



If you must use a laptop and desire the *nix experience, use Linux.  Ubuntu
tends to work really well with laptops.  At least it does on my Acer and my
brother's Dell.  For desktops you're probably fine with FreeBSD.  I've run
it on everything from ancient computers to newer (but not newest - because I
don't have one) equipment and it works just fine.  Of course, the ancient
ones need to run without a GUI, but you can do lots without a GUI.  For
example, I use them as part of a Blender render farm.

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


Re: Having trouble getting cups working

2008-04-22 Thread Andrew Falanga
On Tue, Apr 22, 2008 at 9:16 AM, Reid Linnemann [EMAIL PROTECTED] wrote:
 Written by Andrew Falanga on 04/22/08 09:40


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

  Your device URI should not be an lpd URI, especially since you can't
  print with lpd. Use a 'parallel' URI in your case; parallel:/dev/lpt0
  works for me. When you want to refer to the printer from an external
  system, use ipp://hostname/printers/printername


How interesting.  I suspected something like this but the web
interface didn't show a parallel URI.  Thank you all.  I'll give this
a try tonight when I get home.

Andy


-- 
 A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Crontab @reboot directive

2008-04-22 Thread Gerard
On Tue, 22 Apr 2008 21:18:26 +1000
andrew clarke [EMAIL PROTECTED] wrote:

 On Tue 2008-04-22 12:34:12 UTC+0200, Zbigniew Szalbot
 ([EMAIL PROTECTED]) wrote:
 
  If I want to start a program at every system reboot and the program
  should not be started by root, is it enough for me to edit a users
  crontab with the following directive?
  
  @reboot /path/to/file.sh
 
 Yes.  This is how I start fetchmail after a reboot:
 
 @reboot /usr/local/bin/fetchmail -d 120

Is there a specific reason that you choose to do that rather than
starting it by adding: fetchmail_enable=YES to the /etc/rc.conf file?


-- 
Gerard
[EMAIL PROTECTED]

The solution of problems is the most characteristic
and peculiar sort of voluntary thinking.

William James


signature.asc
Description: PGP signature


Re: USB wireless AP?

2008-04-22 Thread Boris Kochergin
Do you know about http://ralink.rapla.net/? The RT2500-based cards 
listed there are supported by the ural(4) driver. There's a discouraging 
comment about using them for access points in the man page, though:


CAVEATS
The ural driver does not support automatic adaptation of the transmit
speed in IBSS and HostAP operating modes.

-Boris

Ivan Voras wrote:

Hi,

I'm planning to set up an AP by adding an USB wifi card to a 
7.0-RELEASE machine, and I'm interested in a couple of things:


- First, hardware compatibility - AFAIK only some cards support AP 
mode? Can anyone recommend such USB wireless hardware, preferably in 
terms of product names instead of chip names? I see the following 
cards in a local store: BANDRIDGE CWN4002G, CANYON WF-518D, CANYON 
WF-518, LINKSYS WUSB54GC.


- Are there any tips  tricks additional to the instructions on 
http://www.freebsd.org/doc/en/books/handbook/network-wireless.html ?



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


Any Known Issues when using both RS-232 and Native Serial Ports?

2008-04-22 Thread Martin McCormick
We have a FreeBSD6.2 system capturing serial data on /dev/ttyd0.
/dev/ttyd1 is currently set up for serial console use and we may
want to add a third serial port to run yet another serial data
capture engine.

Since receiving serial data is far more problematic than
transmitting it, can anybody think of any particular problem one
might encounter if both the data acquisition ports happened to
be trying to receive data simultaneously?

The serial console port is not really an issue because
it will be rarely ever used.

Thank you.

Martin McCormick WB5AGZ  Stillwater, OK 
Systems Engineer
OSU Information Technology Department Network Operations Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Any Known Issues when using both RS-232 and Native Serial Ports?

2008-04-22 Thread Martin McCormick
I just realized that I failed to mention that the third
port would be a USB converter that converts RS-232 to USB. I
sent the message before proofing thoroughly.

I write:
We have a FreeBSD6.2 system capturing serial data on /dev/ttyd0.
/dev/ttyd1 is currently set up for serial console use and we may
want to add a third serial port to run yet another serial data
capture engine.

   Since receiving serial data is far more problematic than
transmitting it, can anybody think of any particular problem one
might encounter if both the data acquisition ports happened to
be trying to receive data simultaneously?

   The serial console port is not really an issue because
it will be rarely ever used.

   Thank you.

Martin McCormick WB5AGZ  Stillwater, OK 
Systems Engineer
OSU Information Technology Department Network Operations Group
___
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: Crontab @reboot directive

2008-04-22 Thread andrew clarke
On Tue 2008-04-22 16:34:56 UTC-0400, Gerard ([EMAIL PROTECTED]) wrote:

  @reboot /usr/local/bin/fetchmail -d 120
 
 Is there a specific reason that you choose to do that rather than
 starting it by adding: fetchmail_enable=YES to the /etc/rc.conf file?

Since I have root access on that machine, yes I could do that.  But
for my particular setup I couldn't see any advantage.  Plus, the less
I need to edit system-wide config files, the better, I think.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Worlds Leading Authority on Over 50s Housing Trends

2008-04-22 Thread Open Eye Corporation Limited
Come and spend 6 hours with the world's foremost authority on housing trends 
for the over 50s market.

This is a day spent with the most creative brain in this sector.

If you are a developer, architect, builder or operator this is an important 
addendum to your future planning.

This session will help you track your future in a rapidly changing environment.

While residential and commercial construction remains in the doldrums, the 
seniors housing market remains unaffected.

Over 50s are cashed up and asset rich. They are not waiting in their collective 
desires for new experiences, and housing options which mirror those ambitions.

Join me for a critically important day long briefing on exactly what the over 
50s want.

There are super profits to be made from 100 niche markets for the over 50.

This will be the fourth year of this highly acclaimed 100 Trends in Seniors 
Housing Seminars and is an absolute must attend if you are -

i. A land owner considering any development in Over 50s Housing
ii. An architect who needs an independent view of where Over 50s Housing is 
tracking
iii. A developer who cares about his/her project's longevity
iv. Or an existing Management Company Senior Executive looking at or evaluating 
new business / market opportunities

A 9:30am to 4:00pm seminar/workshop for a maximum of 15 attendees to gain a 
thorough private briefing on all trends in the Over 50s Housing (All economic 
strata)
 
This intimate setting allows both industry newcomers/greenhorns and 
well-established operators an opportunity to learn years of study in one day.
 
The trends will cover all Over 50s Housing in independent, semi-dependent and 
dependent sectors.
(i.e. Retirement Villages / Care Homes / Dementia / Sheltered Housing / 
Supported Housing / Assisted Living)

Previous Attendees Include
Anchor Trust, Sunderland Housing Group (Gentoo), Fold Housing Association, HICA 
group, MHA Care Group, Hunt Group, Riverside Housing Association, ITEC and N.I. 
Housing and dozens of leading luminaries.
 
Who is the Seminar Aimed at:
Builders, developers, financiers, architects, owners, seniors housing 
executives who are either, contemplating entering the over 50s housing sector 
and long standing industry players who need an outside view to freshen up 
thinking, perspective or re-evaluate industry positioning.
 
Content:
Detailed analysis of the 100 sub-trends in +50s independent housing, as well as 
the sub-trends in semi-dependant housing and the future of care homes, 
socio-economic trends, social impacts, financing techniques and an overview of 
best practice developers, funders, managers and operators as well as a review 
of design, architecture, construction and business models.
 
Presentation Coordinator:
The all day session will be presented by the research editor of 
www.seniorshousing.co.uk one of the foremost authorities worldwide on seniors 
housing trends).
 
Comments by Past Participants:
I exhort you to attend. The delegates who have attended the Day Long Sessions 
mid-year have enjoyed the most extraordinary experience.
 
The reactions have covered the full gamut
 
This has been a life changing experience - London
 
You have added a new dimension to my business - Washington D.C.
 
Can we stay in contact so that you may guide my learning and development - 
Washington D.C.
 
Why didn't you say in your promotion of the event that you were this good? 
This exceeds any conference I've ever been to - New York
 
The New Business Models were awe-inspiring - New York
 
I've been going to industry conferences for many years and have never heard 
anything as insightful as this ... - Los Angeles

That's an outstanding New Financial Model - Jersey (Channel Islands)
  
Tailored Business Help:
We will stay in contact beyond the Day Long Seminar. We will provide updates on 
the Trends and you will be given private access for help beyond the Day Seminar.
 
These sessions are so valuable because they are run in very small numbers and 
only twice a year.  
 
Venues:
London  Mon 21 July 20089:30am to 4:00pm
Manchester  Wed 23 July 20089:30am to 4:00pm
Edinburgh   Thu 24 July 20089:30am to 4:00pm
Dublin  Fri 25 July 20089:30am to 4:00pm
 
Price:
GBP 760 per person if booked and paid by 5pm 25 April 2008.
 
Conditions:
Limit of 15 per daily session.
Cancellation fee: 100% refund up to 30 days before event, 50% refund up until 7 
days, thereafter 100% cancellation rate applies.
 
Materials Provided:
Study Manual on Trends (100 pg)
Copy of power point presentation (trends in +50s Housing)
6 DVDs on Seniors Housing Award Winners
Baby Boomer Housing Study - May 2005 (96pages)
Housing Seniors (Joint Venture for Housing Studies of Harvard University)
Transgenerational Design Matters
Profile of Buyers Home Feature Preferences
Pulte/Del Webb Seniors Housing Survey Results
 
How to book:
To download the order form go to:
http://www.seniorshousing.co.uk/core/seminars/UK-July2008.pdf
 

Re: Crontab @reboot directive

2008-04-22 Thread Robert Huff

andrew clarke writes:

@reboot /usr/local/bin/fetchmail -d 120
   
   Is there a specific reason that you choose to do that rather than
   starting it by adding: fetchmail_enable=YES to the /etc/rc.conf file?
  
  Since I have root access on that machine, yes I could do that.  But
  for my particular setup I couldn't see any advantage.  Plus, the less
  I need to edit system-wide config files, the better, I think.

I'm confused: how is /etc/rc.conf any more a system-wide
config file than /etc/crontab?


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: Any Known Issues when using both RS-232 and Native Serial Ports?

2008-04-22 Thread David Kelly
On Tue, Apr 22, 2008 at 03:41:54PM -0500, Martin McCormick wrote:
 We have a FreeBSD6.2 system capturing serial data on /dev/ttyd0.
 /dev/ttyd1 is currently set up for serial console use and we may
 want to add a third serial port to run yet another serial data
 capture engine.
 
   Since receiving serial data is far more problematic than
 transmitting it, can anybody think of any particular problem one
 might encounter if both the data acquisition ports happened to
 be trying to receive data simultaneously?
 
   The serial console port is not really an issue because
 it will be rarely ever used.

Problems with two lousy little serial ports running at the same time
under FreeBSD?  Heck no! Just use something better than a 16 MHz 386SX
with 640K and you'll be fine. BTDT, and even that little system had no
problems with serial I/O.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


clean for kernel build

2008-04-22 Thread Andrew Falanga
How does one clean the build environment for the kernel?  I'm building
a custom kernel for IPSec and when it got to the linking phase of the
build, the build process bailed with many linking errors:

xform_ah.o(.text+0x15): In function `ah_algorithm_lookup':
: undefined reference to `auth_hash_hmac_sha2_512'
xform_ah.o(.text+0x25): In function `ah_algorithm_lookup':
: undefined reference to `auth_hash_key_md5'
xform_ah.o(.text+0x35): In function `ah_algorithm_lookup':
: undefined reference to `auth_hash_hmac_ripemd_160'
xform_ah.o(.text+0x3f): In function `ah_algorithm_lookup':
: undefined reference to `auth_hash_hmac_sha1'
xform_ah.o(.text+0x4f): In function `ah_algorithm_lookup':
: undefined reference to `auth_hash_hmac_md5'

Many more lines that look very similar to this.  I'm thinking that it
might be something left over from the last time I rebuilt the kernel
(which on this system is when it went from 6.2-RELEASE to
7.0-RELEASE).  So, what make target will clean what I need it to
clean, and are there any other directions similar to what can be found
in the handbook for when rebuilding world?  (This time I don't want to
rebuild world, I just need a new kernel.)

Andy

-- 
 A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: clean for kernel build

2008-04-22 Thread Fraser Tweedale
`make buildkernel` in /usr/src does a clean before building.  You most 
likely are missing something in your kernel config (i.e. a device that 
is depended on by another device).


frase

Andrew Falanga wrote:

How does one clean the build environment for the kernel?  I'm building
a custom kernel for IPSec and when it got to the linking phase of the
build, the build process bailed with many linking errors:

xform_ah.o(.text+0x15): In function `ah_algorithm_lookup':
: undefined reference to `auth_hash_hmac_sha2_512'
xform_ah.o(.text+0x25): In function `ah_algorithm_lookup':
: undefined reference to `auth_hash_key_md5'
xform_ah.o(.text+0x35): In function `ah_algorithm_lookup':
: undefined reference to `auth_hash_hmac_ripemd_160'
xform_ah.o(.text+0x3f): In function `ah_algorithm_lookup':
: undefined reference to `auth_hash_hmac_sha1'
xform_ah.o(.text+0x4f): In function `ah_algorithm_lookup':
: undefined reference to `auth_hash_hmac_md5'

Many more lines that look very similar to this.  I'm thinking that it
might be something left over from the last time I rebuilt the kernel
(which on this system is when it went from 6.2-RELEASE to
7.0-RELEASE).  So, what make target will clean what I need it to
clean, and are there any other directions similar to what can be found
in the handbook for when rebuilding world?  (This time I don't want to
rebuild world, I just need a new kernel.)

Andy






signature.asc
Description: OpenPGP digital signature


Re: Crontab @reboot directive

2008-04-22 Thread andrew clarke
On Tue 2008-04-22 17:03:41 UTC-0400, Robert Huff ([EMAIL PROTECTED]) wrote:

 @reboot /usr/local/bin/fetchmail -d 120

Is there a specific reason that you choose to do that rather than
starting it by adding: fetchmail_enable=YES to the /etc/rc.conf file?
   
   Since I have root access on that machine, yes I could do that.  But
   for my particular setup I couldn't see any advantage.  Plus, the less
   I need to edit system-wide config files, the better, I think.
 
   I'm confused: how is /etc/rc.conf any more a system-wide
 config file than /etc/crontab?

I run fetchmail from the user crontab (edited with crontab -e), not
/etc/crontab.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Handbook Question

2008-04-22 Thread Edward Ruggeri
Hi All!

Still reading through the FreeBSD handbook.  I'm at section 5.5.3; it
discusses how to edit the /usr/local/etc/fonts/local.conf file to
adjust how X11 handles the anti-aliasing of fonts.  It ends (about)
with this sentence: Anti-aliasing should be enabled the next time the
X server is started.

Perhaps I am splitting hairs: hasn't anti-aliasing been enabled all
along, it's now just going to be handled differently the next time
local.conf is read?  I ask because I'm afraid I missed something.

Sincerely,

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


Re: Changing Console Video Modes

2008-04-22 Thread Edward Ruggeri
On Mon, Apr 21, 2008 at 2:55 PM, Joshua Isom [EMAIL PROTECTED] wrote:

 On Apr 20, 2008, at 9:28 PM, Edward Ruggeri wrote:


  I'm just reading through the manual for FreeBSD, and I am at section
  3.2.6 Changing Console Video Modes.  This discusses how to change
  the default console resolution.  I would try this out, but as I can
  only access my FreeBSD box remotely at the moment, I am hesitant to
  recompile the kernel with the necessary options (I currently get an
  error when running #vidcontrol -i mode: getting active vty:
  Inappropriate ioctl for device.  I assume this is because the current
  kernel is insufficient?).  I'm afraid my computer might need to be
  booted by hand, which I wouldn't be able to do.
 
  In any case, lacking the ability to experiment, I am curious about
  different video modes.  Will greater resolutions allow me to fit more
  text on the screen in the console?  Of course I know (maybe less than
  I think) about resolution in terms of graphical environments (e.g.,
  can see more of a high-resolution image w/ a greater resolution), but
  is it the same for text?
 
  Thanks!
 
  Sincerely,
 
  -- Ned Ruggeri
 

  Don't forget to use i386 instead of amd64, since those higher resolutions
 are vesa modes(I also don't think you can get any widescreen resolutions)
 and amd64 can't access the vesa instructions.  You might be able to try
 hacking the loader and change resolutions there but I don't know if it would
 stay that way through boot or what effect X windows would have.

  You could just try a fullscreen xterm.  Using evilwm it can give you the
 look of a console with a higher resolution.

On Mon, Apr 21, 2008 at 2:55 PM, Joshua Isom [EMAIL PROTECTED] wrote:

 On Apr 20, 2008, at 9:28 PM, Edward Ruggeri wrote:


  I'm just reading through the manual for FreeBSD, and I am at section
  3.2.6 Changing Console Video Modes.  This discusses how to change
  the default console resolution.  I would try this out, but as I can
  only access my FreeBSD box remotely at the moment, I am hesitant to
  recompile the kernel with the necessary options (I currently get an
  error when running #vidcontrol -i mode: getting active vty:
  Inappropriate ioctl for device.  I assume this is because the current
  kernel is insufficient?).  I'm afraid my computer might need to be
  booted by hand, which I wouldn't be able to do.
 
  In any case, lacking the ability to experiment, I am curious about
  different video modes.  Will greater resolutions allow me to fit more
  text on the screen in the console?  Of course I know (maybe less than
  I think) about resolution in terms of graphical environments (e.g.,
  can see more of a high-resolution image w/ a greater resolution), but
  is it the same for text?
 
  Thanks!
 
  Sincerely,
 
  -- Ned Ruggeri
 

  Don't forget to use i386 instead of amd64, since those higher resolutions
 are vesa modes(I also don't think you can get any widescreen resolutions)
 and amd64 can't access the vesa instructions.  You might be able to try
 hacking the loader and change resolutions there but I don't know if it would
 stay that way through boot or what effect X windows would have.

  You could just try a fullscreen xterm.  Using evilwm it can give you the
 look of a console with a higher resolution.

Interesting; I'll have to try that.

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


Can't upgrade lsof

2008-04-22 Thread Larry Smith
Hi,

I'm a newbie trying to upgrade 'lsof'. 'Portupgrade -a' goes well except for 
lsof and a couple of files that depend on it (gnome-system-monitor, 
gnome-applets, etc.)

I am running FreeBSD 7-RELEASE on an AMD Sempron with 1Gb of RAM.  I have 
cvs'ed my ports tree, did portsdb, pkgdb and portsclean over the last couple of 
days to see if it self-corrects.  It didn't.  Googling didn't turn up anything 
either. Any suggestions, advice, or comments would be greatly appreciated.

Thank-you,
Larry


OUTPUT

portupgrade lsof
..
..
..
..
EV -DHAS_SI_PRIV -DHAS_SYS_SX_H -DFREEBSDV=7000 -DHASFDESCFS=2 -DHASPSEUDOFS 
-DHASNULLFS -DHASIPv6 -DHAS_STRFTIME -DLSOF_VSTR=\7.0-RELEASE\ -I/usr/src/sys 
-O2 -c dmnt.c
cc  -fno-strict-aliasing -pipe -DHASEFFNLINK=i_effnlink -DHASF_VNODE 
-DHASCPUMASK_T -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_NO_SI_UDEV 
-DHAS_SI_PRIV -DHAS_SYS_SX_H -DFREEBSDV=7000 -DHASFDESCFS=2 -DHASPSEUDOFS 
-DHASNULLFS -DHASIPv6 -DHAS_STRFTIME -DLSOF_VSTR=\7.0-RELEASE\ -I/usr/src/sys 
-O2 -c dnode.c
dnode.c: In function 'get_lock_state':
dnode.c:113: error: 'struct lockf' has no member named 'lf_flags'
dnode.c:115: error: 'struct lockf' has no member named 'lf_id'
dnode.c:121: error: 'struct lockf' has no member named 'lf_id'
dnode.c:129: error: 'struct lockf' has no member named 'lf_start'
dnode.c:130: error: 'struct lockf' has no member named 'lf_end'
dnode.c:134: error: 'struct lockf' has no member named 'lf_type'
dnode.c:136: error: 'struct lockf' has no member named 'lf_type'
dnode.c:138: error: 'struct lockf' has no member named 'lf_type'
dnode.c:141: error: 'struct lockf' has no member named 'lf_next'
dnode.c: In function 'process_node':
dnode.c:760: error: 'struct inode' has no member named 'i_lockf'
dnode.c:761: error: 'struct inode' has no member named 'i_lockf'
*** Error code 1

Stop in /usr/ports/sysutils/lsof/work/lsof_4.79/lsof_4.79_src.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.92049.0 
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=lsof-4.79D UPGRADE_PORT_VER=4.79D make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! sysutils/lsof (lsof-4.79D)(unknown build error)





  __
Be smarter than spam. See how smart SpamGuard is at giving junk email the boot 
with the All-new Yahoo! Mail.  Click on Options in Mail and switch to New Mail 
today or register for free at http://mail.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Crontab @reboot directive

2008-04-22 Thread Jerry McAllister
On Tue, Apr 22, 2008 at 05:03:41PM -0400, Robert Huff wrote:

 
 andrew clarke writes:
 
 @reboot /usr/local/bin/fetchmail -d 120

Is there a specific reason that you choose to do that rather than
starting it by adding: fetchmail_enable=YES to the /etc/rc.conf file?
   
   Since I have root access on that machine, yes I could do that.  But
   for my particular setup I couldn't see any advantage.  Plus, the less
   I need to edit system-wide config files, the better, I think.
 
   I'm confused: how is /etc/rc.conf any more a system-wide
 config file than /etc/crontab?

I think it would be a matter of convention and way of speaking.  
Configuration settings values are done in /etc/rc.conf.

The crontab file contains directions to run specific things at 
specific times.   Setting these things up is a type of configuration
activity, of course, but not the way it is in rc.conf.

jerry

 
   Robert Huff
 
 ___
 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: clean for kernel build

2008-04-22 Thread Andrew Falanga
On Tue, Apr 22, 2008 at 3:17 PM, Fraser Tweedale [EMAIL PROTECTED] wrote:
 `make buildkernel` in /usr/src does a clean before building.  You most
 likely are missing something in your kernel config (i.e. a device that is
 depended on by another device).

  frase




Thanks.  What options are needed in conjunction with IPSEC?  I have
this in my config file:

options  IPSEC
options  IPSEC_ESP # from the handbook

The IPSec  VPN page in the handbook says to use these.  However, the
IPSEC_ESP errors out of the build with unknown option.  What else is
needed?  Also, if I'm not mistaken, the linker errors I'm seeing are
dealing with the IPSEC implementation.  What kernel options are
necessary for building a kernel with IPSec?

Andy

-- 
 A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


building a kernel for IPsec, what dependencies exist for option IPSEC

2008-04-22 Thread Andrew Falanga
Hi,

I'm building a kernel for IPSec and am going off of the handbook
instructions from the section, VPN over IPsec.  In there it says to
add:

options  IPSEC
options  IPSEC_ESP

However, on 7.0 it appears that IPSEC_ESP isn't a valid option.
However, what dependencies exist for the option IPSEC?  I'm getting
several linker errors for files like, xform_ah.o xform_esp.o
xform_ipcomp.o and I'm very suspicious that they are due to
dependencies that I'm lacking for IPSec.  Below is my conf file.  It's
basically the GENERIC file with several device options commented out
because I don't have SCSI hardware on this laptop or many of the RAID
controllers.

cpu I486_CPU
cpu I586_CPU
cpu I686_CPU
ident   GENERIC

# A. Falanga; new kernel with IPSEC capability
options IPSEC


# To statically compile in device wiring instead of /boot/device.hints
#hints  GENERIC.hints # Default places to look for devices.

#makeoptionsDEBUG=-g# Build kernel with gdb(1) debug symbols

options SCHED_4BSD  # 4BSD scheduler
options PREEMPTION  # Enable kernel thread preemption
options INET# InterNETworking
options INET6   # IPv6 communications protocols
options SCTP# Stream Control Transmission Protocol
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big directories
options UFS_GJOURNAL# Enable gjournal-based UFS journaling
options MD_ROOT # MD is a potential root device
options NFSCLIENT   # Network Filesystem Client
options NFSSERVER   # Network Filesystem Server
options NFS_ROOT# NFS usable as /, requires NFSCLIENT
options MSDOSFS # MSDOS Filesystem
options CD9660  # ISO 9660 Filesystem
options PROCFS  # Process filesystem (requires PSEUDOFS)
options PSEUDOFS# Pseudo-filesystem framework
options GEOM_PART_GPT   # GUID Partition Tables.
options GEOM_LABEL  # Provides labelization
options COMPAT_43TTY# BSD 4.3 TTY compat [KEEP THIS!]
#optionsCOMPAT_FREEBSD4 # Compatible with FreeBSD4
#optionsCOMPAT_FREEBSD5 # Compatible with FreeBSD5
options COMPAT_FREEBSD6 # Compatible with FreeBSD6
options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
options KTRACE  # ktrace(1) support
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time
extensions
options KBD_INSTALL_CDEV# install a CDEV entry in /dev
options ADAPTIVE_GIANT  # Giant mutex is adaptive.
options STOP_NMI# Stop CPUS using NMI instead of IPI
options AUDIT   # Security event auditing

# To make an SMP kernel, the next two lines are needed
#optionsSMP # Symmetric MultiProcessor Kernel
device  apic# I/O APIC
# CPU frequency control
device  cpufreq

# Bus support.
device  eisa
device  pci

# Floppy drives
device  fdc

# ATA and ATAPI devices
device  ata
device  atadisk # ATA disk drives
device  ataraid # ATA RAID drives
device  atapicd # ATAPI CDROM drives
device  atapifd # ATAPI floppy drives
device  atapist # ATAPI tape drives
options ATA_STATIC_ID   # Static device numbering

# SCSI Controllers
#device ahb # EISA AHA1742 family
#device ahc # AHA2940 and onboard AIC7xxx devices
#optionsAHC_REG_PRETTY_PRINT# Print register bitfields in debug
# output.  Adds ~128k to driver.
#device ahd # AHA39320/29320 and onboard AIC79xx devices
#optionsAHD_REG_PRETTY_PRINT# Print register bitfields in debug
# output.  Adds ~215k to
driver.device  amd # AMD 53C974 (Tekram DC-390(T))
device  hptiop  # Highpoint RocketRaid 3xxx series
device  isp # Qlogic family
#device ispfw   # Firmware for QLogic HBAs- normally a module
#device mpt # LSI-Logic MPT-Fusion
#device ncr # 

Re: USB wireless AP?

2008-04-22 Thread Boris Kochergin

Ivan Voras wrote:

Boris Kochergin wrote:
Do you know about http://ralink.rapla.net/? The RT2500-based cards 
listed there are supported by the ural(4) driver. There's a 
discouraging comment about using them for access points in the man 
page, though:


CAVEATS
The ural driver does not support automatic adaptation of the 
transmit

speed in IBSS and HostAP operating modes.


That's too bad - it seems the Linsys' card is supported by ural. I 
looked around for Linux information on the same topic, and given the 
problems they have, I think I'll even settle for IBSS. Are there any 
practical differences between HOSTAP and IBSS when used by a very 
small number of users?



I've never used IBSS, but I have enough spare 802.11 hardware to try it 
out. I'll let you know.


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


Re: USB wireless AP?

2008-04-22 Thread Martes G Wigglesworth
I would reference the link that I am about to list.

I would also reference googling the topic, since there are quite a few
USB wifi adapters that work, however, it seems a bit more difficult to
find people who are using them as AP media.

The atheros reference pdfs reference a different chipset than what we
usually deal with on BSD ath driver. (5512, or some such.)

I forgot about the prism based cards, which the following link is in
references.

http://osdir.com/ml/os.freebsd.devel.hardware/2006-06/msg00034.html

The SWEEX model LW053 is also compatible, however, it uses the rawlink
RT2500USB chipset, so I am not sure how the access point functionality
will work, since it may be suceptible to the previously referenced
warnings within the driver manpage.  

Is there a particular reason that the USB adapter concept is needed for
your application?

On Wed, 2008-04-23 at 00:37 +0200, Ivan Voras wrote:
 2008/4/22 Martes G Wigglesworth [EMAIL PROTECTED]:
  I always atheros-based cards/interfaces.  ath driver seems to be the
   defacto homegrown AP medium.
 
 Thanks, can you recommend an ath-based USB card?
 
   On Tue, 2008-04-22 at 22:18 +0200, Ivan Voras wrote:
 
   Boris Kochergin wrote:
 Do you know about http://ralink.rapla.net/? The RT2500-based cards
 listed there are supported by the ural(4) driver. There's a 
  discouraging
 comment about using them for access points in the man page, though:

 CAVEATS
 The ural driver does not support automatic adaptation of the 
  transmit
 speed in IBSS and HostAP operating modes.
   
That's too bad - it seems the Linsys' card is supported by ural. I
looked around for Linux information on the same topic, and given the
problems they have, I think I'll even settle for IBSS. Are there any
practical differences between HOSTAP and IBSS when used by a very small
number of users?
   
   
 
 
 

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


Berlin Sa, 26.04.08 - La Chusma Radio

2008-04-22 Thread Feijoada Mixta Berlin


Dj GArRinchA by La Chusma Radio

http://www.myspace.com/radiopapalapap

 

 SPECIALS:
DJ GARRINCHA BERLIN / BRASIL


ENDLICH WIRD AUCH DJ GARRINCHA DURCH DIE TUEREN VON DER LEGAENDEREN FIESTA 
LATINA IM RAW TEMPEL TRETEN. FETTE BRASIL BEATS UND ANDERE UEBERRASCHUNGEN WIRD 
ER MIT DABEI HABEN... MIT DABEI SIND ALLE VIER RESIDENTS DES LA CHUSMA 
KOLLEKTIVS. 

 
La Chusma Radio [DJ Kollektiv]
Sa, 26.04.08
Einlass: 23 h
Cash: 5 Euro
Im RAW TEMPEL, Revalerstr. 99
SU Warschauerstr
 
http://www.myspace.com/lachusmaradio

 
 



___

Du erhältst diesen Newsletter, weil Du Dich bei unserem

Newsletter Service auf http://www.feijoada-mixta.de angemeldet hast.

Um Dich davon abzumelden, klicke hier: 
http://www.feijoada-mixta.de/index.php?option=com_lettermantask=unsubscribeItemid=26

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


Berlin Sa, 26.04.08 - La Chusma Radio

2008-04-22 Thread Feijoada Mixta Berlin


Dj GArRinchA by La Chusma Radio

http://www.myspace.com/radiopapalapap

 

 SPECIALS:
DJ GARRINCHA BERLIN / BRASIL


ENDLICH WIRD AUCH DJ GARRINCHA DURCH DIE TUEREN VON DER LEGAENDEREN FIESTA 
LATINA IM RAW TEMPEL TRETEN. FETTE BRASIL BEATS UND ANDERE UEBERRASCHUNGEN WIRD 
ER MIT DABEI HABEN... MIT DABEI SIND ALLE VIER RESIDENTS DES LA CHUSMA 
KOLLEKTIVS. 

 
La Chusma Radio [DJ Kollektiv]
Sa, 26.04.08
Einlass: 23 h
Cash: 5 Euro
Im RAW TEMPEL, Revalerstr. 99
SU Warschauerstr
 
http://www.myspace.com/lachusmaradio

 
 



___

Du erhältst diesen Newsletter, weil Du Dich bei unserem

Newsletter Service auf http://www.feijoada-mixta.de angemeldet hast.

Um Dich davon abzumelden, klicke hier: 
http://www.feijoada-mixta.de/index.php?option=com_lettermantask=unsubscribeItemid=26

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


is my eyesight THAT bad?!

2008-04-22 Thread Gary Kline
People,

I've installed everything-abiword i canbut don't see the
grammar-checker.  Can anybody clue me in?  (failing eyesight, but not
that bad *hopefully*)

thanks much,

gary



-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org


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


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

2008-04-22 Thread David Reedy Jr
On Tuesday 22 April 2008 10:40:25 am Roland Smith wrote:
 On Tue, Apr 22, 2008 at 10:08:37AM -0500, David Reedy Jr wrote:
   IICR, the print device should belong to the cups group. At least,
   that's my working setup.
  
   I have the following in /etc/devfs.conf:
  
   # Give cups printer access
   own lpt0root:cups
   permlpt00660
 
  Thanks for the info. This didn't actually fix the problem, but I
  know it was needed since I read somewhere that everything that
  cupsd spawns runs as cups.
 
  What I ended up doing was resetting my cupsd.conf to default and
  redid my settings. I must have had a typo in there somewhere before
  because as soon as I restarted cupsd after making the changes, the
  parallel and usb ports suddenly became available as devices for the
  printer.

 It happens. :-)

  I had previously selected lpd and then manually specified the uri
  as parallel:/dev/lpt0.
 
  The laser on the parallel port is now working fine.

 Good.

  I also went ahead
  and setup my deskjet on usb:/dev/ulpt0. Print test pages get marked
  as completed but nothing actually comes out of the printer. Still
  trying to figure that one out.

 Have a look at the cups logfiles in /var/log/cups. They should give
 you some pointers. You'll probably need to set the device permissions
 for ulpt in devfs.rules, not devfs.conf!

I got the rules setup in devfs.rules, no problem. When I turn on the 
printer it's detected...

ulpt0: HP Deskjet 3840, class 0/0, rev 2.00/1.00, addr 2 on uhub0
ulpt0: using bi-directional mode

and things get set right permission-wise...

crw-rw  1 root  cups0,  88 Apr 22 21:20 /dev/ulpt0

according to /var/log/cups/error_log it prints...

I [22/Apr/2008:21:20:03 -0500] 
Started /usr/local/libexec/cups/cgi-bin/printers.cgi (pid=756)
I [22/Apr/2008:21:20:03 -0500] [Job 47] Adding start banner page none.
I [22/Apr/2008:21:20:03 -0500] [Job 47] Adding job file of type 
application/postscript.
I [22/Apr/2008:21:20:03 -0500] [Job 47] Adding end banner page none.
I [22/Apr/2008:21:20:03 -0500] [Job 47] Queued on inkjet by root.
I [22/Apr/2008:21:20:03 -0500] [Job 47] Started 
filter /usr/local/libexec/cups/filter/pstops (PID 757)
I [22/Apr/2008:21:20:03 -0500] [Job 47] Started 
filter /usr/local/libexec/cups/filter/pstoraster (PID 758)
I [22/Apr/2008:21:20:03 -0500] [Job 47] Started 
filter /usr/local/libexec/cups/filter/rastertohp (PID 759)
I [22/Apr/2008:21:20:03 -0500] [Job 47] Started 
backend /usr/local/libexec/cups/backend/usb (PID 760)
I [22/Apr/2008:21:20:06 -0500] 
Started /usr/local/libexec/cups/cgi-bin/printers.cgi (pid=761)
I [22/Apr/2008:21:20:06 -0500] [Job 47] Completed successfully.
I [22/Apr/2008:21:20:17 -0500] 
Started /usr/local/libexec/cups/cgi-bin/printers.cgi (pid=762)

but the job disappears into some sort of black hole. Nothing prints. 
Printer just sits there peacefully doing nothing.

From printers.conf for this printer...

Printer inkjet
Info HP DeskJet 3845
Location Bottom
DeviceURI usb:/dev/ulpt0
State Idle
StateTime 1208917161
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
AllowUser root
AllowUser davidrjr
OpPolicy default
ErrorPolicy stop-printer
/Printer

If anybody has additional insight, I'd sure appreciate it.

Dave

 Roland


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


Re: pw create home dir issue

2008-04-22 Thread Unga

--- Matthew Seaman [EMAIL PROTECTED]
wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: RIPEMD160
 
 Unga wrote:
  Hi
  
  I cannot get the pw to create a new user's home
  directory. Here is what I used:
  
  pw -V /etc useradd -n test \
  -c Test User -b /home/ \
  -G wheel,operator -m -M 0700 \
  -k /etc/skel/ -s /usr/local/bin/bash
  
  It creates the user without user's home directory.
  Once home directory is created manually, the
 account
  can be used. I don't have a /etc/pw.conf. I also
 used
  -d /home/, but it still doesn't create the home
  directory.
  
  Have I made a mistake or is there a error in pw. I
 use
  FreeBSD 7.0.
 
 Hmmm I vaguely remember running into this around
 the turn of the 
 millenium.  Excuse me while I dust off those
 neurons...
 
 Yes -- if you use the '-V' switch to pw(8) it
 silently disables creating
 the home directory for new accounts.  This comes up
 in the mailing lists
 occasionally:
 

http://docs.freebsd.org/cgi/getmsg.cgi?fetch=2108497+0+archive/2001/freebsd-questions/20011028.freebsd-questions

http://lists.freebsd.org/pipermail/freebsd-questions/2003-August/016200.html
 
 Since the default location for the password files is
 /etc, you don't
 need the '-V /etc' switch at all -- omit that, and
 you should find that
 user home directories get created for you.
 

Hi Dr. Seaman, thanks for reply.

Yep, without -V, pw creates home directories.

In my opinion, since this is a known issue, the -V
etcdir section of pw(8) may be updated or introduce a
Known Issues section to pw(8), to avoid this issue
coming up again and agin.

Kind Regards
Unga




  

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


Re: Having trouble getting cups working

2008-04-22 Thread Andrew Falanga
On Tuesday 22 April 2008 09:16:42 Reid Linnemann wrote:

 Your device URI should not be an lpd URI, especially since you can't
 print with lpd. Use a 'parallel' URI in your case; parallel:/dev/lpt0
 works for me. When you want to refer to the printer from an external
 system, use ipp://hostname/printers/printername


Thank you all.  My problem, as you all know, was the URI.  I changed to using 
parallel:/dev/lpt0 and everything is working great.  This is too cool!

Because there wasn't a URI of that type listed on the administration web page, 
I didn't think to use something other than what was there.

At any rate, I'm printing from KPDF and it's really cool!  Thanks again.

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


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

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

 On Tuesday 22 April 2008 10:40:25 am Roland Smith wrote:
  On Tue, Apr 22, 2008 at 10:08:37AM -0500, David Reedy Jr wrote:
IICR, the print device should belong to the cups group. At least,
that's my working setup.
   
I have the following in /etc/devfs.conf:
   
# Give cups printer access
own lpt0root:cups
permlpt00660
  
   Thanks for the info. This didn't actually fix the problem, but I
   know it was needed since I read somewhere that everything that
   cupsd spawns runs as cups.
  
   What I ended up doing was resetting my cupsd.conf to default and
   redid my settings. I must have had a typo in there somewhere before
   because as soon as I restarted cupsd after making the changes, the
   parallel and usb ports suddenly became available as devices for the
   printer.
 
  It happens. :-)
 
   I had previously selected lpd and then manually specified the uri
   as parallel:/dev/lpt0.
  
   The laser on the parallel port is now working fine.
 
  Good.
 
   I also went ahead
   and setup my deskjet on usb:/dev/ulpt0. Print test pages get marked
   as completed but nothing actually comes out of the printer. Still
   trying to figure that one out.
 
  Have a look at the cups logfiles in /var/log/cups. They should give
  you some pointers. You'll probably need to set the device permissions
  for ulpt in devfs.rules, not devfs.conf!
 
 I got the rules setup in devfs.rules, no problem. When I turn on the
 printer it's detected...

 ulpt0: HP Deskjet 3840, class 0/0, rev 2.00/1.00, addr 2 on uhub0
 ulpt0: using bi-directional mode

 and things get set right permission-wise...

 crw-rw  1 root  cups0,  88 Apr 22 21:20 /dev/ulpt0

 according to /var/log/cups/error_log it prints...

 I [22/Apr/2008:21:20:03 -0500]
 Started /usr/local/libexec/cups/cgi-bin/printers.cgi (pid=756)
 I [22/Apr/2008:21:20:03 -0500] [Job 47] Adding start banner page none.
 I [22/Apr/2008:21:20:03 -0500] [Job 47] Adding job file of type
 application/postscript.
 I [22/Apr/2008:21:20:03 -0500] [Job 47] Adding end banner page none.
 I [22/Apr/2008:21:20:03 -0500] [Job 47] Queued on inkjet by root.
 I [22/Apr/2008:21:20:03 -0500] [Job 47] Started
 filter /usr/local/libexec/cups/filter/pstops (PID 757)
 I [22/Apr/2008:21:20:03 -0500] [Job 47] Started
 filter /usr/local/libexec/cups/filter/pstoraster (PID 758)
 I [22/Apr/2008:21:20:03 -0500] [Job 47] Started
 filter /usr/local/libexec/cups/filter/rastertohp (PID 759)
 I [22/Apr/2008:21:20:03 -0500] [Job 47] Started
 backend /usr/local/libexec/cups/backend/usb (PID 760)
 I [22/Apr/2008:21:20:06 -0500]
 Started /usr/local/libexec/cups/cgi-bin/printers.cgi (pid=761)
 I [22/Apr/2008:21:20:06 -0500] [Job 47] Completed successfully.
 I [22/Apr/2008:21:20:17 -0500]
 Started /usr/local/libexec/cups/cgi-bin/printers.cgi (pid=762)

 but the job disappears into some sort of black hole. Nothing prints.
 Printer just sits there peacefully doing nothing.

 From printers.conf for this printer...

 Printer inkjet
 Info HP DeskJet 3845
 Location Bottom
 DeviceURI usb:/dev/ulpt0
 State Idle
 StateTime 1208917161
 Accepting Yes
 Shared Yes
 JobSheets none none
 QuotaPeriod 0
 PageLimit 0
 KLimit 0
 AllowUser root
 AllowUser davidrjr
 OpPolicy default
 ErrorPolicy stop-printer
 /Printer

 If anybody has additional insight, I'd sure appreciate it.

 Dave

  Roland


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


IIRC, you should be able to actually write

echo something  /dev/ulpt0

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

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

Here is a workaround:

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

DeviceURI usb:/dev/ulpt0

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

DeviceURI file:/dev/ulpt0

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

Jan-Espen Pettersen


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

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