Re: Basic printing setup

2003-10-20 Thread David Lodeiro

 I've never gotten around to setting up printing from
 my FreeBSD machine--the discussion in the Handbook is
 rather frightening--and now that I've decided I should
 probably give it a try, I find that the Handbook doesn't
 even let me get started.

 I have two situations for this computer (a laptop
 running FreeBSD-4.8). I have a home network that
 has an older (non-Ethernetted) HP LaserJet 6MP; this
 is attached to the network via an AsanteTalk AppleTalk-
 Ethernet bridge. The Macs on the network (OSX and 8.6)
 can all see the printer. What do I need to do to print
 to this printer from my FreeBSD machine when it's on
 the network?

 In the second case, I just have a desktop printer--
 some HP color thing, the 990 I think--that only has a
 USB connection. The Handbook doesn't mention USB
 printing at all.

 In both cases I'm not looking to do anything fancy,
 none of this user-accounting or header-pages stuff.
 I just want to be able to send jobs to the printer
 and have them come out. I guess I'd also be curious
 how to select one or the other, or more if they were
 added to the network. Thanks for any pointers on
 how to accomplish this.

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

Try apsfilter in the ports collection, I found it the easiest way to set up 
printing under freebsd, I;d seuggest hooking the printer up directly to the 
freebsd box and setting up printing there first, and then  tacling the 
network setup. Thats what I would do anyway.

Hope it helps


David

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


Re: errors with dependant packages while installing ports.

2003-10-20 Thread David Lodeiro
Hi, 

# cd /usr/ports/xxx/directory of port that wont compile

# make deinstall

# make install  or  # make install clean  or   # make package

works for me without any problems

Seeya

David Lodeiro
 Hi,

 I seem to get failures just about every time i try to install anything:

 in particular errors with dependant packages:

 An older version of whatever/whatever is already installed...

 now, on attempts to update any of these dependancy packages i break my
 system... so. do i just accept i cannot update or run certain things, or
 is there some trick t this i am missing...?

 please 'CC' me as i am on digest mode...

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

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


Re: A couple of ATI video questions

2003-10-21 Thread David Lodeiro
Hi, 
I have a radeon 8500 , and I have DRI working. Can you paste a copy of your 
XF86Config  in, as well as the log? and dmesg while your at it. I moght be 
able to help.

Thanks

David
 Hi again. I've got a few more questions, this time about ATI Mach64/Rage
 video support.

 Under Linux (until the 2.4.22 kernel's ServerWorks fix broke mtrr
 support on my machine), I was able to get xv and DRI support on my
 system (ATI 3D Rage IIc), over a number of versions of XF86 (previously
 with the gatos ati.2 drivers, but those are now part of the core XF86
 distribution).

 Under FreeBSD-5.1, using XFree86-Server-4.3.0_11 from the ports
 collection, I'm not getting either. I checked the XF86Config file, and
 everything's fine there.

 Looking at xfree86.0.log, the dri module and the ati module are both
 getting loaded, and there are no gross write-combining errors like I've
 seen recently in linux. But when I run (e.g.) glxgears, I get:
   Xlib:  extension XFree86-DRI missing on display :0.0.

 Similarly, xvinfo finds X-Video extension 2.2, but finds no
 xv-compatible adaptors present. And I have no idea how to track down why
 this is happening. (For example, unlike linux 2.4.22, write-combining
 works under FreeBSD 5.1.)

 I'm having problems with xvidix, as well. In particular, when I try to
 use xvidix output from mplayer, it completely hangs my system. Under
 linux, xvidix works fine (other than spraying some visual noise over
 other windows if I don't run full-screen). I can't find much
 documentation on xvidix anywhere (just a single rambling file in the
 mplayer distribution, duplicated on the mplayer website).

 I'm also having svgalib problems. I can't get it to accept anything
 better than the 1024x768x64K setting. It recognizes a Mach 64/Rage card
 and loads the newer driver, just as in linux, but it rejects all higher
 modelines. In svgalib under linux (and in X in both OS's), I can use
 1600x1200x64K (and even higher resolutions). I haven't dug into the code
 too deep yet.

 Also, once you've grabbed a new vt in svgalib, stdout and stderr both
 goes to that vt, so there's no way to log errors, etc. And once the
 program has completed and you've switched back to your original console
 (or X) there's no way to get back to the dead vt to see what was left
 there.

 Also, if an svgalib program locks up while it's got virtual console
 switching locked, there seems to be no way to recover other than to ssh
 into the machine from outside and kill [-9] the program. Usually, this
 works, although in one case, it apparently froze up the machine
 completely (no response from the keyboard--even the lock-leds went
 dead--or over the network), and I had to hard-reset.

 Most of that last question probably has nothing to do with svgalib, but
 with differences between linux's and BSD's vt's Under linux, I could
 forcibly switch vt's, kill everything running on the console, or even
 kill the vt (I might have to type blind for a few seconds, but I could
 get things fixed). If I ssh'd in, I could use chvt to bring up a usable
 console to fix things remotely. Does FreeBSD have equivalents to any of
 this functionality?

 Anyway, again, any help, or pointers to where to get help, would be
 appreciated.


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

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


Re: Wireless networking hardware recomendations?

2003-10-28 Thread David Lodeiro
On Wed, 29 Oct 2003 04:42 am, you wrote:
 On Mon, Oct 27, 2003 at 09:10:22PM +1000, David Lodeiro wrote:
  If you want to see my rc.conf reguarding this machine to make it easier
  to set up, let me know.

 I just bought one of these and I'd be interested in seeing your rc.conf.

 Thanks much,

 Steve

gateway_enable=YES
kern_securelevel_enable=NO
nfs_server_enable=YES
rpcbind_enable=YES
sendmail_enable=YES
sshd_enable=YES
usbd_enable=YES
firewall_enable=YES
firewall_type=open
inetd_enable=YES
ifconfig_fxp0=inet 192.168.1.251 netmask 255.255.255.0
defaultrouter=192.168.1.254
hostname=davesserver.com
natd_enable=YES
natd_interface=fxp0
natd_flags=
ifconfig_ath0=inet 192.168.0.1 netmask 255.255.255.0 channel 6 ssid daves 
mode 11g mediaopt hostap
lpd_enable=YES


There you go, one thing I am having some issues with is getting dhcp to work 
through it, for some odd reason it is throught the lan interface but not 
through the wireless one. 

Thanks

David Lodeiro


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


IDE card reader

2003-10-29 Thread David Lodeiro
Hi all, 

I have an IDE card reader ( compact flash, secure digital, MMC, and memory 
stick) that I am trying to get to work. However when I start my system with 
it installed it crashes on boot up. 

This is what it outputs

Fatal trap 12: page fault while in kernel mode
fault virual address= 0x4b
fault code  = supervisor write, page not present
instruction pointer = 0x8:0xc03558bc
stack pointer   = 0x10:0xd6aa6c 54
frame pointer   = 0x10:0xd6aa6c 58
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gram 1
processor eflags= interrupt enabled, resume, IOPL=0
current process = 24 (irq15: ata1)
trap number = 12
panic: page fault

and it then gives the option to pause or reeboot.

If I boot up with a SD card in the reader, I get the exact same message, but 
with the following just before it:

afd0: MODE_SENSE_BIG - ILLEGAL REQUEST asc=0x24 ascq=0x00 error=0x04

and it repeats this 4 times

If anyone can give me any info, explanation as to what is happenening, a link 
to another site, anything, please let me know

Thanks in advance

David Lodeiro

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


Re: Recommendations for wireless networking and FreeBSD

2003-11-06 Thread David Lodeiro
Hey, 

Ive been using a 54g card on 5.1 current for a while know quite successfully 
for a while know. The card I am using is a Dlink with an atheros chip, this 
chip is only supported in current at this stage.

If you are running 5.1-Current you can

# man ath

and it gives a list of card that use that driver


 I've just moved into an apartment in which drilling and running wires is
 taboo.  Has anyone delved successfully into the realms of wireless
 networking their FreeBSD groups?  My main server is running 4.8-STABLE, and
 I have a client machine running 5.1-RELEASE (which has been suspect to a
 lack of driver support for its onboard NIC in FBSD anyway), but I am not
 married to any of these releases and would up/downgrade if a solution was
 available. I'd also prefer a Wireless-G access point and adapter solution
 if possible, as opposed to the much slower B solutions available. Thanks
 ~John
If you wanted 802.1g you would more that likely have to upgrade to 5.1-Current




 -
 Do you Yahoo!?
 Exclusive Video Premiere - Britney Spears
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
Hope this helps

David Lodeiro

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


Crashing after yesterdays ( 17/01/04 ) Buildworld

2004-01-17 Thread David Lodeiro
Hi,

Yesterday I cvsuped upto 5.2 RELENG and did buildworld. No errorrs occured 
throughout the buildworld/buildkernel/installkernel/installworld process, but 
now the system seems to crash about 20 minutes after boot up. The only error 
I can find is the following at the end of my dmesg.

Jan 18 09:36:49 dl kernel: ad2: 57241MB ST360021A [116301/16/63] at 
ata1-master UDMA100
Jan 18 09:36:49 dl kernel: GEOM: create disk cd0 dp=0xc47ef600
Jan 18 09:36:49 dl kernel: cd0 at ata0 bus 0 target 0 lun 0
Jan 18 09:36:49 dl kernel: cd0: LITE-ON LTR-52246S 6S0D Removable CD-ROM 
SCSI-0 device
Jan 18 09:36:49 dl kernel: cd0: 16.000MB/s transfers
Jan 18 09:36:49 dl kernel: cd0: Attempt to query device size failed: NOT 
READY, Medium not present
Jan 18 09:36:49 dl kernel: Mounting root from ufs:/dev/ad2s1a
Jan 18 09:36:49 dl kernel: WARNING: /usr was not properly dismounted
Jan 18 09:36:49 dl kernel: WARNING: /var was not properly dismounted
Jan 18 09:36:50 dl lpd[416]: lpd startup: logging=0
Jan 18 09:36:54 dl root: /etc/rc.d/sysctl: WARNING: sysctl hw.usb.uppc.vendor 
does not exist.
Jan 18 09:36:54 dl root: /etc/rc.d/sysctl: WARNING: sysctl hw.usb.uppc.product 
does not exist.
Jan 18 09:36:56 dl kdm[567]: Abnormal helper termination, code 0, signal 5
Jan 18 09:37:06 dl kernel: Warning: pid 573 used static ldt allocation.
Jan 18 09:37:06 dl kernel: See the i386_set_ldt man page for more info
Jan 18 09:37:09 dl kernel: Warning: pid 574 used static ldt allocation.
Jan 18 09:37:09 dl kernel: See the i386_set_ldt man page for more info
Jan 18 09:37:18 dl kernel: Warning: pid 590 used static ldt allocation.
Jan 18 09:37:18 dl kernel: See the i386_set_ldt man page for more info
Jan 18 09:37:18 dl kernel: Warning: pid 591 used static ldt allocation.
Jan 18 09:37:18 dl kernel: See the i386_set_ldt man page for more info
Jan 18 09:37:18 dl kernel: Warning: pid 592 used static ldt allocation.
Jan 18 09:37:18 dl kernel: See the i386_set_ldt man page for more info
Jan 18 09:37:19 dl kernel: Warning: pid 593 used static ldt allocation.
Jan 18 09:37:19 dl kernel: See the i386_set_ldt man page for more info
Jan 18 09:37:19 dl kernel: Warning: pid 596 used static ldt allocation.
Jan 18 09:37:19 dl kernel: See the i386_set_ldt man page for more info
Jan 18 09:37:19 dl kernel: Warning: pid 595 used static ldt allocation.
Jan 18 09:37:19 dl kernel: See the i386_set_ldt man page for more info
Jan 18 09:37:20 dl kernel: Warning: pid 600 used static ldt allocation.
Jan 18 09:37:20 dl kernel: See the i386_set_ldt man page for more info
Jan 18 09:37:20 dl kernel: Warning: pid 603 used static ldt allocation.
Jan 18 09:37:20 dl kernel: See the i386_set_ldt man page for more info
Jan 18 09:37:35 dl kernel: pid 638 (3ddeskd), uid 1001: exited on signal 11

I looked up the man i386_set_ldt but I cant see where I need to make changes 
to resolve this. 

Any help is greatly appreciated.

Thanks

David

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


Atheros and dstumbler

2004-01-20 Thread David Lodeiro
Hi, 
I've already sent this to freebsd-current with no reply, so I thought I might 
send it here to see if I do anybetter.
According to a post by someone from dach0ben, the final release of 
bsd-airtools v3.0 is to be able to work with the atheros based wireless 
cards, namelly dstumbler and wep cracking. That post was from July 2003, on 
there dach0ben website the latest release of bsd-airtools is v2.0 which 
doesnt work with the atheros based cards. Trying to access the cvs repository 
to obtain the absolute latest fails.

Basically, my question is: Has anyone used dstumbler with and atheros based 
card? If so , what version and from where. If not ,is there anything else 
that will do the job that dstumbler did.

Thanks

David

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


Re: DRI troubles with radeon

2004-03-02 Thread David Lodeiro
 Hi there,
Hi

 I'm having some troubles getting DRI to work. I'm runnig an
 ASUS A7N8X-Deluxe Board with NForce2 and a ATI Radeon 8500. First of all
I have the Radeon 8500 on a different Asus Motherboard ( no NForce2 )
 I started using the 5.2.1-RELEASE with following kernel-options:

 device agp
 device radeondrm
I have

device  vga # VGA video card driver

device  agp # support several AGP chipsets

device  radeondrm

And my dmesg shows

drm0: ATI Radeon QL R200 8500 LE port 0xd800-0xd8ff mem 
0xcf80-0xcf80
,0xe000-0xefff irq 11 at device 0.0 on pci1
info: [drm] AGP at 0xd000 128MB
info: [drm] Initialized radeon 1.10.0 20020828 on minor 0


 this caused XFree86 (4.3.0 and 4.4.0) to freeze on startx when DRI was
I am using XFree86 Version 4.3.99.15 and my relevant sections from my config 
are

Section Module
Load  GLcore
Load  bitmap
Load  dbe
Load  ddc
Load  dri
Load  extmod
Load  freetype
Load  glx
Load  int10
Load  record
Load  xtrap
Load  speedo
Load  type1
EndSection

Section Device
Identifier  Card0
Driver  radeon
VendorName  ATI Technologies Inc
BoardName   Radeon R200 QL [Radeon 8500 LE]
BusID   PCI:1:0:0
Option  AGPMode   4
EndSection

Section DRI
Mode 0666
EndSection


 enabled. Then I removed agp and radeondrm from my kernel-config, now
 dmesg showed this when startx was launched:

 error: [drm:pid580:radeon_cp_init] *ERROR* radeon_cp_init called
 without lock held
 error: [drm:pid580:radeon_unlock] *ERROR* Process 580
 using kernel context 0

 but X actually started (glxinfo sayed 'direct rendering: no'). After
 some reading I started to put these options in my XF86Config:

 Option ForcePCIMode true
 Option AGPMode 4

 well, ok now glxinfo reported 'direct rendering: yes' but my performance
 with glxgears should be much better:

 1167 frames in 5.0 seconds = 233.400 FPS
 1403 frames in 5.0 seconds = 280.600 FPS

6515 frames in 5.0 seconds = 1303.000 FPS
6702 frames in 5.0 seconds = 1340.400 FPS
6717 frames in 5.0 seconds = 1343.400 FPS

 dmesg showed this:

 drm0: ATI Radeon QL R200 8500 LE port 0xb000-0xb0ff mem
 0xc200-0xc200,0xb000-0xbfff irq 5 at device 0.0 on pci2
 info: [drm] Initialized radeon 1.10.0 20020828 on minor 0 info: [drm]
 Loading R200 Microcode

 This problem is obviously caused by my mainboard, because my radeon used
 to work with my old Gigabyte VIA mainboard.

 So I'm slowly runnig out of ideas what to do.

This 

device  agp # support several AGP chipsets

device  radeondrm

needs to be in your kernel config. Check you XFConfig, make sure you have 

Section DRI
Mode 0666
EndSection

in it.

Thats all the help I can really provide

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


Bootup stalls on Initial i386 initialization

2004-03-31 Thread David Lodeiro
Hi

I have a server that stalls during bootup for about 5 minutes. It shows 

Starting sshd

and then stalls, If I press Ctrl C to cancel whatever it is that is stalling, 
it shows

^CInitial i386 initialization

and then continues to boot up.

I know it isnt sshd that is stalling because even after cancelling sshd is 
running. 
What is Initial i386 initialization? I have looked through rc.conf and there 
is nothing being started by that name.

Any help would be appreciated

Thanks

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


Re: Bootup stalls on Initial i386 initialization

2004-04-13 Thread David Lodeiro
On Wed, 31 Mar 2004 03:21 pm, you wrote:
  I have a server that stalls during bootup for about 5 minutes. It shows
 
  Starting sshd
 
  and then stalls, If I press Ctrl C to cancel whatever it is that is
  stalling, it shows

 Stalls during boot are often the result of DNS timeouts. Do you have a DNS
 server defined in /etc/resolve.conf and if so is it accessible?
That was exactly the problem, I added the machines hostname and the DNS server 
addresses to /etc/resolve.conf and all is good now. It also solved another 
problem which was that I could only log in through ssh whilst in the network, 
I couldnt from outside even though the router redirects port 22.


 -Don
Thanks 

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


Re: Samba Printing

2003-08-14 Thread David Lodeiro
Thanks for that web page, I had run into it a while ago and completely forgot 
about it.

I ammended my printcap to include the entry :

# APS2_BEGIN:printer2
# - don't delete start label for apsfilter printer2
# - no other printer defines between BEGIN and END LABEL
Canoni850|bjc800:\
:lp=/dev/lpt0:\
:sd=/var/spool/lpd/Canoni850:\
:lf=/var/spool/lpd/Canoni850/log:\
:mx#0:\
:sh:
# APS2_END - don't delete this

To handle all the raw printing ( ie. from windows )

And ammended my smb.conf printers section to
[printers]
   comment = Printers
   path = /var/spool/lpd
   browseable = no
   printable = yes
   public = yes
#   create mode = 4777

[Canoni850]
   comment = Canoni850
   path = /var/spool/lpd/Canoni850
   browseable = yes
   printable = yes
#   printer driver = Canon i850

[lp]
   comment = FreeBSD printer
   browseable = no
   printable = yes

However I still have the same problem. The weird part is that on the XP client 
when I go to print a test page, nothing shows up in the printers que, but no 
error comes up either.

Here is what I got in log.smbd with log level at 10

[2003/08/12 23:40:55, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_SNDLOWAT = 2048
[2003/08/12 23:40:55, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_RCVLOWAT = 1
[2003/08/12 23:40:55, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_SNDTIMEO = 0
[2003/08/12 23:40:55, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_RCVTIMEO = 0
[2003/08/12 23:40:55, 10] printing/nt_printing.c:update_c_setprinter(368)
  update_c_setprinter: c_setprinter = 0
[2003/08/12 23:40:55, 6] param/loadparm.c:lp_file_list_changed(2302)
  lp_file_list_changed()
  file /usr/local/etc/smb.conf - /usr/local/etc/smb.conf  last mod_time: Tue 
Au

[2003/08/12 23:40:55, 3] smbd/oplock.c:init_oplocks(1214)
  open_oplock_ipc: opening loopback UDP socket.
[2003/08/12 23:40:55, 3] lib/util_sock.c:open_socket_in(813)
  bind succeeded on port 0
[2003/08/12 23:40:55, 3] smbd/oplock.c:init_oplocks(1245)
  open_oplock ipc: pid = 9747, global_oplock_port = 49804
[2003/08/12 23:40:55, 4] lib/time.c:get_serverzone(114)
  Serverzone is -36000
[2003/08/12 23:40:55, 10] 
lib/util_sock.c:read_smb_length_return_keepalive(559)
  got smb length of 68
[2003/08/12 23:40:55, 10] lib/access.c:check_access(304)
  check_access: allow = , deny =
[2003/08/12 23:40:55, 6] smbd/process.c:process_smb(845)
  got message type 0x81 of len 0x44
[2003/08/12 23:40:55, 3] smbd/process.c:process_smb(846)
  Transaction 0 of length 72
[2003/08/12 23:40:55, 2] smbd/reply.c:reply_special(92)
  netbios connect: name1=DAVESSERVER  name2=JOSE
[2003/08/12 23:40:55, 2] smbd/reply.c:reply_special(111)
  netbios connect: local=davesserver remote=jose

Jose is the name of the XP client, davesserver is the name of the FreeBSD box. 
Again sorry about the long post

Any help is appreciated

Thankyou

David

On Tue, 12 Aug 2003 07:24 am, you wrote:
 David Lodeiro wrote:
  A couple of days ago I set up my printer on my FreeBSD server and set it
  up so I could print from my FreeBSD client. This all works very well,
  printing from botht the server and the FBSD client. However, I also have
  samba set up for file serving with my dads XP box. I have been trying for
  quite some time now to set samba up to enable me to print from the XP
  client. My situation at the moment is that the XP client can detect the
  printer in explorer, I can set up a printer to print to it without any
  errors, however when I go to print a test page, nothing happens. No
  errors, no printout.
 
  I started the smbd and nmbd demons with debugger set to 10 to see if I
  could find something out
 
  Firstly , this is the relevent part of my printcap
 
  Canoni850|bjc800;r=600x600;q=photo;c=full;p=a4;m=auto:\
 
  :lp=/dev/lpt0:\
  :if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
  :sd=/var/spool/lpd/Canoni850:\
  :lf=/var/spool/lpd/Canoni850/log:\
  :af=/var/spool/lpd/Canoni850/acct:\
  :mx#0:\
  :sh:
 
  I can print from FBSD using lpr -P Canoni850 filename
 
  here is the relvant section from smb.conf
  [global[
 load printers = yes
 
 use client driver = yes
 
 show add printer wizard
 
  [printers]
 comment = Canon i850
 path = /var/spool/lpd/samba
 browseable = yes
 printable = yes
 public = yes
 
  File sharing on with this smb.conf works without any problems
  my /var/spool/lpd directory contains the directories = Canoni850  lp  
  samba all with r w x permisions and the sticky bit
 
  if I have path = /var/spool/lpd/Canoni850

 snip

  And still nothing comes out of my printer , and nothing is present in my
  lpq on the server. Does anyone now what is going on in my log?
 
  sorry about the long post
 
  Thanks
 
  David
 
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe

Samba Printing

2003-08-14 Thread David Lodeiro
A couple of days ago I set up my printer on my FreeBSD server and set it up so 
I could print from my FreeBSD client. This all works very well, printing from 
botht the server and the FBSD client. However, I also have samba set up for 
file serving with my dads XP box. I have been trying for quite some time now 
to set samba up to enable me to print from the XP client. My situation at the 
moment is that the XP client can detect the printer in explorer, I can set up 
a printer to print to it without any errors, however when I go to print a 
test page, nothing happens. No errors, no printout.

I started the smbd and nmbd demons with debugger set to 10 to see if I could 
find something out

Firstly , this is the relevent part of my printcap

Canoni850|bjc800;r=600x600;q=photo;c=full;p=a4;m=auto:\
:lp=/dev/lpt0:\
:if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
:sd=/var/spool/lpd/Canoni850:\
:lf=/var/spool/lpd/Canoni850/log:\
:af=/var/spool/lpd/Canoni850/acct:\
:mx#0:\
:sh:
I can print from FBSD using lpr -P Canoni850 filename

here is the relvant section from smb.conf
[global[
   load printers = yes

   use client driver = yes

   show add printer wizard

[printers]
   comment = Canon i850
   path = /var/spool/lpd/samba
   browseable = yes
   printable = yes
   public = yes

File sharing on with this smb.conf works without any problems
my /var/spool/lpd directory contains the directories = Canoni850  lp   samba   
all with r w x permisions and the sticky bit

if I have path = /var/spool/lpd/Canoni850

I get the following in log.smbd

[2003/08/11 22:23:08, 7] param/loadparm.c:lp_servicenumber(3612)
  lp_servicenumber: couldn't find Canoni850
[2003/08/11 22:23:08, 3] param/loadparm.c:lp_add_printer(2062)
  adding printer service Canoni850

and then I read that your not meant to set the path to that that unix printing 
uses and saw an example where it sets it to samba

with the path as it is in my current smb.conf I get the following in log.smbd 
when I go to print from XP

[2003/08/11 23:23:01, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_KEEPALIVE = 8
[2003/08/11 23:23:01, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_REUSEADDR = 4
[2003/08/11 23:23:01, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_BROADCAST = 0
[2003/08/11 23:23:01, 5] lib/util_sock.c:print_socket_options(111)
  socket option TCP_NODELAY = 4
[2003/08/11 23:23:01, 5] lib/util_sock.c:print_socket_options(111)
  socket option IPTOS_LOWDELAY = 0
[2003/08/11 23:23:01, 5] lib/util_sock.c:print_socket_options(111)
  socket option IPTOS_THROUGHPUT = 0
[2003/08/11 23:23:01, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_REUSEPORT = 512
[2003/08/11 23:23:01, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_SNDBUF = 8760
[2003/08/11 23:23:01, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_RCVBUF = 8760
[2003/08/11 23:23:01, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_SNDLOWAT = 2048
[2003/08/11 23:23:01, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_RCVLOWAT = 1
[2003/08/11 23:23:01, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_SNDTIMEO = 0
[2003/08/11 23:23:01, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_RCVTIMEO = 0
[2003/08/11 23:23:01, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_KEEPALIVE = 8
[2003/08/11 23:23:01, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_REUSEADDR = 4
[2003/08/11 23:23:01, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_BROADCAST = 0
[2003/08/11 23:23:01, 5] lib/util_sock.c:print_socket_options(111)
  socket option TCP_NODELAY = 4
[2003/08/11 23:23:01, 5] lib/util_sock.c:print_socket_options(111)
  socket option IPTOS_LOWDELAY = 0
[2003/08/11 23:23:01, 5] lib/util_sock.c:print_socket_options(111)
  socket option IPTOS_THROUGHPUT = 0
[2003/08/11 23:23:01, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_REUSEPORT = 512
[2003/08/11 23:23:01, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_SNDBUF = 8192
[2003/08/11 23:23:01, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_RCVBUF = 8192
[2003/08/11 23:23:01, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_SNDLOWAT = 2048
[2003/08/11 23:23:01, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_RCVLOWAT = 1
[2003/08/11 23:23:01, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_SNDTIMEO = 0
[2003/08/11 23:23:01, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_RCVTIMEO = 0
[2003/08/11 23:23:01, 10] printing/nt_printing.c:update_c_setprinter(368)
  update_c_setprinter: c_setprinter = 0
[2003/08/11 23:23:01, 6] param/loadparm.c:lp_file_list_changed(2302)
  lp_file_list_changed()
  file /usr/local/etc/smb.conf - /usr/local/etc/smb.conf  last mod_time: Mon 
Au

[2003/08/11 23:23:01, 3] smbd/oplock.c:init_oplocks(1214)
  

Re: Help

2003-08-14 Thread David Lodeiro
 Keep in mind FreeBSD is predominantly a server OS so unless you specifically 
ask it to bring up a GUI, it wont. If you have installed Xfree86 and 
configured it , you should be able to type startx and it should bring up your 
GUI. However avoid using X windows as a root, do it as a user.

If you want a better looking GUI, choose a desktop or a windowmanager. I use 
KDE, it looks very pretty. However there are many others. www.kde.org has 
screenshots. 

David
On Tue, 12 Aug 2003 10:24 pm, George Parotidis wrote:
 Hello My name is George Parotidis and I have a question.
 I have installed FreeBSD 5.1 on my Pentium 1 200MHz and it is not like I
 thought.It looks like MS-DOS.Is that the only option or I need to type
 something to get it like Windows.If there is something I need to type
 please tell me what to type.Thank you.
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

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


Problems during Buildworld

2003-06-25 Thread David Lodeiro
When I try to do   make buildworld  I get this error


/usr/src/usr.sbin/acpi/amldb/amldb.c /usr/src/usr.sbin/acpi/amldb/debug.c 
/usr/src/usr.sbin/acpi/amldb/region.c 
/usr/src/usr.sbin/acpi/amldb/aml/aml_parse.c 
/usr/src/usr.sbin/acpi/amldb/aml/aml_name.c 
/usr/src/usr.sbin/acpi/amldb/aml/aml_amlmem.c 
/usr/src/usr.sbin/acpi/amldb/aml/aml_memman.c 
/usr/src/usr.sbin/acpi/amldb/aml/aml_store.c 
/usr/src/usr.sbin/acpi/amldb/aml/aml_obj.c 
/usr/src/usr.sbin/acpi/amldb/aml/aml_evalobj.c 
/usr/src/usr.sbin/acpi/amldb/aml/aml_common.c
echo amldb: /usr/obj/usr/src/i386/usr/lib/libc.a   .depend
=== usr.sbin/apm
rm -f .depend
mkdep -f .depend -a  /usr/src/usr.sbin/apm/apm.c
echo apm: /usr/obj/usr/src/i386/usr/lib/libc.a   .depend
=== usr.sbin/apmd
lex -t  /usr/src/usr.sbin/apmd/apmdlex.l  apmdlex.c
yacc -d -v /usr/src/usr.sbin/apmd/apmdparse.y
yacc: 1 rule never reduced
cp y.tab.c apmdparse.c
rm -f .depend
mkdep -f .depend -a-I. -I/usr/src/usr.sbin/apmd  
/usr/src/usr.sbin/apmd/apmd.c apmdlex.c apmdparse.c
echo apmd: /usr/obj/usr/src/i386/usr/lib/libc.a 
/usr/obj/usr/src/i386/usr/lib/libl.a  .depend
=== usr.sbin/bluetooth
=== usr.sbin/bluetooth/bt3cfw
rm -f .depend
mkdep -f .depend -a
-I/usr/src/usr.sbin/bluetooth/bt3cfw/../../../sys/netgraph/bluetooth/include  
/usr/src/usr.sbin/bluetooth/bt3cfw/bt3cfw.c
echo bt3cfw: /usr/sbin//usr/lib/libc.a /usr/sbin//usr/lib/libnetgraph.a  
.depend
=== usr.sbin/bluetooth/bcmfw
rm -f .depend
mkdep -f .depend -a
-I/usr/src/usr.sbin/bluetooth/bcmfw/../../../sys/netgraph/bluetooth/include  
/usr/src/usr.sbin/bluetooth/bcmfw/bcmfw.c
echo bcmfw: /usr/sbin//usr/lib/libc.a   .depend
=== usr.sbin/bluetooth/hccontrol
rm -f .depend
mkdep -f .depend -a
-I/usr/src/usr.sbin/bluetooth/hccontrol/../../../sys/netgraph/bluetooth/include  
/usr/src/usr.sbin/bluetooth/hccontrol/send_recv.c 
/usr/src/usr.sbin/bluetooth/hccontrol/link_policy.c 
/usr/src/usr.sbin/bluetooth/hccontrol/link_control.c 
/usr/src/usr.sbin/bluetooth/hccontrol/host_controller_baseband.c 
/usr/src/usr.sbin/bluetooth/hccontrol/info.c 
/usr/src/usr.sbin/bluetooth/hccontrol/status.c 
/usr/src/usr.sbin/bluetooth/hccontrol/node.c 
/usr/src/usr.sbin/bluetooth/hccontrol/hccontrol.c 
/usr/src/usr.sbin/bluetooth/hccontrol/util.c
echo hccontrol: /usr/sbin//usr/lib/libc.a   .depend
=== usr.sbin/bluetooth/hcsecd
lex -t  /usr/src/usr.sbin/bluetooth/hcsecd/lexer.l  lexer.c
yacc -d -o parser.c /usr/src/usr.sbin/bluetooth/hcsecd/parser.y
rm -f .depend
mkdep -f .depend -a
-I/usr/src/usr.sbin/bluetooth/hcsecd/../../../sys/netgraph/bluetooth/include  
/usr/src/usr.sbin/bluetooth/hcsecd/hcsecd.c lexer.c parser.c
/usr/src/usr.sbin/bluetooth/hcsecd/parser.y:41:20: hcsecd.h: No such file or 
directory
mkdep: compile failed
*** Error code 1

Stop in /usr/src/usr.sbin/bluetooth/hcsecd.
*** Error code 1

Stop in /usr/src/usr.sbin/bluetooth.
*** Error code 1

Stop in /usr/src/usr.sbin.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

I did

#cd /usr/src
#make buildworld

Is anyone familiar with this problem

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


Re: OSX Look and feel

2003-12-21 Thread David Lodeiro
 Howdy folks -

   Is it possible to get the look and feel of OSX (without getting a mac of
 course).


 Best regards,

 Chris

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

Yes it is, If you have KDE as your desktop manager, go to www.kde-look.org 
and have a look at the themes that you can install. Most require superkaramba 
to be installed. This is part of the port collection 

# cd /usr/ports/deskutils/superkaramba

There are several OSX style themes, and they even have the dynamic style 
menu. There are also other themes that are very usefull, such as liquid 
weather and minimon.

Try it out

Thanks

David Lodeiro

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