Re: Cannot open /etc/termcap

2008-06-01 Thread swell . k
"Sam Fourman Jr." <[EMAIL PROTECTED]> writes:

> I have a FreeBSD 6.2 server installed in June of 2007
>
> yesterday I did a portsnap fetch update
> and a portupgrade -ar
> now when I ssh in I get the following error
>
> csh: Cannot open /etc/termcap.
> csh: using dumb terminal settings.

Are you sure /usr/share/misc/termcap isn't empty and accesible
on the target machine?
lrwxr-xr-x  1 root  wheel23B May 31  2007 /etc/termcap@ -> 
/usr/share/misc/termcap

>
> as a result I can not run vi nor can I build /usr/ports/editors/vim
>
> can anyone 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]"


Re: Duplex printer advice

2008-06-01 Thread perryh
> my own requirements list includes (color duplex printer scanner).
> I don't need it to be a laser, but I do need both color, multifunc,
> and duplex printing ...  I begin to wonder if I could find one with
> the same specs ESCEPTING it was the cheaper technology of inkjet.
> ... please don't spend time trying to talk me out of features
> like color, or duplex, I like both too well ...

If you want *good* color, look into Xerox.  Seriously.  They are
not as costly as you may be expecting.

My experience with inkjet is that it produces inferior results,
and saves little or no money if you consider the cost of ink,
esp. when you have to pitch a 3/4-full cartridge because it
clogged up.  BT, DT.

And no, I don't work for Xerox.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: small office backup hardware advice

2008-06-01 Thread Sdavtaker
The rotative HDs sounds like a nice approach, i will check some prices 
and see what i can get here.

Thanks for the info, I will try the dump way, it should be enough :-)
Damian

Jerry McAllister wrote:

On Sun, Jun 01, 2008 at 09:38:48AM -0400, Robert Huff wrote:

  

Sdavtaker writes:

 
 >  Im working in a small office (4 PC with 80GB HD each and a

 >  "server" with a 200GB HD).
 >  We were working with no backups at all until now, we was just
 >  replicating some critical data in more than 1 PC all the time,
 >  back then there was no money for any hard copy of the data
 >  outside of the network (maybe a couple DVDR time to time).
 >  Now, they gave me some money for backup stuff.

Depends on just what you need.   If you just want to cover a system
failure, then maybe you should get some USB connected hard drives.
They are pretty cheap now.   


If you have 4 80 GB drives to back up, then get at least 3 drives
with 350 GB space or more.


Use fdisk/disklabel/newfs to create 4 (or more) 90 GB filesystems
on each drive.
Then set up a rotation of those drives so you use dump(8) to back up

each current file system that has important data to those USB drives.
So, PC A gets dumped to filesystem da0s1a, PC B to da0s1b, etc.

Say there is a root, /usr and /data file systems that you want to
back up, just for example, then you would plug in the USB disk
and mount them something like this.

On PC A,  
  mount /da0s1a /pcabak

  dump 0aLf /pcabak/root.bak /
  dump 0aLf /pcabak/usr.bak /usr
  dump OaLf /pcbak/data.bak /data

Then on PC B,  
  mount /da0s1b /pcbbak

  dump 0aLf /pcbbak/root.bak /
  dump 0aLf /pcbbak/usr.bak /usr
  dump OaLf /pcbak/data.bak /data

This will crate three appropriately named backup files for each
PC on the USB disk.   This is presuming the USB connects as /dev/da0
It could be something else if you have other SCSI devices.  So, it
might ende up as /dev/da1 or something like that.

Really, you don't need all the extra partitions and filesystems.
Just make one and create appropriately named directories.  But
the separate filesystems will enforce separation of that us 
useful to you.



Or, since there are just exactly 4 systems and it is possible to
make up to 4 slices on a drive, then make 4 slices and then 
partitions within each slice to match those on the current machines.

Say you want, for some reason, to back up partitions a, d, e of
PC A and partitions d, f, g of PC B, etc (just grabbing partitions
out of the hat here to use as example here), then

Make slice 1 for PC A, slice 2 for PC b, slice 3 for PC C and slice 4 for PC D
on each USB disk.

Then make partitions a, d, e on slice 1, d, f, g on slice 2, etc.
Use newfs(8) to build file systems of each of those partitions and
then use dump to create the dump files in each.That makes sense
but may be more bother then really needed, since you can distinguish
the dumps just by the names you give them.

If you must create archive backups, then you will probably want to go
to a good tape system, such as DLT or LTO tapes.   But, they are so
expensive relative to buying a handful of 350 - 500 GB USB hard drives
that you should think carefully about your needs before deciding.

Have fun,

jerry


  

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



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


Re: Duplex printer advice

2008-06-01 Thread David Kelly


On Jun 1, 2008, at 5:49 PM, Kurt Buff wrote:

As a matter of not going mad - what driver are you using for this  
printer?



Search the list archives, Gary Kline is the latest to have worked out  
those specific details. I usually use apsfilter but haven't  
reinstalled it since the wipe and reinstall of my ports after  
upgrading to 7.0-stable. Most of my 12,000 pages were printed from  
MacOS X.


At another location I have a FreeBSD 5.4 or 5.5 machine with something  
like 600 days of uptime which uses apsfilter, ghostscript via hpdj  
driver, to the PCL-5 network interface on a Kyocera printer.  
Ironically the Kyocera has a postscript interface but we never figured  
out how/who was turning it off.


Know the hooks are there in the print system to enable duplex but  
haven't made much use of them from FreeBSD. Most all of my 12,000  
pages were duplex.


--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.

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


Re: downgrading /sys/src

2008-06-01 Thread Mario Lobo
On Saturday 31 May 2008 18:05:24 Dominique Goncalves wrote:
> Hi,
>
> On 5/31/08, Mario Lobo <[EMAIL PROTECTED]> wrote:
> > This may sound wierd but let me explain why.
> >
> > On last may/26,  I added a Sound Blaster Live to my machine and I wanted
> > to activate the midi interface of the emu10kx driver. I know there were
> > some memory and timming problems but I wanted to experiment. So I did a
> > csup to 7_CURRENT (which is the tag I always use) then edited emu10kx to
> > coment out the #if 0 that excludes the midi code. I took the oportunity
> > to coment the drivers I did not need to make the kernel smaller.
> > Recompiled and loaded emu10kx from loader.conf.  the Kernel crashed right
> > after the acpi_hpet driver load.  But by loading emu10kx later, there was
> > no crash and SB board worked fine.
> >
> > A hunch told me to save kernel.old so I moved it to kernel.good which is:
> > FreeBSD lobo 7.0-STABLE FreeBSD 7.0-STABLE #1: Thu May 22 18:32:28 BRT
> > 2008 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/LOBO  i386
> >
> > After that I went on to make some DVD backups with k3b which ALWAYS
> > worked fine and now, after this upgrade, k3b keeps crashing without
> > finishing. Software and device buffers usage behaved erratically, and
> > even if it doesn't crash, it stops in around 30% with a write error. I
> > lost a few DVDs, since I suspected the DVD+RW may have had something to
> > do with the problem. I recompiled k3b (and the other ports around it) but
> > results were the same.
> >
> > Anyway, after several unsuccessful attempts to correct the problem by
> > removing/re-adding kernel drivers, recompiles and even removing the SB
> > board, I decided to move /boot/kernel to kernel.new, and copied
> > kernel.good to kernel and voilá ! Everything went back to normal and
> > worked fine!
> >
> > What I want to do is to make a copy of my current /src/sys, revert it
> > back to what it was in may/22 (kernel.good) and compare it with the
> > current /src/sys to see what changed that provoked this behavior. I
> > suspect of ata and memory handling changes but it's just a guess. I'd
> > have to have both sources to compare.
> >
> > So my question is: How can I get my /src/sys back to what it was in
> > may/22? can this be done?
>
> You could use the 'date=' option in your stable-supfile:
> *default release=cvs tag=RELENG_7 date=2008052200
>
> man 1 csup for more details
>
> Hope this helps
>

Thanks ! that did it !!

but the date format should so:

date=2008.05.22.00.00.00

I am going to dig in and see if I can find out what happened.

-- 
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winedows FREE)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Duplex printer advice

2008-06-01 Thread David Kelly


On Jun 1, 2008, at 5:23 PM, Ted Mittelstaedt wrote:


Just one warning about these.

The toner empty light blinks use the same pattern as the
fuser fail.  And, unlike the HP units, you usually can't
"shake down" the cartridge to get an extra hundred or
so pages out of it.  Don't jump to conclusions that the
fuser is bad when it's out of toner.



An irony of this printer is a new drum is $180 MSRP but refurbished  
5250's or 5240's are about $100.


If ever my drum needs replacement I'll buy a refurbished printer.

The 5240 is the same thing but without network, duplex, or postscript.  
So when buying for spare parts its just as good as a 5250.


--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.

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


Re: Duplex printer advice

2008-06-01 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ted Mittelstaedt wrote:
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Gary Kline
> Sent: Sunday, June 01, 2008 12:23 PM
> To: FreeBSD Questions
> Cc: Kurt Buff; Derek Ragona
> Subject: Re: Duplex printer advice
> 
> 
>> I second this suggestion since my Brother HL-5250DN just-worked once it
>> was plugged into my hub.  It was $179 at Costco a few months back, has 
>> all the features that David mentions, and builtin Postscript|clone.
>> It just prints--nothing fancy--but then hey... .
> 
> Just one warning about these.
> 
> The toner empty light blinks use the same pattern as the
> fuser fail.  And, unlike the HP units, you usually can't
> "shake down" the cartridge to get an extra hundred or
> so pages out of it.  Don't jump to conclusions that the
> fuser is bad when it's out of toner.

Man, this is really going to look like I'm never satisfied, which I guess is
actually true, so why am I worried about that?  thanks to this thread, I found
out about the Brother printers ... my own requirements list includes (color
duplex printer scanner).  I don't need it to be a laser, but I do need both
color, multifunc, and duplex printing.   I spotted the Brother the DCP-9045CDN,
but at $700 list, I begin to wonder if I could find one with the same specs
ESCEPTING it was the cheaper technology of inkjet.  Didn't find a Brother like
that, but I'm not finished looking for used 9045's, and I didn;'t get your
comments about it ... please don't spend time trying to talk me out of features
like color, or duplex, I like both too well.  I might be talked out of it being
multifunction, but it's be a fight for sure.

The reasoning behind going to inkjet is because I'm currently on a tight budget.
 I really would like to pay no more than about half that $700.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIQz4tz62J6PPcoOkRAmFZAKCJ4AJcZx5LpsXUdeVVVWA+fD7I6wCeMNLK
3iU8Y97qg1foFf0i7ICxWn4=
=I3NO
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Can't mount my iPhone - Maybe it need not be mounted?

2008-06-01 Thread Tom Ierna

On Jun 1, 2008, at 5:13 PM, Joshua Isom wrote:

To be able to mount your iPhone, you're going to have to essentially  
void the warranty and risk turning it into a pretty paperweight.  It  
sucks, but that's the way it is.  But at least you can charge your  
iPhone using FreeBSD.



If using libgpod through gtkpod only requires the iPhone be  
jailbroken, the above is not true. Jailbreaking your iPhone does not  
void the warranty, and there is very little chance of bricking it by  
just jailbreaking it. Bricking used to be an issue when mucking with  
the radio firmware, but jailbreaking doesn't touch that stuff.


To jailbreak an iPhone, check out http://ziphone.org/

You will need either a Windows or Mac to do the Jailbreak though.

--
Tom Ierna
President
Shockergroup, Inc.

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


Re: Duplex printer advice

2008-06-01 Thread Kurt Buff
On Sun, Jun 1, 2008 at 3:23 PM, Ted Mittelstaedt <[EMAIL PROTECTED]> wrote:
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Gary Kline
> Sent: Sunday, June 01, 2008 12:23 PM
> To: FreeBSD Questions
> Cc: Kurt Buff; Derek Ragona
> Subject: Re: Duplex printer advice
>
>
>>I second this suggestion since my Brother HL-5250DN just-worked once it
>>was plugged into my hub.  It was $179 at Costco a few months back, has
>>all the features that David mentions, and builtin Postscript|clone.
>>It just prints--nothing fancy--but then hey... .
>
> Just one warning about these.
>
> The toner empty light blinks use the same pattern as the
> fuser fail.  And, unlike the HP units, you usually can't
> "shake down" the cartridge to get an extra hundred or
> so pages out of it.  Don't jump to conclusions that the
> fuser is bad when it's out of toner.
>
> Ted


Good to know. Thanks.

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


Re: Duplex printer advice

2008-06-01 Thread Kurt Buff
On Sun, Jun 1, 2008 at 11:26 AM, David Kelly <[EMAIL PROTECTED]> wrote:
>
> On May 31, 2008, at 6:34 PM, Derek Ragona wrote:
>
>> At 04:12 PM 5/31/2008, Kurt Buff wrote:
>>>
>>> All,
>>>
>>> I'm looking to replace my current printer - a Dell 1700n - because I
>>> can't make it work with FreeBSD/Linux.
>>>
>>> To replace it, I'd like to get a duplex printer, as I really hate to
>>> waste paper. Does anyone have good experience with one that isn't
>>> terribly expensive (expensive to me means more than US$500) and that
>>> works with with FreeBSD? Even better if it has Ethernet.
>>>
>>> I'm only finding (on ostg.pricegrabber.com) the Lexmark Optra T622DN
>>> and T522DN, but don't know much about them.
>>>
>>> Anyone care to share?
>>>
>>> Kurt
>>
>> My 2 cents is I'd looks for a printer with a built-in network interface
>> and that has postscript and pcl emulations.  In addition look at the
>> replacement toner cost and figure out the cost of ownership across 3-5
>> years.
>>
>> I would look at lexmark, and samsung.  Lexmark have higher duty cycles
>> (pages per month) and take larger toner cartidges.  The samsung's make nice
>> work group low duty cycle printers.
>
> Lexmark and Dell are infamous for expensive toner-lock-ins.
>
> We had this discussion months ago where I recommended a Brother HL-5250DN. I
> have about 12,000 trouble free pages on mine, just don't bother trying to
> print envelopes.
>
> Has ethernet, duplex, postscript emulation, PCL-6, just about everything but
> a paper tray large enough to hold a full ream. Multiple paper trays are an
> available but expensive and rare option.
>
> Readily available from Staples and other places for $250. Refurbished units
> occasionally appear for $100. The usual 3rd party toner places have refills
> for under $20 that I've found are good for about 6,000 dense pages.
>
> $187: http://bensbargains.net/deal/66407/
>
> Staples recently (no longer) had refurbished Brother MFC-8660DN on sale for
> $200. Appears to be the same printer and features plus scanner with paper
> feed, and fax.
>
> --
> David Kelly N4HHE, [EMAIL PROTECTED]
> 
> Whom computers would destroy, they must first drive mad.

As a matter of not going mad - what driver are you using for this printer?

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


RE: Duplex printer advice

2008-06-01 Thread Ted Mittelstaedt


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Gary Kline
Sent: Sunday, June 01, 2008 12:23 PM
To: FreeBSD Questions
Cc: Kurt Buff; Derek Ragona
Subject: Re: Duplex printer advice


>I second this suggestion since my Brother HL-5250DN just-worked once it
>was plugged into my hub.  It was $179 at Costco a few months back, has 
>all the features that David mentions, and builtin Postscript|clone.
>It just prints--nothing fancy--but then hey... .

Just one warning about these.

The toner empty light blinks use the same pattern as the
fuser fail.  And, unlike the HP units, you usually can't
"shake down" the cartridge to get an extra hundred or
so pages out of it.  Don't jump to conclusions that the
fuser is bad when it's out of toner.

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


Cannot open /etc/termcap

2008-06-01 Thread Sam Fourman Jr.
I have a FreeBSD 6.2 server installed in June of 2007

yesterday I did a portsnap fetch update
and a portupgrade -ar
now when I ssh in I get the following error

csh: Cannot open /etc/termcap.
csh: using dumb terminal settings.



as a result I can not run vi nor can I build /usr/ports/editors/vim

can anyone 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]"


RE: FreeBSD CardBus

2008-06-01 Thread Ted Mittelstaedt


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Adam Jacob
> Muller
> Sent: Sunday, June 01, 2008 8:52 AM
> To: freebsd-questions@freebsd.org
> Subject: FreeBSD CardBus
> 
> 
> Hi,
> I have a server that has a pci->cardbus adapter in it.
> For some reason when I connect the card (A verizon PC5750) it isn't  
> completely detected. The only messages are:
> 
> 
> [EMAIL PROTECTED] dmesg|grep -e cbb -e cardbus -e pccard
> cbb0:  at device 12.0 on pci3
> cbb0: Found memory at fea0
> cbb0: Secondary bus is 0
> cbb0: Setting primary bus to 3
> cbb0: Secondary bus set to 4 subbus 5
> cardbus0:  on cbb0
> pccard0: <16-bit PCCard bus> on cbb0
> cbb0: [ITHREAD]
> cbb0: card inserted: event=0x, state=3820
> cbb0: cbb_power: 3V
> cbb0: cbb_power: 0V
> 
> 

How do you know it's supported under FreeBSD?

Ted

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


Static NAT and PAT on FreeBSD 6.2

2008-06-01 Thread Matt Brennan
Hi All,

  I am running FreeBSD 6.2-release. I have been running PAT via natd
and ipfw for some time now and it runs great. However, I continue to
try and employ static NAT on this router, and as soon as I do so all
other clients lose routing. My natd.conf is as below:

unregistered_only
use_sockets
log_ipfw_denied
redirect_address 10.100.1.2 66.92.79.20
alias_address 66.92.79.89

  Whenever I run with this configuration all clients except the
static'ed one lose routing out of the building. I have tried switching
the order of the alias_address and redirect_address.

  Any help is appreciated.

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


Re: Can't mount my iPhone - Maybe it need not be mounted?

2008-06-01 Thread Joshua Isom
To be able to mount your iPhone, you're going to have to essentially 
void the warranty and risk turning it into a pretty paperweight.  It 
sucks, but that's the way it is.  But at least you can charge your 
iPhone using FreeBSD.


On Jun 1, 2008, at 11:10 AM, eculp wrote:

I've not been successful at googling a way to connect freebsd current 
amd64 to my iPhone.  Eventually, I would like to be able to sync and 
upload to it from an opensource substitute for iTunes, that doesn't 
have a version from FreeBSD.


When I connect my iPhone I see:

Jun  1 09:55:00 ed kernel: uhid0: 2.00/0.01, addr 2> on uhub3


in messages and that is it.  No new device or anything that I can find.

Any programs or suggestions that you have to facilitate using the 
iPhone will be greatly appreciated. I've been trying to use gtkpod 
without success because I can't mount it, I assume.


Thanks,

ed

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


Sound skipping problem; Asus A8V-X w/ VIA VT8251/8237A on-board HDA (sound)

2008-06-01 Thread wa4geg



Help, I've googled my fingers off up to the elbow and no luck:o)
Sound works but skips or has gaps at about 1 second intervals.
I'm running a fresh install of FreeBSD 7.0 Release (AMD64.)

/boot/loader.conf contains:


>snd_hda_load="YES"





You might want to play with some hw.snd sysctls, especially;
hw.snd.latency_profile (set to zero)
hw.snd.latency (set to lower value)
hw.snd.feeder_buffersize (increase)



Roland


Thanks for the suggestion Roland. Sound is still ticking/clicking
after adding the following sysctl.conf entries (and rebooting of 
course;)


hw.snd.latency_profile=0
hw.snd.latency=0
hw.snd.feeder_buffersize=16384

And additional info; after changing hw.snd.maxautovchans from 2 to 0
just to see if it had any effect on the skips and clicks:

$ sysctl -a | grep snd
hw.snd.latency_profile: 0
hw.snd.latency: 0
hw.snd.report_soft_formats: 1
hw.snd.compat_linux_mmap: 0
hw.snd.feeder_buffersize: 16384
hw.snd.feeder_rate_round: 25
hw.snd.feeder_rate_max: 2016000
hw.snd.feeder_rate_min: 1
hw.snd.verbose: 1
hw.snd.maxautovchans: 0
hw.snd.default_unit: 0
hw.snd.version: 2007061600/amd64
hw.snd.default_auto: 0

$ sysctl -a | grep pcm
dev.pcm.0.%desc: VIA VT8251/8237A High Definition Audio Controller
dev.pcm.0.%driver: pcm
dev.pcm.0.%location: slot=1 function=0 handle=\_SB_.PCI0.P0P7.AZAL
dev.pcm.0.%pnpinfo: vendor=0x1106 device=0x3288 subvendor=0x1043 
subdevice=0x818f class=0x040300

dev.pcm.0.%parent: pci2
dev.pcm.0.play.vchans: 0
dev.pcm.0.rec.vchans: 0
dev.pcm.0.buffersize: 16384
dev.pcm.0.polling: 0
dev.pcm.0.polling_interval: 250


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


Re: small office backup hardware advice

2008-06-01 Thread Jerry McAllister
On Sun, Jun 01, 2008 at 09:38:48AM -0400, Robert Huff wrote:

> Sdavtaker writes:
 
 >  Im working in a small office (4 PC with 80GB HD each and a
 >  "server" with a 200GB HD).
 >  We were working with no backups at all until now, we was just
 >  replicating some critical data in more than 1 PC all the time,
 >  back then there was no money for any hard copy of the data
 >  outside of the network (maybe a couple DVDR time to time).
 >  Now, they gave me some money for backup stuff.

Depends on just what you need.   If you just want to cover a system
failure, then maybe you should get some USB connected hard drives.
They are pretty cheap now.   

If you have 4 80 GB drives to back up, then get at least 3 drives
with 350 GB space or more.

Use fdisk/disklabel/newfs to create 4 (or more) 90 GB filesystems
on each drive.
Then set up a rotation of those drives so you use dump(8) to back up
each current file system that has important data to those USB drives.
So, PC A gets dumped to filesystem da0s1a, PC B to da0s1b, etc.

Say there is a root, /usr and /data file systems that you want to
back up, just for example, then you would plug in the USB disk
and mount them something like this.

On PC A,  
  mount /da0s1a /pcabak
  dump 0aLf /pcabak/root.bak /
  dump 0aLf /pcabak/usr.bak /usr
  dump OaLf /pcbak/data.bak /data

Then on PC B,  
  mount /da0s1b /pcbbak
  dump 0aLf /pcbbak/root.bak /
  dump 0aLf /pcbbak/usr.bak /usr
  dump OaLf /pcbak/data.bak /data

This will crate three appropriately named backup files for each
PC on the USB disk.   This is presuming the USB connects as /dev/da0
It could be something else if you have other SCSI devices.  So, it
might ende up as /dev/da1 or something like that.

Really, you don't need all the extra partitions and filesystems.
Just make one and create appropriately named directories.  But
the separate filesystems will enforce separation of that us 
useful to you.


Or, since there are just exactly 4 systems and it is possible to
make up to 4 slices on a drive, then make 4 slices and then 
partitions within each slice to match those on the current machines.
Say you want, for some reason, to back up partitions a, d, e of
PC A and partitions d, f, g of PC B, etc (just grabbing partitions
out of the hat here to use as example here), then

Make slice 1 for PC A, slice 2 for PC b, slice 3 for PC C and slice 4 for PC D
on each USB disk.

Then make partitions a, d, e on slice 1, d, f, g on slice 2, etc.
Use newfs(8) to build file systems of each of those partitions and
then use dump to create the dump files in each.That makes sense
but may be more bother then really needed, since you can distinguish
the dumps just by the names you give them.

If you must create archive backups, then you will probably want to go
to a good tape system, such as DLT or LTO tapes.   But, they are so
expensive relative to buying a handful of 350 - 500 GB USB hard drives
that you should think carefully about your needs before deciding.

Have fun,

jerry


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


Re: Can't mount my iPhone - Maybe it need not be mounted?

2008-06-01 Thread Roland Smith
On Sun, Jun 01, 2008 at 11:10:48AM -0500, eculp wrote:
> I've not been successful at googling a way to connect freebsd current  
> amd64 to my iPhone.  Eventually, I would like to be able to sync and  
> upload to it from an opensource substitute for iTunes, that doesn't  
> have a version from FreeBSD.
> 
> When I connect my iPhone I see:
> 
> Jun  1 09:55:00 ed kernel: uhid0:  2.00/0.01, addr 2> on uhub3
> 
> in messages and that is it.  No new device or anything that I can find.
> 
> Any programs or suggestions that you have to facilitate using the  
> iPhone will be greatly appreciated. I've been trying to use gtkpod  
> without success because I can't mount it, I assume.

The pags for libgpod (http://www.gtkpod.org/libgpod.html), on which
gtkpod depends, says:

"There's also preliminary support for the iPhone and the iPod Touch 
 but they must be jailbroken to work."

Whatever that means. :-)

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


pgpzrjlQlh04a.pgp
Description: PGP signature


Re: Duplex printer advice

2008-06-01 Thread Gary Kline
On Sun, 2008-06-01 at 13:26 -0500, David Kelly wrote:
> On May 31, 2008, at 6:34 PM, Derek Ragona wrote:
> 
> > At 04:12 PM 5/31/2008, Kurt Buff wrote:
> >> All,
> >>
> >> I'm looking to replace my current printer - a Dell 1700n - because I
> >> can't make it work with FreeBSD/Linux.
> >>
> >> To replace it, I'd like to get a duplex printer, as I really hate to
> >> waste paper. Does anyone have good experience with one that isn't
> >> terribly expensive (expensive to me means more than US$500) and that
> >> works with with FreeBSD? Even better if it has Ethernet.
> >>
> >> I'm only finding (on ostg.pricegrabber.com) the Lexmark Optra T622DN
> >> and T522DN, but don't know much about them.
> >>
> >> Anyone care to share?
> >>
> >> Kurt
> >
> > My 2 cents is I'd looks for a printer with a built-in network  
> > interface and that has postscript and pcl emulations.  In addition  
> > look at the replacement toner cost and figure out the cost of  
> > ownership across 3-5 years.
> >
> > I would look at lexmark, and samsung.  Lexmark have higher duty  
> > cycles (pages per month) and take larger toner cartidges.  The  
> > samsung's make nice work group low duty cycle printers.
> 
> Lexmark and Dell are infamous for expensive toner-lock-ins.
> 
> We had this discussion months ago where I recommended a Brother  
> HL-5250DN. I have about 12,000 trouble free pages on mine, just don't  
> bother trying to print envelopes.
> 
> Has ethernet, duplex, postscript emulation, PCL-6, just about  
> everything but a paper tray large enough to hold a full ream. Multiple  
> paper trays are an available but expensive and rare option.
> 
> Readily available from Staples and other places for $250. Refurbished  
> units occasionally appear for $100. The usual 3rd party toner places  
> have refills for under $20 that I've found are good for about 6,000  
> dense pages.
> 
> $187: http://bensbargains.net/deal/66407/
> 
> Staples recently (no longer) had refurbished Brother MFC-8660DN on  
> sale for $200. Appears to be the same printer and features plus  
> scanner with paper feed, and fax.
> 

I second this suggestion since my Brother HL-5250DN just-worked once it
was plugged into my hub.  It was $179 at Costco a few months back, has 
all the features that David mentions, and builtin Postscript|clone.
It just prints--nothing fancy--but then hey... .

gary


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

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


Re: Duplex printer advice

2008-06-01 Thread Kurt Buff
On Sun, Jun 1, 2008 at 11:26 AM, David Kelly <[EMAIL PROTECTED]> wrote:
>
> On May 31, 2008, at 6:34 PM, Derek Ragona wrote:
>
>> At 04:12 PM 5/31/2008, Kurt Buff wrote:
>>>
>>> All,
>>>
>>> I'm looking to replace my current printer - a Dell 1700n - because I
>>> can't make it work with FreeBSD/Linux.
>>>
>>> To replace it, I'd like to get a duplex printer, as I really hate to
>>> waste paper. Does anyone have good experience with one that isn't
>>> terribly expensive (expensive to me means more than US$500) and that
>>> works with with FreeBSD? Even better if it has Ethernet.
>>>
>>> I'm only finding (on ostg.pricegrabber.com) the Lexmark Optra T622DN
>>> and T522DN, but don't know much about them.
>>>
>>> Anyone care to share?
>>>
>>> Kurt
>>
>> My 2 cents is I'd looks for a printer with a built-in network interface
>> and that has postscript and pcl emulations.  In addition look at the
>> replacement toner cost and figure out the cost of ownership across 3-5
>> years.
>>
>> I would look at lexmark, and samsung.  Lexmark have higher duty cycles
>> (pages per month) and take larger toner cartidges.  The samsung's make nice
>> work group low duty cycle printers.
>
> Lexmark and Dell are infamous for expensive toner-lock-ins.
>
> We had this discussion months ago where I recommended a Brother HL-5250DN. I
> have about 12,000 trouble free pages on mine, just don't bother trying to
> print envelopes.
>
> Has ethernet, duplex, postscript emulation, PCL-6, just about everything but
> a paper tray large enough to hold a full ream. Multiple paper trays are an
> available but expensive and rare option.
>
> Readily available from Staples and other places for $250. Refurbished units
> occasionally appear for $100. The usual 3rd party toner places have refills
> for under $20 that I've found are good for about 6,000 dense pages.
>
> $187: http://bensbargains.net/deal/66407/
>
> Staples recently (no longer) had refurbished Brother MFC-8660DN on sale for
> $200. Appears to be the same printer and features plus scanner with paper
> feed, and fax.
>
> --
> David Kelly N4HHE, [EMAIL PROTECTED]
> 
> Whom computers would destroy, they must first drive mad.

I am staring at the buy.com page now, card in hand.

Thanks - this is the kind of recommendation I needed.

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


Re: 7-STABLE Watchdog Timeout

2008-06-01 Thread Jeremy Karlson

Jos,

I tried setting "PNP OS" to both "YES" and "NO."  Neither made any  
sort of difference.


As for your suggestion on the web site: That seemed pretty likely to  
me, but disabling ACPI and APIC didn't make any difference either.


Thanks for the ideas though.

-- Jeremy

On 31-May-08, at 23:20, Jos Chrispijn wrote:


Jeremy,

Perhaps this link could give you the solution to your problem:

http://www.linuxquestions.org/questions/bsd-17/rl0-watchdog-timeout-519599/

regards,
Jos

Jeremy Karlson wrote:

Hi,

I'm in the process of moving a Subversion server from a 5-STABLE  
machine to a freshly installed 7-STABLE machine.  I've moved the  
network card (a Linksys EG1032v3, RTL8169S/8110S/8211B based) from  
the old machine (where it worked before) to this new machine.  Now,  
I get:


re0: watchdog timeout

___
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: Duplex printer advice

2008-06-01 Thread David Kelly


On May 31, 2008, at 6:34 PM, Derek Ragona wrote:


At 04:12 PM 5/31/2008, Kurt Buff wrote:

All,

I'm looking to replace my current printer - a Dell 1700n - because I
can't make it work with FreeBSD/Linux.

To replace it, I'd like to get a duplex printer, as I really hate to
waste paper. Does anyone have good experience with one that isn't
terribly expensive (expensive to me means more than US$500) and that
works with with FreeBSD? Even better if it has Ethernet.

I'm only finding (on ostg.pricegrabber.com) the Lexmark Optra T622DN
and T522DN, but don't know much about them.

Anyone care to share?

Kurt


My 2 cents is I'd looks for a printer with a built-in network  
interface and that has postscript and pcl emulations.  In addition  
look at the replacement toner cost and figure out the cost of  
ownership across 3-5 years.


I would look at lexmark, and samsung.  Lexmark have higher duty  
cycles (pages per month) and take larger toner cartidges.  The  
samsung's make nice work group low duty cycle printers.


Lexmark and Dell are infamous for expensive toner-lock-ins.

We had this discussion months ago where I recommended a Brother  
HL-5250DN. I have about 12,000 trouble free pages on mine, just don't  
bother trying to print envelopes.


Has ethernet, duplex, postscript emulation, PCL-6, just about  
everything but a paper tray large enough to hold a full ream. Multiple  
paper trays are an available but expensive and rare option.


Readily available from Staples and other places for $250. Refurbished  
units occasionally appear for $100. The usual 3rd party toner places  
have refills for under $20 that I've found are good for about 6,000  
dense pages.


$187: http://bensbargains.net/deal/66407/

Staples recently (no longer) had refurbished Brother MFC-8660DN on  
sale for $200. Appears to be the same printer and features plus  
scanner with paper feed, and fax.


--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.

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


Re: ipw2200 freebsd 7 firmware problem

2008-06-01 Thread Fernando Apesteguía
On Thu, May 22, 2008 at 6:28 PM, peter harrison
<[EMAIL PROTECTED]> wrote:
> Thursday, 22 May 2008 at 14:04:46 +0100, Vince Hoffman said:
>> peter harrison wrote:
>> > Thursday, 22 May 2008 at  9:13:41 +0100, Vince Hoffman said:
>> >> Fernando Apesteguía wrote:
>> >>> On 5/22/08, Vince Hoffman <[EMAIL PROTECTED]> wrote:
>>  Fernando Apesteguía wrote:
>> > On Wed, May 21, 2008 at 10:33 AM, Vince Hoffman <[EMAIL PROTECTED]>
>>  wrote:
>> 
>> >> Have you read the manpage for iwi?
>> >>
>> > No, I tried with iwi-firmware and iwicontrol and none of them existed.
>> >
>> >
>> >> no ports are needed the firmware is now in the base system, Just add 
>> >> the
>> >> entries as specified in this snippet from man iwi
>> >>
>> > So... shouldn't this port be removed?
>> >
>> >
>>  I'm pretty sure that things changed between 6.x and 7.x, I'd imagine the
>>  port is needed for <7.x
>> 
>> >>  Alternatively, to load the driver as a module at boot time, place the
>> >>following lines in loader.conf(5):
>> >>
>> >>  if_iwi_load="YES"
>> >>  wlan_load="YES"
>> >>  firmware_load="YES"
>> >>
>> >>In both cases, place the following lines in loader.conf(5) to load
>>  the
>> >>firmware modules:
>> >>
>> >>  iwi_bss_load="YES"
>> >>  iwi_ibss_load="YES"
>> >>  iwi_monitor_load="YES"
>> >>
>> >> and
>> >>
>> >>  This driver requires firmware to be loaded before it will work.  For
>> >> the loaded firmware to work the license at
>> >>/usr/share/doc/legal/intel_iwi/LICENSE must be
>>  agreed to and the
>> >> follow-ing line be added to loader.conf(5):
>> >>
>> >>  legal.intel_iwi.license_ack=1
>> >>
>> >>
>> > I'll try it. But AFAIK, I have to recompile the kernel cause the
>> > "device iwi" line is missing.
>> >
>> > Am i right?
>> >
>> >
>>  I think they should all be loadable as modules if they arent in generic.
>> 
>>  To try without rebooting I believe the commands you want are:
>>  kenv legal.intel_iwi.license_ack=1
>>  kldload if_iwi
>>  kldload wlan
>>  kldload firmware
>>  kldload iwi_bss
>>  kldload iwi_ibss
>>  kldload iwi_monitor
>> 
>>  However, I just had a look in my /boot/kernel for the if_iwi module and 
>>  its
>>  not there so you may be correct. (I'm a touch supprised as the do exist 
>>  on
>>  my i386 box)
>> >>> The same on my machine. The line is not in GENERIC and that modules
>> >>> don't exist. I will recompile my module as soon as I have some spare
>> >>> time.
>> >>> Thanks for your help.
>> >>>
>> >> In theory you should be able to just
>> >> cd /usr/src/sys/modules/iwi
>> >> make && make install
>> >> cd /usr/src/sys/modules/iwifw
>> >> make && make install
>> >>
>> >>
>> >> without rebuilding the entire kernel. I'm just puzzled why they dont
>> >> build by default.
>> >
>> > I'm running a stock 7.0-STABLE with GENERIC and a default make.conf and I 
>> > get the iwi modules no problem. I just followed the instructions in the 
>> > man page and was up and running in 5 minutes.
>> >
>> >
>> Are you running AMD64? the modules are there on my i386 laptop but not
>> my AMD64 server (I dont use iwi on either though.)
>
> I'm running i386, so that may be the difference. I don't have an AMD64 system 
> to check I'm afraid.

Hi all again,

I recompiled my kernel and now, the IPW2200BG card seems to be detected.
This is the output of the ifconfig re0 command:

iwi0: flags=8802 metric 0 mtu 1500
ether 00:0e:35:fd:aa:0f
media: IEEE 802.11 Wireless Ethernet autoselect
status: no carrier
ssid ApeWireless channel 1 (2412 Mhz 11b)
authmode OPEN privacy ON deftxkey 1 wepkey 1:104-bit bmiss 10
scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi11b 7
roam:rate11b 1 bintval 0


However, neither I can connect to my wireless router, nor I can scan
the frequency. My wireless AP, has a hidden SSID, wep key and DHCP.
Scanning of frequencies shows no results (but there are many wireless
networks around).

Any ideas?

Thanks in advance.



>
>
> Peter Harrison.
>
>>
>> vince
>>
>> > Peter Harrison
>> >
>> >>
>> >> Vince
>> >>
>> >>
>> >>> Best Regards
>> >>>
>>  regards,
>>  Vince
>> 
>> 
>> >> ___
>> >> 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
h

Can't mount my iPhone - Maybe it need not be mounted?

2008-06-01 Thread eculp
I've not been successful at googling a way to connect freebsd current  
amd64 to my iPhone.  Eventually, I would like to be able to sync and  
upload to it from an opensource substitute for iTunes, that doesn't  
have a version from FreeBSD.


When I connect my iPhone I see:

Jun  1 09:55:00 ed kernel: uhid0: 2.00/0.01, addr 2> on uhub3


in messages and that is it.  No new device or anything that I can find.

Any programs or suggestions that you have to facilitate using the  
iPhone will be greatly appreciated. I've been trying to use gtkpod  
without success because I can't mount it, I assume.


Thanks,

ed

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


FreeBSD CardBus

2008-06-01 Thread Adam Jacob Muller

Hi,
I have a server that has a pci->cardbus adapter in it.
For some reason when I connect the card (A verizon PC5750) it isn't  
completely detected. The only messages are:



[EMAIL PROTECTED] dmesg|grep -e cbb -e cardbus -e pccard
cbb0:  at device 12.0 on pci3
cbb0: Found memory at fea0
cbb0: Secondary bus is 0
cbb0: Setting primary bus to 3
cbb0: Secondary bus set to 4 subbus 5
cardbus0:  on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb0: [ITHREAD]
cbb0: card inserted: event=0x, state=3820
cbb0: cbb_power: 3V
cbb0: cbb_power: 0V



Following that, no more messages (unless I remove the card and then  
reinsert it, but I never get any messages beyond this).



Any ideas?

Also, is there any documentation for the newcard support? Most of the  
docs i can find are oldcard-focused.



-Adam

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


Re: CPU info

2008-06-01 Thread Pieter de Goeje
On Sunday 01 June 2008, Jos Chrispijn wrote:
> Roland Smith wrote:
> > sysutils/mbmon
>
> On one of my computers it crashes my system. What I found about this on
> the Web:
>
> This is a X/tty motherboard monitor which supports LM78/79, WINBond
> 83781D/83782D/83783S, ASUS 991227F, and VIA VT82C686A/B PC-health
> chips via 3 methods: ISA-I/O, SMBus, VIA-direct.
>
> ***CAUTION***
>
> These programs access to the SMBus or the ISA-IO port directly under
> the superuser privilege, so it may cause a system crash.  Please test
> "mbmon -d" or "xmbmon -debug" first.
>
> thanks for sharing,
> Jos

Perhaps sysutils/healthd works for you. 

Also if you have a k8 processor you can use sysutils/k8temp to monitor it's 
temperature. For core2 processors the coretemp kernel module should work.


Good luck,

Pieter de Goeje

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


small office backup hardware advice

2008-06-01 Thread Robert Huff
Sdavtaker writes:

>  Im working in a small office (4 PC with 80GB HD each and a
>  "server" with a 200GB HD).
>  We were working with no backups at all until now, we was just
>  replicating some critical data in more than 1 PC all the time,
>  back then there was no money for any hard copy of the data
>  outside of the network (maybe a couple DVDR time to time).
>  Now, they gave me some money for backup stuff.

Roughly how much money is "some"?  $1000?  $5000?  $10,000?


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: Looking for gurus willing to help write Freebsd tutorials

2008-06-01 Thread Jerry McAllister
On Sun, Jun 01, 2008 at 12:54:32AM -0700, Ted Mittelstaedt wrote:

> 
> 
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of Unga
> > Sent: Friday, May 30, 2008 9:14 PM
> > To: Steve Lake
> > Cc: freebsd-questions@freebsd.org
> > Subject: Re: Looking for gurus willing to help write Freebsd tutorials
> > 
> > 
> > "Raiden's Realm is a community tech site dedicated to
> > helping people learn about Linux, BSD, and open source
> > software." - WHO WE ARE, www.raiden.net.
> > 
> > If you are honest for your site's objective,
> > appreciate if could drop the penguin from the site's
> > logo without a delay. It clearly shows your bias.
> > 
> 
> Yep, he definitely likes birds better than red sex toys...
> 

Yah, but he's in therapy for it.
Give him something to live for and help his desparate attempt to
crawl out of the pit.

jerry  

> Ted
> ___
> 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 PHP issues

2008-06-01 Thread Matthew Seaman

Vince Hoffman wrote:

Matthew Seaman wrote:

kevin kempter wrote:

Hi List;

I'm fairly new to freeBSD, but a long time Linux biggot. I installed 
freeBSD7, then I installed PHP like this:


# cd /usr/ports/lang/php5
# make config
# make install

Next I installed PostgreSQL and pgFouine

However when I run pgfouine to generate a log report I get this error:

$ php ./pgfouine.php -file $PGDATA/pg_log/postgresql-31.log > rept.html
PHP Fatal error:  Call to undefined function preg_replace() in 
/usr/local/pgsql/pgfouine/include/reporting/geshi/geshi.php on line 474


preg_replace() I believe is a PHP built-in, anyone know how to 
correct this, or have thoughts on what I may be doing wrong. Maybe 
I've missed some sort of config step?




You need to install the PCRE module:

  # cd /usr/ports/devel/php5-pcre
  # make install

and similarly for all of the other PHP modules you will undoubtedly
find yourself needing.


A quicker way of doing this is
cd /usr/ports/lang/php5-extensions
make config
then choose what extensions you need, and then
make install clean



Actually, even that is /far/ too much effort.  Now you can just install
the databases/pgfouine port, which by an intriguing coincidence was committed 
to the ports tree just last night.

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: NFS drops with em0 driver

2008-06-01 Thread Catalin Miclaus
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Subhro
Sent: Sunday, June 01, 2008 7:06 AM
To: freebsd-questions@freebsd.org
Subject: NFS drops with em0 driver

Hello,

I am facing a strange problem on my systems. I am running
FreeBSD-6.2-RELEASE-p12. My network interface uses the em driver. I am
facing a lot of issues where the NFS connections are dying randomly.
Is there any known bug with the em driver? I am using the SCHED_ULE
scheduler.

Thanks
Subhro



Check this:

http://wiki.freebsd.org/JeremyChadwick/Commonly_reported_issues





Best Regards
Catalin Miclaus
Network/Security ISP-Data
Starcomms Ltd.




___
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: small office backup hardware advice

2008-06-01 Thread Jos Chrispijn

Sdavtaker wrote:

Now, they gave me some money for backup stuff.
What will be a solid but cheap solution to keep some usefull backups?

Woukd a second FreeBSD system with Samba on it be an option for some money?

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


Re: Duplex printer advice

2008-06-01 Thread Jos Chrispijn

Kurt Buff wrote:

I'm looking to replace my current printer - a Dell 1700n - because I
can't make it work with FreeBSD/Linux.
  

So tell us, what is the problem?

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


Re: Duplex printer advice

2008-06-01 Thread Derek Ragona

At 04:12 PM 5/31/2008, Kurt Buff wrote:

All,

I'm looking to replace my current printer - a Dell 1700n - because I
can't make it work with FreeBSD/Linux.

To replace it, I'd like to get a duplex printer, as I really hate to
waste paper. Does anyone have good experience with one that isn't
terribly expensive (expensive to me means more than US$500) and that
works with with FreeBSD? Even better if it has Ethernet.

I'm only finding (on ostg.pricegrabber.com) the Lexmark Optra T622DN
and T522DN, but don't know much about them.

Anyone care to share?

Kurt


My 2 cents is I'd looks for a printer with a built-in network interface and 
that has postscript and pcl emulations.  In addition look at the 
replacement toner cost and figure out the cost of ownership across 3-5 years.


I would look at lexmark, and samsung.  Lexmark have higher duty cycles 
(pages per month) and take larger toner cartidges.  The samsung's make nice 
work group low duty cycle printers.


-Derek

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

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


RE: Looking for gurus willing to help write Freebsd tutorials

2008-06-01 Thread Ted Mittelstaedt


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Unga
> Sent: Friday, May 30, 2008 9:14 PM
> To: Steve Lake
> Cc: freebsd-questions@freebsd.org
> Subject: Re: Looking for gurus willing to help write Freebsd tutorials
> 
> 
> "Raiden's Realm is a community tech site dedicated to
> helping people learn about Linux, BSD, and open source
> software." - WHO WE ARE, www.raiden.net.
> 
> If you are honest for your site's objective,
> appreciate if could drop the penguin from the site's
> logo without a delay. It clearly shows your bias.
> 

Yep, he definitely likes birds better than red sex toys...

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


Re: CPU info

2008-06-01 Thread Jos Chrispijn

Roland Smith wrote:

sysutils/mbmon
  
On one of my computers it crashes my system. What I found about this on 
the Web:


This is a X/tty motherboard monitor which supports LM78/79, WINBond
83781D/83782D/83783S, ASUS 991227F, and VIA VT82C686A/B PC-health
chips via 3 methods: ISA-I/O, SMBus, VIA-direct.

***CAUTION*** 


These programs access to the SMBus or the ISA-IO port directly under
the superuser privilege, so it may cause a system crash.  Please test
"mbmon -d" or "xmbmon -debug" first.

thanks for sharing,
Jos

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


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

2008-06-01 Thread Ted Mittelstaedt


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Frank Shute
> Sent: Friday, May 30, 2008 5:51 PM
> To: Ted Mittelstaedt
> Cc: Gary Kline; FreeBSD Mailing List
> Subject: Re: Stumped:: web HTML. Caution, may be OT.
> 
> 
> On Thu, May 29, 2008 at 10:07:56PM -0700, Ted Mittelstaedt wrote:
> >
> > 
> > 
> > > -Original Message-
> > > From: Gary Kline [mailto:[EMAIL PROTECTED]
> > > Sent: Thursday, May 29, 2008 3:14 PM
> > > To: Ted Mittelstaedt
> > > Cc: Kevin Downey; FreeBSD Mailing List
> > > Subject: Re: Stumped:: web HTML. Caution, may be OT.
> > > 
> > > 
> > > 
> > >   Chill down a bit, okay?  first, (as the OP), i did not know
> > >   thaat there was *this** great a disparity in thee rendering
> > >   between classes of browsers.  i used to stick pretty close 
> > >   to the w3.org (or whatever it was).   i didn't think the
> > >   difference extended to how the  stuff was parsed.
> > > 
> > 
> > Gary, the problem is that the majority of people out there use
> > IE, most IE7, but still a lot of IE6, and a few deihards IE5.
> > 
> > Then there are the older versions of Safari on the Mac - there's
> > still a lot of Mac's around that are running 10.2 believe it or
> > not, and those came with MS IE for the Mac which -really- munges
> > some pages.  And Safari for Windows - which is a bit different than
> > Safari on the Mac.
> > 
> > And then there are all the Unix browsers.
> > 
> > There are some test programs that can help.  But the validators
> > can tell you your code is right and it still will display differently
> > in some of the browsers.  The only way to do it is to do what
> > the pros do - which is have all the different systems available
> > and load their pages in those browsers.
> 
> I test my pages with IE7, Safari on XP and Firefox on FreeBSD. Fixing
> problems with IE6 or anything else is too much to expect from amateur
> pages (which mine are).
> 

IE6 is the last MS browser available for W2K and even though W2K
was out for only a short time, (compared to XP) unlike Win98, it is
a real 32 bit version of Windows, and there's still a lot of it
out there.

Although, after the US economic stimulus checks are received by
the general populace, I'm sure that will change somewhat.

(I was very tempted when I opened the Fry's Electronics advert
today and saw the Toshiba laptop, dual-core CPU, 1GB ram, 160GB disk with
a DVD burner, going for $449.99)

> > 
> > Telling people "my site is fine your browser is fucked, get a
> > better one" is the mark of an amateur who is also being extremely
> > presumptive.  It's the old "do it my way or fuck off"
> 
> You forget that Gary is an amateur. Hence, any complaints can be dealt
> with "they validate, F off and get a better browser". (When he gets
> round to making them validate :)
> 

:-)  He is an amateur - but his content isn't the sort of content
that is a "must have" to where people will actually go to the
trouble of loading a different browser to view it.

(Hint: this is why virtually all church services are free to attend)

> > 
> > This is what Microsoft tells people - and most FreeBSDers and
> > Linux people claim they are on the moral high ground because they
> > aren't forcing their stuff down people's throats - that is, 
> > until they create a webpage and then they have no problem forcing
> > software down people's throats to see it, I guess
> 
> I can't see anything wrong with telling people to use better software,
> you're doing them a favour! It's obviously different if you're writing
> pages for a commercial site.

I'm not sure I follow that...

> You should still write pages that
> validate and there are various hacks you can use with CSS, the DOM and
> Javscript to make your pages appear OK in older broken browsers...and
> newer ones with bugs.
> 

But why do you need to do those if your telling people to get a
better browser... ;-)

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


Re: CPU info

2008-06-01 Thread Roland Smith
On Sun, Jun 01, 2008 at 09:00:00AM +0200, Jos Chrispijn wrote:
> Slightly off-topic I think: can someone tell me if where I can find a 
> program in the ports to watch various system information (Core 
> temperature, etc) that works from the system prompt? Thanks.

sysutils/mbmon

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


pgpDXMQRsFZe2.pgp
Description: PGP signature


RE: Need to build a new mail server

2008-06-01 Thread Ted Mittelstaedt


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Giorgos
> Keramidas
> Sent: Friday, May 30, 2008 9:06 PM
> To: DAve
> Cc: freebsd-questions@freebsd.org
> Subject: Re: Need to build a new mail server
> 
> 
> This freebsd-questions thread is approaching a low signal/noise ratio
> very very fast.  MTAs are a hotly debated subject, and they tend to
> spark the flames of a religious war *very* fast.  Can we _please_ try to
> steer this discussion back on track, and actually _help_ the original
> poster,

No, Giorgos, we can't.

The OP asked a question that cannot be answered by a few simple
posts to a mailing list.  Whole books have been writen that cover
nothing other than how to build a mailserver.

Because the question is unanswerable, (at least in this forum and
format) what your going to get instead is the big dick war.

I'd advise you to just ignore it as I have done - indeed, this is
my first and only contribution to the thread - the only reason
I even bothered looking at it at all, was because I was surprised
to see the thread still alive, and as your name was on a posting
I figured that something really interesting must have been
under discussion.

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


Re: NFS drops with em0 driver

2008-06-01 Thread Wojciech Puchar

Subhro


Hello Subhro,

I have nothing to add besides a "me too." I ended up replacing my em0 with an
fxp0 and all of my networking issues (watchdog timeouts, link
dropping/reconnection, etc.) disappeared. This may have been flaky hardware.
Do you have another NIC you can try with?



i use em network on FreeBSD 6.3/amd64, normal sheduler, all works fine.

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


Re: NFS drops with em0 driver

2008-06-01 Thread Josh Tolbert
On Sun, Jun 01, 2008 at 11:36:05AM +0530, Subhro wrote:
> Hello,
> 
> I am facing a strange problem on my systems. I am running
> FreeBSD-6.2-RELEASE-p12. My network interface uses the em driver. I am
> facing a lot of issues where the NFS connections are dying randomly.
> Is there any known bug with the em driver? I am using the SCHED_ULE
> scheduler.
> 
> Thanks
> Subhro

Hello Subhro,

I have nothing to add besides a "me too." I ended up replacing my em0 with an
fxp0 and all of my networking issues (watchdog timeouts, link
dropping/reconnection, etc.) disappeared. This may have been flaky hardware.
Do you have another NIC you can try with?

Thanks,

Josh
-- 
Josh Tolbert
[EMAIL PROTECTED]  ||  http://www.puresimplicity.net/~hemi/

Security is mostly a superstition. It does not exist in nature, nor
do the children of men as a whole experience it. Avoiding danger
is no safer in the long run than outright exposure. Life is either
a daring adventure, or nothing.
-- Helen Keller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


CPU info

2008-06-01 Thread Jos Chrispijn
Slightly off-topic I think: can someone tell me if where I can find a 
program in the ports to watch various system information (Core 
temperature, etc) that works from the system prompt? Thanks.

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