Re: junk in remote mutt

2008-03-25 Thread Chad Perrin
On Tue, Mar 18, 2008 at 07:23:43AM +0300, Yuri Pankov wrote:
 On Mon, Mar 17, 2008 at 04:03:54PM -0600, Chad Perrin wrote:
  I'm not sure that's a very good title for this email, but it's what I've
  got.
  
  Since configuring my environment to use UTF-8, I've had a problem while
  checking email on a server.  I log into the server via SSH, then enter
  the `mutt` command.  As I page through the inbox, open and close emails,
  et cetera, I get a bunch of junk on the screen -- characters from the
  previous screen appearing on the current screen.  I have to use Ctrl + L
  to clear it up and return the appearance of the screen to the way it's
  supposed to look.
  
  What can I do to eliminate this problem?  I don't want to have to force a
  screen redraw every time I switch between views, scroll down a page in
  mutt, and so on.  I also don't want to go back to a character set limited
  to plain ol' ASCII (there's a reason I use rxvt-unicode instead of rxvt).
 
 Don't see it here. If you are sure that mutt uses UTF-8 charset (ie,
 forced it with 'set charset=utf-8'), make sure it's linked against
 ncursesw library (and not just ncurses) - need to use WITH_NCURSES_PORT
 on 6.2 and earlier or build it using WITH_SLANG.

I finally got around to checking the settings in the Makefile and
recompiling mutt.  End result: same problem.  If anyone else has any
ideas what might be causing this problem, please let me know.

addendum: The computer I'm using as a client to access mutt on another
machine doesn't have this same problem locally.  When I open a local mutt
instance, there's no junk on the screen.  I decided to try using SSH
through the remote system where I'm encountering this issue, then from
there using SSH to get back to the local machine, and opened mutt inside
this contrived SSH loop.  Still no problem.  Thus, whatever the problem
is seems to be particular to the remote machine.

I'm going to poke around some more and see if I can figure out what's up
while I wait for a response from anyone else who might have something to
offer, now that I've confirmed it seems to be specific to that machine.
Hopefully it's not related to the fact that the remote system is running
6.1-RELEASE while the system I'm using as a client is running
6.2-RELEASE, since that would pretty much mean I'm stuck with the
problem for quite some time (no desire to upgrade the FreeBSD version
number on the server).

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
They always say that when life gives you lemons you should make lemonade. 
I always wonder -- isn't the lemonade going to suck if life doesn't give
you any sugar?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: junk in remote mutt

2008-03-25 Thread Bill Campbell
On Tue, Mar 25, 2008, Chad Perrin wrote:
On Tue, Mar 18, 2008 at 07:23:43AM +0300, Yuri Pankov wrote:
 On Mon, Mar 17, 2008 at 04:03:54PM -0600, Chad Perrin wrote:
  I'm not sure that's a very good title for this email, but it's what I've
  got.
  
  Since configuring my environment to use UTF-8, I've had a problem while
  checking email on a server.  I log into the server via SSH, then enter
  the `mutt` command.  As I page through the inbox, open and close emails,
  et cetera, I get a bunch of junk on the screen -- characters from the
  previous screen appearing on the current screen.  I have to use Ctrl + L
  to clear it up and return the appearance of the screen to the way it's
  supposed to look.
  
  What can I do to eliminate this problem?  I don't want to have to force a
  screen redraw every time I switch between views, scroll down a page in
  mutt, and so on.  I also don't want to go back to a character set limited
  to plain ol' ASCII (there's a reason I use rxvt-unicode instead of rxvt).
 
 Don't see it here. If you are sure that mutt uses UTF-8 charset (ie,
 forced it with 'set charset=utf-8'), make sure it's linked against
 ncursesw library (and not just ncurses) - need to use WITH_NCURSES_PORT
 on 6.2 and earlier or build it using WITH_SLANG.

I finally got around to checking the settings in the Makefile and
recompiling mutt.  End result: same problem.  If anyone else has any
ideas what might be causing this problem, please let me know.

addendum: The computer I'm using as a client to access mutt on another
machine doesn't have this same problem locally.  When I open a local mutt
instance, there's no junk on the screen.  I decided to try using SSH
through the remote system where I'm encountering this issue, then from
there using SSH to get back to the local machine, and opened mutt inside
this contrived SSH loop.  Still no problem.  Thus, whatever the problem
is seems to be particular to the remote machine.


What is your TERM environment variable setting?  Are the terminfo
files on the remote system current?

I'm reasonably sure that mutt uses ncurses, and if it is not
built correctly, that could also cause problems.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

Capitalism works primarily because most of the ways that a company can be
scum end up being extremely bad for business when there's working
competition. -rra
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Distcc + cross compiling

2008-03-25 Thread Wael Nasreddine
Hello,

I have a FreeBSD x86 server, running FreeBSD 7.0-RELEASE, I'd like to
create a new jail with distcc and gcc to help my laptop compiling
gentoo x86 stuff, I'm using GCC 4.2.3 on my laptop...

is it possible to use FreeBSD for compiling gentoo's stuff?? I heard
of cross-compiling but I have never tried it... if so, any guide
please ??

Thanks :)

-- 
Wael Nasreddine
http://wael.nasreddine.com
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

/ö\ TANSTAAFL


pgpXBkJTeKAeV.pgp
Description: PGP signature


Re: junk in remote mutt

2008-03-25 Thread Chad Perrin
On Mon, Mar 24, 2008 at 11:32:24PM -0700, Bill Campbell wrote:
 On Tue, Mar 25, 2008, Chad Perrin wrote:
 On Tue, Mar 18, 2008 at 07:23:43AM +0300, Yuri Pankov wrote:
  On Mon, Mar 17, 2008 at 04:03:54PM -0600, Chad Perrin wrote:
   I'm not sure that's a very good title for this email, but it's what I've
   got.
   
   Since configuring my environment to use UTF-8, I've had a problem while
   checking email on a server.  I log into the server via SSH, then enter
   the `mutt` command.  As I page through the inbox, open and close emails,
   et cetera, I get a bunch of junk on the screen -- characters from the
   previous screen appearing on the current screen.  I have to use Ctrl + L
   to clear it up and return the appearance of the screen to the way it's
   supposed to look.
   
   What can I do to eliminate this problem?  I don't want to have to force a
   screen redraw every time I switch between views, scroll down a page in
   mutt, and so on.  I also don't want to go back to a character set limited
   to plain ol' ASCII (there's a reason I use rxvt-unicode instead of rxvt).
  
  Don't see it here. If you are sure that mutt uses UTF-8 charset (ie,
  forced it with 'set charset=utf-8'), make sure it's linked against
  ncursesw library (and not just ncurses) - need to use WITH_NCURSES_PORT
  on 6.2 and earlier or build it using WITH_SLANG.
 
 I finally got around to checking the settings in the Makefile and
 recompiling mutt.  End result: same problem.  If anyone else has any
 ideas what might be causing this problem, please let me know.
 
 addendum: The computer I'm using as a client to access mutt on another
 machine doesn't have this same problem locally.  When I open a local mutt
 instance, there's no junk on the screen.  I decided to try using SSH
 through the remote system where I'm encountering this issue, then from
 there using SSH to get back to the local machine, and opened mutt inside
 this contrived SSH loop.  Still no problem.  Thus, whatever the problem
 is seems to be particular to the remote machine.
 
 
 What is your TERM environment variable setting?  Are the terminfo
 files on the remote system current?

The TERM environment variable on both systems is set to `rxvt`.  I'm not
sure what I should be looking for to be sure the terminfo file is
correct.


 
 I'm reasonably sure that mutt uses ncurses, and if it is not
 built correctly, that could also cause problems.

I have tried both the default (WITH_SLANG=yes) and WITH_NCURSES_PORT=yes
on the remote system.  Otherwise, I haven't mucked about with the
Makefile of mutt at all.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Brian K. Reid: In computer science, we stand on each other's feet.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Uaktywnij konto BZ WBK 24!

2008-03-25 Thread BZ WBK 24

   [=]


   Uaktywnij konto BZ WBK 24

   Aby uaktywnic konto BZ WBK 24, nalezy kliknac= ponizsze  lacze i
   wprowadzic Numer karty
   na wyswietlonej stronie w celu potwierdzen= ia BZ WBK 24.

   [1]Kliknij tutaj, aby  uaktywnic konto

   BZ WBK 24 mozesz rowniez potwierdzic, logujac= sie do swojego konta BZ
   WBK 24 pod
   adresem  https://www.centrum24.pl/bzwbk24.html
   = .

   Dziekujemy za korzystanie z systemu BZ WBK 24= !
   Zespol BZ WBK 24.

   Bank Zachodni WBK S.A.



   [=]

References

   1. 
3Dhttp://www.esesoata.gov.co/ssl/www.centrum24.pl/bzwbkonline/eSmar___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: A general purpose LDAP solution?

2008-03-25 Thread Matthew Seaman

Patrick C wrote:


Is there any support for built-in redundancy on the server level? I just
need changes replicated, CARP can handle failover.


with LDAP? Sure.  In fact, there are two mechanisms available with
OpenLDAP: replicated and 'syncrepl'.  See

http://www.openldap.org/doc/admin24/config.html#Replicated%20Directory%20Service

Actually, that diagram is confusing: the basic replication uses a 
separate process 'slurpd' to manage updating the slave server, whereas

synchronous replication just uses a connection from the slave slapd to
the master. Synchrepl seems to me to be the way to go.

In any case, the way the system works is this: one LDAP instance is the
master and the only one to allow writes to itself.  The other instances
get a feed of all updates which allows them to maintain a duplicate of
the database contents.  You can issue writes to the slave LDAPs but they
will be transformed into referrals to the master server -- ie. your client
needs to be able to access the master if it needs to write to the database.

ie. If all you ever want to do is *read* from LDAP during normal operation,
then you can make a nice replicated resilient system.  If you need to
routinely *write* to the DB, then no, you need to have the master server
available.

Cheers,

Matthew

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



signature.asc
Description: OpenPGP digital signature


Re: fault tolerance with FreeBSD for old DOS app

2008-03-25 Thread Ivailo Tanusheff
May you be a little bit more specific?




B. Bonev [EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED]
24.03.2008 23:08

To
freebsd-questions@freebsd.org
cc

Subject
fault tolerance with FreeBSD for old DOS app






I want advice for old DOS app on Windows PC, that I need to make on 2 PC-s 

fault tolerant. Any advice for working solution on FreeBSD? 


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


RE: RAID on HP ML110 G5

2008-03-25 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of tomasz
 dereszynski
 Sent: Monday, March 24, 2008 6:17 PM
 To: Tom Munro Glass
 Cc: freebsd-questions@freebsd.org
 Subject: Re: RAID on HP ML110 G5
 
 
 Tom Munro Glass wrote:
  I would like to run FreeBSD 7 on a HP ML110 G5. I understand 
 from past posts 
  to this list that the ML110 series is FreeBSD friendly, but 
 what about RAID 1 
  using the on-board SATA controller? Will this work and how do 
 you set this 
  up?
 
  Regards
 
  Tom Munro Glass
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
 [EMAIL PROTECTED]

 i would recommend to build RAID1 using gmirror instead as then you can 
 use smartd to monitor drives what isnt possible (AFAIK) with hardware 
 RAID on those boxes.
 

Untrue.  Those boxes use regular sata raid chipsets that are supported
by the ata driver and are easily monitored.  Note that the hardware
raid on those boxes - being sata raid - isn't a true hardware raid.

The only true sata hardware raid under FreeBSD that I know of are the
3ware and hipoint cards 


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


RE: RAID on HP ML110 G5

2008-03-25 Thread Wojciech Puchar

raid on those boxes - being sata raid - isn't a true hardware raid.

simply use gmirror and turn this hardware RAID off - to get the same but 
with much greater control and portability.


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


MOXA serial multi-port PCIe boards and FreeBSD 7.0R

2008-03-25 Thread Leonid Satanovsky

Hello, people!
Does anybody know whether any of the MOXAs' serial multi-port PCIe 
boards are supported under FreeBSD 7.0R? //

( non of them was found in sys/dev/puc/pucdata.c )//
-

Thanks in advance!

--les

___
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 safe? Copying a complete install from one HD to another

2008-03-25 Thread James Seward
On Tue, Mar 25, 2008 at 2:55 AM, Norberto Meijome [EMAIL PROTECTED] wrote:
  tar or dump | restore , etc... as long as the different file types (normal, 
 links, sockets,etc) are transferred correctly. the same for user permissions.

I actually did this the other week for similar reasons - smartd was
starting to give warnings on the drive so I bought a new one and used
dump | restore for each partition to move things across. Worked fine
and I now have a happier, quieter and more spacious system :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: RAID on HP ML110 G5

2008-03-25 Thread Nejc Škoberne

Hey Tom,

I would like to run FreeBSD 7 on a HP ML110 G5. I understand from past posts 
to this list that the ML110 series is FreeBSD friendly, but what about RAID 1 
using the on-board SATA controller? Will this work and how do you set this 
up?


I have just configured a ML110G5 with FreeBSD 7 a few days ago. If you try to 
make
a BIOS RAID (create an array in RAID controller BIOS), then FreeBSD won't 
recognize
it as it does not understand the metadata format which controller BIOS uses to
manage the arrays. What you have to do is (having RAID mode in BIOS still 
enabled)
boot the server with FreeBSD 7 CD and then go to Fixit utility. There you can 
create
hardware (see previous posts about this being hardware RAID) RAID with 
atacontrol
utility. This way, FreeBSD will use its own metadata format for the array and 
will
recognize such arrays as arX devices. Restarting the box you can then install
FreeBSD easily on these arX devices like on normal adX or daX devices. So 
remember,
this is not the real FreeBSD software RAID since it is not controlled by 
FreeBSD
kernel but by the SATA/RAID controller. For example, I have 4 drives and I 
created
RAID-0 (stripes) with atacontrol and will merge them (in a few days) into a 
RAID-1
gmirror.

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


Re: make readmes errors

2008-03-25 Thread fire jotawski
On Tue, Mar 25, 2008 at 4:44 AM, Lowell Gilbert 
[EMAIL PROTECTED] wrote:

 fire jotawski [EMAIL PROTECTED] writes:

  On Mon, Mar 24, 2008 at 9:58 PM, Lowell Gilbert 
  [EMAIL PROTECTED] wrote:
 
  fire jotawski [EMAIL PROTECTED] writes:
 
   my machine is FreeBSD siting.oaep.go.th 7.0-RELEASE FreeBSD
 7.0-RELEASE#3:
   Fri Mar  7 03:20:47 ICT 2008
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SITING
   i386
   i try making README.html for all ports but get errors at the last
 state
  as
  
   Creating README.html for all ports
   /usr/ports/Tools/make_readmes : Permission denied
   *** Error code 126
  
   please help me in makeing readme.html
   thanks in advance for any hints.
 
  Sounds like the user running the command doesn't have permissions to
  write into the port directories.
 
 
 
  no sirs, i use root account for running that command.  anywym i try
 running
  again with user root.

 Even for the root user, there are other possible privilege problems.
 You could be running over NFS, with the UID getting remapped.
 There could be file flags set on some of the files you are changing.


thanks indeed but my ports tree is on the same machine not  nfs mounted one.

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


md_ghalib invites you to join Zorpia

2008-03-25 Thread md_ghalib

   
Hi FreeBSD!
Your friend md_ghalib from  , just invited you to  his/her  online photo albums 
and journals at Zorpia.com.



So what is Zorpia?
It is an online community that allows you to upload unlimited amount of photos, 
write journals and make friends. We also have a variety of skins in store for 
you so that you can customize your homepage freely.

Join now for free! Please click the following link to join Zorpia:
http://signup.zorpia.com/signup?invitation_key=2008039ac32c02711d91ff74da97174freferral=mdghalib

This message was delivered with the md_ghalib's initiation.

If you wish to discontinue receiving invitations from us, please click the 
following link:
http://signup.zorpia.com/email/optout/freebsd-questions@freebsd.org

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


jail resource limits

2008-03-25 Thread Ekaterina V. Epifanova
Hello.

Project Jail2 is not updated from september 2006, I mean.. 

Do you have any ideas, how to realize different limits in current jail
(freebsd 7.0 release).

I found method to create limits for disk usage (with using ZFS by Rudy
[EMAIL PROTECTED] ) and CPU usage (perl script by Rudy
[EMAIL PROTECTED] )

But I cannot found methods to limit memory usage =(

can you help me?

Thank you.
And sorry for terrible english =( 


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


Multihoming VPN endpoint

2008-03-25 Thread Curo Technology Support
Hello List,

I have a question regarding setting up a VPN on a multihomed WAN link,
we are thinking about setting up a site with two load balanced ADSL
links that includes a site to site VPN.

Does anyone have any experience in this kind of setup that could offer
up any advice?

Regards

-- 

/*   _ *
* ASCII ribbon campaign ( ) Chris Nicholls *
* Against HTML e-mailX  lynx.neocyber.info *
* www.asciiribbon.org   / \(PGP key available) *
* [EMAIL PROTECTED][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: OpenOffice 2.3

2008-03-25 Thread Mike Barnard
Hi,

Apologies for not responding sooner, i have been away since last week.

Eduardo, i installed if from ports


Which gcc version do you use? I recall that someone described similar
 symptoms on FreeBSD/amd64 with OpenOffice.org compiled using gcc-4.1.
 It was a bug in gcc-4.1; recompiling with gcc-4.2 resolved all problems.


Thanks, im using FreeBSD/i386 using gcc 4.2.1. but im still experiencing
this.


-- 
Mike

Of course, you might discount this possibility, but remember that one in
a million chances happen 99% of the time.

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


Re: Multihoming VPN endpoint

2008-03-25 Thread Steve Bertrand

I have a question regarding setting up a VPN on a multihomed WAN link,
we are thinking about setting up a site with two load balanced ADSL
links that includes a site to site VPN.


Will this multi-home setup be co-ordinated with a single ISP?

The problem with this setup is that most ISP's can not guarantee which 
LNS your ADSL will connect to, ingress traffic may not be load-balanced, 
or may not work at all.



Does anyone have any experience in this kind of setup that could offer
up any advice?


Yes, but we need a few questions answered first.

- one or more ISP's (are you looking for ISP redundancy)
- will this particular site be the VPN end point for the other sites 
(and do you have other ingress traffic to this site, ie web server, 
email server etc)
- is your ISP(s) co-operative when it comes to changing their network to 
suit it's clients

- does your ISP(s) support multi-link (aka bonded, aka bundled) ADSL links
- are you looking strictly for load-balancing, or do you want redundancy too

If you don't get too far here, you may want to migrate the thread over 
to -net.


Regards,

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


Re: Mac osX drivers

2008-03-25 Thread Da Rock

On Mon, 2008-03-24 at 13:49 -0700, Chuck Swiger wrote:
 On Mar 24, 2008, at 1:19 PM, David Kelly wrote:
  On Mon, Mar 24, 2008 at 02:26:23PM +1000, Da Rock wrote:
  I know I keep asking about drivers, but what about Mac drivers? I
  understand that Mac osX is based fairly well on BSD, so would the
  drivers be portable?
 
  Drivers for doing what?
 
  This is all on a current project I'm working on...
 
  Go study the available Darwin code from
  http://www.opensource.apple.com/darwinsource/
 
 This is good advice, but if you check this link and actually look at  
 the OSX drivers under there, you'll discover that they are generally  
 written in C++ using something called the I/O Kit, documented here:
 
 http://developer.apple.com/reference/HardwareDrivers/
 http://developer.apple.com/documentation/DeviceDrivers/Conceptual/IOKitFundamentals
 
  I believe you will discover many of the drivers in MacOS X came from  
  FreeBSD.
 
 Not really, no.  The OS X drivers originated from the Mach project at  
 CMU and NeXT Computer back in the early 90's [1], with a significant  
 rewrite by Apple after they acquired NeXT circa 1998 to add numerous  
 drivers to support Apple's hardware in particular.
 

Thanks for the info guys- looks like I have to keep looking for a
different solution. I do have another question but I will ask this in
another thread.

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


Re: Serial access to a Extreme Nwtworks Switch

2008-03-25 Thread Benjamin Cance

Sam Fourman Jr. wrote:

hello,

 I am Running FreeBSD 7.0, I am trying to gain console access to my
Extreme Networks Switch, the command cu -l /dev/cuad0 -s 9600 , Says
Connected and then does nothing What am I doing Wrong?
I have a Straight through serial cable connected to com1, Does someone
know a quick way to do this From FreeBSD?

the machine is a Dell 1650 if that matters


Thank you in advance for any help

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


With Cisco products, we use a roll-over cable. I am not 100% sure if 
Extreme Networks use the same, but it maybe worth looking into.

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


Re: Serial access to a Extreme Nwtworks Switch

2008-03-25 Thread Vince Hoffman
Benjamin Cance wrote:
 Sam Fourman Jr. wrote:
 hello,

  I am Running FreeBSD 7.0, I am trying to gain console access to my
 Extreme Networks Switch, the command cu -l /dev/cuad0 -s 9600 , Says
 Connected and then does nothing What am I doing Wrong?
 I have a Straight through serial cable connected to com1, Does someone
 know a quick way to do this From FreeBSD?

 the machine is a Dell 1650 if that matters


 Thank you in advance for any help

 Sam Fourman Jr.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
   
 
 With Cisco products, we use a roll-over cable. I am not 100% sure if
 Extreme Networks use the same, but it maybe worth looking into.


Unless they differ from model to model you need a null modem cable.
http://www.extremenetworks.com/libraries/services/AlpineInstall.pdf
http://www.extremenetworks.com/libraries/services/Sumhwv60.pdf
have details of the pinouts, I'd imagine the Hardware installation guide
for your model would also have details.


 ___
 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: Xorg Failed to load module neomagic (Module does not exist, 0) No drivers available

2008-03-25 Thread Lowell Gilbert
Pedro Alves [EMAIL PROTECTED] writes:

 I found this error after making a fresh install of freeBSD7 into my IBM
 THINKPAD600 that has a neomagic graphic card. I never had such problems
 with FreeBSD 6.3.

 Where I find the drivers for the card and how to implement that?

x11-drivers/xf86-video-neomagic perhaps?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: A general purpose LDAP solution?

2008-03-25 Thread Trey Sizemore
On Mon Mar 24, 2008 04:58PM, Tim Judd wrote:
 Jon Theil Nielsen wrote:
 I asked this on freebsd-net@ but got no replies. So now I ask the same
 question here.
   
 Hi list!
 
  
I have speculated a lot about implementation of (Open)LDAP on my
sever. By I haven't yet found the right (and logical) way to do it.
I'm running FreeBSD 7.0-Release with some different server applications
- Samba PDC
- Virtual mail server (Postfix, MySQL, Courier-IMAP)
- VPN (currently with mpd4)
- Apache-2.2.8 web server (with PHP and MySQL)
I would like to implement LDAP for:
- authentication of UNIX/login users
- authentication of Samba users
- authentication/authorization of virtual mail users
For the first part, I got useful information from a previsous thread

 (http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2008-02/msg01047.html)
and for the second part, i guess there is sufficient howtos to make it
work.
My biggest question right now is if is possible to combine all three
things in one data structure. And which in which order I should make
the different implimentions.
Excuse my total lack of understanding, but is it possible to have a
structure with a superior unit such as OU=some organization which
could contain several virtual domains and the actual doamin for my
PDC?
  
--
   Jon Theil Nielsen

 Oh, i forgot one more thing: I would also like to be able to
  authenticate VPN users the same way.
  --
 Jon Theil Nielsen
   

 It's easy to find out if LDAP is a global solution for you.  See if LDAP  
 is an available option in each port's config.

 I just finished setting up a LDAP-based email system.  Samba is capable,  
 unix logins are capable.  There's a good chance everything is.

 I liked the virtual part of everything, so I stopped after getting email  
 working.  I didn't want to open up my system to all sorts of unix/samba  
 logins that might exploit or give me problems.

 The email system I documented isn't ready for publishing.  I'm having  
 some select friends review it and proofread it first.

 If there's any interest here, I will provide a 2nd publishing to the  
 general public as a draft.  Not to be used exclusively yet.

 Jon, you should be able to get most if not all of it working though.

 --Tim

I would like to see the documentation as well.

-- 
Cheers,
Trey

 
The universe is change; our life is what our thoughts make it. 
 --Antoninus, Marcus Aurelius
 
Linux valkyrie 2.6.22.17-0.1-bigsmp i686 GNU/Linux
  9:10am  up  11:11,  7 users,  load average: 0.98, 0.98, 1.06
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: A general purpose LDAP solution?

2008-03-25 Thread Outback Dingo
As would I also like to

On Tue, Mar 25, 2008 at 8:11 PM, Trey Sizemore [EMAIL PROTECTED] wrote:

 On Mon Mar 24, 2008 04:58PM, Tim Judd wrote:
  Jon Theil Nielsen wrote:
  I asked this on freebsd-net@ but got no replies. So now I ask the same
  question here.
 
  Hi list!
 
   
 I have speculated a lot about implementation of (Open)LDAP on my
 sever. By I haven't yet found the right (and logical) way to do it.
 I'm running FreeBSD 7.0-Release with some different server
 applications
 - Samba PDC
 - Virtual mail server (Postfix, MySQL, Courier-IMAP)
 - VPN (currently with mpd4)
 - Apache-2.2.8 web server (with PHP and MySQL)
 I would like to implement LDAP for:
 - authentication of UNIX/login users
 - authentication of Samba users
 - authentication/authorization of virtual mail users
 For the first part, I got useful information from a previsous
 thread
 (
 http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2008-02/msg01047.html
 )
 and for the second part, i guess there is sufficient howtos to make
 it
 work.
 My biggest question right now is if is possible to combine all
 three
 things in one data structure. And which in which order I should
 make
 the different implimentions.
 Excuse my total lack of understanding, but is it possible to have a
 structure with a superior unit such as OU=some organization which
 could contain several virtual domains and the actual doamin for my
 PDC?
   
 --
Jon Theil Nielsen
 
  Oh, i forgot one more thing: I would also like to be able to
   authenticate VPN users the same way.
   --
  Jon Theil Nielsen
 
 
  It's easy to find out if LDAP is a global solution for you.  See if LDAP
  is an available option in each port's config.
 
  I just finished setting up a LDAP-based email system.  Samba is capable,
  unix logins are capable.  There's a good chance everything is.
 
  I liked the virtual part of everything, so I stopped after getting email
  working.  I didn't want to open up my system to all sorts of unix/samba
  logins that might exploit or give me problems.
 
  The email system I documented isn't ready for publishing.  I'm having
  some select friends review it and proofread it first.
 
  If there's any interest here, I will provide a 2nd publishing to the
  general public as a draft.  Not to be used exclusively yet.
 
  Jon, you should be able to get most if not all of it working though.
 
  --Tim

 I would like to see the documentation as well.

 --
 Cheers,
 Trey
 

 The universe is change; our life is what our thoughts make it.
 --Antoninus, Marcus Aurelius

 Linux valkyrie 2.6.22.17-0.1-bigsmp i686 GNU/Linux
  9:10am  up  11:11,  7 users,  load average: 0.98, 0.98, 1.06
 ___
 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: media conversion utilities in the ports

2008-03-25 Thread Andrew Falanga
On Sun, Mar 23, 2008 at 5:19 AM, Roland Smith [EMAIL PROTECTED] wrote:
 On Sun, Mar 23, 2008 at 07:26:20PM +1000, Da Rock wrote:
  
   On Sun, 2008-03-23 at 09:41 +0100, Michaël Grünewald wrote:
Andrew Falanga a écrit :
 Hi,

 A few quick searches on freshports.org didn't turn up much so I'm
 hoping that the knowledge here will eclipse it.  Are there any good,
 or workable, scriptable WMA to MP3 converter programs in ports?
   
Mplayer pretends it can handle WMA files, however I did not try this
feature. See multimedia/mplayer, it installs an `mencoder' program you
might be interested in.
  
   you need the win32 codecs to make this work though.

  No you don't. The built-in ffmpeg can handle it:

  uname -a
  FreeBSD slackbox.xs4all.nl 7.0-STABLE FreeBSD 7.0-STABLE #0: Fri Feb 29
  01:45:32 CET 2008  amd64

  Note: win32 codecs don't even work on amd64!

  mplayer foo.wma
  MPlayer 1.0rc2-4.2.1 (C) 2000-2007 MPlayer Team
  CPU: AMD Athlon(tm) 64 Processor 4000+ (Family: 15, Model: 39, Stepping: 1)
  CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
  Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2

  Playing foo.wma.
  ASF file format detected.
  [asfheader] Audio stream found, -aid 1
  Clip info:
   name: x
   author: 
  ==
  Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
  AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16002-176400)
  Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
  ==
  AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
  Video: no video
  Starting playback...


Thanks everyone.  This is great.

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: Where to rent the best dedicated servers?

2008-03-25 Thread Ray Seals
I recommend MediaTemple (http://www.mediatemple.net).

Great customer service and they communicate any problems or issues via the
blog so you can have it in an RSS feed which is nice.  They also have grid
computing and containers for Ruby on Rails and MySQL instances so once you
out grow your current setup you can have it spread across several machines.

On Mon, Mar 24, 2008 at 5:24 PM, Kyrre Nygård [EMAIL PROTECTED]
wrote:

 Excellent choice...

 But so far it looks like I'll be going for http://www.m5hosting.com.

 Small is the new big, might wanna Google that. Besides, they look so
 simple!

 Kyrre

 - Original Message -
 From: Bill Moran [EMAIL PROTECTED]
 Date: Tuesday, March 25, 2008 4:28 am
 Subject: Re: Where to rent the best dedicated servers?
 To:  Kyrre Nygård  [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED],
 [EMAIL PROTECTED]

  In response to Kyrre Nygård [EMAIL PROTECTED]:
 
   Sorry, I really don't know where else to ask.
  
   I've been using Staminus for a while now and I've had it with
  the downtime.
  
   Basically I want a place to host my Ruby on Rails / Git
  projects, an IRC server as well as an internet radio channel.
  
   Simple website / control panel design is ofcourse a plus. None
  of that cpanel bullshit though, I prefer to meddle around with
  simple text files the way it's meant to be done.
  
   So, layeredtech.com? rackspace.com?
 
  pair.com ?
 
  --
  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 freebsd-questions-
  [EMAIL PROTECTED]
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]




-- 
Ray Seals
-
Office: 314-594-0150 (St. Louis Area)
866-875-8863 (toll free)
Fax: 253-681-9982
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Distcc + cross compiling

2008-03-25 Thread James Harrison
On Tue, 2008-03-25 at 07:17 +0100, Wael Nasreddine wrote:
 Hello,
 
 I have a FreeBSD x86 server, running FreeBSD 7.0-RELEASE, I'd like to
 create a new jail with distcc and gcc to help my laptop compiling
 gentoo x86 stuff, I'm using GCC 4.2.3 on my laptop...
 
 is it possible to use FreeBSD for compiling gentoo's stuff?? I heard
 of cross-compiling but I have never tried it... if so, any guide
 please ??
 
 Thanks :)
 
Cross compiling refers to the practice of compiling on one hardware
architecture for another hardware architecture, typically going from x86
to ARM I'd imagine.

In this case, FreeBSD and gentoo put libraries in different places, call
libraries by different names, and use an entirely different system of
makefiles for packages. As such, I imagine that either you'd be better
off making a virtual machine with gentoo installed in it on your FreeBSD
box and compiling from there, or it's possible you could compile static
binaries and use those.

I'm not an expert on jails by any means, but my understanding is that
the only OS you can use within a jail is FreeBSD, as all jailees share a
common kernel.

Best

James

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


Working /etc/pam.d/sshd file with pam_ldap 6.3 or 7.0 ?

2008-03-25 Thread Frank Bonnet

Hello

I can't get a working sshd access using pam_ldap and nss_ldap

/etc/nsswitch.conf is OK

but I'm having difficulties to configure pam_ldap for a ssh access
on a machine ( 6.3 or 7.0 ) ... I have been trying a lot to configure
the /etc/pam.d/sshd file but haven't any success (sigh!)

Anyone could helps ?

Thanks a lot !


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


portupgrade gnome-panel from 2.20.3 to latest version fail on FB7-stable

2008-03-25 Thread Kemian Dang
Hi everyone,

I try to upgrade gnome2 using portupgrade, but it fails at gnome-panel.
It get undefined reference which can be seen at output below.
I use the lastest cvsup sorce.
Does anyone encounter the same thing?

Regards,
Kemian

clock_applet-clock.o(.text+0x2b9e): In function
`ensure_prefs_window_is_created':
: undefined reference to `gweather_prefs_get_temp_display_name'
clock_applet-clock.o(.text+0x2cce): In function
`ensure_prefs_window_is_created':
: undefined reference to `gweather_prefs_get_speed_display_name'
clock_applet-clock.o(.text+0x48c5): In function `location_weather_updated_cb':
: undefined reference to `weather_info_get_icon_name'
clock_applet-clock.o(.text+0x56fb): In function `parse_and_set_speed_string':
: undefined reference to `gweather_prefs_parse_speed'
clock_applet-clock.o(.text+0x57fb): In function
`parse_and_set_temperature_string':
: undefined reference to `gweather_prefs_parse_temperature'
clock_applet-clock-location-tile.o(.text+0x22): In function
`weather_info_setup_tooltip':
: undefined reference to `weather_info_get_icon_name'
clock_applet-clock-location-tile.o(.text+0x54c): In function
`update_weather_icon':
: undefined reference to `weather_info_get_icon_name'
gmake[5]: *** [clock-applet] Error 1
gmake[5]: Leaving directory
`/usr/ports/x11/gnome-panel/work/gnome-panel-2.22.0/applets/clock'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory
`/usr/ports/x11/gnome-panel/work/gnome-panel-2.22.0/applets/clock'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory
`/usr/ports/x11/gnome-panel/work/gnome-panel-2.22.0/applets/clock'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/usr/ports/x11/gnome-panel/work/gnome-panel-2.22.0/applets'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/x11/gnome-panel/work/gnome-panel-2.22.0'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/x11/gnome-panel.
*** Error code 1

Stop in /usr/ports/x11/gnome-panel.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade.7812.0 env UPGRADE_TOOL=portupgrade
UPGRADE_PORT=gnome-panel-2.20.3 UPGRADE_PORT_VER=2.20.3 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! x11/gnome-panel (gnome-panel-2.20.3)  (linker error)
%sudo portversion |grep 
%sudo portversion | grep 
deskbar-applet  
fast-user-switch-applet 
gnome-applets   
gnome-control-center
gnome-games 
gnome-keyring-manager   
gnome-panel 
gnome-power-manager 
gnome-session   
gnome2  
py25-gnome-desktop  
seahorse
tomboy  
totem   
vino
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Working /etc/pam.d/sshd file with pam_ldap 6.3 or 7.0 ?

2008-03-25 Thread Brian A. Seklecki
The problem is that the PAM libraries provide a shit-fuck-ass-worthless
debug mechanisms.  This only eclipsed by the terribly organized
information on LDAP+NSS+PAM for FreeBSD on the web.

The file is the same for pam.d/system and /usr/local/etc/pam.d/sudo.
Please put this on the OpenLDAP / PADL Wiki somewhere:

[EMAIL PROTECTED]:/home/seklecki$ more /etc/pam.d/sshd 


# $FreeBSD: src/etc/pam.d/sshd,v 1.15 2003/04/30 21:57:54 markm Exp $
#
# PAM configuration for the sshd service
#

# auth
#auth   requiredpam_nologin.so  no_warn
#auth   sufficient  pam_opie.so no_warn
no_fake_prompts
#auth   requisite   pam_opieaccess.so   no_warn
allow_local
#auth   sufficient  pam_krb5.so no_warn
try_first_pass
#auth   sufficient  pam_ssh.so  no_warn
try_first_pass
authsufficient  /usr/local/lib/pam_ldap.so 
authrequiredpam_unix.so no_warn
try_first_pass

# account
#accountrequiredpam_krb5.so
account requiredpam_login_access.so
account required   /usr/local/lib/pam_ldap.so
ignore_authinfo_unavail ignore_unknown_user
account requiredpam_unix.so

# session
#sessionoptionalpam_ssh.so
session requiredpam_permit.so
session sufficient  /usr/local/lib/pam_ldap.so no_warn
try_first_pass

# password
#password   sufficient  pam_krb5.so no_warn
try_first_pass
passwordrequiredpam_unix.so no_warn
try_first_pass
#password required  /usr/local/lib/pam_ldap.so no_warn
try_first_pass


Also try:

$ grep -i debug /usr/local/etc/ldap.conf
#debug 1
$ grep -i debug /usr/local/etc/nss_ldap.conf
#debug 1


Higher levels for fun.

~BAS


On Tue, 2008-03-25 at 15:34 +0100, Frank Bonnet wrote:
 Hello
 
 I can't get a working sshd access using pam_ldap and nss_ldap
 
 /etc/nsswitch.conf is OK
 
 but I'm having difficulties to configure pam_ldap for a ssh access
 on a machine ( 6.3 or 7.0 ) ... I have been trying a lot to configure
 the /etc/pam.d/sshd file but haven't any success (sigh!)
 
 Anyone could helps ?
 
 Thanks a lot !
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
-- 
Brian A. Seklecki [EMAIL PROTECTED]
Collaborative Fusion, Inc.

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


Re: Distcc + cross compiling

2008-03-25 Thread Wael Nasreddine
This One Time, at Band Camp, James Harrison [EMAIL PROTECTED] said, On Tue, 
Mar 25, 2008 at 08:03:46AM -0600:
 On Tue, 2008-03-25 at 07:17 +0100, Wael Nasreddine wrote:
  Hello,

  I have a FreeBSD x86 server, running FreeBSD 7.0-RELEASE, I'd like to
  create a new jail with distcc and gcc to help my laptop compiling
  gentoo x86 stuff, I'm using GCC 4.2.3 on my laptop...

  is it possible to use FreeBSD for compiling gentoo's stuff?? I heard
  of cross-compiling but I have never tried it... if so, any guide
  please ??

  Thanks :)

 Cross compiling refers to the practice of compiling on one hardware
 architecture for another hardware architecture, typically going from x86
 to ARM I'd imagine.

 In this case, FreeBSD and gentoo put libraries in different places, call
 libraries by different names, and use an entirely different system of
 makefiles for packages. As such, I imagine that either you'd be better
 off making a virtual machine with gentoo installed in it on your FreeBSD
 box and compiling from there, or it's possible you could compile static
 binaries and use those.

 I'm not an expert on jails by any means, but my understanding is that
 the only OS you can use within a jail is FreeBSD, as all jailees share a
 common kernel.

 Best

 James

Oh, I didn't know the difference thanks, I'll try working on a gentoo
chroot inside a Jail, and create a new rc.d to start the distcc of
that chroot, thx :)

P.S: isn't there a Reply to List in evolution?? emails sent to the
mailing list with evolution ( I'm not sure if all of them but yours
did and a lot before has the same issue. ) doesn'tpass the checks I
have in my procmail setting (attached) and end up in a wrong folder...

-- 
Wael Nasreddine
http://wael.nasreddine.com
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

/ö\ I'm a cat person, myself, she said, vaguely. A low-level voice said:
/ö\ Yeah? Yeah? Wash in your own spit, do you?
/ö\ -- It's a dog's life
/ö\(Terry Pratchett, Moving Pictures)
# vim:ft=procmail:fenc=UTF-8:ts=4:sts=4:sw=4:expandtab:
#
# $Id: rc.lists 60 2007-05-28 07:26:19Z wael $

# Mailing Lists (misc rules found here and there)
:0
* ^X-Mailing-List-Name: \/[EMAIL PROTECTED]
$MAILDIR/.List.`echo $MATCH | sed -e 's/[\/]/_/g'`/

:0
* ^Sender: owner-\/[EMAIL PROTECTED]
$MAILDIR/.List.`echo $MATCH | sed -e 's/[\/]/_/g'`/

:0
* ^X-BeenThere: \/[EMAIL PROTECTED]
$MAILDIR/.List.`echo $MATCH | sed -e 's/[\/]/_/g'`/

:0
* ^Delivered-To: mailing list \/[EMAIL PROTECTED]
$MAILDIR/.List.`echo $MATCH | sed -e 's/[\/]/_/g'`/

:0
* ^X-Mailing-List: \/[EMAIL PROTECTED]
$MAILDIR/.List.`echo $MATCH | sed -e 's/[\/]/_/g'`/

:0
* ^X-Loop: \/[EMAIL PROTECTED]
$MAILDIR/.List.`echo $MATCH | sed -e 's/[\/]/_/g'`/

:0
* ^X-List-ID: \/[EMAIL PROTECTED]
$MAILDIR/.List.`echo $MATCH | sed -e 's/[\/]/_/g'`/

:0
* ^X-list: \/[EMAIL PROTECTED]
$MAILDIR/.List.`echo $MATCH | sed -e 's/[\/]/_/g'`/

:0
* ^List-ID: \/[EMAIL PROTECTED]
$MAILDIR/.List.`echo $MATCH | sed -e 's/[\/]/_/g'`/


pgpx4J3FLkpM6.pgp
Description: PGP signature


portupgrade gnome-panel from 2.20.3 to latest version fail on FB7-stable

2008-03-25 Thread Robert Huff

See /usr/ports/UPDATING.


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: portupgrade gnome-panel from 2.20.3 to latest version fail on FB7-stable

2008-03-25 Thread Kemian Dang
Thank you for quick response, I really forget to see this useful file...

Best wishes,
Kemian

On 25/03/2008, Robert Huff [EMAIL PROTECTED] wrote:

 See /usr/ports/UPDATING.



 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: Working /etc/pam.d/sshd file with pam_ldap 6.3 or 7.0 ?

2008-03-25 Thread Brian A. Seklecki

On Tue, 2008-03-25 at 16:31 +0100, Frank Bonnet wrote:
 Hello Brian
 
 Thanks for the quick answer but I'm still in trouble

Turn on the debugging flags in the configuration file for pam_ldap
in /usr/local/etc and watch the console on the system.

~BAS


 we I try to ssh connect to the machine I fall in a loop
 like the following
 
 panzer:~ ssh  [EMAIL PROTECTED]
 Password:
 Old Password:
 Password:
 Old Password:
 Password:
 
 I am SURE the password I type works
 
 
 
 
 Brian A. Seklecki wrote:
  The problem is that the PAM libraries provide a shit-fuck-ass-worthless
  debug mechanisms.  This only eclipsed by the terribly organized
  information on LDAP+NSS+PAM for FreeBSD on the web.
  
  The file is the same for pam.d/system and /usr/local/etc/pam.d/sudo.
  Please put this on the OpenLDAP / PADL Wiki somewhere:
  
  [EMAIL PROTECTED]:/home/seklecki$ more /etc/pam.d/sshd 
  
  
  # $FreeBSD: src/etc/pam.d/sshd,v 1.15 2003/04/30 21:57:54 markm Exp $
  #
  # PAM configuration for the sshd service
  #
  
  # auth
  #auth   requiredpam_nologin.so  no_warn
  #auth   sufficient  pam_opie.so no_warn
  no_fake_prompts
  #auth   requisite   pam_opieaccess.so   no_warn
  allow_local
  #auth   sufficient  pam_krb5.so no_warn
  try_first_pass
  #auth   sufficient  pam_ssh.so  no_warn
  try_first_pass
  authsufficient  /usr/local/lib/pam_ldap.so 
  authrequiredpam_unix.so no_warn
  try_first_pass
  
  # account
  #accountrequiredpam_krb5.so
  account requiredpam_login_access.so
  account required   /usr/local/lib/pam_ldap.so
  ignore_authinfo_unavail ignore_unknown_user
  account requiredpam_unix.so
  
  # session
  #sessionoptionalpam_ssh.so
  session requiredpam_permit.so
  session sufficient  /usr/local/lib/pam_ldap.so no_warn
  try_first_pass
  
  # password
  #password   sufficient  pam_krb5.so no_warn
  try_first_pass
  passwordrequiredpam_unix.so no_warn
  try_first_pass
  #password required  /usr/local/lib/pam_ldap.so no_warn
  try_first_pass
  
  
  Also try:
  
  $ grep -i debug /usr/local/etc/ldap.conf
  #debug 1
  $ grep -i debug /usr/local/etc/nss_ldap.conf
  #debug 1
  
  
  Higher levels for fun.
  
  ~BAS
  
  
  On Tue, 2008-03-25 at 15:34 +0100, Frank Bonnet wrote:
  Hello
 
  I can't get a working sshd access using pam_ldap and nss_ldap
 
  /etc/nsswitch.conf is OK
 
  but I'm having difficulties to configure pam_ldap for a ssh access
  on a machine ( 6.3 or 7.0 ) ... I have been trying a lot to configure
  the /etc/pam.d/sshd file but haven't any success (sigh!)
 
  Anyone could helps ?
 
  Thanks a lot !
 
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 
-- 
Brian A. Seklecki [EMAIL PROTECTED]
Collaborative Fusion, Inc.

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


What is a good printer/all-in-one?

2008-03-25 Thread Isaac Mushinsky
My 10-year-old deskjet being out of ink and probably not worth a replacement
cartridge (it works, but makes some mechanical noise lately), I am
considering a reasonable replacement, preferably with scanning/copy
possibilities.

I tried to get Photosmart C4280, but while I was trying a faulty printcap on
it, it lost its mind permanently (says 'incompatible print cartridges', and
does not respond to the button combinations that HP support thinks should
reset it). Besides, you can either attach it as ulpt or uscanner device, or
play with hplip drivers as a generic device, but it seems too
confusing. It was a waste of time and money for me and I am going to return
it.

Requirements:
1. Reasonable physical size (should not be much larger than the old
deskjet).
2. Either network/lpd or USB, scanner should be well supported by sane. If
used via USB, it should be a compound device (i.e. printer, scanner and, if
there, the umass device should appear as separate devices to avoid
kld-loading and unloading modules). I heard Epsons show up as compound
devices? any HP laserjets?
3. Reasonable maintenance cost (maybe a laser printer, I do not care for
color printing that much).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How do I add search paths to gcc

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

Eduardo Cerejo wrote:
 On Fri, 21 Mar 2008 18:31:54 -0400
 Chuck Robey [EMAIL PROTECTED] wrote:
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 mdh wrote:
 --- Eduardo Cerejo [EMAIL PROTECTED] wrote:

 My gcc is only looking in /usr/lib and /usr/include
 for libraries and hearders and I added the paths
 /usr/local/lib/ and /usr/local/include to my .cshrc
 file:

 set path = (/sbin /bin /usr/sbin /usr/bin /usr/games
 /usr/local/sbin /usr/local/bin /usr/local/lib
 /usr/local/include $HOME/bin)
 PATH in the environment is where your shell searches
 for programs to run from the command line, system(),
 etc.  This allows you to type, say, `sh` instead of
 having to type out `/bin/sh` or risking having
 `/home/somekiddie/sh` run instead when you type it.  

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

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

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

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

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

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

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

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

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

 Take care, mdh
 
 Here's what the book I'm reading says:
 
 The search paths for header files and libraries can also be controlled 
 through environment variables in the shell. These may be set automatically 
 for each session using the appropriate login file, such as 
 \u2018.bash_profile\u2019 in the case of GNU Bash.
 
 Additional directories can be added to the include path using the environment 
 variable C_INCLUDE_PATH (for C header files) or CPLUS_INCLUDE_PATH (for C++ 
 header files). For example, the following commands will add 
 \u2018/opt/gdbm-1.8.3/include\u2019 to the include path when compiling C 
 programs:
 
 $ C_INCLUDE_PATH=/opt/gdbm-1.8.3/include 
 $ export C_INCLUDE_PATH
 
 and similarly for C++ programs:
 
 $ CPLUS_INCLUDE_PATH=/opt/gdbm-1.8.3/include 
 $ export CPLUS_INCLUDE_PATH
 
 This directory will be searched after any directories specified on the 
 command line with the option -I, and before the standard default directories 
 (such as \u2018/usr/local/include\u2019 and \u2018/usr/include\u2019). The 
 shell command export is needed to make the environment variable available to 
 programs outside the shell itself, such as the compiler--it is only needed 
 once for each variable in each shell session, and can also be set in the 
 appropriate login file.(8)
 
 Similarly, additional directories can be added to the link path using the 
 environment variable LIBRARY_PATH. For example, the following commands will 
 add \u2018/opt/gdbm-1.8.3/lib\u2019 to the link path:
 
 $ LIBRARY_PATH=/opt/gdbm-1.8.3/lib
 $ export LIBRARY_PATH
 
 This directory will be searched after any directories specified on the 
 command line with the option -L, and before the standard default directories 
 (such as \u2018/usr/local/lib\u2019 and \u2018/usr/lib\u2019).
 
 With the environment variable settings given above the program 
 \u2018dbmain.c\u2019 can be compiled without the -I and -L options,
 
 $ gcc -Wall dbmain.c -lgdbm

No, I can't tell for certain if you know all the points or not, so I'm going to
h ave to assume you don't.  First point, there are NO variables that are always
automatically 

Re: A general purpose LDAP solution?

2008-03-25 Thread Christopher Sean Hilton


On Mar 24, 2008, at 6:40 PM, Jon Theil Nielsen wrote:


I asked this on freebsd-net@ but got no replies. So now I ask the same
question here.

Hi list!

I have speculated a lot about implementation of (Open)LDAP on my
sever. By I haven't yet found the right (and logical) way to do it.
I'm running FreeBSD 7.0-Release with some different server  
applications

- Samba PDC
- Virtual mail server (Postfix, MySQL, Courier-IMAP)
- VPN (currently with mpd4)
- Apache-2.2.8 web server (with PHP and MySQL)
I would like to implement LDAP for:
- authentication of UNIX/login users
- authentication of Samba users
- authentication/authorization of virtual mail users
For the first part, I got useful information from a previsous thread
(http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2008-02/msg01047.html 
)
and for the second part, i guess there is sufficient howtos to make  
it

work.



Tim Judd's advice is good for a start. I'm currently using ldap for  
authentication of:


 Jabber (directly)
 WebDAV (through Apache2's mod_auth_ldap)
 inbound email (imap/pop)
 outbound email (smtp+auth)

As a general rule the experience has been very positive. The biggest  
issues that I've run into are maintenance of the underlying ldap  
database which involves keeping tiny ldif files scattered around.  
Certainly the biggest hassle is in doing ldapadd and ldapmodify from  
the command line with all the torturous options that you have to  
provide (BindDn, BindPassword, TargetDN).


Nonetheless it's been a generally positive experience. In looking at  
your list of applications it seems that most of them will support ldap  
authentication directly. Mpd4 doesn't but it does support Radius so it  
looks like you'll have to build radius to authenticate against LDAP  
and then have mpd4 authenticate against radius. SMTP is similar. It  
doesn't support authentication via LDAP directly. It uses SASL which  
can also authenticate against LDAP.



My biggest question right now is if is possible to combine all three
things in one data structure. And which in which order I should make
the different implimentions.
Excuse my total lack of understanding, but is it possible to have a
structure with a superior unit such as OU=some organization which
could contain several virtual domains and the actual doamin for my
PDC?



The answer to this question would be a set of non-conflicting ldap  
schemas to support the functions that you need. If your needs are  
simple authentication the schemas that ship with openldap will provide  
fruit. If you want to make ldap your database for delivering mail to  
virtual users there are a few path's out there. Courier had/has a  
schema for supporting virtual users that could be banged into shape  
but if I recall correctly it's support for keeping virtual domain  
information in ldap is lacking. Phamm, /usr/ports/net/phamm completely  
supports virtual domains and virtual users including delegation of  
user management. E.g. the user [EMAIL PROTECTED] can reset  
passwords for user@example.com. Phamm also has a neat web interface  
for administration. However, when I was setting it up I found it more  
overly complex for my needs. Like using a Formula 1 car for a grocery  
run. However I think that it even works with the Samba schema so it  
may be exactly what you want.



--
Jon Theil Nielsen


Oh, i forgot one more thing: I would also like to be able to
authenticate VPN users the same way.


mpd4 + radius + ldap should get you where you want to be.

-- Chris

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


Re: What is a good printer/all-in-one?

2008-03-25 Thread herbert langhans
Hi Isaac,
this is a good start:
http://www.linux-foundation.org/en/OpenPrinting

In the 'printer' section you find a ranking and evaluation how the printers do 
on unixoid systems.

Cheers
herbs

mount -t wbush /dev/whitehouse /dev/nul


On Tue, 25 Mar 2008 12:12:52 -0400
Isaac Mushinsky [EMAIL PROTECTED] wrote:

 My 10-year-old deskjet being out of ink and probably not worth a replacement
 cartridge (it works, but makes some mechanical noise lately), I am
 considering a reasonable replacement, preferably with scanning/copy
 possibilities.
 
 I tried to get Photosmart C4280, but while I was trying a faulty printcap on
 it, it lost its mind permanently (says 'incompatible print cartridges', and
 does not respond to the button combinations that HP support thinks should
 reset it). Besides, you can either attach it as ulpt or uscanner device, or
 play with hplip drivers as a generic device, but it seems too
 confusing. It was a waste of time and money for me and I am going to return
 it.
 
 Requirements:
 1. Reasonable physical size (should not be much larger than the old
 deskjet).
 2. Either network/lpd or USB, scanner should be well supported by sane. If
 used via USB, it should be a compound device (i.e. printer, scanner and, if
 there, the umass device should appear as separate devices to avoid
 kld-loading and unloading modules). I heard Epsons show up as compound
 devices? any HP laserjets?
 3. Reasonable maintenance cost (maybe a laser printer, I do not care for
 color printing that much).
 ___
 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]


remote logging with syslogd

2008-03-25 Thread Brad Pitney
Hi,

somehow I have miss-understood how to get syslogd to recieve logs from
another host, well my actual problem is syslog bitching likse this:
Mar 25 01:00:00 kern.emerg  syslogd: unknown priority name 
Mar 25 05:00:00 kern.emerg  syslogd: unknown priority name 
Mar 25 09:00:01 kern.emerg  syslogd: unknown priority name 
Mar 25 13:00:00 kern.emerg  syslogd: unknown priority name 
Mar 25 17:00:00 kern.emerg  syslogd: unknown priority name 

syslog.conf:
*
#+oxdeadbeef
*.err;kern.warning;auth.notice;mail.crit   /var/log/console
*.notice;authpriv.none;kern.debug  /var/log/messages
security.* /var/log/security
auth.info;authpriv.info/var/log/auth.log
mail.info  /var/log/maillog
lpr.info   /var/log/lpderrs
ftp.info   /var/log/xferlog
 cron.*/var/log/cron
*.=debug   /var/log/debug
!syslogd
*.*/var/log/syslog
*

#+nub01
*.err;kern.warning;auth.notice;mail.crit   /var/log/nub01/console
*.notice;authpriv.none;kern.debug  /var/log/nub01/messages
security.* /var/log/nub01/security
auth.info;authpriv.info/var/log/nub01/auth
mail.info  /var/log/nub01/mail
cron.* /var/log/nub01/cron
*.=debug   /var/log/nub01/debug
*

syslogd_flags=-vv -4 -A -a 192.0.2.0/24 -b oxdeadbeef

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


Re: What is a good printer/all-in-one?

2008-03-25 Thread Isaac Mushinsky
Yes, I saw that. But FreeBSD is not linux, and using multiple drivers for
the same device is more of a problem for us. HPLIP, on the other hand,
requires bare ugen, not loading ulpt or uscanner or perhaps even umass, a
very unnatural and cumbersome thing for me (I want umass, and I also
sometimes use a Nikon photo film scanner, which work via sane).

Thus I am looking for a network device, or if USB, then it should appear as
separate uscanner/ulpt/umass.

On Tue, Mar 25, 2008 at 1:08 PM, herbert langhans [EMAIL PROTECTED]
wrote:

 Hi Isaac,
 this is a good start:
 http://www.linux-foundation.org/en/OpenPrinting

 In the 'printer' section you find a ranking and evaluation how the
 printers do on unixoid systems.

 Cheers
 herbs

 mount -t wbush /dev/whitehouse /dev/nul


 On Tue, 25 Mar 2008 12:12:52 -0400
 Isaac Mushinsky [EMAIL PROTECTED] wrote:

   My 10-year-old deskjet being out of ink and probably not worth a
 replacement
  cartridge (it works, but makes some mechanical noise lately), I am
  considering a reasonable replacement, preferably with scanning/copy
  possibilities.
 
  I tried to get Photosmart C4280, but while I was trying a faulty
 printcap on
  it, it lost its mind permanently (says 'incompatible print cartridges',
 and
  does not respond to the button combinations that HP support thinks
 should
  reset it). Besides, you can either attach it as ulpt or uscanner device,
 or
  play with hplip drivers as a generic device, but it seems too
  confusing. It was a waste of time and money for me and I am going to
 return
  it.
 
  Requirements:
  1. Reasonable physical size (should not be much larger than the old
  deskjet).
  2. Either network/lpd or USB, scanner should be well supported by sane.
 If
  used via USB, it should be a compound device (i.e. printer, scanner and,
 if
  there, the umass device should appear as separate devices to avoid
  kld-loading and unloading modules). I heard Epsons show up as compound
  devices? any HP laserjets?
  3. Reasonable maintenance cost (maybe a laser printer, I do not care for
  color printing that much).
   ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]

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


Re: A general purpose LDAP solution?

2008-03-25 Thread Robert Jesacher
You could follow one of the general purpose samba-ldap documentations
out there, because AFAIK samba is the most influencing service to depend
on ldap. I cannot recall what I used but you can have a look at:

http://gentoo-wiki.com/HOWTO_LDAP_SAMBA_PDC_Basic_Setup
http://www.samba-ldap.de/samba-3-pdc-mit-ldap.html

the first one covers gentoo, the latter is written in german... but you
get the point.

One suggestion from my side is to use a OU base instead of DC based if
you are using multiple (internet-)domains.

To specify who can use what service, you can use ldap query-filters (eg.
for apache create a group webusers and so on)

At tme moment I use openldap for web, mail (Postfix  cyrus-imap), samba
and a per user address-book. Kerberos (heimdal) and radius is also
possible, but I do not use it at the moment.

If you require it, I can provide you with more information or even
relevant parts of the config-files.

br,
Robert Jesacher




On 25/03/2008 14:38 Outback Dingo wrote:
 As would I also like to
 
 On Tue, Mar 25, 2008 at 8:11 PM, Trey Sizemore [EMAIL PROTECTED] wrote:
 
 On Mon Mar 24, 2008 04:58PM, Tim Judd wrote:
 Jon Theil Nielsen wrote:
 I asked this on freebsd-net@ but got no replies. So now I ask the same
 question here.

 Hi list!

  
I have speculated a lot about implementation of (Open)LDAP on my
sever. By I haven't yet found the right (and logical) way to do it.
I'm running FreeBSD 7.0-Release with some different server
 applications
- Samba PDC
- Virtual mail server (Postfix, MySQL, Courier-IMAP)
- VPN (currently with mpd4)
- Apache-2.2.8 web server (with PHP and MySQL)
I would like to implement LDAP for:
- authentication of UNIX/login users
- authentication of Samba users
- authentication/authorization of virtual mail users
For the first part, I got useful information from a previsous
 thread
(
 http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2008-02/msg01047.html
 )
and for the second part, i guess there is sufficient howtos to make
 it
work.
My biggest question right now is if is possible to combine all
 three
things in one data structure. And which in which order I should
 make
the different implimentions.
Excuse my total lack of understanding, but is it possible to have a
structure with a superior unit such as OU=some organization which
could contain several virtual domains and the actual doamin for my
PDC?
  
--
   Jon Theil Nielsen

 Oh, i forgot one more thing: I would also like to be able to
  authenticate VPN users the same way.
  --
 Jon Theil Nielsen

 It's easy to find out if LDAP is a global solution for you.  See if LDAP
 is an available option in each port's config.

 I just finished setting up a LDAP-based email system.  Samba is capable,
 unix logins are capable.  There's a good chance everything is.

 I liked the virtual part of everything, so I stopped after getting email
 working.  I didn't want to open up my system to all sorts of unix/samba
 logins that might exploit or give me problems.

 The email system I documented isn't ready for publishing.  I'm having
 some select friends review it and proofread it first.

 If there's any interest here, I will provide a 2nd publishing to the
 general public as a draft.  Not to be used exclusively yet.

 Jon, you should be able to get most if not all of it working though.

 --Tim
 I would like to see the documentation as well.

 --
 Cheers,
 Trey
 

 The universe is change; our life is what our thoughts make it.
 --Antoninus, Marcus Aurelius

 Linux valkyrie 2.6.22.17-0.1-bigsmp i686 GNU/Linux
  9:10am  up  11:11,  7 users,  load average: 0.98, 0.98, 1.06
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]

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

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


Re: A general purpose LDAP solution?

2008-03-25 Thread Outback Dingo
GOSA is another nice feature full LDAP manager in PHP, does samba, dns,
mail, web, asterisk etc etc etc

On Wed, Mar 26, 2008 at 12:02 AM, Christopher Sean Hilton 
[EMAIL PROTECTED] wrote:


 On Mar 24, 2008, at 6:40 PM, Jon Theil Nielsen wrote:

  I asked this on freebsd-net@ but got no replies. So now I ask the same
  question here.
  Hi list!
 
  I have speculated a lot about implementation of (Open)LDAP on my
  sever. By I haven't yet found the right (and logical) way to do it.
  I'm running FreeBSD 7.0-Release with some different server
  applications
  - Samba PDC
  - Virtual mail server (Postfix, MySQL, Courier-IMAP)
  - VPN (currently with mpd4)
  - Apache-2.2.8 web server (with PHP and MySQL)
  I would like to implement LDAP for:
  - authentication of UNIX/login users
  - authentication of Samba users
  - authentication/authorization of virtual mail users
  For the first part, I got useful information from a previsous thread
  (
 http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2008-02/msg01047.html
  )
  and for the second part, i guess there is sufficient howtos to make
  it
  work.
 

 Tim Judd's advice is good for a start. I'm currently using ldap for
 authentication of:

  Jabber (directly)
  WebDAV (through Apache2's mod_auth_ldap)
  inbound email (imap/pop)
  outbound email (smtp+auth)

 As a general rule the experience has been very positive. The biggest
 issues that I've run into are maintenance of the underlying ldap
 database which involves keeping tiny ldif files scattered around.
 Certainly the biggest hassle is in doing ldapadd and ldapmodify from
 the command line with all the torturous options that you have to
 provide (BindDn, BindPassword, TargetDN).

 Nonetheless it's been a generally positive experience. In looking at
 your list of applications it seems that most of them will support ldap
 authentication directly. Mpd4 doesn't but it does support Radius so it
 looks like you'll have to build radius to authenticate against LDAP
 and then have mpd4 authenticate against radius. SMTP is similar. It
 doesn't support authentication via LDAP directly. It uses SASL which
 can also authenticate against LDAP.

  My biggest question right now is if is possible to combine all three
  things in one data structure. And which in which order I should make
  the different implimentions.
  Excuse my total lack of understanding, but is it possible to have a
  structure with a superior unit such as OU=some organization which
  could contain several virtual domains and the actual doamin for my
  PDC?
 

 The answer to this question would be a set of non-conflicting ldap
 schemas to support the functions that you need. If your needs are
 simple authentication the schemas that ship with openldap will provide
 fruit. If you want to make ldap your database for delivering mail to
 virtual users there are a few path's out there. Courier had/has a
 schema for supporting virtual users that could be banged into shape
 but if I recall correctly it's support for keeping virtual domain
 information in ldap is lacking. Phamm, /usr/ports/net/phamm completely
 supports virtual domains and virtual users including delegation of
 user management. E.g. the user [EMAIL PROTECTED] can reset
 passwords for user@example.com. Phamm also has a neat web interface
 for administration. However, when I was setting it up I found it more
 overly complex for my needs. Like using a Formula 1 car for a grocery
 run. However I think that it even works with the Samba schema so it
 may be exactly what you want.

  --
  Jon Theil Nielsen
 
  Oh, i forgot one more thing: I would also like to be able to
  authenticate VPN users the same way.

 mpd4 + radius + ldap should get you where you want to be.

 -- Chris

 ___
 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: What is a good printer/all-in-one?

2008-03-25 Thread Lars Eighner

On Tue, 25 Mar 2008, Isaac Mushinsky wrote:


Yes, I saw that. But FreeBSD is not linux, and using multiple drivers for
the same device is more of a problem for us. HPLIP, on the other hand,
requires bare ugen, not loading ulpt or uscanner or perhaps even umass, a
very unnatural and cumbersome thing for me (I want umass, and I also
sometimes use a Nikon photo film scanner, which work via sane).


You can use umass devices with HPLIP, but you must load umass after the
printer has attached as a ugen device.  Then you can attach and detach umass
devices as much as you please.  You seem to imply there is a conflict
between uscanner devices, but I don't see what that conflict might be. 
Uscanner will not grab the scanner function of a multifunction printer with

hplip.  It doesn't appear there is a conflict of executable names either.



Thus I am looking for a network device, or if USB, then it should appear as
separate uscanner/ulpt/umass.

On Tue, Mar 25, 2008 at 1:08 PM, herbert langhans [EMAIL PROTECTED]
wrote:


Hi Isaac,
this is a good start:
http://www.linux-foundation.org/en/OpenPrinting

In the 'printer' section you find a ranking and evaluation how the
printers do on unixoid systems.

Cheers
herbs

mount -t wbush /dev/whitehouse /dev/nul


On Tue, 25 Mar 2008 12:12:52 -0400
Isaac Mushinsky [EMAIL PROTECTED] wrote:

 My 10-year-old deskjet being out of ink and probably not worth a
replacement

cartridge (it works, but makes some mechanical noise lately), I am
considering a reasonable replacement, preferably with scanning/copy
possibilities.

I tried to get Photosmart C4280, but while I was trying a faulty

printcap on

it, it lost its mind permanently (says 'incompatible print cartridges',

and

does not respond to the button combinations that HP support thinks

should

reset it). Besides, you can either attach it as ulpt or uscanner device,

or

play with hplip drivers as a generic device, but it seems too
confusing. It was a waste of time and money for me and I am going to

return

it.

Requirements:
1. Reasonable physical size (should not be much larger than the old
deskjet).
2. Either network/lpd or USB, scanner should be well supported by sane.

If

used via USB, it should be a compound device (i.e. printer, scanner and,

if

there, the umass device should appear as separate devices to avoid
kld-loading and unloading modules). I heard Epsons show up as compound
devices? any HP laserjets?
3. Reasonable maintenance cost (maybe a laser printer, I do not care for
color printing that much).

 ___

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

[EMAIL PROTECTED]



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


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




--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


freeBSD7.0 and Realtek rtl 8185

2008-03-25 Thread ivan dimitrov
Hi list

I have a wireless PCI card with Realtek chip RTL8185 ([EMAIL PROTECTED]:0:10:0 
... chip 0x818510ec)

after ndisgen , when i am starting kldload ./rtl8185_sys.ko
and ... the freebsd crashes ...(fatal trap 12 ... fault code supervisor write,  
page not present)

the question is what is wrong with me? 


thanks in advance

ivan

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


Use CGI with suExec without vhost

2008-03-25 Thread Nicolas Letellier
Hello.

I use FreeBSD 7 with apache13-modssl. I compiled apache with SuExec
support.
However, my CGI programs wirtual host are not wrapped by
SuExec. I don't want to use a vhost (i have only one application on my
apache: Nagios). If I install a CGI program in a vhost with User/Group
directive, SuExec works.

How could solve this problem?

Thanks.

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


Re: A general purpose LDAP solution?

2008-03-25 Thread Christopher Sean Hilton


On Mar 25, 2008, at 1:53 PM, Outback Dingo wrote:

GOSA is another nice feature full LDAP manager in PHP, does samba,  
dns,

mail, web, asterisk etc etc etc



Is Gosa in the ports collection?

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


Re: Xorg crashing randomly

2008-03-25 Thread Ghirai
On Sun, 23 Mar 2008 22:21:04 +0200
Ghirai [EMAIL PROTECTED] wrote:

 Hello list,
 
 Lately Xorg (log file says X.Org X Server 1.4.0') seems to crap out randomly,
 sometimes after a few hours, sometimes after a few days.
 
 I'm running 7.0-RELEASE, custom kernel (ULE scheduler and unneeded drivers 
 removed, everything else is default), and nvidia driver (latest).
 
 There's nothing in messages, nor in the xorg log file, except:
 
 ---
 Fatal server error:
 Caught signal 11.  Server aborting
 ---
 
 I don't know what other info i should give, there isn't much (if anything) in 
 the log files.
 
 I might add that i've tested the RAM, plus the rest of the system is ok.
 
 Any ideas are appreciated.
 
 Thanks.
 


I upgraded all ports, now i'll wait and see if it crashes again.

As far as i remember it crashed when opening Transmission or Pidgin from the 
tray;
i'm not sure though.

I'll report back if there are any changes. So far the upgrade seems to have 
fixed it?

Thanks for the input :)

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


Xorg ATi/Radeon drivers on 7.0-STABLE?

2008-03-25 Thread C Verboom
Hi All,

Just new here, so if this has been dealt with before, pls excuse me.
I've seen only a few posts dealing w/ ATi drivers (ati and radeon) on
v7.0-STABLE and Xorg, and together with my own experience I'm inclined to
suspect there's something wrong with this combo. Or wrong... it may need
special attention, but I lack the knowledge to prove or find a definitive
answer, and you ppl here might.

For a while I've been running 6.2-STABLE w/ Xorg on a Dell Latitude C610.
Worked nicely @ 1400x1050, no problems.
A few days ago I've performed a fresh install of 7.0-STABLE. The install was
done for User/X-User, nothing (cvs, ports, etc) has been added or modified
apart from network settings to be able to ssh/scp.
The problem: there's no way that I can get a decent graphics resolution like
I was used to. The only one xorg.conf setting that resulted in stable
graphics was 'Driver vga' and 'Mode 640x480'.
For the last 2 days (with the help of numerous Ati and Xorg-related posts on
the net and c/p from my old xorg.conf) I've been trying to apply any
reasonable setting using the ati and radeon drivers, only to see a
blurred screen: HorizSync and/or VertSync way off, flickering and scrolling
bars. No visible diff in the blurr w/ modified sync numbers, but no hang-ups
as others seem to have stumbled upon: I can always kill the server w/
C-A-BS. Sometimes something seemed to happen (KDE starting? I never waited
long before I killed the server...) as I did see a partial light-colored
change in the blurr.
Comparing the log of my old setup (I've put the image back twice over to
check), there's a few -in my little experience- important differences with
output of drivers and modules, or at least the way things such as capacities
and capabilities are displayed, so under the hood there's so much changes
that I cannot reasonably grasp what exactly is different and in what way...
for which I apologize, but I'm bold enough to suspect..

So: is the problem with me or with the new ... (drivers, modules, ???)

-- 
Greetings, biped!
 (c)ory
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


MPlayer does not compile (actually gio-fam-backend does not)

2008-03-25 Thread Niels Kobschaetzki
Hi!

I'm trying to compile MPlayer but it just doesn't work because it
depends on gio-fam-backend and that does not compile. It always stops
with:
/usr/bin/ld: cannot find -lgio-2.0
gmake: *** [libgiofam.la] Error 1
*** Error code 2

Stop in /usr/ports/devel/gio-fam-backend.
*** Error code 1

Any ideas what I can do?

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


Re: A general purpose LDAP solution?

2008-03-25 Thread Outback Dingo
yes it is

On Wed, Mar 26, 2008 at 1:35 AM, Christopher Sean Hilton [EMAIL PROTECTED]
wrote:


 On Mar 25, 2008, at 1:53 PM, Outback Dingo wrote:

  GOSA is another nice feature full LDAP manager in PHP, does samba,
  dns,
  mail, web, asterisk etc etc etc
 

 Is Gosa in the ports collection?

 -- Chris

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


Re: RAID on HP ML110 G5

2008-03-25 Thread Tom Munro Glass
On Tue, 25 Mar 2008, Nejc Škoberne wrote:
 Hey Tom,

  I would like to run FreeBSD 7 on a HP ML110 G5. I understand from past
  posts to this list that the ML110 series is FreeBSD friendly, but what
  about RAID 1 using the on-board SATA controller? Will this work and how
  do you set this up?

 I have just configured a ML110G5 with FreeBSD 7 a few days ago. If you try
 to make a BIOS RAID (create an array in RAID controller BIOS), then FreeBSD
 won't recognize it as it does not understand the metadata format which
 controller BIOS uses to manage the arrays. What you have to do is (having
 RAID mode in BIOS still enabled) boot the server with FreeBSD 7 CD and then
 go to Fixit utility. There you can create hardware (see previous posts
 about this being hardware RAID) RAID with atacontrol utility. This way,
 FreeBSD will use its own metadata format for the array and will recognize
 such arrays as arX devices. Restarting the box you can then install
 FreeBSD easily on these arX devices like on normal adX or daX devices. So
 remember, this is not the real FreeBSD software RAID since it is not
 controlled by FreeBSD kernel but by the SATA/RAID controller. For example,
 I have 4 drives and I created RAID-0 (stripes) with atacontrol and will
 merge them (in a few days) into a RAID-1 gmirror.

 Hope that helps,
 Nejc

Thanks to all who replied. Since it is possible to use the SATA RAID but it 
isn't true hardware RAID, is it better to use the SATA RAID or use gmirror?

Regards

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


Re: What is a good printer/all-in-one?

2008-03-25 Thread Predrag Punosevac

Lars Eighner wrote:

On Tue, 25 Mar 2008, Isaac Mushinsky wrote:

Yes, I saw that. But FreeBSD is not linux, and using multiple drivers 
for

the same device is more of a problem for us. HPLIP, on the other hand,
requires bare ugen, not loading ulpt or uscanner or perhaps even 
umass, a

very unnatural and cumbersome thing for me (I want umass, and I also
sometimes use a Nikon photo film scanner, which work via sane).


You can use umass devices with HPLIP, but you must load umass after the
printer has attached as a ugen device.  Then you can attach and detach 
umass

devices as much as you please.  You seem to imply there is a conflict
between uscanner devices, but I don't see what that conflict might be. 
Uscanner will not grab the scanner function of a multifunction printer 
with

hplip.  It doesn't appear there is a conflict of executable names either.

There is absolutely no all-in-one device which will work out of box with 
FreeBSD.


HP devices as you noticed require kernel recompilation and have that 
undocumented umass driver removal and load. They are probably best bet 
but they are expensive (I am talking laser as I would stay away from 
ink-jets by all means).


The second group of devices which should work out of box Epson CX 
all-in-one class devices (which

are ink jet so I would stay a way from them anyway) are not listed in
uscanner driver so they will not work out of box without  manually 
adding your devices into the driver and then recompiling despite the 
fact that epson and epson2 backends support them.


Future of Epson scanners is bleak on FreeBSD as Epson has released 
proprietary drivers for Linux. I believe

any effort for writing sane-backends  for Epson scanners has terminated.


I personally like Brother all-in-one monochromatic devices for home use 
which are probably $150-200 cheaper than

equivalent HP devices. I have seen good all-on-one for $120-150 on line.
Brother has scanner drivers for them brscan and brscan2 but those 
drivers have hidden
binary blob libraries which depend on Linux kernel. They can not be 
compiled on FreeBSD. I talked to their
technical support in Japan and they were the one to tell me to give up 
and disclosed quite a few information about

them.

Samsung has very cheap color laser jet printer which often require Splix 
driver (ported for FreeBSD but version 2.0

which is written from ground up is
expected soon). I have no idea about their scanners but you can get 
refurbished color laser jet form Samsung for $100 if you are lucky. They 
are probably way to go if you need color printing too.


I personally would get an honest printer which in the worst case 
scenario speaks PCL possibly with  flat  bad copier
and get  used  scanner  for  $10  which is  explicitly listed  on  
hardware  notes of FreeBSD.


If you are doing lots of scanning I would even considering deploying 
Linux unless uscanner, ugen, and few other
drivers which are  at the moment incapable of getting Vendor and Product 
ID get better.



Cheers,
Predrag







Thus I am looking for a network device, or if USB, then it should 
appear as

separate uscanner/ulpt/umass.

On Tue, Mar 25, 2008 at 1:08 PM, herbert langhans 
[EMAIL PROTECTED]

wrote:


Hi Isaac,
this is a good start:
http://www.linux-foundation.org/en/OpenPrinting

In the 'printer' section you find a ranking and evaluation how the
printers do on unixoid systems.

Cheers
herbs

mount -t wbush /dev/whitehouse /dev/nul


On Tue, 25 Mar 2008 12:12:52 -0400
Isaac Mushinsky [EMAIL PROTECTED] wrote:

 My 10-year-old deskjet being out of ink and probably not worth a
replacement

cartridge (it works, but makes some mechanical noise lately), I am
considering a reasonable replacement, preferably with scanning/copy
possibilities.

I tried to get Photosmart C4280, but while I was trying a faulty

printcap on
it, it lost its mind permanently (says 'incompatible print 
cartridges',

and

does not respond to the button combinations that HP support thinks

should
reset it). Besides, you can either attach it as ulpt or uscanner 
device,

or

play with hplip drivers as a generic device, but it seems too
confusing. It was a waste of time and money for me and I am going to

return

it.

Requirements:
1. Reasonable physical size (should not be much larger than the old
deskjet).
2. Either network/lpd or USB, scanner should be well supported by 
sane.

If
used via USB, it should be a compound device (i.e. printer, scanner 
and,

if

there, the umass device should appear as separate devices to avoid
kld-loading and unloading modules). I heard Epsons show up as compound
devices? any HP laserjets?
3. Reasonable maintenance cost (maybe a laser printer, I do not 
care for

color printing that much).

 ___

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

[EMAIL PROTECTED]




Graphics problems with FreeBSD on Sun SPARC computer

2008-03-25 Thread mike3
Hi.

I was trying to install FreeBSD 7.0 on an old Sun
Blade 100 computer (from 2002) which has an UltraSPARC
IIe 500MHz RISC CPU in it. But I can't get the
graphics to come up (I've only got text-console right
now on the OS.). How can I fix this?

When I try to do a startx, the screen just goes to
black and the monitor light to yellow. Hooking to a TV
shows that at this point there is NO SIGNAL. I can
ctrl-alt-backspace to shut down the X server and get
a command prompt.

The machine has an ATI chip of some sort inside, and
I've tried configuring X to use several ATI drivers
but all giving the same result.

Xorg.0.log contained various warning (WW) messages,
such as not being able to find fonts.dir, the OS not
having counted the PCI devices and so was guessing
wildly, that an accelerated framebuffer could not be
shadowed, and that there was not enough video RAM
(required 12.8MB, card has only 8MB) to allocate a DRI
static buffer. Disabling acceleration with 'Option
NoAccel true' in the X config file under the
device section did not help, although it got rid of
the warning about not having enough video RAM. However
I then got warnings ATI(0): Acceleration disabled,
not initializing the DRI and 
ATI(0): RENDER extension not supported with a
shadowed framebuffer.

What can I do to resolve this problem?



  

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


repquota slow

2008-03-25 Thread Mike Fahey


on a 4.10 machine with for example 2,000 accounts
time repquota -a real0m0.081s

On a 6.2 machine with a p4 core 2 duo 3 gig ram and 2,000 accounts
the same command takes 10seconds.

time repquota -a real0m11.099s

Does anyone know why this is so slow?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


repquota slow

2008-03-25 Thread Mike Fahey


on a 4.10 machine with for example 2,000 accounts
time repquota -a real0m0.081s

On a 6.2 machine with a p4 core 2 duo 3 gig ram and 2,000 accounts
the same command takes 10seconds.

time repquota -a real0m11.099s

Does anyone know why this is so slow?

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


Re: repquota slow

2008-03-25 Thread Wojciech Puchar

time repquota -a real0m0.081s

On a 6.2 machine with a p4 core 2 duo 3 gig ram and 2,000 accounts
the same command takes 10seconds.

time repquota -a real0m11.099s

Does anyone know why this is so slow?


no idea. on my core 2 duo machine with 6.3p1 with 300 users takes 0.2s 
first time, 0.016s second time,


user+sys time total 0.014s both times
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Xorg ATi/Radeon drivers on 7.0-STABLE?

2008-03-25 Thread Aline de Freitas
Em Tuesday 25 March 2008 15:35:51 C Verboom escreveu:
 Hi All,

 Just new here, so if this has been dealt with before, pls excuse me.
 I've seen only a few posts dealing w/ ATi drivers (ati and radeon) on
 v7.0-STABLE and Xorg, and together with my own experience I'm inclined to
 suspect there's something wrong with this combo. Or wrong... it may need
 special attention, but I lack the knowledge to prove or find a definitive
 answer, and you ppl here might.

 For a while I've been running 6.2-STABLE w/ Xorg on a Dell Latitude C610.
 Worked nicely @ 1400x1050, no problems.
 A few days ago I've performed a fresh install of 7.0-STABLE. The install
 was done for User/X-User, nothing (cvs, ports, etc) has been added or
 modified apart from network settings to be able to ssh/scp.
 The problem: there's no way that I can get a decent graphics resolution
 like I was used to. The only one xorg.conf setting that resulted in stable
 graphics was 'Driver vga' and 'Mode 640x480'.
 For the last 2 days (with the help of numerous Ati and Xorg-related posts
 on the net and c/p from my old xorg.conf) I've been trying to apply any
 reasonable setting using the ati and radeon drivers, only to see a
 blurred screen: HorizSync and/or VertSync way off, flickering and scrolling
 bars. No visible diff in the blurr w/ modified sync numbers, but no
 hang-ups as others seem to have stumbled upon: I can always kill the server
 w/ C-A-BS. Sometimes something seemed to happen (KDE starting? I never
 waited long before I killed the server...) as I did see a partial
 light-colored change in the blurr.
 Comparing the log of my old setup (I've put the image back twice over to
 check), there's a few -in my little experience- important differences with
 output of drivers and modules, or at least the way things such as
 capacities and capabilities are displayed, so under the hood there's so
 much changes that I cannot reasonably grasp what exactly is different and
 in what way... for which I apologize, but I'm bold enough to suspect..

 So: is the problem with me or with the new ... (drivers, modules, ???)

It looks like an ati driver issue.

I suggest you to first, try the latest git tree driver by doing the following:
git-clone git://anongit.freedesktop.org/git/xorg/driver/xf86-video-ati
cd xf86-video-ati
./autogen.sh --prefix=/usr/local --mandir=/usr/local/man
make

Then deinstall the xf86-video-ati from the ports tree:
pkg_deinstall xf86-video-ati-6.8.0_1

and install the one from the git tree:
make install

If you see the same issues with the driver from the git tree, you should 
report it to the xorg mailing list at:
http://lists.freedesktop.org/mailman/listinfo/xorg

-- 
Aline de Freitas - Chave pública: ID DE632016 / keys.indymedia.org
gpg --keyserver keys.indymedia.org --recv-keys DE632016
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Xorg ATi/Radeon drivers on 7.0-STABLE?

2008-03-25 Thread Isaac Mushinsky
If you haven't done that yet, try recompiling xorg-server without HAL (make
config and check it off). I don't know why, but strange things like these
happened to me too until HAL support was disabled.

On Tue, Mar 25, 2008 at 5:53 PM, Aline de Freitas [EMAIL PROTECTED] wrote:

 Em Tuesday 25 March 2008 15:35:51 C Verboom escreveu:
  Hi All,
 
  Just new here, so if this has been dealt with before, pls excuse me.
  I've seen only a few posts dealing w/ ATi drivers (ati and radeon)
 on
  v7.0-STABLE and Xorg, and together with my own experience I'm inclined
 to
  suspect there's something wrong with this combo. Or wrong... it may
 need
  special attention, but I lack the knowledge to prove or find a
 definitive
  answer, and you ppl here might.
 
  For a while I've been running 6.2-STABLE w/ Xorg on a Dell Latitude
 C610.
  Worked nicely @ 1400x1050, no problems.
  A few days ago I've performed a fresh install of 7.0-STABLE. The install
  was done for User/X-User, nothing (cvs, ports, etc) has been added or
  modified apart from network settings to be able to ssh/scp.
  The problem: there's no way that I can get a decent graphics resolution
  like I was used to. The only one xorg.conf setting that resulted in
 stable
  graphics was 'Driver vga' and 'Mode 640x480'.
  For the last 2 days (with the help of numerous Ati and Xorg-related
 posts
  on the net and c/p from my old xorg.conf) I've been trying to apply any
  reasonable setting using the ati and radeon drivers, only to see a
  blurred screen: HorizSync and/or VertSync way off, flickering and
 scrolling
  bars. No visible diff in the blurr w/ modified sync numbers, but no
  hang-ups as others seem to have stumbled upon: I can always kill the
 server
  w/ C-A-BS. Sometimes something seemed to happen (KDE starting? I never
  waited long before I killed the server...) as I did see a partial
  light-colored change in the blurr.
  Comparing the log of my old setup (I've put the image back twice over to
  check), there's a few -in my little experience- important differences
 with
  output of drivers and modules, or at least the way things such as
  capacities and capabilities are displayed, so under the hood there's so
  much changes that I cannot reasonably grasp what exactly is different
 and
  in what way... for which I apologize, but I'm bold enough to suspect..
 
  So: is the problem with me or with the new ... (drivers, modules, ???)

 It looks like an ati driver issue.

 I suggest you to first, try the latest git tree driver by doing the
 following:
 git-clone git://anongit.freedesktop.org/git/xorg/driver/xf86-video-ati
 cd xf86-video-ati
 ./autogen.sh --prefix=/usr/local --mandir=/usr/local/man
 make

 Then deinstall the xf86-video-ati from the ports tree:
 pkg_deinstall xf86-video-ati-6.8.0_1

 and install the one from the git tree:
 make install

 If you see the same issues with the driver from the git tree, you should
 report it to the xorg mailing list at:
 http://lists.freedesktop.org/mailman/listinfo/xorg

 --
 Aline de Freitas - Chave pública: ID DE632016 / keys.indymedia.org
 gpg --keyserver keys.indymedia.org --recv-keys DE632016
 ___
 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]


Missing SATA drive after upgrade to 7.0

2008-03-25 Thread Christopher Cowart
Hello,

I was in the process of upgrading from 6.2 to 7.0. After the
installkernel, I rebooted into single, only to find the mountroot
prompt:

| Trying to mount root from ufs:/dev/ad2s1a
| 
| Manual root filesystem specification:
|   fstype:device  Mount device using filesystem fstype
|eg. ufs:da0s1a
|   ?  List valid disk boot devices
|   empty line   Abort manual input
| 
| mountroot ?
| 
| List of GEOM managed disk devices:
|   acd0 fd0

Boot messages for 7.0 (grep -i ata dmesg-7.0):
| atapci0: Intel 6300ESB SATA150 controller port 
| 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1470-0x147f at device 31.2 
| on pci0
| ata0: ATA channel 0 on atapci0
| ata0: [ITHREAD]
| ata1: ATA channel 1 on atapci0
| ata1: [ITHREAD]
| acd0: CDROM LG CD-ROM CRN-8245B/1.16 at ata0-master UDMA33

Boot messages for 6.2 (grep -i ata dmesg-6.2):
| atapci0: Intel 6300ESB SATA150 controller port 
| 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1470-0x147f at device 31.2 
| on pci0
| ata0: ATA channel 0 on atapci0
| ata1: ATA channel 1 on atapci0
| acd0: CDROM LG CD-ROM CRN-8245B/1.16 at ata0-master UDMA33
| ad2: 76324MB Seagate ST380013AS 3.25 at ata1-master SATA150

Any ideas where my harddrive went? I can `boot kernel.old' without any
problems. I think this post [1] might be related. Unfortunately, the
problem went away for the person who submitted the referenced PR. 

[1] http://lists.freebsd.org/pipermail/freebsd-i386/2008-January/006239.html

-- 
Chris Cowart
Network Technical Lead
Network  Infrastructure Services, RSSP-IT
UC Berkeley


pgpYN0a0UEtrD.pgp
Description: PGP signature


Re: [6.3/vi] European characters?

2008-03-25 Thread Gilles
On Mon, 24 Mar 2008 18:10:15 -0400, Walker [EMAIL PROTECTED] wrote:
It's your locale setting (man locale).  What I have set in bash, for example:

export LANG='en_US.UTF-8'
export LC_COLLATE='C'

Thanks guys. Problem solved.

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


really dumb question: can I install Linux USB drivers under linux compat?

2008-03-25 Thread Steve Franks
Am I crazy?

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


Re: really dumb question: can I install Linux USB drivers under linux compat?

2008-03-25 Thread Da Rock

On Tue, 2008-03-25 at 15:19 -0700, Steve Franks wrote:
 Am I crazy?
 
 Steve

Not really. Check out linux-kmod-compat in ports. However, there is
catch ;) I'm just checking into some details now- I'm not sure if you
have to build the driver or you can just use one prebuilt in an rpm.

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


hdaps (accelerator) driver for thinkpads

2008-03-25 Thread Tobias Kirschstein
hi there,

i have an ibm x60t thinkpad and want to have this nice feature of
(mostly all) thinkpads: the hdaps acceleration support. i found only an
old implementaton of 2005 and decided to update the driver. as this is
the first time i put my fingers on kernel drivers please be kind :)

here is what i got at the moment:

http://www.nupfel.de/data/accel-0.6.tar.gz

i took the original driver from the old linux hdaps project:

http://hdaps.sourceforge.net/index.php?page=3

added support for my x60t and fixed some kthread - kproc renaming
issues since 8-CURRENT.

the driver compiles and loads fine on my system (8-CURRENT, also tested
on 7-RELEASE), but if i try to get some values through the sysctl
hw.accel or one of the /dev/accel* device nodes my machine (amd64)
completely freezes and rebootes after some seconds. bulding and loading
the module with DEBUG defined it dumps the raw values of the io ports
correctly to the kernel message buffer.

-
accel0: Found Accelerometer, type 0x5, starting init.. (max. 10 seconds)
accel0: Init finished successful
accel0: Time needed: 2 s 25142 ns
accel0: Accelerometer at port 0x1600-0x162f on isa0
accel0: calibration: xzero: 508 yzero: 510
accel0: initstate: 0x5
ppc0: cannot reserve I/O port range
-

-
- entering _accel_getdata
- entering _accel_request_refresh
io port dump:
0x1600: 14 ff ff ff 00 ff ff ff ff ff ff ff ff ff ff ff  
0x1610: 11 02 9c 01 03 02 3d 9b 01 03 02 3d 02 80 00 00  ..==
0x1620: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  
- exiting _accel_request_refresh value 0x1 (refresh success) wait: 0x1
io port dump:
0x1600: 14 ff ff ff 50 ff ff ff ff ff ff ff ff ff ff ff  P...
0x1610: 11 02 9b 01 04 02 3d 9b 01 04 02 3d 04 a0 00 00  ..==
0x1620: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  
- exiting _accel_getdata value 0x1
io port dump:
0x1600: 14 ff ff ff 00 ff ff ff ff ff ff ff ff ff ff ff  
0x1610: 11 02 9b 01 04 02 3d 9b 01 04 02 3d 04 a0 00 00  ..==
0x1620: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  
- entering _accel_request_refresh
io port dump:
0x1600: 14 ff ff ff 00 ff ff ff ff ff ff ff ff ff ff ff  
0x1610: 11 02 9b 01 04 02 3d 9b 01 04 02 3d 04 a0 00 00  ..==
0x1620: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  
- exiting _accel_request_refresh value 0x1
(refresh success) wait: 0x0
-

unloading the module also works find and frees all ressources unless
you don't try to use the devices...

-
accel0: waiting for kthread to teminate..
accel0: Done.
sysctlfree retval: 0
accel0: detached
-

the full dmesg: http://www.nupfel.de/data/dmesg.txt

it would be great if some thinkpad users could try the code and help me
debugging the problem :)


-- 
ciao,
lev


pgpEn2pghS47m.pgp
Description: PGP signature


tcpdump stopped working / changes to pcap since 5.2.1-RELEASE?

2008-03-25 Thread Markus
Hello,

we've had a FreeBSD 5.2.1-RELEASE machine with four Intel 100/1000 NICs
(em(4)). The monitoring port of our HP 4140gl switch was hooked up to
one of the four NICs. This has allowed us to do traffic accounting and
detecting network problems by utilizing tcpdump. We've recently upgraded
the machine to at first FreeBSD 6.3, afterwards to FreeBSD 7.0. In both
versions commands like

tcpdump -n -i em3 host 217.172.x.y  (em3 is the NIC that goes to the
4140gl monitoring port)

don't produce any output anymore. In general, tcpdump does work, as
through a normal non-monitoring port at e.g. em0, all tcpdump commands
(host xyz, net xyz, arp etc.) work like expected and produce the
appropriate results. 

If tcpdump is being invoked without any arguments (tcpdump -n -i em3) it
shows all packets coming in through the monitoring port, however, as
soon as we try to filter by specific tcpdump expressions, it doesn't
show any results.

Were there any changes to tcpdump, the em driver, pcap or another part
of the OS in recent history which could lead to such a behavior? Again,
regular packets on any em-interface we can collect just fine, just the
packets coming in through the monitoring port are being ignored... 

Any advise?

Thanks
Markus

$ ifconfig em0
em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu
1500
options=9bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM
ether 00:e0:81:62:1c:7a
inet 217.172.a.b netmask 0xff00 broadcast 217.172.a.c
media: Ethernet autoselect (1000baseTX full-duplex)
status: active
$ ifconfig em3
em3: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu
1500
options=9bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM
ether 00:e0:81:62:1c:7b
inet 192.168.200.2 netmask 0xff00 broadcast 192.168.200.255
media: Ethernet autoselect (1000baseTX full-duplex)
status: active


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


Re: Xorg ATi/Radeon drivers on 7.0-STABLE?

2008-03-25 Thread Paul Schmehl

--On March 25, 2008 7:35:51 PM +0100 C Verboom [EMAIL PROTECTED] wrote:


Hi All,

Just new here, so if this has been dealt with before, pls excuse me.
I've seen only a few posts dealing w/ ATi drivers (ati and radeon) on
v7.0-STABLE and Xorg, and together with my own experience I'm inclined to
suspect there's something wrong with this combo. Or wrong... it may
need special attention, but I lack the knowledge to prove or find a
definitive answer, and you ppl here might.

For a while I've been running 6.2-STABLE w/ Xorg on a Dell Latitude C610.
Worked nicely @ 1400x1050, no problems.
A few days ago I've performed a fresh install of 7.0-STABLE. The install
was done for User/X-User, nothing (cvs, ports, etc) has been added or
modified apart from network settings to be able to ssh/scp.
The problem: there's no way that I can get a decent graphics resolution
like I was used to. The only one xorg.conf setting that resulted in
stable graphics was 'Driver vga' and 'Mode 640x480'.


Try the new radeonhd driver.

If that doesn't work, post the relevant portion of your Xorg.log file 
and/or dmesg.


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]


pkg_cutleaves - a bit too efficient

2008-03-25 Thread Nikolaj Thygesen

Hi list,

  In order to tighten up my fbsd installation I decided to try out 
pkg_cutleaves. I wasn't really too worried, as I figured I could always 
run portupgrade if I removed one package too many - and so I did it 
appears. Portupgrade doesn't bring anything back though. I've tried 
running pkgdb with a number of different parameters including -L and -F, 
but nothing really does me any good. What can I do to make 
ports/packages realize I'm in need of a few more packages??
  The particular symptom isn't too bad though. The background of my 
Gnome desktop doesn't respond to mouse clicks, and my wallpaper is gone, 
but still...



  br - Nikolaj



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


FreeBSD PXE client not getting netmask config from DHCP server

2008-03-25 Thread vincenzo romero
Hello all,

I wanted to check and test my PXE clients - where I have:

- Cent OS 5.1 - PXE/DHCP/TFTP/NFS server with the root-NFS-images
- client - FreeBSD 7:
uname -a
FreeBSD r02s01 7.0-RELEASE FreeBSD 7.0-RELEASE #1: Mon Mar  3 21:52:54
PST 2008 [EMAIL PROTECTED]:/usr/src/sys/amd64/compile/CUSTOMKRNL
 amd64

...

1.  My /etc/dhcpd.conf server has defined a gateway/router and subnet mask

cat /etc/dhcpd.conf
ddns-update-style interim;
ignore client-updates;

subnet 192.168.16.0  netmask 255.255.240.0 {
# --- default gateway
option routers  192.168.16.1;
option subnet-mask  255.255.240.0;

range dynamic-bootp 192.168.16.10 192.168.16.30;
default-lease-time 21600;
max-lease-time 43200;
}


2.  freebsd test server parameters defined as such:

host r02s01 {
  hardware ethernet 00:A0:D1:E3:58:38;
  fixed-address 192.168.17.11;
  filename pxeboot;
  option root-path 192.168.17.1:/export/images/NFSroot_gold/freebsd7_x64;
  option host-name r02s01;
}

3.  PROBLEM - when the client boots and I login . i notice that
the netmask it is configured with is 255.255.255.0 ...

Am I missing something in my configuration?  I am not having these
issues (i think) with my diskless Fedora, Ubuntu clients ...

Any help will be greatly appreciated

-- 
best,

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


Re: MPlayer does not compile (actually gio-fam-backend does not)

2008-03-25 Thread Andriy Babiy
 I'm trying to compile MPlayer but it just doesn't work because it
 depends on gio-fam-backend and that does not compile. It always stops
 with:
 /usr/bin/ld: cannot find -lgio-2.0
 gmake: *** [libgiofam.la] Error 1
 *** Error code 2
 
 Stop in /usr/ports/devel/gio-fam-backend.
 *** Error code 1
 
 Any ideas what I can do?
 
 Niels

What does the output of uname and objformat look like?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: MPlayer does not compile (actually gio-fam-backend does not)

2008-03-25 Thread Aline de Freitas
Em Tuesday 25 March 2008 16:11:53 Niels Kobschaetzki escreveu:
 Hi!

 I'm trying to compile MPlayer but it just doesn't work because it
 depends on gio-fam-backend and that does not compile. It always stops
 with:
 /usr/bin/ld: cannot find -lgio-2.0
 gmake: *** [libgiofam.la] Error 1
 *** Error code 2

 Stop in /usr/ports/devel/gio-fam-backend.
 *** Error code 1

 Any ideas what I can do?

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

A had the same trouble, but after a glib rebuild the gio-fam-backend has build 
without problems.

-- 
Aline de Freitas - Chave pública: ID DE632016 / keys.indymedia.org
gpg --keyserver keys.indymedia.org --recv-keys DE632016


signature.asc
Description: This is a digitally signed message part.


Re: Xorg crashing randomly

2008-03-25 Thread Ghirai
On Sun, 23 Mar 2008 22:21:04 +0200
Ghirai [EMAIL PROTECTED] wrote:

 Hello list,
 
 Lately Xorg (log file says X.Org X Server 1.4.0') seems to crap out randomly,
 sometimes after a few hours, sometimes after a few days.
 
 I'm running 7.0-RELEASE, custom kernel (ULE scheduler and unneeded drivers 
 removed, everything else is default), and nvidia driver (latest).
 
 There's nothing in messages, nor in the xorg log file, except:
 
 ---
 Fatal server error:
 Caught signal 11.  Server aborting
 ---
 
 I don't know what other info i should give, there isn't much (if anything) in 
 the log files.
 
 I might add that i've tested the RAM, plus the rest of the system is ok.
 
 Any ideas are appreciated.
 
 Thanks.
 

About 13 hours later, same thing.
It crashes because of Transmission it seems, when right-clicking on a torrent 
- details;
from what i can tell about once every 20 times or so, which is annoying to say 
the least...

I have no clue why, i've been using Transmission for 2 years now...

Any ideas?


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


Re: libggi

2008-03-25 Thread Mitja
I did check /usr/ports/graphics/libggi/Makefile and there are:

if !defined(WITHOUT_X11)
USE_XORG=   x11 xxf86dga ice sm xau xsxt xext
PLIST_SUB+= WITH_X=
.else
CONFIGURE_ARGS+=--disable-x --disable-dga
PLIST_SUB+= WITH_X=@comment 
.endif

I deleted xsxt and it works.

On Monday 24 March 2008 21:48:50 [EMAIL PROTECTED] wrote:
 On 24/03/2008, Mitja [EMAIL PROTECTED] wrote:
  I tried to compaile a libggi but I got:
 
   ===  libggi-2.2.2_2,1 requires unknown xorg module (xsxt).
   *** Error code 1
 
   Stop in /usr/ports/graphics/libggi.

 Well, Rosie told me to google it, so I googled
 it.  Nothing apropos.

 Did it maybe mean textproc/libxslt?

 Did you get a transitory ports tree with the dependancies
 all mired an' mucked?

  pkg_info -r /var/db/pkg/libggi-2.2.2_2,1/

 Information for libggi-2.2.2_2,1:

 Depends on:
 Dependency: xf86dgaproto-2.0.3
 Dependency: xextproto-7.0.2
 Dependency: kbproto-1.0.3
 Dependency: inputproto-1.4.2.1
 Dependency: svgalib-1.4.3_5
 Dependency: pkg-config-0.22_1
 Dependency: xtrans-1.0.4
 Dependency: xproto-7.0.10_1
 Dependency: libXdmcp-1.0.2_1
 Dependency: libXau-1.0.3_2
 Dependency: libX11-1.1.3_1,1
 Dependency: libXext-1.0.3,1
 Dependency: libXxf86dga-1.0.2
 Dependency: aalib-1.4.r5_4
 Dependency: libgii-1.0.2_2

 is all I gots, hombre.



-- 
You're a good example of why some animals eat their young.
-- Jim Samuels to a heckler

Ah, yes.  I remember my first beer.
-- Steve Martin to a heckler

When your IQ rises to 28, sell.
-- Professor Irwin Corey to a heckler
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: MPlayer does not compile (actually gio-fam-backend does not)

2008-03-25 Thread mdh
--- Andriy Babiy [EMAIL PROTECTED] wrote:

  I'm trying to compile MPlayer but it just doesn't
 work because it
  depends on gio-fam-backend and that does not
 compile. It always stops
  with:
  /usr/bin/ld: cannot find -lgio-2.0
  gmake: *** [libgiofam.la] Error 1
  *** Error code 2
  
  Stop in /usr/ports/devel/gio-fam-backend.
  *** Error code 1
  
  Any ideas what I can do?
  
  Niels

I ran into this issue as well.  It seems to have more
to do with a change to the gio-fam-backend port
requiring something recently added to the glib port. 
This bug happened to me with glib 2.14 and I fixed it
by upgrading to glib 2.16 which is the version the
glib20 port currently installs.  This change in the
port must have happened recently, like in the past few
days.  

The fix is to upgrade your devel/glib20 port to the
latest, and then go for the gio-fam-backend port.  

 
 What does the output of uname and objformat look
 like?

This happened to me on 7.0-S, but I'd imagine it
probably occurs everywhere.  
I'd guess that libgio is a part of the glib20 port
that was not installed by 2.14 but is by 2.16. 
gio-fam-backend should probably do a dependency check
for it and if it isn't there, should upgrade
devel/glib20.  



  

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: pkg_cutleaves - a bit too efficient

2008-03-25 Thread Kris Kennaway

Nikolaj Thygesen wrote:

Hi list,

  In order to tighten up my fbsd installation I decided to try out 
pkg_cutleaves. I wasn't really too worried, as I figured I could always 
run portupgrade if I removed one package too many - and so I did it 
appears. Portupgrade doesn't bring anything back though. I've tried 
running pkgdb with a number of different parameters including -L and -F, 
but nothing really does me any good. What can I do to make 
ports/packages realize I'm in need of a few more packages??
  The particular symptom isn't too bad though. The background of my 
Gnome desktop doesn't respond to mouse clicks, and my wallpaper is gone, 
but still...


You will have to reinstall whatever packages you mistakenly removed. 
Once they are removed, they are gone for good.  If you removed parts of 
GNOME, try reinstalling the x11/gnome2 port.


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


Re: OT: (Way OT) PHP and MySQL concurrency control using MyISAM tables

2008-03-25 Thread Da Rock

On Sun, 2008-03-23 at 17:01 -0700, Patrick C wrote:
 MyISAM supports locking (like all engines) but not transactions. Without
 transactions, you can do a lock lock a table or tables, and unlock them,
 however you cannot roll back statements -- so if a statement down the line
 fails for some reason there is no way to rollback and undo past statements
 (automagically at least)
 
 The simple solution is to use InnoDB, which supports Good Things you want -
 it's more scalable across multiple threads, row-level locking, transactions,
 foreign keys, etc.
 
 The differences are fairly well documented. It sounds like you're using PDO,
 please read up on auto-commit mode. Don't reinvent the wheel, especially
 when the wheel is already built better than you could hack out a replacement
 for it :)
 
 -Patrick
 
 On 23/03/2008, Da Rock [EMAIL PROTECTED] wrote:
 
 
  On Sun, 2008-03-23 at 19:17 -0400, Bill Moran wrote:
   Da Rock [EMAIL PROTECTED] wrote:
   
I know this is not quite the list for these things, but I tried the
  PHP
list and got no reply whatsoever. In fact, I don't think anyone's home
cause the entire list is silent...
   
I'm trying to setup a system using web apps in PHP using MySQL as the
backend database, only this time I need transaction services.
  According
to the PHP manual if a transaction is served for MySQL it can come
  back
as committed even though it may not. So what I'm trying to accomplish
  is
develop some row level locking with the PHP script.
   
I enquired about setting up a servlet (for want of a better term) with
PHP, something that will serve the requests of the rest of the app. To
be honest though, I'm not entirely sure how to approach this.
  
   Wow.  That's one crazy attempt at a workaround.
  
   The correct solution is to use the correct tool for the job.  Either
   install PostgreSQL and use it instead, or use InnoDB tables.
  
 
 
  Actually, I think I may have got some facts confused here- I thought
  that MyISAM was not supposed to be transaction supported, but according
  to most stuff I've read it supports table level transaction locking.
 
  And the PHP manual says it will only come back with a false commit IF
  the table DOESN'T support transactions at all.
 
  So what is the truth here? If MyISAM supports transaction table locking
  I may be ok here- and save myself a hell of a lot of trouble to boot.
 
  Thanks guys, again.
 

I remember now exactly why I wanted MyISAM- you see the table locking is
exactly what I need for the task. I just need to come up with a method
to ensure what I send to the server does actually get written- or am I
just being paranoid?

The task I require needs to offer direct sequential access with no
undoing of written data. And given the legality of the task based on
these strict requirements, you can understand my paranoia.

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


desktop dominance

2008-03-25 Thread Benjamin Cance
I have had Linux for a long time. I have a different desktop coming that 
I am eager to play with FreeBSD on. It is a dual processored Intel Xeon 
@ 3.2ghz (64-bit). How are HP workstations with FreeBSD?

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


RE: RAID on HP ML110 G5

2008-03-25 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Nejc Škoberne
 Sent: Tuesday, March 25, 2008 1:30 AM
 To: Tom Munro Glass
 Cc: User Questions
 Subject: Re: RAID on HP ML110 G5


 Hey Tom,

  I would like to run FreeBSD 7 on a HP ML110 G5. I understand
 from past posts
  to this list that the ML110 series is FreeBSD friendly, but
 what about RAID 1
  using the on-board SATA controller? Will this work and how do
 you set this
  up?

 I have just configured a ML110G5 with FreeBSD 7 a few days ago.
 If you try to make
 a BIOS RAID (create an array in RAID controller BIOS), then
 FreeBSD won't recognize
 it as it does not understand the metadata format which controller
 BIOS uses to
 manage the arrays. What you have to do is (having RAID mode in
 BIOS still enabled)
 boot the server with FreeBSD 7 CD and then go to Fixit utility.
 There you can create
 hardware (see previous posts about this being hardware RAID)
 RAID with atacontrol
 utility. This way, FreeBSD will use its own metadata format for
 the array and will
 recognize such arrays as arX devices. Restarting the box you
 can then install
 FreeBSD easily on these arX devices like on normal adX or daX
 devices. So remember,
 this is not the real FreeBSD software RAID since it is not
 controlled by FreeBSD
 kernel but by the SATA/RAID controller. For example, I have 4
 drives and I created
 RAID-0 (stripes) with atacontrol and will merge them (in a few
 days) into a RAID-1
 gmirror.


I think if you set the BIOS control to RAID OFF it will work
the same way.

The RAID-specific stuff in the BIOS only is used for generating
the array and rebuilding it.  Once the system is up and running
the BIOS code isn't executed and it makes no difference what the
setting is.

In fact, in the HP DL 320 G5 you MUST set the SATA bios OFF or
FreeBSD won't even recognize the SATA controller at all.

I have also used this same trick with systems that had no RAID
in their BIOS at all but happened to have a RAID-compliant
chipset.

For example a number of the older Promise UDMA controllers
do not have a BIOS on them but the ata driver will allow you
to create a pseudo-hardware RAID array anyway.

Naturally, you can only do mirroring or striping.

Ted

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


hplip setup problems

2008-03-25 Thread Isaac Mushinsky
I am close to assasinating my HP Photosmart C4280 in frustration.

1. This is an all-in-one device. (I did not try the scanner setup yet)
2. ulpt, umass, uscanner modules are not in kernel and not kld-loaded. 
3. Machine is FreeBSD 7-stable/amd64.
4. hplip is 2.8.2

$ usbdevs 
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: EHCI root hub, Intel
 addr 2: Photosmart C4200 series, HP
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: EHCI root hub, Intel

There is a ppd file for these series with the hplip distribution.

hpssd, cups started in the order needed. hp-setup detects the printer, and then 
says 'Unable to create queue'. CUPS web interface actually adds the printer, 
but then cannot print test page to it. cups user runs hpssd (I tried root too).

/var/log/messages has:
Mar 25 23:57:56 omsk python: io/hpmud/musb.c 135: unable get_string_descriptor 
-5: Input/output error
Mar 25 23:57:56 omsk python: io/hpmud/musb.c 1951: invalid serial id string 
ret=-5

Here is all relevant output:
http://omsk.mushinsky.net/hplip-trouble

Any help is appreciated. Thanks.


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


Re: hplip setup problems

2008-03-25 Thread Predrag Punosevac

Isaac Mushinsky wrote:

I am close to assasinating my HP Photosmart C4280 in frustration.

1. This is an all-in-one device. (I did not try the scanner setup yet)
2. ulpt, umass, uscanner modules are not in kernel and not kld-loaded. 
3. Machine is FreeBSD 7-stable/amd64.

4. hplip is 2.8.2

$ usbdevs 
addr 1: UHCI root hub, Intel

addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: EHCI root hub, Intel
 addr 2: Photosmart C4200 series, HP
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: EHCI root hub, Intel

There is a ppd file for these series with the hplip distribution.

hpssd, cups started in the order needed. hp-setup detects the printer, and then 
says 'Unable to create queue'.

Do you have correct permissions on device nodes?




 CUPS web interface actually adds the printer, but then cannot print test page 
to it. cups user runs hpssd (I tried root too).

/var/log/messages has:
Mar 25 23:57:56 omsk python: io/hpmud/musb.c 135: unable get_string_descriptor 
-5: Input/output error
Mar 25 23:57:56 omsk python: io/hpmud/musb.c 1951: invalid serial id string 
ret=-5

Here is all relevant output:
http://omsk.mushinsky.net/hplip-trouble

Any help is appreciated. Thanks.


___
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: hplip setup problems

2008-03-25 Thread Isaac Mushinsky

 Do you have correct permissions on device nodes?
I think so, see the lsdevs output at the link provided. The permissions are 
even more liberal; I'll change them back when the problem is fixed.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: desktop dominance

2008-03-25 Thread Darren Spruell
On Tue, Mar 25, 2008 at 7:28 PM, Benjamin Cance
[EMAIL PROTECTED] wrote:
 I have had Linux for a long time. I have a different desktop coming that
  I am eager to play with FreeBSD on. It is a dual processored Intel Xeon
  @ 3.2ghz (64-bit). How are HP workstations with FreeBSD?

Given the range of hardware combinations possible in a given vendor,
that's a painful question to try to answer. Generally speaking, you'll
probably have no problems, but it's a matter of the individual
components and their respective level of support. Find out details (as
in, __details__, like exact chipset used where possible) about the
various parts in your workstation and you can reference resources like
http://www.freebsd.org/releases/6.3R/hardware-amd64.html or
http://www.freebsd.org/releases/7.0R/hardware.html (or the list
archives, or ...) for information about them.

On a 64-bit platform you may notice issues with older drivers (which
you probably don't have) or more likely some third-party packages that
aren't quite 64-bit clean.

I've had a very successful experience with FreeBSD on the last two
modern high-end workstations I've run it on; my only problem has not
been with FreeBSD but with the binary blob NVIDIA driver on a Quadro
FX 3450/4000 SDI. Outside of that, everything has been stellar.


Copyright (c) 1992-2008 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.0-STABLE #0: Mon Mar 17 18:04:24 MST 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(R) CPU   E5345  @ 2.33GHz (2327.51-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x6f7  Stepping = 7
  
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Features2=0x4e3bdSSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA
  AMD Features=0x2010NX,LM
  AMD Features2=0x1LAHF
  Cores per package: 4
real memory  = 3219169280 (3070 MB)
avail memory = 3136241664 (2990 MB)
ACPI APIC Table: DELL   B8K
FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3
 cpu4 (AP): APIC ID:  4
 cpu5 (AP): APIC ID:  5
 cpu6 (AP): APIC ID:  6
 cpu7 (AP): APIC ID:  7
ioapic0: Changing APIC ID to 8
ioapic1: Changing APIC ID to 9
ioapic0 Version 2.0 irqs 0-23 on motherboard
ioapic1 Version 2.0 irqs 24-47 on motherboard
kbd1 at kbdmux0
netsmb_dev: loaded
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: DELL B8K on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0
acpi_hpet0: High Precision Event Timer iomem 0xfed0-0xfed003ff on acpi0
Timecounter HPET frequency 14318180 Hz quality 900
cpu0: ACPI CPU on acpi0
est0: Enhanced SpeedStep Frequency Control on cpu0
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 721072106000721
device_attach: est0 attach returned 6
p4tcc0: CPU Frequency Thermal Control on cpu0
cpu1: ACPI CPU on acpi0
est1: Enhanced SpeedStep Frequency Control on cpu1
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 721072106000721
device_attach: est1 attach returned 6
p4tcc1: CPU Frequency Thermal Control on cpu1
cpu2: ACPI CPU on acpi0
est2: Enhanced SpeedStep Frequency Control on cpu2
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 721072106000721
device_attach: est2 attach returned 6
p4tcc2: CPU Frequency Thermal Control on cpu2
cpu3: ACPI CPU on acpi0
est3: Enhanced SpeedStep Frequency Control on cpu3
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 721072106000721
device_attach: est3 attach returned 6
p4tcc3: CPU Frequency Thermal Control on cpu3
cpu4: ACPI CPU on acpi0
est4: Enhanced SpeedStep Frequency Control on cpu4
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 721072106000721
device_attach: est4 attach returned 6
p4tcc4: CPU Frequency Thermal Control on cpu4
cpu5: ACPI CPU on acpi0
est5: Enhanced SpeedStep Frequency Control on cpu5
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 721072106000721
device_attach: est5 attach returned 6
p4tcc5: CPU Frequency Thermal Control on cpu5
cpu6: ACPI CPU on acpi0
est6: Enhanced SpeedStep Frequency Control on cpu6
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 721072106000721
device_attach: est6 attach returned 6
p4tcc6: CPU Frequency Thermal Control on cpu6
cpu7: ACPI CPU on acpi0