Re: Newbie question: Why aren't my cron jobs running?

2012-06-12 Thread Ramiro Caso

On 11/06/2012 23:10, Michael Sierchio wrote:

On Mon, Jun 11, 2012 at 7:04 PM, Walter Hurry walterhu...@gmail.com wrote:

As the subject says, this is probably a newbie question (I am new to
FreeBSD but quite experienced at Linux).

FreeBSD9 on x86_64.

Cron is running:

$ ps -ax|grep cron

  1513  ??  Is 0:00.01 /usr/sbin/cron -s

  2283   0  S+ 0:00.00 grep cron

$

I have a syntactically valid crontab:

$ crontab -l
#min hr dom month dow command

SHELL=/bin/bash


Pitfall: Even if bash is installed, it's not usually under /bin, but 
under /usr/local/bin




PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/
daddy/bin

HOME=/home/walterh

  00  02 *   * *   /home/walterh/exports.sh

  05  02 *   * *   /home/walterh/backup_etc.sh

  10  02 *   * *   /home/walterh/systemcheck.sh

  15  02 *   * *   /home/walterh/backup_bsd.sh

$

So what is wrong? Why is nothing happening? I have consulted the handbook
but see nothing.

Have you installed bash?  It's not in the system base.

What's in your shell scripts?

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



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


Re: no X after updating ports [Intel i945GME]

2012-05-23 Thread Ramiro Caso

On 21/05/2012 23:23, Antonio Olivares wrote:

Dear folks,

I have an acer-aspire 1 netbook running FreeBSD 9.0 i386.  It was
working beautifully, but after todays updates, X no longer works.


I have a similar problem. I have a Dell Inspiron 1318 running 9.0 amd. I 
use KDE4 (kde-4.7.4_1). After an upgrade of ports (using portupgrade), X 
works, but every time I launch a non-KDE application, X crashes. Putting 
vesa instead of intel in xorg.conf stopped the crashes.


I upgraded roughly the same ports, and I get a Segmentation fault: 11 
at address 0x10 error. The card is an Intel Mobile GM965/GL960 IGC.


If it helps, I can provide more details (upgraded ports, log files and 
screen output).



On screen I have

drm0:Intel i945GME  on vgapci0
info:  [drm] AGP at 0x2000 256MB
info:  [drm] Initialized i915 1.6.0 20080730

I have also:
xfsettingsd:  Fatal IO error 35 (Resource temporarily unavailable) on
X server :0.
xfce4-settings-helper:  Fatal IO error 35 (Resource temporarily
unavailable) on X server :0.
xfwm4:  Fatal IO error 35 (Resource temporarily unavailable) on X server :0.
Thunar:  Fatal IO error 35 (Resource temporarily unavailable) on X server :0.
wrapper:  Fatal IO error 35 (Resource temporarily unavailable) on X server :0.
xfce4-panel:  Fatal IO error 35 (Resource temporarily unavailable) on
X server :0.
gkrellm:  Fatal IO error 0 (No error:  0) on X server :0.
running 'ssh-agent -s -k'
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 1785 killed;
xinit connection to X server lost

waiting for X server to shut down xfdesktop:  Fatal IO error 2 (No
such file or directory) on X server :0.0.


Segmentation fault:  11 at address 0x10

Fatal server errror:
Caught signal 11 (Segmentation fault:  11). Server aborting

updates installed via portmaster:

fontconfig-2.9.0,1
gdk-pixbuf-2.23.5_2
gtk-2.24.6_1

also cairo went from cairo-1.10.2_3,1 to cairo-1.12.2,1

Any advice, comments or suggestions are greatly appreciated.

Best Regards,


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


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


(mutt +) msmtp problem?

2012-05-16 Thread Ramiro Caso
I use mutt (1.5.21) with msmtp (1.4.28) as MDA. Usually, everything goes 
smoothly, but every once in a while I lose network connectivity when 
sending email (I don't recall whether there is a correlation between 
this problem and my trying to send not-so-big but yet around 1mb files).


Basically, what happens in trying to send an email is:

May 16 10:01:17  wpa_supplicant[662]: CTRL-EVENT-DISCONNECTED 
bssid=**:**:**:**:**:** reason=0

...
May 16 10:02:27  wpa_supplicant[662]: CTRL-EVENT-CONNECTED - 
Connection to **:**:**:**:**:** completed (reauth) [id=0 id_str=]

...

Then I try again, and the same thing happens. All msmtp's log shows is:

errormsg='cannot write to TLS connection: Pipe Broken' exitcode=EX_IOERR

Any ideas?

Best,
Ramiro

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


Re: (mutt +) msmtp problem?

2012-05-16 Thread Ramiro Caso

On 16/05/2012 11:04, James Edwards wrote:

I use mutt (1.5.21) with msmtp (1.4.28) as MDA. Usually, everything goes
smoothly, but every once in a while I lose network connectivity when
sending email (I don't recall whether there is a correlation between
this problem and my trying to send not-so-big but yet around 1mb files).

Basically, what happens in trying to send an email is:

May 16 10:01:17  wpa_supplicant[662]: CTRL-EVENT-DISCONNECTED
bssid=**:**:**:**:**:** reason=0
...
May 16 10:02:27  wpa_supplicant[662]: CTRL-EVENT-CONNECTED -
Connection to **:**:**:**:**:** completed (reauth) [id=0 id_str=]
...

Then I try again, and the same thing happens. All msmtp's log shows is:

errormsg='cannot write to TLS connection: Pipe Broken' exitcode=EX_IOERR

Any ideas?

Best,
Ramiro


Based on above, mutt and msmpt *appear* to be fine, but this seems to be a
problem with the wireless driver, card, or router - you are being
disconnected from the network, which in turn is causing the 'broken pipe'.
Indeed, mutt + msmtp appear to be fine... My bad for not being 
clearer... However, there is a correlation that goes beyond credible 
coincidence: the disconnection happens when (and, as far as I can 
recall, only when) I use mutt + msmtp to send sizeable files. In 
particular, no disconnection occurs when I'm not using mutt + msmtp, or 
when I use mutt + msmtp but I send emails without sizeable attachments. 
Also, the disconnection happens within seconds of attempting to send the 
sizeable emails.


I guess it is a problem with the wireless card, but it seems to be 
somehow closely linked to the event of trying to send sizeable emails 
using mutt + msmtp (when I use thunderbird to send the files, everything 
works as expected, no disconnection).

You could feasibly work around it by using a wired connection, or take a
look at what is going on with your wireless.
My work around, for now, is to use thunderbird for sending large emails, 
so there's no hurry. But I'm a bit puzzled about what's happening.

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


Re: (mutt +) msmtp problem?

2012-05-16 Thread Ramiro Caso

On 16/05/2012 11:04, James Edwards wrote:

I use mutt (1.5.21) with msmtp (1.4.28) as MDA. Usually, everything goes
smoothly, but every once in a while I lose network connectivity when
sending email (I don't recall whether there is a correlation between
this problem and my trying to send not-so-big but yet around 1mb files).

Basically, what happens in trying to send an email is:

May 16 10:01:17  wpa_supplicant[662]: CTRL-EVENT-DISCONNECTED
bssid=**:**:**:**:**:** reason=0
...
May 16 10:02:27  wpa_supplicant[662]: CTRL-EVENT-CONNECTED -
Connection to **:**:**:**:**:** completed (reauth) [id=0 id_str=]
...

Then I try again, and the same thing happens. All msmtp's log shows is:

errormsg='cannot write to TLS connection: Pipe Broken' exitcode=EX_IOERR

Any ideas?

Best,
Ramiro


Based on above, mutt and msmpt *appear* to be fine, but this seems to be a
problem with the wireless driver, card, or router - you are being
disconnected from the network, which in turn is causing the 'broken pipe'.


Indeed, mutt + msmtp appear to be fine... My bad for not being 
clearer... However, there is a correlation that goes beyond credible 
coincidence: the disconnection happens when (and, as far as I can 
recall, only when) I use mutt + msmtp to send sizeable files. In 
particular, no disconnection occurs when I'm not using mutt + msmtp, or 
when I use mutt + msmtp but I send emails without sizeable attachments. 
Also, the disconnection happens within seconds of attempting to send the 
sizeable emails.


I guess it is a problem with the wireless card, but it seems to be 
somehow closely linked to the event of trying to send sizeable emails 
using mutt + msmtp (when I use thunderbird to send the files, everything 
works as expected, no disconnection).



You could feasibly work around it by using a wired connection, or take a
look at what is going on with your wireless.


My work around, for now, is to use thunderbird for sending large emails, 
so there's no hurry. But I'm a bit puzzled about what's happening.



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


9.0-RELEASE: Strange freezing and kernel panics on laptop

2012-02-15 Thread Ramiro Caso

Hi,

I'm in need of advice. I've recently installed FreeBSD 9.0-RELEASE on my 
laptop (a Dell Inspiron 1318) with a good deal of success. However, I've 
been experiencing a few hiccups, to say the least. The kernel is the 
GENERIC for the amd64 architecture that comes with the installation 
images (no funny compilation issues on my part):


$ uname -a
FreeBSD apeiron 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 
07:46:30 UTC 2012

r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

Since I've installed it, the system has been freezing for apparently no 
reason and, once in a while, rebooting upon a kernel panic. The kernel 
panics come in two varieties:


Fatal Trap 9: general protection fault while in kernel mode
Fatal Trap 12: page fault while in kernel mode

I have the dump files. [Concerning the Fatal Trap 12: I ran memtest86+ 
and everything turned out alright on the memory side.]


As for the recurrent freezing, it seems to me (but this is a hunch) that 
it might be related to wireless card issues (since, for what I can 
recall, it happens some time after I start having connection issues). 
Also, every time I do a netif restart, the system just freezes after 
displaying two lines:


bwn0: need multicast update callback
TODO: need swap

[In order not to raise side issues, I have a fully working LP PHY 
Broadcom 4312 (except for these issues), and I have hw.bwn.usedma=0 in 
loader.conf---but the freezing thing happens whether it is set to 1 or 
0.] A quick inspection to log files reveals some pattern in 
/var/log/messages:


===

Feb 10 19:01:59 apeiron wpa_supplicant[464]: WPA: Group rekeying 
completed with 68:7f:74:e9:d6:91 [GTK=TKIP]

Feb 10 19:22:02 apeiron kernel: bwn0: unexpected NULL ni
Feb 10 19:27:07 apeiron syslogd: kernel boot file is 
/boot/kernel/kernel

[...]
Feb 10 19:27:07 apeiron savecore: reboot after panic: general 
protection fault

Feb 10 19:27:07 apeiron savecore: writing core to vmcore.0


Feb 11 21:39:40 apeiron wpa_supplicant[464]: WPA: Group rekeying 
completed with 68:7f:74:e9:d6:91 [GTK=TKIP]

Feb 11 21:39:47 apeiron kernel: bwn0: device timeout
Feb 11 21:44:38 apeiron kernel: bwn0: unexpected NULL ni
Feb 11 21:44:38 apeiron kernel: bwn0: unexpected NULL ni
Feb 11 21:47:33 apeiron syslogd: kernel boot file is 
/boot/kernel/kernel



Feb 12 17:23:47 apeiron wpa_supplicant[464]: WPA: Group rekeying 
completed with 68:7f:74:e9:d6:91 [GTK=TKIP]

Feb 12 18:20:32 apeiron kernel: bwn0: device timeout
Feb 12 18:22:23 apeiron kernel: bwn0: unexpected NULL ni
Feb 12 18:31:49 apeiron syslogd: kernel boot file is 
/boot/kernel/kernel



Feb 13 17:16:43 apeiron kernel: bwn0: device timeout
Feb 13 17:21:39 apeiron kernel: bwn0: unexpected NULL ni
Feb 13 17:22:40 apeiron syslogd: kernel boot file is 
/boot/kernel/kernel

[...]
Feb 13 17:22:40 apeiron savecore: reboot after panic: page fault
Feb 13 17:22:40 apeiron savecore: writing core to vmcore.1


Feb 14 11:40:49 apeiron wpa_supplicant[464]: WPA: Group rekeying 
completed with 68:7f:74:e9:d6:91 [GTK=TKIP]

Feb 14 12:02:23 apeiron kernel: bwn0: device timeout
Feb 14 12:03:52 apeiron kernel: bwn0: unexpected NULL ni
Feb 14 12:12:27 apeiron kernel: , 2265.
Feb 14 12:13:10 apeiron syslogd: kernel boot file is 
/boot/kernel/kernel


===

As for the panics, they immediately follow two of the messages above, as 
you can appreciate in the quote.


Maybe the following can help (or not!!). In /var/log/messages, the 
following two lines keep showing:


  acpi0: reservation of 0, 9f000 (3) failed
  acpi0: reservation of 10, 7f56d800 (3) failed

Needless to say, this won't discourage me from using FreeBSD on my 
laptop, but it isn't very pleasant to have these kind of problems while 
working. Right now, the workaround I implemented is to use a Linksys 
wireless adapter I had sleeping in its box. However, being able to use 
the Broadcom card would be nice. Any help would be appreciated, if 
nothing else, to understand what's happening.


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


9.0-RELEASE: Strange freezing and kernel panics on laptop

2012-02-14 Thread Ramiro Caso

Hi,

I'm in need of advice. I've recently installed FreeBSD 9.0-RELEASE on my 
laptop (a Dell Inspiron 1318) with a good deal of success. However, I've 
been experiencing a few hiccups, to say the least. The kernel is the 
GENERIC for the amd64 architecture that comes with the installation 
images (no funny compilation issues on my part):


  $ uname -a
  FreeBSD apeiron 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 
07:46:30 UTC 2012

  r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

Since I've installed it, the system has been freezing for apparently no 
reason and, once in a while, rebooting upon a kernel panic. The kernel 
panics come in two varieties:


  Fatal Trap 9: general protection fault while in kernel mode
  Fatal Trap 12: page fault while in kernel mode

I have the dump files. [Concerning the Fatal Trap 12: I ran memtest86+ 
and everything turned out alright on the memory side.]


As for the recurrent freezing, it seems to me (but this is a hunch) that 
it might be related to wireless card issues (since, for what I can 
recall, it happens some time after I start having conection issues). 
Also, everytime I do a netif restart, the system just freezes after 
displaying two lines:


  bwn0: need multicast update callback
  TODO: need swap

[In order not to raise side issues, I have a fully working LP PHY 
Broadcom 4312 (except for these issues), and I have hw.bwn.usedma=0 in 
loader.conf---but the freezing thing happens whether it is set to 1 or 
0.] And that's about it. In particular, nothing shows in 
/var/log/messages. As for the panics, I'm clueless.


Maybe the following can help (or not!!). In /var/log/messages, the 
following two lines keep showing:


  acpi0: reservation of 0, 9f000 (3) failed
  acpi0: reservation of 10, 7f56d800 (3) failed

Needless to say, this won't discourage me from using FreeBSD on my 
laptop, but it isn't very funny to have these kind of problems while 
doing some work. Any help would be appreciated, if nothing else, to 
understand what's happening.


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


DMA problems with Broadcom 4312 under FreeBSD 9.0-RC3

2011-12-21 Thread Ramiro Caso
I have a Broadcom BCM4312 LP PHY that is giving me a hard time. I 
installed FreeBSD 9.0-RC3 a few days ago and it was working just fine. 
Here is the card info:


Dec 21 13:06:12 apeiron kernel: siba_bwn0: Broadcom BCM4312 802.11b/g 
Wireless mem 0xf6cfc000-0xf6cf irq 17 at device 0.0 on pci12

Dec 21 13:06:12 apeiron kernel: bwn0 on siba_bwn0
Dec 21 13:06:12 apeiron kernel: bwn0: WLAN (chipid 0x4312 rev 15) PHY 
(analog 6 type 5 rev 1) RADIO (manuf 0x17f ver 0x2062 rev 2)

Dec 21 13:06:12 apeiron kernel: bwn0: DMA (64 bits)
Dec 21 13:06:12 apeiron kernel: bwn0: Using 1 MSI messages
Dec 21 13:06:12 apeiron kernel: wlan0: Ethernet address: 00:24:2b:b0:d6:a4

As I said, it used to work perfectly fine with the usual setup:

if_bwn_load=YES
wlan_ccmp_load=YES
wlan_tkip_load=YES
bwn_v4_lp_ucode_load=YES
firmware_load=YES

wlans_bwn0=wlan0
ifconfig_wlan0=WPA DHCP

However, a few hours ago it started failing ocassionally, and now it 
fails almost all the time. The error message is:


Dec 21 13:16:42 apeiron kernel: bwn0: Fatal DMA error: 0x800 0 0 0 0 0
Dec 21 13:16:42 apeiron kernel: bwn0: HW reset: DMA error
Dec 21 13:16:42 apeiron kernel: bwn0: firmware version (rev 478 patch 
104 date 0x8701 time 0x657)

Dec 21 13:16:42 apeiron kernel: bwn0: Fatal DMA error: 0x400 0 0 0 0 0
Dec 21 13:16:42 apeiron kernel: bwn0: HW reset: DMA error
Dec 21 13:16:42 apeiron kernel: bwn0: firmware version (rev 478 patch 
104 date 0x8701 time 0x657)

..
Dec 21 13:16:44 apeiron kernel: bwn0: Fatal DMA error: 0x400 0x400 0 0 0 0
Dec 21 13:16:44 apeiron kernel: bwn0: HW reset: DMA error
Dec 21 13:16:44 apeiron kernel: bwn0: firmware version (rev 478 patch 
104 date 0x8701 time 0x657)

Dec 21 13:16:44 apeiron kernel: bwn0: Fatal DMA error: 0x400 0 0 0 0 0
Dec 21 13:16:44 apeiron kernel: bwn0: HW reset: DMA error
Dec 21 13:16:44 apeiron kernel: bwn0: firmware version (rev 478 patch 
104 date 0x8701 time 0x657)

..
Dec 21 13:16:55 apeiron kernel: bwn0: Fatal DMA error: 0x400 0 0 0 0 0
Dec 21 13:16:55 apeiron kernel: bwn0: HW reset: DMA error
Dec 21 13:16:55 apeiron kernel: bwn0: firmware version (rev 478 patch 
104 date 0x8701 time 0x657)

..


Any ideas?

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


Re: BWN Driver

2011-12-19 Thread Ramiro Caso
2011/12/19, Chris Brennan xa...@xaerolimit.net:
 I've got an HP Pavillian laptop with a Broadcom BCM4312 card. Below is
 what I've loaded so far and the result from /var/log/messages.

Hi, I have the same card, so maybe I can help. Some Broadcom chipsets
are LP (low power) PHY, so you have to load bwn_v4_lp_ucode instead of
bwn_v4_ucode. That worked for me. You may want to check the man page
for bwn, just to be sure.

Best,
Ramiro



 [root@blackdragon ~]# kldstat | grep bwn
 141 0x82035000 28a9abwn_v4_ucode.ko
 191 0x8205e000 2982cif_bwn.ko
 201 0x82088000 6183 siba_bwn.ko
 [root@blackdragon ~]#


 Dec 19 19:10:53 blackdragon kernel: fwohci0: 1394 Open Host Controller
 Interface mem 0xc7f5-0xc7f507ff irq 10 at device 9.0 on pci1
 Dec 19 19:10:53 blackdragon kernel: fwohci0: [ITHREAD]
 Dec 19 19:10:53 blackdragon kernel: fwohci0: OHCI version 0.0 (ROM=0)
 Dec 19 19:10:53 blackdragon kernel: fwohci0: invalid OHCI version
 Dec 19 19:10:53 blackdragon kernel: fwohci0: fwohci_init failed with err=6
 Dec 19 19:10:53 blackdragon kernel: device_attach: fwohci0 attach returned 5
 Dec 19 19:10:53 blackdragon kernel: siba_bwn0: Broadcom BCM4312 802.11b/g
 Wireless mem 0xfc00-0xfc003fff irq 23 at device 0.0 on pci8
 Dec 19 19:10:54 blackdragon kernel: bwn0 on siba_bwn0
 Dec 19 19:10:54 blackdragon kernel: bwn0: WLAN (chipid 0x4312 rev 15) PHY
 (analog 6 type 5 rev 1) RADIO (manuf 0x17f ver 0x2062 rev 2)
 Dec 19 19:10:54 blackdragon kernel: bwn0: DMA (64 bits)
 Dec 19 19:10:54 blackdragon kernel: bwn0: Using 1 MSI messages
 Dec 19 19:10:54 blackdragon kernel: bwn0: [FILTER]

 I get a nice bwn0 device with ifconfig, but I am unable to do anything
 with it and the little blue light on the front of my laptop stays red,
 even after playing with the switch for my Wireless device. I've gotten
 it to work in linux but not reliably and of course it does work in Windows.
 So I am a bit stumped as to what is wrong or what I am missing.

 --
 Chris Brennan
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org



-- 
Por favor, no enviar adjuntos de Word, Excel o PowerPoint.
http://www.gnu.org/philosophy/no-word-attachments.html

Please, do not send Word, Excel or PowerPoint attachments.
http://www.gnu.org/philosophy/no-word-attachments.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: Can you ACTUALLY print from FreeBSD?

2009-04-20 Thread Ramiro Caso

 I'm trying to print from my FreeBSD machine. I've been through a
 number of online tutorials and instructions on printing from Unix or
 FreeBSD in particular, but they all seem to start with the assumption
 that printing from the machine is possible. I'm trying to get to that
 starting point.
 
 I have installed:
 
 cups-base-1.3.9_3   Common UNIX Printing System
 cups-pdf-2.5.0  A virtual printer for CUPS to produce PDF files
 cups-pstoraster-8.15.4_2 Postscript interpreter for CUPS printing to non-PS 
 printers
 gutenprint-cups-5.1.7_3 GutenPrint Printer Driver
 libgnomecups-0.2.3_1,1 Support library for gnome cups admistration
 hplip-2.8.2_4   Drivers and utilities for HP Printers and All-in-One 
 device
 
 The printer I'm working with is a HP Officejet 4110.
 
 
 There seem to be several issues with printing. First, since this is a
 USB printer, the pinter is always owned by root:operator with read
 permissions for user, group, and world.
 
 Adding these lines to /etc/devfs.conf
 link ulpt0 printer
 own ulpt0 cups:cups
 perm ulpt0 0666
 
 will set the ownership to cups:cups and the permissions to read and
 write for user, group, and world on startup if the printer is already
 turned on and plugged in. However, if the printer is not turned on at
 startup, or if it is disconnected or turned off after system startup,
 ownership and permissions revert.
 
 Trying chown or chmod to the device at /dev/ulpt0 gives an invalid
 path error, and trying to do so following the instructions in the man
 page for devfs give 'operation not supported by device' errors.

 When th device is owned by root, attempting to print the test page
 generates a 'permission denied' error in CUPS. When the device is
 owned by cups, attempting to print the test page generates a failed
 error in CUPS.
 
 When the device is owned by cups, this error is reported in the error
 log in CUPS, if debug logging is enabled:
 
 [CGI] /usr/local/share/cups/drivers/pscript5.dll: No such file or directory
 
 There isn't a drivers directory in /usr/local/share/cups. I can make
 one, but where do I get the pscript5.dll, and what else is it going to
 rely on?
 
 CUPS et al were installed using portinstall, and CUPS is working well
 to produce .pdf files. I tried portupgrade last night on all the (I
 think) relevant ports, but the system thinks they are all up to date.
 
 So, questions:
 
 1. how can I get permissions on the device to stick, so that I do not
have to reboot the machine every time we want to print or have to
power cycle the printer?


You should use /etc/devfs.rules instead, adding something like:



add path 'ulpt*' mode 0660 group cups



This will set the right permissions when the node is created.


 2. Am I correct that the missing .dll (that seems awfully Windows to
me) is the problem in getting a filter to print? If so, what do I
need to do to install it?
 
 
 And, actually, a third printing-related issue: How do I get cupsd to
 start on startup? I have these two lines in /etc/rc.conf:\
 
 cupsd_enable=YES # enable cups printing management
 devfs_system_ruleset=system # something else they say cups needs
 
 but CUPS has to be manually started by root after each reboot. what
 else needs to be done to get cupsd to start at startup?
 
 Keith
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

_

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


RE: Can you ACTUALLY print from FreeBSD?

2009-04-20 Thread Ramiro Caso

 cups-base-1.3.9_3   Common UNIX Printing System
 cups-pdf-2.5.0  A virtual printer for CUPS to produce PDF files
 cups-pstoraster-8.15.4_2 Postscript interpreter for CUPS printing to non-PS 
 printers
 gutenprint-cups-5.1.7_3 GutenPrint Printer Driver
 libgnomecups-0.2.3_1,1 Support library for gnome cups admistration
 hplip-2.8.2_4   Drivers and utilities for HP Printers and All-in-One 
 device

Just a question: do you have foomatic filters installed? OpenPrinting suggests 
them, and I don't see them above.
 
 Keith
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

_
¿Querés saber cómo va a estar el clima mañana? Ingresá ahora a MSN
http://tiempo.ar.msn.com/ ___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: Webcam support in FreeBSD?

2009-03-29 Thread Ramiro Caso

 Date: Sun, 29 Mar 2009 12:09:42 -0700
 From: y...@rawbw.com
 To: freebsd-questions@freebsd.org
 Subject: Webcam support in FreeBSD?
 
 There are three Linux drivers supported under emulation code:
 devel/linux-kmod-compat 
 http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/linux-kmod-compat/, 
 multimedia/linux-gspca-kmod 
 http://www.freebsd.org/cgi/cvsweb.cgi/ports/multimedia/linux-gspca-kmod/, 
 multimedia/linux-ov511-kmod 
 http://www.freebsd.org/cgi/cvsweb.cgi/ports/multimedia/linux-ov511-kmod/.
 
 I couldn't find hardware compatibility list for FreeBSD.
 There is one for Linux ov511 driver here: 
 http://ovcam.org/ov511/cameras.html.
 
 Are any cameras really working under FreeBSD?
 Can they be used from Linux Skype on FreeBSD?

Maybe you could check out:

http://info.iet.unipi.it/~luigi/FreeBSD/usb-cameras.html

That seems to me a place to start... (if you find out something, please share!! 
I have the same concern)

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

_
¿Querés saber cómo va a estar el clima mañana? Ingresá ahora a MSN
http://tiempo.ar.msn.com/___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: configuring the freebsd boot manager

2009-03-29 Thread Ramiro Caso

 Hi everyone,
 
 I am having some problems understanding how the freebsd boot manager 
 works. I have installed FreeBSD and Linux on the same laptop HD and want 
 to be able to select which one to boot when the computer starts. I 
 installed the bootmanager to to the MBR during installation and when I 
 boot the laptop I am presented with four choices;
 
 F1 - FreeBSD
 F2 - Linux
 F3 - ???
 F4 - Linux
 
 but I am only able to select F1, F2-F3 only make the laptop beep and 
 doesnt load anything. The way I have set up the HD is for Partition 1 to 
 be a FreeBSD Slice, Partition 2 the Linux / Partition 3 is Linux swap 
 and Partition 4 is Linux /home. Any help would be great

This is a silly question, actually: do you have LILO installed on your Linux 
boot partition?
I have BootEasy on the MBR, and LILO on Linux boot, and it works just fine. 
Also:

http://www.freebsd.org/doc/en/books/faq/disks.html#BOOTEASY-LOADER

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

_
Encontrá el auto de tus sueños en MSN 
http://xml.mercadolibre.com.ar/org-img/msn/autos.html___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: renaming many Chinese files

2009-03-27 Thread Ramiro Caso

 Date: Thu, 26 Mar 2009 23:14:52 -0400
 To: misha...@hotmail.com
 From: david+dated+1238555693.f4d...@skytracker.ca
 CC: questi...@freebsd.org; david+dated+1238356671.fa5...@skytracker.ca
 Subject: Re: renaming many Chinese files
 
 that worked fine.  Thanks.

Glad it did. And sorry for the top-posting before (kind of new at this)

  Just a very quick thought (the first that pops into my mind): you could
  see which are the western characters that appear in the names, and then
  use sed to substitute all non-matching characters with nothing,
  something like:
 
  for i in *.jpg; do b=`echo $i | sed 's/[^CHAR_SET]//g'`; mv $i $b; done
 
  (without
  forgetting, obviously, to add . to the CHAR_SET, something like:
  [^a-zA-Z0-9.]; if you figure out a less clumsy way, please, share!!)
  I'm guessing that the initial 'P123' is just an example, or this will
  horribly backfire. But I'm really, REALLY, taking a shot in the dark
  here... (if you already thought of this, and it just doesn't work,
  sorry for the useless pitch)
 
 

  Date: Tue, 24 Mar 2009 15:57:51 -0400
  To: questi...@freebsd.org
  From: david+dated+1238356671.fa5...@skytracker.ca
  CC: 
  Subject: renaming many Chinese files
 
  I have hundreds of jpg images where each image is named P123.jpg
  where the  are chinese characters. I can't open the file - it
  has to be renamed before I can open it. Evening if I could open it
  I don't want the Chinese part as the name.
 
  Each file starts with 3 or four western characters and then has 3 or
  four chinese characters, before the western .jpg extension.
 
  I want to to test each filename character by character
  to see if it is western, and then when the first Chinese Character is 
  found, have it simply rename the file to the 3 or four western-character 
  name + .jpg
 
  I can write most of the script but I don't know how to test for 
  western and/or Chinese characters.
   
  I could run a script that would simply rename all the files to 
  a number in sequential order but I would rather use the existing
  starting name of the file if possible.
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
  freebsd-questions-unsubscr...@freebsd.org
  
 
  _
  Encontrá el auto de tus sueños en MSN 
  http://xml.mercadolibre.com.ar/org-img/msn/autos.html___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 

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

_
¿Querés saber cómo va a estar el clima mañana? Ingresá ahora a MSN
http://tiempo.ar.msn.com/___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: renaming many Chinese files

2009-03-24 Thread Ramiro Caso

Just a very quick thought (the first that pops into my mind): you could
see which are the western characters that appear in the names, and then
use sed to substitute all non-matching characters with nothing,
something like:

for i in *.jpg; do b=`echo $i | sed 's/[^CHAR_SET]//g'`; mv $i $b; done

(without
forgetting, obviously, to add . to the CHAR_SET, something like:
[^a-zA-Z0-9.]; if you figure out a less clumsy way, please, share!!)
I'm guessing that the initial 'P123' is just an example, or this will
horribly backfire. But I'm really, REALLY, taking a shot in the dark
here... (if you already thought of this, and it just doesn't work,
sorry for the useless pitch)


 Date: Tue, 24 Mar 2009 15:57:51 -0400
 To: questi...@freebsd.org
 From: david+dated+1238356671.fa5...@skytracker.ca
 CC: 
 Subject: renaming many Chinese files
 
 I have hundreds of jpg images where each image is named P123.jpg
 where the  are chinese characters. I can't open the file - it
 has to be renamed before I can open it. Evening if I could open it
 I don't want the Chinese part as the name.
 
 Each file starts with 3 or four western characters and then has 3 or
 four chinese characters, before the western .jpg extension.
 
 I want to to test each filename character by character
 to see if it is western, and then when the first Chinese Character is 
 found, have it simply rename the file to the 3 or four western-character 
 name + .jpg
 
 I can write most of the script but I don't know how to test for 
 western and/or Chinese characters.
  
 I could run a script that would simply rename all the files to 
 a number in sequential order but I would rather use the existing
 starting name of the file if possible.
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

_
Encontrá el auto de tus sueños en MSN 
http://xml.mercadolibre.com.ar/org-img/msn/autos.html___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: (no subject)

2009-01-25 Thread Ramiro Caso

 Date: Sat, 24 Jan 2009 22:29:01 -0500
 From: wcl...@dl1.njit.edu
 To: freebsd-questions@freebsd.org
 Subject: (no subject)
 
 I just in stalled VTiger and missed the instructions on how to install it
 .do know or is there a command that will let me find that info

You could take a look at /usr/ports/www/vtiger/files/pkg-message.in; this won't 
make the appropriate substitutions (i.e., '%%WWWDIR%%' for the actual 
directory), but still it's something (the same goes for 
www/vtiger-customerportal and german/vtiger, if you installed any of them).

_
Permanece actualizado con MSN Noticias. Clic aquí
http://noticias.cl.msn.com/___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: mounting Nokia N95

2009-01-23 Thread Ramiro Caso

 Date: Fri, 23 Jan 2009 21:17:09 +1000
 From: shin...@maydias.com
 To: freebsd-questions@freebsd.org
 Subject: mounting Nokia N95
 
 is there any utility or pkg in freebsd that will allow me to browse my 
 nokia N95 files?  i have quite a substantial amount of files i wish to 
 backup, if nothing else the pictures.
 
 Any help is appreciated.

What about this? Try in /usr/ports:

# make print-index
# make search key=mobile

This should give you some ports, like gammu, kmobiletools and obexapp. Some of 
them are for more than just browsing files, but it's just a suggestion.

_
¿Quieres saber cómo va a estar el clima mañana? ¡Ingresa ahora a MSN!
http://tiempo.cl.msn.com/___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: Cannot perform user mounts after upgrade

2009-01-21 Thread Ramiro Caso

 Date: Tue, 20 Jan 2009 19:56:29 +0100
 From: rsm...@xs4all.nl
 To: freebsd-questions-lo...@be-well.ilk.org
 CC: freebsd-questions@freebsd.org; misha...@hotmail.com
 Subject: Re: Cannot perform user mounts after upgrade
 
 On Tue, Jan 20, 2009 at 01:44:48PM -0500, Lowell Gilbert wrote:
   The mount point still has the same ownership (me) and permissions (755) as
   before. Both /etc/devfs.rules, /etc/rc.conf and /etc/sysctl.conf have the
   relevant lines for allowing user mounts, namely:
  
   /etc/sysctl.conf==  vfs.usermount=1
   /etc/devfs.rules==  [localrules=10]
add path 'da*s*' mode 0660 group usb
   /etc/rc.conf==  devfs_system_ruleset=localrules
  
   I don't recall this being necessary, but I also have devd enabled in 
   rc.conf,
   although with no special rules for umass in devd.conf. Needless to say, I 
   belong
   to group usb. This configuration worked before just fine. Any ideas?
  
  You certainly always needed permissions on a device to be able to mount
  it.  For a device already present at boot time, you would need an entry
  in devfs.rules.  For a device plugged in later, you would instead need
  devd to know how to handle it.
 
 For stuff available at boot you should use devfs.conf. The devfs.rules
 file is for devices that are plugged in later.


Thank you both for taking the time to answer!! Finally, the rule in devfs.rules 
was ok, but the file itself was a little bit messy. I cleaned it up, and it 
works perfectly now... sorry for the inconvenience, and thanks again!!
_
¿Qué puedes hacer con el nuevo Windows Live? Descúbrelo.
http://www.microsoft.com/latam/windows/windowslive/___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Cannot perform user mounts after upgrade

2009-01-18 Thread Ramiro Caso

I can't perform user mounts for my pendrive, and I used to be able to, before
making an upgrade. Moreover, user mounts for both /dev/cd0 and /dev/fd0 are
still operational. Root mounts are possible, but it's doesn't strike me as good
practice, and it is a little bit of an annoyance. I need help, at least a hint
in some direction or other, because at this point I'm clueless.

I'm running FreeBSD 7.1-RELEASE-p2, GENERIC kernel, i386. I just did a major
ports updating, including perl-5.8.8 == perl-5.8.9. I ran the
perl-after-upgrade script, and warned me about possible problems with
/usr/local/sbin/snmpd and /usr/local/sbin/snmptrapd, but nothing else. I also
recently installed /usr/ports/misc/compat5x, among other ports. I have some
security and related ports installed, but they never caused problems before.

The command I used is the expected one:

  % mount -t msdosfs /dev/da0s1 ~/media/pendrive

Now it gives the following (quite uninformative) error:

  mount_msdosfs: /dev/da0s1: : Operation not permitted

Strangely enough, a user mount with a read-only option works just fine:

  % mount -o ro -t msdosfs /dev/da0s1 ~/media/pendrive

The mount point still has the same ownership (me) and permissions (755) as
before. Both /etc/devfs.rules, /etc/rc.conf and /etc/sysctl.conf have the
relevant lines for allowing user mounts, namely:

/etc/sysctl.conf==  vfs.usermount=1
/etc/devfs.rules==  [localrules=10]
 add path 'da*s*' mode 0660 group usb
/etc/rc.conf==  devfs_system_ruleset=localrules

I don't recall this being necessary, but I also have devd enabled in rc.conf,
although with no special rules for umass in devd.conf. Needless to say, I belong
to group usb. This configuration worked before just fine. Any ideas?

_
Disfrutá los mejores contenidos en MSN Video.
http://video.msn.com/?mkt=es-xl___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org