Re: Printer getting attached to umass and da

2008-04-12 Thread Predrag Punosevac

Steven Friedrich wrote:

On Saturday 12 April 2008 04:29:20 pm Warren Block wrote:
  

On Sat, 12 Apr 2008, Steven Friedrich wrote:


From messages:
messages:Apr 12 09:39:55 laptop kernel: ulpt0: EPSON USB2.0
MFP(Hi-Speed), class 0/0, rev 2.00/1.00, addr 2 on uhub4
messages:Apr 12 09:39:55 laptop kernel: umass0: EPSON USB2.0
MFP(Hi-Speed), class 0/0, rev 2.00/1.00, addr 2 on uhub4
messages:Apr 12 09:39:55 laptop kernel: da0: EPSON Stylus Storage 1.00
Removable Direct Access SCSI-2 device

Why is it getting attached to umass and da?
  

Most likely the printer has memory card slots that are accessible via
USB.



Should I config something to stop this?
  

Not unless it's causing a problem.

-Warren Block * Rapid City, South Dakota USA



It does have slots for memory...
I can't get this printer to work, and the cups error_log shows no errors.
I had been reading a HOW-TO on the CUPS site and I set the loglevel to debug, 
figuring I'd get a message about a broken pipe due to a missing filter.
No such luck. Far as CUPS is concerned, it's working. But it only feeds sheet 
after sheet and occasionally prints garbage.

I've tried CUPS test page and a one sheet doc from KATE.
The gutenprint doc says I should have an Epson backend 
in /usr/lib/cups/backend (but I think on freebsd it will be 
in /usr/local/libexec/cups/backend).

But it's not there...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  
Remove the umass driver from the kernel (you have to recompile) and then 
configure printer. Then load
umass driver after the boot with kldload utility since otherwise you 
will not be able to use Floppy disk and USB sticks


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


Re: finding BSD Unix users

2008-04-10 Thread Predrag Punosevac

Steve Franks wrote:

On Sun, Apr 6, 2008 at 1:21 PM, Predrag Punosevac
[EMAIL PROTECTED] wrote:
  

Chad Perrin wrote:



My area (northern Colorado) has an excellent Linux Users Group (NCLUG).
There's a great bunch of guys there.  Unfortunately, they're very
Linux-centric.  I'm kinda the resident BSD Unix heretic -- which is fine
most of the time, but once in a while I'd like to be able to discuss
stuff with people who primarily use BSD Unix systems instead of
Linux-based systems.

Unfortunately, there isn't a single Colorado BSD Users Group in Colorado
that I can find.  The closest I've been able to find mention of online at
all is Laramie, Wyoming -- LWFUG, or Laramie, Wyoming Freenix Users
Group.  Their website seems to have become a domain squatter's portal
site, though.

So . . . does anyone here have any suggestions for how I might go about
finding BSD Unix users somewhat local to me?  Since there isn't a group
already that I can find, I wonder if there are enough people interested
in such a thing in this area to build a users group.  Any suggestions for
how to go about finding fellow BSD Unix users in my area would be
appreciated, I'm sure.



  

 I would put an add in the local newspaper and ask if there are any BSD
users around.
 That is exactly how the Tucson Free Unix Group started  a  decade  ago.
 Unfortunately since then  TFUG  has  become  increasingly dominated by
Linux users and Windows converts
 (who maybe run Ubuntu on a small partition or via VMware).

 As in your case that was fine for a while but at some point it became
increasingly difficult for both sides to tolerate
 each other so I voluntarily  sized  all my  activity  in  the  group.  The
timing coincide with my decision to switch to OpenBSD:-) I  do know  of  two
other BSD users on TFUG (one NetBSD and another younger member is using
FreeBSD) as well as few Solaris users  but I didn't stay in touch with them.

 Cheers,
 Predrag

 P. S. There is a very strong local BSD group in Phoenix but they are much
to far away from Tucson that I could participate in their activity.


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




I'm a Tucson FBSD user!  We should meet at the safehouse or similar sometime!

Steve

  
I am all for it. Just contact me of the list whenever you have time to 
meet with me and we will figure out something.


Best,
Predrag


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


Re: Screen resolution on FreeBSD 7.0

2008-04-09 Thread Predrag Punosevac

Nishita Desai wrote:

From: Nishita Desai [EMAIL PROTECTED]
Date: Wed, Apr 9, 2008 at 10:26 PM
Subject: Screen resolution on FreeBSD 7.0
To: [EMAIL PROTECTED]


  
You are missing line DefaultDepth 24. Remove i810 and install Intel 
driver from ports instead. Adjust xorg.conf
accordingly. You my want to use xrandr to experiment with different 
modes dynamically.

Cheers,
Predrag


Hello,

 I just installed FreeBSD 7.0 on a Dell Inspirion 640m notebook and am
 trying to get the screen resolution right. I need a 1280x800
 wide-screen resolution and according to the Handbook, I should be able
 to do that by modifying the xorg.conf. I also have Ubuntu running a
 nice resolution on the other partition (slice) so I used the Screen
 section of it's xorg.conf to make the changes

 Here is the xorg.conf file:

 --
 Section ServerLayout
Identifier X.org Configured
Screen  0  Screen0 0 0
InputDeviceMouse0 CorePointer
InputDeviceKeyboard0 CoreKeyboard
 EndSection

 Section Files
RgbPath  /usr/local/share/X11/rgb
ModulePath   /usr/local/lib/xorg/modules
FontPath /usr/local/lib/X11/fonts/misc/
FontPath /usr/local/lib/X11/fonts/TTF/
FontPath /usr/local/lib/X11/fonts/OTF
FontPath /usr/local/lib/X11/fonts/Type1/
FontPath /usr/local/lib/X11/fonts/100dpi/
FontPath /usr/local/lib/X11/fonts/75dpi/
 EndSection

 Section Module
Load  GLcore
Load  dbe
Load  dri
Load  extmod
Load  glx
Load  record
Load  xtrap
Load  freetype
Load  type1
 EndSection

 Section InputDevice
Identifier  Keyboard0
Driver  kbd
 EndSection

 Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol auto
Option  Device /dev/sysmouse
Option  ZAxisMapping 4 5 6 7
 EndSection

 Section Monitor
#DisplaySize  300   190 # mm
Identifier   Monitor0
VendorName   QDS
ModelName47
 EndSection

 Section Device
Identifier  Card0
Driver  i810
VendorName  Intel Corporation
BoardName   Mobile 945GM/GMS, 943/940GML Express Integrated Graphics
 Controller
BusID   PCI:0:2:0
 EndSection

 Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
SubSection Display
Viewport   0 0
Depth 24
Modes 1280x800
EndSubSection
 EndSection

 


 I also found this in /var/log/Xorg.0.log

 (II) I810(0): Monitor0: Using hsync range of 45.71-50.53 kHz
 (II) I810(0): Monitor0: Using vrefresh value of 60.00 Hz
 (II) I810(0): Not using mode 1280x800 (no mode of this name)
 (--) I810(0): Virtual size is 1024x768 (pitch 1024)
 (**) I810(0):  Built-in mode 1024x768

 Can anyone help?

 Thanks,
 Nishita.
___
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: finding BSD Unix users

2008-04-06 Thread Predrag Punosevac

Chad Perrin wrote:

My area (northern Colorado) has an excellent Linux Users Group (NCLUG).
There's a great bunch of guys there.  Unfortunately, they're very
Linux-centric.  I'm kinda the resident BSD Unix heretic -- which is fine
most of the time, but once in a while I'd like to be able to discuss
stuff with people who primarily use BSD Unix systems instead of
Linux-based systems.

Unfortunately, there isn't a single Colorado BSD Users Group in Colorado
that I can find.  The closest I've been able to find mention of online at
all is Laramie, Wyoming -- LWFUG, or Laramie, Wyoming Freenix Users
Group.  Their website seems to have become a domain squatter's portal
site, though.

So . . . does anyone here have any suggestions for how I might go about
finding BSD Unix users somewhat local to me?  Since there isn't a group
already that I can find, I wonder if there are enough people interested
in such a thing in this area to build a users group.  Any suggestions for
how to go about finding fellow BSD Unix users in my area would be
appreciated, I'm sure.

  


I would put an add in the local newspaper and ask if there are any BSD 
users around.

That is exactly how the Tucson Free Unix Group started  a  decade  ago.
Unfortunately since then  TFUG  has  become  increasingly dominated by 
Linux users and Windows converts

(who maybe run Ubuntu on a small partition or via VMware).

As in your case that was fine for a while but at some point it became 
increasingly difficult for both sides to tolerate
each other so I voluntarily  sized  all my  activity  in  the  group.  
The timing coincide with my decision to switch to OpenBSD:-) I  do know  
of  two  other BSD users on TFUG (one NetBSD and another younger member 
is using FreeBSD) as well as few Solaris users  but I didn't stay in 
touch with them.


Cheers,
Predrag

P. S. There is a very strong local BSD group in Phoenix but they are 
much to far away from Tucson that I could participate in their activity.



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


Re: SIP compatible phone program for unix

2008-03-30 Thread Predrag Punosevac

Wojciech Puchar wrote:

anyone knows such - pure text mode prefered.

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

OpenBSD 4.3 is including PJSUA which is  not  ported  for  FreeBSD.

http://www.pjsip.org/pjsua.htm

I tried it and I really like it. If you compare various SIP clients you 
should see that PJSUA should be a first
choice for security minded user which prefers simplicity and capability 
instead of GUI non-sense.


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


Re: Reconditioned Laptop advice

2008-03-28 Thread Predrag Punosevac

dhaneshk k wrote:


People   : I want to bu a laptop , for the time being I can't go for a 
high end machine like hp8510b or like those


But I found in internet , about IBM  Thinkpad T40   Reconditioned :

ThinkPads are the highest quality machines. I honestly thing that there 
is nothing on the market which matches their
quality including Apple laptops.  I have ThingPad 390E PII which is 
seven years old and work like Swiss watch.

I bought it on an auction five years ago for $220.
The so called power sellers on Ebay are actually IBM or Lenovo proxy 
sellers. They sell machines which are back from

the business lease without charging customers taxes. ThinkPads love FreeBSD.

Best,
Predrag


So I want  people's valuable advice on Reconditioned machine ;is it 
safe to have this machine , I want to use FreeBSD on this machine , 
what about the reliability of Reconditioned machines ?: your advices 
may help me to take a good decision on my purchase.


thanks in advance
dhanesh


 
 ___

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



Planning marriage in 2008! Join Shaadi.com matrimony FREE! Try it now! 
http://ss1.richmedia.in/recurl.asp?pid=429


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


Re: Auto Mounting USB Sticks and CD's

2008-03-28 Thread Predrag Punosevac

Norberto Meijome wrote:

On Fri, 28 Mar 2008 01:22:55 -0500
Sam Fourman Jr. [EMAIL PROTECTED] wrote:

  

Hello,

I have a FreeBSD 7.0 install, and I am running the Gnome Desktop (2.22)
I was hoping that someone had a nice HOWTO or could paste their config files.
I want my usb sticks to auto mount when I insert them like they do on PC-BSD



not sure how Gnome does it, but I would imagine it uses hald for it. u may have 
it installed already ( man pkg_info if u don't know ;) ).

u need to add this to your rc.conf to have it all running on startup

hald_enable=YES
polkitd_enable=YES
dbus_enable=YES

  



The HALD needs to be started in the specific order as

# enable HALd
dbus_enable=YES
polkitd_enable=YES
hald_enable=YES


/etc/fstab needs to be edited

/dev/cd0 /usr/home/Pedja/mnt/cdrom cd9660   rw, noauto  0   0
/dev/acd0/usr/home/Pedja/mnt/cdrom cd9660   rw, noauto  0   0
/dev/fd0 /usr/home/Pedja/mnt/floppy msdosfs rw, noauto  0   0
/dev/ugen0 /usr/home/Pedja/mnt/camera msdosfs rw, noauto  0   0


/etc/devfs.conf neets to be edited

# Allow all users to mount the floppy disk.
own   /dev/fd0root:operator
perm  /dev/fd00666

# Allow members of the group operator to mount CD-ROMs.

perm  /dev/acd0   0666
perm  /dev/cd00666

# Commonly used by many ports  
link  cd0 cdrom

link  cd0  dvd
link  cd0  rdvd

link  acd0 cdrom
link  acd0 dvd
link  acd0 rdvd


# Misc other devices

permcdrom   0666
permdvd 0666
permrdvd0666
permcd0 0666
permata 0666
permxpt00666
permpass0   0666
perm/dev/uscanner0 0666
permusb*  0666
permulpt* 0666
permlpt00666 
permugen*   0666


also you have to add in /etc/sysctl.conf

vfs.usermount=1



For USB stick also /etc/usbd.conf needs to be edited. I mount USB stick 
manually so figure out yourself.


Either read documentation or copy important files from PC-BSD.


I know that if I put gnome_enable in my /etc/rc.conf then it all works
BUT, I would prefer not to use gdm on bootup



Kevin replied to this. I would just add, if you want some other login manager 
to run, (xdm, wdm), you'd have to install them and enable them in rc.conf

If you follow Kevin's email by the letter, you'll have to log in to the text 
console and launch your X session manually.

  

I also am having trouble trying to get k3b to burn CD''s without being root



man devfs.conf

_
{Beto|Norberto|Numard} Meijome

Everything should be made as simple as possible, but not simpler.
  Albert Einstein

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


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


Re: Reconditioned Laptop advice

2008-03-28 Thread Predrag Punosevac

Robert Huff wrote:

Predrag Punosevac writes:

  

 ThinkPads are the highest quality machines. I honestly thing that
 there is nothing on the market which matches their quality
 including Apple laptops.



/Caveat emptor/.  I'm hearing reports from those who deal with
laptops much more that I do that quality has dropped substantially
since Lenovo took over.


Robert Huff


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

T23, T30, T40, T43 were made by IBM.

Best,
Predrag
___
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-27 Thread Predrag Punosevac

Isaac Mushinsky wrote:

Anish Mistry (the port maintainer) has answered below. It seems that this is
a printer defect after all then. I'll try to patch the code to fill in the
missing serial id with some fake string, and shall report if I get the thing
to work.

Is the hp backend the only entry point to libusb, or should I have to patch
libusb? e.g. cups or sane apps, can they call libusb directly, or only
through hpaio backend? I would rather have a patch to hplip distribution
only, because libusb correctly throws an error code for the missing serial
id. But if some apps query the device directly, the missing serial id may be
a problem, they will all have to all be patched separately.


  
I wouldn't touch HPLIP. If something is wrong report upstream. They 
should patch. No you do not have to patch any

applications.

Look at the files

usr/src/sys/dev/usb/usbdevs

usr//src/sys/dev/usb/ugen.c (I think that this one needs to be patched)

usr/src/sys/dev/usb/uscanner.c

Cheers,
OKO


 It looks like there is some problem with the C42XX printers that is
causing the serial numbers to no be reported.  I got a similar report
about a HP Photosmart C4200 series a couple weeks ago.  Unfortunately
I'm VERY busy right now.  It will be a couple of week before I can
dive into the issue.  If you do happen to find a solution, please let
me know so I can integrate it into the port and notify others.
 Thanks,
 --
Anish Mistry
[EMAIL PROTECTED]
AM Productions http://am-productions.biz/



___
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: Laptop advice

2008-03-27 Thread Predrag Punosevac

Mike Jeays wrote:

On March 27, 2008 03:09:42 pm mdh wrote:
  

--- David Kelly [EMAIL PROTECTED] wrote:


On Thu, Mar 27, 2008 at 01:53:57PM -0400, Joe Demeny

wrote:
  

In the end, the best advice seems to be indeed to


take the FreeBSD CD

  

to the brick-and-mortar store...


Or you could purchase an Apple Mac Book and have a
commercially
supported Unix pre-installed. Guess that would take
all the fun out of
it?
  
I would get ThinkPad T30 or T23 from Ebay. They will work just fine with 
FreeBSD.

They go for $190-250.

Cheers,
Predrag



While I like Mac products and OSX is pretty cool, I
still find their laptops a bit pricey.

By the by, has anyone tried FreeBSD on one of those
little Asus EEEpc sublaptops?  A real, tiny, i386
laptop for $300 (plus maybe a bit more for an
additional SD card to bump the storage some) seems
like a truly awesome deal.



 
___

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



  



I bought an Eee PC, but haven't tried any other software on it yet.  I can 
confirm that the hardware is a bargain, and I used it 'as is' while 
travelling for ten days, and it connected 'out of the box' to the wireless 
service provided in each hotel.  A mouse is a great help, although the 
built-in pad is quite usable.  I had no trouble with the tiny keyboard, 
except for needing the light on to read the keys.


They are a really great innovation, IMHO.  I am really pleased with mine.

The wireless card may be the problem 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: hplip setup problems

2008-03-26 Thread Predrag Punosevac

Isaac Mushinsky wrote:

On Wednesday 26 March 2008 02:49:52 you wrote:
  

fOn Wed, 26 Mar 2008, 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.
  

So far as I can determine, there is no reason to avoid uscanner in
the kernel --- uscanner does not/should not grab the scanner function
of your all-in-one.  It should then be possible to attach your single
function scanner with sane --- although it is sensible to get hplip up
without that complication first.



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
  

A lot of stuff advertised here doesn't seem to be visible/existent to lynx.

devfd.rules looks right
check group --- have you added whoever is using the printer to group cups
(at least root and/or toor to print the test page)?


yes
  

since you say you cannot print the test page, I assume you ran hp-setup
from a gui and can get into cups admin afterwards --- have you set the
printer you defined in hp-setup as the default printer in cups admin?

Is the printer ready (accepting jobs) according to cups admin?


yes, cups thinks the printer is up and  'ready', and accepts jobs for it.

  

if your failed test pages are showing up in the job queue, it may be
desirable to kill some of them in case you do something that does make it
work.



Any help is appreciated. Thanks.
  

That's all I can think of off the top of my head.



I think the trouble is somewhere in usb or libusb: 
hp:/usb/Photosmart_C4200_series?serial=0 does not look right. The libusb 
exception seems to occur while trying to obtain the 'serial number'. Whatever 
that means -- is the device expected to provide it?



  
My understanding is that you didn't succeed to print from that printer. 
You have to get printing function first

before you can get scanning.
It is easily to use your device as only printer if you live ulpt driver 
inside the kernel but ugen driver is used to communicate and give you 
information as the ink level for instance. If you live ulpt driver you 
will not be able to scan
libusb is used to communicate with the scanner. That is one of two ways 
that scanners talk to kernel.



Could you give me the output of


# /usr/local/libexec/cups/backend/hp  (make sure you have the right path 
this is mine on OpenBSD 4.3 current)


If you get something like
direct hp Unknown HP printer (*HPLIP*) 


means that ugen driver cannot get VedorName and Product ID

Give me also outputs of

#hp-info

and

#hp-check -t

Out of curiosity what is the output of

#sane-find-scanner






___
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-26 Thread Predrag Punosevac

Isaac Mushinsky wrote:
Obviously the device can not communicate with the kernel. My first hunch 
would be to blame on ugen driver

of BSD but look at this lines from hp-check that I copied from you message.
You are missing slue of REQUIRED libraries.
Are you running CUPS development version. You are not supposed to do 
that. You can try to install
each of the missing libraries by hand and then try hp-setup. Something 
is very WRONG with your installation.
Even better. If you have a spare machine to for testing. Try one more 
time to install things. Install firstly CUPS and SANE-backends and then 
install HPLIP (nothing else). If you see the same output from hp-check 
try installing
missing libraries by hand. If after all everything works I would reports 
HPLIP port as broken as the required libraries
should be installed as dependencies.  On the positive side SANE seems 
see the scanner. Can you scan?


Checking output of 'scanimage -L'...
device `hpaio:/usb/Photosmart_C4200_series?serial=0' is a Hewlett-Packard 
Photosmart_C4200_series all-in-one


found USB scanner (vendor=0x03f0 [HP], product=0x5c11 [Photosmart C4200 
series]) at libusb:/dev/usb3:/dev/ugen0




Checking for dependency: cups-devel- Common Unix Printing System development 
files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make 
sure that this dependency is installed before installing or running HPLIP.



Checking for dependency: libcrypto - OpenSSL cryptographic library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this 
dependency is installed before installing or running HPLIP.



Checking for dependency: libjpeg - JPEG library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this 
dependency is installed before installing or running HPLIP.


Checking for dependency: libnetsnmp-devel - SNMP networking library 
development files...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this 
dependency is installed before installing or running HPLIP.


Checking for dependency: libpthread - POSIX threads library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this 


Checking for dependency: libusb - USB library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this 
dependency is installed before installing or running HPLIP.


Checking for dependency: make - GNU make utility to maintain groups of 
programs...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make 
sure that this dependency is installed before installing or running HPLIP.

dependency is installed before installing or running HPLIP.

Checking for dependency: python-devel - Python development files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make 
sure that this dependency is installed before installing or running HPLIP.








On Wednesday 26 March 2008 04:29:45 you wrote:
  

Isaac Mushinsky wrote:


On Wednesday 26 March 2008 02:49:52 you wrote:
  

fOn Wed, 26 Mar 2008, 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.
  

So far as I can determine, there is no reason to avoid uscanner in
the kernel --- uscanner does not/should not grab the scanner function
of your all-in-one.  It should then be possible to attach your single
function scanner with sane --- although it is sensible to get hplip up
without that complication first.



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
  

A lot of stuff advertised here doesn't seem to be visible/existent to
lynx.

devfd.rules looks right
check group --- have you added whoever is using the printer to group
cups (at least root and/or toor to print the test page)?


yes

  

since you say you cannot print the test page, I assume you ran hp-setup
from a gui and can get into cups admin afterwards --- have you set the
printer you defined in 

Re: hplip setup problems

2008-03-26 Thread Predrag Punosevac

Isaac Mushinsky wrote:

On Wednesday 26 March 2008 00:21:12 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'. 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]



What is interesting is that the failure of usb_control_msg happens only 
when 'serial number' is requested. The function had been called successfully 
before that.


  
I do not know if it has something to do with my previous observation 
that you are missing slue of libraries?
But hp-check has to give you all REQUIRED outputs OK  before we start 
blaming drivers. I am ready to believe that
if you have all libraries installed manually and normal CUPS (please no 
develop version) that the things might work.


Best,
Predrag



# export USB_DEBUG=4
# hp-info

HP Linux Imaging and Printing System (ver. 2.8.2)
Device Information Utility ver. 3.4

Copyright (c) 2001-7 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

usb_set_debug: Setting debugging level to 4 (on)
usb_os_find_busses: Found /dev/usb0
usb_os_find_busses: Found /dev/usb1
usb_os_find_busses: Found /dev/usb2
usb_os_find_busses: Found /dev/usb3
usb_os_find_busses: Found /dev/usb4
usb_os_find_busses: Found /dev/usb5
usb_os_find_busses: Found /dev/usb6
usb_os_find_busses: Found /dev/usb7
usb_os_find_devices: Found /dev/ugen0 on /dev/usb3
usb_control_msg: 128 6 512 0 0x7fff5a20 8 1000
usb_control_msg: 128 6 512 0 0x800d80100 124 1000
usb_control_msg: 128 6 770 1033 0x7fff5990 255 5000
usb_control_msg: 128 6 771 1033 0x7fff5990 255 5000
USB error: error sending control message: Input/output error
Using device: hp:/usb/Photosmart_C4200_series?serial=0

hp:/usb/Photosmart_C4200_series?serial=0

usb_set_debug: Setting debugging level to 4 (on)
usb_os_find_busses: Found /dev/usb0
usb_os_find_busses: Found /dev/usb1
usb_os_find_busses: Found /dev/usb2
usb_os_find_busses: Found /dev/usb3
usb_os_find_busses: Found /dev/usb4
usb_os_find_busses: Found /dev/usb5
usb_os_find_busses: Found /dev/usb6
usb_os_find_busses: Found /dev/usb7
usb_os_find_devices: Found /dev/ugen0 on /dev/usb3
usb_control_msg: 128 6 770 1033 0x7fffde60 255 5000
usb_control_msg: 128 6 771 1033 0x7fffde60 255 5000
USB error: error sending control message: Input/output error
error: Unable to communicate with device (code=12): 
hp:/usb/Photosmart_C4200_series?serial=0

error: Error opening device (Device not found). Exiting.


/var/log/messages:
Mar 26 09:17:14 omsk kernel: ugen0: HP Photosmart C4200 series, class 0/0, 
rev 2.00/1.00, addr 2 on uhub3
Mar 26 09:17:23 omsk python: io/hpmud/musb.c 135: unable 
get_string_descriptor -5: Input/output error
Mar 26 09:17:23 omsk python: io/hpmud/musb.c 1951: invalid serial id string 
ret=-5
Mar 26 09:17:23 omsk python: io/hpmud/musb.c 135: unable 
get_string_descriptor -5: Input/output error
Mar 26 09:17:23 omsk python: io/hpmud/musb.c 615: invalid serial id string 
ret=-5
Mar 26 09:17:23 omsk python: io/hpmud/musb.c 1057: unable to open 
hp:/usb/Photosmart_C4200_series?serial=0
Mar 26 09:17:23 omsk python: hp-info[1074]: error: Unable to communicate with 
device (code=12): hp:/usb/Photosmart_C4200_series?serial=0
Mar 26 09:17:23 omsk python: hp-info[1074]: error: Error opening device 
(Device not found). Exiting.


___
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

Re: hplip setup problems

2008-03-26 Thread Predrag Punosevac

Isaac Mushinsky wrote:
On Wed, Mar 26, 2008 at 3:49 PM, Predrag Punosevac 
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:


Isaac Mushinsky wrote:
Obviously the device can not communicate with the kernel. My first
hunch
would be to blame on ugen driver
of BSD but look at this lines from hp-check that I copied from you
message.
You are missing slue of REQUIRED libraries.

 
Well, hp-check seems broken, so I wouldn't take it all that seriously. 
It probably only works on linux. How can it complain of missing libusb 
and then proceed to use it?
 
Actually that is a new information to me. On my OpenBSD 4.3 current 
hp-check works like a charm.

You can manually check if you have each one of those libraries.

You are probably right about the fact that failure to get serial device 
number is the show stopper but that seems
that points again to inability of ugen driver to fully communicate with 
the printer. I started dusting of my C skills (in the real life I am a 
mathematician) in particularly because I want look those  drivers for 
USB devices.


Sorry, I could not be of more help. As I said earlier you can use 
printing function if you leave ulpt driver but that

definitely kills the purpose of having all-in-one device.

Best,

Predrag





hplip finds the device correctly, and gets the vendor/product id. The 
immediate show stopper is failure to get serial number of the device. 
Or is it? it seems to be the only place where a libusb call fails. I 
am not sure if it is HP's fault or an hplip/io/hpmud problem, though.


Are you running CUPS development version.

I am running on a standard cups from ports. It was installed as 
requirement by KDE or something. Besides, there seems to be no problem 
with cups itself.
 


You are not supposed to do
that. You can try to install
each of the missing libraries by hand and then try hp-setup. Something
is very WRONG with your installation.
Even better. If you have a spare machine to for testing. Try one more
time to install things. Install firstly CUPS and SANE-backends and
then
install HPLIP (nothing else). If you see the same output from hp-check
try installing
missing libraries by hand. If after all everything works I would
reports
HPLIP port as broken as the required libraries
should be installed as dependencies.  On the positive side SANE seems
see the scanner. Can you scan?

 
Didn't even try to scan yet. It doesn't matter at this point. I have 
another (film) scanner that works, though.
hplip printer driver seems to see the printer too, seeing is clearly 
not the problem.
 



Checking output of 'scanimage -L'...
device `hpaio:/usb/Photosmart_C4200_series?serial=0' is a
Hewlett-Packard
Photosmart_C4200_series all-in-one

found USB scanner (vendor=0x03f0 [HP], product=0x5c11 [Photosmart
C4200
series]) at libusb:/dev/usb3:/dev/ugen0



Checking for dependency: cups-devel- Common Unix Printing System
development
files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency.
Please make
sure that this dependency is installed before installing or
running HPLIP.


Checking for dependency: libcrypto - OpenSSL cryptographic library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure
that this
dependency is installed before installing or running HPLIP.


Checking for dependency: libjpeg - JPEG library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure
that this
dependency is installed before installing or running HPLIP.

Checking for dependency: libnetsnmp-devel - SNMP networking library
development files...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure
that this
dependency is installed before installing or running HPLIP.

Checking for dependency: libpthread - POSIX threads library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure
that this

Checking for dependency: libusb - USB library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure
that this
dependency is installed before installing or running HPLIP.

Checking for dependency: make - GNU make utility to maintain groups of
programs...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency.
Please make
sure that this dependency is installed before installing or
running HPLIP.
dependency is installed before installing or running HPLIP.

Checking for dependency: python-devel - Python development files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency.
Please make
sure that this dependency is installed before installing or
running HPLIP.






 On Wednesday 26 March 2008 04:29:45 you wrote:

 Isaac Mushinsky wrote:

 On Wednesday 26 March 2008 02:49:52 you wrote:

 fOn Wed, 26 Mar 2008

Re: hplip setup problems

2008-03-26 Thread Predrag Punosevac

Isaac Mushinsky wrote:

On Wednesday 26 March 2008 00:21:12 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'. 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]



final piece of information: sane cannot open the HP all-in-one as a scanner 
with same error (getting serial id). However, my Nikon LS40-ED (a 35mm film 
scanner) works fine. So the problem is apparently not my installation or 
libusb.


  
I would not bet my life on it. There are two ways on which sane-backend 
talk to scanners. Libusb is one of the ways.
I have two Epson scanners. One of them does use libusb one of them 
doesn't not. How do I know. Well in OpenBSD when the scanner uses libusb 
you have to remove uscanner driver from the kernel in order to use it.


Cheers,
Predrag


~ sane-find-scanner 


  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

  # No SCSI scanners found. If you expected something different, make sure 
that

  # you have loaded a kernel SCSI driver for your SCSI adapter.

found USB scanner (vendor=0x04b0 [Nikon], product=0x4000 [LS-40 ED]) at 
libusb:/dev/usb2:/dev/ugen1
found USB scanner (vendor=0x03f0 [HP], product=0x5c11 [Photosmart C4200 
series]) at libusb:/dev/usb3:/dev/ugen0
  # Your USB scanner was (probably) detected. It may or may not be supported 
by

  # SANE. Try scanimage -L and read the backend's manpage.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.

  # You may want to run this program as root to find all devices. Once you
  # found the scanner devices, be sure to adjust access permissions as
  # necessary.

The Nikon scanner works, the HP device fails to return serial id as above.
___
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-26 Thread Predrag Punosevac

Isaac Mushinsky wrote:

On Wednesday 26 March 2008 23:31:26 Predrag Punosevac wrote:
  

Isaac Mushinsky wrote:


On Wednesday 26 March 2008 00:21:12 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'. 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]


final piece of information: sane cannot open the HP all-in-one as a
scanner with same error (getting serial id). However, my Nikon LS40-ED (a
35mm film scanner) works fine. So the problem is apparently not my
installation or libusb.
  

I would not bet my life on it. There are two ways on which sane-backend
talk to scanners. Libusb is one of the ways.
I have two Epson scanners. One of them does use libusb one of them
doesn't not. How do I know. Well in OpenBSD when the scanner uses libusb
you have to remove uscanner driver from the kernel in order to use it.

Cheers,
Predrag



~ sane-find-scanner

  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

  # No SCSI scanners found. If you expected something different, make
sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.

found USB scanner (vendor=0x04b0 [Nikon], product=0x4000 [LS-40 ED]) at
libusb:/dev/usb2:/dev/ugen1
found USB scanner (vendor=0x03f0 [HP], product=0x5c11 [Photosmart C4200
series]) at libusb:/dev/usb3:/dev/ugen0
  # Your USB scanner was (probably) detected. It may or may not be
supported by
  # SANE. Try scanimage -L and read the backend's manpage.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary
ports # can't be detected by this program.

  # You may want to run this program as root to find all devices. Once
you # found the scanner devices, be sure to adjust access permissions as
# necessary.

The Nikon scanner works, the HP device fails to return serial id as
above. ___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]
  


I have a spare partition, so when I have the time I'll try to install linux on 
it and see. This printer is listed as supported and 'working perfectly' on 
linuxprinting.org


Also, I loaded ulpt and it is able to talk to the printer.
  


That is the whole point of the discussion. HPLIP is written for Linux 
and at least my experience with HPLIP on Ubuntu you just plug things and 
they work. So the problem is definitely not in HPLIP but in 
configuration and possibly FreeBSD drivers.  Using Ubuntu will  also  
not  help you  with FreeBSD configuration.


Cheers,
Predrag

P. S. One way of approaching the problem is to attach that all-in-one 
device on Linux machine and use it on your FreeBSD machine via the network.



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




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: USB printer

2008-03-24 Thread Predrag Punosevac

Bernt Hansson wrote:

[EMAIL PROTECTED] skrev:

Ted Mittelstädt wrote , at 2008-03-19 05:24:


CUPS  Ghostscript.  gs and all the foomatic stuff runs just fine
with LPR/LPD, no CUPS needed.



Can one use a ppd-file with lpd/lpr?



Of course. A sample printcap file

lp|OfficeJet:\
:lp=/dev/ulpt0:\
:af=/etc/foomatic/HP-OfficeJet_4110-hpijs.ppd:\
:if=/usr/local/bin/foomatic-rip:\
:sd=/var/spool/lpd/OfficeJet:\
:sh:


I'm not using foomatic but the ppd-file from HP for LJ2100, 2200, 4050 
and 8000 is that still possible? They all speak postscript.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
Well if you want to use your printers in PostScript mode you can just 
send row .ps file and it should print i.e.

you can remove the af and if lines from the printcap and should work.

Now what about other file types?

Lets have a second look for instance at LJ2100.

According to Linux Printing Database (which is the one
we also use in BSD world)

http://openprinting.org/show_printer.cgi?recnum=HP-LaserJet_2100

the recommended way of using for instance LJ2100 is via Printer Command 
Language 5 or 6
i.e. you need a driver. The recommended driver for LJ2100 is  pxlmono 
which is build in  Ghostscript.
If you use printer with Apsfilter you can just select the driver. Files 
of any type should be printed no question asked.


If you use PPD file and fomatic-rip filter as
in the above printcap example the jobs would be passed through pxlmono 
driver.
You may send to printer ps or non ps files (pdf, dvi, gif, html) and 
everything should work no question asked.



The printer will work eight other drivers.

Now the final question is probably that there is custom PPD vile for 
PostScript mode according to the same

Database.
I think that that one is only relevant for CUPS as PPD files are used 
via IPP (only spoken by CUPS) to fake real communication with the  
device and show things like printer status. I am not 100% sure but I 
think that PPD file is
what one would call CUPS-PPD file. If you send let say .pdf file that 
PPD file probably will tell CUPS how to
pass pdf file through GhostScript and create ps version and then print 
it. I am not sure if it going to be useful with
LPD. Of course in the case you do not have any filters in your printcap 
you can send only ps files to printer.


You can play on the following way. Remove the if (input filter line from 
your printcap file) and keep af but put
that particular custom PPD file which is used for PostScript mode. Try 
to send ps and pdf file. If it prints only ps
file that means that PPD  does nothing for LPD if it can print pdf files 
that means that is usable with LPD.


I personally use most printers in PCL mode just because I have lots of 
different mish-mash printer non of which speaks

full PostScript language.

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


Re: Anyone have Comcast for an ISP?

2008-03-22 Thread Predrag Punosevac

Ted Mittelstaedt wrote:
  

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Allen
Sent: Friday, March 21, 2008 10:33 PM
To: freebsd-questions@freebsd.org
Subject: Anyone have Comcast for an ISP?


Does anyone on here have comcast for an ISP? I use them and today I was
messing around on a machine I use for FTP service over my LAN (Not
accessible from the net so I'm not worried about using it for back ups)
and anyway, I wanted to set up one of my comcast accounts on it so I
could do as I've done for years, and use SSH to log into that machine
and use fetchmail to grab my email off comcast, and then use Mutt to
check it since I really like Mutt.

Well, I got sendmail up ad tested that it was working and it was working
fine. After that I tried sending a test email with Mutt.

For some reason ti failed even though it was the backed up copy of my
Muttrc that I used to use on EVERY machine I used mutt on. I always
backed it up because I had it looking really nice with colors and also
my email address was in there and I built in a mini addy book for my
friends and mailing lists I'm on so I didn't have to worry about an
address book being deleted by accident.

Well, it failed horribly. I can't send an email because it's blocked,
and also, using fetchmail isn't exactly working either and I can't stand
how getmailrc works

So does anyone here use Comcast and Mutt for an email client that could
maybe reply and let me know how they do it? Id' like to use Mutt and
also I do like how simple fetchmail is to use, so fi you use these and
have Comcast for internet please reply with how you did it. I'm googling
right now but everything I find isn't exactly helpful, so if anyone here
uses Mutt and has Comcast please let me know how you did it.




What you have available in the e-mail realm when you are
on the Comcast network:

For e-mail CLIENTS you may retrieve mail via the standard
IMAP or POP3 ports from a remote non-comcast mailserver.

For e-mail CLIENTS you may send mail through a remote
non-comcast mailserver using the submission port 587 and
authenticated SMTP.

For e-mail SERVERS you can use fetchmail to pretend the
server is a mail client, then redistribute the mail
internally.  However you cannot use sendmail to send
out outgoing mail to port 25 on remote mailservers - unless
it's to the comcast mailserver.

  Comcast's residential
TOS prohibits servers and they enforce this by blocking incoming
traffic going to SMTP, IMAP and POP3 ports.

  
Now, I do know that cable and DSL modems are quite different but I am 
able to log into my Qwest DSL modem and
open the port 25, port 80 or any other port for that matter. I live in 
Arizona so Qwest and Comcast are more or less only two choices for the 
residential ISP.


I had Sandmail server running for about a week but as I do not have 
static IP address, Domain Name, MX
record and Reverse DNS there was no point keeping it as the mail would 
bounce from most mail servers.
Getting static IP address is no big deal as well as Domain Name and 
setting up MX record but I think Qwest
does not provide reverse DNS to residential accounts. They charge $26.95 
+ $6 (7Mps) for static IP for residential accounts. Essentially the 
equivalent  business account is about $90 and they do provide reverse 
DNS as well. I think one has to sign some kind liability agreement for 
business account in the case your mail server becomes spam zombie.
In reality you really have to run ClamAv and SpamAssassin beside 
Sendmail which was really overkill just for

my wife and me (my daughters are too small for email accounts).

I use IMAP and SMTP (Thunderbird client) ro recover mail from my 
University mail box. Qwest people were also nice to me after they 
realized that I do not care much for their Windows live and Hotmail 
account and offer me free of charge

5 email accounts on their mail server.

I think that the Comcast is doing something similar so you could use 
Mutt, Pine, or whatever email client you like to recover mail from your 
mail box on Comcast email server. I would not be surprised that they 
also run FreeBSD.


Cheers,
Predrag Punosevac






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]


uscanner and ugen drivers questions

2008-03-21 Thread Predrag Punosevac

Dear All,

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


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



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


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

with config utility.

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


Re: linux emulation

2008-03-20 Thread Predrag Punosevac

Da Rock wrote:

On Thu, 2008-03-20 at 08:50 +0100, Wojciech Puchar wrote:
  

I've read the handbook and just about anything on linux compat under
freebsd. I am particularly interested in drivers under linux compat.
  

emulation allows execution of normal linux programs, not drivers



Ok. So input devices won't work either? I refer to this page here:
http://people.freebsd.org/~3d/apps/games/unreal_tournament/

What is the driver mentioned here?

Incidentally, what is the difference between linux and bsd drivers? 

They are written for different kernels!




The
drivers in question are manufacturers binaries for linux in an RPM;
hence the question. Plus I came across several notations regarding
building or using drivers from linux in bsd (linux-kmod-compat port, the
above link, and more).

For reference I'm merely very curious, not argumentative on this. Cheers
for any answers offered.

___
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: more on FreeBSD and Brother HL-5250-DN

2008-03-20 Thread Predrag Punosevac

Gary Kline wrote:

Not to bore anyone, but my finding may be of interest.
Predrag pointed me at a Brother lpr/printcap setup for Linux--
will wonders never cease?, :-).  The URL is

http://solutions.brother.com/linux/en_us/index.html

	and had configurations (binaries, not plaintext) for Redhat 
	andDebian.  I managed to install, and thus unpack, the *deb
	(is that cpio?) on my Ubuntu desktop.  


Very late last night it occurred to me that the reason no
/dev/lpt0 was that my parallel cable isn't plugged into my new
printer.  The test pages work via the cat5 - switch; this
	HTML helped me configure the 5250.  When I another geek over 
	here to plug things together, I'll be able to test the

/etc/printcap.   Here it is, as auto-installed by dpkg -i::

HL5250DN:\
:mx=0:\
:sd=/var/spool/lpd/HL5250DN:\
:sh:\
:lp=/dev/usb/lp0:\
:if=/usr/local/Brother/lpd/filterHL5250DN:

	Most of this will port to FreeBSD easily. The Brother directory 
	is full of two subdirs each with a number of files.  The input

filter, filterHL5250DN and other /bin/sh scripts in lpd/
will take some porting.   S: is printcap the best way to
	go?  What about IPP?   
IPP is internet printing protocol spoken by CUPS spooling system. Your 
printer speaks both IPP and LPR native
printing protocol spoken by LPD. I honestly would not bother much with 
all that nonsense from Brother web-site.


Since you have Ubuntu and FreeBSD machine to make things as simple as 
possible attach printer directly to the network (that is why you have DN 
extension in the name of your printer) and make it printer server.


Ubuntu comes with CUPS which speaks IPP and adding printing should be 
matter of selecting it in the Gnome printer

manager.
You could edit printcap file for remote printer on your FreeBSD box. 
Look the FreeBSD Handbook

section 9.4.3.

If you want to have identical set up on FreeBSD machine as on the Ubuntu 
machine add the CUPS.
Do not forget to hide native LPD commands (example mv /usr/bin/lp 
/usr/bin/lp.bak)


You need to edit file /usr/local/etc/cups/client.conf on FreeBSD to 
enable client printing.

Start CUPS daemon and
then go to http://localhost:631 and add the printer. You can find PPD 
file for the printer on

http://openprinting.org/printer_list.cgi

Just follow the documentation for CUPS client setup
http://www.cups.org/doc-1.1/sam.html



Cheers,
Predrag




The nutshell is that I'd like to use the
	printer in the way that takes the least messing-with.  I have 
	two desktop, BSD and Ubuntu.  I would like to make the FreeBSD
	computer my printserver ... if I can't use the 5250 as a 
	networked printer.


Advice please!!

gary








  


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


Re: OT: brother hl-5250dn here.

2008-03-19 Thread Predrag Punosevac

Gary Kline wrote:

Ihave my new printer here, hooked into my hub/switch.  What next?
How to configure it to get a DHCP lease.  I just rebooted my
pfSense firewall and do not see any new leases!

  
For starters I think this question is for Brother technical support not 
for FreeBSD mailing list

but since we are all family let me try to help you.

Printer needs to be attached to DHCP server in order to get an address. 
Obviously your switch is not DHCP server.
You need honest NAT router (which contains DHCP server ) or attach it to 
FreeBSD machine to which you installed
DHCP server. Printer should be located in the LAN zone so firewall 
should not be existing among those machines
otherwise you need to enable port 631 for IPP and port 515 for LPR 
printing protocol.


How the printer gets initiated should be described in the manual you got 
it with the printer.


How the printer gets configured to be printer server is out of the scope 
of these message but if you tell me which

spooling system you use I could help you.

Sorry, I could not be of more help.

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


Re: Has anyone got the remote X-Win32 running?

2008-03-17 Thread Predrag Punosevac

Brad Pitney wrote:

On Mon, Mar 17, 2008 at 4:52 AM, Robert Chalmers
[EMAIL PROTECTED] wrote:
  

I've read the spots off everything I can find about getting X going, and I
 have it all up and running sort of.

 But only sort of.



 I have X-Win32 trialling on a laptop, and want to be able to connect to the
 Xserver - but I just can't seem to do it.



 To give you a run down.



 I have X working.

 I have KDE working.

 I have the /etc/ttys entry set to:

 ttyv8  /usr/local/bin/xdm -nodaemon  xterm  on  secure

 ..  (I note that kdm is much prettier, and appears to work Just as well)



 I have the entry in xdm-config commented out.

 ! DisplayManager.requestPort: 0



 /root/.xinitrc contains exec startkde



 Ok.

 Using 'xdm' , booting brings up an oversize font LOGIN -PASSWORD display.
 Very ugly. (kdm looks nicer, but I'm following the manual)




xdm can look nice.

  

 Neither xdm or kdm, let me log in as root.

 I have to go Ctl+alt+F1 to get to the good old terminal window.



 Now, the main problem is .. Which is a real pain, as I do need to connect to
 this thing remotely.

 I can't connect from the remote laptop's X-Win32 program xterm emulator
 program.



 Has anyone managed to get any remote, xterm emulators going? And how so?




you know, I'd recommend X over ssh, although I used Xming, there 's a
package with it bundled with putty

http://sourceforge.net/projects/xming

even comes with pretty good documentation

  
I am not sure if I understand original question. Do you want to have GUI 
access to your remote machine?



1. If you are in the LAN zone you can run X-server on your Windows 
machine (obviously Cygwin comes to mind

and XOrg for it as well as other GNU tools) and run
x-clients (applications on your remote box) via let say tftp (Trivial 
File Transfer Protocol) or much slower NFS.  Read  man  pages  for XOrg 
and tftp how to do that.


2. If you want to connect remotely on the insecure network you basically 
have two options


a. ssh -Y (edit /etc/ssh/sshd.conf file) since by default X log in is 
disabled. You have to have quite good machine to do this because of 
cryptography used by ssh and good internet connection. You again need to 
have OpenSSH on your

Windows machine so Cygwin is must.

b. You can run VNC server on your FreeBSD box and run VNC client on your 
Windows machine.
ThightVNC comes to mind. I prefer SSVNC client for the client side 
because of cryptography but I am not sure if it
available for Windows. Any how you can use TightVNC which does exits for 
Windows.


Best,
Predrag




 Thanks if you can help - I'm almost there.

 Rob





















 ___
 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: USB printer

2008-03-14 Thread Predrag Punosevac

Pollywog wrote:

On Wednesday 12 March 2008 19:37:47 Manolis Kiagias wrote:
  

Chuck Robey wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Gligor Lucian wrote:
  
David Kelly [EMAIL PROTECTED] wrote: On Mon, Mar 10, 2008 at 


12:59:38PM -0700, Gligor Lucian wrote:
  

Does FreeBSD support a USB printer?


Yes.
  

You know, while there are printing utils that actually work on FreeBSD, I
can't personally recommend CUPS.  I keep on trying to get it to work on
FreeBSD efvery year or so, then I need to go over to one of my other
systems.  Last one I tried was an Epson Stylus C84, but I've also tried
HP officejets, and I just can't get locally attached printers to work
with cups.  I can get them to work with things like apsfilter very well,
but either someone is going to have to fix the Cups port (it builds, but
nothing locally runs) or stop recommending it.

Or, does anyone else have it working on FreeBSD?  Sure would like to hear
about it, but I've been trying for a long time now, with no success.

  

Thank you very much for your answer.
 All the best, Gligor Lucian.



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


I have cups working on my system, printing on locally attached USB
printers. I have followed the instructions in dekstopBSD wiki:

http://desktopbsd.net/wiki/doku.php?id=doc:printing

(though I used ports and not packages)



Did you find it necessary to recompile the kernel with ulpt disabled?

I have a HP PSC2110 All-In-One 
To get HP PSC2110 just working you can use HPIJS driver and you do not 
need to recompile the kernel.
However if you want to use HPLIP to unlock full functionality (scanner 
and FAX, PC-copping) you will have to recompile the driver to
disable ulpt driver since it is unable to get the vendor name and 
product ID. That is well-documented.
You will probably also need to disable umass driver since it gets 
attached to printer before the ugen driver.
In all honestly that is not well-documented. You will also need to start 
HPLIP daemons before the CUPS daemon.

That is all well-documented.

#enable CUPS and related
lpd_enable=NO
hpiod_enable=YES #daemons for HPLIP HP printing
hpssd_enable=YES #daemons for HPLIP HP printing
cupsd_enable=YES

umess driver is needed for Floppy and Flash drives so you might want to 
load manually after the boot and

after you unlock your printer.
Cheers,
Predrag
that I can use in Linux (printing and 
scanning) but was unable to get working in FreeBSD.  I believe part of the 
solution is to disable ulpt and recompile the kernel, but I had trouble 
getting hplip to work.  FreeBSD does not have hpoj, which is what I use in 
Linux with this printer.

___
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: USB printer

2008-03-12 Thread Predrag Punosevac

Chuck Robey wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Gligor Lucian wrote:
  

David Kelly [EMAIL PROTECTED] wrote: On Mon, Mar 10, 2008 at 12:59:38PM -0700, 
Gligor Lucian wrote:


Does FreeBSD support a USB printer?


Yes.
  


You know, while there are printing utils that actually work on FreeBSD, I
can't personally recommend CUPS.  I keep on trying to get it to work on
FreeBSD efvery year or so, then I need to go over to one of my other
systems.  Last one I tried was an Epson Stylus C84, but I've also tried HP
officejets, and I just can't get locally attached printers to work with
cups.  I can get them to work with things like apsfilter very well, but
either someone is going to have to fix the Cups port (it builds, but
nothing locally runs) or stop recommending it.

Or, does anyone else have it working on FreeBSD?  Sure would like to hear
about it, but I've been trying for a long time now, with no success.

  
Please do not spread disinformation. Of course CUPS works on FreeBSD as 
well as thee other spooling systems

PDQ, LPD, and LPRng.
Cheers,
Predrag





Thank you very much for your answer.
 All the best, Gligor Lucian.


   
-

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]



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

iD8DBQFH2CuMz62J6PPcoOkRAunbAJ96TJd3UZsus+NxCwg8gEk5hnap1gCgn+7/
A8QJVMfDqgAY+4WIFXDD0w8=
=450A
-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]
  


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


Re: VPN - Which way to go?

2008-03-05 Thread Predrag Punosevac

Alphons Fonz van Werven wrote:

John Nielsen wrote:


I think OpenVPN is great and use it regularly, but as far as I know it
only interoperates with OpenVPN, and I'd be surprised if your university
 were using it.


Well, it seems like OpenVPN works for the Linux guys here... But anyway,
I'll go ask around about the exact setup.


I do not know if you guys received my original message so I will repeat.

IPsec is part of IPv6 security enchantment which is back ported to IPv4. 
OpenVPN is open source project released
under GPL license which is not fully compliant VPN protocol (not 
compliant with IPsec) but easy to configure. Unless all of your client 
machines use OpenVPN you will be in big troubles.


Cisco VPN is a joke and there is published algorithm how to brake into 
it. If you do not believe me follow the link


http://www.unix-ag.uni-kl.de/~massar/bin/cisco-decode

All above being said Cisco 3000 is very popular and it looks good in the 
eyes of management.



I am not an expert in Internet security but it seems to me that IPsec is 
way to go if you are serious about VPN.


Cheers,
Predrag

P. S. Make no mistake. OpenVPN has nothing to do with OpenBSD project. 
As a matter of fact OpenBSD

guys highly favor IPsec over OpenVPN.

Thanks,

Alphons



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


Re: usb scanner

2008-03-04 Thread Predrag Punosevac

Wojciech Puchar wrote:

tried plustek  opticpro st12

got:

ugen0: vendor 0x07b3 product 0x0600, rev 1.10/0.00, addr 2
ugen0: setting configuration index 0 failed
device_attach: ugen0 attach returned 6
ugen0: at uhub0 port 1 (addr 2) disconnected


and even /dev/ugen* doesn't exist so sane-find-scanner is unable to 
find anything


FreeBSD usually uses /dev/uscanner0  as a device node for scanners (and 
driver uscanner)unless you are using HPLIP driver.
It is true though that in OpenBSD some scanners has to be seen as 
/dev/ugen0 since uscanner driver for OpenBSD

does not support receiving vendor name and product.

Are you sure you have right permissions? Also for plustek backend you 
have to add your-self into _saned group.

Did you reboot (I hope not server:- the thing after you plug the scanner

What is the output of sane-find-scanner ? Which version of SANE-backends 
do you have. They came up 2 weeks ago with 1.19 release which I use on 
4.3 beta OpenBSD but on my FreeBSD machines the version is 1.17.


Did you check if the scanner is listed in the sane data base.

Cheers,

Predrag



___
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: Cups server and client

2008-03-04 Thread Predrag Punosevac

herbert langhans wrote:

Hi Daemons,
a basic question before I run into experiments. I run a Cups printserver 
installation on a Slackware server. And now I want to connect from a BSD7.0 
workstation to this server to print.

I have to install Cups as well on the BSD-client? Is that right? Or can I access it even simply by setting up printcap? 

  
Yes you do unless you want to use LPR protocol. As you know the CUPS 
normally uses  IPP protocol for communication over the network which is 
not supported by native LPD spooling system.


You also have to add the file  client.conf inot /usr/local/etc/cups with 
the server name which can be IP address. Something like ServerName 
192.168.0.2.


Check the documentation http://www.cups.org/doc-1.1/sam.html



Cheers
herbs
___
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: Suggestions for OS to use behind freebsd pf firewalls.

2008-03-02 Thread Predrag Punosevac

eculp wrote:

Quoting Mehul Ved [EMAIL PROTECTED]:


On Sun, Mar 2, 2008 at 7:15 AM, eculp [EMAIL PROTECTED] wrote:

 My problem is that I haven't done a linux install since before
 FreeBSD 2.2 IIRC and have no idea which version would be the most
 versatile and has an installer that is basically brain dead simple
 with most all drivers.  I suspect that I am asking the impossible but
 you never know.


Maybe PC-BSD or Sabayon Linux. Sabayon is based on gentoo and contains
lots of proprietory drivers built in. So, if you have no problem with 
that maybe

you could look at Sabayon Linux too.


I've never heard of Sabayon but will definitely give it a shot on my 
laptop first and take a good look at the licensing.


I really like the idea of PC-BSD but the Flash thing, holds me back a 
bit.


They have a hack for Flush. If can use PBI to install Wine+Windows 
Firefox + Windows Flash so their flash just
works like on Windows. They also have PBI for JDK Java. As I mentioned 
earlier I do not trust PBI very much but

will take PC-BSD  with  PBI any day over the Windows.


You should look again at Ubuntu which is Debian based if you want Linux. 
Mint is also another distro based on Ubuntu with more proprietary
drivers. PC-Linux another distro to be aware. Sebayon based on Gentoo is 
excellent Linux distro easy to work and with

lots of proprietary drivers.

Personally  if  I had to chose  Linux  I would  stick with Debian based 
distro because of the package management and

the largest number of packages available.

Cheers,
Predrag

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]


Re: Suggestions for OS to use behind freebsd pf firewalls.

2008-03-01 Thread Predrag Punosevac

eculp wrote:
I have installed freebsd server in a small company that has approx 30 
pc's of all sizes, shapes, brands, etc.  They have just realized that 
a large part of the problems that they had before the firewall was 
caused by the 30 windows pc's that were connected directly to the 
ISP's wireless router.  They would like to change the PC's to unix 
desktops.


I would like to install FreeBSD or any other bsd but don't feel that 
we have the drivers available to substitute such a wide variety of 
hardware.  I would love to be proven wrong.  Therefore I am 
considering a linux version with a graphic installer that will make it 
easier to train someone to install on any new machines that they add 
later.  My problem is that I haven't done a linux install since before 
FreeBSD 2.2 IIRC and have no idea which version would be the most 
versatile and has an installer that is basically brain dead simple 
with most all drivers.  I suspect that I am asking the impossible but 
you never know.


I'm sure that I'm not the only person to run into this situation and I 
would sure appreciate any suggestions.


Thanks,

ed
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
PC-BSD would be a good choice but stay away from PBI. You may try also 
DesktopBSD, TrueBSD, or RoFreeSBIE.

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


Re: Configuring a HP Laserjet 1018 USB printer on KDE

2008-02-28 Thread Predrag Punosevac

User Robert Falanga wrote:
First  am new using freebsd and would like help getting the printer 
configured. After installing and staarting CUPS. When I go to SETTINGS  
Peripherals  printers I get:
  
That is not the way to configure printer on vanilla  FreeBSD. If you 
want to use something like that

install PC-BSD or DesktopBSD.

To install the printer  do the  following
1. Alter permission on the device nodes  chmod  0660  /dev/ulpt0

2. chgrp cupsd /dev/ulpt0

3. Add yourself to cupsd group by editing file /etc/groups

4. Move the commands of the native lpd printing system so that you can 
use CUPS commands

mv /usr/bin/lp  /usr/bin/lp.bak
mv /usr/bin/lpr /usr/bin/lpr.bak
mv /usr/bin/lpq /usr/bin/lpq.bak
mv /usr/bin/lprm  /usr/bin/lprm.bak


4. Restart cupsd for instance by adding cupsd_enable=YES into your 
/etc/rc.conf at the same time

disable lpd daemon by adding lpd_enable=NO

5. Reboot

6. Point the web-browser to http://localhost:631 to add the printer

NOTE:

1. Your printer is using foo2zjs reversed engineered driver which you 
must compile from ports. People
have reported mixed results with  the driver! You have to compile the 
driver before you start adding the printer.


2. You might need to disable your firewall or at least port 631 which is 
used by Internet Printing Protocol (IPP)

which is in turned used by CUPS.


Unable to retrieve the printer list. Error message received from manager:
Connection to CUPS server failed. Check that the CUPS server is correctly 
installed and running. Error: localhost: read failed (14).
If I use LPR/LPRng things seem to be going well until I get to the screen 
asking for URI:   I have no clue as to what it is asking for.


HELP

Bob Falanga
___
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: online DVD distribution not available

2008-02-28 Thread Predrag Punosevac

[EMAIL PROTECTED] wrote:

FreeBSD can be acquired on CD-ROM or DVD from FreeBSD Mall, or one of the other 
CD-ROM and DVD Publishers.

But FreeBSD DVD (iso) can't be downloaded. WHY??
  


Not true. Search the internet.

Reklama: Nebaví tě tvůj mobil? Naplň ho zábavou po okraj!
http://max.openads.cz/adclick.php?maxparams=2__bannerid=3__zoneid=4__source=_blank__cb=46af462d46__maxdest=http://www.mobilx.cz 




  


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


Re: XForwarding problem

2008-02-28 Thread Predrag Punosevac

Denny White wrote:

-BEGIN PGP SIGNED MESSAGE- Hash: SHA1


On Thu, Feb 28, 2008 at 02:46:41AM -0700, Predrag Punosevac sez:
  

Denny White wrote:



-BEGIN PGP SIGNED MESSAGE- Hash: SHA1

For the last couple of days I've tried everything I can think of to
make XForwarding work with ssh. As per the FAQ, I have set it like so:


In sshd_config

X11Forwarding yes


In ssh_config

ForwardAgent yes
ForwardX11 yes

I can use it passably well in one direction from a box across the
room to the one I do most of my work on. But, when I try it from
this box to the one across the room, I get the xauth error message
along with all typed characters doubled on the screen. I went ahead
anyway and typed 'display somefile.jpg' just to see what I'd get 
got this:

Xlib: connection to localhost:10.0 refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
display: unable to open X server `localhost:10.0'.

I've read the man page on xauth(1) and experimented with its
commands. I've even wiped out the .Xauthority file on both boxes
and restarted X, to no avail. Possibly I should mention too, that
I boot on both boxes to a xdm login. I don't know if that would
have any bearing on the problem or not. Thanks for any help I
can get on this.
  

What happens when you try to do the following?


Try to do remote login with as follows
ssh -Y [EMAIL PROTECTED]



I get this:

Warning: No xauth data; using fake authentication data for X11
forwarding.

And, everything I type at the prompt is doubled.
 
  

you should be now in the shell on the remote host

try to start x client like xdvi or xfig or something like emacs by 
typing xdvi


If xdvi pops up that means that the client is running on the remote host 
but it is displayer on the local X server



Okay, if after getting in I try to open something like xzgv, I get:

Xlib: connection to localhost:10.0 refused by server
  

Ok you do have a permission problem

Read carefully man pages for sshd_config  file .  You need to uncomment 
few lines for X tunneling.
You can also look at the Secure Architectures with OpenBSD section 
about OpenSSH.


I do not think that the problem is with X server though.
Best,
Predrag




Xlib: Invalid MIT-MAGIC-COOKIE-1 key

Gtk-WARNING **: cannot open display: localhost:10.0
 
Like I said earlier, I read the man page too on xauth  tried

sending

xauth extract - $DISPLAY | rsh otherhost xauth merge -

but it doesn't appear to help. I still get the error messages
and double typed characters.

  


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


Re: Printing in Gnome

2008-02-27 Thread Predrag Punosevac

Marco Beishuizen wrote:

Hi,

I'm having trouble getting things printed in Gnome. CUPS is installed and 
printing a test from localhost:631 is working fine. In the gnome-cups-

manager the printer is showing.
But when I try to print a test from the gnome-cups-manager I get a message 
that it's printed and the led on the printer flickers, but nothing is 
coming out.

Because by default it prints to PostScript file not a real printer.
 Even when the cups logfile is saying the print has succeeded. 
Also It's impossible to print from any application (Gnome or not), the 
printer is not showing, or when trying to print to /usr/local/bin/lpr 
nothing happens.


  


You have to adjust the preferences. By  default most applications will 
print to Post Script  file.

You have to put something like lpr or to change default printer.

Try to print a PostScript file from the shell with

$lpr -Pprintername filename.ps



Has someone an idea what to do next?

Thanks in advance,

Marco

  


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


Re: Printing in Gnome

2008-02-27 Thread Predrag Punosevac

Marco Beishuizen wrote:

On 27-Feb-2008 20:29:43, Predrag Punosevac wrote:

  
You have to adjust the preferences. By  default most applications will 
print to Post Script  file.

You have to put something like lpr or to change default printer.

Try to print a PostScript file from the shell with

$lpr -Pprintername filename.ps



Yes, this works for most applications. Thanks!
Except for OpenOffice, but that's another problem I guess.

Marco
 
  
I do not use Open Office so I do not know from the top of my head how to 
fix it.


However if you print now from OpenOffice it should print into the 
PostScript file. That file is printable with lpr. You can make a small 
script that you will put into the .openoffice or something like that 
which will execute these

commands simultaneously.

Look for the solution on the net. You are not the first guy who is 
trying to print from the OpenOffice running FreeBSD.


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


Re: FreeBSD bind performance in FreeBSD 7

2008-02-26 Thread Predrag Punosevac

Ted Mittelstaedt wrote:
  

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Kris Kennaway
Sent: Monday, February 25, 2008 12:18 PM
To: Oliver Herold; freebsd-questions@freebsd.org;
[EMAIL PROTECTED]
Subject: Re: FreeBSD bind performance in FreeBSD 7


Oliver Herold wrote:


Hi,

I saw this bind benchmarks just some minutes ago,

http://new.isc.org/proj/dnsperf/OStest.html

is this true for FreeBSD 7 (current state: RELENG_7/7.0R) too? Or is
this something verified only for the state of development back in August
2007?
  

I have been trying to replicate this.  ISC have kindly given me access
to their test data but I am seeing Linux performing much slower than
FreeBSD with the same ISC workload.




Kris,

  Every couple years we go through this with ISC.  They come out with
a new version of BIND then claim that nothing other than Linux can
run it well.  I've seen this nonsense before and it's tiresome.

Incidentally, the query tool they used, queryperf, has been changed
to dnsperf.  Someone needs to look at that port - /usr/ports/dns/dnsperf -
as it has a build depend of bind9 - well bind 9.3.4 is part of 6.3-RELEASE
and I was rather irked when I ran the dnsperf port maker and the
maker stupidly began the process of downloading and building the
same version of BIND that I was already running on my server.

  

* I am trying to understand what is different about the ISC
configuration but have not yet found the cause.



It's called Anti-FreeBSD bias.  You won't find anything.

  
You just described the tests up to isomorphism in the terminology of 
mathematics which is more familiar

subject to me :-)

The results of OpenBSD has been discussed and analyzed on the
misc.at.openbsd.org. Even to a hobbyist  like myself was not clear why 
did they chose to test OpenBSD 4.1
when only in two month the stable version of OpenBSD will be 4.3. For 
those unfamiliar performance of
OpenBSD 4.2 as a DNS server has been dramatically improved from the 4.1 
version.
The  question  of multi-threading  (no-no in OpenBSD world) and its role 
in above results was also analyzed.




e.g. NSD
(ports/dns/nsd) is a much faster and more scalable DNS server than BIND
(because it is better optimized for the smaller set of features it
supports).




When you make remarks like that it's no wonder ISC is in the business
of slamming FreeBSD.  People used to make the same claims about djbdns
but I noticed over the last few years they don't seem to be doing
that anymore.

If nsd is so much better than yank bind out of the base FreeBSD and
replace it with nsd.  Of course that will make more work for me
when I regen our nameservers here since nsd will be the first thing
on the rm list.

  
I sincerely hope for the above. Hopefully Ted finally can buy that 
Mercedes to his wife which she deserves so much ;-) .


Cheers,
Predrag



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: [Wireless] Can't connect to wlan

2008-02-23 Thread Predrag Punosevac

Alphons Fonz van Werven wrote:

Mel wrote:

If it's not wep you're using, now would be a good time to mention 
what you

are using :)


Okay. I was hoping that the no carrier thing indicated some trivial
mistake on my part but since it's WPA2 I'm using I'll post a more 
elaborate
message. It may take a while to gather all the data, commands, output, 
dmesg

greps etc. though.

To be continued,

Alphons

Did you read the handbook about wireless support. The chapter is very 
well written. The first thing I would make sure
is that you have proper drivers loaded into the kernel. Generic kernel 
doesn't contain drivers for wpa support.

wpa supplicant file looks good.

Other things to notice is that some Wi cards do not support WPA or/and 
WPA2:-( if I remember correctly.
Make sure your WiFi router is in Wi mode. We had people trouble shooting 
WiFi network for hours just to realize that they use WEP. Do not use WPE 
unless you set up IPsec or OpenVPN. I would definitely set IPsec even 
with  WAP  or  WAP2.


You might want to turn off the PF until you configure thins. Other than 
that much more info is needed to trouble  shoot


Best,
Predrag

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


Re: DJ500 dead after = 16 years.

2008-02-22 Thread Predrag Punosevac

Ted Mittelstaedt wrote:
  

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Predrag
Punosevac
Sent: Wednesday, February 20, 2008 12:25 PM
To: David Kelly
Cc: Gary Kline; FreeBSD Mailing List
Subject: Re: DJ500 dead after = 16 years.


David Kelly wrote:


On Wed, Feb 20, 2008 at 12:02:25AM -0800, Gary Kline wrote:

  

Nutshell, I'd like anyone's ideas/experiences with some of these
new HP/ or whateverbrand printers. I wouldn't *mind* if I
could scan in text from a techy paper into HTML or PDF or text.
But mostly, like 99.44%  plain black text.  My old deskjet used
gs as a filter to print PostScript.  Do we have any such plugin
support, or are printers still roll-your-own?  [FWIW, I can't
seem to get CUPS working...  altho it maay be my misssing
/dev/lpt0.]


  

Why don't you check http://www.linux-foundation.org/en/OpenPrinting for
the most comprehensive information available.

Just couple a comments. I would keep native LPD spooling system instead
installing CUPS unless you need to use something
like HPLIP drivers.



You do not need CUPS for the hplip drivers, you can use lpd if you
want.

To be perfectly clear on this, all that CUPS is, is 4 things:

Spool manager - LPD does this

Speaks IPP protocol - LPD also does this except it speaks LPR protocol

Easy user interface for the options needed by some of the more complex
filters. - lpd does NOT do this BUT, you can do it by writing
your own filter script and coding the options you want into it.
Note that most options are set once and forget, so CUPS really
doesen't add much here.  CUPS uses Postscript PPD files to automagically
generate the webpage the user fills out to select these options.

web-interface for job mangement - well who needs this for a
personal printer attached to a workstation?

The reason CUPS is used so much is that it dummifies the
chain of hooking together programs into a black box.  So,
people who don't understand what is going on can setup a
printer by clicking buttons.  That is fine if your printer
model is supported.  But if it doesen't work or if the model
is a new one that the cups people haven't quite yet got around
to testing with, or nobody has written a .PPD file for it,
you have to understand what is going on then.

I've posted the following before, but here's the instructions
I use for setting up my C84 without CUPS, so you can see
how this kind of thing works.  They are just a bit old but
still work if you change the version #s.  The setup uses the IJS output
from Ghostscript and feeds it into gimpprint.  The HPLIP
scheme works exactly the same way except that instead of
gimpprint, you use the hpijs driver along with the required
options:

1) setup print queue

Add the following to the end of /etc/printcap:

lp-epson|Epson C84 Color printer:\
:sh:\

:lp=/dev/lpt0:sd=/var/spool/output/lp-epson:lf=/var/log/lpd-errs:mx=0:\
:of=/usr/local/bin/epsonfilter:rw:
lp-epson-raw|Epson C84 Color Printer - raw for Windows systems:\
:sh:\

:lp=/dev/lpt0:sd=/var/spool/output/lp-epson-raw:lf=/var/log/lpd-errs:\
:mx#0:rw:

Create the print queues:

cd /var/spool/output

mkdir lp-epson
mkdir lp-epson-raw

Add in access for the local systems

cat /etc/hosts.lpd
# $FreeBSD: src/etc/hosts.lpd,v 1.4 1999/08/27 23:23:42 peter Exp $
#
# See lpd(8)
#machine.domain
tedwin2k.freebsd-corp-net-guide.com
192.168.1.60
tedsdesk.ipinc.net
ip-port-rtr1.ipinc.net
sunrise.ipinc.net
nat-rtr#

Run some test prints through the queues:

cd /etc
ls -l | lpr -P lp-text

Send a test print page from the Windows 2K workstation
via lpr to the print queue on the BSD box

(do a chmod 664 on the lock file in the lp-epson-raw queue, since network
LPR doesen't set the mask up properly per submitted bug)

2) Install the tools to image a printjob for the Epson, as follows:

cd /usr/ports/print/gimp-print
make WITHOUT_CUPS=yes
cd work/gimp-print-4.2.7/src/escputil
./escputil -i -u -r /dev/lpt0 (checks ink levels)
./escputil -n -u -r /dev/lpt0 (prints nozzle alignment)
(try some other commands to see if the level of support is better)
cd ../../../../
make WITHOUT_CUPS=yes install
cd ../ghostscript-gnu
make install
Deselect all the printers, leave in stp and ijs driver, as well
as all the X-windows drivers and the jpg and other image drivers.

test the ghostscript install:

cd /root
man -t which  which.ps
gs -dBATCH -sDEVICE=jpeg -sOutputFile=test.jpg which.ps
open test.jpg in a browser and see if the page is there

Now test gimpprint and ghostscript:

first manually with the command,

gs -sDEVICE=ijs -sIjsServer=/usr/local/bin/ijsgimpprint -sDeviceManufacturer
=EPSON  -sDeviceModel=escp2-c84 -sIjsParams=Quality=720x360sw,InkType=CMYK
,MediaType=Plain -dIjsUseOutputFD -dNOPAUSE -dBATCH -sOutputFile=test.out
/usr/local/share/ghostscript/7.07/examples/colorcir.ps

lpr -P lp-epson-raw test.out

Create the file /usr

Re: DJ500 dead after = 16 years.

2008-02-22 Thread Predrag Punosevac

Ted Mittelstaedt wrote:
  

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Predrag
Punosevac
Sent: Wednesday, February 20, 2008 10:36 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: DJ500 dead after = 16 years.


Predrag Punosevac wrote:


[EMAIL PROTECTED] wrote:
  

 Guys, I need some input about what kind of _new_ printer to buy
 for my desktops.  I'd like to hang the printer off my FBSD box;
 my Ubuntu platform is probably too far away. At least 3 meters.

  

A few months ago I got a Samsung ML-2571N for well under $100 at
Fry's.  It is small, light, fast; has a built-in 10/100 network
port, handles PostScript, and speaks native lpr 

What is lpr? Usually printers speak Post Script or PCL printer command 
language in which case you need a driver.

LPD, LPRng, and CUPS are different spooling systems.
Did you attach the printer to a computer or is acting as a free 
standing printer server.


  
There is a lpr driver by Brother for Linux. Brother and Canon have 
binary blob drivers. Did you use that driver may be?
Does anyone know if those binary blobs can be useful for anything on 
FreeBSD. They appear to be wrappers for standard

Ghost Script drivers.



They aren't wrappers.  The binary drivers generally take the
intermediate output from the Ghostscript ijs driver and convert
it into whatever the printer understands.  If the binary driver
is statically built then it likely can be run by the linuxulator
under FreeBSD.

Most of the time the binary drivers are wrapped in an install script
that sets all this up.

  
I will actually try to do that as soon as I get my hands on one of those 
Brother printers and see if I can get it to work on FreeBSD and OpenBSD. 
Of course,  I will definitely try to set up my wife's

Photosmart C5250 with only using LPD:-)

Thanks one more time Tad!

Predrag




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: DJ500 dead after = 16 years.

2008-02-22 Thread Predrag Punosevac

Predrag Punosevac wrote:

Ted Mittelstaedt wrote:
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Predrag
Punosevac
Sent: Wednesday, February 20, 2008 10:36 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: DJ500 dead after = 16 years.


Predrag Punosevac wrote:
   

[EMAIL PROTECTED] wrote:
 

 Guys, I need some input about what kind of _new_ printer to buy
 for my desktops.  I'd like to hang the printer off my FBSD box;
 my Ubuntu platform is probably too far away. At least 3 meters.
  

A few months ago I got a Samsung ML-2571N for well under $100 at
Fry's.  It is small, light, fast; has a built-in 10/100 network
port, handles PostScript, and speaks native lpr 
What is lpr? Usually printers speak Post Script or PCL printer 
command language in which case you need a driver.

LPD, LPRng, and CUPS are different spooling systems.
Did you attach the printer to a computer or is acting as a free 
standing printer server.


  
There is a lpr driver by Brother for Linux. Brother and Canon have 
binary blob drivers. Did you use that driver may be?
Does anyone know if those binary blobs can be useful for anything on 
FreeBSD. They appear to be wrappers for standard

Ghost Script drivers.



They aren't wrappers.  The binary drivers generally take the
intermediate output from the Ghostscript ijs driver and convert
it into whatever the printer understands.  If the binary driver
is statically built then it likely can be run by the linuxulator
under FreeBSD.

Most of the time the binary drivers are wrapped in an install script
that sets all this up.

  
I will actually try to do that as soon as I get my hands on one of 
those Brother printers and see if I can get it to work on FreeBSD and 
OpenBSD. Of course,  I will definitely try to set up my wife's

Photosmart C5250 with only using LPD:-)

Thanks one more time Tad!

Predrag




Ted,

Would you be so kind to comment on something. According to HPLIP 
web-site in order to unlock the FULL functionality of

all-in-one device one has to use CUPS?

quote:

*Question: How are HPLIP and HPIJS related?*

Answer: HPIJS is a subcomponent of HPLIP. HPIJS provides basic printing 
support for non-postscript printers. HPIJS can operate in any spooler 
environment (including no spooler). HPIJS provides no I/O. HPLIP 
provides I/O for bi-directional communication, scanning, photo card 
access, and toolbox functionality. HPLIP requires the CUPS spooler.


end of quote.

Call me stupid but I do not understand the above. I have used probably 
as you and many other people HPIJS with LPD.
HPIJS are included in HPLIP so I would guess that I could use even the 
same printcap file with HPLIP and it should work.


If I want to unlock scanning I need the hpaio backhands for SANE and 
they are included in HPLIP. Now why the hack
do we need the CUPS. Is it possible that idiotic HP-toolbox talks only 
IPP so that one can not actually get the status of the

toner, paper, and other advanced functions unless use CUPS?

I really apologize for bothering you but I really want to understand how 
HPLIP works.


Best,
Predrag




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 Linux distro

2008-02-21 Thread Predrag Punosevac

D G Teed wrote:

As a Sysadmin I have 2 cents to add to this discussion.

I think the whole chest beating, king of the hill, stand taking,
mantra repeating is juvenile.  There is no superior OS.
As I do my job I don't start out figuring how I can slide my
favorite distro into the equation.  The OS is not at the center of
decision making.  What we want to get done is at the center.

The beginning point is typically the application or service,
and sometimes the application and service combined with
the given hardware.  Given these requirements, then we find
an OS which supports them.

As far as stability is concerned, I can't remember the last time
something konked out on me because of a kernel bug.  If something
goes weird these days I'm most often to find hardware is the
problem.  We currently run over a dozen of each of Redhat Linux,
Solaris, and FreeBSD, and two Debian servers.

If someone has high uptimes they just don't believe in kernel
security updates - it is nothing to be proud of.

I'd like to see a resource which promotes intelligent decision
making coming from the point of view of supporting the application
or hardware, as this is essentially the angle I believe a sysadmin
is coming from.  For example, no where in this have I heard a peep
about backup software.  Anyone serious about IT is serious
about backup.  Yet there is no support for EMC (Legato)
Networker in FreeBSD, and this is why our organization is
migrating away from this FreeBSD.  So for example, you can
outline what backup options are available compared to Linux.

  
DTrace is in current 8.0 at least in the restricted version:-) I do not 
think that the kind of the people who are
getting information from his web-site need DTrace, ZFS, or ULE. But it 
is good to have it.


And of course you are right. Even Windows is an excellent OS if you need 
to run CAD and keep your computer away from

the Internet:-)




--Donald
___
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: DJ500 dead after = 16 years.

2008-02-20 Thread Predrag Punosevac

David Kelly wrote:

On Wed, Feb 20, 2008 at 12:02:25AM -0800, Gary Kline wrote:
  
	Nutshell, I'd like anyone's ideas/experiences with some of these 
	new HP/ or whateverbrand printers. I wouldn't *mind* if I

could scan in text from a techy paper into HTML or PDF or text.
But mostly, like 99.44%  plain black text.  My old deskjet used
gs as a filter to print PostScript.  Do we have any such plugin
support, or are printers still roll-your-own?  [FWIW, I can't
seem to get CUPS working...  altho it maay be my misssing
/dev/lpt0.]



  
Why don't you check http://www.linux-foundation.org/en/OpenPrinting for 
the most comprehensive information available.


Just couple a comments. I would keep native LPD spooling system instead 
installing CUPS unless you need to use something
like HPLIP drivers. To stay on the same note, you should ask yourself 
firstly what is printer for.
If you are doing intensive black and white document printing like in an 
academic environment Laser Printers will give you the greatest millage 
and cost per copy ratio. In that case you should definitely try to
buy a printer that speaks Post Script language and avoid any drivers. 
The mentioned Brother HL series is wonderful.
I have just good words for Lexmark Optra series. HP Laser jet above the 
1300 do speak full Post Script. Always a good decision. Be careful with 
HP 1000-1200 they might be problematic as they do not even speak PCL. 
See above link for the full explanation.


If you are using printing at home and need occasional color printing I 
would suggest you go with the HP deskjet/officejest  or even better with 
all-in-one device. HPLIP http://hplip.sourceforge.net/ will unlock full 
functionality of all-in-one devices including scanning via hpaio scanner 
drivers included in HPLIP.


There are couple Epson all-in-one devices that are fully supported with 
Gutenprint for the printer driver and sane-backhands for the printing. 
Something like CX-3800 or similar. Check the SANE web-site for full 
list. Note that SANE has released new
backhands two weeks ago and I am not sure if the FreeBSD port has been 
updated to 1.19 version.


If you decide that you do NOT need scanner stick with the printer that 
speak full PCL and which are listed in the foomatic-db or/and ghostscript.



Personally, I have HP laser jet 4L. Speaks PCL and listed in foomatic-db.
I have Office Jet R60 all-in-one  speaks PCL and listed in foomatic 
-db.  In  order  to unlock scanning it has to be attached
separately to network as HPLIP doesn't support parallel port devices 
despite their claims that they do. It does but over the network.
Photosmart C5250 all-in-one. This is my wife printer for her photos but 
is also a scanner and copier. Full functionality unlocked with HPLIP 
drivers.



I hope that this helps

Predrag

P. S. You may also check the following couple articles.

How to edit printcap file and use foomatic filter

http://www.onlamp.com/pub/a/bsd/2004/07/08/FreeBSD_Basics.html?page=1

How to use apsfilter

http://www.onlamp.com/pub/a/bsd/2003/11/06/Big_Scary_Daemons.html

How to use ghostscript as a input filter and lots of other goodies by 
our own Ted


http://www.freebsd.org/doc/en_US.ISO8859-1/books/corp-net-guide/index.html

How to set up HPLIP on FreeBSD
http://dsteinbrook.googlepages.com/hpliponfreebsd

Note that the Handbook is more than enough to set up Post Script 
printer. You may also want to read man pages

for printcap. Nice info.
If you




I have been pleased with my purchase of a Brother HL-5250DN several years
ago. Was $250 at the time, usually can be found on sale now for under
$200. Refurbished HL-5240's under $100.

This is a 30 ppm (rated) laser with ethernet, USB, HPL-6 and Brother's
Postscript-3 clone. Also prints duplex. 3rd party toner refills are $20
for roughly 7,000 pages. Drum is rated at 25,000 pages. If it doesn't
last that long a new or refurbished printer is cheaper than a
replacement drum.

Have fond memories of old HP-4000N, HP-4050N, and HP-5000N printers but
nothing used was available as inexpensive as the Brother was. The
Brother is better suited for my uses as its very quick to warm up from
sleep, maybe as fast as my DJ-990.

  


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


Re: FreeBSD Linux distro

2008-02-20 Thread Predrag Punosevac

Chad Perrin wrote:

On Tue, Feb 19, 2008 at 01:27:49PM -0700, Chad Perrin wrote:
  

On Tue, Feb 19, 2008 at 09:14:04AM -0700, Chad Perrin wrote:
  

[ snip a bunch of stuff ]

On Tue, Feb 19, 2008 at 11:36:34AM -0500, Jerry McAllister wrote:


A good rundown of some of the differences.
Maybe you can put this on a web page and get it added to lists
of comparrisons.
  

Sure.  I'll polish it up and post it somewhere in that polished form,
then reply here.  If not today, I'll aim to get it done tomorrow.



Okay, posted:

  http://arc.apotheon.org/freebsd/vs_linux.html

If anyone has suggestions for how to fix it up further, let me know.

  

Hi Chad,

Here is my honest opinion. I hope it will help you improve the post :-)

I didn't like very much the tone of the article as well as some 
pejorative conclusion. If you are going to post something even
as a FreeBSD advocacy the tone of the article should be neutral and all 
claims verifiable. Do not get me wrong. I
do not like Linux and more over I have never used it in my life but I 
would have hard time to swallow some of your claims.


How would you feel if I tell you that I use mostly OpenBSD because it is 
easier for work than FreeBSD and in my experience much more stable than 
FreeBSD.  Those are my subjective feelings and probably have little to 
do with the reality. If anything statement like that are irritating and 
have no value to a person who is deciding between using OpenBSD or FreeBSD.


Try to find on the internet couple of advocacy articles by Greg Lehey.  
They are  very  well-written. 

Example: Statement of the type BSD appears more stable than Linux is 
non-verifiable.
Statement of the type FreeBSD is direct decedent of the BSD flavor of 
Unix started in mid seventies at the University of California Berkley 
while the Linux kernel is Unix clone started in 1993 based on the 
mixture of System V and BSD Unix is
verifiable. Or 80% of all servers with longest up time run FreeBSD is 
something that can be verified.


You should definitely address the following things

1. FreeBSD is longer in the development than Linux.

2.  Probably 80% of the servers with the longest  UP time run  FreeBSD.  
Give a link. Easy to find.


3. FreeBSD is a COMPLETE operating system GNU/Linux is not.

4. It has different development and engineering process than Linux.

5. It has better quality control at least because Linux has no quality 
control at all.


6. The Largest FTP sever on the world run FreeBSD (your beloved freebsd.org)

7. FreeBSD has one of the best systems for the installation of the third 
party software (ports and do not forget packages
as some people will jump at you and make a claim that Debian has better 
packaging system as it is more efficient than compiling things from ports)


8. Most extensive collection of third party software (over 18000 ) only 
second to Debian.


9. One of the best documented systems

10. Mention the advantage of the BSD license  comparing to GPL for the 
commercial use.


11. It is philosophically different than most Linux distros as all 
services are turned of by default.


12. Unlike Linux it doesn't claim that is the best and most suitable for 
everything.  If you need security then Open is better choice. If you 
need something for embedded devices probably Net is better choice.


13. More secure than Linux if for no other reason but for PF which is 
ported from OpenBSD. Note that PF is not ported for Linux.


14. Kernel security level concept doesn't exist in Linux.

Try to disperse common myth that BSD doesn't support hardware but do not 
be shy to admit that lack support for things like

video conferencing.

Do not be shy to admit that virtualization is poor and maybe 
intensionally as quite of few people do not believe that putting 
somebody's else cra*p on the top of FreeBSD will not make that cra*p 
working better or be more secure. If you need Window's application run 
Windows.



Does it make a good Desktop system? Depends what do you mean by that. If 
you need everything working out of box
for your grandmother Mily probably not. If you need Flash and Java 
plug-ins probably not. But if you need ROCK solid
workstation for academic work, occasional multimedia and want to be 100% 
in control of your computer like me it is the best desktop OS around.



Most Kind Regards,

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


Re: DJ500 dead after = 16 years.

2008-02-20 Thread Predrag Punosevac

[EMAIL PROTECTED] wrote:

 Guys, I need some input about what kind of _new_ printer to buy
 for my desktops.  I'd like to hang the printer off my FBSD box;
 my Ubuntu platform is probably too far away. At least 3 meters.



A few months ago I got a Samsung ML-2571N for well under $100 at
Fry's.  It is small, light, fast; has a built-in 10/100 network
port, handles PostScript, and speaks native lpr 
What is lpr? Usually printers speak Post Script or PCL printer command 
language in which case you need a driver.

LPD, LPRng, and CUPS are different spooling systems.
Did you attach the printer to a computer or is acting as a free standing 
printer server.


The driver for that particular printer is just a generic postscript 
driver included in the ghostscript. However the recommended post script 
description file is  *ML-2570ps-ppd *which is included on the CD that 
comes with the printer.
According to Linux Printing the printer is NOT included in the 
foomatic-db. According to same source OpenOffice

which I do not use has a problem with  ML-2570ps-ppd.

It looks to me as an excellent choice. I liked the fact that the printer 
can get IP address as DHCP or via web-interface.
That means that it can act as a free standing printer server. Printer 
server alone cost $100-150.



Thank you so much for the info as the price is really great.

Best,
Predrag




(so you don't
need to bother with CUPS).

I am still on the original 1000-page starter cartridge.  Replacements
are rated 3000 sheets; I haven't priced them.

That's black only.  The cheapest color-capable networked PostScript
printer I've found so far is the Xerox 6130N, for which I've been
quoted $375 including $380 worth of cartridges (C, M, Y, K @ $95 each)
-- Xerox seems to have some promotional pricing this month.  IIRC the
color cartridges are rated 1900 sheets and the black 2500.  This one
is also supposed to handle lpr natively.  While I haven't got one (yet),
I figure it is almost guaranteed to be good -- Xerox do not make junk.
___
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: DJ500 dead after = 16 years.

2008-02-20 Thread Predrag Punosevac

Predrag Punosevac wrote:

[EMAIL PROTECTED] wrote:

 Guys, I need some input about what kind of _new_ printer to buy
 for my desktops.  I'd like to hang the printer off my FBSD box;
 my Ubuntu platform is probably too far away. At least 3 meters.



A few months ago I got a Samsung ML-2571N for well under $100 at
Fry's.  It is small, light, fast; has a built-in 10/100 network
port, handles PostScript, and speaks native lpr 
What is lpr? Usually printers speak Post Script or PCL printer command 
language in which case you need a driver.

LPD, LPRng, and CUPS are different spooling systems.
Did you attach the printer to a computer or is acting as a free 
standing printer server.


There is a lpr driver by Brother for Linux. Brother and Canon have 
binary blob drivers. Did you use that driver may be?
Does anyone know if those binary blobs can be useful for anything on 
FreeBSD. They appear to be wrappers for standard
Ghost Script drivers. I noticed also that some drivers for older Brother 
printers are removed from Ghost Script 7.0 and 8.0.
It appears that they are useful for some of the newest and very solid 
monochromatic laser Brother printers which go for less than $50 on the 
NewEgg. Maybe the port maintainer should edit make file so that they 
compile.


Cheers,
Predrag


The driver for that particular printer is just a generic postscript 
driver included in the ghostscript. However the recommended post 
script description file is  *ML-2570ps-ppd *which is included on the 
CD that comes with the printer.
According to Linux Printing the printer is NOT included in the 
foomatic-db. According to same source OpenOffice

which I do not use has a problem with  ML-2570ps-ppd.

It looks to me as an excellent choice. I liked the fact that the 
printer can get IP address as DHCP or via web-interface.
That means that it can act as a free standing printer server. Printer 
server alone cost $100-150.



Thank you so much for the info as the price is really great.

Best,
Predrag




(so you don't
need to bother with CUPS).

I am still on the original 1000-page starter cartridge.  Replacements
are rated 3000 sheets; I haven't priced them.

That's black only.  The cheapest color-capable networked PostScript
printer I've found so far is the Xerox 6130N, for which I've been
quoted $375 including $380 worth of cartridges (C, M, Y, K @ $95 each)
-- Xerox seems to have some promotional pricing this month.  IIRC the
color cartridges are rated 1900 sheets and the black 2500.  This one
is also supposed to handle lpr natively.  While I haven't got one (yet),
I figure it is almost guaranteed to be good -- Xerox do not make junk.
___
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: Is my hard ware sufficient?

2008-02-19 Thread Predrag Punosevac

Lone Wolf wrote:

I'm not going to serve any one, I just want to take a small test drive with 
FreeBSD .
Regarding my graphic card, it is 32 MB, is it ok?
Does FreeBSD come bundled with GNOME?
  
Vanilla FreeBSD doesn't come bundled with anything. But, yes you may 
install GNOME, KDE, Xfce or any of the
light window manager for X. Unless you have at least 256 Mb of RAM and 
10Gb HD I would not think about the GNOME.






Thanks demons!

Olivier Nicole [EMAIL PROTECTED] wrote:  I'm thinking to install FreeBSD on 
my old PC.
  

---
Processor: Intel Celeron 1.3 GH
RAM: 192 MB
---
Is my hard ware sufficient?



Sufficient to do what?

Until not so long ago, my DNS server was a PIII 550 MHz, with
something like 120 MB RAM, serving about 150 clients.

I changed the hardware mostly because I had bigger machines available.

Olivier



Deep into that darkness peering, long I stood there, wondering, fearing, 
Doubting, dreaming dreams no mortal ever dreamed before.
  E.A Poe
  
   




   
-

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


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


Re: Is my hard ware sufficient?

2008-02-19 Thread Predrag Punosevac

Lone Wolf wrote:

Hi.
I'm thinking to install FreeBSD on my old PC.
---
Processor: Intel Celeron 1.3 GH
RAM: 192 MB
---
Is my hard ware sufficient?
Thanks. 
  
Sufficient for what? What do you want to run on that computer? A 
workstation? A firewall? A mail server? Apache?



Assuming you want to run a work station I would recommend at least 256Mb 
or RAM. The more is the better. Your BIOS would probably see up to 512Mb 
RAM. CPU speed is more than enough .  I would use  at lest  6Gb  HD  
for  a work  station.


You computer would with above specifications would make a great thin 
client, firewall, home made router or  DNS  server.


Cheers,
Predrag




Deep into that darkness peering, long I stood there, wondering, fearing, 
Doubting, dreaming dreams no mortal ever dreamed before.
  E.A Poe
  
   




   
-

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


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


Re: FreeBSD 6.3 Xorg issues

2008-02-19 Thread Predrag Punosevac

[EMAIL PROTECTED] wrote:

Date: Tue, 19 Feb 2008 12:10:14 +0800 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: freebsd-questions@freebsd.org Subject: 
Re: FreeBSD 6.3 Xorg issues  Hi,  [EMAIL PROTECTED] wrote:  Anyone else having issues getting Xorg working with 6.3? I 
get a pcidata error when trying to startx. Used to work great on 6.2. Do I have to instal Xorg manually with 6.3? --Joe   I upgraded 
by accident to 6.3 and did not even notice any difference.  I started csup with the intent to patch 6.2 but upgraded the sources to 
 6.3, compiled, installed and rebooted without any problems.  I know, but it happend this way.  X kept on working. 
 Erich

I'm having trouble with a fresh build of 6.3.   When I try to Xorg -configure I get an error stating that the module pcidata is missing.   this is independent of the hardware I try this on.   I will try to load Xorg manually tonight to see if this fixes anything...
 
  
They didn't include drivers on iso immages. Do fresh minimal 
installation and then add xorg with pkg_add utility.
 
  




 
_

Need to know the score, the latest news, or you need your Hotmail®-get your 
fix.
http://www.msnmobilefix.com/Default.aspx___
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: US ftp mirrors down?

2008-02-09 Thread Predrag Punosevac

James wrote:

Hi folks,

I was just trying to csup the sources for releng_6_3 and had some 
issues. ftp10.us.freebsd.org was unlocateable, ftp11 didn't have 
src-all, a bunch of the lower numbered ones were all unresponsive. 
Could someone check that behaviour for me?


Thanks

James
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
I got mirror 10 without problems. Nine and eleven didn't work. I didn't 
check other.

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


Re: Some ideas for FreeBSD

2008-02-08 Thread Predrag Punosevac

Ted Mittelstaedt wrote:
  

-Original Message-
From: Wojciech Puchar [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 07, 2008 11:32 PM
To: Ted Mittelstaedt
Cc: [EMAIL PROTECTED]; freebsd-questions@freebsd.org
Subject: RE: Some ideas for FreeBSD




It is one thing to add support for a POSIX call into FreeBSD.
That's fine.

It's quite another to break a header or supply hacky 32-bit-only
code in a library or some such just because Linux does the same
brain-dead stuff and the Linux maintainers are too stubborn or
stupid to fix Linux.

  
don't forget that linux changed from being good unix OS to be windows 
competitor. and it's competing well.





Ah, something to strive for! :-)

Reason # 1 to be happy with Linux:  It attracts all the morons who
would otherwise fuck up FreeBSD? 


Ted
__

And I pray to stay that way ;-) .

Cheers,
Predrag

I do not know if it is because of the writers strike in Hollywood or 
because of the couple recent posts by Ted but I have more

laugh reading [EMAIL PROTECTED] than watching the Jay Leno show.

_
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: Some ideas for FreeBSD

2008-02-08 Thread Predrag Punosevac

Ted Mittelstaedt wrote:
  

-Original Message-
From: Wojciech Puchar [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 07, 2008 11:32 PM
To: Ted Mittelstaedt
Cc: [EMAIL PROTECTED]; freebsd-questions@freebsd.org
Subject: RE: Some ideas for FreeBSD




It is one thing to add support for a POSIX call into FreeBSD.
That's fine.

It's quite another to break a header or supply hacky 32-bit-only
code in a library or some such just because Linux does the same
brain-dead stuff and the Linux maintainers are too stubborn or
stupid to fix Linux.

  
don't forget that linux changed from being good unix OS to be windows 
competitor. and it's competing well.





Ah, something to strive for! :-)

Reason # 1 to be happy with Linux:  It attracts all the morons who
would otherwise fuck up FreeBSD? 


Ted
  

And I will pray to stay that way ;-)

Predrag

P. S. I do not know if it because of the writers strike in Hollywood or 
because of the last couple posts sent by Ted but
I definitely have more laugh reading massages at freebsd.org than 
watching the Jay Leno show.



___
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: suggested size of /var/mail

2008-01-28 Thread Predrag Punosevac

Wojciech Puchar wrote:


Are there any smart ways to decide how to size /var/mail.
I plan to put it on a seperate partition ... or shouldn't I?


Your question is too serious to be answered in an email but I give a try.
First of all I would suggest that you read the pages 25-28 of the book 
Secure Architectures with OpenBSD by Brandon Palmer and Jose Nazario as  
the partition issue is discussed in detail. There is also an excellent 
how to http://www.kernel-panic.it/openbsd/mail/
by OpenBSD users group on the topic of secure mail server (they also 
have a slue of other nice articles http://www.openbsdsupport.org/).

I personally would stick with sendmail MTA but that is your call.

No back to the question of partition.

Personally no matter what I like to have separate

/
/swap
/tmp
/var
/usr
/home

I would size them as follows if I had 20 Gb RAM. First of all I would 
leave 2-3 Gb empty in the case that I run out of memory space on any 
particular partition. You can use disklabel or system install to add 
additional disk space where needed. The rest as follows


/swap is usually 2xRAM
I would go with / with 1Gb.
1Gb /tmp
/usr maybe 2Gb depend if you are going to use only sandmail or to use 
different MTA as all the programs are installed there.
You probably need to install IMAP server, MySQL, and Squirrel .  I would 
run spam assassin and Clamav on two other separate physical boxes. 
Probably PIII that you can get for $10 are good enough for that. So you 
need to make sure that there is enough space for all the programs in  /usr


For  /home very little .

/var as much as you have left because you do not want to run out of log 
files. At least 12-13Gb on the disk size of 20Gb but the disk space is 
so cheap so I would probably go with at least 160Gb total disk space 
even for the home server. That also depends how many users you are going 
to serve. I hope somebody smarter than me help you with that part.



I would crypt at least swap. After the configuration you can edit 
/etc/fstab and actually make / only readable. You can also see what else 
can be mounted only as readable thing but now we are moving further to 
the questions of security and that is whole another book.


Kind regards,

Predrag







while considered bad/dangerous/whatever i ALWAYS make only 2 partitions:

swap and root

and NEVER have problems how to size a partitions.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


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


Re: HELP: Motherboard Selection (ASUS)

2008-01-28 Thread Predrag Punosevac

Ted Mittelstaedt wrote:
  

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of David Naylor
Sent: Monday, January 28, 2008 12:21 AM
To: freebsd-questions@freebsd.org
Subject: HELP: Motherboard Selection (ASUS)


Hi,

Late last year I bought a AS US P5N-E (force 650) motherboard.  It
didn't work with FreeBSD and SUMP (I can't blame FreeBSD has Linux and
Windows struggle to run on the board, and it is riddled with bugs).

I'm now hoping to convince AS US that I need a different motherboard,
does anyone know which AS US boards work (or don't work) with FreeBSD.
 I need SLID, quad core and 4 DIM MS.




Why don't you ask us when you have actually managed to get AS US
convinced?  It seems to me your chances of doing this now are
gone.  The Uniform Commercial Code only requires retailers to
offer a 30 day guarentee.  Assuming late last year meant sometime
in December, you should have returned the motherboard to the
retailer weeks ago.  And, AS US has no obligation to take the
board back and supply you with a different one under their warranty.

  

One board I was considering was the AS US P5N32-E (with force 680i).
I know there was a problem with NF (but I can live with that, if it is
not already solved).




I think your nuts to consider AS US again.  You got burned once by them,
do you like getting slapped upside the head repeatedly?

The best chance you have of
salvaging this train wreck is selling the motherboard on Ebay for
50 cents on the dollar, and treating it as a learning experience.

In the future, don't buy a motherboard from an online retailer
unless you know it works. 

Ted,
I love reading your comments as you are so knowledgeable but you should 
give a brake to a poor guy. He is already traumatized

by online experience so we need to conform him.

There is nothing wrong in buying thins from online retailers as you can 
usually save 30-50% in my experience but as Ted said you have to know 
what are you buying.


Tad's idea of Ebay is almost perfect. You can also try to get a read of 
your board on the Craigslist. My advice would be that you put the

price 10%-20% bigger of what you actually pay for for the board.

If the person knows what he is doing he would not buy from Ebay or 
Craigslist anyway.
I just looked the Tuscon's Craigslist and some moron is selling a mother 
board for $50 bucks. Instead of the picture of his mother board he gave  
a link  to  the Geeks' web-site where the same mother board is clearly 
priced $33.95. Including $8 shipping, that is still cheaper
than $50 which his asking price (If I remember well arithmetic from the 
kindergarten:-) ).


Cheers,
Predrag

P. S. Ted, I am so happy you didn't make a progress with that 
anti-Serbian filter you were working on so that I can still read your 
comments and learn. Kind regards from Arizona :-)



 And whether you buy one from an online
retailer or a local retailer, return it as soon as you find it
doesen't work.  And of course, test that it works before the 30
day return period is up.

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: XDVI, LaTeX, teTeX dependencies

2008-01-28 Thread Predrag Punosevac

Holger Jorra wrote:

Hi,

I know that this is not only a FreeBSD issue, but I don't know where else I 
should ask. First, this issue has been brought up here in a different way 3 
years ago, but there seems to be no solution, yet. [1]


I use Latex for documentation and presentations of my work. My problem is that 
I still haven't found a working DVI-Viewer in FreeBSD without installing the 
whole KDE-dependencies (KDVI). Latex compiles into dvi files. So either I use 
teTex (as the thread [1] recommends) but which is not supported anymore [2] 
and cannot use XDVI, or I install the latex-package and will not be able to 
use other Latex-tools like dvips and cannot print or share it.

To make it short:


===  Installing for xdvi-pl20_3

===  xdvi-pl20_3 conflicts with installed package(s): 
  teTeX-base-3.0_12

  teTeX-texmf-3.0_5

  They install files into the same place.
  Please remove them first with pkg_delete(1).
*** Error code 1


AFAIK both packages want to install the file /usr/local/bin/latex.

So my questions are: Is there a way to bent the dependency of XDVI on teTex in 
general (maybe this is a developers issue, not porters - don't know) or is 
there another small Viewer I may use instead? The other way would be much 
more difficult, I think. Has anyone here a workaround for this? Is there a 
solution in the very near future?



  

I think you made one of two mistakes.
It is possible that you use teTeX meta port in which case you already 
have xdvi, which came as a dependency.


Second possibility (most likely) is that you are trying to compile wrong 
version of xdvi. There is one for teTeX and there is

one for the older ports Latex and TeX.

You need http://www.freebsd.org/cgi/url.cgi?ports/print/xdvik/pkg-descr

Cheers,
Predrag




Thanks a lot
Holger

[1]http://docs.freebsd.org/cgi/getmsg.cgi?fetch=584280+0+/usr/local/www/db/text/2005/freebsd-questions/20050522.freebsd-questions
[2]http://www.tug.org/tetex/
___
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: Xserver woes

2008-01-26 Thread Predrag Punosevac

Chris Maness wrote:
I have a headless box where I upgraded from 7.2 to 7.3 per the 
security issue, now I am unable to start vnc.  I get:


$ less ns1.kq6up.org\:1.log

Xvnc Free Edition 4.1.2 - built Dec  1 2007 13:55:16
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Underlying X server release 4030, The XFree86 Project, Inc


Sat Jan 26 21:59:51 2008
vncext:  VNC extension running!
vncext:  Listening for VNC connections on port 5901
vncext:  Listening for HTTP connections on port 5801
vncext:  created VNC server for screen 0
error opening security policy file 
/usr/local/lib/X11/xserver/SecurityPolicy
Could not init font path element /usr/local/lib/X11/fonts/Speedo/, 
removing from list!
Could not init font path element /usr/local/lib/X11/fonts/CID/, 
removing from list!
Could not init font path element /usr/local/lib/X11/fonts/75dpi/, 
removing from list!
Could not init font path element /usr/local/lib/X11/fonts/100dpi/, 
removing from list!


Fatal server error:
could not open default font 'fixed'
xsetroot:  unable to open display 'ns1.kq6up.org:1'

These fonts are installed.  Very wierd.

If I run the command:

pkg_info | grep xorg

// I get //

linux-xorg-libs-6.8.2_5 Xorg libraries, linux binaries
xorg-7.3_1  X.Org complete distribution metaport
xorg-apps-7.3   X.org apps meta-port
xorg-docs-1.4,1 X.org documentation files
xorg-drivers-7.3_1  X.org drivers meta-port
xorg-fonts-100dpi-7.3 X.Org 100dpi bitmap fonts
xorg-fonts-7.3  X.org fonts meta-port
xorg-fonts-75dpi-7.3 X.Org 75dpi bitmap fonts
xorg-fonts-cyrillic-7.3 X.Org Cyrillic bitmap fonts
xorg-fonts-miscbitmaps-7.3 X.Org miscellaneous bitmap fonts
xorg-fonts-truetype-7.3 X.Org TrueType fonts
xorg-fonts-type1-7.3 X.Org Type1 fonts
xorg-libraries-7.3_1 X.org libraries meta-port
xorg-protos-7.3 X.org protos meta-port
xorg-server-1.4_4,1 X.Org X server and related programs

Any ideas folks?

Try to erase .vnc and start server again.

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


Re: Xserver woes

2008-01-26 Thread Predrag Punosevac

Chris Maness wrote:

Predrag Punosevac wrote:

Chris Maness wrote:
I have a headless box where I upgraded from 7.2 to 7.3 per the 
security issue, now I am unable to start vnc.  I get:


$ less ns1.kq6up.org\:1.log

Xvnc Free Edition 4.1.2 - built Dec  1 2007 13:55:16
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Underlying X server release 4030, The XFree86 Project, Inc


Sat Jan 26 21:59:51 2008
vncext:  VNC extension running!
vncext:  Listening for VNC connections on port 5901
vncext:  Listening for HTTP connections on port 5801
vncext:  created VNC server for screen 0
error opening security policy file 
/usr/local/lib/X11/xserver/SecurityPolicy
Could not init font path element /usr/local/lib/X11/fonts/Speedo/, 
removing from list!
Could not init font path element /usr/local/lib/X11/fonts/CID/, 
removing from list!
Could not init font path element /usr/local/lib/X11/fonts/75dpi/, 
removing from list!
Could not init font path element /usr/local/lib/X11/fonts/100dpi/, 
removing from list!


Fatal server error:
could not open default font 'fixed'
xsetroot:  unable to open display 'ns1.kq6up.org:1'

These fonts are installed.  Very wierd.

If I run the command:

pkg_info | grep xorg

// I get //

linux-xorg-libs-6.8.2_5 Xorg libraries, linux binaries
xorg-7.3_1  X.Org complete distribution metaport
xorg-apps-7.3   X.org apps meta-port
xorg-docs-1.4,1 X.org documentation files
xorg-drivers-7.3_1  X.org drivers meta-port
xorg-fonts-100dpi-7.3 X.Org 100dpi bitmap fonts
xorg-fonts-7.3  X.org fonts meta-port
xorg-fonts-75dpi-7.3 X.Org 75dpi bitmap fonts
xorg-fonts-cyrillic-7.3 X.Org Cyrillic bitmap fonts
xorg-fonts-miscbitmaps-7.3 X.Org miscellaneous bitmap fonts
xorg-fonts-truetype-7.3 X.Org TrueType fonts
xorg-fonts-type1-7.3 X.Org Type1 fonts
xorg-libraries-7.3_1 X.org libraries meta-port
xorg-protos-7.3 X.org protos meta-port
xorg-server-1.4_4,1 X.Org X server and related programs

Any ideas folks?

Try to erase .vnc and start server again.

I tried that one to no avail.   I just re-built/installed the xfont 
server, and all its dependencies, but this still did not fix the 
problem. portupgrade -fr xfs-1.0.5,1


I feel like ripping out all the ports and starting from scratch, but I 
can't do that as this is a production server :o(


If you are using TightVNC server you may try to install X11VNC and 
forget about TightVNC server and vise verse.  They should not conflict 
each other. You can also try to pkg_delete and to clean configuration 
files and reinstall the VNC server you are using.


I am little bit surprised that you are running X let alone VNC server on 
the production machine.
Are you aware of the fact that you can display programs that run on your 
server on the another machine in X even though X itself doesn't run on 
your server. That can be done via ssh tunel.


Read the page 91 from the book Secure Architectures with OpenBSD.

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


Re: Realtek 8111B LAN Chipset

2008-01-20 Thread Predrag Punosevac

Bruce Evans wrote:

On Sat, 19 Jan 2008, Greg Mars wrote:

I'm buying parts for a computer and want to make sure that the core 
components are as freebsd friendly as possible. So far, I've decided 
on a core 2 quad q6600 and I'm choosing the motherboard now.


Me2 (unless I wait for a newer generation of CPUs).

However it seems many of the popular motherboards have Realtek ALC888 
as built-in audio and Realtek 8111B as built-in LAN.

I read at:

That audio didn't work with 6.2 Release and that LAN controller is very 
problematic. You are better of getting
PCI/LAN on the garage sale. I like DLink and they go for $1 in U. S. and 
will solve your second problem as well.






http://www.freebsd.org/relnotes/CURRENT/hardware/i386/article.html

that the sound should work but I couldn't find any info on the LAN.
Does anyone on the list have any experience with it?

By the way, I'm going to run FreeBSD 7.


I also want a cheap PCI/e NIC that works well with drivers back to
FreeBSD-4 like my plain PCI bge and em NICs do.  I doubt that any
popular motherboard will have anything better than a cheap PCI/e NIC.

Bruce
___
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: Dual Processor?

2008-01-19 Thread Predrag Punosevac

Jonathan Horne wrote:

On Saturday 19 January 2008 10:30:49 am Chris Maness wrote:
  

Is there a way to see if the system is utilizing both processors on a
two processor system?  I seem to remember the top command in Linux
showed the load balance between the two processors (I could be wrong it
has been a while since I used it).  Is there some ap that can display
these kinds of statistics?

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



its still top, it just doesnt display the same way it does in linux.  look for 
a column C:


 PID USERNAMETHR PRI NICE   SIZERES STATE  C   TIME   WCPU COMMAND
 2211 jhorne1  960   125M 50892K CPU1   0  18.9H  4.59% Xorg
35271 jhorne1  960   107M 88500K select 1  20:03  0.44% opera
 2301 jhorne1  960 81652K 50320K select 0 100:57  0.20% kstars

the C column tells you what processor the thread is using.

cheers,
  

systat

[pedja@ /usr/home/Pedja]$ systat

   /0   /1   /2   /3   /4   /5   /6   /7   /8   /9   /10
Load Average  


   /0%  /10  /20  /30  /40  /50  /60  /70  /80  /90  /100
root idle: cpu0 X
root idle: cpu1 X


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


Re: X -configure fails on 6.3-Release

2008-01-19 Thread Predrag Punosevac

Jim Guojun [VFFS] wrote:
After installed FreeBSD 6.3 on two machines, and X server cannot be 
started somehow on either one.


Both X -configure and X -probeonly failed and errors are in 
attached file -- Xerr.

Also, Xorg.o.log is attached.



(EE) Failed to load module ati (module does not exist, 0)
(EE) Failed to load module fbdev (module does not exist, 0)
(EE) Failed to load module vesa (module does not exist, 0)
(EE) Failed to load module vga (module does not exist, 0)
(EE) Failed to load module mouse (module does not exist, 0)
(EE) Failed to load module kbd (module does not exist, 0)
(EE) No drivers available.


How did you add Xorg? It looks like you are completely missing drivers. 
Did you reboot the computers after the XOrg was added.


Look also Xorg.0.log file

(II) Bus 6 non-prefetchable memory range:
   [0] -100xc020 - 0xc02f (0x10) MX[B]
(--) PCI:*(1:5:0) ATI Technologies Inc Radeon XPRESS 200M 5955 (PCIE) 
rev 0, Mem @ 0xc800/27, 0xc010/16, I/O @ 0x9000/8

Missing output drivers.  Configuration failed.

It is complaining that the drivers are missing.
Try fresh installation and try to do installation without X and then add 
Xorg as

pkg_add -r . Reboot and then try
Xorg -configure to create the initial xorg.conf.new file

Then probe with

X -config /root/xorg.conf.new (use complete path even if you are in root 
directory)


Then if the server gets fired

cp /root/xorg.conf.new /etc/X11/xorg.conf

As far as I see you are just missing drivers there are no other problems 
like the one with resolution or default depth


Good Luck
OKO




Both machines run FreeBSD 6.2 and X works fine.
I search wiki.x.org and freebsd list, but did not see any information 
related to this problem.


Can someone tell me what is going wrong on my installation or X 
configuration?


Thanks,
-Jin



___
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: ps2pdf problem

2008-01-13 Thread Predrag Punosevac

John Levine wrote:
However, when I pass the .ps file through the ghostcript with ps2pdf 
slides gets trimmed.


Is there some more advanced option for ps2pdfwr which will enable
me to conserve the proper width  of  slides?



It sounds like your pages are formatted as landscape and are being
translated as portrait.  See http://ghostscript.com/doc/current/Ps2pdf.htm

There are also options for larger page size which might be what you want.
  

It is well-documented bug. http://tug.org/texlive/bugs.html
But patch didn't fix problems for me:-( I will have to investigate more.

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


Re: ps2pdf problem

2008-01-13 Thread Predrag Punosevac

Wojciech Puchar wrote:

For those unfamiliar with the package one needs to go through

.tex -- .dvi -- .ps -- .pdf

for graphics to display properly (pdflatex is not an option nor it is 
dvipdfm)


are you sure about .ps stage? there is pdflatex, makes perfect pdfs
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
Yes, I am sure:-). Powerdot class of presentations is designed to use PS 
tricks and can not be compiled with pdflatex or should I say you can 
compile but you will lose most of graphics and colors.


If you want to try let me know of the mailing list and I will send you a 
file for you to try. By the way powerdot class is not included in the 
standard teTeX distribution and has never been ported to FreeBSD. That 
is way, I use TeXLive. On the same note teTeX port of FreeBSD doesn't 
contain the fonts necessary for building the package from the 
source(which is trivial), actually even worse it contains the older 
version of fonts with lots of dependencies. teTeX is dead and the 
efforts of the community should be directed towards porting TeXLive to 
FreeBSD.


Best,
Predrag Punosevac


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


ps2pdf problem

2008-01-12 Thread Predrag Punosevac

Dear All,
I was wondering if you could give me little help with Ghostscript.
I am using powerdot package to create presentation slides.
For those unfamiliar with the package one needs to go through

.tex -- .dvi -- .ps -- .pdf

for graphics to display properly (pdflatex is not an option nor it is 
dvipdfm)

Latex (actually TeXLive) and dvips do their job properly and I am getting
beautiful landscape slides (.ps).
However, when I pass the .ps file through the ghostcript with ps2pdf 
slides gets trimmed.


Is there some more advanced option for ps2pdfwr which will enable
me to conserve the proper width  of  slides?

Giving the presentation in .ps format is not an option since interactive 
links on slides are active only if the slides are in .pdf format.


GSview (Ghostscript) for Windows has capability to act as ps2pdf filter 
and does the job correctly but  I am  stamped by the fact that GV nor gs 
nor ghostview have similar capabilities. I read carefully man pages for 
ps2pdf and ps2pdfwr but I am not getting anywhere.

I am sure that I am not the only one who is using LaTeX for presentations
(with the landscape layout). What are other people experiences with the
slides and the Ghostscript.


Best,
Predrag

P. S. I am aware of Beamer, Prosper, and ppower4. None of these classes 
comes even close to the perfect layout, capability, and simplicity of 
the Powerdot class so I really want to resolve the problem.





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


Re: configure printers

2008-01-10 Thread Predrag Punosevac

Bob Falanga wrote:

I would like to configure a HP laserjet 1018 USB on freebsd. So far I have
had no luck. During the boot cycle I can see the Laserjet 1018 listed as a
peripheral (ulpt0 HP LaserJet 1018 address 3 rev 9.00/1.00 iclass 7/1 using
bi directional niods). when I go to settings in the pop-down menu then to
printers, change to administrator, freebsd doesn't show any printers
connected to the computer.

HELP

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

Which spooling do you use? LPD, LPRng, or CUPS.
Did you start daemons correctly?
Did you change permission on device nodes so that daemons can access the 
printer?

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


Re: SATA DVD Drive Install Problem

2008-01-09 Thread Predrag Punosevac

Sean Murphy wrote:

Is anyone successful in installing FreeBSD from a SATA DVD Drive?

I am having trouble as it boots from the CD of 6.3 RC2 but at the 
beginning of the install it fails.  The CD I then tried in another 
computer and it installs fine.  I was wondering if it was the SATA DVD 
drive or the motherboard.


Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
SATA DVD is not officially supported although there are some reports of 
the successful use.

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


Re: DYNDNS server (NOT CLIENT)

2008-01-09 Thread Predrag Punosevac

Lou Katz wrote:

I want to set up a DYNDNS SERVER and run one myself for the folks I already 
provide
Name Service for. Are there any pointers on how to do this?
  

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-virtual-hosts.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: port collection RELEASE6.2 lost after reinstall with CVSUP

2008-01-06 Thread Predrag Punosevac

Erik Trulsson wrote:

On Sun, Jan 06, 2008 at 02:10:59PM +0100, Walter Jansen wrote:
  

Hi

 


Upon reading chapters of the Handbook about the Ports collection and CVSup,
I wanted to CVSup the ports collection for the RELEASE  6.2. Stupidly using
the wrong tag (tag=.), I erroneously but successfully installed the CURRENT
version. I could have used SYSINSTALL for the RELEASE 6.2 ports, but for the
sake of learning and training myself I did not.

 

Problem: 


  - I ran CVSup again with the correct tag but though everything in the
process looked normal, the map usr/ports remains empty and nor with whereis
nor with pkg_xxx any information about ports can be found. 

Questions: 

  - What did I do wrong in the process?.  




You used the wrong tag.

If you want the exact version of the ports tree that shipped with 6.2 the
correct tag to use is RELEASE_6_2_0.  RELENG_6_2_0_RELEASE is the tag
used for the base system corresponding to 6.2-RELEASE.


  

  - Is cvsup for installation of RELEASE 6.2 ports collection a bad idea
anyway (technically) ?  



If you actually want the ports tree as it was when 6.2-RELEASE was made,
then it is not a bad idea.  Most of the time one would like a more updated
version of the ports tree though.



  
 


Proces:

- I use the recently installed cvsup-without-gui, installed from ports 


- I deleted all entries and maps in/under /usr/ports (as recommended in the
Handbook) 

 


- I modified the ports-supfile in usr/share/examples/cvsup and copied it to
portswj-supfile  in the same map (not good practice I know now)

The settings in the -supfile where:

  *default host=cvsup15.FreeBSD.org  


  *default base=/var/db

  *default prefix=/usr

  *default release=cvs tag=RELENG_6_2_0_RELEASE   (the handbook suggests
that this is a valid tag for ports)



I doubt the handbook suggests that.  If it does it is wrong.

  

  *default delete use-rel-suffix   (I could not find a meaning for this in
the books, anyone can tell me please?)



Read the cvsup(1) manpage.

  

  *default compress

  ports-all

 


- I ran:  cvsup -L 2 /usr/share/examples/cvsup/portswj-supfile

The conversation looked OK, no error messages but also no scrolling list of
files

There is a logfile in  /var/db/sup ports-all, something like
n.cvs:RELENG_6_2_0_RELEASE. It shows a list of all the elements of the
ports collection that looks normal and every record shows also
RELENG_6_2_0_RELEASE.

 




  



One idiotic question on the top of his troubles.

According to the disclaimer posted on the ports web-site. The ports tree 
supports only Stable and Current version of the OS.


Since Release is sort of more stable than the Stable I wonder if there 
is a frozen ports three with frozen packages for 6.2 release?


Personally, I was always following stable branch which is moving target 
as you know. One needs to portsnap fetch and update ports three

before every build up and also portupgrade has to be done fairly regularly.
Personally, I could not care less for the newest versions of the 
programs as long as the old one are stable so for me staying with 
release would be perfectly OK.




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


Re: oss port

2008-01-05 Thread Predrag Punosevac

Kris Kennaway wrote:

aJTiM wrote:

Hi!

I like to install port oss on FreeBSD 7 beta4 and I got an error:

make
= oss-v4.0-build1012-src-bsd.tar.bz2 doesn't seem to exist in 
/usr/ports/distfiles/.
= Attempting to fetch from 
http://www.opensound.com/developer/sources/stable/bsd/.
fetch: 
http://www.opensound.com/developer/sources/stable/bsd/oss-v4.0-build1012-src-bsd.tar.bz2: 
size mismatch: expected 1273559, actual 1258967
= Attempting to fetch from 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch: 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/oss-v4.0-build1012-src-bsd.tar.bz2: 
File unavailable (e.g., file not found, no access)

= Couldn't fetch it - please try to retrieve this
= port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

Stop in /usr/ports/audio/oss.

Thanks in advance.

Mitja


Talk to the maintainer, it looks like the distfile was changed by the 
vendor so the port will need to be adapted to fix it.


Kris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
You can get the package directly from the Open Sound System web site and 
simply add with the command pkg_add name.of.the.package.
In that case you do not need to oss_enable=YES in your /etc/rc.conf. 
It is enough that you just reboot computer so that OSS pick up the devices.


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


FreeBSD 7.0 ISO disk3 question

2008-01-02 Thread Predrag Punosevac

Dear All,
I noticed that 7.0 and 6.3 release candidates consist of three iso 
images. What is the content of the ISO disc3. (Additional language 
support or additional packages or something else?)


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


FreeBSD 7.0 ISO disc3 question

2008-01-02 Thread Predrag Punosevac

Dear All,
I noticed that 7.0 and 6.3 release candidates consist of three iso 
images. What is the content of the ISO disc3. (Additional language 
support or additional packages or something else?)


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


Re: FreeBSD 7.0 ISO disc3 question

2008-01-02 Thread Predrag Punosevac

Manolis Kiagias wrote:



Predrag Punosevac wrote:

Dear All,
I noticed that 7.0 and 6.3 release candidates consist of three iso 
images. What is the content of the ISO disc3. (Additional language 
support or additional packages or something else?)


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





The third disk contains packages.
By the way, this page:

http://www.pa.msu.edu/~tigner/bsddvd.html

describes an easy way to create a complete DVD from the CDs to avoid 
disk swapping (assuming you will install packages from the disks)
A FreeBSD machine is used to create the DVD, but the procedure can be 
easily adjusted for Linux. Needs only a minor tweak to accommodate for 
disc3.


Thanks a lot for the info and the link. I will use FreeBSD machine to 
create a DVD. No Linux around here :-)

Best,
Predrag

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


Re: Problems with OpenOffice 2.3.1 on FreeBSD

2008-01-01 Thread Predrag Punosevac

Philipp Ost wrote:

O. Hartmann wrote:
[...]
Whenever I try to save a document in OO writer, OO gets stuck and I 
have to kill it. The document gets saved, but I never can load it 
again without rendering OO unusuable. Opening M$ Word docs or OO docs 
doesn't matter.


I have similar problems with OpenOffice 2.3.1 on FreeBSD/i386 (I'm 
running 7.0-PRE as of Dec 23). It's possible to save documents but 
exiting OOo hangs and I need to kill it. Firing up OOo once again, 
there's this recovery stuff which hangs also and eats up CPU time. 
Only way out: kill -9 $PID
Opening a document via 'File - Open - ...' hangs also. .odt or .doc 
doesn't matter.



Any ideas? This is a serious situation to me, due to the need of a 
properly working OO :-(


No, perhaps using an other word processor (AbiWord, StarOffice). Or 
going back to OOo 2.3.0...



Regards,
Philipp
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
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]
I am not an OpenOffice user but my 2c about the topic  as  the problem I 
think underline more serous issue.


The question is why is OpenOffice 2.3.1 included in the ports three so 
quickly without making sure that things work properly.
BSD systems are genuinely known for their stability and code correctness 
which is why most people decided to use them on the first place.
Rushing to include new software in the ports three without proper 
testing is seriously going to damage  usability of the whole OS.
In my understanding ports tree is supporting stable and the current 
brunch. I am of the opinion  that  the ports  three  of the  stable  
branch  should not include  nothing but  the rock  solid and tested  
software.  The  easiest  way for me to  check if the port is bleeding 
edge that  is to  try to install the same  software  using binaries. 
(pkg_add -r) If the binaries do not exist or if the version installed 
from binaries is older that clearly indicates that the port version is 
too new to be trusted.


I personally found out that Xfce4-panel is not compiling properly on 
stable and also Orage (calendar for Xfce) While
problems with Xfce4-panel  are not as serious as with Orage (which is 
not usable in any shape or form on FreeBSD) they are still serious.

The same packages work flawlessly on the OpenBSD.


Happy New Year to Everybody

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


Re: Problems with OpenOffice 2.3.1 on FreeBSD

2008-01-01 Thread Predrag Punosevac

Robert Huff wrote:

Philipp Ost writes:

  
  Any ideas? This is a serious situation to me, due to the need of a 
  properly working OO :-(
 
 No, perhaps using an other word processor (AbiWord, StarOffice). Or 
 going back to OOo 2.3.0...



This has been discussed within the last two weeks on the
openoffice@ list.  A message from Peter Jeremy on December 14
contains both information about the cause and a patch.


Robert Huff
___
  
I am not an OpenOffice user but my 2c about the topic  as  the problem I 
think underline more serous issue.


The question is why is OpenOffice 2.3.1 included in the ports three so 
quickly without making sure that things work properly.
BSD systems are genuinely known for their stability and code correctness 
which is why most people decided to use them on the first place.
Rushing to include new software in the ports three without proper 
testing is seriously going to damage  usability of the whole OS.
In my understanding ports tree is supporting stable and the current 
brunch. I am of the opinion  that  the ports  three  of the  stable  
branch  should not include  nothing but  the rock  solid and tested  
software.  The  easiest  way for me to  check if the port is bleeding 
edge that  is to  try to install the same  software  using binaries. 
(pkg_add -r) If the binaries do not exist or if the version installed 
from binaries is older that clearly indicates that the port version is 
too new to be trusted.


I personally found out that Xfce4-panel is not compiling properly on 
stable and also Orage (calendar for Xfce) While
problems with Xfce4-panel  are not as serious as with Orage (which is 
not usable in any shape or form on FreeBSD) they are still serious.

The same packages work flawlessly on the OpenBSD.


Happy New Year to Everybody

Predrag





[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
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: what is /dev/xpt0/

2007-12-13 Thread Predrag Punosevac

Gary Kline wrote:

this  probably is irrelevant to 90% of the list, but it's got me
wondering. can anybody 'splain what kind of SCSI device xpt0 is?
Is there a /dev/xpt1 if you're running a second optical drive/
thanks,

gary


  

man xpt


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


Re: How to configure FreeBSD machine as a bridged router?

2007-12-13 Thread Predrag Punosevac

Jake Conk wrote:

Hello,

I have 2 nic cards in my machine and I want to place this machine 
between my internet connection and my router without it looking like 
another router between the 2 networks (internet  and my network). I 
want to connect the internet line in the first nic card and the line 
to my network in the second nic card as if it were a 1 port router in 
bridge mode that has 1 line with the internet and the second line that 
goes to my network. Is a setup like this possible with FreeBSD?


The reason why I'm asking is because I want to configure this machine 
with the net.inet.tcp.inflight options and see if it boosts up data 
transfer speeds without changing my network configuration, just adding 
this device in front of it.


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

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


Re: Realtek ALC262 and Via ENVY24 sound cards for rel. 6.2

2007-12-12 Thread Predrag Punosevac

Lee Shackelford wrote:

Good afternoon, FreeBSD enthusiasts.  For FreeBSD release 6.2, does anyone
know if there is any simpler way of using sound cards containing either a
Realtek ALC262 chip or a Via ENVY24 chip than installing the Linux
emulator, and then using the alsa a.p.i.?  Many thanks.  Yours truly, L e e
_ S h a c k e l f o r d @ d o t . c a . g o v

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  
Did you try to compile Open Sound System from ports? I have some Realtek 
crap and it worked only with OSS. I think that many more devices are 
supported in 7.0 so you might want to upgrade the system. Check the 
hardware notes.
For the list of supported devices by OSS you can check Open Sound 
System web-site.
They also have a binary package that you can install with pkg_add 
utility. Package is sometimes updated before the port!

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


Re: internet/p2p TV

2007-12-09 Thread Predrag Punosevac

Tsu-Fan Cheng wrote:

Hi,
   I like to watch some TV over the internet, on windows, there are
ppstream, pplive, etc. and there are a couple running on linux. I
wonder which linux app works on freebsd, thank you!!

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

tunapie and miro (still not in ports but look the mail archive )
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: copying DVD material :: somewhat OT.

2007-12-09 Thread Predrag Punosevac

neal wrote:

On Saturday 08 December 2007, Predrag Punosevac wrote:
  

I wrote K3b how to
http://www.bsd-srbija.org/dokumentacija/doku.php/rezanje_
cd_i_dvd_diskova_pomo%C4%87u_k3b but you will need little
bit of Serbian language to read it.

Actually probably you could follow article even if you do
not speak Serbian as the language is generic and there
are only three important steps you need to do.

Step 1 Editing your /boot/loader.conf file with

atapicam_load=YES
hw.ata.ata_dma=1
hw.ata.atapi_dma=1

since FreeBSD is using atapicam device to write DVD


Step 2 Edit your /etc/devfs.conf with various permission.
Most of those are needed for a work station anyway

perm  /dev/acd0   0666
perm  /dev/cd00666

# Commonly used by many ports
   
link  cd0 cdrom

link  cd0  dvd
link  cd0  rdvd

link  acd0 cdrom
link  acd0 dvd
link  acd0 rdvd

# Misc other devices

permcdrom   0666
permdvd 0666
permrdvd0666
permxpt00666
permpass0   0666


Step 3 Edit your /etc/fstab file if you want to use K3b
as a normal user since the disk has to be mounted on the
mount point which belong to you


[pedja@ /usr/home/Pedja]$ more /etc/fstab
#These are my options
/dev/cd0 /usr/home/Pedja/mnt/cdrom cd9660   rw,
noauto  0   0 /dev/acd0  
 /usr/home/Pedja/mnt/cdrom cd9660   rw, noauto  0
  0




You do not need HAL for things to work but is not going
to heart.


Also read

make showinfo /usr/ports/sysutils/k3b

Best,
Predrag



Thanks for posting this Predrag.

I have had unsolvable (so far) problems with playing both 
dvd movies and cd audio. MPlayer will play VOBs but no 
menus, no navigation which can make watching pretty much 
impossible sometimes. 

I had actually given up on trying to get these two features 
to work and have installed a new linux (to me), Kubuntu. On 
this platform, there are no problems with DVD movies, audio 
cd, streamed audio, even flash. I can watch youtube too. 
This has not been the case on FreeBSD. I have tried 
installing FreeBSD 6.2 via three different versions, 
FreeBSD, DesktopBSD and PCBSD, and asked questions on their 
mailing lists. 

  

My Dear Friend,

You will have to wait for a very long time then since all of the above 
except Flash (which Adobe does release for Linux but not for FreeBSD) 
works flawlessly on FreeBSD including watching YouTube (just use 
youtube-dl to snap the video and play with VLC). There are even 
alternative solutions for the Flash unless you want to play video games 
full of Flash!


The only reason they didn't work for you is that you didn't know how to 
set up those features.


Never the less if you fell more comfortably with Kubuntu stick with it. 
FreeBSD is not platform for everything and everyone.
Personally, I find myself using more and more OpenBSD. So you have to 
use OS you are comfortable with and has a features you most desire (in 
my case enhanced security).


Best,
Predrag







But I do like many things about BSD and would like to be 
able to move to it completely when I can have these 
features working correctly, so I will try your suggestions 
above and see what happens.


neal.
___
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: copying DVD material :: somewhat OT.

2007-12-09 Thread Predrag Punosevac

Chris Whitehouse wrote:

Predrag Punosevac wrote:


My Dear Friend,

You will have to wait for a very long time then since all of the 
above except Flash (which Adobe does release for Linux but not for 
FreeBSD) works flawlessly on FreeBSD including watching YouTube (just 
use youtube-dl to snap the video and play with VLC). There are even 
alternative solutions for the Flash unless you want to play video 
games full of Flash!


I tried youtube-dl but every url I tried gave
youtube-dl: No match.

eg

%youtube-dl http://youtube.com/watch?v=gpIM3nBR2ZA
youtube-dl: No match.

I even installed the latest version.

Do only certain videos work? Do you have an example that works?

Any video posted on Youtube will work for youtube-dl . It will snap the 
file in .flv format which can be player only with VLC and MPlayer. 
Nothing else. Clive is capable of snapping videos from Google video as 
well and has an additional capabilities to converting

.flv files to more friendly video formats like .MPG

So what do you think? That I can not watch YouTube because I use 
FreeBSD? Funny...


There are at least 4 other way to watch videos on YouTube on FreeBSD 
running machine. The one I proposed is the simplest.



Thanks and apologies for hijacking your thread.

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: Scanner Compatibility

2007-12-08 Thread Predrag Punosevac

Michaël Grünewald wrote:

Predrag Punosevac [EMAIL PROTECTED] writes:

  

I use Epson Perfection 1670 and it works like a charm. Unfortunately
it does require binary blob which might be something you want to
avoid.



What is that binary blob stuff? Do you mean by this a binary image
that should be loaded in kernel --- after being correctly wrapped just
like some wifi card drivers? If this is the case, there is no chance
to make the blob work under amd64, is there?

  

Ok,
Let me clarify firstly some things. Firmware is a binary file which you 
extract in this case from the M$ .cab  file supplied to you by
scanner manufacturer. You place this file on proper file 
/usr/local/share/sane/snapscan. (So it is different than a kernel module 
for Wi drivers that you kldload into your kernel) I have never bothered 
to understand scanning as much as I tried to understand Unix printing 
but I believe that this file is used by sane to speak proprietary 
language of your particular scanner. In essence your scanner uses this 
file to explain the Sane the page layout and graphics. So it is not a 
driver! I am not sure if there is such thing as Command  Scanner 
Language (you are probably familiar with Command Printer Language) and 
something equivalent to Postscript language in world of printers.



Anyhow, if you are serious about security you should never use any type 
of binaries supported by hardware vendors. (I sound if I have been using 
too much OpenBSD lately :-) )


I see no reason why should sane-backhands work any different on amd64. 
On another hand if you are using amd64 that tells me that you are 
running serious production servers so why would you want to attach a 
scanner to  such  machine is not really clear to me.
You may attach a scanner to a workstation running i386 and possibly make 
scanning available  on the local network but never to serious production 
server.





If you need step by step instructions how to install scanner you
might contact me via private mail.



I am very interested in this kind of technical information, since I do
foreplan to buy a scanner. If you really think[1] this discussion would
be a nuisance for the list, would you be kind enough to CC me?

[1] One can consider that even if the discussion topic does not hit
most of its members, it can be useful to contribute here these
technical details because they will be archived and could then be
referenced in future discussions, searched, etc.
  
As I said before the handbook is excellent but here is my quick and 
dirty step by step how to for scanners.



For the purposes of this how to I will assume that your scanner is 
attached via USB to your workstation. (You can read the handbook about 
SCSI scanners)



Step 1  Make sure  your  kernel  contains  the  following (Generic 
Kernel will contain it!!!)


device usb
device uhci
device ohci
device uscanner

Step 2 Edit /etc/devfs.conf with the permissions

perm ugen* 0666
perm uscanner* 0666

This is of course huge security risk and there are much better ways to 
give access to sane-backhands and common users to device nodes.




Step 3 Reboot the computer

Step 4 Type $ scanimage -L as a common user to get a list of detected 
scanners. You should get something as


[pedja@ /usr/home/Pedja]$ scanimage -L
device `snapscan:/dev/uscanner0' is a EPSON EPSON Scanner flatbed scanner


Step 5 Type $ scanimage -T as a common user to test the installation. 
You should get something like this if your

scanner does not need binary blob.

[pedja@ /usr/home/Pedja]$ scanimage -T
scanimage: scanning image of size 2552x3507 pixels at 24 bits/pixel
scanimage: acquiring RGB frame, 8 bits/sample
scanimage: reading one scanline, 7656 bytes...  PASS
scanimage: reading one byte...  PASS
scanimage: stepped read, 2 bytes... PASS
scanimage: stepped read, 4 bytes... PASS
scanimage: stepped read, 8 bytes... PASS
scanimage: stepped read, 16 bytes...PASS
scanimage: stepped read, 32 bytes...PASS
scanimage: stepped read, 64 bytes...PASS
scanimage: stepped read, 128 bytes...   PASS
scanimage: stepped read, 256 bytes...   PASS
scanimage: stepped read, 512 bytes...   PASS
scanimage: stepped read, 1024 bytes...  PASS
scanimage: stepped read, 2048 bytes...  PASS
scanimage: stepped read, 4096 bytes...  PASS
scanimage: stepped read, 8192 bytes...  PASS
scanimage: stepped read, 8191 bytes...  PASS
scanimage: stepped read, 4095 bytes...  PASS
scanimage: stepped read, 2047 bytes...  PASS
scanimage: stepped read, 1023 bytes...  PASS
scanimage: stepped read, 511 bytes...   PASS
scanimage: stepped read, 255 bytes...   PASS
scanimage: stepped read, 127 bytes...   PASS
scanimage: stepped read, 63 bytes...PASS
scanimage: stepped read, 31 bytes...PASS
scanimage: stepped read, 15 bytes...PASS
scanimage: stepped read, 7 bytes... PASS
scanimage: stepped read, 3 bytes... PASS


Note: All of the above is very well explained in man scanimage


Step 6 Read

Re: Scanner Compatibility

2007-12-08 Thread Predrag Punosevac

Michaël Grünewald wrote:

Predrag Punosevac [EMAIL PROTECTED] writes:

  

Let me clarify firstly some things.



Thank you very much for this very detailed answer, it's very nice
from you!

  [SNIP]

  

In essence your scanner uses this file to explain the Sane the page
layout and graphics. So it is not a driver!



If I do understand, this seems a close analogue of PPL files in the
printing world, right?

[SNAP]
  



You meant PPD files? (Of course there is subtitle difference between 
CUPS-PPD files and generic PPD files used by LPD).
My hunch is yes but I have not read enough documentation to say yes or 
no. I would really like to hear from some Sane developers or

IT professional who works on scanners who will give us more explanation.
So far my understanding is following. The kernel recognizes your 
scanning device using the  uscanner0 driver and usb daemon as it is 
attached to USB.
Sane-backhands and Sane-fronthands is a collection of drivers that speak 
scanner language. As a mater of fact it used to be that you need one 
driver per application  per scanner (like printing in old times) but I 
think that one of chef achievements of Sane project is to automatize 
writing drivers so that you need to write one driver per application and 
then hack it to work on all supported scanners.  Firmware is dictionary 
which teach sane backhand to speak proprietary language of a particular 
scanner. So it is  something like this
  
scanner--- uscanner0sane-backhands Xsane

 ^
  |
   firmware

  

I see no reason why should sane-backhands work any different on
amd64.



Now you made clear that these binary blobs consist of data (and not
of a cpu program), I do not see either. I will soon be able to tell :)

  
Does the generic kernel on for amd64 contains the same drivers as for 
i386? Also kernel driver like uscanner and  even  usb daemon  might
be on the different level of the development than in i386 as they really 
need to interact to  different amd64 kernel.

A kernel developer could easily clarify this for us.



On another hand if you are using amd64 that tells me that you
are running serious production servers so why would you want to attach
a scanner to  such  machine is not really clear to me.



In fact, I have no serious reason to run amd64 since I use my amd64
computer as a ``user workstation'' and the main benefit from running
amd64 is to manage huge amounts of RAM --- as far as I can tell from
the various docs I have read. My reasons to run amd64 are mainly geeky
or childish :)

  
I hope you do not have 32 Gb of RAM as my neighbor who is a gamer  and 
passionately in love with
Windows Vista:-) On another hand those gamers are the reason that I can 
go to junk yard and get a

PIII with 512 Mb of RAM and 10Gb Hard-drive for $5. I am a happy camper!


As I said before the handbook is excellent but here is my quick and
dirty step by step how to for scanners.



[SNIP]

Thanks a lot for this con tribution,
  
I realized that Handbook article about scanner could be appended but 
there are people on this mailing lists who are qualified to do so

unlike me.

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


SANE Network Daemon question

2007-12-08 Thread Predrag Punosevac
I was just looking at the documentation on SANE web-site about network 
scanning

and I noticed that /etc/services on my i386 does not include line like

sane-port  6566/tcp  # SANE network scanner daemon

which is used by saned (Sane Network Daemon to enable scanning over the 
network).
The /etc/inetd.conf file is also missing line (of course should be 
commented by default)


sane-port  stream  tcp  nowait  saned.saned  /usr/local/sbin/saned saned

The handbook is  also  mute  about  the  scanning over the network.

Is anybody using scanners on the network on FreeBSD? Handbook article 
should also be appended.
I might try to play with it and see how it goes. I could contribute the 
documentation if the community has interest in it.


Best,
Predrag

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


LPRng question and printing in general

2007-12-08 Thread Predrag Punosevac
I would like to ask people who use  LPRng spooling system on FreeBSD to 
clarify something for me.


I have been playing with all available spooling systems on FreeBSD (LPD, 
LPRng,  CUPS , PDQ) as well as HPLIP in order to document

their behavior and write simple howtos for each of the systems.

However I kept getting into the trouble with LPRng. Namely, I could not 
get past the following message


[EMAIL PROTECTED] -cannot open connection - No such file or directory
Make sure the remote host supports the LPD protocol

Is that the famous conflict with the native LPD supporting RFC1179 
printing. How do people resolve this conflict in practice?




I also noticed that PDQ project is completely abandoned by its creator. 
Also LPRng was  abandoned by its creator in 2005 and then picked by
somebody else. I wander what is the state of ifhp filter which is used 
by default by LPRng. As it is a hardware based project and there are so
many printers that were manufactured in the mean time I wander if the 
system is still usable in real life.



Is FreeBSD printing essentially reduced to LPD+apsfilter for small to 
medium print networks and CUPS for  very complex  printing  networks  
or  LPRng  is alive and well.



I tried to get into LPRng mailing lists but they seems are not active 
any more.



Best,
Predrag




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


Re: copying DVD material :: somewhat OT.

2007-12-08 Thread Predrag Punosevac

Gary Kline wrote:

Folks,

IFF k3b works, and I think it might, I'll put up a howto
on  my bsd virtual site.   Make this domain more useful.
The help from this group has been outstanding, but getting things
CD and DVD actually working has been a study in persseverancce.

That said,  first,if there is a website for total dweebs, please
	post it; or send it privately.  I just bought some Memorex 
	DVD+RW ; I want to record a 117 minute commercial DVD.

On the back on the DVDs is says these are only good for 60 minutes
in great qualty; it is good up to 120 minutes, and so on.
Nutshell: how good will k3b and my Pioneer burner do on dubbing
	this professioally recorded disc?  Also, Does thw RW mean tthat 
	I can re-tape over this with another edu DVD?


gary

PS:  I much prefer analogue cassettes; I've been taping stuff
 since I taped American Bandstand off the TV :-)




  
I wrote K3b how to 
http://www.bsd-srbija.org/dokumentacija/doku.php/rezanje_cd_i_dvd_diskova_pomo%C4%87u_k3b

but you will need little bit of Serbian language to read it.

Actually probably you could follow article even if you do not speak 
Serbian as the language is generic and there are only three important 
steps you need to do.


Step 1 Editing your /boot/loader.conf file with

atapicam_load=YES
hw.ata.ata_dma=1
hw.ata.atapi_dma=1

since FreeBSD is using atapicam device to write DVD


Step 2 Edit your /etc/devfs.conf with various permission. Most of those 
are needed for a work station anyway


perm  /dev/acd0   0666
perm  /dev/cd00666

# Commonly used by many ports
  
link  cd0 cdrom

link  cd0  dvd
link  cd0  rdvd

link  acd0 cdrom
link  acd0 dvd
link  acd0 rdvd

# Misc other devices

permcdrom   0666
permdvd 0666
permrdvd0666
permxpt00666
permpass0   0666


Step 3 Edit your /etc/fstab file if you want to use K3b as a normal user 
since the disk has to be mounted on the mount point which belong to you



[pedja@ /usr/home/Pedja]$ more /etc/fstab
#These are my options
/dev/cd0 /usr/home/Pedja/mnt/cdrom cd9660   rw, noauto  0   0
/dev/acd0/usr/home/Pedja/mnt/cdrom cd9660   rw, noauto  0   0



You do not need HAL for things to work but is not going to heart.


Also read

make showinfo /usr/ports/sysutils/k3b

Best,
Predrag





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


Re: SANE Network Daemon question

2007-12-08 Thread Predrag Punosevac

Pollywog wrote:

On Saturday 08 December 2007 20:39:06 Predrag Punosevac wrote:
  

I was just looking at the documentation on SANE web-site about network
scanning
and I noticed that /etc/services on my i386 does not include line like

sane-port  6566/tcp  # SANE network scanner daemon

which is used by saned (Sane Network Daemon to enable scanning over the
network).
The /etc/inetd.conf file is also missing line (of course should be
commented by default)

sane-port  stream  tcp  nowait  saned.saned  /usr/local/sbin/saned saned

The handbook is  also  mute  about  the  scanning over the network.

Is anybody using scanners on the network on FreeBSD? Handbook article
should also be appended.
I might try to play with it and see how it goes. I could contribute the
documentation if the community has interest in it.




I wanted to do this but I could not find a package for it.  In Linux, I use 
sane-utils to do this.
  


Saned (Sane Daemon)  is included in the standard distribution of 
sane-backhands. I checked sane-utils on the Debian web-site and seems it 
is just idiotic GUI.


I have to go very carefully through sane documentation and all files 
that come with the sane-backhands.
My hunch would be that one needs to do at least following steps  for  
network scanning.



For the purposes of this example I will assume that scanner already 
works properly on a machine which we will refer as server.
Our goal is to make this scanner usable to other machines which we call 
clients on our local network. The following scenario looks likely. We 
have a small computer lab of 10 machines running FreeBSD, 2 printers and 
a scanner. We want people who use these work stations to be able to use 
any of these two printers and the scanner regardless of the fact if the 
printer or a scanner is physically attached to

a particular workstation.


Step 1 Edit /etc/services with (probably both on server and on the 
client machine)


sane-port  6566/tcp  # SANE network scanner daemon

Step 2 Edit /etc/inetd.conf as(on the server and on the client 
machine) 


sane-port  stream  tcp  nowait  saned.saned  /usr/local/sbin/saned saned


Step 3 Edit /etc/rc.conf with (on the server and on the client machine)

inetd_enable=YES
saned_enable=YES 



Step 4 One probably also needs to edit /etc/hosts to add the host server 
to which sane is attached. (this is probably only on the client machine)


Step 5 Edit file /usr/local/etc/sane.d/net.conf which as default looks like

# This is the net config file.  Each line names a host to attach to.
# If you list localhost then your backends can be accessed either
# directly or through the net backend.  Going through the net backend
# may be necessary to access devices that need special privileges.
# localhost

on the client side. Maybe on the server side too.


Step 6 Edit file /usr/local/etc/sane.d/saned.conf which as default looks 
like


#
# saned.conf
#
# The contents of the saned.conf  file  is  a  list  of  host  names,  IP
# addresses or IP subnets (CIDR notation) that are permitted to use local
# SANE devices. IPv6 addresses must be enclosed in brackets,  and  should
# always  be specified in their compressed form.
#
# The hostname matching is not case-sensitive.
#
#scan-client.somedomain.firm
#192.168.0.1
#192.168.0.1/29
#[2001:7a8:185e::42:12]
#[2001:7a8:185e::42:12]/64
#
# NOTE: /etc/inetd.conf (or /etc/xinetd.conf) and
# /etc/services must also be properly configured to start
# the saned daemon as documented in saned(8), services(4)
# and inetd.conf(4) (or xinetd.conf(5)).

probably both on local and server side.

I probably skipped some steps both on the client and on the server side.

Step 7 Reboot server and clients for daemons to start.

I do not know of the web configuration utility to do this like the one 
for Samba (which also uses inetd) and it will probably  make

system administration just less transparent.


I do not fully understand the security implication of the running 
daemon. It looks to me that the daemon is running around as a supper user

and that might be very serious thing.


Probably above should be tried only behind the PF but how to configure 
the PF so that the daemon is invisible to anybody who is outside of our 
local network? I have more questions at this point than the answers and 
I just thought of this for half an hour.
I will play with my local network after the Christmas holidays and 
report on the results.


Cheers,

Predrag





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: copying DVD material :: somewhat OT.

2007-12-08 Thread Predrag Punosevac

Gary Kline wrote:

On Sat, Dec 08, 2007 at 02:18:25PM -0700, Predrag Punosevac wrote:
  

Gary Kline wrote:


Folks,

IFF k3b works, and I think it might, I'll put up a howto
on  my bsd virtual site.   Make this domain more useful.
The help from this group has been outstanding, but getting things
CD and DVD actually working has been a study in persseverancce.

That said,  first,if there is a website for total dweebs, please
	post it; or send it privately.  I just bought some Memorex 
	DVD+RW ; I want to record a 117 minute commercial DVD.

On the back on the DVDs is says these are only good for 60 minutes
in great qualty; it is good up to 120 minutes, and so on.
Nutshell: how good will k3b and my Pioneer burner do on dubbing
	this professioally recorded disc?  Also, Does thw RW mean tthat 
	I can re-tape over this with another edu DVD?


gary

PS:  I much prefer analogue cassettes; I've been taping stuff
 since I taped American Bandstand off the TV :-)




 
  
I wrote K3b how to 
http://www.bsd-srbija.org/dokumentacija/doku.php/rezanje_cd_i_dvd_diskova_pomo%C4%87u_k3b

but you will need little bit of Serbian language to read it.




Actually, my best friend for  30 years comes from [ what was ]
Yugoslavia; so he could surely help me with the translation.

I think I have the k3b stuff actually workinng.  As of late FFriday
night, k3b ran thru all of its tests.That wasn't my question.
I want to know
	more about what DVD blanks are good,better,best, and whether it is 
	worth wasting a blank DVD in trying to copy a DVD that I borrowed
	from the library.   


I've googled arouund, tryiiing to get some  kind of specs that an
EE can understand ... even if he kknows nothing about figital
	video.   

  
I think that duplicating DVDs works like a charm on FreeBSD but I think 
there is a better software in ports for that of K3b which is
kind a all in one generic GUI application. This is also a useful link   
http://www.dvddemystified.com/dvdfaq.html if you are trying to 
understand DVD business.  There are definitely people on this mailing 
list or on OpenBSD mailing list (I do not remember any more as I am on 
both mailing lists) who have fantastic knowledge of DVD writable medias,

proprietary Video Formats and various issues that come with that including
the issues of regional coding and by that I do not mean just USA vs 
Europe or Asia. Even inside of U. S. where I have being g living for the 
past 12 years there are many different regional formats. I am clueless 
about it.


As a mathematician I  am probably much less capable of understanding DVD 
technical issues than you.


To be perfectly  honest  as a professional mathematician I am very 
concern with the status of TeX port and the fact that two years after
teTeX was abolished by TeX community in favor of TeXLive there are no 
even indication that the TeXLive will be ported to FreeBSD. Even in the 
most crude form (4 packages) as it is done in OpenBSD would be better 
than noting. Of course the Debian way (30 or so packages) would be my 
preferable way as TeXLive is developing really rapidly in some areas.  
My knowledge of porting is unfortunately inadequate to be able to help 
with such a major project.



Cheers,
Predrag







thanks for your email; it was one of the postings that helped me
get atapicam stuff *working*

:-)

gary


  
Actually probably you could follow article even if you do not speak 
Serbian as the language is generic and there are only three important 
steps you need to do.


Step 1 Editing your /boot/loader.conf file with

atapicam_load=YES
hw.ata.ata_dma=1
hw.ata.atapi_dma=1

since FreeBSD is using atapicam device to write DVD


Step 2 Edit your /etc/devfs.conf with various permission. Most of those 
are needed for a work station anyway


perm  /dev/acd0   0666
perm  /dev/cd00666

# Commonly used by many ports
  
link  cd0 cdrom

link  cd0  dvd
link  cd0  rdvd

link  acd0 cdrom
link  acd0 dvd
link  acd0 rdvd

# Misc other devices

permcdrom   0666
permdvd 0666
permrdvd0666
permxpt00666
permpass0   0666


Step 3 Edit your /etc/fstab file if you want to use K3b as a normal user 
since the disk has to be mounted on the mount point which belong to you



[pedja@ /usr/home/Pedja]$ more /etc/fstab
#These are my options
/dev/cd0 /usr/home/Pedja/mnt/cdrom cd9660   rw, noauto  0   0
/dev/acd0/usr/home/Pedja/mnt/cdrom cd9660   rw, noauto  0   0



You do not need HAL for things to work but is not going to heart.


Also read

make showinfo /usr/ports/sysutils/k3b

Best,
Predrag








  


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

Re: SANE Network Daemon question

2007-12-08 Thread Predrag Punosevac

Pollywog wrote:

On Sunday 09 December 2007 02:17:21 Predrag Punosevac wrote:

  

Saned (Sane Daemon)  is included in the standard distribution of
sane-backhands. I checked sane-utils on the Debian web-site and seems it
is just idiotic GUI.




I was using Debian and I now use Ubuntu and FreeBSD.  The sane-utils package 
contains files that I edit in order to have the ability to scan from any 
machine on my LAN that runs Linux.  The files are /etc/sane.d/dll.conf and 
also saned.conf and net.conf in the same directory.
  
Then look the /usr/local/etc/sane.d You already have all files you need 
to have.



Debian is known for fine grinding of packages so I would not be 
surprised that they divided generic sane-backhand package in several part.
That is a very good practice but unfortunately FreeBSD does not have 
that man power and the user base to do the same.


Would you be so kind than to write how to for network scanning. It would 
be very good if you could append Handbook article about scanning. I have 
no clue whom you should contact with the offer to contribute the article 
for Handbook.


Best,
Predrag



___
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: SANE Network Daemon question

2007-12-08 Thread Predrag Punosevac

Pollywog wrote:

On Sunday 09 December 2007 03:26:19 Predrag Punosevac wrote:
  

Pollywog wrote:


On Sunday 09 December 2007 02:17:21 Predrag Punosevac wrote:
  

Saned (Sane Daemon)  is included in the standard distribution of
sane-backhands. I checked sane-utils on the Debian web-site and seems it
is just idiotic GUI.


I was using Debian and I now use Ubuntu and FreeBSD.  The sane-utils
package contains files that I edit in order to have the ability to scan
from any machine on my LAN that runs Linux.  The files are
/etc/sane.d/dll.conf and also saned.conf and net.conf in the same
directory.
  

Then look the /usr/local/etc/sane.d You already have all files you need
to have.


Debian is known for fine grinding of packages so I would not be
surprised that they divided generic sane-backhand package in several part.
That is a very good practice but unfortunately FreeBSD does not have
that man power and the user base to do the same.

Would you be so kind than to write how to for network scanning. It would
be very good if you could append Handbook article about scanning. I have
no clue whom you should contact with the offer to contribute the article
for Handbook.



Since it has been some time since I tried to get HPLIP to work with my 
computer, I am going to attempt it again.  If I am successful, I will post 
something about it.
  


HPLIP works like a charm on FreeBSD 
http://dsteinbrook.googlepages.com/hpliponfreebsd


I thought we were discussing sane-backhands and network scanning.
Best,
Predrag

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


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


Re: help wanted configuring HPLIP

2007-12-07 Thread Predrag Punosevac

Robert Huff wrote:

I've got it installed, see the post-install configuration
message, and have questions about how it will interact with existing
printers.


Robert Huff
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  
You might want to repeat your message as attachments are stripped by the 
FreeBSD mail server.


For generic informatin

http://dsteinbrook.googlepages.com/hpliponfreebsd

Make sure you start HPLIP daemons before the CUPS daemon.  Make  sure  
you understand  the part of the article about the kernel!
ulpt driver must be out of kernel!!! Make sure you add printers using 
http://localhost:631 before you go to HP management program.


Finally, parallel printers are not supported by HPLIP no matter what 
they say. They are only supported if you could attach them directly to 
the local network on the very specific way. Also there is  whole class 
of HP printers that  not supported as they use  very unusual protocol

to communicate with the printer server

Qoute from HPLIP website.

Question: Are drivers available for the Deskjet 710C, 712C, 720C, 722C, 
820Cse, 820Cxi, 1000Cse, 1000Cxi; or LaserJet 1000, 1005, 1020, 3100; or 
Color LaserJet 1500, 2600 printers?


Answer: These are non-standard host based printers. Currently there are 
no plans to support these printers in HPLIP. Ghostscript print filters 
for the Deskjet products can be found at the pnm2ppa project.




These printers are supported with 
http://www.freebsd.org/cgi/url.cgi?ports/print/foo2zjs/pkg-descr driver 
and I personally would not waist

my time with them.

If you are managing printers in your company the best decision that you 
could make is to have only printers that can speak postscript language 
and not worry about drivers to begin with.



HPLIP is the great thing if you want to get full functionality from you 
ALL-IN-ONE devices (including scanning) and things like toner option.


Printers however on your network will still be managed by CUPS spooling 
system. I believe that HPLIP cannot work with other spooling systems 
that you might like better than CUPS so that could be also another 
reason always to use printers that can speak postscript language.


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


Re: DVD's and FreeBSD

2007-12-07 Thread Predrag Punosevac

Gary Kline wrote:

Update:

Well, totem chokes when trying to play a DVD,
Totem is not good DVD player and that has to do nothing with the 
FreeBSD, OpenBSD or whatever Linux you want to use. You may read
here why is so difficult to use DVDs 
http://www.dvddemystified.com/dvdfaq.html


Ogle is by far the best DVD player but VLC and MPlayer are able to play 
stunning number of different proprietary and non-proprietary video and 
audio formats.



 but kmplayer works
--altho with fewer control flow options.  And after compiling
	in device atapicam into my KERNCONF, k3b still chokes.   
K3b works fine or I should say as good as on any of major Linux 
distribution. Something is wrong with your configuration.

Read very carefully

$ make showinfo /usr/ports/sysutils/k3b




So.
For toys, Linux; for superior [unbeatable] stability, FreeBSD
is still first rate.

gary
  
Depends what you mean by playing. Some people use Flash or Java for work 
and FreeBSD is definitely not for them.
For me personally works boot as a professional tool and as life-stile 
OS. But then it doesn't work for my mother in law and probably

it doesn't work for 99% of other casual computer users.

Cheers,
Predrag


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


Re: Scanner Compatibility

2007-12-06 Thread Predrag Punosevac

Jason C. Wells wrote:

Does this represent the state of the art in scanners under FreeBSD?

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/scanners.html

Any other up to the minute tips on purchasing a scanner?  Does 
7.0-RELEASE present any new issues?


Thanks,
Jason C. Wells
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
That article is very well written. The only thing that is not emphasized 
enough is that lots of scanners do require firmware (binary blobs)
that you have to extract from M$ .cab files.  (You will need to use 
/usr/ports/archievers/cabextract program to do so).

You definitely want to look very carefully the list of supported devices

http://www.sane-project.org/sane-supported-devices.html

before you make a purchase.

I do believe that Epson scanners are probably best solutions for 
Unix/Linux scanning.


I use Epson Perfection 1670 and it works like a charm. Unfortunately it 
does require binary blob which might be something you want to avoid.


The another option is to look the list of devices supported by HPLIP 
drivers. HPLIP drivers  enable  full functionality of many all-in-one HP 
products and  also HPLIP can unlock some HP flat bad scanners that where 
problematic in the past.


Bottom line is that you have to do your homework.

If you need step by step instructions how to install scanner you might 
contact me via private mail.


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


Re: laptop

2007-12-02 Thread Predrag Punosevac

Pandy, James R SGT NG NG FORSCOM wrote:

Hello

How is it going.

I'm geting ready to go over to Iraq on Dec 6th.

I've used Linux for a few years now. A frind of mine sead that he would set up 
a laptop for me with FreeBSD as soon as I pick one up.  I will not use 
MicroSoft WinBlows

I looking to do mostly games on it but I'll also use it for the net and other 
things.

If you were me what laptop would you look for. I'm thinking of the P4 type mabe 
a dule cord, around $700 to $1000 on ebay.

If you need to get ahold of my here is 2 e-mail address:

[EMAIL PROTECTED]
[EMAIL PROTECTED]

Thank you for any help that you can give me on this.

  



ThinkPad T23 is around $200 and ThinkPad T30 is around $300. They would 
work like a charm with FreeBSD.
If you are going to spend $500 you might as well by new lap top. 
Personally, I would not buy anything else but ThinkPad T series.




Best,
Predrag

James Pandy
___
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: laptop

2007-12-02 Thread Predrag Punosevac

James A. Harrison wrote:

Pandy, James R SGT NG NG FORSCOM wrote:


Hello

How is it going.

I'm geting ready to go over to Iraq on Dec 6th.

I've used Linux for a few years now. A frind of mine sead that he would
set up a laptop for me with FreeBSD as soon as I pick one up.  I will
not use MicroSoft WinBlows

I looking to do mostly games on it but I'll also use it for the net and
other things.

If you were me what laptop would you look for. I'm thinking of the P4
type mabe a dule cord, around $700 to $1000 on ebay.

If you need to get ahold of my here is 2 e-mail address:

[EMAIL PROTECTED]
[EMAIL PROTECTED]

Thank you for any help that you can give me on this.


  

ThinkPad T23 is around $200 and ThinkPad T30 is around $300. They would
work like a charm with FreeBSD.
If you are going to spend $500 you might as well by new lap top.
Personally, I would not buy anything else but ThinkPad T series.



Best,
Predrag


James Pandy
  



Where are you finding the T23 for $200? Presumably that's not US dollars,
because even Ebay isn't showing a thinkpad for $200.

James
___
They might be more now because of holidays but they are generally around 
$200 + shipping $35-50. Also T30 is around $300

more likely to be $330-340 + shipping.

It is in U. S. dollars

Predrag


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 for Sony Playstation3?

2007-12-02 Thread Predrag Punosevac

Joshua Isom wrote:


On Nov 30, 2007, at 11:48 PM, [EMAIL PROTECTED] wrote:


... will FreeBSD.org consider porting FreeBSD to Sony
Playstation3?


... NetBSD works like a charm on Sony Playstation2
http://www.netbsd.org/ports/playstation2/.

and my guess will be that NetBSD 4.0 which is supposed to
be released about the same time as FreeBSD 7.0 will work
on Playstation3.


The IBM Cell processor in the PS3 is unique beast, similar in many
ways to a PPC970 but with enough subtle (and some not-so-subtle)
differences that the port would likely need to be overseen by
someone familiar with such undertakings.  This is not to predict
that NetBSD 4.0 will or won't support it -- that could reasonably
be asked on a NetBSD list -- but be aware that it may turn out to
be a bigger job than one might initially expect.



Also don't forget, since it is a multiprocessor system, there's the 
difference between booting the OS and userland and taking full 
advantage of the hardware.



___
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]
I just stumbled to this thing on NetBSD mailing list so I decided to 
share with you.



Subject: Re: Please update the site
To: Vivek Ayer [EMAIL PROTECTED]
From: Martin Husemann [EMAIL PROTECTED]
List: port-playstation2
Date: 10/20/2007 01:37:06

On Fri, Oct 19, 2007 at 06:04:51PM -0400, Vivek Ayer wrote:
 port. That new entry is almost 3 years old. Surely, there must bugs
 and stuff to track in NetBSD/PS2 3.1.

Unfortunately, due to missing toolchain support in newer gcc and binutils
versions, NetBSD/playstation2 is a dying port.

I anyone would find time to port the EE patches at least to a more
modern binutils, this would be very much appreciated.

Martin

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


Re: PDF_toTEXT Port /Package Is ther For FreeBSD-6.2 version ?

2007-11-29 Thread Predrag Punosevac




dhaneshk k wrote:

Hi fiiends;

   I need PDF to Text converter Program in My FreeBSD6.2 Server :

CAn any one please point out is ther a PORT for PDF_to_TEXT   conversion OR how 
to install this utility .

Any hints most welcome

Thanks in Advance 
Dhanesh



  

My friend,
You already have converter on your computer:-) Ghostscript!
Just type pdf2ps filename.pdf and then you can convert ps to ascii i 
with the command ps2ascii.
If I remember well you can convert pdf directly to ascii but I forgot 
how. I think something like pdftoacsii or pdf2ascii


In any case the software you want is not among converters but rather it 
is in print. (ghostscript and I think dvips is useful to have) .
There was a thread about 3 months ago when we went systematically over 
all converters.


Just look the archive.

Cheers,
Predrag







_
Tried the new MSN Messenger? It’s cool! Download now.
http://messenger.msn.com/Download/Default.aspx?mkt=en-in___
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: 7.0 installation, and Xorg in particular

2007-11-28 Thread Predrag Punosevac

Freminlins wrote:

I used to find FreeBSD easy. What has happened? I have a couple of machines
I usually install new versions on, one is headless the other is a desktop
machine (which was a 100% reliable 5.4 installation). I boot the headless
machine using floppies, then install across the net. But something has
happened such that I now need five floppies, and I have to put the boot one
in at least twice. This wasn't the case previously. It now reminds me of an
OS/2 installation with its floppy shuffling.

Then for my desktop machine. sysinstall crashes if I try to install x.org.
So I do a pkg_add -r xorg. After about 70 packages I give up. I only used to
have about 65 packages in total on my old desktop, now I need more than 70
and I haven't even got x windows up yet. So I go off and have a look and
discover that x.org 7.x is modular - 
http://blogs.ittoolbox.com/unix/bsd/archives/xorg-72-on-freebsd-13661;. This
fellow is talking about 300 packages just for x.org! This is nuts. No two
ways about it. Whoever decided to do this needs their head (or heads)
examined. It used to be so simple. Now it's not. If x.org didn't work for
some reason I wouldn't want to track down which of hundreds of packages is
missing. Who would? Also, I noticed that python as well as perl was being
installed. Is not one scripting language enough for x.org? Why are two
needed?

I am really frustrated. I don't understand how installing X* this way is
supposed to be an improvement. What does it actually give me that I didn't
have before? Note my old system was reliable, as is my desktop at work (a
6.2 machine). I was so frustrated that I gave up installing 7 on my home
desktop and am now in Windows land. It just seems so pointless. It reminds
me of the nastiness of Gnome, which has bazillions of packages, and Gnome
needs nearly all of them so why make them separate?

I've done enough head banging tonight. Maybe Xfree86 is still available. I
haven't looked yet.


Frem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  
NetBSD still uses Xfree86 and complete installation including X is 
200Mb. All packages of NetBSD are adjusted to use Xfree86.
You  system install crashed probably because of false assumptions on 
your part during the installation. 7.0 beta is  NOT release.
Xorg should be installed after the installation using ports or pkg_add . 
Ports three should be taken after the installation by portsnap utility.


As of number of floppies I really could not comment on it. I did FTP 
installation that went without a hitch but booted a computer

from the 5Mb CD.

I really like OpenBSD FTP installation and the fact that you need only 
one floppy but in total they have five floppies depends on
the type of machine you want to boot and for some you will need I think 
three.
I do not know if creation of such specialized boot floppies would be 
possible for FreeBSD. It seems  that  younger  generation  does not

even use floppies any more:-)

What can I say. Major part of your letter is concerning XOrg which is 
not really a part of OS.

Yes they went modular and made some significant changes.

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


Re: K3b

2007-11-28 Thread Predrag Punosevac

ajtiM wrote:

On Sunday 25 November 2007 21:58:03 you wrote:
  

ajtiM wrote:


Hi!

I am new with FreeBSD. I installed one day ago 7.0 beta3 and I try to
learn and setup the system.
When I start K3b (KDE) I got a message:

No CD/DVD writer found.
K3b did not find an optical writing device in your system. Thus, you will
not be able to burn CDs or DVDs. However, you can still use other K3b
features like audio track extraction or audio transcoding or ISO9660
image creation.

I tired as user and as root but resul is the same.

BTW: under Linux I didn't have a problem

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

You have not done your homework.

Probably the following would be enough

[pedja@ /usr/home/Pedja]$ more /boot/loader.conf
atapicam_load=YES
hw.ata.ata_dma=1
hw.ata.atapi_dma=1


You also need to add the following into your /etc/devfs.conf file

# Allow members of the group operator to mount CD-ROMs.

perm  /dev/acd0   0666
perm  /dev/cd00666

# Commonly used by many ports
link  cd0 cdrom
link  cd0  dvd
link  cd0  rdvd

link  acd0 cdrom
link  acd0 dvd
link  acd0 rdvd


# Misc other devices

permcdrom   0666
permdvd 0666
permrdvd0666
permxpt00666
permpass0   0666

I am not sure if you need HAL as mine is ON  on this computer  on
which  K3b  works  flawlessly. You will have to read handbook and
the following is useful  http://www.freebsd.org/gnome/.


BTW: I really gets annoyed when people say by the way it works in Linux,
Windows, Solaris or whatever.
What is that suppose to mean?


That is nothing wrong with hardware :)
  
I realized that. I hope you saw my apology. I do know however why you 
can not use it as a user. You have to mount the disk on the file system 
that belongs to you not the root.


So edit your /etc/fstab file as this

#These are my options
/dev/cd0 /usr/home/Pedja/mnt/cdrom cd9660   rw, noauto  0   0
/dev/acd0/usr/home/Pedja/mnt/cdrom cd9660   rw, noauto  0   0


and you should be good too go. That was exactly what I meant by saying 
that I do not know if you need HAL.

You do not need HAL but you need to edit your /etc/fstab.

Cheers,
Predrag




Thank you...I did but as user I couldn't use K3b but as root works.
  


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


Re: HP Deskjet 9800 with hpijs driver

2007-11-26 Thread Predrag Punosevac

Aryeh M. Friedman wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Erin McNew wrote:
  

I've been trying to get my photo printer working recently, and seem to have
run into a bit of a snag.  I just tried to print out a picture as a test,
and instead of a picture, I got: PCL commands across the top of one page of
photo paper, and the printer spewed the rest of my paper out empty (taught
me an important lesson about testing without having large quantities of
photo paper in the printer...)
Anyway, I was looking on google, and I don't seem to see other people


having
  

this problem, but I'm not sure what I could've done wrong.  I'm using the
hpijs driver, which is supposed to work perfectly under linux, and works
perfectly for my other hp printer.  Is this printer just not supported by
FreeBSD?  I couldn't find anything that stated directly either way in my
quick googling, so I was hoping somebody here might have some ideas for
things to check, etc.



My 6980 has the same problem with hpijs and hplip... try cups (it
should autodetect)


  
Printing under Linux and FreeBSD are for all practical purposes 
identical. If it works under Linux is should work under FreeBSD.

Which printer spooler are you using LPD, LPRng, CUPS, HPLIP/CUPS or PDQ?

I personally like to use native LPD spooler. Since your printer is 
supported by hpijs the driver is included in apsfilter (or apsfilter 
will install hpijs port by default) which  you compile form ports 
/usr/ports/print/apsfilter


lpd_enable=YES in  /etc/rc.conf file 


Alter the permission so that the daemon can access the printer as

/etc/devfs.conf

perm lpt0 0666 #for parallel port printer
perm ulpt0 0666 #for USB printer

Then cd /usr/local/share/apsfilter and run the script ./SETUP

The rest is self-explanatory. If you get a message about your version of 
ghostscript just ignore. You probably have much newer version of 
Ghostscript than apsfilter expect to find.
The apsfilter is more than a filter. It will help you edit your printcup 
file, it will convert files to ps and finally it will let you choose the 
drivers .
The only drivers which from the apsfilter list are gutenprint drivers. 
If you need them make sure your compile gutenprint with the tag

without CUPS.

||
If you need more complicated printer policies you probably want to use 
LPRng or CUPS.


This is the link to beautiful HPLIP  how to 
http://dsteinbrook.googlepages.com/hpliponfreebsd

Make sure you read the thing about the kernel.

Bare in mind couple of thins. HPLIP does not support parallel port 
printers! Whatever they say on HPLIP forum is lie. They do not despite
the fact that hpijs did. They support parallel port printers which are 
free standing printer servers via the web not by attaching them directly.


The proper way to enable HPLIP is to start HPLIP daemons first and than 
CUPS daemon by let say editing /etc/rc.conf file and rebooting.
The proper way to add the printer to HPLIP is to use CUPS 
http://localhost:631 and add the printer and then use HPLIP-toolbox and 
other

goodies.

HPLIP will just unlock full functionality of your printer. (Toner 
status, all in one devices etc)


Do not forget to put lpd_enable=NO in /etc/rc.conf and hide native 
lp,lps,lpr,lpq commands so that you can use the same CUPS commands.


If you need PPD file for your printer you can download from 
http://www.linux-foundation.org/en/OpenPrinting

but you can also generate your own using foomantic-rip.

I gave you sort of general how to. If you have more specific questions 
and can generate some log files that would help a lot.


Cheers,
Predrag





- --
Aryeh M. Friedman
Developer, not business, friendly
http://www.flosoft-systems.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHSm26J9+1V27SttsRAmvKAKCNmRnACVy4blTZ/VfTDCKHLa2tKQCfdhZD
yn4yMOzU/5U4K65hG2Kljxg=
=K2OD
-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]
  


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


Re: Desktop printing, a request for your experiences

2007-11-26 Thread Predrag Punosevac

Dominic Marks wrote:

List,

Can anyone give me their experiences of desktop printing
(OpenOffice/KDE/Gnome/Mozilla Firefox and Thunderbird, etc) recently?
I haven't tried for a while but it was a pain to setup and maintain 
the last

time I looked at it.

If you are using this for real-work and you are getting good results 
please

let me know what you are using (software and hardware ideally).

The environment I would like to put this into is a family house, very 
small

setup with 2 PCs and 2 printers. Currently both are Windows PCs but
one is experiencing all of the classic issues with a multi-year Windows
installation and since they are used exclusively for E-Mail and word
processing I am interested in migrating one PC over to FreeBSD.

.. If the solution was a Linux distro (box package, or otherwise) I would
also be interested.
... I am not a subscriber so please keep me CC'ed in the discussion.

Cheers
Dominic
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
My printing works perfect on all my machines (6 in total) and 2 
printers. including printing from applications like Gimp.
Printers are HP OfficeJet R60 and HP LaserJet 4L. I used both CUPS and 
LPD + apsfilter. I prefer LPD+apsfilter in particularly
since LPD is included in base distribution. I have not played too much 
with LPRng+ifhp but I was able to set up basic printing in 30 minutes 
using that spooling system as well.


I noticed that many applications have substandard built in ps filters. 
CUPS base filter cannot print dvi files :-(.

I found a2ps useful for conversion to ps.

Cheers,
Predrag


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


  1   2   3   >