Re: Copying audio CD with dd/cdrecord produces unplayable CD

2008-11-29 Thread Yuri
Polytropon wrote: It sounds like byte order reversal which makes the typical noise. In order to 1:1 copy a CD, I'd recommend the use of the cdrdao tool - cdrdao read-cd and cdrdao write are the commands. It's easy to use them in order to get a CD at once and then reproduce it to blank media.

Re: shell scripting problems

2008-11-29 Thread perryh
In the shell script, i have a pkg_info -qLx ^$PKG-[0-9,._]+$ also tried (-X)tended regex instead of the standard rege(-x). sh keeps erroring out saying various $ isn't a valid variable name ... Both sh and csh will try to treat $ inside of as a variable reference. Does it work any

Re: Copying audio CD with dd/cdrecord produces unplayable CD

2008-11-29 Thread Yuri
Polytropon wrote: On Fri, 28 Nov 2008 23:26:51 -0800, Yuri [EMAIL PROTECTED] wrote: If you need to use cdrecord, you can preprocess the .cdr files with sox -x. You can always use the play command (from sox) to check what your files sound like. 'sox -x' fails for some tracks with the

Re: Copying audio CD with dd/cdrecord produces unplayable CD

2008-11-29 Thread Polytropon
On Sat, 29 Nov 2008 00:53:32 -0800, Yuri [EMAIL PROTECTED] wrote: Polytropon wrote: On Fri, 28 Nov 2008 23:26:51 -0800, Yuri [EMAIL PROTECTED] wrote: If you need to use cdrecord, you can preprocess the .cdr files with sox -x. You can always use the play command (from sox) to check

Re: shell scripting problems

2008-11-29 Thread George Davidovich
On Fri, Nov 28, 2008 at 11:31:17PM -0700, Tim Judd wrote: On Fri, Nov 28, 2008 at 11:08 PM, Sahil Tandon [EMAIL PROTECTED] wrote: Tim Judd [EMAIL PROTECTED] wrote: I am not sure what the problem is, but are you just looking for the output of pkg_info -qxL on the *first* instance of

Re: Copying audio CD with dd/cdrecord produces unplayable CD

2008-11-29 Thread Roland Smith
On Fri, Nov 28, 2008 at 11:26:51PM -0800, Yuri wrote: I am trying to copy an audio CD. First I've ran: dd if=/dev/acd0tN of=track-N.cdr bs=2352 for every track. This gets raw track files. It is better to use cdparanoia (from the audio/cdparanoia port), since it outputs WAV files. It also

Re: Problem about ppp -nat

2008-11-29 Thread Ian Smith
On Fri, 28 Nov 2008, Pongthep Kulkrisada wrote: Hi all, I didn't touch /etc/ppp/ppp.conf, which has been working for 5 years since FBSD5.0R. Even if I go back to GENERIC kernel. I could not dial out to ISP in any ways. I didn't know what I do wrong even if I did read many docs.

Re: Noisy mouse

2008-11-29 Thread Polytropon
On Sat, 29 Nov 2008 13:43:45 +0200, Roey Dror [EMAIL PROTECTED] wrote: I'm using FreeBSD 7.0 (i386) with the IceWM window manager. The sound seems to work when playing files with xmms. When my speakers are turned on, I hear noise whenever I move my mouse or make a keystroke. Is this a bug, or

Re: Copying audio CD with dd/cdrecord produces unplayable CD

2008-11-29 Thread Joerg Schilling
I am trying to copy an audio CD. First I've ran: dd if=/dev/acd0tN of=track-N.cdr bs=2352 for every track. This gets raw track files. Secondly I run: cdrecord -v -dao -audio $* dev=2,0,0 speed=4 This is supposed to recreate the original CD. But when I try to play it I can hear only noise.

Re: nxserver/freenx

2008-11-29 Thread Pieter Donche
On Fri, 28 Nov 2008, matt donovan wrote: On Fri, Nov 28, 2008 at 3:53 AM, Pieter Donche [EMAIL PROTECTED]wrote: I want my freeBSD-7.0-RELEASE server accessible via a FreeNX client from www.nomachine.com. I believe I should install both the ports nxserver and freenx: From

Re: Copying audio CD with dd/cdrecord produces unplayable CD

2008-11-29 Thread Mel
On Saturday 29 November 2008 09:10:44 Yuri wrote: Polytropon wrote: It sounds like byte order reversal which makes the typical noise. In order to 1:1 copy a CD, I'd recommend the use of the cdrdao tool - cdrdao read-cd and cdrdao write are the commands. It's easy to use them in order to

Re: Problem about ppp -nat

2008-11-29 Thread Ian Smith
On Wed, 26 Nov 2008, Pongthep Kulkrisada wrote: [..] read many docs. Yesterday I decided to re-install FBSD7.0R from CDs again. That causes late reply, I'm sorry. :-( No worries .. it's not like we were just hanging out waiting :) I now have gateway_enable=YES and firewall_enable=YES in

Re: shell scripting problems

2008-11-29 Thread Mel
On Saturday 29 November 2008 05:58:44 Tim Judd wrote: In the shell script, i have a pkg_info -qLx ^$PKG-[0-9,._]+$ also tried (-X)tended regex instead of the standard rege(-x). pkg_info -qLx ^${PKG}-[0-9,\._]+\$ -- 1-- -2- @1: shell evaluates before regex. Use

Re: Unix program that sends email directly using MX record

2008-11-29 Thread Dan
Jerry McAllister([EMAIL PROTECTED])@2008.11.24 14:38:19 -0500: On Mon, Nov 24, 2008 at 12:36:50PM -0500, Dan wrote: Kelly Jones([EMAIL PROTECTED])@2008.11.22 14:16:56 -0700: What Unix program sends email directly, using the MX record of the recipient, instead of using sendmail or an

Re: printer not found... printing with LPRng and foomatic

2008-11-29 Thread luizbcampos
On 11/28/08, Lowell Gilbert [EMAIL PROTECTED] wrote: luizbcampos [EMAIL PROTECTED] writes: I own a usb Canon Pixma iP 1600 printer and I use FBSD-7.0-R amd64. I've choosen LPRng as printer spooler and foomatic-filters, everything is OK in /etc/printcap but when I type lpq I get printer

Re: Unix program that sends email directly using MX record

2008-11-29 Thread Peter Boosten
On 29 nov 2008, at 17:03, Dan [EMAIL PROTECTED] wrote: It's not prejudicial. I do not wish to start yet another MTA flamewar, but you can't deny Sendmail's poor security, design, performance, and complex configuration. The poor security history is there, the poor funnel design and conf

Re: Unix program that sends email directly using MX record

2008-11-29 Thread Dan
Peter Boosten([EMAIL PROTECTED])@2008.11.29 17:34:28 +0100: It's not prejudicial. I do not wish to start yet another MTA flamewar, but you can't deny Sendmail's poor security, design, performance, and complex configuration. The poor security history is there, the poor funnel design and conf

Problem with wireless network.

2008-11-29 Thread Christopher Joyner
On my windows OS I can connect to the router, and also get DHCP service. On the same computer, running FreeBSD 7.0 It will not get DHCP service. Sometimes it will connect to the router, but does not get DHCP service. Then it will not connect anymore. This same computer, using the same FreeBSD

Re: Unix program that sends email directly using MX record

2008-11-29 Thread Peter Boosten
Dan wrote: Peter Boosten([EMAIL PROTECTED])@2008.11.29 17:34:28 +0100: It's not prejudicial. I do not wish to start yet another MTA flamewar, but you can't deny Sendmail's poor security, design, performance, and complex configuration. The poor security history is there, the poor funnel

Re: Problem with wireless network.

2008-11-29 Thread Mel
On Saturday 29 November 2008 17:40:18 Christopher Joyner wrote: On my windows OS I can connect to the router, and also get DHCP service. On the same computer, running FreeBSD 7.0 It will not get DHCP service. Sometimes it will connect to the router, but does not get DHCP service. Then it will

Re: Purchase of FreeBSD

2008-11-29 Thread Sahil Tandon
Masoom Shaikh [EMAIL PROTECTED] wrote: On Sat, Nov 29, 2008 at 6:14 AM, Sahil Tandon [EMAIL PROTECTED] wrote: Harry Veltman [EMAIL PROTECTED] wrote: Where can I buy it on CD, and how do I know if it is compatible with my hardware? Did you try asking Google?

Re: shell scripting problems

2008-11-29 Thread Sahil Tandon
Tim Judd [EMAIL PROTECTED] wrote: I'm sure it's faulty Which is why I'm asking for help My regexes (in it's various forms) produce the output similar to: xorg-fonts-75dpi xorg-fonts xorg-fonts-100dpi ... ... ... and I'm wanting my regex to return the 2nd value, in this

Re: Noisy mouse

2008-11-29 Thread Wojciech Puchar
or make a keystroke. Is this a bug, or a strange feature? How do i bad hardware design - mouse data signals gets through to audio signal. most of your computer's signal line are in megahertz range so you don't hear anything, PS/2 mouse has 40kbps data rate.

Re: Copying audio CD with dd/cdrecord produces unplayable CD

2008-11-29 Thread Yuri
Joerg Schilling wrote: Well, you should not expect to get a usable read result from dd. Why? Handbook recommends the use of dd for audio CD ripping. Yuri ___ freebsd-questions@freebsd.org mailing list

Temporarily blocking ports

2008-11-29 Thread Jos Chrispijn
Can someone hint me how I can block ports for let's say 30 minutes if someone repeatedly tries to do a SSH login? I use ipfw as firewall... regards, Jos Chrispijn ___ freebsd-questions@freebsd.org mailing list

Re: Copying audio CD with dd/cdrecord produces unplayable CD

2008-11-29 Thread Yuri
Joerg Schilling wrote: Well, then the handbook is sub-optimal. dd in general does not work at all to read CD-Audio; FreeBSD is an exception with repect to the fact that you get data at all. Here is a list of cons for dd even on FreeBSD: - dd may not work with all drives - Do you know

Re: Temporarily blocking ports

2008-11-29 Thread Anthony M. Rasat
Jos Chrispijn wrote: Can someone hint me how I can block ports for let's say 30 minutes if someone repeatedly tries to do a SSH login? I use ipfw as firewall... I think I saw ssh-ipfw section in jail.conf file of fail2ban application (http://www.fail2ban.org). I believe fail2ban might be the

Re: Temporarily blocking ports

2008-11-29 Thread Chris
On Nov 29, 2008, at 11:39 AM, Jos Chrispijn wrote: Can someone hint me how I can block ports for let's say 30 minutes if someone repeatedly tries to do a SSH login? I use ipfw as firewall... If you mean the statement as entered while you are watching, something like: ipfw add 0922 deny

Re: Copying audio CD with dd/cdrecord produces unplayable CD

2008-11-29 Thread Yuri
Polytropon wrote: Strange... are these definitely audio CD tracks? You could They are definitely raw audio CD tracks. use this form to explicitely tell sox how to interpret the data (which is headerless on audio CDs, of course): sox -r 14400 -c 2 -b -L -S -x track.cdr

Re: Temporarily blocking ports

2008-11-29 Thread Glen Barber
On Sat, Nov 29, 2008 at 2:39 PM, Jos Chrispijn [EMAIL PROTECTED] wrote: Can someone hint me how I can block ports for let's say 30 minutes if someone repeatedly tries to do a SSH login? I use ipfw as firewall... You could also take a look at sshguard.

Re: Temporarily blocking ports

2008-11-29 Thread Sahil Tandon
Jos Chrispijn [EMAIL PROTECTED] wrote: Can someone hint me how I can block ports for let's say 30 minutes if someone repeatedly tries to do a SSH login? I use ipfw as firewall... security/sshguard-ipfw -- Sahil Tandon [EMAIL PROTECTED] ___

Re: Temporarily blocking ports

2008-11-29 Thread Jos Chrispijn
From your reply on my message of 29-11-2008 21:47: An even tighter practice is to turn off all password logins and use only keyed connections. This is easier than it might seem though I'll admit I think of ssh as something only a select number of users may use and thus you know them by name and

Re: Temporarily blocking ports

2008-11-29 Thread Jos Chrispijn
From your reply on my message of 29-11-2008 21:47: You could also take a look at sshguard. Good suggestion, I will do that. thanks for sharing, Jos Chrispijn ___ freebsd-questions@freebsd.org mailing list

Re: Temporarily blocking ports

2008-11-29 Thread Chris
On Nov 29, 2008, at 1:11 PM, Jos Chrispijn wrote: From your reply on my message of 29-11-2008 21:47: An even tighter practice is to turn off all password logins and use only keyed connections. This is easier than it might seem though I'll admit I think of ssh as something only a select

Re: Problem with wireless network.

2008-11-29 Thread Wojciech Puchar
This same computer, using the same FreeBSD used to connect to the interent, and I could go surfing. Now it only times out. I have a fresh install of FreeBSD 7.0, and can not solve this problem. probably nobody can solve your problem without ANY precise description. your hardware, your

Re: dlsym can't use handle returned by dlopen?

2008-11-29 Thread Markus Hoenicka
Markus Hoenicka writes: Don't mean to nag, but is there any news on this? just for the record: turns out this was a bug that got fixed in 6.3. See http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/129031 regards, Markus -- Markus Hoenicka [EMAIL PROTECTED] (Spam-protected email: replace

Re: nxserver/freenx

2008-11-29 Thread matt donovan
On Sat, Nov 29, 2008 at 7:42 AM, Pieter Donche [EMAIL PROTECTED]wrote: On Fri, 28 Nov 2008, matt donovan wrote: On Fri, Nov 28, 2008 at 3:53 AM, Pieter Donche [EMAIL PROTECTED] wrote: I want my freeBSD-7.0-RELEASE server accessible via a FreeNX client from www.nomachine.com. I believe

Re: FreeBSD 4.8: can't load kernel after doing cp -R / to another disk

2008-11-29 Thread RW
On Sat, 29 Nov 2008 20:37:09 +0400 admin [EMAIL PROTECTED] wrote: Hello, everyone. This is the problem: our SCSI disk with FreeBSD 4.8 on it has been failing recently, so I copied its root partition to a fresh IDE disk with cp -pR and You should use dump and restore to copy the root

Anybody familiar with publib??

2008-11-29 Thread Gary Kline
People, I found a neat function in publib that should do what I want, but adding either #imclude publib.h // as per man publib OR #include /usr/local/include/publib.h fails. Yes, I am adding -lpub to the enc of gcc. Still bombs. Anybody know why? Prev'ly when I've used the publib

Re: FreeBSD 4.8: can't load kernel after doing cp -R / to another disk

2008-11-29 Thread Glen Barber
On Sat, Nov 29, 2008 at 11:37 AM, admin [EMAIL PROTECTED] wrote: Hello, everyone. This is the problem: our SCSI disk with FreeBSD 4.8 on it has been failing recently, so I copied its root partition to a fresh IDE disk with cp -pR and tried to boot from that. Unfortunately, loader gives me

The FreeBSD Diary: 2008-11-09 - 2008-11-29

2008-11-29 Thread Dan Langille
The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the

Re: Anybody familiar with publib??

2008-11-29 Thread Dan Nelson
In the last episode (Nov 29), Gary Kline said: I found a neat function in publib that should do what I want, but adding either #imclude publib.h // as per man publib OR #include /usr/local/include/publib.h fails. Yes, I am adding -lpub to the enc of gcc. Still bombs. Anybody

Re: shell scripting problems

2008-11-29 Thread Tim Judd
This seems to be the ticket. I'll be watching it but now I have an example on how to dual-quote a string. Thanks very much, Perry On Sat, Nov 29, 2008 at 1:37 AM, [EMAIL PROTECTED] wrote: In the shell script, i have a pkg_info -qLx ^$PKG-[0-9,._]+$ also tried (-X)tended regex instead

Re: Anybody familiar with publib??

2008-11-29 Thread Gary Kline
On Sat, Nov 29, 2008 at 07:04:51PM -0600, Dan Nelson wrote: In the last episode (Nov 29), Gary Kline said: I found a neat function in publib that should do what I want, but adding either #imclude publib.h // as per man publib OR #include /usr/local/include/publib.h fails.

Re: Temporarily blocking ports

2008-11-29 Thread andrew clarke
On Sat 2008-11-29 20:39:47 UTC+0100, Jos Chrispijn ([EMAIL PROTECTED]) wrote: Can someone hint me how I can block ports for let's say 30 minutes if someone repeatedly tries to do a SSH login? I use ipfw as firewall... security/sshguard-ipfw works well for me.

for awk experts only.

2008-11-29 Thread Gary Kline
wordnet/wn prints the string noun out whereas I'd rather it simply printed n. Is there a way of making this substitution using awk? (I've never used awk except as a cmdline filter.) The following fails: wn foot -over |grep Overview |awk

Re: for awk experts only.

2008-11-29 Thread Polytropon
Good morning! On Sat, 29 Nov 2008 20:59:51 -0800, Gary Kline [EMAIL PROTECTED] wrote: wordnet/wn prints the string noun out whereas I'd rather it simply printed n. Is there a way of making this substitution using awk? (I've never used awk except as a cmdline filter.)

Re: for awk experts only.

2008-11-29 Thread Polytropon
Replying to my own message: I found a point for improvement. Why use grep when awk can grep by itself? % wn foot -over | awk '/Overview/ { printf(%s %s\n, $4, gsub(noun, n., $3)); }' Ah, much better. :-) -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe,

Re: FreeBSD 4.8: can't load kernel after doing cp -R / to another disk

2008-11-29 Thread admin
Hello, everyone. This is the problem: our SCSI disk with FreeBSD 4.8 on it has been failing recently, so I copied its root partition to a fresh IDE disk with cp -pR and You should use dump and restore to copy the root partition, see: I'd done that before trying cp -pR, as outlined by rse@:

Pasting via ssh causes data loss

2008-11-29 Thread Eugene Pimenov
Hello everyone, I'm not really sure weither it's related to freebsd or ssh. When I paste a lot of data (6060 bytes, 60 lines 100 bytes each + ā€˜\nā€™) via ssh into `cat test.txt` or the small program, one freebsd receives 5181, another receives 3221 bytes. The number of bytes freebsd

Re: for awk experts only.

2008-11-29 Thread Gary Kline
On Sun, Nov 30, 2008 at 06:17:31AM +0100, Polytropon wrote: Replying to my own message: I found a point for improvement. Why use grep when awk can grep by itself? % wn foot -over | awk '/Overview/ { printf(%s %s\n, $4, gsub(noun, n., $3)); }' Ah, much better. :-) Thanks for

Re: for awk experts only.

2008-11-29 Thread Polytropon
On Sat, 29 Nov 2008 22:52:10 -0800, Gary Kline [EMAIL PROTECTED] wrote: What you have above prints: foot 1 // noun foot 0 // verb so doesn't work entirely, but is a good start. I'm so stupid. gsub() does not return the result of the substitution (as, for example,

Re: Temporarily blocking ports

2008-11-29 Thread Manolis Kiagias
Chris wrote: On Nov 29, 2008, at 1:11 PM, Jos Chrispijn wrote: From your reply on my message of 29-11-2008 21:47: An even tighter practice is to turn off all password logins and use only keyed connections. This is easier than it might seem though I'll admit I think of ssh as something only

Re: for awk experts only.

2008-11-29 Thread Gary Kline
On Sun, Nov 30, 2008 at 08:07:21AM +0100, Polytropon wrote: On Sat, 29 Nov 2008 22:52:10 -0800, Gary Kline [EMAIL PROTECTED] wrote: What you have above prints: foot 1 // noun foot 0 // verb so doesn't work entirely, but is a good start. I'm so stupid. gsub()