From k9di_bsd at k9di.org Thu Jul 16 06:10:51 2009 From: k9di_bsd at k9di.org (Wayne M. Scace) Date: Thu, 16 Jul 2009 04:10:51 +0000 Subject: Hello Message-ID: <4A5EA84B.1050909@k9di.org> Hello fellow Newbies, I'm writing to introduce myself to the group. My name is Wayne and while I'm new to OpenBSD, I'm not new to BSD and Linux. I started with Linux back in 1999 and went through various migrations of distro's until I got fed up with problems in the, then, new 2.6 Linux kernel. I got so frustrated that I migrated to FreeBSD. I've been using FreeBSD on a Firewall/NAT box as well as tinkering around with it on my main system dual booting it first with Win2k and then with XP. I first tried OpenBSD in 2003 and was totally lost so I concentrated on FreeBSD. That is until a week or so ago when my FreeBSD 7.0 Firwewall box packed it in. A friend gave me an old box put together by Gateway and I decided to give OpenBSD 4.5 a whirl. I've got it installed and with the help of the man pages and the FAQ's on OpenBSD's site I've managed to CVSUP the sources and also to get the ports tree on the box. Now I'm working my way through the PF Book to turn the box into a full fledged Firewall/NAT box. When I get that accomplished, I've another older box that's going to become a mail server for me. Have a great week everyone!! Sincerely and Respectfully Yours, Wayne M. Scace From mike at erdelynet.com Thu Jul 16 16:23:08 2009 From: mike at erdelynet.com (Mike Erdely) Date: Thu, 16 Jul 2009 10:23:08 -0400 Subject: Hello In-Reply-To: <4A5EA84B.1050909@k9di.org> References: <4A5EA84B.1050909@k9di.org> Message-ID: <20090716142307.GI6926@erdelynet.com> On Thu, Jul 16, 2009 at 04:10:51AM +0000, Wayne M. Scace wrote: > When I get that accomplished, I've another older box that's going > to become a mail server for me. > Have a great week everyone!! If you're going to be doing spam filtering with something like SpamAssassin, know that an underpowered box may not be able to handle a decent amount of spam. -ME From mike at erdelynet.com Thu Jul 16 16:23:37 2009 From: mike at erdelynet.com (Mike Erdely) Date: Thu, 16 Jul 2009 10:23:37 -0400 Subject: Hello In-Reply-To: <20090716142307.GI6926@erdelynet.com> References: <4A5EA84B.1050909@k9di.org> <20090716142307.GI6926@erdelynet.com> Message-ID: <20090716142337.GJ6926@erdelynet.com> On Thu, Jul 16, 2009 at 10:23:07AM -0400, Mike Erdely wrote: > On Thu, Jul 16, 2009 at 04:10:51AM +0000, Wayne M. Scace wrote: > > When I get that accomplished, I've another older box that's going > > to become a mail server for me. > > Have a great week everyone!! > > If you're going to be doing spam filtering with something like > SpamAssassin, know that an underpowered box may not be able to handle a > decent amount of spam. Err... "decent amount of mail" From DStaal at usa.net Thu Jul 16 20:50:29 2009 From: DStaal at usa.net (Daniel Staal) Date: Thu, 16 Jul 2009 14:50:29 -0400 Subject: Hello In-Reply-To: <20090716142337.GJ6926@erdelynet.com> References: <4A5EA84B.1050909@k9di.org> <20090716142307.GI6926@erdelynet.com> <20090716142337.GJ6926@erdelynet.com> Message-ID: <730e26a5e1802c9e93127a4e1cb8b6e3.squirrel@www.magehandbook.com> On Thu, July 16, 2009 10:23 am, Mike Erdely wrote: > On Thu, Jul 16, 2009 at 10:23:07AM -0400, Mike Erdely wrote: >> On Thu, Jul 16, 2009 at 04:10:51AM +0000, Wayne M. Scace wrote: >> > When I get that accomplished, I've another older box that's going >> > to become a mail server for me. >> > Have a great week everyone!! >> >> If you're going to be doing spam filtering with something like >> SpamAssassin, know that an underpowered box may not be able to handle a >> decent amount of spam. > > Err... "decent amount of mail" I think you had it right the first time. ;) (On a more serious note: I've had no trouble running a _personal_ mailserver on a 486, although this was a few years ago. If this is just for him, any desktop-class box will probably be fine.) Daniel T. Staal From k9di_bsd at k9di.org Fri Jul 17 01:41:14 2009 From: k9di_bsd at k9di.org (Wayne M. Scace) Date: Thu, 16 Jul 2009 23:41:14 +0000 Subject: Hello In-Reply-To: <730e26a5e1802c9e93127a4e1cb8b6e3.squirrel@www.magehandbook.com> References: <4A5EA84B.1050909@k9di.org> <20090716142307.GI6926@erdelynet.com> <20090716142337.GJ6926@erdelynet.com> <730e26a5e1802c9e93127a4e1cb8b6e3.squirrel@www.magehandbook.com> Message-ID: <4A5FBA9A.7070609@k9di.org> Daniel Staal wrote: > I think you had it right the first time. ;) > > (On a more serious note: I've had no trouble running a _personal_ > mailserver on a 486, although this was a few years ago. If this is just > for him, any desktop-class box will probably be fine.) > > Daniel T. Staal > I'll send a dmesg when I get OpenBSD installed on the soon-to-be mailserver. I don't plan on running SpamAsssassin. That's what I have mail filters on my desktop machine for... *grins* I just plan on the server pulling email down off the hosting company's servers and then retrieving it to my desktop machine from there. Wayne From sgeorge.ml at gmail.com Tue Jul 21 13:48:15 2009 From: sgeorge.ml at gmail.com (Siju George) Date: Tue, 21 Jul 2009 17:18:15 +0530 Subject: updating ports Message-ID: Hi, For updating ports to stable I guess #cd /usr/ports #make update is the way to go right? I guess it will only update installed packages and not install new packages? Thanks --Siju From axel.keuchel at web.de Tue Jul 21 18:12:23 2009 From: axel.keuchel at web.de (Axel Keuchel) Date: Tue, 21 Jul 2009 18:12:23 +0200 Subject: updating ports In-Reply-To: References: Message-ID: <4A65E8E7.6080005@web.de> Hi there, first of all, you know that everyone is encouraged to use the pre-compiled binary packages? Please read: http://www.openbsd.org/faq/faq15.html#PkgVsPorts If you are using ports because you need an application that can't be provided as a binary package, please read this: http://www.openbsd.org/faq/faq15.html#Ports Concerning updating ports from -release to -stable you want to read this: http://www.openbsd.org/stable.html and you will like this: http://www.openbsd.org/anoncvs.html#EXAMPLE please look at least at the lines following the sentence: "Here is how someone using anoncvs regularly would update his source tree: [...]" There is explained how to upgrade the ports. Hope it helps;-)! Siju George wrote: > Hi, > > For updating ports to stable I guess > > #cd /usr/ports > #make update > > is the way to go right? > > I guess it will only update installed packages and not install new packages? > > Thanks > > --Siju > _______________________________________________ > Openbsd-newbies mailing list > Openbsd-newbies at sfobug.org > http://mailman.theapt.org/listinfo/openbsd-newbies > > From tas-openbsd-newbies at puesnada.us Tue Jul 21 17:32:10 2009 From: tas-openbsd-newbies at puesnada.us (Todd Alan Smith) Date: Tue, 21 Jul 2009 11:32:10 -0400 Subject: updating ports In-Reply-To: References: Message-ID: <665783940907210832k5445c31y295bce135549bc54@mail.gmail.com> On Tue, Jul 21, 2009 at 7:48 AM, Siju George wrote: > Hi, > > For updating ports to stable I guess > > #cd /usr/ports > #make update > > is the way to go right? > > I guess it will only update installed packages and not install new packages? Unless I'm misunderstanding your question, I think the 3rd bullet in the following section of the FAQ answers your question: http://openbsd.org/faq/faq15.html#NoFun Todd From stu at spacehopper.org Wed Jul 22 00:57:31 2009 From: stu at spacehopper.org (Stuart Henderson) Date: Tue, 21 Jul 2009 22:57:31 +0000 (UTC) Subject: updating ports References: Message-ID: On 2009-07-21, Siju George wrote: > Hi, > > For updating ports to stable I guess > > #cd /usr/ports > #make update > > is the way to go right? > > I guess it will only update installed packages and not install new packages? This will attempt to build *everything* (some things may fail because they can't be built with an old version installed, though this is less likely to happen with -stable) and then attempt to update them. This is almost certainly /not/ what you want. /usr/ports/infrastructure/build/out-of-date can produce a list of installed packages that need an update, in a format you can write to a file and feed to "make SUBDIRLIST= ..." From sgeorge.ml at gmail.com Wed Jul 22 14:58:17 2009 From: sgeorge.ml at gmail.com (Siju George) Date: Wed, 22 Jul 2009 18:28:17 +0530 Subject: updating ports In-Reply-To: References: Message-ID: On Wed, Jul 22, 2009 at 4:27 AM, Stuart Henderson wrote: > > This will attempt to build *everything* (some things may fail because > they can't be built with an old version installed, though this is less > likely to happen with -stable) and then attempt to update them. > This is almost certainly /not/ what you want. > Yes that was what I was wondering about :-) It seemed to build even things that are not installed in my system. > /usr/ports/infrastructure/build/out-of-date can produce a list of > installed packages that need an update, in a format you can write to > a file and feed to "make SUBDIRLIST= ..." > Thanks for the tip :-) --Siju From stu at spacehopper.org Thu Jul 30 14:48:10 2009 From: stu at spacehopper.org (Stuart Henderson) Date: Thu, 30 Jul 2009 13:48:10 +0100 Subject: updating ports In-Reply-To: References: Message-ID: <20090730124810.GI5649@symphytum.spacehopper.org> On 2009/07/30 18:11, Siju George wrote: > On Wed, Jul 22, 2009 at 4:27 AM, Stuart Henderson wrote: > > > > /usr/ports/infrastructure/build/out-of-date can produce a list of > > installed packages that need an update, in a format you can write to > > a file and feed to "make SUBDIRLIST= ..." > > > > > > I was doing it the way said above and I get this error. > > Link to /usr/ports/packages/i386/cdrom/desktop-file-utils-0.15.tgz > ===> Updating for desktop-file-utils-0.15 > ===> Verifying specs: glib-2.0 intl.>=4 iconv.>=4 c pcre > ===> found glib-2.0.1800.1 intl.4.0 iconv.5.0 c.50.1 pcre.2.2 > Upgrading from desktop-file-utils-0.15 > New package desktop-file-utils-0.15 contains potentially unsafe operations > @exec /usr/local/bin/update-desktop-database > Can't safely update to desktop-file-utils-0.15 (use -F update to force it) > /usr/sbin/pkg_add: desktop-file-utils-0.15:Fatal error > *** Error code 1 > > Stop in /usr/ports/devel/desktop-file-utils (line 1477 of > /usr/ports/infrastructure/mk/bsd.port.mk). > ===> Exiting devel/desktop-file-utils with an error > *** Error code 1 > > Stop in /usr/ports (line 124 of > /usr/ports/infrastructure/mk/bsd.port.subdir.mk). > > where do I go from here? > > install that package manually and continue? You can use "FORCE_UPDATE=Yes" on the make command line. It's described in bsd.port.mk(5), FORCE_UPDATE User settings. If set to `Yes', the update target will al- ways update an installed package, as soon as its signature differs, and all dependencies that install packages will also force an update. If set to `hard', the update target will also update installed packages even when the signature did not change. This can also be set in /etc/mk.conf if you always want to do it. From sgeorge.ml at gmail.com Thu Jul 30 13:22:42 2009 From: sgeorge.ml at gmail.com (Siju George) Date: Thu, 30 Jul 2009 16:52:42 +0530 Subject: U src/gnu/usr.bin/binutils/gdb/ia64-linux-tdep.c Message-ID: Hi, While checking out src I found this file listed in the cvs output U src/gnu/usr.bin/binutils/gdb/ia64-linux-tdep.c just wondering what an "ia64-linux" is doing in the OpenBSD source tree :-) Thanks Siju From sgeorge.ml at gmail.com Thu Jul 30 14:58:27 2009 From: sgeorge.ml at gmail.com (Siju George) Date: Thu, 30 Jul 2009 18:28:27 +0530 Subject: updating ports In-Reply-To: <20090730124810.GI5649@symphytum.spacehopper.org> References: <20090730124810.GI5649@symphytum.spacehopper.org> Message-ID: On Thu, Jul 30, 2009 at 6:18 PM, Stuart Henderson wrote: > You can use "FORCE_UPDATE=Yes" on the make command line. > It's described in bsd.port.mk(5), > > ? ? FORCE_UPDATE ?User settings. ?If set to `Yes', the update target will al- > ? ? ? ? ? ? ? ? ? ways update an installed package, as soon as its signature > ? ? ? ? ? ? ? ? ? differs, and all dependencies that install packages will > ? ? ? ? ? ? ? ? ? also force an update. ?If set to `hard', the update target > ? ? ? ? ? ? ? ? ? will also update installed packages even when the signature > ? ? ? ? ? ? ? ? ? did not change. > > This can also be set in /etc/mk.conf if you always want to do it. > Thanks Stuart :-) --Siju From sgeorge.ml at gmail.com Thu Jul 30 14:41:45 2009 From: sgeorge.ml at gmail.com (Siju George) Date: Thu, 30 Jul 2009 18:11:45 +0530 Subject: updating ports In-Reply-To: References: Message-ID: On Wed, Jul 22, 2009 at 4:27 AM, Stuart Henderson wrote: > > /usr/ports/infrastructure/build/out-of-date can produce a list of > installed packages that need an update, in a format you can write to > a file and feed to "make SUBDIRLIST= ..." > > I was doing it the way said above and I get this error. Link to /usr/ports/packages/i386/cdrom/desktop-file-utils-0.15.tgz ===> Updating for desktop-file-utils-0.15 ===> Verifying specs: glib-2.0 intl.>=4 iconv.>=4 c pcre ===> found glib-2.0.1800.1 intl.4.0 iconv.5.0 c.50.1 pcre.2.2 Upgrading from desktop-file-utils-0.15 New package desktop-file-utils-0.15 contains potentially unsafe operations @exec /usr/local/bin/update-desktop-database Can't safely update to desktop-file-utils-0.15 (use -F update to force it) /usr/sbin/pkg_add: desktop-file-utils-0.15:Fatal error *** Error code 1 Stop in /usr/ports/devel/desktop-file-utils (line 1477 of /usr/ports/infrastructure/mk/bsd.port.mk). ===> Exiting devel/desktop-file-utils with an error *** Error code 1 Stop in /usr/ports (line 124 of /usr/ports/infrastructure/mk/bsd.port.subdir.mk). where do I go from here? install that package manually and continue? thanks Siju From josh at jggimi.homeip.net Thu Jul 30 16:39:23 2009 From: josh at jggimi.homeip.net (Josh Grosse) Date: Thu, 30 Jul 2009 10:39:23 -0400 Subject: U src/gnu/usr.bin/binutils/gdb/ia64-linux-tdep.c In-Reply-To: References: Message-ID: <20090730143606.M15267@jggimi.homeip.net> On Thu, 30 Jul 2009 16:52:42 +0530, Siju George wrote > Hi, > > While checking out src I found this file listed in the cvs output > > U src/gnu/usr.bin/binutils/gdb/ia64-linux-tdep.c > > just wondering what an "ia64-linux" is doing in the OpenBSD source > tree :-) Note the "gnu" hierarchy, and note the tool: gdb. The GNU Debugger. >From www.openbsd.org/policy.html: "...GCC and other GNU tools are included in the OpenBSD tool chain..." From sgeorge.ml at gmail.com Fri Jul 31 09:19:45 2009 From: sgeorge.ml at gmail.com (Siju George) Date: Fri, 31 Jul 2009 12:49:45 +0530 Subject: U src/gnu/usr.bin/binutils/gdb/ia64-linux-tdep.c In-Reply-To: <20090730143606.M15267@jggimi.homeip.net> References: <20090730143606.M15267@jggimi.homeip.net> Message-ID: On Thu, Jul 30, 2009 at 8:09 PM, Josh Grosse wrote: > Note the "gnu" hierarchy, and note the tool: gdb. ?The GNU Debugger. > > From www.openbsd.org/policy.html: ?"...GCC and other GNU tools are included in > the OpenBSD tool chain..." > Thanks Joss :-) Does that mean that base is not purely bsd licenced? --Siju From phessler at theapt.org Fri Jul 31 09:54:48 2009 From: phessler at theapt.org (Peter Hessler) Date: Fri, 31 Jul 2009 09:54:48 +0200 Subject: U src/gnu/usr.bin/binutils/gdb/ia64-linux-tdep.c In-Reply-To: References: <20090730143606.M15267@jggimi.homeip.net> Message-ID: <20090731075448.GB17610@gir.theapt.org> On 2009 Jul 31 (Fri) at 12:49:45 +0530 (+0530), Siju George wrote: :On Thu, Jul 30, 2009 at 8:09 PM, Josh Grosse wrote: :> Note the "gnu" hierarchy, and note the tool: gdb. ?The GNU Debugger. :> :> From www.openbsd.org/policy.html: ?"...GCC and other GNU tools are included in :> the OpenBSD tool chain..." :> : :Thanks Joss :-) :Does that mean that base is not purely bsd licenced? : :--Siju Things that are not purely BSD licensed go into src/gnu directory. This also includes some other freely licensed software, but are imported from other sources. The entire Kernel and the rest of userland are BSD licensed, however. -- Experience is that marvelous thing that enables you recognize a mistake when you make it again. -- Franklin P. Jones From sgeorge.ml at gmail.com Fri Jul 31 15:00:58 2009 From: sgeorge.ml at gmail.com (Siju George) Date: Fri, 31 Jul 2009 18:30:58 +0530 Subject: U src/gnu/usr.bin/binutils/gdb/ia64-linux-tdep.c In-Reply-To: <20090731075448.GB17610@gir.theapt.org> References: <20090730143606.M15267@jggimi.homeip.net> <20090731075448.GB17610@gir.theapt.org> Message-ID: On Fri, Jul 31, 2009 at 1:24 PM, Peter Hessler wrote: > > Things that are not purely BSD licensed go into src/gnu directory. ?This > also includes some other freely licensed software, but are imported from > other sources. ?The entire Kernel and the rest of userland are BSD > licensed, however. > Thanks for the clarification Peter :-) --Siju From nido at foxserver.be Fri Jul 31 09:55:41 2009 From: nido at foxserver.be (Nido) Date: Fri, 31 Jul 2009 09:55:41 +0200 Subject: networking tool Message-ID: Dear list, I'm have installed -current and I like it a whole lot. There is one thing though that is not working as I like it, which is networking. I've installed this on a laptop which I take everywhere I go. I sometimes connect it to a cat5 cable, and sometimes to wireless networks. But in order to do this I need to run ifconfig as root. I've considered allowing sudo with no password for ifconfig only but I am not sure this is the right solution. Is there anyone who may have a better idea to solve my problem? Kind regards. Nido Media From dennyboy at cableone.net Fri Jul 31 16:56:11 2009 From: dennyboy at cableone.net (Denny White) Date: Fri, 31 Jul 2009 09:56:11 -0500 Subject: networking tool In-Reply-To: References: Message-ID: <20090731145611.GT21170@badboybox.cableone.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, Jul 31, 2009 at 09:55:41AM +0200, Nido spoke thusly: > Dear list, > > I'm have installed -current and I like it a whole lot. There is one > thing though that is not working as I like it, which is networking. > I've installed this on a laptop which I take everywhere I go. I > sometimes connect it to a cat5 cable, and sometimes to wireless > networks. > > But in order to do this I need to run ifconfig as root. I've > considered allowing sudo with no password for ifconfig only but I am > not sure this is the right solution. Is there anyone who may have a > better idea to solve my problem? > > Kind regards. > > Nido Media > _______________________________________________ > Openbsd-newbies mailing list > Openbsd-newbies at sfobug.org > http://mailman.theapt.org/listinfo/openbsd-newbies > Obviously you must be in the 'wheel' group. No, I don't see anything wrong with it. The only downside, I suppose, is if someone else gets their hands on the laptop. But, if that happens, you've got lots more to worry about, anyway, than just someone changing your network settings. ;) I have several commands setup like that in the sudoers file. Example: dennyboy badboybox = NOPASSWD: /sbin/mount,/sbin/umount dennyboy badboybox = NOPASSWD: /usr/local/bin/cdrecord Hope that helps. Denny White =============================================================== () ASCII ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments =============================================================== GnuPG key : 0x1644E79A | http://wwwkeys.de.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A =============================================================== -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (OpenBSD) iEYEARECAAYFAkpzBgsACgkQy0Ty5RZE55pCSQCghq5Nim3I07RtP1+QXpa0Xqkr 3JIAn1To6adHK1v1Y8Qj9nNzoVkOwG9C =NriP -----END PGP SIGNATURE-----