Re: creating htmls from a directory tree?

2010-02-10 Thread Daniel Molina Wegener
On Wednesday 10 February 2010,
Anton Shterenlikht  wrote:

> On Wed, Feb 10, 2010 at 10:05:36AM -0500, Bill Moran wrote:
> > In response to Anton Shterenlikht :
> > > I'd like to upload a directory structure to a web
> > > server. I'd like to create in each subdirectory
> > > an index.html with a simple list of files in this
> > > directory for a simple browsing.
> > >
> > > This sounds like a perl or shell script, but
> > > I was wondering if there is someting like
> > > this already available from ports. I couldn't
> > > find anything suitable.
> >
> > You could just turn on Apache's built-in directory listing capability
> > and Apache will create those files on-demand.
> 
> I see.. I need to talk to the web server guys then.

  Also you can try WebDAV modules and clients ;)

> 
> thank you
> anton
> 

Best regards,
-- 
Daniel Molina Wegener 
Software Architect, System Programmer & Web Developer
Phone: +1 (510) 629-4267 | Blog: http://coder.cl/


signature.asc
Description: This is a digitally signed message part.


Re: Replacing base NTP with ports NTP

2010-01-30 Thread Daniel Molina Wegener
On Saturday 30 January 2010,
David Rawling  wrote:

> Greetings all and sundry

  Hello David,

> 
> About 3 months ago I built myself a time server using 8.0-RC3, IIRC, and
> I upgraded to 8.0-RELEASE (and now -p2). Naturally, as I want this
> server to provide time services, I've installed the net/ntp port, among
> others.
> 
> Recently, for reasons that have become lost in the mists of time, I
> noticed that I wasn't running the port version of NTP
> (/usr/local/sbin/ntpd), but the version installed with the base system
> (/usr/sbin/ntpd).

  OK, rc.conf(5) does the trick.

  Look here for an overview of rc.conf:
  http://www.freebsd.org/doc/handbook/configtuning-rcd.html

  And try the next command to gather information about rc.conf(5):
  man 5 rc.conf

  Possibly you are looking for the /ntpd_program/ variable (from the
manual page):
-8<--8<--8<-
ntpd_program
 (str) Path to ntpd(8) (default /usr/sbin/ntpd).
-8<--8<--8<-

> 
> For the immediate term, I've renamed the base versions of the files in
> /usr/sbin, and then symlinked to the port version (in /usr/local) - ntpd
> is now the ports version, as are most of the tools. This does, however,
> seem like a rather silly way of getting the most current NTPd running.

  Bad practice... ;)

> 
> I cannot, for the life of me, figure out how to get the Ports version of
> NTP to overwrite the base system's NTP. Yet I'm sure (since there *is* a
> port of NTP) there must be a better way to do this.

  No problem, just try the configuration above. Also, you do not need
to restart the complete system, just proceed as follows:

1. As root stop ntpd:
  # /etc/rc.d/ntpd stop

2. Edit the /etc/rc.conf file...

3. Start ntpd:
  # /etc/rc.d/ntpd start

> 
> Can anyone point me in the direction of some documentation?
> 
> Dave.
> 

Best regards,
-- 
| Daniel Molina  |
| IT Consulting & Software Development|
| Phone: +56 2 9790277 | http://coder.cl/ |


signature.asc
Description: This is a digitally signed message part.


Re: SVN + Apache

2009-09-11 Thread Daniel Molina Wegener
2009/9/11 Steve Bertrand 

> Hi all,
>
> The only relevance that this has to FBSD is that both Apache and
> subversion were installed via packages.
>
> I've been meaning to get around to enabling SVN so that I can access my
> repo via HTTPs. However, most of the docs I've found via Sir Google
> claim that it's likely that I'll have to recompile subversion ( and/or
> apache ) in order to make it work.
>
> Although I have very up-to-date clone-able backups and archives of this
> particular system, I really don't want to do anything that has the
> potential of clobbering my current working setup.
>
> Can those in the know provide any insight into:
>
> - how I can verify whether the necessary components are currently installed
>
> - how to identify whether said components were compiled with the
> appropriate args
>
> - a q&d howto consisting of a path of least resistance ( or a reference
> to a confirmed reliable existing howto )
>
> - any caveats and/or things to look for prior to trying to implement it
>
> I'm the only one who uses the repository ( at this time ), and currently
> I access it via SSH. Security isn't an overly major concern at this
> point, as I will just apply the web server to it's own IPv6 address and
> filter those who could potentially access it via IPFW :)
>

You need to install --- as basic packages --- Apache, subversion and
mod_davsvn to access subversion repositories from HTTPS.


>
> Cheers!
>
> Steve
>

Best Regards,
DMW
___
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: cc -march questions

2009-09-03 Thread Daniel Molina Wegener
2009/9/3 Scott Bennett 

> What exactly does "cc -march=prescott" enable cc to do?  Does it
> include
> instruction scheduling for the pipeline structure of the Prescott CPUs?
>  Does
> it include other options, e.g., "-mmmx -msse -msse2 -msse3"?
> Thanks in advance for any information on the above!
>

According to the GCC manual page, it enables MMX, SSE, SSE2 and SSE3
instruction set support.

Try:
$ man 1 gcc
/prescott

Best Regards,
DMW


>
>
>  Scott Bennett, Comm. ASMELG, CFIAG
> **
> * Internet:   bennett at cs.niu.edu  *
> **
> * "A well regulated and disciplined militia, is at all times a good  *
> * objection to the introduction of that bane of all free governments *
> * -- a standing army."   *
> *-- Gov. John Hancock, New York Journal, 28 January 1790 *
> **
> ___
> 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: enquiry

2009-08-21 Thread Daniel Molina Wegener
On Friday 21 August 2009 00:32:20 keith cak wrote:
> Dear Sir,
>
> May i know how to change the IP address in freeBSD .

  man 5 rc.conf
  man 8 dhclient
  man 8 ifconfig

>
> Thank you.
> [SNIP]

Best regards,
-- 
 .O. | Daniel Molina Wegener   | FreeBSD & Linux
 ..O | dmw [at] coder [dot] cl | Open Standards
 OOO | http://coder.cl/| FOSS Developer


signature.asc
Description: This is a digitally signed message part.


Re: freebsd

2009-08-19 Thread Daniel Molina Wegener
On Wednesday 19 August 2009 07:42:39 BONGANI MANGANYE wrote:
> I know freebsd is free but i would like to know how much will
> I pay if I need additional package like updates and other
> useful software,and can you tell how secure it is how
> protected i will be if i use freebsd

  FreeBSD is released under the BSD license:
  http://www.opensource.org/licenses/bsd-license.php

  Most third party software is licensed as OSI Approved:
  http://www.opensource.org/licenses/category

  Some third party software have commercial restrictions,
but are the minor ones...

  The only restrictions that you have to use FreeBSD are
those restrictions which the license have. It also applies
to third party software that you like to use.

  About the security on FreeBSD --- and most FOSS platforms
--- it depends on the system administrator. Reaching
exploitable bugs is strange with a well done configuration.

>
> [SNIP]

Best regards,
-- 
 .O. | Daniel Molina Wegener   | FreeBSD & Linux
 ..O | dmw [at] coder [dot] cl | Open Standards
 OOO | http://coder.cl/| FOSS Developer


signature.asc
Description: This is a digitally signed message part.


Re: USENET?

2009-03-09 Thread Daniel Molina Wegener
El Sunday 08 March 2009 23:38:14 Robert Huff escribió:
> Dan Nelson writes:
> >  > are there any ports that offer an interface to USENET?  I think
> >  > mozilla did, but that was a long time ago ...  .
> >
> >  Mozilla simply changed names to Seamonkey and is still alive and
> > kicking.
>
>   Thunderbird also has this ability.

  I'm currently using knode from kde ports...

>
>
>       Robert Huff
>
> [SNIP]

Best regards,
-- 
.O.| Daniel Molina Wegener   | C/C++ Developer
..O| dmw [at] coder [dot] cl | FreeBSD & Linux
OOO| http://coder.cl/| Standards Basis



signature.asc
Description: This is a digitally signed message part.


Re: FreeBSD-SA-09:03.ntpd

2009-01-13 Thread Daniel Molina Wegener [Coder.CL]
On Tuesday 13 January 2009 21:30:59 Mitja wrote:
> I did as instructions says:
> b) Execute the following commands as root:
>
> # cd /usr/src
> # patch < /path/to/patch
> # cd /usr/src/lib/bind
> # make obj && make depend && make && make install
> # cd /usr/src/usr.sbin/named
> # make obj && make depend && make && make install
> # /etc/rc.d/named restart
>
> ...and I got:
>
> make: don't know how to
> make
> /usr/obj/usr/src/usr.sbin/ntp/ntpd/../libparse/libparse.a.
> Stop

  Hi, you can try updating the complete system by using csup(1),
take a look at:

  http://www.freebsd.org/doc/en/books/handbook/cvsup.html

  I think that this is the better way to upgrade any issue with 
security advisories.

>
> Thanks.
> ___
> [SNIP]

Best regards,
-- 
 .O. | Daniel Molina Wegener   | FreeBSD & Linux
 ..O | dmw [at] coder [dot] cl | Open Standards
 OOO | http://coder.cl/| FOSS Developer


signature.asc
Description: This is a digitally signed message part.


Re: mutt question

2009-01-07 Thread Daniel Molina Wegener [Coder.CL]
On Wednesday 07 January 2009 19:07:13 David Karapetyan wrote:
> Hello. When I open my mutt email client, the cursor
> (highlighting mail) is always located in the middle of the
> screen. What option do I need to include in my muttrc so that
> when I open mutt, the cursor highlights the topmost email?

  Hi, try using colors if your terminal emulator support them,
I have these colors in my muttrc file:

-8<--8<--8<--8<- SNIP
# Default colour definitions
color hdrdefault white black
color quoted cyan black
color signature  brightwhite black
color indicator  brightwhite red
color attachment black white
color error  red white
color messagewhite black
color search brightwhite magenta
color status brightblue white
color tree   white black
color normal white black
color tilde  red black
color bold   brightwhite black
color markersbrightcyan black

# Colour definitions when on a mono screen
mono bold  bold
mono underline underline
mono indicator reverse

# Colours for items in the reader
color header brightyellow black "^(From|Subject|Date):"
mono  header bold "^(From|Subject|X-Junked-Because\
|X-Virus-hagbard):"
-8<--8<--8<--8<- SNIP

>
> -- --
> Best,
> David Karapetyan
> http://davidkarapetyan.homeunix.com
> University of Notre Dame
> Department of Mathematics
> 255 Hurley Hall
> Notre Dame, IN 46556-4618
> Phone: 574-631-5706
> Cell:  202-460-5173
> Fax:   574-631-6579
>
> ___
> 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"


Regards,
-- 
 .O. | Daniel Molina Wegener   | FreeBSD & Linux
 ..O | dmw [at] coder [dot] cl | Open Standards
 OOO | http://coder.cl/| FOSS Developer


signature.asc
Description: This is a digitally signed message part.


Re: ascii text format

2008-11-21 Thread Daniel Molina Wegener

pwn escribió:
algouth this is not a freebsd specific text, i need to format some texts 
under freebsd for they appear in the center of the page when opened in a 
browser, but i dont want to use HTML for format them, i just want to add 
tabulation to my *.txt.
what software/tool can i use for format my *.txt? there is command on 
VIM like "set textwidth" but this is not suitable for me. any help i 
appreciate.

i add an example on a temporary host for make sure all understand.
(i need to format the text for he appear like the example good.txt)
http://one.xthost.info/temphost/good.txt
http://one.xthost.info/temphost/bad.txt

> [SNIP]

Well, try par, it's a port, use portinstall, pkg_add or another tool
to install it:
http://cvsweb.freebsd.org/ports/textproc/par

I was using it with vim and mutt to format mail some years ago ;)

Best regards,
--
.O. | Daniel Molina Wegener   | C/C++ Coder
..O | dmw [at] coder [dot] cl | FOSS Developer
OOO | FreeBSD & Linux User| Standards Basis


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


Re: calendar software wanted

2008-10-22 Thread Daniel Molina Wegener

Marco escribió:

hello list,

anybody has experience with calendar software which runs on freebsd. i
maybe would integrate it also in thunderbird/mutt,but thats not
necessary, or use a stand alone software.
minimum requirements to the software would be making entries, getting
alarms for appointments.


  Try kontact (the kdepim port). Have fun xD



thank you for responses,
 marco


Regards,
--
.O. | Daniel Molina Wegener   | C/C++ Coder
..O | dmw [at] coder [dot] cl | FOSS Developer
OOO | FreeBSD & Linux User| Standards Basis


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


Re: strange behavior after update

2008-09-28 Thread Daniel Molina Wegener
On Sunday 28 September 2008 00:29:01 Daniel Molina Wegener 
wrote:
> Hello,
>
> I have 4GB machine and after updating to 6.4-PRERELEASE using
> 32bit intel based system. the complete system hangs if I do
> a "sysctl -a" under X terminal emulators. Also, I get a
> system hang during entropy harvesting.
>
> The "sysctl -a" command freezes while is displaying ACPI
> information, I can't capture the output and I don't have any
> core files...
>
> I'm running the nvidia-driver port with X11.
>
> Best regards and thanks...

I reply to my self (in other similar thread):

-8<--8<--8<--8<-
  I was having similar problems with the nvidia driver on my
6.4-PRERELEASE machine.

  The solution was to remove agp and drm related drivers from
the kernel configuration and setting:

hw.nvidia.registry.EnableAGPFW=1
hw.nvidia.registry.EnableAGPSBA=1

  In my sysctl.conf, and also setting:

Option "NvAGP" "3"

  In my xorg.conf in the Screen section...

  The concrete problem -- not related with GL failures -- was
system freezing with /sysctl -a/ command on terminal emulators 
from X server.
-8<--8<--8<--8<-

  I hope it would help others...

Regards to the list...
-- 
 .O. | Daniel Molina Wegener   | C/C++ Developer
 ..O | dmw [at] unete [dot] cl | FOSS Coding Adict
 OOO | FreeBSD & Linux User| Standards Rocks!


signature.asc
Description: This is a digitally signed message part.


Re: OpenGL things crash X in FB7-Stable, nVidia Card

2008-09-28 Thread Daniel Molina Wegener
On Sunday 28 September 2008 09:29:55 Daniel Bye wrote:
> On Fri, Sep 26, 2008 at 11:14:05PM +0100, Kemian Dang wrote:
> > Daniel Bye wrote:
> > >On Fri, Sep 26, 2008 at 04:58:10PM +0100, Kemian Dang 
wrote:
> > >>Hi all,
> > >>
> > >>I have a FreeBSD 7 Stable box with a nVidia 6150 Go
> > >> Graphic Card. Everything was OK sometime before, but
> > >> after a series updated on ports, ( I am not sure about
> > >> the time, I have not use OpenGL stuff for long time)
> > >> running a program with OpenGL will cause the X crashed.
> > >
> > >[ -- snip -- ]
> > >
> > >>The last crash is when I choose a OpenGL screensaver.
> > >>
> > >>The ports is updated nearly daily, and I think this may
> > >> happen after sometime after I updated the latest
> > >> nVidia-driver.
> > >>
> > >>Any ideas about this problem?
> > >
> > >Try reinstalling the nVidia driver port. It installs its
> > > own GL libs, which may have been replaced by another
> > > port, depending on the order in which your ports were
> > > updated. Reinstalling should ensure you have the correct
> > > libs in the correct place...
> > >
> > >Dan
> >
> > Thanks for reply Daniel.
> >
> > I have re-installed the nvidia-driver and tested OpenGL -
> > Crash again. So it seems not the case...
>
> Rats! Sorry that didn't help.
>
> One other thing occurs to me - you mentioned you updated some
> ports. Have you also updated your system source tree without
> doing a full buildworld cycle? If so, chances are that your
> nVidia driver is built against a different version of the
> kernel source than the running kernel. Although any
> differences will be minimal, there is a chance that something
> changed enough to upset the driver.

  I was having similar problems with the nvidia driver on my
6.4-PRERELEASE machine.

  The solution was to remove agp and drm related drivers from
the kernel configuration and setting:

hw.nvidia.registry.EnableAGPFW=1
hw.nvidia.registry.EnableAGPSBA=1

  In my sysctl.conf, and also setting:

Option "NvAGP" "3"

  In my xorg.conf in the Screen section...

  The concrete problem -- not related with GL failures -- was
system freezing with /sysctl -a/ command on terminal emulators 
from X server.

  I hope it would help.

>
> Failing that, all I can suggest is that you keep an eye on
> your console and see if the driver emits any messages just
> before it chokes.
>
> Good luck!
>
> Dan


Best regards,
-- 
 .O. | Daniel Molina Wegener   | C/C++ Developer
 ..O | dmw [at] unete [dot] cl | FOSS Coding Adict
 OOO | FreeBSD & Linux User| Standards Rocks!


signature.asc
Description: This is a digitally signed message part.


strange behavior after update

2008-09-27 Thread Daniel Molina Wegener

Hello,

I have 4GB machine and after updating to 6.4-PRERELEASE using 
32bit intel based system. the complete system hangs if I do 
a "sysctl -a" under X terminal emulators. Also, I get a system 
hang during entropy harvesting.

The "sysctl -a" command freezes while is displaying ACPI
information, I can't capture the output and I don't have any
core files...

I'm running the nvidia-driver port with X11.

Best regards and thanks...
-- 
 .O. | Daniel Molina Wegener   | C/C++ Developer
 ..O | dmw [at] unete [dot] cl | FOSS Coding Adict
 OOO | FreeBSD & Linux User| Standards Rocks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: curses.h, beep() returns ERR, flash() casuses segment fault.

2008-08-27 Thread Daniel Molina Wegener
On Wednesday 27 August 2008 22:10:40 Christopher Joyner wrote:
> I do not get the OK from beep, and flash crashes the program.
> This is my code:

  First, take a look on the manual page...
 
>
> #include 
>
> int main(int argc,char** argv)
> {
> if(beep()!=OK)
> printf("No OK\n"); fflush(stdout);
> if(flash()!=OK)
> printf("No Flash\n"); fflush(stdout);
> return 0;
> }

  Well, try:

#include 
#include 
#include 

int
main(int argc,char** argv)
{
/* in curses(3X) manual page... */
initscr();

if (beep() != OK)
printf("No OK\n"); fflush(stdout);
if (flash() != OK)
printf("No Flash\n"); fflush(stdout);
return 0;
}

  And read the curses manual page, you forgot to init
the screen.

>
>
>
> In Love in Jesus Christ, Or Lord and Savior.
>
>
> For God so loved the world, that he gave his only *begotten
> Son, that whosoever believeth in him should not perish, but
> have everlasting life. --John 3:16
>
>
> [SNIP]

Regards,
-- 
 .O. | Daniel Molina Wegener   | C/C++ Developer
 ..O | dmw [at] unete [dot] cl | FOSS Coding Adict
 OOO | FreeBSD & Linux User| Standards Rocks!


signature.asc
Description: This is a digitally signed message part.


Re: flowchart drawing tool for BSD

2008-08-26 Thread Daniel Molina Wegener

Dánielisz László escribió:

Anyone know of a good flowchart drawing tool for BSD?
Something like Visio?


  Hello, you can try de following:

  kivio (I think it's under koffice)
  bouml
  umbrello
  dia
  xfig



Laci


> [SNIP]


Regards,
DMW

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


Re: How to set TCP parameter?

2008-08-19 Thread Daniel Molina Wegener
On Tuesday 19 August 2008 21:17:46 EdwardKing wrote:
> How to set TCP parameters,such as tcp_time_wait_interval?

  Try sysctl(8) and sysctl.conf(8)

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


Regards,
-- 
 .O. | Daniel Molina Wegener   | C/C++ Developer
 ..O | dmw [at] unete [dot] cl | FOSS Coding Adict
 OOO | FreeBSD & Linux User| Standards Rocks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: seen in ports and used but dont remember the name ;)

2008-07-30 Thread Daniel Molina Wegener

DSA - JCR escribió:

Hi all
  

Hi

FreeBSD 6.2

I have used in the past year an utility for terminal that permit me to
split the terminal in several sesions vertically/horizontally and also
save and restore the sesion, letting it doing some commands.

I installed from ports, but I dont remember its name. ;-)
  
window(1), screen -- in the ports collection and as terminal emulators, 
you have yakuake.

Can anyone help me?


Thanks in advance

Juan Coruña
Desarrollo de Software Atlantico




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


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


Re: tex, teTex, LaTeX help

2008-07-30 Thread Daniel Molina Wegener

Polytropon escribió:

On Wed, 30 Jul 2008 18:05:59 +0100, Glyn Millington <[EMAIL PROTECTED]> wrote:
  

"Joey Mingrone" <[EMAIL PROTECTED]> writes:


fonts, but it seems they are in the teTex port, but that port
conflicts with the tex port and it seems teTex is no longer being
updated.
  

Alas the news about teTeX is true.



I'm very sad to hear this, allthough I'm always installing teTeX
via pkg_add -r, and I never found something not working anymore.
Is there any consideration to remove teTeX completely from the
ports tree, or is it still valid to keep using it?

(I use LaTeX for nearly everything: work, documentation, literature,
even for letters (dinbrief class), so I'm interested in this topic.)

Many thanks for pointing out how to get \LaTeX{} from TeXLive.


  

Try:

portinstall -PP teTex

Regards,
DMW

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


Re: tex, teTex, LaTeX help

2008-07-30 Thread Daniel Molina Wegener

Joey Mingrone escribió:

Hello,

I've been told that LaTeX is probably the best solution for creating
scientific papers with math fonts, so I'm trying to get a working
installation.

My first attempt was to install the latex2e-2003.12_1 port, which
installed the tex-3.14159_3 port as a dependency.  This seemed to
work, but there were some things referenced in the documentation that
seemed to be missing.  For example, the amsmath package wasn't
available.  I thought there must be a port specifically for these
fonts, but it seems they are in the teTex port, but that port
conflicts with the tex port and it seems teTex is no longer being
updated.

Is there a guide for getting all this set up, or can some kind soul
suggest a installation method that works well for them?

Thanks,

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

Try teTex and other packages regarding it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: (semi-)OT programming non-ASCII characters

2008-05-18 Thread Daniel Molina Wegener
On Sunday 18 May 2008 15:44:27 Robert Huff wrote:
>   A casual project I'm working on (in C) has just discovered
> the need to work with 8-bit characters > 127.
>   Does anyone have pointers to tutorials on how to work with
> these?  Or would be willing to answer questions off-list?

  Try using "wchar" types and functions, also iconv can be 
usefull.

>   Thanks,
>
>
>   Robert Huff
>
> [SNIP]

Regards,
-- 
 .O. | Daniel Molina Wegener   | C/C++ Developer
 ..O | dmw [at] unete [dot] cl | FOSS Coding Adict
 OOO | FreeBSD & Linux User| Standards Rocks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ports problems

2008-02-24 Thread Daniel Molina Wegener

Hi,

I've updated and upgraded the ports tree to the "." branch
but serveral of ports doesn't compile or are completly absent
on the repositories.

What can I do?, I need the system working.

I'm using 6.3-STABLE.

-8<--8<--8<--8<--8<-
pkg_create: make_dist: tar command failed with code 256
** Command failed [exit code 
1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.7 
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=py25-setuptools-0.6c7 
UPGRADE_PORT_VER=0.6c7 make -DFORCE_PKG_REGISTER reinstall
** Command failed [exit code 
1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.5 
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=py25-flup-0.5.r2311 
UPGRADE_PORT_VER=0.5.r2311 make FETCH_BEFORE_ARGS=-q
** Command failed [exit code 
1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.17 
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=scons-0.97 
UPGRADE_PORT_VER=0.97 make -DFORCE_PKG_REGISTER reinstall
** Command failed [exit code 
1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.12 
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=libusb-0.1.12_1 
UPGRADE_PORT_VER=0.1.12_1 make FETCH_BEFORE_ARGS=-q
** Command failed [exit code 
1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.4 
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=nvidia-xconfig-1.0_1 
UPGRADE_PORT_VER=1.0_1 make FETCH_BEFORE_ARGS=-q
** Command failed [exit code 
1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.12 
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=py25-numeric-24.2 
UPGRADE_PORT_VER=24.2 make FETCH_BEFORE_ARGS=-q
checking command to parse /usr/bin/nm -B output... failed
** Command failed [exit code 
1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.21 
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=py25-psycopg-1.1.21 
UPGRADE_PORT_VER=1.1.21 make FETCH_BEFORE_ARGS=-q
checking command to 
parse /usr/ports/lang/gcc42/work/build/./gcc/nm output... 
failed
** Command failed [exit code 
1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.14 
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=blas-1.0_1 
UPGRADE_PORT_VER=1.0_1 make FETCH_BEFORE_ARGS=-q
** Command failed [exit code 
1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.13 
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=OpenEXR-1.4.0 
UPGRADE_PORT_VER=1.4.0 make FETCH_BEFORE_ARGS=-q
** Command failed [exit code 
1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.15 
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=py25-MySQLdb-1.2.2 
UPGRADE_PORT_VER=1.2.2 make FETCH_BEFORE_ARGS=-q
of the failed make command, and (c) the gnomelogalyzer output. 
Also, it might
** Command failed [exit code 
1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.5 
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=py25-gobject-2.12.3 
UPGRADE_PORT_VER=2.12.3 make FETCH_BEFORE_ARGS=-q
** Command failed [exit code 
1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.9 
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=mesa-demos-7.0.1 
UPGRADE_PORT_VER=7.0.1 make FETCH_BEFORE_ARGS=-q
** Command failed [exit code 
1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.19 
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=gnome-libs-1.4.2_7 
UPGRADE_PORT_VER=1.4.2_7 make FETCH_BEFORE_ARGS=-q
** Command failed [exit code 
1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.3 
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=ffmpeg-2007.10.04_1 
UPGRADE_PORT_VER=2007.10.04_1 make FETCH_BEFORE_ARGS=-q
** Command failed [exit code 
1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.1 
env UPGRADE_TOOL=portupgrade 
UPGRADE_PORT=linux-flashplugin-7.0r70 UPGRADE_PORT_VER=7.0r70 
make FETCH_BEFORE_ARGS=-q
** Command failed [exit code 
1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.7 
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=gstreamer-0.10.14_1 
UPGRADE_PORT_VER=0.10.14_1 make FETCH_BEFORE_ARGS=-q
** Command failed [exit code 
1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.10 
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=mplayer-0.99.10_13 
UPGRADE_PORT_VER=0.99.10_13 make FETCH_BEFORE_ARGS=-q
** Command failed [exit code 
1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.24 
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=libgnome-2.18.0_2 
UPGRADE_PORT_VER=2.18.0_2 make FETCH_BEFORE_ARGS=-q
-8<--8<--8<------8<--8<-

Best regards,
-- 
 .O. | Daniel Molina Wegener   | C/C++ Developer
 ..O | dmw [at] unete [dot] cl | FOSS Coding Adict
 OOO | FreeBSD & Linux User| Standards Rocks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RELENG_7 and diablo-jdk

2007-12-12 Thread Daniel Molina Wegener

Hello,

¿Is there any problem if I run diablo-jdk-1.5_07 under RELENG_7?
I mean, ¿is the diablo-jdk binary compatible with RELENG_7?

Thanks in advance...
-- 
 .O. | Daniel Molina Wegener   | C/C++ Developer
 ..O | dmw [at] unete [dot] cl | FOSS Coding Adict
 OOO | FreeBSD & Linux User| Standards Rocks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


problems with pthread_testcancel

2007-12-02 Thread Daniel Molina Wegener

Hello,

I'm looking a common problem in many programs with 
pthread_testcancel(3). When creating new threads some
programs craches in pthread_testcancel(3).

Now, I'm coding a daemon in C++ using pthreads, but
I don't know where is my mistake or the mistake on the
programs that I run.

Here's the backtrace...

-8<--8<--8<--8<--8<-
#0  0x2819a0ef in pthread_testcancel () 
from /lib/libpthread.so.2
[New Thread 0x8053c00 (LWP 100197)]
[New Thread 0x8053a00 (sleeping)]
[New Thread 0x8053800 (sleeping)]
[New Thread 0x8053600 (sleeping)]
[New Thread 0x8053400 (runnable)]
[New Thread 0x8053200 (LWP 100191)]
[New Thread 0x8053000 (sleeping)]
[New LWP 100182]
(gdb) 
(gdb) info threads
* 8 LWP 100182  0x2819a0ef in pthread_testcancel () 
from /lib/libpthread.so.2
  7 Thread 0x8053000 (sleeping)  0x2818fb51 in 
pthread_mutexattr_init ()
   from /lib/libpthread.so.2
  6 Thread 0x8053200 (LWP 100191)  0x2819a0af in 
pthread_testcancel ()
   from /lib/libpthread.so.2
  5 Thread 0x8053400 (runnable)  0x280e8a40 in 
GCT::ServiceTCP::getSocket (
this=0x0) 
at /work/dmw/CXX/gctserver/libgct/src/ServiceTCP.cxx:72
  4 Thread 0x8053600 (sleeping)  0x2818fb51 in 
pthread_mutexattr_init ()
   from /lib/libpthread.so.2
  3 Thread 0x8053800 (sleeping)  0x2818fb51 in 
pthread_mutexattr_init ()
   from /lib/libpthread.so.2
  2 Thread 0x8053a00 (sleeping)  0x2818fb51 in 
pthread_mutexattr_init ()
   from /lib/libpthread.so.2
  1 Thread 0x8053c00 (LWP 100197)  0x2819b893 in __error ()
   from /lib/libpthread.so.2
Current language:  auto; currently c++
(gdb) thread 8
[Switching to thread 8 (LWP 100182)]#0  0x2819a0af in 
pthread_testcancel ()
   from /lib/libpthread.so.2
(gdb) backtrace
#0  0x2819a0af in pthread_testcancel () 
from /lib/libpthread.so.2
#1  0x2819042f in pthread_mutexattr_init () 
from /lib/libpthread.so.2
#2  0x28170450 in ?? ()
(gdb) 
-8<--8<--8<--8<--8<-----

Thanks in advance...
-- 
 .O. | Daniel Molina Wegener   | C/C++ Developer
 ..O | dmw [at] unete [dot] cl | FOSS Coding Adict
 OOO | FreeBSD & Linux User| Standards Rocks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


problems compiling cross-gcc

2007-11-24 Thread Daniel Molina Wegener
Hello,

I'm using the command line:
# make TGTARCH=arm TGTABI=linux

And I get the next errors compiling cross-gcc:
-8<--8<--8<--8<--8<-
gmake[3]: se ingresa al directorio 
`/usr/ports/devel/cross-gcc/work/gcc-4.2.0/host-i386-portbld-freebsd6.3/gcc'
/usr/ports/devel/cross-gcc/work/gcc-4.2.0/host-i386-portbld-freebsd6.3/gcc/xgcc 
-B/usr/ports/devel/cross-gcc/work/gcc-4.2.0/host-i386-portbld-freebsd6.3/gcc/ 
-B/usr/local/arm-linux/bin/ -B/usr/local/arm-linux/lib/ -isystem 
/usr/ports/devel/cross-gcc/work/gcc-4.2.0/host-i386-portbld-freebsd6.3/gcc 
-isystem /usr/local/arm-linux/include -isystem /usr/local/arm-linux/sys-include 
-O2  -O2 -pipe  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings 
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem 
./include  -fomit-frame-pointer -fPIC -g0 -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 
-D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../.././gcc -I../.././gcc/. 
-I../.././gcc/../include -I../.././gcc/../libcpp/include -I/usr/local/include  
-I../.././gcc/../libdecnumber -I../libdecnumber  -fexceptions -c 
../.././gcc/unwind-dw2.c -o 
libgcc/./unwind-dw2.o
In file included 
from 
/usr/ports/devel/cross-gcc/work/gcc-4.2.0/host-i386-portbld-freebsd6.3/gcc/gthr-default.h:1,
 from ../.././gcc/gthr.h:114,
 from ../.././gcc/unwind-dw2.c:42:
../.././gcc/gthr-posix.h:43:21: error: pthread.h: No such file 
or directory
../.././gcc/gthr-posix.h:44:20: error: unistd.h: No such file or 
directory
In file included 
from 
/usr/ports/devel/cross-gcc/work/gcc-4.2.0/host-i386-portbld-freebsd6.3/gcc/gthr-default.h:1,
 from ../.././gcc/gthr.h:114,
 from ../.././gcc/unwind-dw2.c:42:
../.././gcc/gthr-posix.h:46: error: 
expected '=', ',', ';', 'asm' or '__attribute__' 
before '__gthread_key_t'
../.././gcc/gthr-posix.h:47: error: 
expected '=', ',', ';', 'asm' or '__attribute__' 
before '__gthread_once_t'
../.././gcc/gthr-posix.h:48: error: 
expected '=', ',', ';', 'asm' or '__attribute__' 
before '__gthread_mutex_t'
../.././gcc/gthr-posix.h:49: error: 
expected '=', ',', ';', 'asm' or '__attribute__' 
before '__gthread_recursive_mutex_t'
[...SNIP]
-8<--8<--8<--8<--8<-

Any tip with these errors?

Thanks in advance...
-- 
 .O. | Daniel Molina Wegener   | C/C++ Developer
 ..O | dmw [at] unete [dot] cl | FOSS Coding Adict
 OOO | FreeBSD & Linux User| Standards Rocks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


opensync plugins

2007-09-04 Thread Daniel Molina Wegener


Hello,

¿Which port holds the opensync plugins?

Thanks in advance...
--

.O. | Daniel Molina Wegener| C/C++ Developer
..O | dmw [at] unete [dot] cl  | FOSS Coding Addict
OOO | FreeBSD & Linux User | Standards Rocks!

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


Re: help:make installworld(creating osreldate.h from newvers.sh touch: not found *** Error code 127)

2007-07-31 Thread Daniel Molina Wegener

El Mar, 31 de Julio de 2007, 13:52, Roy escribió:
> [EMAIL PROTECTED] ~]$ uname -a
> FreeBSD admin.tmdxy.org 6.2-RELEASE-p6 FreeBSD 6.2-RELEASE-p6 #0: Tue
> Jul 31 23:11:21 CST 2007
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/RoyKernel i386
>
> --
>>>> Installing everything
> --
> cd /usr/src; make -f Makefile.inc1 install
> ===> share/info (install)
> ===> include (install)
> creating osreldate.h from newvers.sh
> touch: not found
> *** Error code 127
>
> Stop in /usr/src/include.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
> [SNIP]
>

Hello,

That isn't the command line...

Try:
# make buildworld
# make buildkernel

And read the Makefile in /usr/src

Regards,
-- 
 .O. | Daniel Molina Wegener   | C/C++ Developer
 ..O | dmw [at] unete [dot] cl | FOSS Coding Adict
 OOO | BSD & Linux User| Standards Rocks!




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


Re: OSS in 6.2

2007-07-05 Thread Daniel Molina Wegener
On Thursday 05 July 2007 14:16:42 Tom Grove wrote:
> Has anyone successfully used the OSS in 6.2?  I have an Intel
> HDA card that I would like to be able to record on but when I
> use the OSS program and modules I get nothing but garbled
> tones coming from the speakers. The osstest utility also
> reports errors of timeouts.
>
> -Tom
> [SNIP]
>

Hello,

I have an Intel HDA card too, I'm using 6.2-STABLE, where the
driver of 7.0-CURRENT from where has been merged into 6.2.

It works fine... try updating the source tree with csup or
cvsup and recompile the kernel and world.

The driver is snd_hda, with snd_hda_load="YES" in boot loader
may work.

OSS sometimes isn't a good options, I think that HDA matches the
case...

Regards,
-- 
 .O. | Daniel Molina Wegener   | C/C++ Developer
 ..O | dmw [at] unete [dot] cl | FOSS Coding Adict
 OOO | BSD & Linux User| Standards Rocks!

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


Re: rerecording a cdrw?

2007-06-26 Thread Daniel Molina Wegener

El Mar, 26 de Junio de 2007, 11:49, Dave escribió:
> Hello,

  Hello...

> I"ve got freebsd 6.2 and cdrtools installed via ports. I want to make
> some custom cd's, but i will not get them right the first time, so i want to
> use cdrw's until i do. I was wondering how to rerecord over existing
> content?

  Try burncd (man burncd), works fine with ATA CD-R units. It comes
with FreeBSD. If you have DVD-R unit, try looking for the How-To in
the handbook and articles.

> Thanks.
> Dave.
>
> [SNIP]

Regards,
-- 
 .O. | Daniel Molina Wegener   | C/C++ Developer
 ..O | dmw [at] unete [dot] cl | FOSS Coding Adict
 OOO | BSD & Linux User| Standards Rocks!


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


Re: Verifying PHP support

2007-06-26 Thread Daniel Molina Wegener

El Mar, 26 de Junio de 2007, 10:38, Darryl Hoar escribió:
> Greetings,
> I have a machine with 6.2 release installed on it.
> I have apache 1.3.37 installed and am using it
> for my personal website.   I want to install Gallery2
> for doing photo albums.  The pkg info in ports says
> it needs php support.   I did a pkg_info -a and did
> not see php installed on my system.  How should
> I add php support so that I can install Gallery2 ?

  Ok, it depends on which version of php do you want. I can't remember
exactly where is the port, but you can search for it on /usr/ports
and make search:

  # cd /usr/ports
  # make search name=php4
  # make search name=php5

  If the port is in lang

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

  The php extensions are installed separatelly.

  If you want binary packages, look for the available package version
at the Makefile in the port directory and install with pkg_add:

  # pkg_add -r 'php5'

>
> thanks,
> Darryl

  Good luck...

>
> BTW, on a different machine a while ago, I tried
> installing php after the fact and had a bit of a
> mess on my hands, thus the question.
> [SNIP]

Regards,
-- 
 .O. | Daniel Molina Wegener   | C/C++ Developer
 ..O | dmw [at] unete [dot] cl | FOSS Coding Adict
 OOO | BSD & Linux User| Standards Rocks!


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


Re: Upgrading x.org to 7.2 (to make other ports happy)

2007-06-15 Thread Daniel Molina Wegener

El Vie, 15 de Junio de 2007, 11:35, Andrew Falanga escribió:
> Hi,
>
> Ok, last night I sit down to continue installing software on that web
> server I mentioned a couple of days ago.  By the way, the culprit was
> definitely heat.  Last night, I successfully recompiled the GENERIC
> kernel for 6.2p5 without a hitch, and the day before I successfully
> completed the "buildworld".  Continuing on, after getting the system
> caught up, I updated my ports tree using csup and proceeded to
> portupgrade all installed ports (only about 5 at this time).  However,
> X.org is among them.
>
> So, the portupgrade program is doing its thing I figure since it took
> a little over an hour to compile all of X before, I was going to do
> other things and so left the box to its own devices.  I come back a
> little later to find that I've got to update X.org according
> /usr/ports/UPDATING.  I open this file and read up on what it says.
> In there it says I need to run a script called "xorg-upgrade" however,
> this script does not exist on this box.  I just finished a search on
> www.x.org for "xorg-upgrade" with no results.  So, where am I supposed
> to get this script?  The UPDATING file doesn't mention that.

  You must set the XORG_UPGRADE environment variable to YES, and the script
is made through the command line in the UPGRADE file using the script(1)
utility.

  If you want a 100% secure X.Org upgrading, try 'portupgrade -vfarR', but
this recompiles all your installed ports... use -P instead of -f if you want
to install binary packages.

>
> Andy
> [SNIP]
>


Regards,
-- 
 .O. | Daniel Molina Wegener   | C/C++ Developer
 ..O | dmw [at] unete [dot] cl | FOSS Coding Adict
 OOO | BSD & Linux User| Standards Rocks!


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


Re: mail reader/agent for xfce4

2007-06-15 Thread Daniel Molina Wegener

El Vie, 15 de Junio de 2007, 1:13, Andriy Babiy escribió:
> Hi everybody,
>
> Could anyone share their experiences on which mail reader or agent they use
> with xfce4? Something simple, lightweight, with GUI, is highly desirable.
> I tried xmail, but it looks a bit complicated for my 8 years old son.
> Just for the record: FreeBSD i386 STABLE.

  Try Sylpheed. It's in the ports collection.

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

Regards,
-- 
 .O. | Daniel Molina Wegener   | C/C++ Developer
 ..O | dmw [at] unete [dot] cl | FOSS Coding Adict
 OOO | BSD & Linux User| Standards Rocks!


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


booting from two hard drives

2007-06-11 Thread Daniel Molina Wegener

Hello,

I've installed 6.2-STABLE in the first harddrive and 7.0-CURRENT
on the second hard drive. Easy Boot is installed in both hard drives,
and I get the boot menu for both hard drives -- using the -STABLE
boot loader -- but I get the message "Invalid partition" when I try
to boot from -CURRENT, the second disk.

What is my mistake?

Thanks in advance...
-- 
 .O. | Daniel Molina Wegener   | C/C++ Developer
 ..O | dmw [at] unete [dot] cl | FOSS Coding Adict
 OOO | BSD & Linux User| Standards Rocks!


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


Re: /dev/psm0 and Xorg woes

2007-06-01 Thread Daniel Molina Wegener
El Vie, 1 de Junio de 2007, 18:13, Paul Fraser escribió:
> Hi all,

  Hello,

>
> I've got an interesting problem which only just appeared today on my
> 6-STABLE laptop. Upon boot, gdm fails to load with the following
> error:
>
> [SNIP]
>
> Fatal server error:
> Caught signal 11.  Server aborting
>
> I do have hw.psm.synaptics_support=1 defined in /boot/loader.conf, and
> the kernel does identify it as a touchpad on boot:
>
> psm0:  irq 12 on atkbdc0
> psm0: [GIANT-LOCKED]
> psm0: model Synaptics Touchpad, device ID 0
>
> Trying to do cat /dev/psm0 gives me the following error:
> cat: /dev/psm0: Resource temporarily unavailable
>
> To me (though I'd hardly say I'm qualified to say for sure) this seems
> to be the cause of the problem. I'm not running moused on this system,
> so there shouldn't be anything locking the device.
>
> Does anybody have any suggestions? It's quite frustrating, suddenly
> being unable to use Xorg on my notebook when it was working perfectly
> well just yesterday. But darned if I can think of what changes I
> made...

  Try to check if moused is running. If is running, check if /dev/sysmouse
is present.

  If moused is running, set mouse device in Xorg to /dev/sysmouse.

  Also, moused is a better option on Xorg.

>
> FWIW, the touchpad does work fine under Windows.
>
> --
> Regards,
>
> Paul Fraser
> http://furyc0de.net/
> [SNIP]


Regards,
-- 
 .O. | Daniel Molina Wegener   | C/C++ Developer
 ..O | dmw [at] unete [dot] cl | FOSS Coding Adict
 OOO | BSD & Linux User| Standards Rocks!


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


Re: machine will no longer boot

2007-05-28 Thread Daniel Molina Wegener

Hello,

   Try booting from a FreeBSD Install CD, load the needed modules before
booting the kernel, start the sysinstall. From sysinstall in the Install
CD, start a "Fixit" shell. From the shell set the partitions booteable and
write changes. Do not resize or apply newfs to the partitions, just set
booteable and write the partition info. Mount your / slice, and install
the BTX loader into the MBR using:

boot0cfg -vB -b /boot/boot0 /dev/TheDiskDevice

That works for me on my SATA disks.

Regards
DMW


El Lun, 28 de Mayo de 2007, 12:05, WarrenHead escribió:
> Hi list,
>
> Yesterday I installed a new sata disk into my server, which is connected
> to a highpoint rocket raid card. I plugged in only one disk, so no raid yet.
>
> I ran sysinstall and then fdisk and disklabel. All was fine and I placed
> files onto the disk. Then I realized I had made a mistake, I had made
> only one partition with fdisk, and two slices with disklabel.
> (Mountpoints pointing to /mnt/x  and /mnt/y.)
> Somehow I got another mountpoint automatically which mounted the entire
> disk as one, to /media/z. Weird.
>
> So I ran sysinstall again and used fdisk to erase everything and create
> two partitions. I wrote these changes successfully to the disk.
>
> I then started disklabel (still from within sysinstall) and created the
> two mount points for the two partitions again.
> I tried to write these changes to the disk, but that failed.
>
> Mmm, weird. So, perhaps I needed to reboot first?
> Which I did, and now I cannot boot anymore.
>
> The error messages that show on screen are something like this:
> Can't stat /dev/ad4sd1 No such file or directory
> Can't stat /dev/ad4se1 No such file or directory
> After that I get a bogus shell which can do virtually nothing. I have no
> idea what it is.
> I can cat /etc/fstab though and noticed that the two lines with
> mountpoints for the new disk are indeed the new lines. I guess disklabel
> was partially succesfull?
>
> Perhaps I should simply remove these lines in /etc/fstab?
> Unfortunately, with this ridiculous shell, I don't know how to.
>
> So I tried a livecd (Knoppix 5.1). Since the system disk was formatted
> as ufstype=5xbsd, I have trouble writing to it. Bummer.
>
> But... should I remove these lines in /etc/fstab? Will this matter?
>
> Luckily I can read the disk, so if necessary I can start over, but I
> hope there is something I can do from within that odd shell.
>
> Please advise, this particular problem is not fun.
>
> Cheers, Warren
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>


-- 
 .O. | Daniel Molina Wegener   | C/C++ Developer
 ..O | dmw [at] unete [dot] cl | FOSS Coding Adict
 OOO | BSD & Linux User| Standards Rocks!


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


Re: Nvidia doesn't start on cryptic errors

2007-05-28 Thread Daniel Molina Wegener
Hello,

   Have you loaded the kernel module for the nvidia driver?

   You must load nvidia from loader.conf.

Regards,
DMW


El Lun, 28 de Mayo de 2007, 11:18, Vittorio De Martino escribió:
> On my newly bought HP pavillion 6366 notebook with freebsd 6.2 - p4 and one of
> the latest portsnap I have an nvidia go 7400 card, *** fully *** supported by
> the nvidia driver according to the docs.
>
> I followed the minimal configuration by nvidia-xconfig and just taiored the
> language for the keyboardBUT
>   startx fails to load X and in the log file I find I find the below reported
> errors.
>
> Being a beginner I find myself somewhat disorientated by these errors that I
> couldn't find surfing the net.
>
> Please help
> Ciao
> Vittorio
>
>
> 
> 
>
> (II) LoadModule: "glx"
> (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
> (II) Module glx: vendor="NVIDIA Corporation"
>   compiled for 4.0.2, module version = 1.0.9746
>   Module class: X.Org Server Extension
>   ABI class: X.Org Server Extension, version 0.1
> (II) Loading extension GLX
> (II) LoadModule: "nvidia"
> (II) Loading /usr/X11R6/lib/modules/drivers/nvidia_drv.so
> (II) Module nvidia: vendor="NVIDIA Corporation"
>   compiled for 4.0.2, module version = 1.0.9746
>   Module class: X.Org Video Driver
> 
> (II) NVIDIA dlloader X Driver  1.0-9746  Tue Dec 19 13:23:45 PST 2006
> (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
> (II) Primary Device is: PCI 01:00:0
> (--) Assigning device section with no busID to primary device
> (--) Chipset NVIDIA GPU found
> (II) Loading sub module "fb"
> (II) LoadModule: "fb"
> (II) Loading /usr/X11R6/lib/modules/libfb.so
> (II) Module fb: vendor="X.Org Foundation"
>   compiled for 6.9.0, module version = 1.0.0
>   ABI class: X.Org ANSI C Emulation, version 0.2
> (II) Loading sub module "wfb"
> (II) LoadModule: "wfb"
> (II) Loading /usr/X11R6/lib/modules/libwfb.so
> dlopen: Shared object "librpcsvc.so.2" not found, required by "libwfb.so"
> (EE) Failed to load /usr/X11R6/lib/modules/libwfb.so
> (II) UnloadModule: "wfb"
> (EE) Failed to load module "wfb" (loader failed, 7)
> (II) Loading sub module "ramdac"
> (II) LoadModule: "ramdac"
> (II) Loading /usr/X11R6/lib/modules/libramdac.so
> (II) Module ramdac: vendor="X.Org Foundation"
>   compiled for 6.9.0, module version = 0.1.0
>   ABI class: X.Org Video Driver, version 0.8
> (II) resource ranges after xf86ClaimFixedResources() call:
> .
> (II) Setting vga for screen 0.
> (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
> (==) NVIDIA(0): RGB weight 888
> (==) NVIDIA(0): Default visual is TrueColor
> (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
> (**) NVIDIA(0): Enabling RENDER acceleration
> (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module! Please ensure
> (EE) NVIDIA(0): that there is a supported NVIDIA GPU in this system, and
> (EE) NVIDIA(0): that the NVIDIA device files have been created properly.
> (EE) NVIDIA(0): Please consult the NVIDIA README for details.
> (EE) NVIDIA(0):  *** Aborting ***
> (II) UnloadModule: "nvidia"
> (II) UnloadModule: "ramdac"
> (II) UnloadModule: "fb"
> (EE) Screen(s) found, but none have a usable configuration.
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>


-- 
 .O. | Daniel Molina Wegener   | C/C++ Developer
 ..O | dmw [at] unete [dot] cl | FOSS Coding Adict
 OOO | BSD & Linux User| Standards Rocks!


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


Re: working on -CURRENT from -STABLE?

2007-05-26 Thread Daniel Molina Wegener
On Saturday 26 May 2007 21:24:58 Garrett Cooper wrote:
> Daniel Molina Wegener wrote:
> > Hello,
> >
> >How can I install -CURRENT from -STABLE and work on
> > -CURRENT code from -STABLE?
> >
> > Regards,
>
> Simply put that's not possible to set it up and work on
> -CURRENT code, if you need to test CURRENT, because the
> userland and kernel get installed in the same spots.
>
> It's much wiser to just install CURRENT and STABLE on
> separate partitions / disks and work from there, if you don't
> have access to virtual machines.

  Thanks, now... what can I use as virtual machine?. I mean, I 
need something with write access to the virtual machine 
filesystem, to work on the -CURRENT code from -STABLE, I think 
that I will be losing time compiling editors (emacs) and user 
environments two times (Xorg, KDE, etc.).

>
> -Garrett
> [SNIP]

Regards,
-- 
 .O. | Daniel Molina Wegener   | C/C++ Developer
 ..O | dmw [at] unete [dot] cl | FOSS Coding Adict
 OOO | BSD & Linux User| Standards Rocks!

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


working on -CURRENT from -STABLE?

2007-05-26 Thread Daniel Molina Wegener

Hello,

   How can I install -CURRENT from -STABLE and work on
-CURRENT code from -STABLE?

Regards,
-- 
 .O. | Daniel Molina Wegener   | C/C++ Developer
 ..O | dmw [at] unete [dot] cl | FOSS Coding Adict
 OOO | BSD & Linux User| Standards Rocks!

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


Re: Installing CURRENT from STABLE

2007-05-26 Thread Daniel Molina Wegener
On Friday 25 May 2007 23:22:26 Kris Kennaway wrote:
> On Fri, May 25, 2007 at 11:04:04PM -0400, Daniel Molina 
Wegener wrote:
> > Hello,
> >
> >I want to contribute with FreeBSD.
> >
> >I have installed STABLE on one disk, I use STABLE to
> > work, but I want to install CURRENT to begin with small
> > contributions with code.
> >
> >How can I install CURRENT from my STABLE installation, I
> > mean work on FreeBSD using the STABLE install and test the
> > CURRENT install on a diferent partition. Can I do that?
> >
> >I've tried to get working CURRENT, but I get compile
> > errors. On STABLE I have gcc 4.2 to compile CURRENT and a
> > shell script that does the next job:
> > ---8<--
> > export MAKEOBJDIRPREFIX="/work/FreeBSD/obj"
> > export PREFIX="/work/FreeBSD"
> > export CC="/usr/local/bin/gcc42"
> > export CXX="/usr/local/bin/g++42"
> > export DESTDIR="/work/FreeBSD/build"
> > export TARGET="i386"
> > make $*
> > ---8<--
> >
> >
> > I'm right?, or I need to know something more?
>
> You are not right; FreeBSD bootstraps its own compiler, and
> in fact cannot usually be built with a non-standard compiler
> (even if it is based on the same gcc version) because of
> FreeBSD extensions.
>
> Just build world as you normally would.

  Thanks, but I get compile time errors. Am I missing something? 
or it's normal to get "file not found errors"?

>
> Kris
> [SNIP]

Regards,
-- 
 .O. | Daniel Molina Wegener   | C/C++ Developer
 ..O | dmw [at] unete [dot] cl | FOSS Coding Adict
 OOO | BSD & Linux User| Standards Rocks!

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


Installing CURRENT from STABLE

2007-05-25 Thread Daniel Molina Wegener

Hello,

   I want to contribute with FreeBSD.

   I have installed STABLE on one disk, I use STABLE to work,
but I want to install CURRENT to begin with small contributions 
with code.

   How can I install CURRENT from my STABLE installation, I mean 
work on FreeBSD using the STABLE install and test the CURRENT 
install on a diferent partition. Can I do that?

   I've tried to get working CURRENT, but I get compile errors.
On STABLE I have gcc 4.2 to compile CURRENT and a shell script
that does the next job:
---8<--
export MAKEOBJDIRPREFIX="/work/FreeBSD/obj"
export PREFIX="/work/FreeBSD"
export CC="/usr/local/bin/gcc42"
export CXX="/usr/local/bin/g++42"
export DESTDIR="/work/FreeBSD/build"
export TARGET="i386"
make $*
---8<--

I'm right?, or I need to know something more? 

Thanks...

Best Regards,
-- 
 .O. | Daniel Molina Wegener   | C/C++ Developer
 ..O | dmw [at] unete [dot] cl | FOSS Coding Adict
 OOO | BSD & Linux User| Standards Rocks!

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


Re: GFORCE 7300GT Video Card/X11

2007-05-19 Thread Daniel Molina Wegener
On Saturday 19 May 2007 02:18:46 Joseph Marah wrote:
> It seems my newly installed video card NVIDIA GFORCE 7300GT
> card is not supported by Xorg 6.9.0 Release which I currently
> have. However GFORCE 7800 appears in the  chipset list.  Is
> that correct?  Does anyone have an experience with using this
> chipset (7300 GT) with FreeBSD 6.2 X11 and how did you make
> it work?  Any help will do.  Thanks.

  Hello,

  Try using the nvidia driver that is present in the ports
collection. Works fine for me...

>
>   Joseph
>
> [SNIP]

Regards,
-- 
 .O. | Daniel Molina Wegener   | C/C++ Developer
 ..O | dmw [at] unete [dot] cl | FOSS Coding Adict
 OOO | BSD & Linux User| Standards Rocks!

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


Re: customized strip down freebsd OS (less than 50MB)

2007-05-18 Thread Daniel Molina Wegener

El Vie, 18 de Mayo de 2007, 9:46, bsenthil escribió:
> Hi,
>
> I am looking for mini freebsd customized OS (less than 50MB). Is it
> possible to customize the freebsd to below 50MB?
>
> The list of modules i run over freebsd OS
> 1. TCP/IP stack
> 2. package installation.
> 3. File read and write operation
> 4. Apache server
>
> What is the minimum size of the stripped freebsd OS ?

   Try picoBSD...

>
> Please let me know detail/link how to customize freebsd OS.
>
> Thanks,
> Senthilkumar.
> [SNIP]
>


Regards,
-- 
 .O. | Daniel Molina Wegener   | C/C++ Developer
 ..O | dmw [at] unete [dot] cl | FOSS Coding Adict
 OOO | BSD & Linux User| Standards Rocks!


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


Re: Kernel build question (options and so forth)

2007-05-17 Thread Daniel Molina Wegener

El Jue, 17 de Mayo de 2007, 15:11, Andrew Falanga escribió:
> Hi,

   Hello,

>
> In addition to my quest to upgrade this 6.0-RELEASE to 6.2-RELEASE-p4,
> I have a question about the kernel and SMP.  This system has two
> processors and I want to make sure I'm going to build an SMP capable
> kernel, especially, considering I'm going from 6.0 to 6.2.  I managed
> to find a past posting to this list saying that from 6.2 on, SMP is
> detected and used by default; will this happen for me?  Should I edit
> /usr/src/sys//conf/MYKERNEL with something like "options SMP" or
> whatever it is?  (I'm only guessing here, and I want to make sure I
> get an SMP kernel.)

   Review the GENERIC and NOTES kernel configs. The options for SMP kernels
in i386 arch are commented.

>
> Thanks,
> Andy
>
> [SNIP]
>

Regards,
-- 
 .O. | Daniel Molina Wegener   | C/C++ Developer
 ..O | dmw [at] unete [dot] cl | FOSS Coding Adict
 OOO | BSD & Linux User| Standards Rocks!


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


Re: How to change Font FreeBSD 6.1

2007-05-17 Thread Daniel Molina Wegener

Hello...

El Jue, 17 de Mayo de 2007, 17:26, Oscar Chavarria escribió:
> I haven't been able to change the font appearing on my monitor. Where should
> I look for that format?

   Please review de handbook:
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-fonts.html

   And this article:
   http://www.freebsddiary.org/console-fonts.php

   Also, try reading the rc.conf(5) manual page.

>
>
> --
> Regards
>
> Oscar Chavarria
> Mobile:  +506 814-0247
>
> [SNIP]
>

Regards,
-- 
 .O. | Daniel Molina Wegener   | C/C++ Developer
 ..O | dmw [at] unete [dot] cl | FOSS Coding Adict
 OOO | BSD & Linux User| Standards Rocks!


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


Re: /etc/devfs.conf not working properly

2007-05-15 Thread Daniel Molina Wegener

El Mar, 15 de Mayo de 2007, 15:12, Jim Stapleton escribió:
> Thank you, I couldn't find the user mount flag. It's not in the files
> comments, the sysctl (3)(8) man page or the sysctl.conf (8) man page.
> Where can I find it listed?

   Hello, try:

   sysctl -a | grep user

   This (sysctl -a) gives you a complete list of available kernel options...
some of them
are readonly...

>
> Thanks,
> -Jim Stapleton
>
> On 5/15/07, Daniel Molina Wegener <[EMAIL PROTECTED]> wrote:
>>
>> El Mar, 15 de Mayo de 2007, 13:53, Jim Stapleton escribió:
>> > I have my /etc/devfs.conf file set to make some of my files
>> > mountable/readable directly for normal users (specifically CD/DVD
>> > devices). However, the original permissions are being retained. Am I
>> > doing something wrong in the setup? (I have rebooted the machine since
>> > these entries were created)
>> >
>> >
>> > devfs.conf:
>> > 
>> > linkacd0cdrom
>> > linkacd0dvd
>> >
>> > linkacd0dvd0
>> > linkacd1dvd1
>> >
>> > linkacd0cdrom0
>> > linkacd1cdrom1
>> >
>> > own acd0root:operator
>> > own acd1root:operator
>> > own dvd root:operator
>> > own cdrom   root:operator
>> > own dvd0root:operator
>> > own dvd1root:operator
>> > own cdrom0  root:operator
>> > own cdrom1  root:operator
>> >
>> > permacd00770
>> > permacd10770
>> > permdvd 0770
>> > permcdrom   0770
>> > permdvd00770
>> > permdvd10770
>> > permcdrom0  0770
>> > permcdrom0  0770
>> >
>> >
>> >
>> > #memory disks
>> > own mdctl   root:operator
>> > permmdctl   770
>> >
>> >
>> > # Allow a user in the wheel group to query the smb0 device
>> > #perm   smb00660
>> >
>> > # Allow members of group operator to cat things to the speaker
>> > #ownspeaker root:operator
>> > #perm   speaker 0660
>> > 
>> >
>> >
>> > the majority of the relevant files look like this:
>> > 
>> > [EMAIL PROTECTED] 13:50:52 (0) /etc  > ls -l /dev | grep dvd
>> > lrwxr-xr-x  1 root  wheel4 May 10 05:32 dvd -> acd0
>> > lrwxr-xr-x  1 root  wheel4 May 10 05:32 dvd0 -> acd0
>> > lrwxr-xr-x  1 root  wheel4 May 10 05:32 dvd1 -> acd1
>> > [EMAIL PROTECTED] 13:51:03 (0) /etc  > ls -l /dev | grep cd
>> > crwxrwx---  1 root  operator0,  89 May 10 05:31 acd0
>> > crwxrwx---  1 root  operator0,  90 May 10 05:31 acd1
>> > lrwxr-xr-x  1 root  wheel4 May 10 05:32 cdrom -> acd0
>> > lrwxr-xr-x  1 root  wheel4 May 10 05:32 cdrom0 -> acd0
>> > lrwxr-xr-x  1 root  wheel        4 May 10 05:32 cdrom1 -> acd1
>> > lrwxr-xr-x  1 root  wheel4 May 10 05:32 dvd -> acd0
>> > lrwxr-xr-x  1 root  wheel4 May 10 05:32 dvd0 -> acd0
>> > lrwxr-xr-x  1 root  wheel4 May 10 05:32 dvd1 -> acd1
>> > 
>> >
>> >
>> > Their permssions are not correct at all, except for acd0/acd1. Any
>> > suggestions on what would cause this one?
>> >
>> > Thank you,
>> > -Jim Stapleton
>> > [SNIP]
>> >
>>
>> Hello,
>>
>>Try the user mount flag with sysctl. You can set the flag on boot editing
>> the
>> /etc/sysctl.conf file.
>>
>> Regards,
>> --
>>  .O. | Daniel Molina Wegener   | C/C++ Developer
>>  ..O | dmw [at] unete [dot] cl | FOSS Coding Adict
>>  OOO | BSD & Linux User| Standards Rocks!
>>
>>
>>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>


-- 
 .O. | Daniel Molina Wegener   | C/C++ Developer
 ..O | dmw [at] unete [dot] cl | FOSS Coding Adict
 OOO | BSD & Linux User| Standards Rocks!


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


Re: File System errors

2007-05-15 Thread Daniel Molina Wegener

El Mar, 15 de Mayo de 2007, 14:15, Ross Penner escribió:
> I recently had my system freeze so I had to manually restart it. I was
> worried that there would be some problems with the filesystem so I
> looked into the matter and discovered the utility fsck. I ran this as
> root and I got the following:
>
> rosbot# fsck
> ** /dev/ar0s1a (NO WRITE)
> ** Last Mounted on /
> ** Root file system
> ** Phase 1 - Check Blocks and Sizes
> ** Phase 2 - Check Pathnames
> ** Phase 3 - Check Connectivity
> ** Phase 4 - Check Reference Counts
> ** Phase 5 - Check Cyl groups
> 1549 files, 27349 used, 226466 free (650 frags, 28227 blocks, 0.3%
> fragmentation)
> ** /dev/ar0s1e (NO WRITE)
> ** Last Mounted on /tmp
> ** Phase 1 - Check Blocks and Sizes
> ** Phase 2 - Check Pathnames
> ** Phase 3 - Check Connectivity
> ** Phase 4 - Check Reference Counts
> ** Phase 5 - Check Cyl groups
> 39 files, 2445 used, 251370 free (50 frags, 31415 blocks, 0.0% fragmentation)
> ** /dev/ar0s1f (NO WRITE)
> ** Last Mounted on /usr
> ** Phase 1 - Check Blocks and Sizes
> ** Phase 2 - Check Pathnames
> ** Phase 3 - Check Connectivity
> ** Phase 4 - Check Reference Counts
> ** Phase 5 - Check Cyl groups
> FREE BLK COUNT(S) WRONG IN SUPERBLK
> SALVAGE? no
>
> 292882 files, 98192697 used, 135895442 free (39610 frags, 16981979
> blocks, 0.0% fragmentation)
> ** /dev/ar0s1d (NO WRITE)
> ** Last Mounted on /var
> ** Phase 1 - Check Blocks and Sizes
> ** Phase 2 - Check Pathnames
> ** Phase 3 - Check Connectivity
> ** Phase 4 - Check Reference Counts
> UNREF FILE I=117781  OWNER=root MODE=140666
> SIZE=0 MTIME=May 15 09:56 2007
> CLEAR? no
>
> UNREF FILE I=141337  OWNER=teamspeak MODE=100600
> SIZE=2048 MTIME=May 15 09:56 2007
> CLEAR? no
>
> ** Phase 5 - Check Cyl groups
> FREE BLK COUNT(S) WRONG IN SUPERBLK
> SALVAGE? no
>
> SUMMARY INFORMATION BAD
> SALVAGE? no
>
> 18514 files, 70825 used, 905728 free (6688 frags, 112380 blocks, 0.7%
> fragmentation)
>
>
> It seems to my unexperienced eye that their are problems in some of
> the filesystems, but they arn't being resolved. I tried running fsck
> -y  and nothing changed. What am I doing wrong? How can I resolve
> these issues? Thanks for any help you can offer.
> [SNIP]
>

Hello,

   Try booting in single user mode, then running fsck again with -y parameter --
seems to
need unmounted devices.

Regards,
-- 
 .O. | Daniel Molina Wegener   | C/C++ Developer
 ..O | dmw [at] unete [dot] cl | FOSS Coding Adict
 OOO | BSD & Linux User| Standards Rocks!


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


Re: /etc/devfs.conf not working properly

2007-05-15 Thread Daniel Molina Wegener

El Mar, 15 de Mayo de 2007, 13:53, Jim Stapleton escribió:
> I have my /etc/devfs.conf file set to make some of my files
> mountable/readable directly for normal users (specifically CD/DVD
> devices). However, the original permissions are being retained. Am I
> doing something wrong in the setup? (I have rebooted the machine since
> these entries were created)
>
>
> devfs.conf:
> 
> linkacd0cdrom
> linkacd0dvd
>
> linkacd0dvd0
> linkacd1dvd1
>
> linkacd0cdrom0
> linkacd1cdrom1
>
> own acd0root:operator
> own acd1root:operator
> own dvd root:operator
> own cdrom   root:operator
> own dvd0root:operator
> own dvd1root:operator
> own cdrom0  root:operator
> own cdrom1  root:operator
>
> permacd00770
> permacd10770
> permdvd 0770
> permcdrom   0770
> permdvd00770
> permdvd10770
> permcdrom0  0770
> permcdrom0  0770
>
>
>
> #memory disks
> own mdctl   root:operator
> permmdctl   770
>
>
> # Allow a user in the wheel group to query the smb0 device
> #perm   smb00660
>
> # Allow members of group operator to cat things to the speaker
> #ownspeaker root:operator
> #perm   speaker 0660
> 
>
>
> the majority of the relevant files look like this:
> 
> [EMAIL PROTECTED] 13:50:52 (0) /etc  > ls -l /dev | grep dvd
> lrwxr-xr-x  1 root  wheel4 May 10 05:32 dvd -> acd0
> lrwxr-xr-x  1 root  wheel4 May 10 05:32 dvd0 -> acd0
> lrwxr-xr-x  1 root  wheel4 May 10 05:32 dvd1 -> acd1
> [EMAIL PROTECTED] 13:51:03 (0) /etc  > ls -l /dev | grep cd
> crwxrwx---  1 root  operator0,  89 May 10 05:31 acd0
> crwxrwx---  1 root  operator0,  90 May 10 05:31 acd1
> lrwxr-xr-x  1 root  wheel4 May 10 05:32 cdrom -> acd0
> lrwxr-xr-x  1 root  wheel4 May 10 05:32 cdrom0 -> acd0
> lrwxr-xr-x  1 root  wheel4 May 10 05:32 cdrom1 -> acd1
> lrwxr-xr-x  1 root  wheel4 May 10 05:32 dvd -> acd0
> lrwxr-xr-x  1 root  wheel4 May 10 05:32 dvd0 -> acd0
> lrwxr-xr-x  1 root  wheel4 May 10 05:32 dvd1 -> acd1
> 
>
>
> Their permssions are not correct at all, except for acd0/acd1. Any
> suggestions on what would cause this one?
>
> Thank you,
> -Jim Stapleton
> [SNIP]
>

Hello,

   Try the user mount flag with sysctl. You can set the flag on boot editing the
/etc/sysctl.conf file.

Regards,
-- 
 .O. | Daniel Molina Wegener   | C/C++ Developer
 ..O | dmw [at] unete [dot] cl | FOSS Coding Adict
 OOO | BSD & Linux User| Standards Rocks!


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


Re: hi

2007-03-20 Thread Daniel Molina Wegener
On Tuesday 20 March 2007 20:33, Drew White wrote:
> Hi NOOB question... 

  Hi...

> I installed a second hard drive on the 
> computer to put FreeBSD on, with windows xp on the other
> drive. Can I dl the software and install it on the other hard
> drive without burning it to cds or using floppy discs?
> Wondering if I can do it from the other drive/operating
> system.

  Yes, you can. But you need to install the boot loader on
the first disc. Try using shell from install disc.

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

Regards,
-- 
 .O. | Daniel Molina Wegener   | C/C++ Developer
 ..O | dmw [at] unete [dot] cl | FOSS Coding Adict
 OOO | BSD & Linux User| Standards Rocks!

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


Re: Running X window system

2007-03-03 Thread Daniel Molina Wegener
On Sunday 04 March 2007 00:50, Warwick Sweetnam wrote:
> Hi, I am having trouble getting X window system to
> boot on a 2196 24A IBM Aptiva. The specs of the on-board
> graphics card are as follows:
> 64meg Ram
> SiS540 or SiS630
>
> The monitor is a dell lcd model no. 1504FP
> specs are as follows:
> Resolution
>
> Horizontal scan range 31 kHz to 60 kHz (automatic)
> Vertical scan range 60 Hz to 75 Hz (automatic)
> Optimal preset resolution 1024 x 768 at 60 Hz
> Highest preset resolution 1024 x 768 at 75 Hz
> * Highest addressable resolution 1024 x 768 at 75 Hz
> Most resolutions run primarily on VESA of which I
> have tried as generic driver.
>
> Ive tried running the system with all different options
> and resolutions, including running with the generic SiS
> drivers, when I try to select specific chipsets there is
> never an exact match, the closest match in the options
> to the SiS540 is the SiS530, and closet to SiS630 is SiS620,
> im unsure of the exact chipset on my board as i cant seem
> to locate the model anywhere, I just know from a maintenence
> manual that these are the 2 possible chipsets.
>
> I have tried entering the horizontal and vertical refresh
> rates manually and running with both types of SiS chipset
> drivers at different low resolutions and different bit depths
> (24 and 16) but still no luck.
> If it helps I am trying to run fluxbox with on this
> particular install and are following a step-by-step guide but
> not a lot of troubleshooting advice is given unfortunatly.
> Any help would be greatly appreciated, I hope to have
> provided the needed information.
>
> [SNIP]

  Have you tried "Xorg -configure"?

Regards,
-- 
 .O. | Daniel Molina Wegener   | C/C++ Developer
 ..O | dmw [at] unete [dot] cl | FOSS Coding Adict
 OOO | BSD & Linux User| Standards Rocks!

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


Re: Assembly language on FreeBSD

2007-02-07 Thread Daniel Molina Wegener
On Wednesday 07 February 2007 19:45, Rico Secada wrote:
> Hi
>
> I am brushing up on my assembler language and I wonder if
> anyone could recommend any particular reading well suited for
> FreeBSD?

  Try looking as(1) manual page, the gas info page (info gas)
and looking on the internet for guides regarding AT&T assembler
syntax.

  Also, is assembler code in the kernel source, the X.Org 
distribution and some multimedia tools that are using mmx, sse
3dnow instruction sets.

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


Regards,
-- 
 .O. | Daniel Molina Wegener   | C/C++ Developer
 ..O | dmw [at] unete [dot] cl | FOSS Coding Adict
 OOO | BSD & Linux User| Standards Rocks!

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


Re: [freebsd-questions] syslog from Cisco -> FreeBSD not working

2007-02-06 Thread Daniel Molina Wegener

Howard Jones wrote:

Ewald Jenisch wrote:

To further track this down I changed the above line in syslog.conf to
read

+myrouter
local7.*/var/log/cisco-syslog
+*
  

What I did to get this working was (in syslog.conf):
+printserver
!*
*.* /usr/log/printserver.log

AND in /etc/hosts:
10.1.1.8printserver

so that the 'printserver' name is resolved. No doubt a reverse DNS entry
would have done the job too. My syslogd command line is like yours.


  Also, the -a flag may be used with syslogd.



Hope that might help...

Howie

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



Regards,
--
 .O. | Daniel Molina Wegener   | C/C++ Developer
 ..O | dmw [at] unete [dot] cl | FOSS Coding Addict
 OOO | FreeBSD & Linux User| Standards Rocks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: rc.conf Where to put DNS Servers addresses

2007-01-07 Thread Daniel Molina Wegener
On Sunday 07 January 2007 09:05, VeeJay wrote:
> Hello friends

  Hello

> During installation, we provide DNS server address,
> Defaultrouter address, machin's IP address and Netmask
> address.
>
> I can find and change the IP, Netmask and Defaultrouter
> addresses in /etc/rc.conf. But where to find & change DNS1 &
> DNS2 servers IP's?
>
> In which file and what location, I can find the DNS Server IP
> address I gave during installation?

  Try looking at /etc/resolv.conf and resolver(5) manual page.
>
> Thanks for the help!

Best regards,
-- 
 . 0 . | Daniel Molina Wegener
 . . 0 | dmw at unete dot cl
 0 0 0 | FreeBSD User
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: error ouput of fsck

2006-12-09 Thread Daniel Molina Wegener
> > > 192# fsck -y
> > > ** /dev/ad7s1a (NO WRITE)
> > > ** Last Mounted on /
> > > ** Root file system
> > > ** Phase 1 - Check Blocks and Sizes
> > > ** Phase 2 - Check Pathnames
> > > ** Phase 3 - Check Connectivity
> > > ** Phase 4 - Check Reference Counts
> > > ** Phase 5 - Check Cyl groups
> > > 1493 files, 29211 used, 7586428 free (740 frags, 948211
> > > blocks, 0.0% fragmentation)
> > > ** /dev/ad7s1d (NO WRITE)
> > > ** Last Mounted on /tmp
> > > ** Phase 1 - Check Blocks and Sizes
> > > ** Phase 2 - Check Pathnames
> > > ** Phase 3 - Check Connectivity
> > > ** Phase 4 - Check Reference Counts
> > > ** Phase 5 - Check Cyl groups
> > > 38 files, 21 used, 7615618 free (154 frags, 951933
> > > blocks, 0.0% fragmentation)
> > > ** /dev/ad7s1f (NO WRITE)
> > > ** Last Mounted on /usr
> > > ** Phase 1 - Check Blocks and Sizes
> > > ** Phase 2 - Check Pathnames
> > > ** Phase 3 - Check Connectivity
> > > ** Phase 4 - Check Reference Counts
> > > ** Phase 5 - Check Cyl groups
> > > 233993 files, 1179379 used, 38959217 free (47889 frags,
> > > 4863916 blocks, 0.1% fragmentation)
> > > ** /dev/ad7s1e (NO WRITE)
> > > ** Last Mounted on /var
> > > ** Phase 1 - Check Blocks and Sizes
> > > ** Phase 2 - Check Pathnames
> > > ** Phase 3 - Check Connectivity
> > > ** Phase 4 - Check Reference Counts
> > > UNREF FILE I=376867  OWNER=mysql MODE=100600
> > > SIZE=0 MTIME=Dec  9 16:51 2006
> > > CLEAR? no
> > >
> > > UNREF FILE I=376868  OWNER=mysql MODE=100600
> > > SIZE=0 MTIME=Dec  9 16:51 2006
> > > CLEAR? no
> > >
> > > UNREF FILE I=376869  OWNER=mysql MODE=100600
> > > SIZE=0 MTIME=Dec  9 16:51 2006
> > > CLEAR? no
> > >
> > > UNREF FILE I=376870  OWNER=mysql MODE=100600
> > > SIZE=0 MTIME=Dec  9 16:51 2006
> > > CLEAR? no
> > >
> > > UNREF FILE I=1530904  OWNER=root MODE=100644
> > > SIZE=0 MTIME=Dec  9 16:51 2006
> > > CLEAR? no
> > >
> > > ** Phase 5 - Check Cyl groups
> > > SUMMARY BLK COUNT(S) WRONG IN SUPERBLK
> > > SALVAGE? no
> > >
> > > 1464 files, 29446 used, 7586194 free (506 frags, 948211
> > > blocks, 0.0% fragmentation)
> > > 192#
> >
> >   Try booting in single user mode, and then unmounting all
> >units:
> >   # umount -a
> >   # fsck -y
> >   # mount -a
> >
> >   If the last command goes well, the file system check is
> >done...
> >
> > > _
> > >  Express yourself instantly with MSN Messenger!
> > > Download today it's FREE!
> > > http://messenger.msn.click-url.com/go/onm00200471ave/dire
> > >ct/0 1/
> > >
> > > ___
> > > freebsd-questions@freebsd.org mailing list
> > > http://lists.freebsd.org/mailman/listinfo/freebsd-questio
> > >ns To unsubscribe, send any mail to
> > > "[EMAIL PROTECTED]"
> >
> >Best regards,
> >--
> >  . 0 . | Daniel Molina Wegener
> >  . . 0 | dmw at unete dot cl
> >  0 0 0 | FreeBSD User
> >___
> >freebsd-questions@freebsd.org mailing list
> >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >To unsubscribe, send any mail to
> >"[EMAIL PROTECTED]"
>
> _
> Express yourself instantly with MSN Messenger! Download
> today it's FREE!
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/0
>1/
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

-- 
 . 0 . | Daniel Molina Wegener
 . . 0 | dmw at unete dot cl
 0 0 0 | FreeBSD User
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Example network protocol implementation

2006-12-09 Thread Daniel Molina Wegener
On Saturday 09 December 2006 17:18, Vishal Patil wrote:
> Could someone point me to an example that shows a SIMPLE
> network protocol implemented over TCP/IP inside the FreeBSD
> kernel. I think I could look at the NFS client driver but is
> there an example simpler than that. Also is there a guide
> explaining how to go about developing TCP/IP based network
> protocols for FreeBSD.

  Try looking at telnet(1) and telnetd(8) source code, also 
fetch(1) should works too...

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

Best regards,
-- 
 . 0 . | Daniel Molina Wegener
 . . 0 | dmw at unete dot cl
 0 0 0 | FreeBSD User
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: error ouput of fsck

2006-12-09 Thread Daniel Molina Wegener
On Saturday 09 December 2006 11:48, Marwan Sultan wrote:
> Hello Gurus,
>
>   Im on FreeBSD 6.1R-p10, Box acting as NAT/gateway.
>   I have mysql, freeradius, chillispot installed all working
> okay.
>
>   Every like 2-3 weeks my box become slow...internet sharing
> works and stops,
>   timeout, page cannot be displayed... and when i dig in the
> logs... i see really nothing..
>   no i mean nothing! but 1 strange thing.. my radius log says
> the follow
>
> Sat Dec  9 16:51:18 2006 : Info: Ready to process requests.
> Sat Dec  9 17:26:30 2006 : Info: rlm_sql (sql): Trying to
> (re)connect unconnected handle 4..
> Sat Dec  9 17:26:30 2006 : Info: rlm_sql_mysql: Starting
> connect to MySQL server for #4
> Sat Dec  9 17:26:30 2006 : Info: rlm_sql (sql): got socket 4
> after skipping 0 unconnected handles, tried to reconnect 1
> though
> Sat Dec  9 17:26:30 2006 : Info: rlm_sql (sql): Trying to
> (re)connect unconnected handle 3..
> Sat Dec  9 17:26:30 2006 : Info: rlm_sql_mysql: Starting
> connect to MySQL server for #3
> Sat Dec  9 17:26:30 2006 : Info: rlm_sql (sql): got socket 3
> after skipping 0 unconnected handles, tried to reconnect 1
> though
> Sat Dec  9 17:26:30 2006 : Info: rlm_sql (sql): Trying to
> (re)connect unconnected handle 2..
> Sat Dec  9 17:26:30 2006 : Info: rlm_sql_mysql: Starting
> connect to MySQL server for #2
> Sat Dec  9 17:26:30 2006 : Info: rlm_sql (sql): got socket 2
> after skipping 0 unconnected handles, tried to reconnect 1
> though
> Sat Dec  9 17:26:30 2006 : Info: rlm_sql (sql): Trying to
> (re)connect unconnected handle 1..
> Sat Dec  9 17:26:30 2006 : Info: rlm_sql_mysql: Starting
> connect to MySQL server for #1
> Sat Dec  9 17:26:30 2006 : Info: rlm_sql (sql): got socket 1
> after skipping 0 unconnected handles, tried to reconnect 1
> though
>
> However, maybe the previous log, is not freebsd concerns..but
> for a while i was thinking why
> isql giving such an error, in the time its working and its
> up. really no logs..
> I tried to do fsck.. and here its...SUPERBLK errors.. and i
> cannot understand why @
> can someone kindly look into these fsck output and explain
> for me please? why and how to solve..
> what makes it more wierd, that after 2 or 3 weeks, another
> server on diffrent network
> had _same_problem_exactly_, any explains please?
>
> 192# fsck -y
> ** /dev/ad7s1a (NO WRITE)
> ** Last Mounted on /
> ** Root file system
> ** Phase 1 - Check Blocks and Sizes
> ** Phase 2 - Check Pathnames
> ** Phase 3 - Check Connectivity
> ** Phase 4 - Check Reference Counts
> ** Phase 5 - Check Cyl groups
> 1493 files, 29211 used, 7586428 free (740 frags, 948211
> blocks, 0.0% fragmentation)
> ** /dev/ad7s1d (NO WRITE)
> ** Last Mounted on /tmp
> ** Phase 1 - Check Blocks and Sizes
> ** Phase 2 - Check Pathnames
> ** Phase 3 - Check Connectivity
> ** Phase 4 - Check Reference Counts
> ** Phase 5 - Check Cyl groups
> 38 files, 21 used, 7615618 free (154 frags, 951933 blocks,
> 0.0% fragmentation)
> ** /dev/ad7s1f (NO WRITE)
> ** Last Mounted on /usr
> ** Phase 1 - Check Blocks and Sizes
> ** Phase 2 - Check Pathnames
> ** Phase 3 - Check Connectivity
> ** Phase 4 - Check Reference Counts
> ** Phase 5 - Check Cyl groups
> 233993 files, 1179379 used, 38959217 free (47889 frags,
> 4863916 blocks, 0.1% fragmentation)
> ** /dev/ad7s1e (NO WRITE)
> ** Last Mounted on /var
> ** Phase 1 - Check Blocks and Sizes
> ** Phase 2 - Check Pathnames
> ** Phase 3 - Check Connectivity
> ** Phase 4 - Check Reference Counts
> UNREF FILE I=376867  OWNER=mysql MODE=100600
> SIZE=0 MTIME=Dec  9 16:51 2006
> CLEAR? no
>
> UNREF FILE I=376868  OWNER=mysql MODE=100600
> SIZE=0 MTIME=Dec  9 16:51 2006
> CLEAR? no
>
> UNREF FILE I=376869  OWNER=mysql MODE=100600
> SIZE=0 MTIME=Dec  9 16:51 2006
> CLEAR? no
>
> UNREF FILE I=376870  OWNER=mysql MODE=100600
> SIZE=0 MTIME=Dec  9 16:51 2006
> CLEAR? no
>
> UNREF FILE I=1530904  OWNER=root MODE=100644
> SIZE=0 MTIME=Dec  9 16:51 2006
> CLEAR? no
>
> ** Phase 5 - Check Cyl groups
> SUMMARY BLK COUNT(S) WRONG IN SUPERBLK
> SALVAGE? no
>
> 1464 files, 29446 used, 7586194 free (506 frags, 948211
> blocks, 0.0% fragmentation)
> 192#

  Try booting in single user mode, and then unmounting all
units:
  # umount -a
  # fsck -y
  # mount -a

  If the last command goes well, the file system check is 
done...

> _
> Express yourself instantly with MSN Messenger! Download
> today it's FREE!
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/0
>1/
>
> ___
> freebsd-questio

Re: syslogd remote logging

2006-08-21 Thread Daniel Molina Wegener

Josh Paetzel escribió:
I am trying to get syslogd configured to do remote logging to another 
box.  In my syslog.conf on the local machine I have:


local0.*  @xx.xx.xx.xx

In syslog.conf on the remote machine I have:

local0.* /some/file.log

and I have added the syslogd_flags="-a xx.xx.xx.xx/xx" to rc.conf on 
the remote machine and restarted syslogd.  

So far nothing is being logged to the remote machine.  Can anyone 
point out a step that I have missed?




Hello,

   In the machine that receives the syslogd messages, try specifiying
the message source:

+host   # host is the name of the machine that sends messages
local0.*/some/file.log  # the message type and log file
+*  # resets the log source specification...

   The manual page syslog.conf(5) specifies this issue.

   http://www.freebsd.org/cgi/man.cgi?query=syslog.conf&sektion=5

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


Re: Extended file atributes

2006-08-13 Thread Daniel Molina Wegener
On Sunday 13 August 2006 10:31, stan wrote:
> I was just reading about something called "extended file
> atributes", in Linux. This seems to be a way to store
> arbitray tag -> value pairs in the filesystem, which are
> assocaited with a given file.

  Hello, it's similar, but not identical... see the chflags(1)
and chflags(2) manual pages.

>
> Can this be done in FreeBSd?

Regards...
-- 
 . 0 . | Daniel Molina Wegener
 . . 0 | dmw at unete dot cl
 0 0 0 | FreeBSD User
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Freebsd-Devel

2006-06-12 Thread Daniel Molina Wegener
On Sunday 11 June 2006 10:46, Jim Stapleton wrote:

> I was looking at the mailing list, and I couldn't find a
> "freebsd-devel" list, though I thought I heard of one's existance.
> What am I missing here?

  Try freebsd-hackers and freebsd-current, also freebsd-bugs should
be intereting.

> [SNIP]

Best regards...
-- 
 . 0 . | Daniel Molina Wegener
 . . 0 | dmw at unete dot cl
 0 0 0 | FreeBSD User
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Im new to FreeBSD

2006-06-12 Thread Daniel Molina Wegener
On Monday 12 June 2006 12:52, [EMAIL PROTECTED] wrote:

> why do all of these e-mails show up in my inboxxx
> please lemme know

  You have subscribed your self to the mailing list...

> [SNIP]

Best regards...
-- 
 . 0 . | Daniel Molina Wegener
 . . 0 | dmw at unete dot cl
 0 0 0 | FreeBSD User
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Subversion ports problem

2006-06-11 Thread Daniel Molina Wegener
On Monday 12 June 2006 01:00, Ron wrote:
> I'm running 5.3, and I'm trying to upgrade subverson and I get the
> following:
>
> ===>  Building for subversion-1.3.2
> cd subversion/libsvn_subr && /usr/local/bin/libtool --tag=CC --silent
> --mode=link cc  -O -pipe   -g -O2   -L/usr/local/lib/db42 -L/usr/local/lib 
> -rpath /usr/local/lib -o libsvn_subr-1.la  auth.lo cmdline.lo config.lo
> config_auth.lo config_file.lo config_win.lo constructors.lo ctype.lo
> date.lo error.lo hash.lo io.lo lock.lo md5.lo nls.lo opt.lo path.lo pool.lo
> quoprint.lo sorts.lo stream.lo subst.lo svn_base64.lo svn_string.lo
> target.lo time.lo utf.lo utf_validate.lo validate.lo version.lo xml.lo
> -L/usr/local/lib -R/usr/local/lib -laprutil-1 -ldb-4.2 -lexpat -liconv
> -L/usr/local/lib -R/usr/local/lib -lapr-1 -lcrypt  -lpthread -lintl
> /usr/bin/ld: cannot find -ldb-4.2
> *** Error code 1
>
> I have db4 up-to-date:
>
> db4-4.0.14_1,1  =   up-to-date with port
>
> I've tried using portupgrade, portinstall and the make system and I get the
> same error.  I've tried installing with WITHOUT_DBD and nothing helps...

  Hello, db-4.2 is required for the port.

  Go to the /usr/ports/databases/db42 directory and build this port.

  You should find some conflicts with the installed version, but you can
make a portupgrade -vrR db4, and also this may impact other installed
packages.

>
> Any ideas what I am doing wrong?
>

  This should help you...

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

-- 
 . 0 . | Daniel Molina Wegener
 . . 0 | dmw at unete dot cl
 0 0 0 | FreeBSD User
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Firefox 1.5.0.1 port

2006-02-17 Thread Daniel Molina Wegener
Hello,

   I have installed the firefox 1.5.0.1 browser port -- the
latest version -- but everytime uses the pc speaker and I
get a constant "beep!, beep!, beep!".

   Anyone knows the solution to this problem?.

   I've searched in preferences and about:config url, but
nothing seems to be the right option to disable the constant
beep. Also, google doesn't have information about this problem.

Best regards,
-- 
 . 0 . | Daniel Molina Wegener
 . . 0 | dmw at unete dot cl
 0 0 0 | FreeBSD Power User
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sshd question

2006-01-20 Thread Daniel Molina Wegener
   On Thu, Jan 19, 2006 at 05:41:41PM -0900,
   Beech Rintoul wrote:

> I'm trying to set up ssh to use keys to authenticate on   
> a remote server. I've always used passwords in the past.  
> I generated a key pair and exported my public key to  
> ~/.ssh/authorized_keys on the remote machine. I changed   
> sshd_config to "PasswordAuthentication no". when I login the  
> remote machine still asks for a password. What do I change to 
> just use the key to log in?   

  Well, that's right, but you must set also the next options:

ChallengeResponseAuthentication no
PermitEmptyPasswordsno
PasswordAuthentication  no
IgnoreRhostsyes
IgnoreUserKnownHostsyes
HostbasedAuthentication no
RhostsRSAAuthentication no
PubkeyAuthenticationyes
PermitRootLogin no
StrictModes yes

  This could be more secure. Never allow remote users to gain
root access. Instead, put a user in the wheel group to allow
this user to run su(1), also, you can setup a user with uid =
0, on another group to maintain the root user a little bit more
safe.

  Also, the logging options are should be these settings.

SyslogFacility  AUTH
LogLevelVERBOSE

> Thanks,

  Best regards...

Atte.
-- 
 . 0 . | Daniel Molina Wegener
 . . 0 | dmw at unete dot cl
 0 0 0 | FreeBSD Power User
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: USB mice don't work

2005-11-06 Thread Daniel Molina Wegener
   On Sun, Nov 06, 2005 at 05:27:51PM +0100,
   Moritz Lipfert wrote:

> Hi,
> 
> on every start of FreeBSD 6.0-stable amd64 the kernel reports
> "device problem (set_addr_failed)..." and my USB mice
> don't work. I've tested a Logitech MX518 and a Microsoft
> IntelliMouse Explorer 3.0. The LEDs of the optical sensors are
> not working. The USB-daemon is started and I already tried to
> configure the mice with sysinstall. Nothing helped.
> 
> How can I solve this problem? Any ideas?

  If you use moused, try de "auto" in the mouse type parameter.
  From the moused(8) manual page:
  --- BEGIN QUOTE --
  For the USB mouse, the protocol must be auto.  No other protocol
  will work with the USB mouse.
  --- END QUOTE ---

  Also, use the same moused in the X Windows System.

> System specs:
> AMD Athlon64 3500+
> 2x 512MB Corsair Memory
> MSI K8N Neo2 Platinum (nVidia nForce3)
> ATi Radeon X800XT-PE
> 
> In Linux both mice work flawlessly!
>
> Best regards,
> MorLipf
> [SNIP]

Regards
-- 
 . 0 . | Daniel Molina Wegener
 . . 0 | dmw at unete dot cl
 0 0 0 | FreeBSD Power User
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: firewall messages to syslogd

2005-10-30 Thread Daniel Molina Wegener
   On Sun, Oct 30, 2005 at 09:22:39AM -0600,
   Eric F Crist wrote:

> On Oct 29, 2005, at 10:32 PM, Daniel Molina Wegener wrote:
> 
> >
> >Hello,
> >
> >   How can I add firewall log messages to syslogd, I have
> >added the following lines to the syslog.conf:
> >
> ># router
> >+router
> >*.* /var/log/router.log
> >
> >   Also, syslogd is running with the flag -a with the ip
> >address of the firewall -- the mask, and service.
> >
> >   The computer receive the packets to the 514 port --
> >I've used tcpdump to log the packets -- but the messages
> >are not logged into the router.log file.
>
>
> Try the following in your /etc/syslog.conf file, assuming you're  
> using ipfw as your firewall:

  No, the problem was while I trying to retreive syslog messages
from a firewall.

> #ipfw logging
> !ipfw
> *.*/var/log/router.log

  That's OK, and works well, the problem was with an external
firewall/router sending messages to syslogd, port 514. This needs
the use of +host_name to log messages from the host_name machine.

  Well, now it works...

> Now, perform the following command, assuming your running FreeBSD 5.x+:
>
> # touch /var/log/router.log && chmod 0600 /var/log/router.log && /etc/ 
> rc.d/syslogd restart
>
> Let me know what happens

  Now syslogd is receiving messages from the firewall :)

  Thanks...

> -
> Eric F Crist
> Secure Computing Networks
> http://www.secure-computing.net
> 
> [SNIP]

Regards
-- 
 . 0 . | Daniel Molina Wegener
 . . 0 | dmw at unete dot cl
 0 0 0 | FreeBSD Power User
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


firewall messages to syslogd

2005-10-29 Thread Daniel Molina Wegener

Hello,

   How can I add firewall log messages to syslogd, I have
added the following lines to the syslog.conf:

# router
+router
*.* /var/log/router.log

   Also, syslogd is running with the flag -a with the ip
address of the firewall -- the mask, and service.

   The computer receive the packets to the 514 port --
I've used tcpdump to log the packets -- but the messages
are not logged into the router.log file.

   Thanks.

Regards
-- 
 . 0 . | Daniel Molina Wegener
 . . 0 | dmw at unete dot cl
 0 0 0 | FreeBSD Power User
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


process path

2005-10-26 Thread Daniel Molina Wegener

Hello,

   ¿Exists some way to know which is the route to the program
that has a certain process in C?

Regards.
-- 
 . 0 . | Daniel Molina Wegener
 . . 0 | dmw at unete dot cl
 0 0 0 | FreeBSD Power User
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


send-pr, how pr's are handled

2005-10-22 Thread Daniel Molina Wegener

Hello,

I have sent a PR (yesterday) with a patch through send-pr,
when I will realize if this one were accepted?

Thanks.

Regards,
-- 
 . 0 . | Daniel Molina Wegener
 . . 0 | dmw at unete dot cl
 0 0 0 | FreeBSD Power User
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"