f77 in FreeBSD 8.2

2011-04-05 Thread Eduardo Viruena Silva

Hello, FreeBSD gurus,

I have noticed that the Fortran Compiler f77 that used to be
in freebsd sources is not longer there in version 8.2-stable,
now it's in the obsolete software list.

Nevertheless, it has some directories in the sources:

/usr/src/gnu/usr.bin/cc/f77
/usr/src/gnu/usr.bin/cc/f77/Makefile
/usr/src/gnu/usr.bin/cc/f771
/usr/src/gnu/usr.bin/cc/f771/Makefile
/usr/src/gnu/usr.bin/cc/f77doc
/usr/src/gnu/usr.bin/cc/f77doc/Makefile


How can I install that compiler?

The one in the ports does not work as fine as the the one in
the sources.


Thanks in advace,

 Eduardo.

PS. Please answer to my e-mail address, I'm not subscribed to
the list.


___
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: f77 in FreeBSD 8.2

2011-04-05 Thread Eduardo Viruena Silva
On Tue, April 5, 2011 7:44 pm, Mehmet Erol Sanliturk wrote:
 On Tue, Apr 5, 2011 at 7:46 PM, Eduardo Viruena Silva 
 eduardo.viru...@esfm.ipn.mx wrote:


 Hello, FreeBSD gurus,

 I have noticed that the Fortran Compiler f77 that used to be
 in freebsd sources is not longer there in version 8.2-stable,
 now it's in the obsolete software list.

 Nevertheless, it has some directories in the sources:

 /usr/src/gnu/usr.bin/cc/f77
 /usr/src/gnu/usr.bin/cc/f77/Makefile
 /usr/src/gnu/usr.bin/cc/f771
 /usr/src/gnu/usr.bin/cc/f771/Makefile
 /usr/src/gnu/usr.bin/cc/f77doc
 /usr/src/gnu/usr.bin/cc/f77doc/Makefile


 How can I install that compiler?

 The one in the ports does not work as fine as the the one in
 the sources.


 Thanks in advace,

 Eduardo.

 PS. Please answer to my e-mail address, I'm not subscribed to
 the list.




 My answer is NOT related directly to your question , please forgive me .


 I am using G95 ( from www.g95.org which is in the packages of FreeBSD ) in
 Windows and Linux , and I like it very much because it generates very good
 code , especially if the stack traces are enabled in command line , on run
 time errors it is giving nearly exact source line of the error point with
 a
 list of called subroutines chain  . Since the G95 is generated from the
 same
 sources for the FreeBSD , I think there is no difference between platform
 related compilers .

 Another point is ( if your source files have .FOR extension , it is using
 Fortran 77 , if it is .F90 , it is using the Fortran 95 ( be careful about
 cases of letters ) . For such points , please read its manual . If any
 Fortran 77 source file has .F90 extension , it will produce a lot of
 errors
 because Fortran 77 is fixed line format based , Fortran 90 or 95 is free
 line format based .

 Thank you very much .


 Mehmet Erol Sanliturk


Thanks Mehmet.

I'd better start promoting the use of g95.

Some people in the list say that f77 users must move on in their lives
and leave f77 behind.




Something curious is happening, g95 does not seem to find its library
libg95.

I have to write explicitly:

g95 foo.for -o foo  -L/usr/local/lib

to compile the program foo.

/etc/rc.d/ldconfig restart does not fix the problem.
Any ideas?


Thanks for answering,

 Eduardo.

___
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: passwd file and user accounts

2007-07-07 Thread Eduardo Viruena Silva

On Sat, 7 Jul 2007, Lisa Casey wrote:


Hi,

This is probably a stupid question, but I'll ask it anyway...

I have a Red Hat Linux system I need to get rid of. It is currently doing 
e-mail for approximately 700 users and is also doing radius authentication. I 
have setup a new FreeBSD computer to take it's place. I have everything setup 
now on the FreeBSD computer except for the user accounts and mailboxes. The 
mailboxes aren't a problem, I've used tar to move mailboxes before.


I suppose I cannot simply copy /etc/passwd, /etc/group and /home from the 
Redhat computer to the FreeBSD computer due to the password hash in 
/etc/passwd. Am I correct on this?  Would it be possible to copy /etc/passwd 
then (before the new system goes live) reset all the passwords with the 
passwd command? That might be easier than adding in close to 700 accounts 
using adduser.  Does anyone  have a better idea of how I might go about doing 
this?


Yes, you are right, you cannot simply copy the password files.

FreeBSD and RedHat passwords files have different formats,
and they also have different User IDs for the system users.

Your real problem is to merge RedHat's /etc/passwd and /etc/shadow
in order to create your /etc/master.passwd in FreeBSD and then
you have to create your hash db from this file.

In RedHat for instance, you have:

/etc/passwd:  daemon:x:2:2:daemon:/sbin:/sbin/nologin
/etc/shadow:  daemon:*:11688:0:9:7:::

Meaning:
/etc/passwd:  UserName:x:UserID:GroupID:RealName:HomeDir:Shell
/etc/shadow:  UserName:CryptedPassword:...

In FreeBSD's master.passwd, you have:

daemon:*:1:1::0:0:Owner of many system processes:/root:/usr/sbin/nologin

UserName:CryptedPassword:UserId:GroupId:UserName:LogClass:0:0:RealName:HomeDir:Shell

As you can see, daemon has different UIDs.

I believe RedHat also uses MD5 for coding passwords but I do not know it
for sure.  So, take ONLY the entries of YOUR USERS and merge them in the
FreeBSD's format and leave the list in a file.

Once you have done this, use 'vipw' to edit your master.passwd, include 
your file of your users, and save it.  This program will create your hash

table and will update the password files.

Good luck.

  Eduardo





Thanks,

Lisa Casey


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


Re: OT: Re: The worst error message in history belongs to... BIND9!

2007-07-04 Thread Eduardo Viruena Silva






On Wed, 4 Jul 2007, CyberLeo Kitsana wrote:


Andrea Venturoli wrote:

Robert Huff wrote:

=?iso-8859-1?Q?Kyrre_Nyg=E5rd?= writes:


 It has to be the worst written error message in history.


Not even close.  I commend to you the Amiga's BSOD:

  Software Guru
Meditation Number
   very long string of hex digits


Well, there's always Windows' Insufficient Memory, which usually means
anything but memory being full :-)



Unable to delete file: not enough free space available.


Fatal error: the operation completed successfully

--


IBM:
 keyboard no present, press F1 to continue.

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


Re: /var/lib disappeared

2007-07-01 Thread Eduardo Viruena Silva

On Sun, 1 Jul 2007, [EMAIL PROTECTED] wrote:


On 01/07/07, Bruno DAMOUR [EMAIL PROTECTED] wrote:

Hello,
I'm begging for help, my /var/lib disappeared. I don't know why, but the
most important is to recreate it.
What is usually there ? I know i had my postgresql data in there, but
anything more ?
Please help with whats's in yours...

Bruno

PS : it must be not that bad because I didn't yet notice anything wrong
aside of postgresql
PS2 : is there any config change that could have borked my /var/lib ?
I'm runnung up-to-date current ( 1W)


A couple of empty directories here (I do not
have postgresql) and /var/lib/xkb/README.compiled
which, after reading it, I strongly doubt is needed
for anything to run.

Default man 7 hier makes no mention of /var/lib
so I would hazard that it is not needed by anything
in world.

--

try:

  pkg_info -f \* | grep /var/lib

my system does not report but the creation of several directories.


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


Re: flash

2007-07-01 Thread Eduardo Viruena Silva

On Sun, 1 Jul 2007, kalin mintchev wrote:


and which port do i exactly install to be able to whach flash video?
i did the /usr/ports/www/flashplugin-mozilla - didn't work. the other one
is marked as broken...
now that cnn moved to that i can't watch it anymore and i have never been
able to see any of the videos on youtube  what do i need?


___


I installed linux-firefox and linux-flashplugin9, from the ports.

They compiled flawlessly and work fine.



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


Re: Gnome2 +FreeBSD , help

2007-06-25 Thread Eduardo Viruena Silva

On Mon, 25 Jun 2007, dhaneshk k wrote:


Hi all ,

To install Gnome Desktop  environment  for  FreeBSD -6.2 , which method is 
most suitable and less time consumable ,


1   .   I m plannig to do a  portinstall 
/usr/ports/x11/gnome2   (how much time it will take on a normal p4 , 512 DDR 
machine   ?  )  I heard  it will take 3 days or more is it ?


normal p4 does not tell us anything about its frequency.
in a core-duo 3GHz it took about 12 hours in being compiled.



2 .  is ther any speedy way to install  Gnome desktop   other than this  ? 
if so which is that method ? how much time will it take ?




try:
 sysinstall
configure
   packages


3 . In FreeBSdD6.2 release , what the role of theISO image  Disk No 2 ? I 
finished my installation with 6.2 ISO image disk 1 , whats more in disk 2 , 
while installation its is not asking Disc2, is it not necessary   ?




disc 2 contains additional packages, I believe gnome is in disc 2.



pls give your comments on these  matters ..It will hep me a lot

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]


Re: questions about floppy disk

2007-06-25 Thread Eduardo Viruena Silva

On Sun, 24 Jun 2007, Olivier Regnier wrote:


Hi everyone,

I have two questions about floppy disk with FreeBSD.

How add a UFS filesystem to use the diskette for transfering files ?

I think with this command but i'm not sure because, i can't check for the 
moment.

# newfs /dev/fd0

To mount a floppy disk with ufs filesystem, i must use this command ?
# mount /dev/fd0 /mnt/floppy

Thank you for your help

Bye bye,
Olivier Regnier



try mtools, from the ports.

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


FreeBSD 6.2-STABLE / Gnome / Beryl (recipe)

2007-06-22 Thread Eduardo Viruena Silva



Hello Guys,

After several hours of compilation, I have got
my FreeBSD/Gnome/Beryl working properly.  It took
almost 2 days of compiling processes.

To those who are interested, here is a log of
what I did:


Installed the minimal installation of
FreeBSD 6.2-RELEASE.  When my computer
woke up, I configure its mouse (a PS/2
microsoft optical mouse) by adding
the next lines to /etc/rc.conf:

moused_enable=YES
moused_flags=-z 4
moused_port=/dev/psm0
moused_type=auto

 michelle#  /etc/rc.d/moused start

Once it was working, I installed cvsup-without-gui:

 michelle#  pkg_add -r cvsup-without-gui
 michelle#  rehash

Configured my /etc/cvsupfile as shown:

-/etc/cvsupfile--
*default  host=cvsup.FreeBSD.org
*default  base=/usr
*default  prefix=/usr
*default  release=cvs
*default  tag=RELENG_6
*default  delete use-rel-suffix

src-all
*default tag=.
ports-all
doc-all
 end of /etc/cvsupfile  -

Updated my system to 6.2-STABLE:

   michelle#  cvsup /etc/cvsupfile

(several hours later... )

Prepared my system to build the world.

   michelle#  cd /etc/src
   michelle#  make buildworld

(several hours later...)

   michelle#  make installworld
   michelle#  mergemaster

This last step makes a lot of questions.
I aswered i (install) to all of them.


Configured my kernel:

   michelle# cd /usr/src/sys/i386/conf
   michelle# cp GENERIC eviruena

Added my particular necessities:

...
   michelle# vi eviruena
   options  SMP
   device   atapicam
   device   drm
   device   i915drm
   device   sound
...
   michelle# config eviruena
   michelle# cd ../compile/eviruena
   michelle# make cleandepend
   michelle# make depend
   michelle# make
   michelle# make install
   michelle# reboot

In this point you have to check that you have
the device file: /dev/agpgart, if you don't,
perhaps your graphic card is not properly
handled by FreeBSD.


I installed Xorg 7.2.  It can be obtained from
FreeBSD packages:

   michelle# pkg_add -r xorg

it can take a lot of time, depending on your
ISP.  Some others (fearless men) prefer to compile
it from the ports, check the file
/usr/ports/UPGRADING  before doing anything.

Now, the problem is to get gnome installed.
I did not find it in the packages of 6-STABLE,
so I compiled it:

   michelle# setenv BATCH yes
   michelle# cd /usr/ports/x11/gnome2
   michelle# make clean install clean

as you can see, I am working with tcsh, if you
prefered bourne shell, you have to type:

export BATCH=yes

instead of:
setenv BATCH yes


(one day later...)

[Michelle (my computer) had some problems to find
opal-2.2.8.tar.gz; I found it by google-ing it, loaded
it in /usr/ports/distfiles and continued Gnome compilation].

Finally, gnome was compiled and installed.

Then, I needed to compile beryl:

michelle# cd /usr/ports/x11-wm/beryl
michelle# make clean install clean


Next, I had to configure X.  It is quite simple, but it is
a little tricky:

   michelle# X -configure

I had to make some changes to the configuration
obtained above, basicly I needed to include some options
that are not loaded by default.  I have to say that I own
an intel motherboard and I am using its graphic card
(it is an i950GM).  The X configuration requires to
include:

(in section ServerLayout)
   Option   AIGLX true

(in secion Device)
Option  XAANoOffscreenPixmaps true
Option  DRI true

(in section Screen)
DefaultDepth 24
Option   AddARGBGLXVisuals True

and, finally, I needed to add another two sections:

   Section Extensions
   Option Composite Enable
   EndSection

   Section dri
  Mode 0666
   EndSection


You must be warned that ATI and Nvidia Cards may requiere some
other options, please take a look at:

 http://wiki.beryl-project.org/index.php/Install/FreeBSD

Of course, you can add any other options in your X configuration,
v. gr., your keyboard layout or your mouse extensions, in
Mexico, for instance, we use Latinamerican keyboard, so I
included:

(in section InputDevice [keyboard])
   Option  XkbRules xorg
   Option  XkbModel pc105
   Option  XkbLayout latam

Now, I had an account and in this account I configured gnome
to start with my X session:

  michelle echo exec gnome-start  .xinitrc
  michelle chmod a+x .xinitrc

and tested X  gnome:

  michelle startx

everything worked ok.  Now, I opened a system terminal and I
typed:

 michelle  beryl-manager

as a consequence of this, a ruby was displayed in my launch bar.
I had wobbly windows, cubic desktops, etc.



I have to thank to Reid Linnemann from the freebsd-questions list,
for suggesting me compile 6.2-STABLE, and to Jose Luis Enriquez,
for helping me to configure X.


Hope it helps.


Cheers,

   Eduardo.
___
freebsd-questions@freebsd.org mailing list

Re: Hardware monitor needed

2007-06-21 Thread Eduardo Viruena Silva

On Thu, 21 Jun 2007, Laszlo Nagy wrote:



Hi,

My FreeBSD 6.2 server restarts suddenly once or twice a day. I believe it is 
because the processor is overheated, but I'm not sure. Is there a way to 
check this from software? I would like to install a hardware monitor program 
that can log out processor temperature in every minute. The mainboard is ASUS 
P5LD2, if that matters. Is there a software out there that can do this for 
me?


Of course I could buy a new processor fan (or a water cooling system) but I 
do not want to spend money before I make sure that is the root of the 
problem.


Thanks,

 Laszlo



Believe it or not, my computer had the same behavoir because
it was very dirty.  It took 3 cans of compressed air
to clean it.   Once clean, it worked perfectly.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd on laptop

2007-06-20 Thread Eduardo Viruena Silva

On Wed, 20 Jun 2007, Tsu-Fan Cheng wrote:


hi folks,
 I want to buy a laptop and install linux and freebsd, the problem is,
some 14' laptop doesnt come with cdrom and floppy, but has win2000
installed. How can I install linux and freebsd on it? My experience is about
installing on a desktop by booting from floppies. THank you!!



You can boot from floppies, configure your network card and install the 
system using FTP.


I had used a diskless system to install FreeBSD in computers that
do not even have floppies!

There is a lot of possibilities.

   Eduardo.

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


6.2-stable/gnome

2007-06-20 Thread Eduardo Viruena Silva


Hello!

My systems says:

FreeBSD michelle.esfm.ipn.mx 6.2-STABLE FreeBSD 6.2-STABLE #0: Wed Jun 20 
15:14:14 CDT 2007 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/eviruena  i386


I would like to install gnome BUT I CANNOT FIND IT.

If I try:

 pkg_add -r gnome2

I get:

michelle:/home/mrspock pkg_add -r gnome2
Error: FTP Unable to get 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/Latest/gnome2.tbz: 
File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/Latest/gnome2.tbz' 
by URL


the same thing happends if I try:  gnome, gnome2, etc.

Is there a way of installing gnome2 without compiling it from the ports?

(of course, I have the FreeBSD 6.2-RELEASE discs but they are outdated,
the dependences are completely different from the ones used in 6.2-STABLE)

Thanks in advance.

Eduardo.
___
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 freebsd-update

2007-06-15 Thread Eduardo Viruena Silva

On Fri, 15 Jun 2007, RJ45 wrote:




hello
I have 2 servers with FreeBSD 6.2 rebuilt from sources.

when I use freebsd-update it fetchs updates and install them.
AFter rebooting I always have the old kernel booting.

what's wrong ?

thanks


Rick


Did you compile your kernel?
Building the world from the sources does not modify your kernel.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


beryl/KDE

2007-06-15 Thread Eduardo Viruena Silva


Hi Guys,

I have installed FreeBSD 6.2-STABLE in my computer,
I also compiled and installed Xorg 7.2, KDE, and beryl,
everything seems to be ok.

Ok, now what?

What do I have to do for KDE has the beryl effects?

Any reference?

Thanks in advance.

  Eduardo.


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


beryl/agpgart/i810/Intel 950 GMA

2007-06-13 Thread Eduardo Viruena Silva


Hello Guys,

I have an Intel 950 GMA video card,
built-in in my computer's motherboard.
My motherboard is D945NT.

I installed FreeBSD-6.2-RELEASE, and cvsupdated
it to FreeBSD-6.2-RELEASE-p5.

Installed my ports and cvsupdated them.

I found beryl  in /usr/ports/x11-wm, it
seemed to depend on Xorg-7.2

I successfully upgrade Xorg-6.9 to Xorg-7.2.
I also compiled beryl, everything seems to be ok.

..and I have tried to make it work, I give up.

The problem seems to be that X is
trying to find /dev/agpgart, according
to my /var/log/Xorg.0.log:

(II) I810(0): VESA VBE OEM Vendor: Intel Corporation
(II) I810(0): VESA VBE OEM Product: Intel(r) 82945G Chipset Family 
Graphics Controller

(II) I810(0): VESA VBE OEM Product Rev: Hardware Version 0.0
(II) I810(0): Integrated Graphics Chipset: Intel(R) 945G
(--) I810(0): Chipset: 945G
(--) I810(0): Linear framebuffer at 0x4000
(--) I810(0): IO registers at addr 0x5010
(==) I810(0): Write-combining range (0x5010,0x8) was already clear
(II) I810(0): 2 display pipes available.
(II) I810(0): detected 7932 kB stolen memory.
(EE) GARTInit: Unable to open /dev/agpgart (No such file or directory)
(WW) I810(0): /dev/agpgart is either not available, or no memory is available
for allocation.  Using pre-allocated memory only.
(--) I810(0): Pre-allocated VideoRAM: 7932 kByte

I have seen beryl working on Gentoo Linux,
/dev/agpgart is present in an identical system,
and it seems to me that it is not a problem
of memory allocation.

so...

What do I have to do to create /dev/agpgart?

My kernel has

device  agp

present.

Thank you in advance.

 Eduardo.

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


Unable to open /dev/agpgart

2006-04-09 Thread Eduardo Viruena Silva


FreeBSD gurus, I need your advice.

I have a Dell computer with a on-board video card
that I suppose is Intel 82945G, running
FreeBSD 6.0-RELEASEp6.

My kernel has:

device agp

nevertheless, I don't get  /dev/agpgart.

I found references to PR80396 in google, but I cannot see
this report.

Obviously, X does not work.  What can I do?  Could you help me?

Thanks in advance.

Eduardo.

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


RE: shell question

2005-04-06 Thread Eduardo Viruena Silva
On Tue, 5 Apr 2005, Björn König wrote:

 mrspock at esfm dot ipn dot mx wrote:

  I need to concatenate the standard output and then
 standard
  error output in a file, but I need to convert the standard

  output into PostScript before the concatenation.
 
program stdin stdout  2 stderr
cat stdout  out
a2ps stderr  out
 
  a2ps is in the ports and it converts plain text into
 PostScript.
 
  The problem is that I don't want to use the temporary file

  that I used above (stdout, stderr, out), I just want a
 filter

 program  stdin 31 12 23 | a2ps

 Regards Björn


Thanks for your help,  Björn.

I think I'd better study a little more this redirection operators.

Thanks again.

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


Re: shell question

2005-04-06 Thread Eduardo Viruena Silva
On Wed, 6 Apr 2005, Richard Caley wrote:

 In article [EMAIL PROTECTED], mrspock  (m) writes:

 m The problem is that I don't want to use the temporary
 m file that I used above (stdout, stderr, out), I just
 m want a filter

 If you want to rearange the output so that all the errors are after
 all the non errors, then you are going to need storage of some sort. I
 think that is logically unavoidable.

 There may be some kind of shuffle you can do with named pipes or
 something, but those kind of things have limited storage. Any time
 your command produces more error output than that space can hold, it
 will be stopped. Since you are not reading that stream until the main
 output is finished you'd then have a deadlock.

 --
 Mail me as [EMAIL PROTECTED]_O_
  |

Thank you, Richard.

Efectively, I found that is easier to create a temporary file with
one of the output files, in this case stderr.   Stderr is used,
in this case to create a listing of the data that the program is
using and, occasionally, it issues an error message, in this case
the program stops.

I finally programmed this process in this way:

   program 2 tempfile | (cat  a2sp tempfile) | ps2pdf

As I already stated, my program is creating a PostScript output
in its stdout and a listing in the stderr file.  a2ps is
converting this listing to PostScript and both of them, finally,
are converted to a PDF document with GhostScripts [in the ports].

Finally, the name pipes is very precise to describe what is
happening with the streams; obviously, if I want to process one
of the streams after the other one, I need to contain the water
of the second temporally.

Thanks for your time and your help.

Eduardo.


PS.
Perhaps you are interested in visiting my page:

http://michelle.esfm.ipn.mx/~mrspock/superspiro

Cut  Paste one of the examples and execute the program at the
end of the page.



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


RE: shell question

2005-04-05 Thread Eduardo Viruena Silva
On Tue, 5 Apr 2005, Björn König wrote:


 program stdin stdout  2 stderr
 cat stdout  out
 a2ps stdout  out

 You meant

program stdin stdout  2 stderr
cat stdout  out
a2ps **stderr**  out

 Don't you?

yes! sorry!

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


Re: QLogic 2312

2005-01-21 Thread Eduardo Viruena Silva
On Fri, 21 Jan 2005, Jason Henson wrote:

 On 01/20/05 18:33:04, Eduardo Viruena Silva wrote:
 
 
  Hello FreeBSD gurus!
  I have a question for you.
 
  We have a small mounster: HP Proliant BL20
  two Xeon processors, 2Gb RAM, QLogic SCSI
  2312, and some other scary characteristics.
 
  Now, I installed FreeBSD 5.3-RELEASE almost
  accidentally.  I mean, it seemed to me that
  our computer got frozen when it was booting
  with the FreeBSD CDROM, no, it didn't,
  it was just taking 10 minutes to check the
  scsi card.
 
  My kernel boot log says:
 
  Copyright (c) 1992-2004 The FreeBSD Project.
  Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993,
  1994
  The Regents of the University of California. All rights
  reserved.
  FreeBSD 5.3-RELEASE #0: Fri Nov  5 04:19:18 UTC 2004
  [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
 
  ...
 
  isp0: Qlogic ISP 2312 PCI FC-AL Adapter port 0x3000-0x30ff mem
  0xf7dd-0xf7dd0fff irq 11 at device 3.0 on pci1
  isp0: [GIANT-LOCKED]
  isp0: Polled Mailbox Command (0x2) Timeout
  isp0: Polled Mailbox Command (0x8) Timeout
  device_attach: isp0 attach returned 6
  isp1: Qlogic ISP 2312 PCI FC-AL Adapter port 0x3400-0x34ff mem
  0xf7dc-0xf7dc0fff irq 11 at device 3.1 on pci1
  isp1: [GIANT-LOCKED]
  isp1: Polled Mailbox Command (0x2) Timeout
  isp1: Polled Mailbox Command (0x8) Timeout
  device_attach: isp1 attach returned 6
 
  There, in the GIANT-LOCKEDs and timeouts...
 
  Now, my computer boots ok, but the booting process
  takes 20 minutes!!!
 
  I also cvsup-graded my computer, built world, installed it,
  customized my kernel, installed it.  Now the kernel
  reports to be FreeBSD 5.3-RELEASE-p5 but still takes
  20 minutes to boot.
 
  My questions are:
WHY it takes so long?
Can I do something to fix this problem?


 Did a google for isp0: Polled Mailbox Command (0x2) Timeout and the
 3rd item to come up was, I think, your answer.

 http://docs.freebsd.org/cgi/getmsg.cgi?fetch=15842+0+archive/2001/freebsd-scsi/20010729.freebsd-scsi

 It says you need to load the firmware for your scsi from /boot/
 loader.conf to boot.



Effectively, I enabled the ROM of our scsi cards and everything
worked ok.  The only problem was that disc 0 became disc 2...
I do not know why.  It was, in my opinion a simple problem I can live
with, that only took 1 minute to solve by changing my /etc/fstab.

Thanks Jason!

Thanks list.


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


QLogic 2312

2005-01-20 Thread Eduardo Viruena Silva


Hello FreeBSD gurus!
I have a question for you.

We have a small mounster: HP Proliant BL20
two Xeon processors, 2Gb RAM, QLogic SCSI
2312, and some other scary characteristics.

Now, I installed FreeBSD 5.3-RELEASE almost
accidentally.  I mean, it seemed to me that
our computer got frozen when it was booting
with the FreeBSD CDROM, no, it didn't,
it was just taking 10 minutes to check the
scsi card.

My kernel boot log says:

Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.3-RELEASE #0: Fri Nov  5 04:19:18 UTC 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC

...

isp0: Qlogic ISP 2312 PCI FC-AL Adapter port 0x3000-0x30ff mem 
0xf7dd-0xf7dd0fff irq 11 at device 3.0 on pci1
isp0: [GIANT-LOCKED]
isp0: Polled Mailbox Command (0x2) Timeout
isp0: Polled Mailbox Command (0x8) Timeout
device_attach: isp0 attach returned 6
isp1: Qlogic ISP 2312 PCI FC-AL Adapter port 0x3400-0x34ff mem 
0xf7dc-0xf7dc0fff irq 11 at device 3.1 on pci1
isp1: [GIANT-LOCKED]
isp1: Polled Mailbox Command (0x2) Timeout
isp1: Polled Mailbox Command (0x8) Timeout
device_attach: isp1 attach returned 6

There, in the GIANT-LOCKEDs and timeouts...

Now, my computer boots ok, but the booting process
takes 20 minutes!!!

I also cvsup-graded my computer, built world, installed it,
customized my kernel, installed it.  Now the kernel
reports to be FreeBSD 5.3-RELEASE-p5 but still takes
20 minutes to boot.

My questions are:
  WHY it takes so long?
  Can I do something to fix this problem?


Please, CC your answer to my address, I'm not subscribed to the list.

Thanks in advance.

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


HP Proliant Blade BL20

2005-01-18 Thread Eduardo Viruena Silva


Hello Guys!

We have a little monster, a HP Blade BL20.
It has two Xeon processor at 2.8 GHz and
a QLogic 2312 SCSI controller a lot of memory.

Now, I cannot make FreeBSD run in it.

FreeBSD 4.10 seems to begin the booting
process  but suddenly when it probes the
SCSI card it issues:

device_probe_and_attach:  isp0: attach returned 6

I do not know what it means.

Fedora Core 3 also issues similar SCSI failures.

FreeBSD 5.3 and 5.2.1 get frozen and cannot even
finish to load the kernel.  I tried to boot FreeBSD
5.3 from floppies also with the same result.

After a Google search I discovered that Linux
RedHat Advanced Server 3 can be installed but it
requires an updated SCSI driver after the installation.

Has anybody installed any version of FreeBSD
in a HP Proliant Blade BL20 ?

Can it be done?

Can you please help me?

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]


[no subject]

2004-12-16 Thread Eduardo Viruena Silva

Hello, FreeBSD gurus!

Suppose a very old Irix computer that is impossible to update
and it is somehow necessary, because it receive and send
mail for a *lot* of people.

I would like to filter the mail that this computer receive
with a FreeBSD box using spamassassin and clamav.

Old Irix Computer == FreeBSD Mail Filter == Internet.

I mean, I would like to put the FreeBSD Box in the way,
not receiving mail, but filtering it.

Even more, people sending/receiving mail to each other in the
Old Irix Computer should filter their messages also.

Is it possible to do this?
How can I do it?

I have full access to the DNS, so I can change MX records
or whatever it would be necessary.

I'm not subscribed to this list, please cc your answer to
my address.

Thanks in advance.

Eduardo.


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


Re: latex2html problems (fwd)

2004-10-11 Thread Eduardo Viruena Silva


 Thanks for answering Parv.

 I have a Phedora Core 2 system where latex2html works fine.
 It uses netpbm-9.24 not netpbm-10.24 as FreeBSD does.

 So... forced FreeBSD to uninstall netpbm-10.24, and
 then downloaded and compiled netpbm-9.24.

 It is a little tricky because netpbm does not supports
 FreeBSD, so I took openbsd option and changed the
 Makefile.config to fulfill FreeBSD requirements.

 Once it was installed, latex2html worked fine.

 Now, I do not know what to think.
 Either,  latex2html is trying to use options that
 do not work with netpbm-10.24, or netpbm-10.24 does
 not work properly.


g

it seems that latex2html requieres an option.
if I include the option:  -notransparent
html2ltex works fine with netpbm-10.24.

nevertheless, it displays the formulae with
gray background. They look horrible.



 I think this deserves a report.

 Thanks for your help.

   Eduardo.


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


latex2html problems (fwd)

2004-10-08 Thread Eduardo Viruena Silva

Hello FreeBSD gurus!
I have a question for you.

I have installed FreeBS 5.2.1-RELEASEp9  in my computer.
I also upgraded my ports, compiled and installed the following
ports:

latex2html-2002.2.1_3 Convert LaTeX documents to HTML
teTeX-2.0.2_2 Thomas Esser's distribution of TeX  friends

latex2html seems to work fine but it does not process formulas.
Perhaps this example is a little too large, but...


Example:

---test.tex--
\documentclass{article}
\begin{document}
 $\sin(x)$
\end{document}
---end of test.tex

Michelle:/home/mrspock/tex latex2html test

--- it was properly processed but,  at the end:  ---

 *** processing 1 images ***

Generating postscript images using dvips ...
This is dvips(k) 5.92b Copyright 2002 Radical Eye Software (www.radicaleye.com)
' TeX output 2004.10.07:1523' - /tmp/l2h879/image
(- /tmp/l2h879/image001) tex.proalt-rule.protexc.prof7b6d320.enc
aae443f0.enctexps.prospecial.procolor.procmmi10.pfbcmr10.pfb[1]
Converting image #1
pstoimg: Error: /usr/local/bin/ppmquant -floyd 256  /tmp/l2h879/p892.pnm | 
/usr/local/bin/pnmtopng -interlace -trans '#ff'   img1.png failed:

Error while converting image

Doing section links ..
Done.



Now, pstoimg is a function in /usr/local/bin that was installed by
latex2html.

pnmtopng  was installed by netpbm-10.24... and it seems that it
is being called with a pair of parameters that does not seem to work.


Does anybody know if there is a solution for this?

Thanks in advance.

Eduardo.

PS.
Please reply to my e-mail address, I'm not subscribed to the list.

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


latex2html problems

2004-10-07 Thread Eduardo Viruena Silva

Hello FreeBSD gurus!
I have a question for you.

I have installed FreeBS 5.2.1-RELEASEp9  in my computer.
I also upgraded my ports, compiled and installed the following
ports:

latex2html-2002.2.1_3 Convert LaTeX documents to HTML
teTeX-2.0.2_2 Thomas Esser's distribution of TeX  friends

latex2html seems to work fine but it does not process formulas.
Perhaps this example is a little too large, but...


Example:

---test.tex--
\documentclass{article}
\begin{document}
 $\sin(x)$
\end{document}
---end of test.tex

Michelle:/home/mrspock/tex latex2html test

--- it was properly processed, but at the end:  ---

 *** processing 1 images ***

Generating postscript images using dvips ...
This is dvips(k) 5.92b Copyright 2002 Radical Eye Software (www.radicaleye.com)
' TeX output 2004.10.07:1523' - /tmp/l2h879/image
(- /tmp/l2h879/image001) tex.proalt-rule.protexc.prof7b6d320.enc
aae443f0.enctexps.prospecial.procolor.procmmi10.pfbcmr10.pfb[1]
Converting image #1
pstoimg: Error: /usr/local/bin/ppmquant -floyd 256  /tmp/l2h879/p892.pnm | 
/usr/local/bin/pnmtopng -interlace -trans '#ff'   img1.png failed:

Error while converting image

Doing section links ..
Done.



Now, pstoimg is a function in /usr/local/bin that was installed by
latex2html.

pnmtopng  was installed by netpbm-10.24... and it seems that it
is being called with a pair of parameters that does not seem to work.


Does anybody knows if there is a solution for this?

Thanks in advance.

Eduardo.



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


p5-Apache-ASP

2004-09-13 Thread Eduardo Viruena Silva


I have Apache 2 http server installed in my computer.
I would like to install p5-Apache-ASP, but it wants
to install mod_perl and  it fails to compile it.

Apache2 uses mod_perl2 and I cannot find a way of
specifying that I have Apache2 to the Makefile.

Does anybody have installed p5-Apache-ASP with Apache2 ?


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


Fast Data Access MMU Miss

2004-04-20 Thread Eduardo Viruena Silva
Hello, FreeBSD gurus!

We have a Sun Microsystem Blade 2000 computer.

I tried to install FreeBSD on it,
when I try to boot from my FreeBSD-5.2.1 CD,
the loader seems to start working and
suddenly it issues this message:

Fast Data Access MMU Miss

and dies.

Do you have any idea of what is happening?
My disc worked ok in an old Sparc 10.

Thanks in advance.

Eduardo Viruena.

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


/etc/hosts ::1, bind 9, rncd

2004-04-14 Thread Eduardo Viruena Silva


Hello, FreeBSD Gurus!

I have a very strange question for you.

I have two FreeBSD-5.2.1-p4  boxes, i386  sparc64.

I installed bind-9.3.2 in both computers, configured
my /etc/rc.conf as follows:

named_enable=YES
named_flags=-u bind
named_program=/usr/local/sbin/named

it worked perfectly in my i386 box, particularly rndc worked fine.

Now, in the sparc64 box, I tried:

sparc64:/home/mrspock# rndc reload
rndc: connect failed: connection refused

WHY?   I asked myself, in my i386 box it works fine.

Then I tried:


sparc64:/home/mrspock# rndc -V reload
create memory context

... a lot of useful information, and then, this:

using server localhost (::1#953)
create socket
connect
rndc: connect failed: connection refused


in my i386 box, the things were different:


i386:/home/mrspock# # rndc -V reload
create memory context

... a lot of useful information, and then, this:

using server localhost (127.0.0.1#953)
create socket
connect
create message
render message
schedule recv
send message
parse message
create message
render message
schedule recv
send message
parse message


Now, the problem seemed to be that my i386 opened
communication with 127.0.0.1#953, and my sparc64
tried:  ::1#953

Then I remembered that my rndc.conf file  referred
to localhost.  The i386 converted it to 127.0.0.1
and the sparc64 to ::1.

And finally, I found that, in /etc/hosts there were
two lines saying:

::1 localhost
127.0.0.1   localhost

and here I am... driving myself crazy...

WHY DID NOT MY SPARC TAKE THE FIRST LINE
OF localhost IN  /etc/hosts/  AS MY
I386 DID?

To fix it, I just exchange those lines.

Incredible, isn't it?
What happened here?
Should I report this as a bug??

Hope you can give relief by sending me an answer.

Thanks in advance.

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


Re: spam in an inbox.

2004-04-11 Thread Eduardo Viruena Silva
On Sun, 11 Apr 2004, Peter Schuller wrote:

  How can I do that?
 
  Of course, I can make a program that decides where each message starts and
  where it ends, save it in a file and then filter it with spamassassin and
  with the filtered file use grep to find X-Spam-flag: YES to discard this
  message.
 
  I think it is too complicated... Is there an easier solution?

 If you can find a mailbox format converter (I'm sure there are a few but I
 haven't checked), you could convert it to Maildir and easily script the
 operation as with a Maildir each message will be a separate file. That way
 you don't have to do the parsing.


Thank you, Peter.

The problem was already solved with formail  procmail.

formail can process the mailbox --as you suggest-- and procmail
calls spamassassin in its rules.  Once the messages are
classified, procmail filters spam.

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


spam in an inbox.

2004-04-10 Thread Eduardo Viruena Silva

Hello, FreeBSD gurus!

I have a system that uses procmail  spamassassing to filter spam, but
there is an old account of a friend of mine that had not activated
its filter and received a lot of spam messages.

Now, we have his inbox and about 9000 messages which are spam and
messages he wants to read.

Is it possible now to filter the already received messages and
discard the spam from them?

How can I do that?

Of course, I can make a program that decides where each message starts and
where it ends, save it in a file and then filter it with spamassassin and
with the filtered file use grep to find X-Spam-flag: YES to discard this
message.

I think it is too complicated... Is there an easier solution?

Thanks in advance.

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


Re: spam in an inbox.

2004-04-10 Thread Eduardo Viruena Silva
On Sat, 10 Apr 2004, albi wrote:

 On Sat, 10 Apr 2004 15:03:09 -0500 (CDT)
 Eduardo Viruena Silva [EMAIL PROTECTED] wrote:

  I have a system that uses procmail  spamassassing to filter spam, but
  there is an old account of a friend of mine that had not activated
  its filter and received a lot of spam messages.
 
  Now, we have his inbox and about 9000 messages which are spam and
  messages he wants to read.
 
  Is it possible now to filter the already received messages and
  discard the spam from them?
 
  How can I do that?

 hi, take a look at the manual-page of formail, it's part of procmail
 afaik, a Google-search for formail filter might help

 HTH,GL


Thanks, something like:

formail -s procmail -m .procmailrc  inbox

did the job.

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


SNMP FreeBSD as a router.

2004-03-26 Thread Eduardo Viruena Silva

Hello, FreeBSD gurus!

I have a FreeBSD 5.2.1 box that I'm using as a
router and I would like to watch how its interfaces
are being used.

I would like to use MRTG in another FreeBSD box
to graph the use of the interfaces, but I do not
how to make my router an SNMP agent.

How do I do that?

Any pointers will be appreciated.

Thanks in advance.

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


RE: SNMP FreeBSD as a router.

2004-03-26 Thread Eduardo Viruena Silva
On Fri, 26 Mar 2004, Andras Kende wrote:



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Eduardo Viruena
 Silva
 Sent: Friday, March 26, 2004 8:00 AM
 To: [EMAIL PROTECTED]
 Subject: SNMP  FreeBSD as a router.


 Hello, FreeBSD gurus!

 I have a FreeBSD 5.2.1 box that I'm using as a
 router and I would like to watch how its interfaces
 are being used.

 I would like to use MRTG in another FreeBSD box
 to graph the use of the interfaces, but I do not
 how to make my router an SNMP agent.

 How do I do that?

 Any pointers will be appreciated.

 Thanks in advance.

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


 Eduardo,


 cd /usr/ports/net/net-snmp
 make install clean
 snmpconf -i
 /etc/rc.conf : snmpd_enable=YES
 /usr/local/etc/rc.d/snmpd.sh start



thank you very much Andras!


 Andras Kende
 http://www.kende.com




- __ _
*   /   /###\   / \   __
 /\  /\ *  /  ./ \ * \__|_/  |  |
/  \/  \   |   b#|   *_ |   __   |  |  __
=.. \  \ \_\#/   / \|  /  \  |  | /\_\/
=  \_|* \___\###/   *\_/\_/\__/\__\/_/\__/
 =   \__/   _
  | |
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SNMP FreeBSD as a router.

2004-03-26 Thread Eduardo Viruena Silva
On Fri, 26 Mar 2004, Breno Colom wrote:

  El 26/26/2004 09:50AM, Jorn Argelo escribio:
  I believe that there's an SNMP daemon shipping with FreeBSD. At least, I have
  one on my FreeBSD 5.2.1 Box and I never installed anything regarding SNMP.
 
  /usr/local/sbin/snmpd
 

 FreeBSD doesnt ship an SNMP daemon with the base system, if it did it would've
 been placed in /usr/sbin, you can test which port that binary came from
 using:

 % pkg_which /usr/local/sbin/snmpd

 The package you'd want to use for SNMP is net-snmp.


thank you guys!
I found it in /usr/ports/net/net-snmp


 --
 Breno


- __ _
*   /   /###\   / \   __
 /\  /\ *  /  ./ \ * \__|_/  |  |
/  \/  \   |   b#|   *_ |   __   |  |  __
=.. \  \ \_\#/   / \|  /  \  |  | /\_\/
=  \_|* \___\###/   *\_/\_/\__/\__\/_/\__/
 =   \__/   _
  | |
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sparc Ultra 10 X

2004-03-20 Thread Eduardo Viruena Silva
On Sat, 20 Mar 2004, Kris Kennaway wrote:

 On Sat, Mar 20, 2004 at 12:11:38AM -0600, Eduardo Viruena Silva wrote:
 
  Saludos, FreeBSD gurus!
 
  I'm trying to configure X in an old sparc ultra 10.

 This is unsupported, since it doesn't have a Creator3D card (the only
 supported graphics card on FreeBSD/sparc64 right now).

Thanks Kris.

... perhaps in a near future.


 Kris


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


Sparc Ultra 10 X

2004-03-19 Thread Eduardo Viruena Silva

Saludos, FreeBSD gurus!

I'm trying to configure X in an old sparc ultra 10.

I tried  without modifying GENERIC kernel, and I got:

Fatal server error:
xf86OpenConsole: No console driver found
Supported drivers: syscons
Check your kernel's console driver configuration and /dev entries


Now, in my kernel configuration the only thing that I found
about graphics cards is:

#device   creator # Creator graphics cards
#device   splash  # Splash screen and screen saver

But I do not know if I have a creator graphics card.

I uncommented this lines and recompile again.
The result was the same.

I found vga in man pages.  According to this page,
you can add:

device  vga

in your kernel configuration, but when I try it says:

UltaMan:/usr/src/sys/sparc64/conf# config evs
config: Error: device vga is unknown
config: 1 errors


Have you installed (and ran) X in this kind of computers?
Does it work?
Is there any trick I have to learn?

Thanks in advance.

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


ClamAV 0.67, SendMail, FreeBSD 5.2.1-RELEASE-p1

2004-03-11 Thread Eduardo Viruena Silva

Hello FreeBSD Gurus!

I have installed FreeBSD 5.2.1-RELEASE and
upgraded it to  FreeBSD 5.2.1-RELEASE-p1.
I also upgraded my ports with cvsup.

I am trying to install ClamAV Milter in my system.

I think I have to do this:

1. Compile the port:
cd /usr/ports/security/clamav
make WITH_MILTER=yes install

there is a problem with this port:
it does not compile, the line 384 of
/usr/ports/security/clamav/work/clamav-0.67/clamav-milter/clamav-milter.c
has a problem, it requires to include
malloc.h which is obsolete and is reduced
to issue a error message saying stdlib.h
must be included instead.
I changed this line to include stdlib.h
and make the port again.  It installed it.
---

2.  Configure clamav.

cd /usr/local/etc
cp clamav.conf.sample clamav.conf

I had to change line describing LocalSocket to:
LocalSocket /var/run/clamav/clamd.sock

and also uncomment line:
StreamSaveToDisk

3. Modify /etc/rc.conf:
clamav_clamd_enable=YES
clamav_clamd_socket=/var/run/clamav/clamd.sock
clamav_freshclam_enable=YES
clamav_milter_enable=YES
clamav_milter_socket=/var/run/clamav/clamd.sock

4. Upgrade virus data files:

 michelle# freshclam

 ClamAV update process started at Thu Mar 11 03:26:31 2004
 Reading CVD header (main.cvd): OK
 Downloading main.cvd [*]
  main.cvd updated (version: 21, sigs: 20094, f-level: 1, builder: tkojm)
 Reading CVD header (daily.cvd): OK
 Downloading daily.cvd [*]
 daily.cvd updated (version: 176, sigs: 338, f-level: 1, builder: ddm)
 Database updated (20432 signatures) from database.clamav.net
 (193.1.219.100).



5. Start clamav:
cd /usr/local/etc/
rc.d/clamav-clamd.sh start

I checked the socked was created:

michelle# ls -la /var/log/clamav
total 38
drwxr-xr-x  2 clamav  clamav512 Mar 10 18:25 .
drwxr-xr-x  3 rootwheel4096 Mar 11 03:05 ..
-rw-r-  1 rootclamav  15231 Mar 11 03:32 clamd.log
-rw-r--r--  1 clamav  clamav  15402 Mar 11 03:03 freshclam.log

so far, so good.

rc.d/clamav-freshclam.sh start
rc.d/clamav-milter.sh start

AND IN THIS POINT I RECEIVED THIS MESSAGE:
Can't talk to clamd server via /var/run/clamav/clamd.sock
Check your entry for LocalSocket in /usr/local/etc/clamav.conf

and the system log /var/log/messages has this message:
Mar 11 03:30:39 Michelle mrspock: rc.d/clamav-milter.sh: WARNING: Stale socket
/var/run/clamav/clamd.sock removed.




-
I cannot continue.
But, if I could, I would do this:


6. Reconfigure sendmail.

According to
/usr/ports/security/clamav/work/clamav-0.67/clamav-milter/INSTALL

I have to modify my /etc/mail/freebsd.mc file.
I have to include these lines: [I'm also running spammassassin]


INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass-milter.sock, F=, 
T=C:15m;S:4m;R:4m;E:10m')
define(`confMILTER_LOG_LEVEL', 7)

INPUT_MAIL_FILTER(`clamav',`S=local:/var/run/clamav/clamd.sock, F=, T=S:4m;R:4m')dnl
define(`confINPUT_MAIL_FILTERS',`spamassassin,clamav')


Then I remake my sendmail.cf file:
make
make install

This also have a problem, it includes a lot
of blank lines in sendmail.cf [approx. in
lines 61-90], and sendmail complains about it.
I erased them.  Sendmail did not complain anymore.


7. Restart sendmail.

cd /etc/mail
make restart




bu..

Can any body help me?

Is there something else I have to do?
Please answer to my address, I am not
subscribed in the list.

Thanks in advance.

Eduardo.



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


Re: ClamAV 0.67, SendMail, FreeBSD 5.2.1-RELEASE-p1

2004-03-11 Thread Eduardo Viruena Silva
On Thu, 11 Mar 2004, Jonathan T. Sage wrote:



 Ed Budd wrote:
  On Thu, 11 Mar 2004 03:52:18 -0600 (CST)
  Eduardo Viruena Silva [EMAIL PROTECTED] wrote:
 
 1. Compile the port:
 cd /usr/ports/security/clamav
 make WITH_MILTER=yes install
 
 there is a problem with this port:
 it does not compile, the line 384 of
 /usr/ports/security/clamav/work/clamav-0.67/clamav-milter/clama
 v-milter.c has a problem, it requires to include
 malloc.h which is obsolete and is reduced
 to issue a error message saying stdlib.h
 must be included instead.
 I changed this line to include stdlib.h
 and make the port again.  It installed it.
 ---
 
  Don't know why you'd have to do this. I've got similar combo
  (FBSD 5.2.1,sendmail, clamav, clamav-milter) to you and never had to do
  anything like this. Maybe you cvsup'ed at a bad time or your ports tree
  needs cleaning/updating??.


 I can verify this as happening.  Tried 2 nights ago, however
 clamav-devel works fine. (-current)

Thanks Jonathan.
My ports are ok, Ed.



 3. Modify /etc/rc.conf:
 clamav_clamd_enable=YES
 clamav_clamd_socket=/var/run/clamav/clamd.sock
 clamav_freshclam_enable=YES
 clamav_milter_enable=YES
 clamav_milter_socket=/var/run/clamav/clamd.sock
 
 
 
 
  This is the same as mine except I don't include the socket path in
  rc.conf. I don't think you need to unless you're putting it in a
  non-default location (which yours is). Also, you've got two entries here
  for the same socket file. I don't think this is correct. On
  my system, clamav-milter uses/var/run/clamav/clmilter.sock and it's
  created via the sendmail config - not through rc.conf. Try taking that
  last line out and trying again.
 

 bingo.  clamd and clamav-milter do NOT use the same socket.
 clamav-milter needs to make it's own which sendmail talks to, then it in
 turn talks to clamd.


Thanks again, Jonathan  Ed.
That explains the problem.
It works fine, now.



 

 
 INPUT_MAIL_FILTER(`spamassassin',
 `S=local:/var/run/spamass-milter.sock, F=, T=C:15m;S:4m;R:4m;E:10m')
 define(`confMILTER_LOG_LEVEL', 7)
 
 INPUT_MAIL_FILTER(`clamav',`S=local:/var/run/clamav/clamd.sock, F=,
 T=S:4m;R:4m')dnl
 define(`confINPUT_MAIL_FILTERS',`spamassassin,clamav')
 

 you're gonna run into trouble here mostly because you are trying to
 connect to the clamd socket when you *should* be connecting to the
 clamav-milter socket.  (two different sockets, per above)


 hope this helps, let me know if ya need any more pointers.

 FWIW - set both these up 2 days ago, and damn are they cool :)


Yes, spamassassin has no mercy, Thanks to all gods!
and now clamav is filtering all the windows fauna.

Thank you guys!


 ~j


 --
 Yesterday upon the stair I saw a man
 who wasn't there, he wasn't there
 again today, oh how i wish he'd go away

 Rev. Jonathan T. Sage
 Lighting / Set Designer
 Professional Web Design

 [HTTP://theatre.msu.edu]
 [EMAIL PROTECTED]
 [See Headers for Contact Info]


- __ _
*   /   /###\   / \   __
 /\  /\ *  /  ./ \ * \__|_/  |  |
/  \/  \   |   b#|   *_ |   __   |  |  __
=.. \  \ \_\#/   / \|  /  \  |  | /\_\/
=  \_|* \___\###/   *\_/\_/\__/\__\/_/\__/
 =   \__/   _
  | |
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


forward after procmail filtering.

2004-03-06 Thread Eduardo Viruena Silva

Hello FreeBSD Gurus!

I would like to send a copy of my mail to another
account I have in another system, but I want to do it after
spamassassin and clamav filter my mail.

How do I do that?

Thanks in advance.

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


Konqueror and flash

2004-02-19 Thread Eduardo Viruena Silva

Hello FreeBSD gurus!

I trying to add a plug-in to konqueror.
Now, in the menu

Settings/Configure Konqueror/plugins

has a button that says:

scan for new plugins

and, when I push it, a message tells me:


The nspluginscan executable cannot be found. Netscape
plugins will not be scanned.


where may I find nspluginscan ?

I installed linux-mozilla and linux-flashplugin6 and they work
fine.  Can I make linux-flashplugin6 work with Konqueror?

Please answer to my e-mail address, I'm not subscribed to
the list.

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


ep0 lost in FreeBSD 5.1

2003-11-10 Thread Eduardo Viruena Silva

Hello Pals!

While installing FreeBSD 5.1-RELEASE in an old Pentium II
computer I lost any contact with my 3com509 nic.

I reinstalled FreeBSD 5.0 and it worked again,
but I would like to use FreeBSD 5.1.

WHAT IS HAPPENING?

Will ep stop functioning in FreeBSD 5.1-RELEASE?
It works fine with FreeBSD 5.0-RELEASE p7.





- __ _
*   /   /###\   / \   __
 /\  /\ *  /  ./ \ * \__|_/  |  |
/  \/  \   |   b#|   *_ |   __   |  |  __
=.. \  \ \_\#/   / \|  /  \  |  | /\_\/
=  \_|* \___\###/   *\_/\_/\__/\__\/_/\__/
 =   \__/   _
  | |
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ep0 lost in FreeBSD 5.1

2003-11-10 Thread Eduardo Viruena Silva
On Mon, 10 Nov 2003, Eduardo Viruena Silva wrote:


 Hello Pals!

 While installing FreeBSD 5.1-RELEASE in an old Pentium II
 computer I lost any contact with my 3com509 nic.

 I reinstalled FreeBSD 5.0 and it worked again,
 but I would like to use FreeBSD 5.1.

 WHAT IS HAPPENING?

 Will ep stop functioning in FreeBSD 5.1-RELEASE?
 It works fine with FreeBSD 5.0-RELEASE p7.


Sorry Pals!

I disable ACPI and everything worked ok.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Audigy FreeBSD 5.1

2003-11-06 Thread Eduardo Viruena Silva

Hello pals!


I had configured my Creative Labs Audigy sound card,
but I made an upgrade to FreeBSD 5.1 patch 10
and I lost my configuration and now I don't even have
the /dev sound devices created at boot time.

I remember that I found some patches to the kernel
specially something relative to emu10k1 or something
like that but I also lost the links...

Do you have some suggestions to configure my audio card?

Any Idea will be appreciated.

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


Re: commande 'make' non reconnue

2003-06-06 Thread Eduardo Viruena Silva
 Original Message 
Subject: Re: commande 'make' non reconnue
From: [EMAIL PROTECTED]
Date: Thu, June 5, 2003 12:49 pm
To: [EMAIL PROTECTED]

Philippe,

It would be a good idea write your message in English.

 Bonjour,

 j'ai trouvé votre adresse de courriel dans la page si quelquechose se
 passe mal
 (http://www.freebsd-fr.org/doc/fr/books/handbook/kernelconfig-trouble.html)

you are saying that you found this mail address in the file:
what if something goes wrong in:

http://www.freebsd-fr.org/doc/fr/books/handbook/kernelconfig-trouble.html


 je suis tout nouveau dans Linux, en voulant installer ma carte
 video j'ai découvert que la commande make n'est pas reconnue par mon
 Mandrake 8.1, ça me répond qu'elle n'existe pas quand je tape man
 make

 la facilité avec laquelle vous parlez de Linux sur votre site me
 laisse espérer que vous saurez m'aider

you said:

t you are new at Linux [even though this is not a linux list].
t and you wish install your video card, when you typed make command
in t Mandrake 8.1 it is not recognized.  Now, you are supposing we
speak t Linux fluently, and this make you think we can help...

sorry, this is not a Linux List.
we do not know which video card you are using and
it is almost impossible for us to help you installing your
card in that operating system.




 merci à vous,
 Philippe

 p.s. vous conseillez de joindre le fichier de configuration du noyau,
 mais je ne sais pas de quoi il s'agit


Argh!!! my French is abandoning me...

You said:
t we suggest to attach your configuration file but you dont know
t how...

Perhaps you referred to /etc/X11/XF86Config file, but I don't know
where to find it in Mandrake.

THIS IS A FREEBSD LIST, NOT A LINUX-MANDRAKE LIST.


 ___
 [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: Doh ! Installed FBSD5.0 and no more dual boot

2003-06-01 Thread Eduardo Viruena Silva
On Sun, 1 Jun 2003, lukek wrote:

 You are absolutely correct during the installation process I chose to have
 FreeBSD install it's own boot loader just as I had a number of times before
 with older versions but there must be a subtle difference between the older
 versions and the latest.

 The disk is showing that the NTFS partition is active ( I have used a number
 of tools to check on this ) but no cigar.

 Thanks for your assistance thus far. I will keep looking for something to
 fix this.

 LukeK

Tell me something:   Does FreeBSD boot?

It seems to me Win2k is somehow broken but, if FreeBSD can boot
then you can read the NTFS slice, therefore you can make a backup
of your data storesd in Win2k slice.

mount -t ntfs /dev/ad0s1 /mnt

will mount slice 1 of ATA disk 0 if it contains an NTFS file system.



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


Re: Lunching Telnet and Ftp servers

2003-05-31 Thread Eduardo Viruena Silva
On Fri, 30 May 2003, Fehmi wrote:

 How to lunch and configure a telnet and a ftp servers
 on Freebsd 4.5
 Thanks everybody

uncomment the proper lines in /etc/inetd.conf

#
#ftpstream  tcp nowait  root/usr/libexec/ftpd   ftpd -l
#ftpstream  tcp6nowait  root/usr/libexec/ftpd   ftpd -l
#telnet stream  tcp nowait  root/usr/libexec/telnetdtelnetd
#telnet stream  tcp6nowait  root/usr/libexec/telnetdtelnetd
#

save it, and restart inetd if it is running:   killall -HUP inetd

if it is not, start it:

/usr/sbin/inetd -wW

and, to make sure it will start the next time you reboot your computer,
add:

inetd_enable=YES

in your /etc/rc.conf




 ___
 Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
 Yahoo! Mail : http://fr.mail.yahoo.com
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


- __ _
*   /   /###\   / \   __
 /\  /\ *  /  ./ \ * \__|_/  |  |
/  \/  \   |   b#|   *_ |   __   |  |  __
=.. \  \ \_\#/   / \|  /  \  |  | /\_\/
=  \_|* \___\###/   *\_/\_/\__/\__\/_/\__/
 =   \__/   _
  | |
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: LPD permission

2003-05-31 Thread Eduardo Viruena Silva
On Fri, 30 May 2003, Antoine Jacoutot wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hi !

 How can I set permissions on LPD spooler. I would like an entire network
 to be able to print while another must not.
 Obviously, the hosts.lpd file does not accept network range nor NIS
 netgroups...
 I don't feel like entering hundreds of @ip by hands.

 Any ideas ?

are the print request sent though port 35 ?

you can allow/deny access to this port to the specific networks
in /etc/hosts.allow and /etc/hosts.deny.

check man 5 hosts_access.



 Thanks :)

 - --
 Antoine Jacoutot
 [EMAIL PROTECTED]
 http://www.lphp.org
 gpg key: http://www.lphp.org/ressources/ajacoutot.asc
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.2 (FreeBSD)

 iD8DBQE+1zjGY3Hnhkr+5cQRAlsIAJ4ng3bU0tHkP20mGwzhp3Bk0wA+8wCeOTAt
 QNV/gT0Nlqw3jUX9I08VmMI=
 =fhTy
 -END PGP SIGNATURE-

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


- __ _
*   /   /###\   / \   __
 /\  /\ *  /  ./ \ * \__|_/  |  |
/  \/  \   |   b#|   *_ |   __   |  |  __
=.. \  \ \_\#/   / \|  /  \  |  | /\_\/
=  \_|* \___\###/   *\_/\_/\__/\__\/_/\__/
 =   \__/   _
  | |
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: During Boot - error after mounting root

2003-05-31 Thread Eduardo Viruena Silva
On Fri, 30 May 2003, JOHN HOOVER wrote:

 guys,

 I can't figure out how to get the mailing list search engine to take
 this so I'm asking it here.

 We had power outage and machine went down, now during boot and after
 mounting the root partition the character string '^[[0' appears alot.
 The machine still runs and seems ok, but since I can't seem to get a
 search engine to take the string anyone got an idea what this is and
 if it's fixable without a complete reformat?

this happend to some of my users as a consequence of a virus attack.
he was running window, the mbr and partition table were destroyed...

is your partition table still alive?
is your master boot record still alive?


 Also, would someone please check the MX record and reverse dns for
 ns1.gaiserco.com  207.191.77.178


From Mexico City.

The reverse register does not work:

Isabeau:/home/mrspock host ns1.gaiserco.com
s1.gaiserco.com has address 207.191.77.178
Isabeau:/home/mrspock host 207.191.77.178
Host not found.


 The FreeBSD lists are refusing to accept mail from here claming that
 my hostname can't be found.

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


Re: Spammers forged my address - help unbury me from bounces?

2003-05-30 Thread Eduardo Viruena Silva
On Thu, 29 May 2003, Warren Block wrote:

 On Thu, 29 May 2003, Peter Elsner wrote:

  Try using the /etc/mail/access file, if you know what IP or domain it is
  coming from...
 
  IPADDRESS/DOMAIN550 RELAYING DENIED

 Best to use a message that is more explanatory.  In this instance,
 they're not trying to relay.  Kirk already posted his message, which was
 appropriate.  Incidentally, the quotes are unnecessary.

  Then after adding those entries to the access file, run:
 
  makemap hash /etc/mail/access  /etc/mail/access

 make maps

 is easier.  See /etc/mail/Makefile.


dont you have to restart sendmail?

killall -HUP sendmail

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


Re: Xfree86 trouble..

2003-05-30 Thread Eduardo Viruena Silva
On Thu, 29 May 2003, Cliff wrote:

 Trying to configure xfree86 with an ati all in wonder 32mb radion card
 and its not finding the correct driver chipset for it...any ideas?

mine works fine.
what version of FreeBSD are you using ?
what version of XFree86 are you using?

 ___
 [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: Having problems with fixit floppy mounting filesystems

2003-05-30 Thread Eduardo Viruena Silva
On Thu, 29 May 2003, Tom Parquette wrote:

 I was installing an additional hard disk and I believe I commented out
 the wrong line in fstab or typo'ed something.  The /usr filesystem is
 not mounted.  The machine will not boot to a command prompt so I can
 repair it.  It complains bitterly at boot time about not finding things
 in the /usr/.. directories.

don't worry, it can be fixed.

1. Reboot your computer and when the boot's countdown  starts
   press space bar.

2. type:
boot -s

3. your computer will stop asking for a shell that will be used
   in single-user mode.  just press enter to accept  /bin/sh

4. type
swapon -a
mount -a

   of course, /usr will not be mounted because you made something
   wrong with your /etc/fstab.

5. perhaps the system will ask you to fsck your file systems.
   do it.  you can add your the option -y.

fsck /dev/ad0s1a
fsck /dev/ad0s1e
...
fsck /dev/ad0s1g


5. type
cat /etc/fstab

   to see where /usr is mounted... [hope it is there].
   and mount /usr manually:

mount /dev/ad0s1e /usr

   [ok, perhaps it is not ad0s1e, choose the proper partition]

6. edit /etc/fstab with your favorite editor, fix it, and save it.

7. reboot

Hope it helps.



 I have never broken a system this badly before so this is the first time
 I have had to use a fixit floppy.
 If I can get the root and usr filesystems mounted r/w I should be able
 to ee fstab and get myself going.

 I can get to the fixit command prompt but when I issue mount /dev/ad0s1a
 /mnt to get the root filesystem mounted all I get is operation not
 permitted.

 I searched the mailing list archives and dug through the on-line
 handbook and I'm not finding anything that gives me a clue what I'm
 doing wrong.

 Any help would be appreciated.
 TIA.

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


- __ _
*   /   /###\   / \   __
 /\  /\ *  /  ./ \ * \__|_/  |  |
/  \/  \   |   b#|   *_ |   __   |  |  __
=.. \  \ \_\#/   / \|  /  \  |  | /\_\/
=  \_|* \___\###/   *\_/\_/\__/\__\/_/\__/
 =   \__/   _
  | |
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


tab in an input box

2003-05-30 Thread Eduardo Viruena Silva

For many years I have used several GUI, but I never have
learnt to include a tab char in an input box.

Tab char always changes the graphic item you are working with,
v. gr.  I'm using SquirrelMail to write this text.  If I
press tab the focus of my web browser  changes to the send
button.

Is it possible to include tab in an input box?
how?

Thanks in advance.

  Eduardo.


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


Re: tab in an input box

2003-05-30 Thread Eduardo Viruena Silva
On Fri, 30 May 2003, Alfonso Romero wrote:

 There must be an event associated with pressing the tab key. For example, in
 Visual Basic you can use the On_keypress event, or something like that (it´s
 been a long time since my last program in VB) to detect if the user has
 pressed a special key, like tab or insert, and then use it for what you want
 to do.

 Or maybe you can use Shift+Tab, like when using Shift+Return?

nop, shift+tab moves me backwards to the previous graphic item,
 because it is  -  tab.



 - Original Message -
 From: Eduardo Viruena Silva [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, May 30, 2003 12:15 AM
 Subject: tab in an input box


 
  For many years I have used several GUI, but I never have
  learnt to include a tab char in an input box.
 
  Tab char always changes the graphic item you are working with,
  v. gr.  I'm using SquirrelMail to write this text.  If I
  press tab the focus of my web browser  changes to the send
  button.
 
  Is it possible to include tab in an input box?
  how?
 
  Thanks in advance.
 
Eduardo.
 
 
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 



- __ _
*   /   /###\   / \   __
 /\  /\ *  /  ./ \ * \__|_/  |  |
/  \/  \   |   b#|   *_ |   __   |  |  __
=.. \  \ \_\#/   / \|  /  \  |  | /\_\/
=  \_|* \___\###/   *\_/\_/\__/\__\/_/\__/
 =   \__/   _
  | |
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ssh and resolv.conf question

2003-05-28 Thread Eduardo Viruena Silva
On Wed, 28 May 2003, Wiroth Didier wrote:

 Hey,

 I'm running a server with freebsd 4.8-release with
 OpenSSH_3.5p1 and named 8.3.4-REL. The server has the ip
 192.168.0.18.

 Case1: My resolv.conf contains these (similar) entries:

 domain  mydomain.com
 search  mydomain.com
 nameserver  10.0.0.1
 nameserver  10.0.0.2

 Case2: No I put my own dns in the file, and the file looks
 like this:
 domain  mydomain.com
 search  mydomain.com
 nameserver  192.168.0.18

 nameserver  10.0.0.1
 nameserver  10.0.0.2

 Now the problem: when I use the Case2 resolv.conf file
 and I try to log on with my ssh client to 192.168.0.2
 Login as: appears quite instantly but the password
 prompts takes about 50 seconds to appear!

 When I change back resolv.conf to Case1 there is no
 problem, password: appears rapidely after having entered
 the username!

 What it is the problem?

 I'm using a 192.168.0.16/255.255.255.248 Network and I have
 not setup a reverse lookup zone for the moment! Could that
 be the problem


In case2 I always use:

nameserver 127.0.0.1

without any problem.

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


- __ _
*   /   /###\   / \   __
 /\  /\ *  /  ./ \ * \__|_/  |  |
/  \/  \   |   b#|   *_ |   __   |  |  __
=.. \  \ \_\#/   / \|  /  \  |  | /\_\/
=  \_|* \___\###/   *\_/\_/\__/\__\/_/\__/
 =   \__/   _
  | |
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: shell programming - how to write a script that renames files after their last moddate?

2003-05-27 Thread Eduardo Viruena Silva
On Tue, 27 May 2003, Vince Hoffman wrote:


  This is certainly not freeBSD specific and probably I'm annoying
  someone for being off-topic but please be patient and hint me on where
  to find good resources in shell-programming.
 
 http://www.shelldorado.com/
 isnt bad. otherwise comp.unix.shell is always worth a look.



 
  I could use some help in writing a script that renames all files in a
  directory tree to the files last modified date, example usage:
 
   daterename Img_ *.jpg
 
  the command above will rename all *.jpg files to Imag_date.jpg


=
#!/bin/tcsh

set prefix=$1
shift

while ( $1 !=  )
set ext=`expr $1 : .*\(\..*\)`
set newname=$prefix`stat -f %Sm -t %F_%H:%M:%S`
echo moving  $1  to  $newname$ext
mv $1 $newname$.ext
shift
end
===

BUGS:

I'm not sure stat works in 4.x

If two [or more] files are created at exactly the same time,
the one with the last name  --in lexicographic order--
will overwrite the others.


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


imap-uw and pam

2003-04-04 Thread Eduardo Viruena Silva

Hello pals!

I have installed FreeBSD 5.0-RELEASE and cvs-updated it to patch 7.
Everything ok.

Compiled imap-uw in the ports and it issued this message:

The ipop2d, ipop3d, and imapd daemons should be invoked by your
/etc/inetd.conf file with lines such as:

=
pop2stream  tcp nowait  root/usr/local/libexec/ipop2d   ipop2d
pop3stream  tcp nowait  root/usr/local/libexec/ipop3d   ipop3d
imap4   stream  tcp nowait  root/usr/local/libexec/imapdimapd

If PAM authentication support has been compiled in you will need to add
something like the following lines to /etc/pam.conf (PAM authentication is
default):

imapauthrequiredpam_unix.so
imapaccount requiredpam_unix.so
try_first_pass
imapsession requiredpam_deny.so
pop3authrequiredpam_unix.so
pop3account requiredpam_unix.so
try_first_pass
pop3session requiredpam_deny.so

The pam_unix module does not have session support, so we do not use it for
session management. Be sure to read up on pam.conf(5).


I think this is a little out of date remark.  pam.conf is not used
in FreeBSD-5.0 any more.

I found /etc/pam.d  and the files   imap and pop3, although they
are all comments.

I thought to add the following lines to  /etc/pam.d/imap:

authrequiredpam_unix.so
account requiredpam_unix.so  try_first_pass
session requiredpam_deny.so


But I cannot make imap work, /var/log/auth.log displays a messages:

pr  4 02:25:45 Gina imapd[26615]: Login disabled user=mrspock auth=mrspock
host=dsl-200-67-206-37.prodigy.net.mx [200.67.206.37]


Then, I don't know what to do.

Could you please help me?

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


Re: imap-uw and pam

2003-04-04 Thread Eduardo Viruena Silva


On Fri, 4 Apr 2003, mark tinguely wrote:


 I see from your earlier mail that you compiled imap-uw with the
 WITH_SSL_AND_PLAINTEXT=yes option, make sure the support package,
 cclient-2002,1 is also compile with the WITH_SSL_AND_PLAINTEXT
 turned on.

Thank you very much, Mark.

Yes, indeed, it was the problem.  Thanks to the FreeBSD Daemons for
inspiring you.

I recompiled everything:  cclient, imap-uw and pine4
with the options you suggested, and everything worked perfectly.


 I use FreeBSD 4.8, so I can't help you with the PAM items, but they
 look correct and your errors look like the cclient-2002,1 is SSL
 only.

I installed FreeBSD 5.0-RELEASE just for learning to use it.  It was a
little scary to find the ports without any changes even though pam was
completely reorganized.  Maybe it is worth a bug-report/change-request.

I saw a message in the ports telling that it could be a good idea
include something like:   make helpin every port to list the
options you can use on them. Of course, you can read the Makefile,
but I think it is a little too weird to do that.

Thank you, again.


 --Mark Tinguely


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


imap-uw / pam.d

2003-04-03 Thread Eduardo Viruena Silva

Hello guys!

I'm trying to make kmail work with imapd in FreeBSD-5.0RELEASESp7

1. I compiled imap-uw

cd /usr/ports/mail/imap-uw
make WITH_SSL_AND_PLAINTEXT=yes install clean

2. I included the following lines in my inetd.conf file:

pop3stream  tcp  nowait  root  /usr/local/libexec/ipop3d  ipop3d
imapstream  tcp  nowait  root  /usr/local/libexec/imapd   imapd
pop3s   stream  tcp  nowait  root  /usr/local/libexec/ipop3d  ipop3d
imaps   stream  tcp  nowait  root  /usr/local/libexec/imapd   imapd

and uncommnted the line:

shell   stream  tcp  nowait  root  /usr/libexec/rshd  rshd

then I restarted inetd:

killall -HUP inetd


3. In the old days of FreeBSD 4.7, /etc/pam.conf should include:
and the new package says that THIS lines must be included in /etc/pam.conf

imapauthrequiredpam_unix.so
imapaccount requiredpam_unix.so  try_first_pass
imapsession requiredpam_deny.so

Now, FreeBSD 5.0 now uses /etc/pam.d/imap to configure the last lines
so, I wrote:

authrequiredpam_unix.so
account requiredpam_unix.so  try_first_pass
session requiredpam_deny.so

in my /etc/pam.d/imap  file.


Now, pine complains saying:

Server disables LOGIN, no recognized SASL authenticator

what is the meaning of this?

What is the correct configuration I must set in
/etc/pam.d/imap  and /etc/pam.d/pop3  ???

Thanks in advance.

Eduardo



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


Re: Lyx 1.3.0

2003-03-31 Thread Eduardo Viruena Silva
On Tue, 1 Apr 2003, John Murphy wrote:

Date: Tue, 01 Apr 2003 01:32:27 +0100
From: John Murphy [EMAIL PROTECTED]
To: Eduardo Viruena Silva [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Lyx 1.3.0

Eduardo Viruena Silva [EMAIL PROTECTED] wrote:

I have successfully compiled Lyx 1.3.0 from the ports.
It was not simple, I had to cvs-update my ports, and I had
to compile qt-3.1.1_4 and kde 3.1.

That sounds more like KLyx.  Neither qt or kde are listed in the
requirements for Lyx.

Perhaps I was not clear.  This is not my problem.
The problem is that I cannot display formulae in the
working window.  I think there is a missing font that
helps to display them.


John.


Eduardo.

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


Lyx 1.3.0

2003-03-30 Thread Eduardo Viruena Silva

I have successfully compiled Lyx 1.3.0 from the ports.
It was not simple, I had to cvs-update my ports, and I had
to compile qt-3.1.1_4 and kde 3.1.

Now, the problem is:  I cannot see formulae in the editor.
Nevertheless, they are correctly processed by LaTeX and displayed
with View/DVI in the main menu.

It seems to me I have missed some fonts... but I don't know
which and where I must install them.

Could you help me?

Eduardo.

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


error while compiling kdelibs3

2003-03-27 Thread Eduardo Viruena Silva

I tried to compile  /usr/ports/x11/kdelibs3
and I found an unexpected error.  I think
this happend while the configuration stage
is in execution.

I already compiled qt3.1 and everything was alright.

Could you please help me?

Gina:/usr/ports/x11/kdelibs3 make
===  Extracting for kdelibs-3.1
 Checksum OK for KDE/kdelibs-3.1.tar.bz2.
===  Patching for kdelibs-3.1
===  Applying FreeBSD patches for kdelibs-3.1
===   kdelibs-3.1 depends on executable: mkfontdir - found
===   kdelibs-3.1 depends on file: /usr/X11R6/bin/moc - found
===   kdelibs-3.1 depends on executable: gmake - found
===   kdelibs-3.1 depends on shared library: tiff.4 - found
===   kdelibs-3.1 depends on shared library: artsc.0 - found
===   kdelibs-3.1 depends on shared library: fam.0 - found
===   kdelibs-3.1 depends on shared library: xml2.5 - found
===   kdelibs-3.1 depends on shared library: xslt.1 - found
===   kdelibs-3.1 depends on shared library: pcre.0 - found
===   kdelibs-3.1 depends on shared library: intl.4 - found
===   kdelibs-3.1 depends on shared library: art_lgpl_2.5 - found
===   kdelibs-3.1 depends on shared library: cups.2 - found
===   kdelibs-3.1 depends on shared library: fam.0 - found
===  Configuring for kdelibs-3.1
/usr/bin/sed -i.bak s, kspell,,g 
/usr/ports/x11/kdelibs3/work/kdelibs-3.1/doc/Makefile.in
sed: illegal option -- i
usage: sed script [-Ean] [file ...]
   sed [-an] [-e script] ... [-f script_file] ... [file ...]
*** Error code 1

Stop in /usr/ports/x11/kdelibs3.



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


XY res

2003-02-18 Thread Eduardo Viruena Silva


Hello guys!

I have an ATI All In Wonder 128 Pro in my FreeBSD 4.7 box.
It works perfectly, but it is very difficult to me
to be working with a display with resolution 1280x1024.

In the old X11 ver 3.xx  it was easy to change the display
resolution by pressing ctrl-alt-Gray+, but now it does not
work anymore.

How can I reduce my display resolution?

Thanks in advance.

Eduardo.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



xdm is not working in 4.6-RELEASE

2002-09-17 Thread Eduardo Viruena Silva


Hello Pals,

I have installed FreeBSD 4.6-RELEASE in a new computer,
I also installed X and KDE,  verything is working fine
except xdm.

I'm sure X is working because startx works.

In my /etc/ttys, I changed:

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

to:

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


and then:

kill -HUP 1

my computer started blinking but even X did not start.

My computer was working perfectly fine with this changes in
version 4.5-RELEASE but not now.

Do you have any ideas?

thanks in advance.

-Eduardo


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message