Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jan 2006 08:46:09 +0700
From:      "Rithy- System Engineer" <root@rithy4u.net>
To:        <freebsd-questions@freebsd.org>
Subject:   Re: freebsd-questions Digest, Vol 121, Issue 28
Message-ID:  <005001c61bd1$333194c0$6f01a8c0@ygm.com.kh>
References:  <20060117120029.B5F1A16A422@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
I got FreeBSD 5.3 release installed on my Server but its hard disk and
mainboard are too old and i want to upgrade to FreeBSD 6.0 with new hard
disk on the same PC how can i do this?

is it necessary to install any third-party hardware or software?

Rithy Ray

System Engineer
KhmerServer.NET Hosting
E-mail: rithy_ray@khmerserver.net
           sales@rithy4u.net
           info@khmercentral.com
URL: www.rithy4u.net
         www.khmerserver.net
         www.khmercentral.com
H/P: +855-12-403-001
----- Original Message -----
From: <freebsd-questions-request@freebsd.org>
To: <freebsd-questions@freebsd.org>
Sent: Tuesday, January 17, 2006 7:00 PM
Subject: freebsd-questions Digest, Vol 121, Issue 28


> Send freebsd-questions mailing list submissions to
> freebsd-questions@freebsd.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> or, via email, send a message with subject or body 'help' to
> freebsd-questions-request@freebsd.org
>
> You can reach the person managing the list at
> freebsd-questions-owner@freebsd.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of freebsd-questions digest..."
>
>
> Today's Topics:
>
>    1. Re: rpm equivalent to 'pkg_add -r'? (Robert Slade)
>    2. Re: how to use ipod nano in freebsd 6.0 (Crispy Beef)
>    3. Lua 5.0 and FreeBSD 4.1 (Evandro Sestrem)
>    4. Re: freebsd-questions Digest, Vol 121, Issue 26 (Uncle Deejy-Pooh)
>    5. Re: Setting up lpd on *BSD (ivan.roth@free.fr)
>    6. syslog logging recommendation (Bill Schmitt (SW))
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 17 Jan 2006 08:49:06 +0000
> From: Robert Slade <bsd@bathnetworks.com>
> Subject: Re: rpm equivalent to 'pkg_add -r'?
> To: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
> Message-ID: <1137487746.12144.34.camel@lmail.bathnetworks.co.uk>
> Content-Type: text/plain
>
> On Tue, 2006-01-17 at 08:36, Garrett Cooper wrote:
> > On Jan 16, 2006, at 11:17 PM, Gregory Nou wrote:
> >
> > > Marc G. Fournier wrote:
> > >> As the subject asks, is there an equivalent?  I'm trying to
> > >> install linux apache2 on a FreeBSD box, and would like have rpm do
> > >> as much as possible as far as getting the dependencies and
> > >> downloading them ...
> > >> baring this, is there a better tool to use then rpm?
> > >> thanks ...
> > >> ----
> > >> Marc G. Fournier           Hub.Org Networking Services (http://
> > >> www.hub.org)
> > >> Email: scrappy@hub.org           Yahoo!: yscrappy
> > >> ICQ: 7615664
> > >>
> > > look at the end of rpm man page, there is a section INSTALL AND
> > > UPGRADE OPTIONS.
> > > Concerning other tools, the poor experience I have with RH showed
> > > me that rpm is a great tool. Maybe you may try yum, which, iirc, is
> > > a GUI for rpm.
> > >
> > > Cheers,
> > >
> > > --
> > > Gregory
> >
> > Actually yum's a means for updating that's meant to replace the
> > Redhat Network Tool or whatever it was called back in RH9.0 and RHE,
> > which comes as primarily a command line tool I thought. As far as I
> > know is only available for Fedora-a product primarily made for
> > desktop users made by Redhat.
> > -Garrett
>
> To clear up a couple of points: YUM is a Redhat tool but is a command
> line one. It works on all Redhat derived systems not just Fedora. BTW
> Fedora is not made by Redhat but is sponsored by them - they use it as a
> test platform.
>
> What I don't understand why the OP is installing Linux Apachie2 from
> rpms when there is a perfectly good port for BSD which handles the
> dependencies and the different locations of files, scripts etc.
>
> Rob
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 17 Jan 2006 10:07:03 +0000
> From: Crispy Beef <crispy.beef@ntlworld.com>
> Subject: Re: how to use ipod nano in freebsd 6.0
> To: Mike Hernandez <sequethin@gmail.com>
> Cc: freebsd-questions@freebsd.org
> Message-ID: <43CCC1C7.2060405@ntlworld.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> >>| hello all, i have ipod nano and im using freebsd 6.0.
> >>| DMESG command display (umass0: Apple iPod, rev 2.00/0.01, addr 2)
message.The iPod nano is detected when
> >>| plugged in, but a daX device is not created. please help me
> >
> >
> > I get that too with the 30GB iPod I just bought. I think there's an
issue
> > preventing new iPods from working with FreeBSD. I even formatted mine
> > for windows since it's easier to read vfat rather than HFS. Still
nothing.
> > If you get your nano workin please let me know :)
>
> I'll ask my friend what he did to get his working, not sure which iPod he
has
> exactly either, could well be a difference in the models or something like
that.
>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 17 Jan 2006 08:40:26 -0300
> From: "Evandro Sestrem" <evandro@blueone.com.br>
> Subject: Lua 5.0 and FreeBSD 4.1
> To: <freebsd-questions@freebsd.org>
> Message-ID: <JDEEIIBHJLLEKHOLEFIICEAGDOAA.evandro@blueone.com.br>
> Content-Type: text/plain; charset="iso-8859-1"
>
>
>
> Hello,
>
> I'm trying compile a project using Lua 5.0 (www.lua.org) in FreePascal
> (2.0.2 [2005/11/17] for i386) in a FreeBSD 4.1.
>
> The Lua 5.0 is correctly installed.
>
> It compiles ok, but when it is linking I got these errors:
>
> /usr/local/lib//liblualib.a(lmathlib.o): In function 'math_sin':
> lmathlib.o(.text+0x52): undefined reference to 'sin'
> /usr/local/lib//liblualib.a(lmathlib.o): In function 'math_cos':
> lmathlib.o(.text+0x8e): undefined reference to 'cos'
> /usr/local/lib//liblualib.a(lmathlib.o): In function 'math_tan':
> lmathlib.o(.text+0xca): undefined reference to 'tan'
> /usr/local/lib//liblualib.a(lmathlib.o): In function 'math_asin':
> lmathlib.o(.text+0x106): undefined reference to 'asin'
> /usr/local/lib//liblualib.a(lmathlib.o): In function 'math_acos':
> lmathlib.o(.text+0x142): undefined reference to 'acos'
> /usr/local/lib//liblualib.a(lmathlib.o): In function 'math_atan':
> lmathlib.o(.text+0x17e): undefined reference to 'atan'
> /usr/local/lib//liblualib.a(lmathlib.o): In function 'math_atan':
> lmathlib.o(.text+0x1cb): undefined reference to 'atan2'
> /usr/local/lib//liblualib.a(lmathlib.o): In function 'math_ceil':
> lmathlib.o(.text+0x20a): undefined reference to 'ceil'
> /usr/local/lib//liblualib.a(lmathlib.o): In function 'math_floor':
> lmathlib.o(.text+0x246): undefined reference to 'floor'
> /usr/local/lib//liblualib.a(lmathlib.o): In function 'math_mod':
> lmathlib.o(.text+0x293): undefined reference to 'fmod'
> /usr/local/lib//liblualib.a(lmathlib.o): In function 'math_sqrt':
> lmathlib.o(.text+0x2d2): undefined reference to 'sqrt'
> /usr/local/lib//liblualib.a(lmathlib.o): In function 'math_pow':
> lmathlib.o(.text+0x31f): undefined reference to 'pow'
> /usr/local/lib//liblualib.a(lmathlib.o): In function 'math_log':
> lmathlib.o(.text+0x35e): undefined reference to 'log'
> /usr/local/lib//liblualib.a(lmathlib.o): In function 'math_log10':
> lmathlib.o(.text+0x39a): undefined reference to 'log10'
> /usr/local/lib//liblualib.a(lmathlib.o): In function 'math_exp':
> lmathlib.o(.text+0x3d6): undefined reference to 'exp'
> /usr/local/lib//liblualib.a(lmathlib.o): In function 'math_random':
> lmathlib.o(.text+0x6e1): undefined reference to 'floor'
> lmathlib.o(.text+0x78d): undefined reference to 'floor'
>
>
>
> In what version of FreeBSD (or libc) these functions (sin, cos, tan, ...)
> were implemented?
>
>
> Thanks for any help.
>
> Evandro Sestrem
>
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.371 / Virus Database: 267.14.18/230 - Release Date: 14/1/2006
>
>
>
> ------------------------------
>
> Message: 4
> Date: Tue, 17 Jan 2006 10:39:08 +0000
> From: Uncle Deejy-Pooh <deejy-pooh@ntlworld.com>
> Subject: Re: freebsd-questions Digest, Vol 121, Issue 26
> To: freebsd-questions@freebsd.org
> Message-ID: <200601171039.08803.deejy-pooh@ntlworld.com>
> Content-Type: text/plain;  charset="iso-8859-1"
>
> On Monday 16 January 2006 20:06, freebsd-questions-request@freebsd.org
wrote:
> > Date: Mon, 16 Jan 2006 14:30:01 +0100
> > From: "Daniel A." <ldrada@gmail.com>
> > Subject: Re: FreeBSD
> > To: Uncle Deejy-Pooh <deejy-pooh@ntlworld.com>
> > Cc: freebsd-questions@freebsd.org
> > Message-ID:
> > <5ceb5d550601160530w2b210f8ar4349cf1e1407a6db@mail.gmail.com>
> > Content-Type: text/plain; charset=ISO-8859-1
> >
> > Hi,
> > Congratulations on your success with PC-BSD.
> >
> > I think that the nature of the BSD license can also indirectly be
> > applied to the FreeBSD mailing lists: Anyone can play along.
> > We're not elitist snobs =)
> >
> > On 1/13/06, Uncle Deejy-Pooh <deejy-pooh@ntlworld.com> wrote:
> > > Hey, I've spent the day using pc-bsd, and I quite like it ! Can I
remain
> > > on the
> > > mailing list, or are people already forming hollow squares to drum me
out
> > > ?
> > >
> > >           Regards to all for the New Year,
> > >
Deej
>
> Many thanks for all the replies to my posting. Just to let y'all know that
> after toying with PC-BSD and Desktop-BSD - both have their merits - I'm
back
> home ! Hell, I even put Windoze on for a day or two - what a shambles !
> So, off I go again, trying to write assembler programmes for BSD - as
lonely
> an occupation as ever bit a sandwich!
>
> Whilst I'm here, may I pick your collective brains regarding firewalls.
> I'm using a stand-alone box with a cable broadband connection. This box is
> used only for internet connection, downloading etc. and email, and this is
my
> current firewall configuration ( stolen from somewhere ! ):
>
> In my kernel:
>
> options IPFIREWALL
> options IPFIREWALL_VERBOSE
> options IPFIREWALL_VERBOSE_LIMIT=10
> options IPSTEALTH
> options TCP_DROP_SYNFIN
>
> In rc.conf:
>
> firewall_enable="YES"
> firewall_script="/etc/rc.firewall"
> firewall_type="/etc/firewall.rules"
> firewall_logging_enable="YES"
> log_in_vain="YES"
> tcp_drop_synfin="YES"
> icmp_drop_redirect="YES"
>
> My firewall.rules:
>
> add 00300 check-state
> add 00301 deny tcp from any to any in established
> add 00302 allow tcp from any to any out setup keep-state
> add 00400 allow udp from any 53 to any in
> add 00402 allow udp from any to any out
> add 00500 allow icmp from any to any icmptypes 3
> add 00501 allow icmp from any to any icmptypes 4
> add 00502 allow icmp from any to any icmptypes 8
> add 00503 allow icmp from any to any icmptypes 0 in
> add 00504 allow icmp from any to any icmptypes 11 in
>
> As I know jack-all about Firewalls and all of my time is spent trying to
learn
> unix assembly, I would appreciate comments on the above configuration from
> Those Who Know --- "on the shoulders of giants", and all that !
> I'm sure that there are many out there who would appreciate comments on
> firewalls for stand-alone boxes - most of the info seems to be geared
toward
> multi-processor, double-monitor, three-phase, jump-up-never-come-down,
> chrome-plated  machines with high IQs !
>
> Many thanks, as ever
> Deej
>
>
>
>
>
>
>
> ------------------------------
>
> Message: 5
> Date: Tue, 17 Jan 2006 12:42:35 +0100
> From: ivan.roth@free.fr
> Subject: Re: Setting up lpd on *BSD
> To: Jon Drews <jon.drews@gmail.com>
> Cc: freebsd-questions@freebsd.org
> Message-ID: <20060117124235.zcqa9lenxkosss80@imp4.free.fr>
> Content-Type: text/plain; charset=ISO-8859-1; format="flowed"
>
> Quoting Jon Drews <jon.drews@gmail.com>:
>
> > On 1/16/06, ivan.roth@free.fr <ivan.roth@free.fr> wrote:
> >> Hi Jon,
> >>
> >> First thank you for your reply (same thank to Lowell Gilbert).
> >>
> >> I tried to change the mode with lptcontrol -p -d /dev/lpt0 but that is
even
> >> worth because I have no more output at all!
> >
> > Yes - I was afraid to use things like that myself.
> >
> >
> >>
> >> I am a bit lost between all the confguration files now. CUPS, apsfilter
and
> >> friends is too much in one day :)
> >
> > CUPS is a completely different print system than the native FreeBSD
> > lpd. apsfilter does not use *.ppd files. These *.ppd files are
> > required by your Canon printer. This is also the probable reason why
> > lptest would not print.
> >
> >>
> >> Can you tell me where to install an especially downloaded ppd file?
> >
> > To use lpd do the following. I have not set it up on FreeBSD yet so
> > this may not be entirely accurate.
> >
> > 1) Go to Linux Printing http://www.linuxprinting.org/printer_list.cgi
> > and see if your printer is supported. I think your Canon printer is
> > not well supported as I did not find a listing there. Here is the site
> > for Canon drivers:
> > ftp://download.canon.jp/pub/driver/bj/
> >
> > However I did not see anything that may be of use to you.
> >
> > 2) You now have to pick a *ppd (Postscript Printer Definition) file
> > and a driver that will work with your Canon bubble jet. I don't know
> > what it would be for the Canon i865. I Googled for quite a while
> > trying to find a driver and *.ppd file for the i865 printer.
> >  For my HP printer, the driver would be /usr/pkgsrc/print/hpijs (I
> > looked at the FreeBSD ports and their hpijs depends on CUPS, so I
> > don't know how to set up lpd on FreeBSD).
> >
> > 3) Create an /etc/printcap file that looks something like this:
> >
> > #       $NetBSD: printcap,v 1.11 2002/07/01 23:10:19 hubertf Exp $
> > #       from: @(#)printcap      8.1 (Berkeley) 6/9/93
> >
> > lp|HP3740|HP Local Printer :\
> >        :sh:lp=/dev/ulpt0:af=/usr/pkg/etc/HP-DeskJet_3740-hpijs.ppd:\
> >        :if=/usr/pkg/bin/foomatic-rip:\
> >        :sd=/var/spool/output/lpd/lp:lf=/var/log/lpd-errs:\
> >        :mx#0:sh:
> >
> > You would replace HP-DeskJet_3740-hpijs.ppd with a Canon ppd.
> >
> > 4) Add your full hostname to /etc/hosts.lpd. See HOSTS.LPD(5) in the
> > FreeBSD man pages.
> >
> > 5) I think you have to add lpd=YES in rc.conf, for FreeBSD. Look in
> > /etc/defaults/rc.conf to see what it should be.
> >
> > 6) Add the following directories to /var/spool/output/lpd:
> >
> > # mkdir /var/spool/output/lpd/lp
> >
> > # mkdir /var/spool/output/lpd/$PRINTER_NAME_THAT_IS_IN_PRINTCAP
> >
> > in my case this would be
> > # mkdir /var/spool/output/lpd/HP3740
> >
> > 7) Finally, as root, do:
> >
> > # lpc stop all
> > # lpc start all
> >
> > Then do:
> >
> > # lpc status all
> >
> > and you should see something like this:
> > lp:
> >        queuing is enabled
> >        printing is enabled
> >        no entries
> >        printer idle
> >
> > 8) Now try and print. Do something like this:
> >
> > # lpr /root/.profile
> >
> > and if all goes well you should get a printout.
> > If not then do:
> >
> > # lpq
> >
> > and see the job number of your print job.
> >
> >
> >
> >> Now my printer's led is flashing permanently, but nothing else
happenned.
> >>
> >> I never thank that printing would be that much exciting and full of
> >> suspense :)
> >>
> >
> > It's a real pain. All I can say is that computer programs are made by
> > "the society for the preservation of artificial complexity". Anyway
> > here are some good references:
> > On the web:
> >
> > http://www.linuxprinting.org/lpd-doc.html
> >
> > http://www.tldp.org/HOWTO/Printing-HOWTO/
> >
> > Books:
> > "Essential System Administration" by Aeleen Frisch, Chapter 13.
> >
> > "UNIX System Administration Handbook" by Evi Nemeth and others, Chapter
23
> >
> >
> > --
> > Kind regards,
> > Jonathan
> >
>
> Thank you very much Jon.
> I will follow the steps you gave me tonight and will give you a feedback.
Hope
> it'll works.
>
> Thanks again, Ivan.
>
>
> ------------------------------
>
> Message: 6
> Date: Tue, 17 Jan 2006 06:57:52 -0500
> From: "Bill Schmitt (SW)" <software@schmittnet.com>
> Subject: syslog logging recommendation
> To: questions@freebsd.org
> Message-ID: <43CCDBC0.8000800@schmittnet.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> I'm looking for a recommendation for capturing syslogs from my small
> network. Specifically, initially I'd like to capture the syslog from my
> Netgear router and store it on my FreeBSD machine. Later I'd add other
> machines on the network. I've seen msyslog in the ports, but there's
> virtually no information on it out there. I've also seen syslog-ng,
> which looks promising. I'd like to store the information in mySQL. I'd
> appreciate any recommendations and/or pointers to pages with setup
examples.
>
> Thanks,
>
> Bill
>
>
>
> ------------------------------
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribe@freebsd.org"
>
> End of freebsd-questions Digest, Vol 121, Issue 28
> **************************************************
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.375 / Virus Database: 267.14.19/231 - Release Date: 1/16/2006
>
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?005001c61bd1$333194c0$6f01a8c0>