From frederic.durodie at pandora.be Sun Jan 2 14:53:38 2005 From: frederic.durodie at pandora.be (Frederic Durodie) Date: Sun, 2 Jan 2005 23:53:38 +0100 Subject: [buug] install of mysql on obsd3.6 failed. help required. thanks. Message-ID: Hi, I'm new to OpenBSD (and additely still quite green on the linux side as well). I tried to install mysql on a P200/128MB but it failed. Can someone help me ? Thanks. Frederic geminix# pkg_add -n ftp://ftp.openbsd.org/pub/OpenBSD/3.6/packages/i386/mysql-server-4.0.20 Pretending to add ftp://ftp.openbsd.org/pub/OpenBSD/3.6/packages/i386/mysql-server-4.0.20 Dependencies for mysql-server-4.0.20 resolve to: mysql-client-4.0.20,p5-DBD-mysql-2.9004 (todo: mysql-client-4.0.20,p5-DBD-mysql-2.9004) Pretending to add mysql-client-4.0.20 /usr/sbin/pkg_add: Can't read /usr/local/man/man1/mysql.1 /usr/sbin/pkg_add: Can't read /usr/local/man/man1/mysqladmin.1 /usr/sbin/pkg_add: Can't read /usr/local/man/man1/mysqldump.1 /usr/sbin/pkg_add: Can't read /usr/local/man/man1/mysqlshow.1 Pretending to add p5-DBD-mysql-2.9004 Dependencies for p5-DBD-mysql-2.9004 resolve to: p5-DBI-1.43,mysql-client-4.0.20 (todo: p5-DBI-1.43) Pretending to add p5-DBI-1.43 Dependencies for p5-DBI-1.43 resolve to: p5-PlRPC-0.2018 (todo: p5-PlRPC-0.2018) Pretending to add p5-PlRPC-0.2018 Dependencies for p5-PlRPC-0.2018 resolve to: p5-Net-Daemon-0.38 (todo: p5-Net-Daemon-0.38) Pretending to add p5-Net-Daemon-0.38 Can't install p5-DBD-mysql-2.9004: incorrect libspec: lib/mysql/mysqlclient.12.0 Can't install ftp://ftp.openbsd.org/pub/OpenBSD/3.6/packages/i386/mysql-server-4.0.20: can't resolve p5-DBD-mysql-2.9004 /: 3037016 bytes geminix# From jan at caustic.org Sun Jan 2 16:26:22 2005 From: jan at caustic.org (f.johan.beisser) Date: Sun, 2 Jan 2005 16:26:22 -0800 (PST) Subject: [buug] install of mysql on obsd3.6 failed. help required. thanks. In-Reply-To: References: Message-ID: <20050102161253.E73943@pogo.caustic.org> you're doing two things wrong, check the faq for more details, but starting here: pkg_add ftp://ftp.openbsd.org/... by doing this, there's no root section for the pkg to be installed from. either set the environment variable PKG_PATH to your pkg directory (in this case, ftp://ftp.openbsd.org/pub/OpenBSD/3.6/packages/i386) then run pkg_add or grab the package and all the dependancies it wants to a local directory, and pkg_add from there. my habit: PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/3.6/packages/i386/ sudo pkg_add that will ensure it gets all the dependancies it'll need, from the same pkg directory as the one you're installing. On Sun, 2 Jan 2005, Frederic Durodie wrote: > Hi, > > I'm new to OpenBSD (and additely still quite green on the linux side as > well). I tried to install mysql on a P200/128MB but it failed. Can someone > help me ? Thanks. > > Frederic > > geminix# pkg_add -n > ftp://ftp.openbsd.org/pub/OpenBSD/3.6/packages/i386/mysql-server-4.0.20 > Pretending to add > ftp://ftp.openbsd.org/pub/OpenBSD/3.6/packages/i386/mysql-server-4.0.20 > Dependencies for mysql-server-4.0.20 resolve to: > mysql-client-4.0.20,p5-DBD-mysql-2.9004 (todo: > mysql-client-4.0.20,p5-DBD-mysql-2.9004) > Pretending to add mysql-client-4.0.20 > /usr/sbin/pkg_add: Can't read /usr/local/man/man1/mysql.1 > /usr/sbin/pkg_add: Can't read /usr/local/man/man1/mysqladmin.1 > /usr/sbin/pkg_add: Can't read /usr/local/man/man1/mysqldump.1 > /usr/sbin/pkg_add: Can't read /usr/local/man/man1/mysqlshow.1 > Pretending to add p5-DBD-mysql-2.9004 > Dependencies for p5-DBD-mysql-2.9004 resolve to: > p5-DBI-1.43,mysql-client-4.0.20 (todo: p5-DBI-1.43) > Pretending to add p5-DBI-1.43 > Dependencies for p5-DBI-1.43 resolve to: p5-PlRPC-0.2018 (todo: > p5-PlRPC-0.2018) > Pretending to add p5-PlRPC-0.2018 > Dependencies for p5-PlRPC-0.2018 resolve to: p5-Net-Daemon-0.38 (todo: > p5-Net-Daemon-0.38) > Pretending to add p5-Net-Daemon-0.38 > Can't install p5-DBD-mysql-2.9004: incorrect libspec: > lib/mysql/mysqlclient.12.0 > Can't install > ftp://ftp.openbsd.org/pub/OpenBSD/3.6/packages/i386/mysql-server-4.0.20: > can't resolve p5-DBD-mysql-2.9004 > /: 3037016 bytes > geminix# > > > _______________________________________________ > Buug mailing list > Buug at weak.org > http://www.weak.org/mailman/listinfo/buug > --- f.johan.beisser --- I concede that I overestimated the intelligence of the American people. Though the people disagree with the President on almost every issue, you saw fit to vote for him. I never saw that coming. That's really special. And I mean "special" in the sense that we use it to describe those kids who ride the short school bus and find ways to injure themselves while eating pudding with rubber spoons. That kind of special. -- Adam Felber, "Concession Speech" http://www.felbers.net/mt/archives/000945.html From jan at caustic.org Mon Jan 3 14:58:10 2005 From: jan at caustic.org (f.johan.beisser) Date: Mon, 3 Jan 2005 14:58:10 -0800 (PST) Subject: [buug] install of mysql on obsd3.6 failed. help required. thanks. SOLVED In-Reply-To: References: Message-ID: <20050103145716.G73943@pogo.caustic.org> On Mon, 3 Jan 2005, Frederic Durodie @ HOME wrote: > Thank you for your answer. Doing as you wrote me to do, gave exactly the > same error. Finally, I figured that the error is because I used the -n (show > commands, but don't install) option. This is probably difficult to correct > by the nature of that option. When I installed for real, the installation > sailed through flawlessly. i assumed that the "-n" was intentional on your part. sorry for not being more clear. --- f.johan.beisser --- I concede that I overestimated the intelligence of the American people. Though the people disagree with the President on almost every issue, you saw fit to vote for him. I never saw that coming. That's really special. And I mean "special" in the sense that we use it to describe those kids who ride the short school bus and find ways to injure themselves while eating pudding with rubber spoons. That kind of special. -- Adam Felber, "Concession Speech" http://www.felbers.net/mt/archives/000945.html From mailinglists at stefanco.com Mon Jan 3 16:06:32 2005 From: mailinglists at stefanco.com (Stefan Lasiewski) Date: Mon, 3 Jan 2005 16:06:32 -0800 (PST) Subject: [buug] Corrupt root entry in passwd file - Solaris Message-ID: <20050104000632.74475.qmail@web81710.mail.yahoo.com> Hey gang, I have a machine running Solaris 8. The top two lines of the /etc/passwd (root and daemon) file somehow got wrapped together in one long continuous line, like this: root:x:0:1:Root User:/:/usr/bin/ksh daemon:x:1:1::/:/sbin/noshell (If that line got wrapped, ksh and daemon don't have a end-of-line character. Like '.../bin/ksh daemon:x:...') As a result, I cannot log in as root. % su - su: Unknown id: root When I boot into single-user mode or connect via the console, I get this [1]: missing or bad passwd entry for Any ideas on how I could recover from this? I cannot log in as root to edit /etc/passwd, and I cannot find any CD-bootable Linuxus which can use a Sparc, or a "Bootable Solaris" recovery disk, etc. Am I hosed? And then my next problem is to get the the RAID array (It's a Sun Enterprise v440) to work on the Bootable OS, but that's the next step. Thanks all! -= Stefan [1] Ok, you can stop laughing now :) From shiro at uclink4.berkeley.edu Mon Jan 3 17:58:14 2005 From: shiro at uclink4.berkeley.edu (Erik Shirokoff) Date: Mon, 3 Jan 2005 17:58:14 -0800 Subject: [buug] Corrupt root entry in passwd file - Solaris Message-ID: <20050104015814.GA20501@jabberwock.hopto.org> Sorry if this is a dupe. Sent this originally from the wrong email addy, so I expect it not to reach the list. Hi Stefan, Can you pull out the hard drive and connect it to another machine? Failing that, is there a partition on the disk which can be adequately backed up without root and onto which you could install a second OS? Might be the simplest (if not, perhaps, easiest) solutions. Good luck, Erik On Mon, Jan 03, 2005 at 04:06:32PM -0800, Stefan Lasiewski wrote: > X-Original-To: shiro at localhost > Delivered-To: shiro at localhost.localdomain > X-RocketYMMF: slasiewski > Date: Mon, 3 Jan 2005 16:06:32 -0800 (PST) > From: Stefan Lasiewski > To: buug at weak.org > Subject: [buug] Corrupt root entry in passwd file - Solaris > X-BeenThere: buug at weak.org > X-Mailman-Version: 2.1.5 > Precedence: list > Reply-To: mailinglists at stefanco.com > List-Id: Berkeley Unix User Group > List-Unsubscribe: , > > List-Archive: > List-Post: > List-Help: > List-Subscribe: , > > Errors-To: buug-bounces at weak.org > > Hey gang, > > I have a machine running Solaris 8. > > The top two lines of the /etc/passwd (root and daemon) > file somehow got wrapped together in one long > continuous line, like this: > > root:x:0:1:Root User:/:/usr/bin/ksh > daemon:x:1:1::/:/sbin/noshell > > (If that line got wrapped, ksh and daemon don't have a > end-of-line character. Like '.../bin/ksh > daemon:x:...') > > As a result, I cannot log in as root. > > % su - > su: Unknown id: root > > When I boot into single-user mode or connect via the > console, I get this [1]: > > missing or bad passwd entry for > > Any ideas on how I could recover from this? I cannot > log in as root to edit /etc/passwd, and I cannot find > any CD-bootable Linuxus which can use a Sparc, or a > "Bootable Solaris" recovery disk, etc. > > Am I hosed? > > And then my next problem is to get the the RAID array > (It's a Sun Enterprise v440) to work on the Bootable > OS, but that's the next step. > > Thanks all! > > -= Stefan > > [1] Ok, you can stop laughing now :) > > _______________________________________________ > Buug mailing list > Buug at weak.org > http://www.weak.org/mailman/listinfo/buug From jan at caustic.org Mon Jan 3 18:38:13 2005 From: jan at caustic.org (f.johan.beisser) Date: Mon, 3 Jan 2005 18:38:13 -0800 (PST) Subject: [buug] Corrupt root entry in passwd file - Solaris In-Reply-To: <20050104000632.74475.qmail@web81710.mail.yahoo.com> References: <20050104000632.74475.qmail@web81710.mail.yahoo.com> Message-ID: <20050103183508.E73943@pogo.caustic.org> On Mon, 3 Jan 2005, Stefan Lasiewski wrote: > root:x:0:1:Root User:/:/usr/bin/ksh daemon:x:1:1::/:/sbin/noshell put an end of line character in there. edit it in vi, and just hit enter. that should fix it. > "Bootable Solaris" recovery disk, etc. get your solaris install cdrom, boot single user from it: boot -s cdrom it may actually be boot cdrom -s i can't recall the prom command off hand. > Am I hosed? nope. --- f.johan.beisser --- I concede that I overestimated the intelligence of the American people. Though the people disagree with the President on almost every issue, you saw fit to vote for him. I never saw that coming. That's really special. And I mean "special" in the sense that we use it to describe those kids who ride the short school bus and find ways to injure themselves while eating pudding with rubber spoons. That kind of special. -- Adam Felber, "Concession Speech" http://www.felbers.net/mt/archives/000945.html From mp at rawbw.com Mon Jan 3 23:13:52 2005 From: mp at rawbw.com (Michael Paoli) Date: Mon, 3 Jan 2005 23:13:52 -0800 Subject: [buug] Corrupt root entry in passwd file - Solaris In-Reply-To: <20050104000632.74475.qmail@web81710.mail.yahoo.com> References: <20050104000632.74475.qmail@web81710.mail.yahoo.com> Message-ID: <1104822832.41da4230b6b93@webmail.rawbw.com> As I said on USENET not too horribly long ago (2004-07-17)[1]: " Follow standard procedure for recovering a lost root password - except instead of altering /etc/shadow, fix your /etc/passwd file. " In short, you've a few possibilities: get access to ID (e.g. root) or control of process that can alter and fix the /etc/passwd file. If that can't be done, bring the system down - graceful shutdown if that can be managed, if not, crash the system. Then boot from recovery media (or alternative means, e.g. network), clean and mount the filesystem with the problem file (e.g. root filesystem for /etc/passwd) and fix the file. sync the filesystem, then proceed to do a normal boot. Taking the disk (e.g. hard disk or SAN LUN presentation) to another system to modify it there, may be an alternative approach. If you don't have the relevant bootable media (e.g. Solaris install CDs), it would probably be advisable to obtain them. In certain situations, it is highly advantageous to have them readily available. Note also, that depending on hardware and filesystem types, you may be able to use a substantially different version of Solaris for boot CD and still be able to successfully fix the problem. If the system does have functioning bootable properly configured CD(/DVD) drive, then it may be worth checking if you could even borrow the relevant CD(s) from someone. If you have support contract with the vendor, you may want to check if they'll cover this for you (e.g. as software issue). Quoting Stefan Lasiewski : > I have a machine running Solaris 8. > The top two lines of the /etc/passwd (root and daemon) > file somehow got wrapped together in one long > continuous line, like this: > root:x:0:1:Root User:/:/usr/bin/ksh > daemon:x:1:1::/:/sbin/noshell > (If that line got wrapped, ksh and daemon don't have a > end-of-line character. Like '.../bin/ksh > daemon:x:...') > As a result, I cannot log in as root. > % su - > su: Unknown id: root > When I boot into single-user mode or connect via the > console, I get this [1]: > missing or bad passwd entry for > Any ideas on how I could recover from this? I cannot > log in as root to edit /etc/passwd, and I cannot find > any CD-bootable Linuxus which can use a Sparc, or a > "Bootable Solaris" recovery disk, etc. Footnoes: 1. Bleh - I'm not so fond of Google's new "groups"(/Usenet) interface ... much less useful for tracking down details on a Usenet article. From karshi.hasanov at utoronto.ca Wed Jan 5 22:17:07 2005 From: karshi.hasanov at utoronto.ca (Karshi Hasanov) Date: Thu, 06 Jan 2005 01:17:07 -0500 Subject: [buug] cups_help Message-ID: <1104992227.1494.17.camel@COMPTON1.sofman.com> Hi all, I am a new FreeBSD user. Since I was using Gentoo(Linux) last two years, I had no difficulty to install and run most of FreeBSD ports. I have few books on FreeBSD, but none of them talks about CUPS. The last book I bought was " The complete FreeBSD (4th Edition)", and I found the book pretty much useless for applications I need to use. I appeal to your group for a help. I wanna setup my local printer (/dev/ltp0) using CUPS. I've tried to follow http://www.freebsddiary.org/cups.php, but no success. Thanks From brian at planetshwoop.com Thu Jan 6 08:48:52 2005 From: brian at planetshwoop.com (Brian Sobolak) Date: Thu, 6 Jan 2005 10:48:52 -0600 (CST) Subject: [buug] cups_help In-Reply-To: <1104992227.1494.17.camel@COMPTON1.sofman.com> References: <1104992227.1494.17.camel@COMPTON1.sofman.com> Message-ID: <58952.63.73.213.5.1105030132.squirrel@webmail.psys.org> Karshi Hasanov said: > Hi all, > > I am a new FreeBSD user. Since I was using Gentoo(Linux) last two years, > I had no difficulty to install and run most of FreeBSD ports. > I have few books on FreeBSD, but none of them talks about CUPS. The last > book I bought was " The complete FreeBSD (4th Edition)", and I found the > book pretty much > useless for applications I need to use. > I appeal to your group for a help. I wanna setup my local printer > (/dev/ltp0) using CUPS. I've tried to follow > http://www.freebsddiary.org/cups.php, but no success. Many of us would be happy to help. First off though, you might want to add: - what version of CUPS are you using? - what version of FreeBSD are you using (uname -a) - what kind of printer are you using? - what is the error message you see? That's a start. Some more detail and info would be useful. Also, have you tried checking any of the error messages you receive against www.google.com/bsd? The questions at freebsd.org mailing list has a lot of answers and you can often google to find the same problems others have had. (This worked well for me when installing moregroupware recently.) brian -- Brian Sobolak http://www.planetshwoop.com/ From eyefull at eml.cc Thu Jan 6 16:10:33 2005 From: eyefull at eml.cc (TN) Date: Thu, 06 Jan 2005 16:10:33 -0800 Subject: [buug] remapping with xmodmap: help me save my carpel tunnel! Message-ID: <1105056633.7764.212179946@webmail.messagingengine.com> Hi, I'm new to this list. I'd like to do the following with xmodmap but somehow can't figure how: -map the right alt key to shift (so i can use my thumb when reaching for the _ or + or | characters) -swap the escape key with the tilde key (I'm a vi user) I'm on a x386 with a standard ps2 running freebsd 5.3 and xorg, if that matters. I've already managed to map my capslock key to control, which has been a life saver. thanks! Toshiro, eyefull at eml.cc -- eyefull at eml.cc From karshi.hasanov at utoronto.ca Thu Jan 6 19:16:21 2005 From: karshi.hasanov at utoronto.ca (Karshi Hasanov) Date: Thu, 6 Jan 2005 22:16:21 -0500 Subject: [buug] cups_help In-Reply-To: <58952.63.73.213.5.1105030132.squirrel@webmail.psys.org> References: <1104992227.1494.17.camel@COMPTON1.sofman.com> <58952.63.73.213.5.1105030132.squirrel@webmail.psys.org> Message-ID: <200501062216.21968.karshi.hasanov@utoronto.ca> Hi Brian, I have FreeBSD-5.3 installed, but the ports were updated using "cvsup". I think I have everything for CUPS to work. (1)cups-base 1.1.20, ghostscript-gnu-7.07_11, gimp-print-4.2.7_1 cups-lpr > cups1.1.20 (2) make.conf ==>NO_LPR=true rc.conf =>> lpd_enable="NO" #mv /usr/local/etc/rc.d/cups.sh.sample /usr/local/etc/rc.d/cupsd.sh #chmod 755 /usr/local/etc/rc.d/cupsd.sh #/usr/local/etc/rc.d/cupsd.sh start (3) Printer : Brother HL-1030 ( driver "HL1250.PPD" from http://www.linuxprinting.org) (4) Error ==> client-error-not-possible I don't hear any noise from the printer, but the above error shows up when I try to print. On January 6, 2005 11:48 am, Brian Sobolak wrote: > Karshi Hasanov said: > > Hi all, > > > > I am a new FreeBSD user. Since I was using Gentoo(Linux) last two years, > > I had no difficulty to install and run most of FreeBSD ports. > > I have few books on FreeBSD, but none of them talks about CUPS. The last > > book I bought was " The complete FreeBSD (4th Edition)", and I found the > > book pretty much > > useless for applications I need to use. > > I appeal to your group for a help. I wanna setup my local printer > > (/dev/ltp0) using CUPS. I've tried to follow > > http://www.freebsddiary.org/cups.php, but no success. > > Many of us would be happy to help. First off though, you might want to > add: > > - what version of CUPS are you using? > - what version of FreeBSD are you using (uname -a) > - what kind of printer are you using? > - what is the error message you see? > > That's a start. Some more detail and info would be useful. > > Also, have you tried checking any of the error messages you receive > against www.google.com/bsd? The questions at freebsd.org mailing list has a > lot of answers and you can often google to find the same problems others > have had. (This worked well for me when installing moregroupware > recently.) > > brian > > -- > Brian Sobolak > http://www.planetshwoop.com/ From webmaster at hawaiidakine.com Sat Jan 8 12:38:19 2005 From: webmaster at hawaiidakine.com (webmaster at hawaiidakine.com) Date: Sat, 08 Jan 2005 10:38:19 -1000 Subject: [buug] Re: FIX FOR: Window manager missing under FreeBSD 5.3 In-Reply-To: <41AE3F8C.5080906@hawaiidakine.com> References: <41AE3F8C.5080906@hawaiidakine.com> Message-ID: <41E044BB.4090407@hawaiidakine.com> webmaster at hawaiidakine.com wrote: > Hi Gurus, > > I am trying out FreeBSD 5.3 on an box which seems to run fine except > that the X does not load the screen for ( xfce ) the window manager I > use on all my FreeBSD 4.x boxes. > > init files seem to be there, but I just get a black screen with a mouse > arrow and a left click brings up a small window with selections > including a way to quit. > > Anybody have this or a similar problem installing X windows on FreeBSD 5.3. > > Thanks for help. Just to update on the xwindows error with XFCE and other window managers in FreeBSD 5.3. Thanks to Edd, a FreeBSD Guru, we have found the FIX: The problem lies in the gdk-pixbuf port. Recently a fix has been comitted: http://www.freebsd.org/cgi/query-pr.cgi?pr=72775 alternatively update the port. Far easier. Hope this helps! Edd -- Al Plant -Webmaster http://hawaiidakine.com Supporting Open Source in computing with FreeBSD 4.9 /5.3 "Failure only happens when you stop trying." - Omar Periu From togo at of.net Tue Jan 11 22:11:29 2005 From: togo at of.net (Tony Godshall) Date: Tue, 11 Jan 2005 22:11:29 -0800 Subject: [buug] Early summary [Was: "record" mp3/ogg?] Message-ID: <20050112061129.GA31364@private> According to Chris Waters, > On Thu, Dec 23, 2004 at 10:41:44PM -0800, Ian Zimmerman wrote: > > > A quick run down the list of people's suggestions. > > > 1/ I was unaware that general-purpose audio file editors like audacity > > can record line-in. It certainly seems to contradict the "one job well" > > maxim, but I guess we've come a long way (toward hell, that is). > > Well, actually, you can record using nothing but cat(1). What you > can't do (at least not easily) with cat is set the sample rate and the > mixer/channel-select controls. Once you've got something that can do > controlled playback of raw sound data, though, you're about 95% of the > way to making something that can record as well, So, while in general > I agree with you about the bloat issue, in this case I think it makes > sense to provide the extra feature. > > The Linux sound card interface is dead easy once you look into it. > > > 3/ ecasound seems like exactly what I am looking for. It even has > > an Emacs interface :-) > > I've actually edited raw sound files in emacs. There's even a live > concert recording up on the Internet Archive now that has emacs in its > lineage, thanks to your truly. :) > > Uncompressed sound file formats are dead easy once you look into it. > > > 4/ gramophile can detect and cut tracks, but I really hate it's > > half-arsed curses UI (it doesn't even react to screen size change). > > It would have been much better off with a straight CLI like ecasound. > > Bummer. I've heard good things about it, but never actually tried > it. The filters designed for clicks and pops (as often found on > vinyl) seemed like a pretty useful feature too. Trapping SIGWINCH is > not difficult. Did you send in a bug report? > > One last thing I should mention: if you ever plan to burn your sound > files to audio CD, you should make sure the data is a proper multiple > of the audio CD sector size, or you may end up with coasters. The > "--sector-align" option for FLAC is a good place to start. cdrecord now handles this automagically, at least when I feed it a stack of .wav files. sox works great for me for recording from line-in. it comes with a 'rec' front-end that is the simplest way I know to do line-in to raw binary (e.g. the nearly universal .wav) From xtifr at debian.org Wed Jan 12 01:14:25 2005 From: xtifr at debian.org (Chris Waters) Date: Wed, 12 Jan 2005 01:14:25 -0800 Subject: [buug] Early summary [Was: "record" mp3/ogg?] In-Reply-To: <20050112061129.GA31364@private> References: <20050112061129.GA31364@private> Message-ID: <20050112091425.GA23467@starless.xtnet> On Tue, Jan 11, 2005 at 10:11:29PM -0800, Tony Godshall wrote: > According to Chris Waters, > > One last thing I should mention: if you ever plan to burn your sound > > files to audio CD, you should make sure the data is a proper multiple > > of the audio CD sector size, or you may end up with coasters. The > > "--sector-align" option for FLAC is a good place to start. > cdrecord now handles this automagically, at least when I > feed it a stack of .wav files. It's true that cdrecord will pad the tracks if you tell it to, which will prevent you from creating coasters, and that's a good thing. However, it pads each track (or each track that needs it), which can cause an audible click or pop, as the sound level suddenly drops to zero and then leaps back up. This is especially noticable with live recordings. The FLAC "--sector-align" option actually borrows a few bytes of data from the next track to pad out the current track size, which ensures that there are no audible artifacts between tracks, which is why I recommend it. > sox works great for me for recording from line-in. Ah, I hadn't noticed that, but I'm certainly not surprised. Sox is an awesome and indispensible tool for anyone working with audio on Linux, IMO. cheers -- Chris Waters | Pneumonoultra- osis is too long xtifr at debian.org | microscopicsilico- to fit into a single or xtifr at speakeasy.net | volcaniconi- standalone haiku From frederic.durodie at pandora.be Sat Jan 15 07:50:44 2005 From: frederic.durodie at pandora.be (Frederic) Date: Sat, 15 Jan 2005 16:50:44 +0100 Subject: [buug] small home OpenBSD pf/router Message-ID: <41E93BD4.6080104@pandora.be> Hi, I've configured a old PC with 2 NICs an OpenBSD 3.6 which I want to use as a packet filter/router, dhcp server for the home network. If advisable, I'd like to have Apache/MySQL/PHP on it as well. So, here are my questions : 1) my ISP uses the mac address of the NIC I have registered with and I can't seem to get an address from my ISP if I don't connect with that mac address (of the NIC which is in another PC). Normally one would copy the mac address to the NIC using eg. 'ifconfig xl1 hw A1:B2:C3:D4:E5:F6' but I can't seem to find if and how it is done in OpenBSD 3.6. 2) if the packet filter routes the packets for the http server to the LAN NIC and Apache is set to only listen to the LAN NIC are the security issues any different from a situation where the http server is on a different host on the LAN ? I've been googling but I can't seem to find the answers (that I recognize being answers). So, thank you for any suggestions, help or just pointing me to right places to look for. Kind regards, Frederic -------------- next part -------------- An HTML attachment was scrubbed... URL: From togo at of.net Mon Jan 17 13:41:31 2005 From: togo at of.net (Tony Godshall) Date: Mon, 17 Jan 2005 13:41:31 -0800 Subject: [buug] Early summary [Was: "record" mp3/ogg?] In-Reply-To: <20050112091425.GA23467@starless.xtnet> References: <20050112061129.GA31364@private> <20050112091425.GA23467@starless.xtnet> Message-ID: <20050117214131.GA12071@private> According to Chris Waters, > On Tue, Jan 11, 2005 at 10:11:29PM -0800, Tony Godshall wrote: > > According to Chris Waters, > > > > One last thing I should mention: if you ever plan to burn your sound > > > files to audio CD, you should make sure the data is a proper multiple > > > of the audio CD sector size, or you may end up with coasters. The > > > "--sector-align" option for FLAC is a good place to start. > > > cdrecord now handles this automagically, at least when I > > feed it a stack of .wav files. > > It's true that cdrecord will pad the tracks if you tell it to, which > will prevent you from creating coasters, and that's a good thing. > However, it pads each track (or each track that needs it), which can > cause an audible click or pop, as the sound level suddenly drops to > zero and then leaps back up. This is especially noticable with live > recordings. The FLAC "--sector-align" option actually borrows a few > bytes of data from the next track to pad out the current track size, > which ensures that there are no audible artifacts between tracks, > which is why I recommend it. I hadn't noticed that, but the stuff I'm putting on a track typically came from CD (i.e. was already padded) or from a highly encoded format (i.e. near-silence is changed to actual silence). From mp at rawbw.com Tue Jan 18 08:21:09 2005 From: mp at rawbw.com (Michael Paoli) Date: Tue, 18 Jan 2005 08:21:09 -0800 Subject: [buug] remapping with xmodmap: help me save my carpel tunnel! In-Reply-To: <1105056633.7764.212179946@webmail.messagingengine.com> References: <1105056633.7764.212179946@webmail.messagingengine.com> Message-ID: <1106065269.41ed37757668c@webmail.rawbw.com> Quoting TN : > Hi, I'm new to this list. I'd like to do the following with xmodmap but > somehow can't figure how: > -map the right alt key to shift (so i can use my thumb when reaching for > the _ or + or | characters) > -swap the escape key with the tilde key (I'm a vi user) I presumed that by default your asciitilde is on the same key as your grave (`) and you'd use the shift modifier with that key to get asciitilde, and not use the shift modifier to get grave, and that you want to swap that functionality with that of key with the escape key. Your keycodes may vary. These may also be helpful: http://web.mit.edu/answers/xwindows/xwindows_xmodmap.html xev(1) xkeycaps(1) $ { xmodmap -pk; xmodmap -pm; } | fgrep -i 'Alt_R > Shift_R > mod1 > Escape > asciitilde' 9 0xff1b (Escape) 49 0x0060 (grave) 0x007e (asciitilde) 62 0xffe2 (Shift_R) 113 0xffea (Alt_R) shift Shift_L (0x32), Shift_R (0x3e) mod1 Alt_L (0x40), Alt_R (0x71) $ xmodmap -e 'remove Mod1 = Alt_R' -e 'keycode 113 = Shift_R' -e 'add Shift = Shift_R' -e 'keycode 9 = grave asciitilde' -e 'keycode 49 = Escape' $ { xmodmap -pk; xmodmap -pm; } | fgrep -i 'Alt_R > Shift_R > mod1 > Escape > asciitilde' 9 0x0060 (grave) 0x007e (asciitilde) 49 0xff1b (Escape) 62 0xffe2 (Shift_R) 113 0xffe2 (Shift_R) shift Shift_L (0x32), Shift_R (0x3e), Shift_R (0x71) mod1 Alt_L (0x40) $ I'm a vi user too. As I hop among systems/keyboards semi-regularly, I tend to use Control-[ and Control-h to respectively generate Escape and Backspace, generally regardless of keyboard and where Escape and Backspace may be placed on random keyboards (and what random keyboards may generate when hitting the Backspace key). Unfortunately, when the printable ascii characters jump around on random keyboards, that's not quite as simple to deal with (particularly if it's a serial terminal). I guess at least part of my keyboard philosophy includes: the erase character is backspace the interrupt character is Control-C the backspace key should generate backspace the delete key (if present) should generate the ascii delete character Control-Shift-/ (a.k.a. Control-?) on the keyboard should generate the ascii delete character CapsLock is and should be CapsLock, it's not CapsToggle! (i.e. if CapsLock is active, the shift keys have essentially no effect) (some of us are actually used to typing with mostly correct capitalization ... if CapsLock is on, getting inverse capitalization tends to be quite annoying and counter-productive). ... but that tends to get into religion ;-) On my Debian GNU/Linux systems: $ fgrep -i erase ~/.Xdefaults XTerm*ttyModes: erase ^H $ ls -l /etc/*.d/*local*keymap* -rwxr-xr-x 1 root root 1507 Aug 1 2003 /etc/init.d/local-keymap.sh lrwxrwxrwx 1 root root 25 Jan 15 2004 /etc/rcS.d/S05local-keymap.sh -> ../init.d/local-keymap.sh $ cat /etc/init.d/local-keymap.sh #!/bin/sh # # Load local keymap modifications *as soon as possible* # test -f /bin/loadkeys || exit 0 case "$1" in start|restart|force-reload|reload) echo Loading local keymap modifications from $0 echo ' #plain, Shift, AltGr; Control, Control+Shift, Control+AltGr; Alt, Alt+Shift; Alt+Control keymaps 0-2,4-6,8-9,12 alt_is_meta #make the Backspace key generate BackSpace keycode 14 = BackSpace #make shifted letters generate uppercase regardless of Caps Lock state shift keycode 16 = Q shift keycode 17 = W shift keycode 18 = E shift keycode 19 = R shift keycode 20 = T shift keycode 21 = Y shift keycode 22 = U shift keycode 23 = I shift keycode 24 = O shift keycode 25 = P shift keycode 30 = A shift keycode 31 = S shift keycode 32 = D shift keycode 33 = F shift keycode 34 = G shift keycode 35 = H shift keycode 36 = J shift keycode 37 = K shift keycode 38 = L shift keycode 44 = Z shift keycode 45 = X shift keycode 46 = C shift keycode 47 = V shift keycode 48 = B shift keycode 49 = N shift keycode 50 = M #make control-shift-/ i.e. control-? generate Delete shift control keycode 53 = Delete #make the Delete key generate Delete keycode 111 = Delete #control-alt-delete --> Boot altgr control keycode 111 = Boot control alt keycode 111 = Boot ' | /bin/loadkeys ;; stop) : ;; *) echo "Usage: $0 {start|stop|restart|reload|force-reload}" exit 1 ;; esac From glim at mycybernet.net Fri Jan 28 19:42:00 2005 From: glim at mycybernet.net (glim at mycybernet.net) Date: Fri, 28 Jan 2005 22:42 -0500 Subject: [buug] [OT] Yet Another Perl Conference North America 2005 announces call-for-papers Message-ID: YAPC::NA 2005 (Yet Another Perl Conference, North America) has just released its call-for-papers; potential and aspiring speakers can submit a presentation proposal via: http://yapc.org/America/cfp-2005.shtml The dates of the conference are Monday - Wednesday 27-29 June 2005. The location will be in downtown Toronto, Ontario, Canada. (Note that a different date block was previously announced, but has been moved to accomodate venue availability.) The close of the call-for-papers is April 18, 2005 at 11:59 pm. If you have any questions regarding the call-for-papers or speaking at YAPC::NA 2005 please email na-author at yapc.org We would love to hear from potential sponsors. Please contact the organizers at na-sponsor at yapc.org to learn about the benefits of sponsorship. Other information regarding the conference (e.g. venue, registration specifics) will be announced soon. We look forward to your submissions and a great conference! From itz at buug.org Sun Jan 30 00:37:28 2005 From: itz at buug.org (Ian Zimmerman) Date: 30 Jan 2005 00:37:28 -0800 Subject: [buug] mysterious windowmaker option Message-ID: <87k6pvia7r.fsf@buug.org> What does the "Windoze style cycling" option in WPrefs or Wmakerconf actually do? I have not observed any difference in Alt+Tab behavior with it on/off, either in WindowMaker 0.80 or 1.x. -- I wonder which is the best virus for unix and if I can write a better one in Microsoft BASIC ? Hans-Marc Olsen in comp.unix.programmer From rvmss at yahoo.com Sun Jan 30 12:21:11 2005 From: rvmss at yahoo.com (Rohan Mendonca) Date: Sun, 30 Jan 2005 12:21:11 -0800 (PST) Subject: [buug] Freebsd 5.3 and internet access problems. Message-ID: <20050130202111.46916.qmail@web41105.mail.yahoo.com> Hi, I am new to freebsd. I want to move from windows to freebsd. I have just installed 5.3 on my computer. I am running this computer behind a router which is connected to a cable modem. The router has dhcp disabled and I assign ip addresses to all the computers attached to it. I managed to configure the ethernet card with a static ip. I am able to ping the card. I can also ping the router. I can ping the freebsd computer from a windows computer on the network. I have 2 problems. 1. I cannot access the internet using opera in xwindows. It say's "hosts not found" for any web site even though I can ping the router, the ethernet card. what am I doing wrong? I do not think I have icfw enabled. Please help! 2. I seem to need to enable the ethernet card everytime I logon/restart the computer. How do I set it up so that it is enabled permanently. Thanks, Rohan rvmss at yahoo.com __________________________________ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo From mp at rawbw.com Sun Jan 30 15:27:03 2005 From: mp at rawbw.com (Michael Paoli) Date: Sun, 30 Jan 2005 15:27:03 -0800 Subject: [buug] Freebsd 5.3 and internet access problems. In-Reply-To: <20050130202111.46916.qmail@web41105.mail.yahoo.com> References: <20050130202111.46916.qmail@web41105.mail.yahoo.com> Message-ID: <1107127623.41fd6d4704656@webmail.rawbw.com> Quoting Rohan Mendonca : > I am new to freebsd. I want to move from windows to > freebsd. > > I have just installed 5.3 on my computer. > I am running this computer behind a router which is > connected to a cable modem. The router has dhcp > disabled and I assign ip addresses to all the > computers attached to it. > I managed to configure the ethernet card with a static > ip. > I am able to ping the card. I can also ping the > router. > I can ping the freebsd computer from a windows > computer on the network. > > I have 2 problems. > > 1. I cannot access the internet using opera in > xwindows. > It say's "hosts not found" for any web site even > though > I can ping the router, the ethernet card. > what am I doing wrong? > I do not think I have icfw enabled. > Please help! > > 2. I seem to need to enable the ethernet card > everytime I logon/restart the computer. How do I set > it up so that it is enabled permanently. Well, I'm not exactly a BSD expert (perhaps some BSD folks can add information on details specific to BSD), but you may want to start, for item 1., looking at DNS and routing. Can you ping or otherwise reach IP addresses beyond your router (e.g. Internet IPs)? How is your routing configured, for example, does your BSD host have its configuration set to use your router (or other suitable IP(s)) for default router, at least on applicable subnet(s)? Typically netstat -nr and/or route -n or similar tools can help you see how your routing is set. Tools such as ping, traceroute, and tcptraceroute can also come in handy for isolating location and/or nature of problem. Check the man pages (syntax, options, and precise tools may vary on your operating system flavor). Once IP connectivity works okay (e.g. you can ping or connect to the IP addresses you expect to be able to reach), then you can check on DNS. Are you able to successfully use dig or nslookup or similar tools to resolve DNS names to IP addresses? Have you checked over you DNS configuration, e.g. /etc/nsswitch.conf and /etc/resolv.conf, or whatever equivalent files/capabilities you may have. On item 2., for persistent configurations - such as wanting your system to come up with the same IP on the same interface when it's rebooted, there are typically rc scripts, and frequently configuration files which rc files read for such configuration information. I'm sure BSD has some convention on that, but I don't know what it is off hand. When I encounter a UNIX/LINUX/BSD system where I'm not familiar with their particular convention, I usually start by examining the /etc/inittab file, to determine what gets launched, how, and in what order, when a system boots. By perusing and searching enough files, it typically becomes pretty clear where such configuration changes belong. In the case of being quite new to BSD (and perhaps also UNIX/LINUX), it might be easier to ask around and/or do some searching (e.g. Google) for information on how to do the typical network configuration tasks on BSD. Also, if you're in a DHCP, or mixed static/DHCP environment, you may want to be careful with the specific IP(s) used, to avoid potential conflicts. This could mean picking static IP(s) in a particular range, and/or tweaking the DHCP server configuration so as to avoid potential conflicts. From brian at planetshwoop.com Sun Jan 30 17:53:13 2005 From: brian at planetshwoop.com (Brian Sobolak) Date: Sun, 30 Jan 2005 19:53:13 -0600 Subject: [buug] Freebsd 5.3 and internet access problems. In-Reply-To: <20050130202111.46916.qmail@web41105.mail.yahoo.com> References: <20050130202111.46916.qmail@web41105.mail.yahoo.com> Message-ID: <41FD8F89.4060207@planetshwoop.com> Rohan Mendonca wrote: > Hi, > > I am new to freebsd. I want to move from windows to > freebsd. Sweet! > I have just installed 5.3 on my computer. > I am running this computer behind a router which is > connected to a cable modem. The router has dhcp > disabled and I assign ip addresses to all the > computers attached to it. > I managed to configure the ethernet card with a static > ip. > I am able to ping the card. I can also ping the > router. > I can ping the freebsd computer from a windows > computer on the network. > > I have 2 problems. > > 1. I cannot access the internet using opera in > xwindows. > It say's "hosts not found" for any web site even > though > I can ping the router, the ethernet card. > what am I doing wrong? > I do not think I have icfw enabled. > Please help! Have you checked to see that DNS is working properly? If you type 'ping weak.org', do you get an IP address or do you just get the same errors as above? Generally speaking there are two ways to resolve your problems: 1. As root, type /stand/sysinstall This is the configuration manager not unlike the installation of FreeBSD. To configure networking, try Configure -> Networking -> Interfaces. You should have a list of the ethernet cards on your system. Pick the one you want to configure, and make sure that you enter all of the relevant information about your network configuration, esp. your DNS server. That should do it. After exiting, try again - it should work if the configuration is correct. 2. Check for the files. /etc/resolv.conf contains where the DNS server is listed. Mine is configured as: mymagenta# cat resolv.conf nameserver 206.141.251.2 If you want to ensure that the interface (your network card) is configured at run time, you can check /etc/rc.conf The relevant lines are: defaultrouter="192.168.0.1" hostname="YOUR.HOSTNAME.HERE" #fill in with the real hostname ifconfig_sis0="inet 192.168.0.4 netmask 255.255.255.0" The bit above - ifconfig_sis0 - should match your card's driver. If this is configured, then the card should start up at boot. Generally speaking it's better to use /stand/sysinstall (esp. if you're new) as it makes sure all the appropriate pieces are done correctly; it leaves less room for typos. > 2. I seem to need to enable the ethernet card > everytime I logon/restart the computer. How do I set > it up so that it is enabled permanently. > See above.... If this doesn't help, then attach the contents of dmesg (type 'dmesg > filename') and uname -a, which is pretty standard for BSD questions on BSD mailing lists. Hope this helps, brian From sneakums at zork.net Mon Jan 31 08:20:04 2005 From: sneakums at zork.net (Sean Neakums) Date: Mon, 31 Jan 2005 16:20:04 +0000 Subject: [buug] mysterious windowmaker option In-Reply-To: <87k6pvia7r.fsf@buug.org> (Ian Zimmerman's message of "30 Jan 2005 00:37:28 -0800") References: <87k6pvia7r.fsf@buug.org> Message-ID: <6uoef54ll7.fsf@zork.zork.net> Ian Zimmerman writes: > What does the "Windoze style cycling" option in WPrefs or Wmakerconf > actually do? I have not observed any difference in Alt+Tab behavior > with it on/off, either in WindowMaker 0.80 or 1.x. I think "Windows-style" is when the first Alt-Tab takes you to the last-selected window, not the next in the cycle order. After the first tap of Tab, they behave the same, following the cycle order. From itz at buug.org Mon Jan 31 20:14:40 2005 From: itz at buug.org (Ian Zimmerman) Date: 31 Jan 2005 20:14:40 -0800 Subject: [buug] mysterious windowmaker option In-Reply-To: <6uoef54ll7.fsf@zork.zork.net> References: <87k6pvia7r.fsf@buug.org> <6uoef54ll7.fsf@zork.zork.net> Message-ID: <87pszkj4r3.fsf@buug.org> Ian> What does the "Windoze style cycling" option in WPrefs or Ian> Wmakerconf actually do? I have not observed any difference in Ian> Alt+Tab behavior with it on/off, either in WindowMaker 0.80 or 1.x. Sean> I think "Windows-style" is when the first Alt-Tab takes you to the Sean> last-selected window, not the next in the cycle order. After the Sean> first tap of Tab, they behave the same, following the cycle order. I seldom have more than 2 windows on the same workspace; with just 2, would the behavior be the same? -- I wonder which is the best virus for unix and if I can write a better one in Microsoft BASIC ? Hans-Marc Olsen in comp.unix.programmer