From nesius at gmail.com Thu Jul 3 23:08:30 2014 From: nesius at gmail.com (Robert Nesius) Date: Thu, 3 Jul 2014 23:08:30 -0500 Subject: [tclug-list] SCLUG still around? In-Reply-To: References: Message-ID: I've lived in the Saint Cloud area five years and haven't heard of them. -Rob On Sun, Jun 1, 2014 at 8:48 PM, swede wrote: > >> Date: Fri, 30 May 2014 15:36:05 -0500 >> From: Steve Ruprecht >> To: tclug-list at mn-linux.org >> Subject: [tclug-list] SCLUG still around? >> Message-ID: >> > aUQA at mail.gmail.com> >> Content-Type: text/plain; charset="utf-8" >> >> Does anyone know if the Saint Cloud Linux user group is still >> meeting/active? >> >> If there is a group: Anyone have any contacts? >> >> If there isn't a group: Anyone in the SC area want to start meeting up? >> >> -Steve >> -------------- next part -------------- >> An HTML attachment was scrubbed... >> URL: < >> http://mailman.mn-linux.org/pipermail/tclug-list/attachments/20140530/aba71ce6/attachment-0001.html >> > >> >> > > I think I could hold of them if I tried, I know they were a small group of > friends that decided it was easier tot hang out on IRC than maintain the > small list. > > > -- > "In this present crisis, government is not the solution to our problem; > government is the problem." - Ronald Reagan > > <>< > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kc0iog at gmail.com Fri Jul 4 08:18:50 2014 From: kc0iog at gmail.com (Brian Wall) Date: Fri, 4 Jul 2014 08:18:50 -0500 Subject: [tclug-list] SCLUG still around? In-Reply-To: References: Message-ID: On Thu, Jul 3, 2014 at 11:08 PM, Robert Nesius wrote: > I've lived in the Saint Cloud area five years and haven't heard of them. SCALUG ceased to exist around 2006 or so. It had a good run, but most of us who actively contributed to SCALUG either moved away or got too busy with life. If someone was interested in starting it up again, they may find a few of the old SCALUG'ers coming out of the woodwork. Most of us are still around and using linux :-) Brian From woodbrian77 at gmail.com Sat Jul 5 15:42:04 2014 From: woodbrian77 at gmail.com (Brian Wood) Date: Sat, 5 Jul 2014 20:42:04 +0000 Subject: [tclug-list] Checking out FreeBSD Message-ID: After reading about kqueues on a Boost mailing list, I've decided to install FreeBSD on a machine and try to port my code generator from Linux to FreeBSD. I've installed FreeBSD and it runs. Now I'm trying to figure out how to install xfce and get gcc and some other tools installed. What do you suggest? Sendmail is running on the box. The installer asked if I wanted to start sshd or not, but I didn't see anything about sendmail. Why does it start sendmail? Thanks. Reminder: I don't reply to top-posters here. Brian Ebenezer Enterprises - In G-d we trust. http://webEbenezer.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From ryanjcole at me.com Sat Jul 5 15:46:52 2014 From: ryanjcole at me.com (Ryan Coleman) Date: Sat, 05 Jul 2014 15:46:52 -0500 Subject: [tclug-list] Checking out FreeBSD In-Reply-To: References: Message-ID: Run like hell away from FreeBSD - it?s a lot harder than you want. The learning curve on it is huge - and you can choose to not reply to me all you want but I?m one of the top people here on BSD. I?m a user of BSD since 2002 and I?m slowly migrating away to Ubuntu because it simply does not do what I need. A few basics: You need the Ports. If you didn?t install them you need to get them from the FreeBSD mirrors. Then install portupgrade Then install nano Then install bash And then install Webmin (all of these are in ports) Now learn about services - the are not run the same as any Linux OS I?ve ever used (this is not Linux, it?s BSD - one of the closest to Unix than you?ll find in the wild). Your services are run in /etc/rc.conf but your conf files are almost all in /usr/local/etc/ (unless it?s system-level). > Reminder: I don't reply to top-posters here. You can take my advice or ignore it, I don?t care. ? Ryan Admin of FreeBSD since 5.2 On Jul 5, 2014, at 15:42, Brian Wood wrote: > After reading about kqueues on a Boost mailing list, > I've decided to install FreeBSD on a machine and > try to port my code generator from Linux to FreeBSD. > > I've installed FreeBSD and it runs. Now I'm trying > to figure out how to install xfce and get gcc and some > other tools installed. What do you suggest? > > Sendmail is running on the box. The installer asked if > I wanted to start sshd or not, but I didn't see anything > about sendmail. Why does it start sendmail? Thanks. > > Reminder: I don't reply to top-posters here. > > Brian > Ebenezer Enterprises - In G-d we trust. > http://webEbenezer.net > > > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From woodbrian77 at gmail.com Sat Jul 5 16:23:23 2014 From: woodbrian77 at gmail.com (Brian Wood) Date: Sat, 5 Jul 2014 21:23:23 +0000 Subject: [tclug-list] Checking out FreeBSD In-Reply-To: References: Message-ID: On Sat, Jul 5, 2014 at 8:42 PM, Brian Wood wrote: > > I've installed FreeBSD and it runs. Now I'm trying > to figure out how to install xfce and get gcc and some > other tools installed. What do you suggest? > > I ran pkg install xorg and pkg install xfce Then I ran startxfce4. It brought up the desktop, but I can't move the mouse and it doesn't seem to take anything from the keyboard. I read that Gnome wasn't very stable on FreeBSD. -- Brian Ebenezer Enterprises http://webEbenezer.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From ryanjcole at me.com Sat Jul 5 16:24:57 2014 From: ryanjcole at me.com (Ryan Coleman) Date: Sat, 05 Jul 2014 16:24:57 -0500 Subject: [tclug-list] Checking out FreeBSD In-Reply-To: References: Message-ID: Use Ports - they will install all the missing things and it?s really a lot easier to manage that way. I don?t use GUIs in BSD - it?s not worth the headaches getting it up and running On Jul 5, 2014, at 16:23, Brian Wood wrote: > On Sat, Jul 5, 2014 at 8:42 PM, Brian Wood wrote: > > I've installed FreeBSD and it runs. Now I'm trying > to figure out how to install xfce and get gcc and some > other tools installed. What do you suggest? > > > I ran > > pkg install xorg > > and > > pkg install xfce > > Then I ran startxfce4. It brought up the desktop, but I can't > move the mouse and it doesn't seem to take anything from > the keyboard. I read that Gnome wasn't very stable on > FreeBSD. > > > -- > Brian > Ebenezer Enterprises > http://webEbenezer.net > > > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From aberg010 at my.hennepintech.edu Sat Jul 5 22:04:36 2014 From: aberg010 at my.hennepintech.edu (Andrew Berg) Date: Sat, 5 Jul 2014 22:04:36 -0500 Subject: [tclug-list] Checking out FreeBSD In-Reply-To: References: Message-ID: <53B8BCC4.3070004@my.hennepintech.edu> On 2014.07.05 16:23, Brian Wood wrote: > Then I ran startxfce4. It brought up the desktop, but I can't > move the mouse and it doesn't seem to take anything from > the keyboard. I read that Gnome wasn't very stable on > FreeBSD. Getting X up and running on vanilla FreeBSD can be a pain. There's a page in the handbook that outlines how to get it going, but it needs updating. There is stuff going on right now to use newer Xorg and KMS drivers for Intel and AMD integrated GPUs. It's default on the -STABLE and -CURRENT branches, but there's a package repo with stuff built for it that you can use on -RELEASE if you want to try it: http://lists.freebsd.org/pipermail/freebsd-announce/2014-July/001570.html In any case, if you want a nice desktop system with all the ugliness worked out and where things will just work, I recommend PC-BSD. They've done a bunch of work to make a desktop environment just work. FWIW, OpenBSD might be worth looking at too since they have made desktop stuff more of a priority (and they have their own fork of X in the base system). GNOME 3 is full of linuxisms, so it's been a slow process for non-Linux systems. PC-BSD and OpenBSD have it working AFAIK. FreeBSD does a lot of things very well, but desktop bits have historically not been a huge priority. From samael.anon at gmail.com Sun Jul 6 15:15:04 2014 From: samael.anon at gmail.com (Samael Anon) Date: Sun, 6 Jul 2014 15:15:04 -0500 Subject: [tclug-list] Checking out FreeBSD In-Reply-To: <53B8BCC4.3070004@my.hennepintech.edu> References: <53B8BCC4.3070004@my.hennepintech.edu> Message-ID: PCBSD? On Sat, Jul 5, 2014 at 10:04 PM, Andrew Berg wrote: > On 2014.07.05 16:23, Brian Wood wrote: > > Then I ran startxfce4. It brought up the desktop, but I can't > > move the mouse and it doesn't seem to take anything from > > the keyboard. I read that Gnome wasn't very stable on > > FreeBSD. > Getting X up and running on vanilla FreeBSD can be a pain. > There's a page in the handbook that outlines how to get it > going, but it needs updating. > There is stuff going on right now to use newer Xorg and > KMS drivers for Intel and AMD integrated GPUs. It's > default on the -STABLE and -CURRENT branches, but > there's a package repo with stuff built for it that you can > use on -RELEASE if you want to try it: > http://lists.freebsd.org/pipermail/freebsd-announce/2014-July/001570.html > > In any case, if you want a nice desktop system with all > the ugliness worked out and where things will just work, > I recommend PC-BSD. They've done a bunch of work > to make a desktop environment just work. FWIW, > OpenBSD might be worth looking at too since they > have made desktop stuff more of a priority (and they > have their own fork of X in the base system). > > GNOME 3 is full of linuxisms, so it's been a slow > process for non-Linux systems. PC-BSD and OpenBSD > have it working AFAIK. > > FreeBSD does a lot of things very well, but desktop > bits have historically not been a huge priority. > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: From lkateley at kateley.com Sun Jul 6 15:19:08 2014 From: lkateley at kateley.com (Linda Kateley) Date: Sun, 06 Jul 2014 15:19:08 -0500 Subject: [tclug-list] Checking out FreeBSD In-Reply-To: References: <53B8BCC4.3070004@my.hennepintech.edu> Message-ID: <53B9AF3C.10306@kateley.com> Interesting, i just goggled pcbsd and it is maintained by the ixsystems guys, the same guys who bring primary contributors to freenas. But I could swear freenas is built on freebsd. I teach the freenas classes :) linda On 7/6/14, 3:15 PM, Samael Anon wrote: > PCBSD? > > > On Sat, Jul 5, 2014 at 10:04 PM, Andrew Berg > > > wrote: > > On 2014.07.05 16 :23, Brian Wood wrote: > > Then I ran startxfce4. It brought up the desktop, but I can't > > move the mouse and it doesn't seem to take anything from > > the keyboard. I read that Gnome wasn't very stable on > > FreeBSD. > Getting X up and running on vanilla FreeBSD can be a pain. > There's a page in the handbook that outlines how to get it > going, but it needs updating. > There is stuff going on right now to use newer Xorg and > KMS drivers for Intel and AMD integrated GPUs. It's > default on the -STABLE and -CURRENT branches, but > there's a package repo with stuff built for it that you can > use on -RELEASE if you want to try it: > http://lists.freebsd.org/pipermail/freebsd-announce/2014-July/001570.html > > In any case, if you want a nice desktop system with all > the ugliness worked out and where things will just work, > I recommend PC-BSD. They've done a bunch of work > to make a desktop environment just work. FWIW, > OpenBSD might be worth looking at too since they > have made desktop stuff more of a priority (and they > have their own fork of X in the base system). > > GNOME 3 is full of linuxisms, so it's been a slow > process for non-Linux systems. PC-BSD and OpenBSD > have it working AFAIK. > > FreeBSD does a lot of things very well, but desktop > bits have historically not been a huge priority. > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > > > > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From aberg010 at my.hennepintech.edu Sun Jul 6 15:53:52 2014 From: aberg010 at my.hennepintech.edu (Andrew Berg) Date: Sun, 6 Jul 2014 15:53:52 -0500 Subject: [tclug-list] Checking out FreeBSD In-Reply-To: References: <53B8BCC4.3070004@my.hennepintech.edu> Message-ID: <53B9B760.6090407@my.hennepintech.edu> On 2014.07.06 15:15, Samael Anon wrote: > PCBSD? http://www.pcbsd.org/ It's a distribution of FreeBSD that comes with a bunch of desktop goodies (like DEs and graphical system configuration utilities) and is preconfigured to work as a desktop system. Underneath, it still has the FreeBSD base system, so you're still getting things like pf and ZFS (and of course, there are graphical tools for doing things with ZFS included). KDE is the default DE, but others like GNOME/MATE and Xfce and such are available and officially supported. BTW, since I'm doing a talk on FreeBSD at the November meeting, I want to ask: is there a lot of interest in PC-BSD? I had planned on saying a few things about it, but I can prepare something more substantial if people are really interested in it. From lkateley at kateley.com Sun Jul 6 16:18:09 2014 From: lkateley at kateley.com (Linda Kateley) Date: Sun, 06 Jul 2014 16:18:09 -0500 Subject: [tclug-list] Checking out FreeBSD In-Reply-To: <53B9B760.6090407@my.hennepintech.edu> References: <53B8BCC4.3070004@my.hennepintech.edu> <53B9B760.6090407@my.hennepintech.edu> Message-ID: <53B9BD11.3000509@kateley.com> Looking forward to it! I know if i had a little more time i could figure out things like ports, but not enough need. I think for any new os i wanna know how it's boots(scripts and stuff), how to upgrade and add software, how to config the network... would love to know the differences between the different bsd's. although i am using it a lot now, i haven't really used it since the early 90's when it was still just bsd, sunos 4.1 :) lk On 7/6/14, 3:53 PM, Andrew Berg wrote: > On 2014.07.06 15:15, Samael Anon wrote: >> PCBSD? > http://www.pcbsd.org/ > > It's a distribution of FreeBSD that comes with a bunch of desktop goodies (like > DEs and graphical system configuration utilities) and is preconfigured to work > as a desktop system. Underneath, it still has the FreeBSD base system, so > you're still getting things like pf and ZFS (and of course, there are graphical > tools for doing things with ZFS included). > KDE is the default DE, but others like GNOME/MATE and Xfce and such are > available and officially supported. > > > BTW, since I'm doing a talk on FreeBSD at the November meeting, I want to ask: > is there a lot of interest in PC-BSD? I had planned on saying a few things > about it, but I can prepare something more substantial if people are really > interested in it. > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list From woodbrian77 at gmail.com Mon Jul 7 10:28:23 2014 From: woodbrian77 at gmail.com (Brian Wood) Date: Mon, 7 Jul 2014 10:28:23 -0500 Subject: [tclug-list] Checking out FreeBSD Message-ID: Ryan Coleman writes: >> Reminder: I don't reply to top-posters here. > > You can take my advice or ignore it, I don?t care. I usually read your posts. I remember your using BSD from previous posts. -- Brian Ebenezer Enterprises http://webEbenezer.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From woodbrian77 at gmail.com Mon Jul 7 10:36:10 2014 From: woodbrian77 at gmail.com (Brian Wood) Date: Mon, 7 Jul 2014 10:36:10 -0500 Subject: [tclug-list] Checking out FreeBSD Message-ID: Andrew Berg writes: > In any case, if you want a nice desktop system with all > the ugliness worked out and where things will just work, > I recommend PC-BSD. They've done a bunch of work > to make a desktop environment just work. Thanks, that did work. It seems fairly nice. One bad thing is it seems to take a lot longer to shut down than Linux. Now I have to decide if I'm going to proceed with porting my software to it so I can compare it to the Linux version. -- Brian Ebenezer Enterprises http://webEbenezer.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From ryanjcole at me.com Mon Jul 7 10:51:45 2014 From: ryanjcole at me.com (Ryan Coleman) Date: Mon, 07 Jul 2014 15:51:45 +0000 (GMT) Subject: [tclug-list] Checking out FreeBSD Message-ID: <29890c36-bd56-4c4b-b60d-98cf5d7ba91e@me.com> FWIW we can add the Linux compatibility to BSD and run things that way - it's not pretty but it works (if I remember correctly - it has been a number of years since I've needed to) On Jul 07, 2014, at 10:36 AM, Brian Wood wrote: Andrew Berg writes: > In any case, if you want a nice desktop system with all > the ugliness worked out and where things will just work, > I recommend PC-BSD. They've done a bunch of work > to make a desktop environment just work. Thanks, that did work.? It seems fairly nice.? One bad thing is it seems to take a lot longer to shut down than Linux.? Now I have to decide if I'm going to proceed with porting my software to it so I can compare it to the Linux version.? -- Brian Ebenezer Enterprises http://webEbenezer.net _______________________________________________ TCLUG Mailing List - Minneapolis/St. Paul, Minnesota tclug-list at mn-linux.org http://mailman.mn-linux.org/mailman/listinfo/tclug-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From aberg010 at my.hennepintech.edu Mon Jul 7 11:05:26 2014 From: aberg010 at my.hennepintech.edu (Andrew Berg) Date: Mon, 7 Jul 2014 11:05:26 -0500 Subject: [tclug-list] Checking out FreeBSD In-Reply-To: <29890c36-bd56-4c4b-b60d-98cf5d7ba91e@me.com> References: <29890c36-bd56-4c4b-b60d-98cf5d7ba91e@me.com> Message-ID: <53BAC546.7070308@my.hennepintech.edu> On 2014.07.07 10:51, Ryan Coleman wrote: > FWIW we can add the Linux compatibility to BSD and run things that way - it's > not pretty but it works (if I remember correctly - it has been a number of > years since I've needed to) Current Linux emulation is pretty old, but there is someone actively working on a version that emulates 64-bit CentOS 6. In any case, things tend to work unless the project is full of Linux-specific APIs and features. From aberg010 at my.hennepintech.edu Mon Jul 7 11:09:07 2014 From: aberg010 at my.hennepintech.edu (Andrew Berg) Date: Mon, 7 Jul 2014 11:09:07 -0500 Subject: [tclug-list] Checking out FreeBSD In-Reply-To: <53BAC546.7070308@my.hennepintech.edu> References: <29890c36-bd56-4c4b-b60d-98cf5d7ba91e@me.com> <53BAC546.7070308@my.hennepintech.edu> Message-ID: <53BAC623.5050200@my.hennepintech.edu> On 2014.07.07 11:05, Andrew Berg wrote: > In any case, things tend to work unless the project is full of Linux-specific > APIs and features. I realized just after I sent it that this is a bit ambiguous. I mean that things tend to work *natively* in this case, and was not referring to the Linux emulation. From woodbrian77 at gmail.com Mon Jul 14 14:49:22 2014 From: woodbrian77 at gmail.com (Brian Wood) Date: Mon, 14 Jul 2014 19:49:22 +0000 Subject: [tclug-list] Event loop problem Message-ID: I've been having a problem related to epoll_ctl lately. You may recall I have a 3-tier system: 1. back tier (tcp server) 2. middle tier (udp server) 3. front tier If I kill the middle tier with a control-C and then restart it (without making any requests via the front tier), the socket descriptor (associated with the middle tier) in the back tier is 7. But If I first make some requests via the front tier, then kill the middle tier and then restart it, the socket descriptor is 1 instead of 7. When the socket descriptor is 1, I get an EBADF on an epoll_ctl with an op of EPOLL_CTL_MOD. It's on the second call to epoll_ctl though (with same input) that it fails. The first one is related to logging in and the second one is due to the request via the front tier. I've tried many things to get the back tier to not give me the socket descriptor of 1, but nothing has worked. I've tried calling daemon(), I've tried freopen'ing stdin, stdout, and stderr, and a few other things. I've tried doing these things only in the parent, only in the child and in both. Nothing has worked. Any ideas? This problem makes me think more about BSD. Even if I figure this out, I'm still left with epoll. If you could have any operating system for running an on line service, what would you pick? Thanks. -- Brian Ebenezer Enterprises - In G-d we trust. http://webEbenezer.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From woodbrian77 at gmail.com Mon Jul 14 15:24:21 2014 From: woodbrian77 at gmail.com (Brian Wood) Date: Mon, 14 Jul 2014 20:24:21 +0000 Subject: [tclug-list] Event loop problem In-Reply-To: References: Message-ID: On Mon, Jul 14, 2014 at 7:49 PM, Brian Wood wrote: > > When the socket descriptor is 1, I get an EBADF on > an epoll_ctl with an op of EPOLL_CTL_MOD. > It's on the second call to epoll_ctl though (with > same input) that it fails. The first one is related > to logging in and the second one is due to the > request via the front tier. > This part was wrong. It's the third call to epoll_ctl that fails. The first turns EPOLLOUT on, the second turns it off, and the third turns it back on. The first two are associated with logging in. The third one is associated with a request via the front tier. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kurtis at riseup.net Tue Jul 15 16:06:12 2014 From: kurtis at riseup.net (kurtis at riseup.net) Date: Tue, 15 Jul 2014 21:06:12 -0000 Subject: [tclug-list] TC Tails Users Group Message-ID: <7c7715001e697d5570ca1ae398ec02db.squirrel@fulvetta.riseup.net> Hello, I am starting a Tails users group in Minneapolis. We'll be meeting in a local bar every other week or so and will have a ListServ. Tails 1.1 is coming out next tuesday, which will be a huge update. It will port the OS to Debian Wheezy. If you haven't used Tails in the past, next week will be a great time to start. https://tails.boum.org/ Some slides made from a Tails and Debian dev: https://tails.boum.org/promote/slides/hackmeeting-it-20140628/Tails.shtml#/preserving-privacy-and-anonymity-1 Please let me know if you are interested in joining this new group. Kurtis From tclug1 at whitleymott.net Wed Jul 16 04:59:41 2014 From: tclug1 at whitleymott.net (gregrwm) Date: Wed, 16 Jul 2014 05:59:41 -0400 Subject: [tclug-list] rename Message-ID: i want rename. not mv (missing --no-copy). anything handy? -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeremy.mountainjohnson at gmail.com Wed Jul 16 06:21:17 2014 From: jeremy.mountainjohnson at gmail.com (Jeremy MountainJohnson) Date: Wed, 16 Jul 2014 06:21:17 -0500 Subject: [tclug-list] rename In-Reply-To: References: Message-ID: The rename command is part of core utils for most distros. What are you wanting rename on that doesn't have it? -- Jeremy MountainJohnson Jeremy.MountainJohnson at gmail.com On Wed, Jul 16, 2014 at 4:59 AM, gregrwm wrote: > i want rename. not mv (missing --no-copy). anything handy? > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mbmiller+l at gmail.com Wed Jul 16 07:37:27 2014 From: mbmiller+l at gmail.com (Mike Miller) Date: Wed, 16 Jul 2014 07:37:27 -0500 (CDT) Subject: [tclug-list] rename In-Reply-To: References: Message-ID: On my Ubuntu Linux boxes, rename seems to be part of Perl and it was written by Larry Wall, author of Perl. Do you have Perl installed? Maybe if you install it, that will get you "rename". Mike On Wed, 16 Jul 2014, Jeremy MountainJohnson wrote: > The rename command is part of core utils for most distros. What are you > wanting rename on that doesn't have it? > > -- > Jeremy MountainJohnson > Jeremy.MountainJohnson at gmail.com > > > On Wed, Jul 16, 2014 at 4:59 AM, gregrwm wrote: > >> i want rename. not mv (missing --no-copy). anything handy? >> >> _______________________________________________ >> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >> tclug-list at mn-linux.org >> http://mailman.mn-linux.org/mailman/listinfo/tclug-list >> >> > From ryanjcole at me.com Wed Jul 16 07:57:16 2014 From: ryanjcole at me.com (Ryan Coleman) Date: Wed, 16 Jul 2014 07:57:16 -0500 Subject: [tclug-list] rename In-Reply-To: References: Message-ID: <4E1096B5-3AE9-4665-A7B9-9AFC274D9296@me.com> There's a rename utility that I have used in BSD that I am going to see if its available in Ubuntu as I'm migrating my production server over. It's pretty versatile and allows for regex replacements but I have used it only for string replacements so far. -- Ryan Coleman ryanjcole at me.com m. 651.373.5015 o. 612.568.2749 > On Jul 16, 2014, at 7:37, Mike Miller wrote: > > On my Ubuntu Linux boxes, rename seems to be part of Perl and it was written by Larry Wall, author of Perl. Do you have Perl installed? Maybe if you install it, that will get you "rename". > > Mike > > >> On Wed, 16 Jul 2014, Jeremy MountainJohnson wrote: >> >> The rename command is part of core utils for most distros. What are you >> wanting rename on that doesn't have it? >> >> -- >> Jeremy MountainJohnson >> Jeremy.MountainJohnson at gmail.com >> >> >>> On Wed, Jul 16, 2014 at 4:59 AM, gregrwm wrote: >>> >>> i want rename. not mv (missing --no-copy). anything handy? >>> >>> _______________________________________________ >>> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >>> tclug-list at mn-linux.org >>> http://mailman.mn-linux.org/mailman/listinfo/tclug-list > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list From david.wagle at gmail.com Wed Jul 16 08:55:00 2014 From: david.wagle at gmail.com (David Wagle) Date: Wed, 16 Jul 2014 08:55:00 -0500 Subject: [tclug-list] rename In-Reply-To: References: Message-ID: The thing is, once you understand the basics of how most unix filesystems works, you realize that moving IS renaming. So just create an alias for mv to whatever you want your rename command to be. The filesystem, at the most basic level, is really a set of meta data records and indexes into those data records associated with pointers to space on the disk where the file contents are stored. One of those data records is the filename. The mv command does a lot of things, but it's as lazy as possible. If it can get away with changing nothing but the file name which is stored in the metadata record, that's what it will do. mv -T ends up calling rename(2). On Wed, Jul 16, 2014 at 4:59 AM, gregrwm wrote: > i want rename. not mv (missing --no-copy). anything handy? > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tclug at beitsahour.net Wed Jul 16 09:57:03 2014 From: tclug at beitsahour.net (Munir Nassar) Date: Wed, 16 Jul 2014 09:57:03 -0500 Subject: [tclug-list] rename In-Reply-To: References: Message-ID: an mv will simply relink the files without copying them if you remain on the same filesystem. there is no --no-copy flag. With that said: never ever mv between filesystems. that is just asking for data loss. On Wed, Jul 16, 2014 at 4:59 AM, gregrwm wrote: > i want rename. not mv (missing --no-copy). anything handy? > > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > From tclug1 at whitleymott.net Wed Jul 16 10:13:26 2014 From: tclug1 at whitleymott.net (gregrwm) Date: Wed, 16 Jul 2014 10:13:26 -0500 Subject: [tclug-list] rename Message-ID: mv will just do a rename if that succeeds, yes, but you might be surprised how much code mv has to massage various situations. and if the rename fails mv blithely barrels into copying any volume of data. but it looks like rename offers a more constrained alternative. -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.wagle at gmail.com Wed Jul 16 10:31:08 2014 From: david.wagle at gmail.com (David Wagle) Date: Wed, 16 Jul 2014 10:31:08 -0500 Subject: [tclug-list] rename In-Reply-To: References: Message-ID: <53C69ABC.2090605@gmail.com> On 07/16/2014 10:13 AM, gregrwm wrote: > mv will just do a rename if that succeeds, yes, but you might be > surprised how much code mv has to massage various situations. and > if the rename fails mv blithely barrels into copying any volume of > data. but it looks like rename offers a more constrained > alternative. That's true, the reason mv(1) is a larger file than rename(1) is precisely that mv is doing lots of safety checks that rename doesn't perform. However, if using mv to rename files in place, it is hard to imagine a situation where the rename could fail beyond a disk failure that destroys the inode tables. The point that I would note is that the rename(1) command on most linux distributions comes with a man-page that says: WARNING The renaming has no safeguards. If the user has permission to rewrite file names, the command will perform the action without any questions. For example, the result can be quite drastic . . . Always make a backup before running the command, unless you know what you are doing. So the funny thing about that warning is that I read that as saying "oh, a MUCH BETTER way of achieving this is to issue the following command rather than rename: mv -b filename1 filename2" which is renaming with a backup . . . Of course, that does involve a call to copy. But the point remains, mv has lots of safety checks built in, rename has none. So I'm honestly hard pressed to think of a reason I would want to use rename over mv when my goal is to rename files in place. From tclug1 at whitleymott.net Wed Jul 16 11:57:58 2014 From: tclug1 at whitleymott.net (gregrwm) Date: Wed, 16 Jul 2014 11:57:58 -0500 Subject: [tclug-list] rename Message-ID: @david: sounds like you've never been bitten by intending a simple rename or move presumably within a filesystem and seeing mv instead launch into copying. if i want a copy i'll use cp. and i'll have a look before i rm any original. those safety checks you refer to are almost entirely around the copy, which i don't even want. rhel rename comes with util-linux-ng, ubuntu rename comes packaged with perl, neither manpage has the WARNING you mention. reads like the author had something ominous in mind but they don't say what. would rename consent to lose a directory within it's children? you mean to suggest mv protects you in some important way from something rename might do? my understanding of mv is if rename(2) succeeds, it's done, but if not, well that's when the trouble begins.. @munir: and there is no reliable test for "same filesystem". even /proc/mounts is not always reliable, eg with persistence ala overlayfs, or if /proc itself is unavailable, eg in a chroot From tclug1 at whitleymott.net Wed Jul 16 12:05:03 2014 From: tclug1 at whitleymott.net (gregrwm) Date: Wed, 16 Jul 2014 12:05:03 -0500 Subject: [tclug-list] rename Message-ID: heck my phone doesn't automatically use the right from name, so this didn't get to the list: > well shucks. thank you jeremy. rename(1). right under my nose. perhaps i'll submitt a bug: > in addition to rename(2) man mv should mention rename(1) at the bottom. From david.wagle at gmail.com Wed Jul 16 12:30:09 2014 From: david.wagle at gmail.com (David Wagle) Date: Wed, 16 Jul 2014 12:30:09 -0500 Subject: [tclug-list] rename In-Reply-To: References: Message-ID: You'll have to explain to me how a rename (which by definition is a change in place and so doesn't change directory structures) could possibly launch into a copy? On Wed, Jul 16, 2014 at 11:57 AM, gregrwm wrote: > @david: sounds like you've never been bitten by intending a simple > rename or move presumably within a filesystem and seeing mv instead > launch into copying. if i want a copy i'll use cp. and i'll have a > look before i rm any original. those safety checks you refer to are > almost entirely around the copy, which i don't even want. rhel rename > comes with util-linux-ng, ubuntu rename comes packaged with perl, > neither manpage has the WARNING you mention. reads like the author > had something ominous in mind but they don't say what. would rename > consent to lose a directory within it's children? you mean to suggest > mv protects you in some important way from something rename might do? > my understanding of mv is if rename(2) succeeds, it's done, but if > not, well that's when the trouble begins.. > > @munir: and there is no reliable test for "same filesystem". even > /proc/mounts is not always reliable, eg with persistence ala > overlayfs, or if /proc itself is unavailable, eg in a chroot > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.wagle at gmail.com Wed Jul 16 12:37:12 2014 From: david.wagle at gmail.com (David Wagle) Date: Wed, 16 Jul 2014 12:37:12 -0500 Subject: [tclug-list] rename In-Reply-To: References: Message-ID: Shoot , managed to hit send when i didn't mean too -- anyway: But if you're really concerned about avoiding copying, a certain way to do that I would think would be to create a hard link to the new file, then remove the old file. So it's still easily accomplished with an alias and doesn't really need a command. On Wed, Jul 16, 2014 at 12:30 PM, David Wagle wrote: > You'll have to explain to me how a rename (which by definition is a change > in place and so doesn't change directory structures) could possibly launch > into a copy? > > > On Wed, Jul 16, 2014 at 11:57 AM, gregrwm wrote: > >> @david: sounds like you've never been bitten by intending a simple >> rename or move presumably within a filesystem and seeing mv instead >> launch into copying. if i want a copy i'll use cp. and i'll have a >> look before i rm any original. those safety checks you refer to are >> almost entirely around the copy, which i don't even want. rhel rename >> comes with util-linux-ng, ubuntu rename comes packaged with perl, >> neither manpage has the WARNING you mention. reads like the author >> had something ominous in mind but they don't say what. would rename >> consent to lose a directory within it's children? you mean to suggest >> mv protects you in some important way from something rename might do? >> my understanding of mv is if rename(2) succeeds, it's done, but if >> not, well that's when the trouble begins.. >> >> @munir: and there is no reliable test for "same filesystem". even >> /proc/mounts is not always reliable, eg with persistence ala >> overlayfs, or if /proc itself is unavailable, eg in a chroot >> _______________________________________________ >> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >> tclug-list at mn-linux.org >> http://mailman.mn-linux.org/mailman/listinfo/tclug-list >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From aberg010 at my.hennepintech.edu Wed Jul 16 13:21:31 2014 From: aberg010 at my.hennepintech.edu (Andrew Berg) Date: Wed, 16 Jul 2014 13:21:31 -0500 Subject: [tclug-list] rename In-Reply-To: References: Message-ID: <53C6C2AB.4080005@my.hennepintech.edu> On 2014.07.16 09:57, Munir Nassar wrote: > an mv will simply relink the files without copying them if you remain > on the same filesystem. there is no --no-copy flag. > > With that said: never ever mv between filesystems. that is just asking > for data loss. Well, the man page I have here says otherwise: As the rename(2) call does not work across file systems, mv uses cp(1) and rm(1) to accomplish the move. The effect is equivalent to: rm -f destination_path && \ cp -pRP source_file destination && \ rm -rf source_file This is FreeBSD, but rename(2) appears to be similar on Linux. I looked at the manpages for mv(1) and rename(2) for Ubuntu and while its mv(1) manpage doesn't explicitly state it like the FreeBSD one, it does say it does whatever rename(2) does and rename(2) says it will return EXDEV if "oldpath and newpath are not on the same mounted filesystem." From tclug1 at whitleymott.net Wed Jul 16 14:14:03 2014 From: tclug1 at whitleymott.net (gregrwm) Date: Wed, 16 Jul 2014 14:14:03 -0500 Subject: [tclug-list] rename In-Reply-To: References: Message-ID: >create a hard link to the new file, then remove the old for directories? -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.wagle at gmail.com Wed Jul 16 14:34:58 2014 From: david.wagle at gmail.com (David Wagle) Date: Wed, 16 Jul 2014 14:34:58 -0500 Subject: [tclug-list] rename In-Reply-To: References: Message-ID: <53C6D3E2.7030106@gmail.com> It is possible on some OS/filesystem combinations and is allowed by the POSIX standard. You can do this on mac's because they added cycle detection to the link() system call which refuses hard links to directories only in cases where it breaks the acyclic directory structure but otherwise allows it. And it used to be freely allowed back in the Bell Labs days at least up through v7. Indeed both . and .. used to be implemented as hard links. On 07/16/2014 02:14 PM, gregrwm wrote: >> create a hard link to the new file, then remove the old > > for directories? > > > > _______________________________________________ TCLUG Mailing List > - Minneapolis/St. Paul, Minnesota tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > From chapinjeff at gmail.com Wed Jul 16 15:12:22 2014 From: chapinjeff at gmail.com (Jeff Chapin) Date: Wed, 16 Jul 2014 15:12:22 -0500 Subject: [tclug-list] rename In-Reply-To: References: Message-ID: cp -rl will achieve the same result for directories, I believe. It's a recursive copy -- but instead of actually copying data, creates hard links. On Wed, Jul 16, 2014 at 2:14 PM, gregrwm wrote: > >create a hard link to the new file, then remove the old > > for directories? > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > > -- Jeff Chapin President, CedarLug, retired President, UNIPC, "I'll get around to it" President, UNI Scuba Club Senator, NISG, retired -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.wagle at gmail.com Wed Jul 16 15:22:07 2014 From: david.wagle at gmail.com (David Wagle) Date: Wed, 16 Jul 2014 15:22:07 -0500 Subject: [tclug-list] rename In-Reply-To: References: Message-ID: <53C6DEEF.1070008@gmail.com> I just confirmed that this is what happens. method: $ mkdir test1 $ cd test1 $ echo "a;ljfasldja;ldkfja;sldkfjsd;lfka;;slk" > file1 $ cd .. $ du 4 ./test1 20 . $ cp -rl test1 test2 $ du 4 ./test1 0 ./test2 20 . $ rm -rf ./test1 $ cd test2 $ ls -l total 4 -rw-r--r-- 1 david users 33 Jul 16 15:17 file1 $ cd .. $ du 4 ./test2 20 . On 07/16/2014 03:12 PM, Jeff Chapin wrote: > cp -rl will achieve the same result for directories, I believe. It's a > recursive copy -- but instead of actually copying data, creates hard links. > > > On Wed, Jul 16, 2014 at 2:14 PM, gregrwm > wrote: > > >create a hard link to the new file, then remove the old > > for directories? > > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > > > > > -- > Jeff Chapin > President, CedarLug, retired > President, UNIPC, "I'll get around to it" > President, UNI Scuba Club > Senator, NISG, retired > > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > From gsker at skerbitz.org Wed Jul 16 16:09:20 2014 From: gsker at skerbitz.org (gsker) Date: Wed, 16 Jul 2014 16:09:20 -0500 (CDT) Subject: [tclug-list] rename In-Reply-To: <53C6DEEF.1070008@gmail.com> References: <53C6DEEF.1070008@gmail.com> Message-ID: You probably want do do an ls -il to see what really happened. Before you delete test1, do ls -li test[12]/* On Wed, 16 Jul 2014, David Wagle wrote: > I just confirmed that this is what happens. > > method: > > $ mkdir test1 > $ cd test1 > $ echo "a;ljfasldja;ldkfja;sldkfjsd;lfka;;slk" > file1 > $ cd .. > $ du > 4 ./test1 > 20 . > $ cp -rl test1 test2 > $ du > 4 ./test1 > 0 ./test2 > 20 . > $ rm -rf ./test1 > $ cd test2 > $ ls -l > total 4 > -rw-r--r-- 1 david users 33 Jul 16 15:17 file1 > $ cd .. > $ du > > 4 ./test2 > 20 . > > > On 07/16/2014 03:12 PM, Jeff Chapin wrote: >> cp -rl will achieve the same result for directories, I believe. It's a >> recursive copy -- but instead of actually copying data, creates hard links. >> >> >> On Wed, Jul 16, 2014 at 2:14 PM, gregrwm > > wrote: >> >> >create a hard link to the new file, then remove the old >> >> for directories? >> >> >> -- >> Jeff Chapin >> President, CedarLug, retired >> President, UNIPC, "I'll get around to it" >> President, UNI Scuba Club >> Senator, NISG, retired >> >> From tclug1 at whitleymott.net Thu Jul 17 16:21:23 2014 From: tclug1 at whitleymott.net (gregrwm) Date: Thu, 17 Jul 2014 16:21:23 -0500 Subject: [tclug-list] kde trusty desktop installer password Message-ID: i've just downloaded and booted the latest daily-live kde desktop iso. i see a screen with a password box and a button that says "KDE Plasma Workspace" which toggles itself to bold and back whenever pressed. and in the bottom right corner are "Suspend Hibernate Restart Shutdown". i've tried a few passwords. i've googled for instructions. i've perused the kubuntu site. i'm still clueless. what's the password needed here? -------------- next part -------------- An HTML attachment was scrubbed... URL: From tclug1 at whitleymott.net Sat Jul 19 09:33:52 2014 From: tclug1 at whitleymott.net (gregrwm) Date: Sat, 19 Jul 2014 09:33:52 -0500 Subject: [tclug-list] precise java Message-ID: under trusty when i installed openjdk-7-jre i then had a java command. under precise openjdk-7-jre is installed but still there is no java command. what do i need? From johntrammell+tclug at gmail.com Sat Jul 19 14:00:10 2014 From: johntrammell+tclug at gmail.com (John Trammell) Date: Sat, 19 Jul 2014 14:00:10 -0500 Subject: [tclug-list] Free tower to good home Message-ID: I'm unloading an old PC, any takers? It currently hosts a Pentium 2 and a bunch of drives (SCSI + PATA) of comparable age. Thanks, John -------------- next part -------------- An HTML attachment was scrubbed... URL: From tclug1 at whitleymott.net Sat Jul 19 14:11:53 2014 From: tclug1 at whitleymott.net (gregrwm) Date: Sat, 19 Jul 2014 15:11:53 -0400 Subject: [tclug-list] Free tower to good home Message-ID: freegeek will take it all, no charge From tclug1 at whitleymott.net Sun Jul 20 20:44:44 2014 From: tclug1 at whitleymott.net (gregrwm) Date: Sun, 20 Jul 2014 20:44:44 -0500 Subject: [tclug-list] Fwd: precise java Message-ID: oops, thought i'd sent this to the list: ---------- Forwarded message ---------- From: gregrwm Date: 19 July 2014 11:51 To: gsker aha: # apt-get install openjdk-7-jre ... openjdk-7-jre is already the newest version. ... 10 not fully installed or removed. ... Do you want to continue [Y/n]? ... Setting up openjdk-7-jre-headless (7u55-2.4.7-1ubuntu1~0.12.04.2) ... update-alternatives: using /usr/lib/jvm/java-7-openjdk-i386/jre/bin/java to provide /usr/bin/java (java) in auto mode. ... Setting up openjdk-7-jre (7u55-2.4.7-1ubuntu1~0.12.04.2) ... update-alternatives: using /usr/lib/jvm/java-7-openjdk-i386/jre/bin/policytool to provide /usr/bin/policytool (policytool) in auto mode. ... -------------- next part -------------- An HTML attachment was scrubbed... URL: From woodbrian77 at gmail.com Mon Jul 21 15:18:50 2014 From: woodbrian77 at gmail.com (Brian Wood) Date: Mon, 21 Jul 2014 15:18:50 -0500 Subject: [tclug-list] Event loop problem Message-ID: Previously I wrote something like this: > I've been having a problem related to epoll_ctl() lately. > I have a 3-tier system: > > 1. back tier (tcp server) > 2. middle tier (udp server) > 3. front tier > > The problem is happening in the back tier. > If I kill the middle tier with a control-C and then restart it > (before making any requests via the front tier), the socket > descriptor (associated with the middle tier) in the back tier > is 7. But If I first make some requests via the front tier, > then kill the middle tier and restart it, the socket descriptor > is 1. > > When the socket descriptor is 1, I get an EBADF on > an epoll_ctl with an op of EPOLL_CTL_MOD. > It's not on the first call to epoll_ctl that it fails, but the third > call. My debugging shows that the epfd and fd are the same > for all three of these calls. > > I've tried many things to get the back tier to not give me > the socket descriptor of 1. I've tried calling daemon(), > freopen'ing stdin, stdout, and stderr, and a few other > things. I've tried doing these things only in the parent, > only in the child and in both. Nothing has worked. > Any ideas? > > This problem makes me think more about BSD. Even if > I figure this out, I'm still left with epoll. If you could have > any operating system for running an on line service, what > would you pick? Thanks. I ported my back tier to BSD now and the problem I described above has vanished. Also the back tier is significantly smaller than it was under Linux. After 15 years of using Linux, I was reluctant to take this step and even thought about trying a distro based on 3.15 (I was having the problem on 3.13). So far I'm happy with BSD. Its kqueue api is quite a bit better than Linux' epoll api. One difference in working with BSD is that I have to use ::1 in order to tell the middle tier that the back tier is running on the same machine. On Linux I have to use 127.0.0.1. Are there any conditional compilation macros for BSD so I could write #ifdef platform_name connect_wrapper("::1",56789); #else connect_wrapper("127.0.0.1",56789); #endif ? Is the ip command available on BSD? I've heard it's better than ifconfig, but I've only found ifconfig on BSD. I've installed PCBSD successfully on two machines, but I'm having trouble installing it on a third machine. My boot menu lists my flash drive under both UEFI and Legacy Boot Sources. I've tried both. When I try UEFI. it comes back with: Welcome to GRUB! error: disk `' not found. Entering rescue mode... grub rescue> When I try the legacy one it tries to get a dhcp lease. That seems to time out and then it starts booting up Linux from the hard drive. IIrc, in the past I've had to use the legacy option, but now acts like one of the other options and not like what it says it is. Any ideas on this? Thanks. -- Brian Ebenezer Enterprises - In G-d we trust. http://webEbenezer.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrew at lunn.ch Tue Jul 22 08:21:40 2014 From: andrew at lunn.ch (Andrew Lunn) Date: Tue, 22 Jul 2014 15:21:40 +0200 Subject: [tclug-list] Event loop problem In-Reply-To: References: Message-ID: <20140722132140.GA2856@lunn.ch> > One difference in working with BSD is that I have to use > ::1 in order to tell the middle tier that the back tier is running > on the same machine. On Linux I have to use 127.0.0.1. > Are there any conditional compilation macros for BSD so I > could write ::1 should also work on linux, so long as you have IPv6 enabled. ::1 is the IPv6 loopback address and should be on interface lo: $ ip addr show lo 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever > Is the ip command available on BSD? I've heard it's > better than ifconfig, but I've only found ifconfig on BSD. I doubt it. ip uses netlink socket, not ioctls, so is a Linux extension not found in POSIX, SVr4, or any other standard. It is a good tool to learn, since it can configure just about everything of the linux network stack. Andrew From woodbrian77 at gmail.com Tue Jul 22 22:06:44 2014 From: woodbrian77 at gmail.com (Brian Wood) Date: Tue, 22 Jul 2014 22:06:44 -0500 Subject: [tclug-list] Problem booting PCBSD Message-ID: In another thread I wrote: > I've installed PCBSD successfully on two machines, but > I'm having trouble installing it on a third machine. > My boot menu lists my flash drive under both UEFI and > Legacy Boot Sources. I've tried both. When I try UEFI. > it comes back with: I wound up burning a dvd and installing from it because installing from a flash drive wasn't working. The install finished, but when I boot the machine it hangs with: wlan0: Ethernet address: ... ral0: need multicast update callback ral0: need multicast update callback ---------------------------------------------------------------------- This thread is the closest thing I could find: http://forums.pcbsd.org/showthread.php?t=17344 I opened up my case, but didn't see a wifi card. I guess it's part of the motherboard. I'm not sure how to proceed. The machine is two or three years old. Ideas? Thanks. -- Brian Ebenezer Enterprises - Heavenly code. http://webEbenezer.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From ryanjcole at me.com Tue Jul 22 22:30:18 2014 From: ryanjcole at me.com (Ryan Coleman) Date: Tue, 22 Jul 2014 22:30:18 -0500 Subject: [tclug-list] Problem booting PCBSD In-Reply-To: References: Message-ID: Have you tried disabling it in the BIOS? On Jul 22, 2014, at 22:06, Brian Wood wrote: > In another thread I wrote: > > > I've installed PCBSD successfully on two machines, but > > I'm having trouble installing it on a third machine. > > My boot menu lists my flash drive under both UEFI and > > Legacy Boot Sources. I've tried both. When I try UEFI. > > it comes back with: > > I wound up burning a dvd and installing from it because > installing from a flash drive wasn't working. > > The install finished, but when I boot the machine it hangs with: > > wlan0: Ethernet address: ... > ral0: need multicast update callback > ral0: need multicast update callback > ---------------------------------------------------------------------- > > This thread is the closest thing I could find: > http://forums.pcbsd.org/showthread.php?t=17344 > > I opened up my case, but didn't see a wifi card. I guess > it's part of the motherboard. I'm not sure how to proceed. > The machine is two or three years old. Ideas? Thanks. > > -- > Brian > Ebenezer Enterprises - Heavenly code. > http://webEbenezer.net > > > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From goeko at goecke-dolan.com Wed Jul 23 16:04:27 2014 From: goeko at goecke-dolan.com (Brian Dolan-Goecke Local) Date: Wed, 23 Jul 2014 16:04:27 -0500 Subject: [tclug-list] Penguins Unbound Meeting Saturday July 26th Message-ID: <53D0235B.9090408@goecke-dolan.com> This month we will have two speakers! Richard Isaacson will persent, Vagrant. And Lloyd Benson will present, Continuous Integration With Jenkins - Automating Yourself Out Of A Job (One That You Don't Want). Hope to see you Saturday. We will be meeting in the Larpenteur second floor of the event center. *** Please use the entrance on the West end of the building. The event center lobby is being used. *** ==>brian. From woodbrian77 at gmail.com Fri Jul 25 15:38:39 2014 From: woodbrian77 at gmail.com (Brian Wood) Date: Fri, 25 Jul 2014 15:38:39 -0500 Subject: [tclug-list] Event loop problem Message-ID: Andrew Lunn writes: >> One difference in working with BSD is that I have to use >> ::1 in order to tell the middle tier that the back tier is running >> on the same machine. On Linux I have to use 127.0.0.1. >> Are there any conditional compilation macros for BSD so I >> could write > > ::1 should also work on linux, so long as you have IPv6 enabled. I've run into something related now. Using sockstat I figured out that my back tier's listening socket was a tcp6 socket. I'm able to connect to the socket when running another process on the same machine. But if I try to connect using an Ubuntu machine, I get connection refused. I guess it doesn't have IPv6 enabled. From what I could tell, there's more interest in figuring out how to disable IPV6 than enable it. And nginx on my PCBSD machine has a tcp4 listening socket. So I figured out how to make my back tier get a tcp4 socket, but I haven't figured out how to make the middle tier running on the same machine get connected to it. Now it gets connection refused. :( But the middle tier on the Ubuntu machine works fine now. I still have the problem with booting PCBSD on another machine. I couldn't find anything in the bios to disable wireless. That machine is one of my better machines, so am kind of hobbling along with BSD. The problem I described at the start of this thread was so serious that I only found relief with BSD, but BSD is no picnic. I heard U2's "I Still haven't found what I'm looking for" at a gas station the other day. I laughed. -- Brian Ebenezer Enterprises - 'The fool has said in his heart, ?There is no G-d.?' Psalms 14:1 http://webEbenezer.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrew at lunn.ch Fri Jul 25 16:15:13 2014 From: andrew at lunn.ch (Andrew Lunn) Date: Fri, 25 Jul 2014 23:15:13 +0200 Subject: [tclug-list] Event loop problem In-Reply-To: References: Message-ID: <20140725211513.GD14713@lunn.ch> On Fri, Jul 25, 2014 at 03:38:39PM -0500, Brian Wood wrote: > Andrew Lunn writes: > > >> One difference in working with BSD is that I have to use > >> ::1 in order to tell the middle tier that the back tier is running > >> on the same machine. On Linux I have to use 127.0.0.1. > >> Are there any conditional compilation macros for BSD so I > >> could write > > > > ::1 should also work on linux, so long as you have IPv6 enabled. > > I've run into something related now. Using sockstat I figured out > that my back tier's listening socket was a tcp6 socket. I'm able to > connect to the socket when running another process on the same > machine. But if I try to connect using an Ubuntu machine, I get > connection refused. I guess it doesn't have IPv6 enabled. That would be pretty unusual now a days, having IPv6 disabled. What is more likely is that IPv6 is enabled, but the interfaces only have link local scope addresses. You need something to allocate you IPv6 addresses, either manually, or using dhcpv6 or your router advertising prefix and then linux will automagically put a suitable IPv6 address on the interfaces. > From what I could tell, there's more interest in figuring out how to > disable IPV6 than enable it. http://tech.slashdot.org/story/14/07/24/1835244/comcast-carrying-1tbits-of-ipv6-internet-traffic Things have started to change recently. Its getting to the state that for the average user, it just works, and it just works without them even knowing it. Andrew From canito at dalan.us Thu Jul 31 06:59:02 2014 From: canito at dalan.us (canito at dalan.us) Date: Thu, 31 Jul 2014 06:59:02 -0500 Subject: [tclug-list] Performance Tuning Linux Message-ID: <20140731065902.Horde.7APHsckbBF1DhEuRpeuu-w1@mail.dalan.us> Good Morning- Last night I watched a couple of Performance Tuning videos on Youtube and hearing a couple of suggestions I've never heard before, prompted me to write and ask what are some of the tunables you find most useful? Two suggestions for performance that I have not heard up to now: 1.) Disabling hyper-threading for latency sensitive applications. 2.) Disabling power management in the BIOS. Also just learn of MultipathTCP (MPTCP) which I haven't found any of the "enterprise" distros having support for it. One of the speakers discussed performance degradation using bonding. Has anyone else experienced this? What are the better alternatives for bonding interfaces? Hope you-all have a good day! SDA From woodbrian77 at gmail.com Thu Jul 31 14:19:14 2014 From: woodbrian77 at gmail.com (Brian Wood) Date: Thu, 31 Jul 2014 14:19:14 -0500 Subject: [tclug-list] Konsole crashes on PCBSD Message-ID: Today shortly after starting a new terminal session, all my terminals crashed. KDE came up and asked if I wanted to report the bug. This is the second time that's happened in a week. This never happened on Linux, but I wasn't using KDE on Linux so that may be why. What desktop do you suggest on BSD? Thanks. -- Brian Ebenezer Enterprises - In G-d we trust. http://webEbenezer.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at e-skinner.net Thu Jul 31 14:19:19 2014 From: marc at e-skinner.net (Marc Skinner) Date: Thu, 31 Jul 2014 14:19:19 -0500 Subject: [tclug-list] Performance Tuning Linux In-Reply-To: <20140731065902.Horde.7APHsckbBF1DhEuRpeuu-w1@mail.dalan.us> References: <20140731065902.Horde.7APHsckbBF1DhEuRpeuu-w1@mail.dalan.us> Message-ID: <53DA96B7.1060007@e-skinner.net> In RHEL distros - look at the package tuned and tuned-adm Lots of great profiles to choose from! On 07/31/2014 06:59 AM, canito at dalan.us wrote: > Good Morning- > > Last night I watched a couple of Performance Tuning videos on Youtube > and hearing a couple of suggestions I've never heard before, prompted me > to write and ask what are some of the tunables you find most useful? > > Two suggestions for performance that I have not heard up to now: > > 1.) Disabling hyper-threading for latency sensitive applications. > 2.) Disabling power management in the BIOS. > > Also just learn of MultipathTCP (MPTCP) which I haven't found any of the > "enterprise" distros having support for it. One of the speakers > discussed performance degradation using bonding. Has anyone else > experienced this? What are the better alternatives for bonding interfaces? > > Hope you-all have a good day! > > SDA > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list From jeremy.mountainjohnson at gmail.com Thu Jul 31 16:55:10 2014 From: jeremy.mountainjohnson at gmail.com (Jeremy MountainJohnson) Date: Thu, 31 Jul 2014 16:55:10 -0500 Subject: [tclug-list] Konsole crashes on PCBSD In-Reply-To: References: Message-ID: XFCE is pretty solid and light weight with BSD for me (as it is also in Linux). -- Jeremy MountainJohnson Jeremy.MountainJohnson at gmail.com On Thu, Jul 31, 2014 at 2:19 PM, Brian Wood wrote: > Today shortly after starting a new terminal session, all my > terminals crashed. KDE came up and asked if I wanted to > report the bug. This is the second time that's happened in > a week. This never happened on Linux, but I wasn't using > KDE on Linux so that may be why. What desktop do you > suggest on BSD? Thanks. > > -- > Brian > Ebenezer Enterprises - In G-d we trust. > http://webEbenezer.net > > > > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list >