Mirror Freebsd - Doubts
I am wanting to mount a mirror, to place repositories of debian / ubuntu, because many machines in my company update the repositories and doing so will improve the process performance. However, I do this in FreeBSD (with spegla, ftpmirror ...), and was wondering if it is possible, if not I will take issue with that. I'm new here on the list, so excuse me if the correct place to ask that is not here. Grateful for the cooperation, Felipe ___ 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: Mirror Freebsd - Doubts
On 29/08/2010 15:37:51, Felipe Agnelli Barbosa wrote: I am wanting to mount a mirror, to place repositories of debian / ubuntu, because many machines in my company update the repositories and doing so will improve the process performance. However, I do this in FreeBSD (with spegla, ftpmirror ...), and was wondering if it is possible, if not I will take issue with that. I'm new here on the list, so excuse me if the correct place to ask that is not here. Grateful for the cooperation, Sure, this is certainly possible with FreeBSD. You can run a FTP mirror on it quite happily. That's the sort of thing that would work pretty well on any unixoid system to be frank, so your choice of FreeBSD might need justifying by some external criterion: FreeBSD runs ZFS, We get better network performance with FreeBSD or even I'm the sysadmin around here, and I like FreeBSD, so nyer. Check the ports for ftp mirroring programs. Both the ones you mention are available. Another approach is to use a caching proxy -- squid will do this for ftp URLs, as will apache (using mod_proxy). You can even be completely evil and set it up as a transparent proxy with a little work. The advantage of using a caching proxy is that over time it will pretty much auto-tune itself to contain the distfiles your users are interested in without your having to have any prior knowledge. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
doubts regarding System Initialization working (SYSINIT)
Hello all, I have been browsing through the FreeBSD kernel's source code trying to understand its working . In the mi_startup() in /sys/kern/init_main.c all the SYSINIT objects are sorted using bubble sort and then they are executed in order. My doubt is that we have declared the pointer to the struct sysinit as const pointer to a const in the macro definition of SYSINIT ie when the macro SYSINIT(kmem, SI_SUB_KMEM, SI_ORDER_FIRST, kmeminit, NULL) is expanded completely we get the following static struct sysinit kmem_sys_init = { SI_SUB_KMEM, SI_ORDER_FIRST, (sysinit_cfunc_t)(sysinit_nfunc_t)kmeminit, ((void *)(((void *)0))) }; static void const * const __set_sysinit_set_sym_kmem_sys_init __attribute__((__section__(set_ sysinit_set))) __attribute__((__used__)) = kmem_sys_init; Here we see that the pointer is of type const and to a const but when we sort and swap using *sipp=*xipp; We are trying to change the address of const pointer to a new address in which case it should segfault but it works fine. Why does it not segfault it seems I have not understood the concept behind using const *const... I will be very thankful if you can help me with it. Regards, Mehul ___ 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
some doubts..
http://www.freebsd.org/doc/nl/books/handbook/smtp-auth.html i think there is a problem on that page, i've noticed that you are supposed to add following in rc.conf, however i remember that it was supposed to be in make.conf.. SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL SENDMAIL_LDFLAGS=-L/usr/local/lib SENDMAIL_LDADD=-lsasl2 could be wrong am no expert, .. Regards, .. WS signature.asc Description: OpenPGP digital signature
Re: some doubts..
Wouter Snels nos...@ofloo.org writes: http://www.freebsd.org/doc/nl/books/handbook/smtp-auth.html i think there is a problem on that page, i've noticed that you are supposed to add following in rc.conf, however i remember that it was supposed to be in make.conf.. SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL SENDMAIL_LDFLAGS=-L/usr/local/lib SENDMAIL_LDADD=-lsasl2 could be wrong am no expert, .. Not only are you right, but the English version does say make.conf. I suggest you check with the Dutch translation team... -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ 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: some doubts..
Wouter Snels nos...@ofloo.org writes: Lowell Gilbert schreef: Wouter Snels nos...@ofloo.org writes: http://www.freebsd.org/doc/nl/books/handbook/smtp-auth.html i think there is a problem on that page, i've noticed that you are supposed to add following in rc.conf, however i remember that it was supposed to be in make.conf.. SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL SENDMAIL_LDFLAGS=-L/usr/local/lib SENDMAIL_LDADD=-lsasl2 could be wrong am no expert, .. Not only are you right, but the English version does say make.conf. I suggest you check with the Dutch translation team... How do I contact them? A quick look at the documentation project's documentation about itself showed me: http://be-well.ilk.org/FreeBSD/docproj/translations.html#dutch but a docs problem report is probably the best way to go. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ 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: some doubts..
On Wed, 07 Jan 2009 15:01:52 -0500, Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org wrote: Wouter Snels nos...@ofloo.org writes: Lowell Gilbert schreef: Wouter Snels nos...@ofloo.org writes: http://www.freebsd.org/doc/nl/books/handbook/smtp-auth.html i think there is a problem on that page, i've noticed that you are supposed to add following in rc.conf, however i remember that it was supposed to be in make.conf.. SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL SENDMAIL_LDFLAGS=-L/usr/local/lib SENDMAIL_LDADD=-lsasl2 could be wrong am no expert, .. Not only are you right, but the English version does say make.conf. I suggest you check with the Dutch translation team... How do I contact them? A quick look at the documentation project's documentation about itself showed me: http://be-well.ilk.org/FreeBSD/docproj/translations.html#dutch but a docs problem report is probably the best way to go. IIRC Remko knows how to fix this. I've copied him in this message... ___ 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: some doubts..
On Jan 7, 2009, at 9:40 PM, Giorgos Keramidas wrote: On Wed, 07 Jan 2009 15:01:52 -0500, Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org wrote: Wouter Snels nos...@ofloo.org writes: Lowell Gilbert schreef: Wouter Snels nos...@ofloo.org writes: http://www.freebsd.org/doc/nl/books/handbook/smtp-auth.html i think there is a problem on that page, i've noticed that you are supposed to add following in rc.conf, however i remember that it was supposed to be in make.conf.. SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL SENDMAIL_LDFLAGS=-L/usr/local/lib SENDMAIL_LDADD=-lsasl2 could be wrong am no expert, .. Not only are you right, but the English version does say make.conf. I suggest you check with the Dutch translation team... How do I contact them? A quick look at the documentation project's documentation about itself showed me: http://be-well.ilk.org/FreeBSD/docproj/translations.html#dutch but a docs problem report is probably the best way to go. IIRC Remko knows how to fix this. I've copied him in this message... I'll have a look at this and fix this immediatly.. thanks for the notice!! -- /\ Best regards,| re...@freebsd.org \ / Remko Lodder | re...@efnet Xhttp://www.evilcoder.org/| / \ ASCII Ribbon Campaign| Against HTML Mail and News ___ 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: some doubts..
On Wed, 7 Jan 2009 22:14:18 +0100, Remko Lodder re...@elvandar.org wrote: On Jan 7, 2009, at 9:40 PM, Giorgos Keramidas wrote: Re: http://www.freebsd.org/doc/nl/books/handbook/smtp-auth.html and rc.conf - make.conf for SENDMAIL_XXX build options: IIRC Remko knows how to fix this. I've copied him in this message... I'll have a look at this and fix this immediatly.. thanks for the notice!! You are welcome, Remko. I'm sure you would do the same for el_GR :-) ___ 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: some doubts..
On Jan 7, 2009, at 10:52 PM, Giorgos Keramidas wrote: On Wed, 7 Jan 2009 22:14:18 +0100, Remko Lodder re...@elvandar.org wrote: On Jan 7, 2009, at 9:40 PM, Giorgos Keramidas wrote: Re: http://www.freebsd.org/doc/nl/books/handbook/smtp-auth.html and rc.conf - make.conf for SENDMAIL_XXX build options: IIRC Remko knows how to fix this. I've copied him in this message... I'll have a look at this and fix this immediatly.. thanks for the notice!! You are welcome, Remko. I'm sure you would do the same for el_GR :-) Yes ofcourse, we are a team after all! -- /\ Best regards,| re...@freebsd.org \ / Remko Lodder | re...@efnet Xhttp://www.evilcoder.org/| / \ ASCII Ribbon Campaign| Against HTML Mail and News ___ 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: some doubts..
On Jan 7, 2009, at 10:14 PM, Remko Lodder wrote: On Jan 7, 2009, at 9:40 PM, Giorgos Keramidas wrote: On Wed, 07 Jan 2009 15:01:52 -0500, Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org wrote: Wouter Snels nos...@ofloo.org writes: Lowell Gilbert schreef: Wouter Snels nos...@ofloo.org writes: http://www.freebsd.org/doc/nl/books/handbook/smtp-auth.html i think there is a problem on that page, i've noticed that you are supposed to add following in rc.conf, however i remember that it was supposed to be in make.conf.. SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL SENDMAIL_LDFLAGS=-L/usr/local/lib SENDMAIL_LDADD=-lsasl2 could be wrong am no expert, .. Not only are you right, but the English version does say make.conf. I suggest you check with the Dutch translation team... How do I contact them? A quick look at the documentation project's documentation about itself showed me: http://be-well.ilk.org/FreeBSD/docproj/translations.html#dutch but a docs problem report is probably the best way to go. IIRC Remko knows how to fix this. I've copied him in this message... I'll have a look at this and fix this immediatly.. thanks for the notice!! -- /\ Best regards,| re...@freebsd.org \ / Remko Lodder | re...@efnet Xhttp://www.evilcoder.org/| / \ ASCII Ribbon Campaign| Against HTML Mail and News It had been done. Thanks Wouter! -- /\ Best regards,| re...@freebsd.org \ / Remko Lodder | re...@efnet Xhttp://www.evilcoder.org/| / \ ASCII Ribbon Campaign| Against HTML Mail and News ___ 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: doubts about the freebsd devil
On Sep 5, 2007, at 12:10 AM, Erich Dollansky wrote: Hi, Ted Mittelstaedt wrote: Them's fighting words - don't you realize an entire subgroup of the FreeBSD developers spent untold amounts of time and effort setting up a rigged contest to attempt to convince the userbase that there was such a difference, in order to replace the logo with a round red sex toy? oh no. I always thought this glow in the eyes of women when mentioning FreeBSD came from the operating system's performance. Erich Believe you me, performance has everything to do with it... and FreeBSD just performs better... :D ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: doubts about the freebsd devil
On Wed, Sep 05, 2007 at 12:10:50PM +0800, Erich Dollansky wrote: Hi, Ted Mittelstaedt wrote: Them's fighting words - don't you realize an entire subgroup of the FreeBSD developers spent untold amounts of time and effort setting up a rigged contest to attempt to convince the userbase that there was such a difference, in order to replace the logo with a round red sex toy? oh no. I always thought this glow in the eyes of women when mentioning FreeBSD came from the operating system's performance. Well, 'performance' maybe. Not sure about the operating system part. jerry Erich ___ 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: doubts about the freebsd devil
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Pollywog Sent: Friday, August 31, 2007 8:50 AM To: freebsd-questions@freebsd.org Subject: Re: doubts about the freebsd devil On Friday 31 August 2007 15:32:26 Jerry McAllister wrote: There will also probably be loads of people replying to tell you that it is not a devil but a character representing a daemon that is a helpful sprite and that it is not a logo, but a mascot. I think that is much less different than the difference between a toad and a frog. Them's fighting words - don't you realize an entire subgroup of the FreeBSD developers spent untold amounts of time and effort setting up a rigged contest to attempt to convince the userbase that there was such a difference, in order to replace the logo with a round red sex toy? Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: doubts about the freebsd devil
Hi, Ted Mittelstaedt wrote: Them's fighting words - don't you realize an entire subgroup of the FreeBSD developers spent untold amounts of time and effort setting up a rigged contest to attempt to convince the userbase that there was such a difference, in order to replace the logo with a round red sex toy? oh no. I always thought this glow in the eyes of women when mentioning FreeBSD came from the operating system's performance. Erich ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: doubts about the freebsd devil
On Wednesday 05 September 2007 04:10:50 Erich Dollansky wrote: Hi, Ted Mittelstaedt wrote: Them's fighting words - don't you realize an entire subgroup of the FreeBSD developers spent untold amounts of time and effort setting up a rigged contest to attempt to convince the userbase that there was such a difference, in order to replace the logo with a round red sex toy? oh no. I always thought this glow in the eyes of women when mentioning FreeBSD came from the operating system's performance. I think I must reconsider my position and admit there is a substantial difference between a logo and a mascot. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: doubts about the freebsd devil
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Erich Dollansky Sent: Tuesday, September 04, 2007 9:11 PM To: Ted Mittelstaedt Cc: Pollywog; freebsd-questions@freebsd.org Subject: Re: doubts about the freebsd devil Hi, Ted Mittelstaedt wrote: Them's fighting words - don't you realize an entire subgroup of the FreeBSD developers spent untold amounts of time and effort setting up a rigged contest to attempt to convince the userbase that there was such a difference, in order to replace the logo with a round red sex toy? oh no. I always thought this glow in the eyes of women when mentioning FreeBSD came from the operating system's performance. That was because Beastie is horney... Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: doubts about the freebsd devil
On 8/30/07, Bill Moran [EMAIL PROTECTED] wrote: Nélio Mesquita [EMAIL PROTECTED] wrote: Hello to all! Just for curiosity, why the FreeBSD logo is a little devil? Is there a history around it? It's not a devil, it's a daemon, and there is plenty of history: http://en.wikipedia.org/wiki/Daemon_%28computer_software%29 -- Bill Moran http://www.potentialtech.com Omg! I forgot the Wikipedia! How an idiot am I! Oh guys! My apologies for my lazy! I don't do it again! Really thanks for the help! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: doubts about the freebsd devil
Written by Nélio Mesquita on 08/31/07 06:44 On 8/30/07, Bill Moran [EMAIL PROTECTED] wrote: Nélio Mesquita [EMAIL PROTECTED] wrote: Hello to all! Just for curiosity, why the FreeBSD logo is a little devil? Is there a history around it? It's not a devil, it's a daemon, and there is plenty of history: http://en.wikipedia.org/wiki/Daemon_%28computer_software%29 -- Bill Moran http://www.potentialtech.com Omg! I forgot the Wikipedia! How an idiot am I! Oh guys! My apologies for my lazy! I don't do it again! Really thanks for the help! If by chance you feel that the daemon is contrary to your moral or religious beliefs, you could always take a look at Jesux ( http://www.geocities.com/ResearchTriangle/Node/4081/ ) =) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: doubts about the freebsd devil
On Thu, Aug 30, 2007 at 07:53:50PM -0300, Nélio Mesquita wrote: Hello to all! Just for curiosity, why the FreeBSD logo is a little devil? Is there a history around it? There is so much history it would take you several days to read it all. Just look for stuff on 'Beastie' or 'Bsd' or other variations of spelling on it and also look for BSD daemon.There is stuff in the list archive and on the FreeBSD web site and on various online publications. There are links to information and copyright information on the FreeBSD web site. There will also probably be loads of people replying to tell you that it is not a devil but a character representing a daemon that is a helpful sprite and that it is not a logo, but a mascot. You can also buy stickers and plush toys, etc at bsd mall and probably other places. jerry Thank you! ___ 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: doubts about the freebsd devil
On Friday 31 August 2007 15:32:26 Jerry McAllister wrote: There will also probably be loads of people replying to tell you that it is not a devil but a character representing a daemon that is a helpful sprite and that it is not a logo, but a mascot. I think that is much less different than the difference between a toad and a frog. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: doubts about the freebsd devil
On Fri, Aug 31, 2007 at 03:50:27PM +, Pollywog wrote: On Friday 31 August 2007 15:32:26 Jerry McAllister wrote: There will also probably be loads of people replying to tell you that it is not a devil but a character representing a daemon that is a helpful sprite and that it is not a logo, but a mascot. I think that is much less different than the difference between a toad and a frog. Best ask a toad and/or a frog about that. jerry ___ 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]
doubts about the freebsd devil
Hello to all! Just for curiosity, why the FreeBSD logo is a little devil? Is there a history around it? Thank you! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: doubts about the freebsd devil
Nélio Mesquita wrote: Hello to all! Just for curiosity, why the FreeBSD logo is a little devil? Is there a history around it? See www.beastie.com Thank you! -- Pietro Cerutti PGP Public Key: http://gahr.ch/pgp signature.asc Description: OpenPGP digital signature
Re: doubts about the freebsd devil
--On Thursday, August 30, 2007 19:53:50 -0300 Nélio Mesquita [EMAIL PROTECTED] wrote: Hello to all! Just for curiosity, why the FreeBSD logo is a little devil? Is there a history around it? Thank you! Sort of answers your question. (Implied and explicit.) http://www.freebsd.org/copyright/daemon.html pgp3poAuy0Wgl.pgp Description: PGP signature
Re: doubts about the freebsd devil
Nélio Mesquita [EMAIL PROTECTED] wrote: Hello to all! Just for curiosity, why the FreeBSD logo is a little devil? Is there a history around it? It's not a devil, it's a daemon, and there is plenty of history: http://en.wikipedia.org/wiki/Daemon_%28computer_software%29 -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: doubts regarding the kernel programs
Hello sir, Here we are forewording the source code for that we have to make modification in the command IPMI_REGISTER-FOR_CMD .This is uniplemented command so we want to iplement it and want to print a message like IPMI REGISTER FOR CMD has been called. Thank U and Regards Dhananjaya Hiremath - It's here! Your new message! Get new email alerts with the free Yahoo! Toolbar./*- * Copyright (c) 2006 IronPort Systems Inc. [EMAIL PROTECTED] * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright *notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright *notice, this list of conditions and the following disclaimer in the *documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ #include sys/cdefs.h __FBSDID($FreeBSD: src/sys/dev/ipmi/ipmi.c,v 1.5 2006/09/26 15:48:13 jhb Exp $); #include sys/param.h #include sys/systm.h #include sys/bus.h #include sys/condvar.h #include sys/conf.h #include sys/kernel.h #include sys/malloc.h #include sys/module.h #include sys/poll.h #include sys/rman.h #include sys/selinfo.h #include sys/sysctl.h #include sys/watchdog.h #ifdef LOCAL_MODULE #include ipmi.h #include ipmivars.h #else #include sys/ipmi.h #include dev/ipmi/ipmivars.h #endif #ifdef IPMB static int ipmi_ipmb_checksum(u_char, int); static int ipmi_ipmb_send_message(device_t, u_char, u_char, u_char, u_char, u_char, int) #endif static d_ioctl_t ipmi_ioctl; static d_poll_t ipmi_poll; static d_open_t ipmi_open; static d_close_t ipmi_close; int ipmi_attached = 0; #define IPMI_MINOR 0 static int on = 1; SYSCTL_NODE(_hw, OID_AUTO, ipmi, CTLFLAG_RD, 0, IPMI driver parameters); SYSCTL_INT(_hw_ipmi, OID_AUTO, on, CTLFLAG_RW, on, 0, ); static struct cdevsw ipmi_cdevsw = { .d_version =D_VERSION, .d_open = ipmi_open, .d_close = ipmi_close, .d_ioctl = ipmi_ioctl, .d_poll = ipmi_poll, .d_name = ipmi, }; MALLOC_DEFINE(M_IPMI, ipmi, ipmi); static int ipmi_open(struct cdev *cdev, int flags, int fmt, struct thread *td) { struct ipmi_device *dev; struct ipmi_softc *sc; if (!on) return (ENOENT); dev = cdev-si_drv1; sc = dev-ipmi_softc; IPMI_LOCK(sc); if (dev-ipmi_open) { IPMI_UNLOCK(sc); return (EBUSY); } dev-ipmi_open = 1; IPMI_UNLOCK(sc); return (0); } static int ipmi_poll(struct cdev *cdev, int poll_events, struct thread *td) { struct ipmi_device *dev; struct ipmi_softc *sc; int revents = 0; dev = cdev-si_drv1; sc = dev-ipmi_softc; IPMI_LOCK(sc); if (poll_events (POLLIN | POLLRDNORM)) { if (!TAILQ_EMPTY(dev-ipmi_completed_requests)) revents |= poll_events (POLLIN | POLLRDNORM); if (dev-ipmi_requests == 0) revents |= POLLERR; } if (revents == 0) { if (poll_events (POLLIN | POLLRDNORM)) selrecord(td, dev-ipmi_select); } IPMI_UNLOCK(sc); return (revents); } static void ipmi_purge_completed_requests(struct ipmi_device *dev) { struct ipmi_request *req; while (!TAILQ_EMPTY(dev-ipmi_completed_requests)) { req = TAILQ_FIRST(dev-ipmi_completed_requests); TAILQ_REMOVE(dev-ipmi_completed_requests, req, ir_link); dev-ipmi_requests--; ipmi_free_request(req); } } static int ipmi_close(struct cdev *cdev, int flags, int fmt, struct thread *td) { struct ipmi_request *req, *nreq; struct ipmi_device *dev; struct ipmi_softc *sc; #ifdef CLONING int bit; #endif dev = cdev-si_drv1; sc = dev-ipmi_softc; IPMI_LOCK(sc); if (dev-ipmi_requests) {
doubts regarding the kernel programs
Hello sir, Here we got the kernel source code and we want to modify the code so that we can print a some debug message.If we do this change where we will see this modification if we compile this again or is there any mothod to see weather modified method is correct or not. Thank U and Dhananjaya Hiremath - Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Doubts in softc and device_get_softc(dev)
--- aji abraham [EMAIL PROTECTED] wrote: hi My name is Aji Abraham, now working with device drivers. the word softc and the function device_get_softc(dev) getting confuse me a lot. am listing some query below .. pls help me .. Q1 In a free BSD driver Code, there are two device depended structures struct xx_softc { ... .. }; struct xx_if_softc { ... .. }; sizeof(struct xx_softc ) is 68 sizeof(struct xx_if_softc ) is 1186 And in device attach function xx_attach(dev){ struct xx_softc*sc; struct xx_if_softc *if_sc; sc_if = device_get_softc(dev); sc = device_get_softc(device_get_parent(dev)); sc_if- . sc- ... .. } Both allocation uses the same function. How it possible ? can we access all structure member ? Regards Aji Abraham __ Yahoo! India Answers: Share what you know. Learn something new http://in.answers.yahoo.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: doubts
Anirban Adhikary wrote: Hi guys This is Anirban. I have a doubts on the following question. How to write a shell program that will check whether a server is up or down (on ping) and log the report to a file. You may be wondering why no-one is replying to you and the main reasons would be: 1) You show no evidence of even having *tried* to write something. If you'd said I did X but it didn't work then maybe some kind soul would have helped you out. All you are asking is for someone else to write your script for you. 2) It's pretty clear that you know next to nothing about shell scripting, in which case you should do what everyone else who has needed to write shell scripts has done: a) Buy a book or b) study some examples of which there must be hundreds on your FreeBSD installation or c) get someone to teach you or d) search google for tutorials And always, always, always read the manual pages. Here's a quick sh script for you. You can figure out how to do the redirection and how to run it from cron. $ for host in host1 host2 do if ping -c 1 $host 21 /dev/null then echo $host: UP else echo $host: DOWN fi done host1: DOWN host2: UP You might also consider nagios from the ports but it may be far more than you want. With the limited information you provided about why you want to do this, no-one will ever know. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
doubts
Hi guys This is Anirban. I have a doubts on the following question. How to write a shell program that will check whether a server is up or down (on ping) and log the report to a file. Hope i will receive my answer soon. With regards Anirban. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: doubts
On Wed, 30 Nov 2005 12:26:43 +0100 Stevan Tiefert [EMAIL PROTECTED] wrote: Anirban Adhikary schrieb: Hi this is Anirban. I have to write a shell script that will take the tar back-up of a directory (named anirban)on a dialy basis Hope i will receive the ans soon. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Use this script: #!/bin/sh echo Do it yourself! you will prob get a better answer if you try then ask questions when it goes wrong -- Why my wife is happy when I do a make buildkernel and a make installkernel? I have then a lot of time to do my housework :-( ___ 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]
doubts
Hi guys this is Anirban.I have a doubt on the following write a Shell script that will take a tar backup of a user on a daily basis. Server details - 192.168.1.19 login - beta password - bta321 working directory to use anirban Hope i will receive my answer soon. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: doubts
Anirban Adhikary sat at his 'puter and typed on 11/30/2005 14:38: Hi guys this is Anirban.I have a doubt on the following write a Shell script that will take a tar backup of a user on a daily basis. Server details - 192.168.1.19 login - beta password - bta321 working directory to use anirban Hope i will receive my answer soon. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Hello Anirban, What exactly do you want? You want a shell script to take tar backups of all the user directories or that of a particular user? I also do not understand why you are providing login information to your system. Thirdly that IP is a non routable IP address and is not accessible from outside. So that is of no use. Thanks S. -- --- \ / | Subhro Sankha Kar \./ | GSM: +919831010002 -- Fax: +919831832913 (0Y0) |MSN: [EMAIL PROTECTED] -- Yahoo!: subhro82 -ooO--(_)--Ooo- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: doubts
Anirban Adhikary schrieb: Hi guys this is Anirban.I have a doubt on the following write a Shell script that will take a tar backup of a user on a daily basis. Server details - 192.168.1.19 login - beta password - bta321 working directory to use anirban Hope i will receive my answer soon. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] What do you want? Should we write you a script? Or should we only help you to finish an existing script? With regards Stevan -- Why my wife is happy when I do a make buildkernel and a make installkernel? I have then a lot of time to do my housework :-( ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
doubts
Hi this is Anirban. I have to write a shell script that will take the tar back-up of a directory (named anirban)on a dialy basis Hope i will receive the ans soon. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: doubts
Anirban Adhikary schrieb: Hi this is Anirban. I have to write a shell script that will take the tar back-up of a directory (named anirban)on a dialy basis Hope i will receive the ans soon. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Use this script: #!/bin/sh echo Do it yourself! -- Why my wife is happy when I do a make buildkernel and a make installkernel? I have then a lot of time to do my housework :-( ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: CVSup doubts
-Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd- [EMAIL PROTECTED] On Behalf Of Efren Bravo Sent: Friday, November 25, 2005 10:39 AM To: freebsd-questions@freebsd.org Subject: CVSup doubts Hi, I'm trying to configure CVSup to download only ports but I've several doubts about it. I took /usr/share/examples/ports-supfile file. (freeBSD 6.0 RELEASE-i386) 1- When I update a specific port, only is updated his skeleton or his binary files are downloaded too? 2- For instance if I'm just interested in updating /usr/ports/net ports, do I do it commenting the ports-all line and comment out ports-net line? 3- I don't have the /usr/ports/net-im folder, Can I add the line ports-net-im, to download his content? FWIW I suggest you keep the whole collection because once you have it set up it does not take much time to keep the collection up to date because the ports does not include the pkg. david ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVSup doubts
vizion wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd- [EMAIL PROTECTED] On Behalf Of Efren Bravo Sent: Friday, November 25, 2005 10:39 AM To: freebsd-questions@freebsd.org Subject: CVSup doubts Hi, I'm trying to configure CVSup to download only ports but I've several doubts about it. I took /usr/share/examples/ports-supfile file. (freeBSD 6.0 RELEASE-i386) 1- When I update a specific port, only is updated his skeleton or his binary files are downloaded too? 2- For instance if I'm just interested in updating /usr/ports/net ports, do I do it commenting the ports-all line and comment out ports-net line? 3- I don't have the /usr/ports/net-im folder, Can I add the line ports-net-im, to download his content? I STONGLY suggest you read the handbook. Then, read it again. Then once more for good measure. CVS is NOT hard IF you take the time to READ and LEARN. If however you don't want to take the time to read, learn and understand - then stick with the packages. You are the type of user that will download a tarball, try to install it, then complain that it don't work. Never mind the fact that you have packages and ports. You will be the user that EXPECTS everything you download, to run automagically without an ounce of knowledge of how to use the powerfull OS and it's tools you seemed to have muddled through installing, right at your fingertips. I hate users looking for the shortcuts. -- Best regards, Chris Real programmers don't eat muffins. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVSup doubts
Chris wrote: I hate users looking for the shortcuts. Funny. I didn't see that at all in the original email. What I saw was a genuine misunderstanding. He was asking about using CVSUP to track ports on a one by one basis. What he didn't understand is that a person really wants to CVSUP the whole ports tree. It's a fair misunderstanding if one starts with an FTP-ish RPM-ish mindset. John Chen's answer was appropriate. To Efren I add the following. You may also want to read up on 'refuse' files as documented in the cvsup(1) man page. I don't recommend using them though. Later, Jason ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVSup doubts
Jason, David, Chen and the others, !=Chris, I don't lose my time to answering him because I wouldn't have time to read the CVSup man pages as Chris suggests, jajajajaja thanks for your help --- Chris [EMAIL PROTECTED] escribió: vizion wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd- [EMAIL PROTECTED] On Behalf Of Efren Bravo Sent: Friday, November 25, 2005 10:39 AM To: freebsd-questions@freebsd.org Subject: CVSup doubts Hi, I'm trying to configure CVSup to download only ports but I've several doubts about it. I took /usr/share/examples/ports-supfile file. (freeBSD 6.0 RELEASE-i386) 1- When I update a specific port, only is updated his skeleton or his binary files are downloaded too? 2- For instance if I'm just interested in updating /usr/ports/net ports, do I do it commenting the ports-all line and comment out ports-net line? 3- I don't have the /usr/ports/net-im folder, Can I add the line ports-net-im, to download his content? I STONGLY suggest you read the handbook. Then, read it again. Then once more for good measure. CVS is NOT hard IF you take the time to READ and LEARN. If however you don't want to take the time to read, learn and understand - then stick with the packages. You are the type of user that will download a tarball, try to install it, then complain that it don't work. Never mind the fact that you have packages and ports. You will be the user that EXPECTS everything you download, to run automagically without an ounce of knowledge of how to use the powerfull OS and it's tools you seemed to have muddled through installing, right at your fingertips. I hate users looking for the shortcuts. -- Best regards, Chris Real programmers don't eat muffins. Efren Bravo. __ Renovamos el Correo Yahoo! Nuevos servicios, más seguridad http://correo.yahoo.es ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVSup doubts
On 2005-11-26 23:28, Efren Bravo [EMAIL PROTECTED] wrote: Jason, David, Chen and the others, !=Chris, I don't lose my time to answering him because I wouldn't have time to read the CVSup man pages as Chris suggests, jajajajaja thanks for your help Strange as his style may seem, he is 100% right about one thing: You should definitely take the time to read the relevant Handbook sections. Especially the parts that describe The Ports and the Packages. If you still have questions after reading the relevant Handbook bits, then please feel free to ask here for any details. - Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
CVSup doubts
Hi, I'm trying to configure CVSup to download only ports but I've several doubts about it. I took /usr/share/examples/ports-supfile file. (freeBSD 6.0 RELEASE-i386) 1- When I update a specific port, only is updated his skeleton or his binary files are downloaded too? 2- For instance if I'm just interested in updating /usr/ports/net ports, do I do it commenting the ports-all line and comment out ports-net line? 3- I don't have the /usr/ports/net-im folder, Can I add the line ports-net-im, to download his content? Thanks... Efren Bravo. __ Renovamos el Correo Yahoo! Nuevos servicios, más seguridad http://correo.yahoo.es ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVSup doubts
On Fri, Nov 25, 2005 at 07:38:34PM +0100, Efren Bravo wrote: Hi, I'm trying to configure CVSup to download only ports but I've several doubts about it. I took /usr/share/examples/ports-supfile file. (freeBSD 6.0 RELEASE-i386) 1- When I update a specific port, only is updated his skeleton or his binary files are downloaded too? Only the ports skeleton is updated. If you want to update/upgrade your installed ports, you have to use something like sysutils/portupgrade. 2- For instance if I'm just interested in updating /usr/ports/net ports, do I do it commenting the ports-all line and comment out ports-net line? 3- I don't have the /usr/ports/net-im folder, Can I add the line ports-net-im, to download his content? It's always safer to use ports-all, as most ports have dependencies on ports outside its immediate tree. If you don't update all dependancies you almost always have trouble building your desired port. Cheers. -- Jonathan Chen [EMAIL PROTECTED] -- A person should be able to do a small bit of everything, specialisation is for insects ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
doubts
Hi guys. This is Anirban. I have a doubt on crontab.The question is how to write a crontabwhich takes the back-up at 11:59 pm daily and every tuesday of the week Hope i will receive the answer soon. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: doubts
On Fri, Nov 25, 2005 at 10:08:15AM +0530, Anirban Adhikary wrote: Hi guys. This is Anirban. I have a doubt on crontab.The question is how to write a crontabwhich takes the back-up at 11:59 pm daily and every tuesday of the week Hope i will receive the answer soon. I don't quite understand what you want. The format of a line in a crontab file is as follows. There are five columns that specify the time to run the job at: Minutes Hours Day of Month Month Day of week 59 23 * * * /path/to/script Would run /path/to/script every day at 11:59 pm. If what you want to do is only run it on tuesday, 59 23 * * 2 /path/to/script The utility to install crontabs is called crontab. The format of entries is defined in the crontab(5) man page. 'man 5 crontab' will allow you to read that. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: doubts
David Scheidt wrote: On Fri, Nov 25, 2005 at 10:08:15AM +0530, Anirban Adhikary wrote: Hi guys. This is Anirban. I have a doubt on crontab.The question is how to write a crontabwhich takes the back-up at 11:59 pm daily and every tuesday of the week Hope i will receive the answer soon. I don't quite understand what you want. The format of a line in a crontab file is as follows. There are five columns that specify the time to run the job at: Minutes Hours Day of Month Month Day of week 59 23 * * * /path/to/script Would run /path/to/script every day at 11:59 pm. If what you want to do is only run it on tuesday, 59 23 * * 2 /path/to/script The utility to install crontabs is called crontab. The format of entries is defined in the crontab(5) man page. 'man 5 crontab' will allow you to read that. Also note - in your scripts, have absoulte paths. IE: if you need to cat the /var/log/auth.log /bin/cat /var/log/auth.log -- Best regards, Chris If muprhy's law can go wrong, it will. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: doubts on FreeBSD
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Cstdenis Sent: Tuesday, November 22, 2005 3:42 AM To: Anirban Adhikary; freebsd-questions@freebsd.org Subject: Re: doubts on FreeBSD Same as any other *nix operating system. Basically just follow the installation instructions with the program. Common basic ones are... untar it tar -zxf file.tar.gz cd into the extracted dir cd file/ run the configure script if there is one. ./configure and compile it with make or if necessary gmake make But, if a program is in the ports tree you are better off using that unless you have specific reason not to. Most of the time - there are some ports that the authors make very strange decisions on, though. (ever tried the dspam port?) Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
doubts on FreeBSD
Hi guys, This is ANIRBAN. I have question on How to install any application on FreeBSD from tar.gz source? Hoping to received the answer soon. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: doubts on FreeBSD
Same as any other *nix operating system. Basically just follow the installation instructions with the program. Common basic ones are... untar it tar -zxf file.tar.gz cd into the extracted dir cd file/ run the configure script if there is one. ./configure and compile it with make or if necessary gmake make But, if a program is in the ports tree you are better off using that unless you have specific reason not to. - Original Message - From: Anirban Adhikary [EMAIL PROTECTED] To: freebsd-questions@FreeBSD.org Sent: Tuesday, November 22, 2005 3:37 AM Subject: doubts on FreeBSD Hi guys, This is ANIRBAN. I have question on How to install any application on FreeBSD from tar.gz source? Hoping to received the answer soon. ___ 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: doubts on FreeBSD
Hi, copy the tar ball somewhere, and decompress it using tar -xvzf filename.tar.gz Usually a directory with name filename will be created and you need to go there using cd filename There you usually find a file README or INSTALL with all necessary instructions. You can read the README or INSTALL file by typing cat README | more (or cat INSTALL|more) Basically the minimu set of instructions will be (after the cd filename) make make install Enjoy Simon Anirban Adhikary [EMAIL PROTECTED] a écrit : Hi guys, This is ANIRBAN. I have question on How to install any application on FreeBSD from tar.gz source? Hoping to received the answer soon. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] - Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger Téléchargez le ici ! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Some doubts to start
Hello list, How you will realize I'm new in unix. I've been reading about freeBSD and I wish to know what is the meaning of: 1-Font Server. 2-NFS Server and NFS Server 3-Ports From freeBSD can I start a graphical environment like KDE and GNome. Which of them would be recommended? Best regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Some doubts to start
On 7/5/05, Efren Bravo [EMAIL PROTECTED] wrote: Hello list, How you will realize I'm new in unix. I've been reading about freeBSD and I wish to know what is the meaning of: 1-Font Server. 2-NFS Server and NFS Server 3-Ports From freeBSD can I start a graphical environment like KDE and GNome. Which of them would be recommended? Best regards A font server is what it sounds like. It is a daemon that runs in a centralized location where you can install fonts and serve them out to multiple networked clients. A NFS server is a file server similar to MS Windows file sharing. NFS is in common use on Unix. Ports are a collection of 3rd party packages that you can compile and install via pre-written scripts on BSD. Generally you download a ports tree which is a directory tree full of these scripts. You find the one you want to install, cd to it's directory and type something like make make install and it is downloaded compiled and installed in an automated fashion. There is more information on all of these things in the online FreeBSD handbook found here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html Enjoy! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Some doubts to start
On 7/5/05, Efren Bravo wrote: ... From freeBSD can I start a graphical environment like KDE and GNome. Which of them would be recommended? In FreeBSD 5.4, Gnome contains more localization features than KDE, at least for my native language. For example in Gnome I can tell it to display menus etc in my language whereas in KDE I can't. -- Dmitry We live less by imagination than despite it - Rockwell Kent, N by E ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
doubts
Hello sir ! I have some very silly problems using freebsd 4.7. 1. How to enable telnet service in freebsd 4.7 ? 2. How to use ethereal to capture network packet on freebsd 4.7 ? please reply me soon. Thanking you manish gautam B.E computers pune (India) Yahoo! India Mobile: Ringtones, Wallpapers, Picture Messages and more.Download now. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
doubts
Hello sir ! I have some very silly problems using freebsd 4.7. 1. How to enable telnet service in freebsd 4.7 ? 2. How to use ethereal to capture network packet on freebsd 4.7 ? please reply me soon. Thanking you manish gautam B.E computers pune (India) Yahoo! India Mobile: Ringtones, Wallpapers, Picture Messages and more.Download now. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
enabling telnet service and capturing packets with ethereal ( was Re: doubts )
for a better response from the mail list in future I suggest you use a subject that is more descriptive of your message. On Tue, 2003-12-23 at 12:01, manish gautam wrote: Hello sir ! I have some very silly problems using freebsd 4.7. 1. How to enable telnet service in freebsd 4.7 ? read http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-inetd.html on how to enable inetd(8) You will also need to edit /etc/inetd.conf and uncomment this line: telnet stream tcp nowait root/usr/libexec/telnetdtelnetd 2. How to use ethereal to capture network packet on freebsd 4.7 ? A quick visit to http://www.ethereal.com/docs/user-guide/ch03capturestart.html should answer this question. please reply me soon. Thanking you manish gautam B.E computers pune (India) [EMAIL PROTECTED] -- Nelis Lamprecht PGP: http://www.8ball.co.za/pgp/nelis.key Unix IS user friendly.. It's just selective about who its friends are. signature.asc Description: This is a digitally signed message part
Re: doubts
On Tue, 23 Dec 2003, manish gautam wrote: 1. How to enable telnet service in freebsd 4.7 ? You may want to look at 'ssh' - it is used in the same way as telnet; i.e. 'ssh hostname' and is more secure. For telnet; edit /etc/inetd.conf - and uncomment the line with telnet (remvoe the #) and either send a kill -1 to the inetd application (ensure rc.conf contains inetd_enable=YES) or reboot. See the chapter on inetd in: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html for more details. 2. How to use ethereal to capture network packet on freebsd 4.7 ? See the chapter 'packages and ports' in http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html for details on hwo to install etherreal and then do a man ethereal for details on ethereal its use. See the chapter on Network Interface cards in http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html for details on your network cards (the interface you are referred to in the above 'man ethereal' page). Dw ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Configuring a Kernel (doubts)
Hi: When installing FreeBSD, in the Kernel Configuration Menu I select the full-screen visual mode because I want to disable all the SCSI controllers (only have IDE drives) and the PC-card controller (it is not a lap top). am I building a new kernel?, so the next reboot I have the same configuration. What files are modified? Since I don't see this changes reflected in /sys/i386/conf/GENERIC As you can see, I want a personalized kernel, also want this PC to have X-Windows and the ability to be upgraded. The question is: Do I need to install kernel sources or full sources? maps ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Configuring a Kernel (doubts)
Paredes Sánchez Martín A. [EMAIL PROTECTED] writes: When installing FreeBSD, in the Kernel Configuration Menu I select the full-screen visual mode because I want to disable all the SCSI controllers (only have IDE drives) and the PC-card controller (it is not a lap top). am I building a new kernel?, so the next reboot I have the same configuration. No, you're not. You could do that if you wanted, so that the unused drivers would not be in the kernel at all, but it doesn't matter much. What files are modified? Since I don't see this changes reflected in /sys/i386/conf/GENERIC You're not modifying the kernel itself; you're configuring the one you already have. If you do this through the system install, the changes should get saved to /boot/kernel.conf. As you can see, I want a personalized kernel, also want this PC to have X-Windows and the ability to be upgraded. I don't think you really need a personalized kernel, although it might save a bit of wasted RAM. Running X and upgrading should be unaffected either way. The question is: Do I need to install kernel sources or full sources? For an upgrade, you need full sources. For a customized kernel, you need the kernel (system) sources. To disable the devices mentioned, you don't need either. And to make matters even simpler, you probably don't even need to configure your kernel -- it will probably work fine as it comes right out of the install. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]