Re: Setup HP Laserjet 1120m over network with LPD

2013-08-18 Thread Chris Hill

On Sun, 18 Aug 2013, Juris Kaminskis wrote:


as suggested i tried now foo2xqx filter. My printcap entry:
---
HP:\
:lp=:\
:sh:\
:mx#0:\
:rm=192.168.1.105:\
:rp=raw:\
:sd=/var/spool/hp:\
:if=/usr/bin/foo2xqx-wrapper:\
:lf=/var/log/lpd-errs:\
---

^
That backslash needs to go, for one thing. The backslash indicates 
continuation on the next line, but I don't know what would happen if 
there is no next line. In other words, the last line should NOT end with 
a backslash.


HTH.

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: learn

2013-08-07 Thread Chris Hill

On Thu, 8 Aug 2013, Quark wrote:


On Aug 1, 2013, at 8:31 AM, Mike Jeays wrote:



[ big snip ]


Hell, I may even get a hoody from the store :)


hey, where are the hoodies??? I found for mozilla  openSUSE on their 
respective sites very good looking hoodies, but nor FreeBSD I won't 
hesitate to order one for reasonable price of 20-30 USD


https://www.freebsdmall.com/cgi-bin/fm/scan/fi=prod_bsd/tf=list_order/sf=category/se=shirts?id=bipk46TBmv_pc=267

FreeBSD Mall, then shirts and jackets. They cost a little more than 
that, though.


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can sasl/sendmail Report IP Of Failed Access?

2013-06-04 Thread Chris Hill

On Tue, 4 Jun 2013, Doug Hardie wrote:


On 4 June 2013, at 08:47, Tim Daneliuk tun...@tundraware.com wrote:


I am seeing login dictionary attacks on a FreeBSD mail server being
reported.  Is there a way to determine the IPs that are doing this
so they can be blocked at the firewall?   auth.log only
notes the attempted user name, not the IP of origin.
--



I wrote some code to find the appropriate maillog entries which do 
include the IP addresses.  It automagically adds the IP addresses to 
the pf blackhole table if certain criteria is met.  The criteria is 
changeable.  If you would like a copy, let me know.


That sounds incredibly useful. Can you post it somewhere?


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Test

2013-06-01 Thread Chris Hill

On Sat, 1 Jun 2013, Al Plant wrote:


Ping . Pong


http://lists.freebsd.org/mailman/listinfo/freebsd-test

Mahalo.



~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
 + http://hawaiidakine.com + http://freebsdinfo.org +
 + http://aloha50.net   - Supporting - FreeBSD  7.2 - 8.0 - 9* +
  email: n...@hdk5.net 
All that's really worth doing is what we do for others.- Lewis Carrol


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: day light saving time happened today

2013-03-10 Thread Chris Hill

On Sun, 10 Mar 2013, Fbsd8 wrote:


date command shows
Sun Mar 10 16:50:33 EDT 2013


Very odd that your clock would be off by *two* hours.


The real question is does New York State have day light saving time?


Yes, it does. I lived there for many years.

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to achieve E-Mail Notification on root login?

2013-02-12 Thread Chris Hill

On Tue, 12 Feb 2013, Zyumbilev, Peter wrote:


Allow sudo bash only.


The OP didn't want to use sudo because it's not in the base system. I 
would guess he also doesn't want to use bash, since it too is not in the 
base system.


 [ snip ]

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: mount: /dev/da0p1: Invalid argument

2013-02-08 Thread Chris Hill

On Fri, 8 Feb 2013, Anton Shterenlikht wrote:

 [ snip ]


So what is the advice for transferring data
via USB in such cases? Any other gpart partition
I could use?


I've always used FAT32 for thumb drives and the like. I don't know if 
the SPARC would be able to use it, but FAT32 seems like it's most likely 
to be usable by the largest number of different platforms.


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: who am i logged in as

2013-01-27 Thread Chris Hill

On Sun, 27 Jan 2013, Fbsd8 wrote:


I know there is a command that will give me the name
of the account I am logged in on.

But I can not recall the name of this command.

What is the name of this command?


whoami



Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org



--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: sh script code to get file size.

2013-01-18 Thread Chris Hill

On Fri, 18 Jan 2013, Fbsd8 wrote:


In a script in am working on I need to find out the allocated
size of a sparse file.
The only command that comes to mind is ls -lh
The du -h command is not appropriate because it will show
the occupied size and not the allocated size.

I don't know how to parse out to the position in the output of that
ls -lh command to pickup the file size value.

Is there some other way to do this?


To parse it out, I've used something like:

$ ls -lh npviewer.bin.core | cut -d \  -f 9
186M

After the backslash are two spaces: one being the space that's being 
escaped to make it the delimiter, the other to separate the options.


The number after the '-f' determines which field of the output is 
displayed, which may vary.


HTH.

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: static ip address and ifconfig

2012-12-29 Thread Chris Hill

On Sat, 29 Dec 2012, Fbsd8 wrote:

[ ... ]

My host just has ifconfig_xl0=DHCP in rc.conf and xl0 is the NIC 
connected to public internet connection coming from my ISP.


In that case, you are not using static IPs. If your ISP has assigned you 
- as in Poly's example - 123.456.789.1 through 123.456.789.25, then 
those addresses are for your use to assign as you see fit. You would 
configure this machine's interface for any address in that block. You 
can then configure the same interface for more than one of those, or use 
your extra IPs for other machines (or interfaces). Instead of 
ifconfig_xl0=DHCP in rc.conf, you might have 
ifconfig_xl0=123.456.789.16 255.255.255.128 or some such.


HTH.

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD as an Access Point

2012-12-21 Thread Chris Hill

On Fri, 21 Dec 2012, dweimer wrote:

I have been having a lot of performance issues with my home wireless, 
and am considering replacing the current APs early next year.  I 
wanted something a little more flexible than the standard consumer AP, 
without spending the money for a high end Cisco AP (I do realize that 
the hardware will run me in the range of their low end APs).  My early 
searching shows I should be able to get an Alix board, Wireless Card, 
and Antennas for around $300.


Not really an answer to the question, but maybe a solution to the 
problem... At my work we deploy a fair amount of wi-fi at clients' 
sites. The access points we like are Pakedge brand. These are solid, 
high-powered industrial-grade equipment, and in your price range. For 
what it's worth.


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problem with connecting FreeBSD 8.3 to wireless network

2012-10-28 Thread Chris Hill

On Mon, 29 Oct 2012, Manish Jain wrote:

Those in a position to help but smugly choose not to may soon start 
experiencing a dramatic decline in their good fortunes.


I'm not in a position to help, but I can explain a couple of things.


# kldload ath
kldload: can't load ath: File exists

# kldload wlan_tkip
kldload: can't load wlan_tkip: File exists


This tells you that the module in question has already been loaded, or 
is present in the kernel.


[snip]

none5@pci0:3:0:0:	class=0x028000 card=0x661711ad chip=0x0032168c 
rev=0x01 hdr=0x00

   vendor = 'Atheros Communications Inc.'
   class  = network


The 'none..' tells you that no driver was attached to the device.

I suspect that Alexander Kapshuk's reply is relevant here: that your 
Atheros card is not supported by the driver.


I know it's not much help, but maybe it's nonzero. Good luck.

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Why can't I set my cpu type in kernel config ?

2012-08-06 Thread Chris Hill

On Tue, 7 Aug 2012, RW wrote:


On Mon, 6 Aug 2012 16:53:04 -0700 (PDT)
Jason Usher wrote:


I am installing 8.3-RELEASE on an old 900mhz pentium laptop ... it's
an i686 CPU.

By default, GENERIC has HAMMER as the cpu, and that isn't working.
So I tried both:


That's the amd64 (64-bit) GENERIC


Jason: It looks like you may have installed the 64-bit distribution on 
your 32-bit machine. Try fetching the distribution again (and re-burning 
the CD, or whatever your media was). This time get the i386 version. 
That's what you want for a Pentium.


HTH.


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: how to speed up port make??

2012-07-26 Thread Chris Hill

On Wed, 25 Jul 2012, Ryan Noll wrote:


Does anyone else remember The Complete FreeBSD?


I'm looking right at it on the shelf here. Second Edition - over 1750 
pages!. It is *bristling* with post-it notes used as bookmarks.



--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: usb identity issue

2012-07-23 Thread Chris Hill

On Mon, 23 Jul 2012, Al Plant wrote:

I am having problem getting usb plug in /flash drive to come up on 
FreeBSD * several boxes with different versions of FreeBSB os I have 3 
boxes for testing here at my shop.


Can anyone point me to any articles on this issue.

Is there a command like usbconfig (saw this mentioned in an email 
question but it doesnt work) to bring this up on screen?


I don't know of any articles, but here is what I do:

$ uname -r
8.0-STABLE
$ ls /dev | grep ^da
$

(note that there is nothing found) ...and then plug in the thumb drive 
and do it again:


$ ls /dev | grep ^da
da0
da0s1
$

...and now I can mount it. Since this drive is a FAT32 filesystem, I use 
mount_msdosfs. Having an entry in /etc/fstab is a convenience but not 
strictly necessary.


Dmesg of the booted units shows da1 mostly but this identity cant be 
accessed on any of them.


After pluggin in my thumb drive, my dmesg shows

da0: SanDisk Cruzer 1.02 Removable Direct Access SCSI-2 device
da0: 40.000MB/s transfers
da0: 7629MB (15625216 512 byte sectors: 255H 63S/T 972C)

Note that while dmesg only shows da0, my `ls /dev` also shows da0s1. You 
may need to use /dev/da1s1 or similar (depending on what you see from 
`ls /dev`) in your mount command. Try a few permutations.


HTH, and maika'i pomaika'i.


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: fsck on FAT32 filesystem?

2012-07-16 Thread Chris Hill

On Mon, 16 Jul 2012, Adam Vande More wrote:

SpinWrong is a scam, Gibson is a fraud, and this conversation is pure 
marketing gibberish. I thought most had overcome this credulity years 
ago. It appears I was mistaken.


Care to elaborate? Most people on this list seem to speak highly of 
SpinRite. I'd be interested to know if they are all deluded, because 
I've been thinking of buying it.



--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: No surround sound with Creative SB Live! card

2012-06-14 Thread Chris Hill

On Thu, 14 Jun 2012, David Demelier wrote:

I have an old SB Live! card with a 5.1 speaker set, but i can't get 
sound from center and rear speakers with mplayer.


I'm using the snd_emu10kx driver and when I try to play a DVD I get 
sound only through the front speakers (and LFE) like a 2.1


Adding -channels 6 to the mplayer args does not help.


Does the DVD source material actually have 5.1 sound? Silly question, I 
know, but it has to be asked.


You may also want to pose this question to multimedia@


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: find date of last boot

2012-06-07 Thread Chris Hill

On Thu, 7 Jun 2012, Fbsd8 wrote:


dmesg command does not show date of last boot.

Are there some other commands to find date of last boot?


Perhaps somehow subtract `uptime` from today's date?

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: find date of last boot

2012-06-07 Thread Chris Hill

On Thu, 7 Jun 2012, Fbsd8 wrote:


dmesg command does not show date of last boot.

Are there some other commands to find date of last boot?


That was fun. Google helped me with this; the crappy skillz are all 
mine.


 --- cut here ---
#!/bin/sh
#
# Find date of last boot
#
DAYS_UP=`uptime | awk '{print $3}'`
SEC_UP=`echo ${DAYS_UP} * 86400 | bc`
DATE=`date`
EPOCH_DATE=`date -j -f %a %b %d %T %Z %Y ${DATE} +%s`
BOOT_SEC=`echo ${EPOCH_DATE} - ${SEC_UP} | bc`
BOOT_DATE=`gawk -v duh=${BOOT_SEC} 'BEGIN{print strftime(%Y-%m-%d,duh)}'`
echo Last boot on ${BOOT_DATE}
 --- cut here ---

Example from this machine:
$ ./boot_date.sh
Last boot on 2010-12-26
$

Enjoy.

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: find date of last boot

2012-06-07 Thread Chris Hill

On Thu, 7 Jun 2012, Chris wrote:


On 6/7/2012 8:14 PM, Chris Hill wrote:

On Thu, 7 Jun 2012, Fbsd8 wrote:


dmesg command does not show date of last boot.

Are there some other commands to find date of last boot?


That was fun. Google helped me with this; the crappy skillz are all mine.


-snip-


Why create something that is already built in?


Because I learned something by doing it.

As I mentioned previously, the last command lists when the system was 
rebooted.


I'm not sure it does:

$ last reboot
wtmp begins Fri Jun  1 08:31:38 EDT 2012
$ uptime
 9:30PM  up 529 days,  8:25, 4 users, load averages: 0.02, 0.18, 0.17

...and even so, would it show a cold boot, or only a reboot?

I'll credit Doug Hardie with the best solution:
$ ls -l /var/run/dmesg.boot
-rw-r--r--  1 root  wheel  7248 Dec 26  2010 /var/run/dmesg.boot


Keep well,


You too.

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Is this something we (as consumers of FreeBSD) need to be aware of?

2012-06-05 Thread Chris Hill

On Tue, 5 Jun 2012, G?k?in Akdeniz wrote:


For the time being only ARM platform is restricted.


True, but I would be astonished if this restriction were not expanded by 
MS in the future. Just my opinion, but I believe their ultimate goal is 
to add platforms until the secure boot restriction encompasses most or 
all desktop and server hardware. This would be over a period of years.


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: djvu viewers from ports or add capability to view to xpdf, gv or other

2012-05-10 Thread Chris Hill

On Thu, 10 May 2012, Polytropon wrote:


On Wed, 9 May 2012 16:35:03 -0500, Antonio Olivares wrote:

Dear folks,

How can I add the capability of viewing djvu files to say xpdf or gv 
without installing evince?


Or is there a small djvu viewer available in ports that can be 
installed easily?


You can install the port ImageMagick with support for djvu
format. To view a file, simply call display file. Not tested.


Be aware that ImageMagick is the opposite of small.

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: help debug bwn(4) wireless

2012-05-05 Thread Chris Hill

On Sat, 5 May 2012, Robert Bonomi wrote:


Anton Shterenlikht me...@bristol.ac.uk wrote;


[snip]

...I still find the whole networking area perfectly impenetrable. (If 
you can recommend a really introductory book on the subject, I'd 
really appreciate it.


[snip]

See also TCP/IP Network Administration.  This is an O'Reilley 
Associates book.  Virtually *everything* they publish is excellent. 
If they've ever published an even mediocre book, _I_ have never 
encountered it.


Anton, I'll second that recommendation. 'TCP/IP Network Administration' 
by Craig Hunt is an outstanding book; it taught me a lot about 
networking, really made the subject comprehensible. The other O'Reilly 
book that I found indispensable when getting started was 'Essential 
System Administration' by Aeleen Frisch. In fact, why don't I just me 
too about O'Reilly. Everything of theirs that I have seen has been 
excellent.


[snip]

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Printer recommendation please

2012-03-30 Thread Chris Hill

On Fri, 30 Mar 2012, RW wrote:


On Fri, 30 Mar 2012 16:14:20 -0400
Mike Jeays wrote:

I strongly recommend a laser printer over an inkjet even for home 
use. The reduced running costs and better reliability are easily 
worth the lack of colour, IMO.


How do they compare for light and occasional use? I'm thinking in 
terms of a few pages, a few times a year, so presumably the 
consumables become perishables.


In exactly that scenario, ink nozzles can dry out, rendering your inkjet 
printer inoperable. I only print every few weeks, and if I had to 
replace ink for every print just because it dried out, I think I might 
become angry. My laser printer works even after months of inactivity.


For the record, I completely agree with Mike. I also would not buy a 
printer that did not speak Postscript. My PS-speaking LaserJet was 
working as fast as I could edit /etc/printcap - no CUPS, no drivers, no 
ghostscript, no filters.


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Vivaldi Tablet

2012-03-28 Thread Chris Hill

On Wed, 28 Mar 2012, Mike Jeays wrote:

I saw a demo of a device about 30 years ago that you held in one hand. 
It had about five buttons positioned under your fingers, and various 
combinations would produce all the regular characters.


Sounds like learning to play the saxophone.

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Email issues, relay failure

2012-02-24 Thread Chris Hill

On Fri, 24 Feb 2012, Robison, Dave wrote:


On 02/24/2012 13:52, Bender, Chris wrote:


Sendmail all of a sudden stopped working...the sendmial is supposed to
send to another machine.


...snip...


echo test email from ccl `date`  | mailx -s test email from ccl
`date`  c...@cell.com

The que message show the following..

Running /var/spool/mqueue/q1OKcmpH017170 (sequence 1 of 20)

c...@cell.com... Connecting to tools.wms.cellularatsea.com. via
relay...

c...@cell.com... Deferred: Connection timed out with
tools.wms.cell.com.

I can ping this machine via

ping tools

Is there supposed to be some type of handler on tools to accept
messages. How would I know if it were postfix or sendmail?



telnet remote_machine 25

does it connect to a mailer daemon?


How you would know: You should see something like this:

$ telnet remote_machine 25
Trying 192.168.1.1...
Connected to remote_machine.mydomain.com
Escape character is '^]'.
220 remote_machine.mydomain.com ESMTP Sendmail 8.14.3/8.14.3; Fri, 24 Feb 2012 
19:44:05 -0500 (EST)


Note the 'Sendmail'. I don't have a postfix server handy, but presumably 
it would not emit the S word.


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: mount options display (detailed)

2012-02-24 Thread Chris Hill

On Fri, 24 Feb 2012, Matthew Seaman wrote:


On 24/02/2012 15:56, jb wrote:

how can I display detailed mount options, e.g. rw, async, acls, atime, ...
This regarding local fs or NFS.
'mount' does not do that.


mount -p

This is actually something you could in theory have worked out from the
mount(8) man page, so long as you knew what 'fstab format' meant.
Perhaps that page could do with a little editing so that it doesn't
assume so much prior knowledge of its readers.



From the man page:


-p   Print mount information in fstab(5) format.  Implies
 also the -v option.

'mount -p' shows me something that looks a lot like my own /etc/fstab. 
It appears to be showing me what's mounted right now, but it does not 
display any mount options. This is on 8.0-STABLE; maybe things have 
changed in the Brave New World of Nine.


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: One or Four?

2012-02-17 Thread Chris Hill

On Fri, 17 Feb 2012, Polytropon wrote:


Why not add a selection to the installer, something like
this:

Partition scheme


[ ] all in one + swap
Create one partition containing all subtrees
plus one swap partition.

[ ] separate partitioning + swap
Create /, /var, /tmp and /usr (including home)
partitions plus one swap partition.

[ ] user-defined
Make your own partitioning selection manually.

Of course, the default SIZES for second choice should be
reasonable.


I like it. This, or something very similar, seems to me like the best 
way to go.


I am not a professional sysadmin, but have been using FreeBSD since 
2.2.6. FWIW, I prefer the multi-partition approach for all the reasons 
already mentioned.



--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Revision control advice

2011-12-24 Thread Chris Hill

On Wed, 21 Dec 2011, Chris Hill wrote:


I'm looking to set up some sort of revision control system at work.


Thank you to everyone who replied. Based on what I've found out, I think I 
will be setting up git on a test server so I can get familiar with it.


Thanks again, and a happy $HOLIDAY to all.

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Revision control advice

2011-12-21 Thread Chris Hill

Hello list,

I apologize for this posting being not-much-on-topic, but my other 
resources have come to naught and I think you folks may have some 
experience in this area.


I'm looking to set up some sort of revision control system at work. Simple 
enough, except that our situation is approximately the reverse of what 
most revision control systems are designed for.


Unlike, e.g., FreeBSD kernel development, we have dozens or hundreds of 
small, rapid-fire projects that are created at the rate of 3 to 20 per 
month. They last a few days or a few months and are (usually) not 
developed afterward. Each project has one to three developers working on 
it, sometimes simultaneously. Usually it's one guy per project.


Since my programmers are not necessarily UNIX-savvy, I'd like to deploy a 
web interface for them which will allow them to create new repositories 
(projects) as well as the normal checkin, checkout, etc. I want to set 
this up once, and from there on have the programmers deal with managing 
their own repos. And heaven forfend exposing them to the horrors of the 
shell.


I've built a test server (9.0-RC3, amd64) for experimenting with this 
stuff. So far I've installed and played with:
 - fossil. I like the simplicity and light weight, but it doesn't seem to 
allow creation of new repos at all (let alone multiple ones) from the web 
interface, and the documentation is meager. I've pretty much given up on 
it.
 - subversion, which looks like the heavy hitter of RCSs, but it's not at 
all clear to me how to handle the multiple-project scenario. Still working 
on it.

 - git looks promising, but I have not installed it yet.

If anyone can point me to a tool that might be suitable, I would be most 
grateful.



--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Playing .ASX files via/within Firefox ?

2011-12-07 Thread Chris Hill

On Wed, 7 Dec 2011, per...@pluto.rain.com wrote:


Ronald F. Guilmette r...@tristatelogic.com wrote:


I've been trying to look at California Dept. of Transportation
webcams using Firefox on FreeBSD and so far it simply ain't workin'.
...
http://www.dot.ca.gov/dist3/departments/traffic/cameras/


Works for me on 8.1-RELEASE with FF 3.5.10 and these packages:

[ ... ]


All I had to do was click on a camera (I picked Williams SB, for no
particular reason) and I got what looked like an image, including
an I-5 at Williams SB overlay.  Granted there wasn't a whole lot
to see, since it was after dark, but the image did show several
vehicles' headlights -- it was not just a black rectangle.


Right, but that's a still image, a screenshot. Above that is a link 
labeled go to live camera - when you click on that, do you see live 
motion video? What I see is mplayer-plugin starting, then buffering, then 
a blue rectangle.


The live camera link is what goes to the .asx, which is what the OP was 
asking about.


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: operapluginwraper

2011-11-08 Thread Chris Hill

On Tue, 8 Nov 2011, ajtiM wrote:


On my FreeBSD 8.2 Release I use KDE 4 and Opera 11.52.
Everytime when I start (use) Opera I have operapluginwraper..core in the 
/home directory..

In the /var/log/mesages I got also:

Nov 8 15:15:20 athena console-kit-daemon[1395]: WARNING: kvm_getenvv 
failed: cannot open /proc/4679/mem


[snip]


I don't have /proc on my system and I don't know why I should have it?


This might have to do with the linuxulator. At some point I added

linproc  /usr/compat/linux/proc  linprocfs   rw00

...to my /etc/fstab. I have a note in that file saying that it came from 
http://www.freebsd.org/doc/en/books/handbook/desktop-browsers.html


I don't recall if I had to create that directory; I suspect it appeared 
automagically. I see:


$ ls -l /usr/compat/linux | grep proc
dr-xr-xr-x   1 root  wheel 0 Nov  8 19:15 proc

...which was just a moment ago.

HTH.

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: dvd1 in CD image names? (was Re: FreeBSD 9.0-BETA3 available here)

2011-09-30 Thread Chris Hill

On Fri, 30 Sep 2011, Conrad J. Sabatier wrote:


On Wed, 28 Sep 2011 12:21:32 -0400
Fbsd8 fb...@a1poweruser.com wrote:


FreeBSD 9.0 BETA3 is available here

ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/i386/ISO-IMAGES/9.0/


I've been wondering, why the recent change to using dvd1 in the names 
of the full CD images?  These *are* CD, not DVD images, aren't they?


They are ISOs. You can burn them to either a CD or a DVD, since they are 
small enough to fit on a CD.


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to check current port options before updating

2011-08-31 Thread Chris Hill

On Tue, 30 Aug 2011, zszal...@ovi.com wrote:

I have been wondering how I can check current options of a port before I 
update it. The port in question (apache22) has a number of options and I 
would like to look at the current ones so that I do not install options 
that I may not need. I'd appreciate if you can point me to a reference 
or a command that does it. Will make config show it?


 make showconfig

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: wlan setup

2011-08-30 Thread Chris Hill

On Tue, 30 Aug 2011, Derek Funk wrote:


On Mon, 2011-08-29 at 19:00 -0500, Derek Funk wrote:


[ ... ]

Drivers are loaded and I tried using SYNCDHCP instead of just DHCP in
rc.conf.
I even tried my own entry in devd.conf as shown in a google search. But 
still it links to the access point but does not get an IP.


Not to belabor the obvious, but do you have a working DHCP server 
available to the WAP?


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: First World (Was: What dialup modem WILL work with 8.x and uart?)

2011-08-22 Thread Chris Hill

On Mon, 22 Aug 2011, Gary Gatten wrote:

Interesting analogy.  Osama - er, I mean Obama could really use people 
like you to explain things better to him, 'cause obviously he has NO 
idea what his various and numerous Czars and advisors are saying.  Or 
maybe they're all barely functional and don't know any better


I'm sure the OP found that extremely helpful. Thanks for the trenchant 
incisiveness. Right on topic, too.



Oh wait, this is a FBSD list...  Ah, FBSD Rules!  Long live FBSD!


Right.



On Mon, August 22, 2011 7:19 am, Odhiambo Washington wrote:

I live in some 3rd world country (BTW, how does one become 1st world?)


Back in the day, you'd have needed to join NATO...  (2nd world, of course,
required joining the Warsaw Pact.)

These days, I subscribe to the 'soda theory'.  At the lowest level of an
economy, you can only buy one of Pepsi or Coke.  A step up, and you will
have a choice.  The next step beyond that, you have a choice between
Sprite and 7-Up.  A first world economy will have multiple choices for any
flavor of soda, including things like Root Beer, Grape, or Sport Drinks.
In fact, you will have specialty sodas in most flavors, that are in
limited distribution by area, but still in major market retailers.  They
will often be sold at prices near or above half an hour's wage (at minimum
wage) for a single soda.  (Vs. Coke or Pepsi, which are usually sold at
half that or less.)

;)

Daniel T. Staal

(How is Kenya these days?  I haven't been there in 10 years or so...)

---
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org





font size=1
div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 
1.0pt 0in'
/div
This email is intended to be reviewed by only the intended recipient
and may contain information that is privileged and/or confidential.
If you are not the intended recipient, you are hereby notified that
any review, use, dissemination, disclosure or copying of this email
and its attachments, if any, is strictly prohibited.  If you have
received this email in error, please immediately notify the sender by
return email and delete this email from your system.
/font

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org



--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: extracting text from docx files

2011-08-09 Thread Chris Hill

On Tue, 9 Aug 2011, Anton Shterenlikht wrote:


On Tue, Aug 09, 2011 at 02:57:51PM -0500, Antonio Olivares wrote:

But if you really, really need to read docx, you can try the web
application from Microsoft. A few months ago, I got also a lot of docx
and I opend it with the microsoft web app; this worked for me to extract
the information...

More information:
http://office.microsoft.com/en-us/web-apps/

The downside: ?you have to sign up on a microsoft service :(



Can also use libreoffice.  It is in the ports system :)

Without installing anything, Google Docs also opens *.docx files, if
needed. There are other options too, but it depends on what Anton
wants to install* or just view*  extract?


Well.. I don't really want to install anything
just to read docx. So probably something as
small as possible. libreoffice (even if it's in ports,
which I dearly love) looks like a monster of
a package, so I'm not sure.


Maybe an online service? If you don't have too many to convert at one 
time, and there's nothing secret in them, you could try 
http://www.doc2pdf.net/ - I've never used it, so caveat clicktor.


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD on IBM 3630

2011-06-14 Thread Chris Hill

On Wed, 15 Jun 2011, Julian H. Stacey wrote:


Peter Toth wrote:

Anyone is running IBM 3630 out there with FreeBSD?


Short:  Try Harder ;-)
Medium: If one ask a better question, one gets better answers.


Well said.

I misread the subject at first, and thought the OP was asking about 
running FreeBSD on an IBM 360  =:^O



Long:   You may improve responses by adding eg:
- Why you want to know
Thinking of buying or selling ?
Got it working  thinking of adding to compatabiity list ?
Or ... ?
- If you have one, try it   attach dmesg or error message etc.
- Summarise hardware,
at least attach a URL such as:
http://www.highlander-estore.com/products.asp?partno=737742G
 or find some better URL eg from:
   
http://www.google.com/#hl=ensugexp=ldymlspq=dmesg%20%22ibm%203630%22%20freebsdxhr=tq=+%22IBM+3630%22cp=0pf=psclient=psysource=hpaq=faqi=aql=oq=+%22IBM+3630%22+FreeBSDpbx=1bav=on.2,or.r_gc.r_pw.fp=7ff7d408b5d36764biw=1560bih=836bs=1
 Listing chipsets/ cards usually helps.

Cheers,
Julian
--
Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
Reply below, not above;  indent with  ;  Cumulative like a play script.
Mail plain text:  Not HTML, multipart/alternative, base64, quoted-printable.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org



--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: RAM needed for DHCP + router?

2011-05-27 Thread Chris Hill

On Fri, 27 May 2011, Jaime Kikpole wrote:


On Thu, May 26, 2011 at 7:46 PM, Chris Hill ch...@monochrome.org wrote:

I'm looking to build a NAT / DHCP box for a lab network for my company. My
question is, how do I estimate the amount of RAM the machine will need?


FWIW, I can tell you some experiences that I've had.


Thanks, Jaime, this is very useful.

From what I'm hearing, it seems as though a 32-bit machine with maxed-out 
RAM would be more than adequate to the task. I'll be NAT'ing a class A 
worth of addresses, /16 of which will be DHCP range. But as I said, 
throughput will be near-zero; the NAT is for allowing occasional internet 
access for embedded controllers here and there, not for a thundering herd 
of desktop users. The machine will be mainly for serving DHCP, and is not 
the point of internet access for the organization.


Many thanks to all who responded.


Example #1:
At one time, I had as many as 600-800 desktops and laptops receiving
DHCP leases and DNS resolution from a single FreeBSD (5.x?) server.
It was an old Dell desktop that a college had discarded/donated.  I
think it was something like 800MHz and 1GB of RAM.  From what I
remember seeing in top, uptime, et. al. it was like the server was
bored.  It was barely doing anything.

Example #2:
I'm currently running a school district with about 800 computers, some
iPads and Nooks, a few dozen network printers, streaming video off of
at least 3 DVRs, and whatever people bring in (unauthorized... we'll
be fixing that shortly).  So let's call it around 1000 - 1300 nodes.
The entire thing is running through a FreeBSD system with two 100Mbps
cards.  I use IPFW to hijack certain TCP ports and redirect them
into DansGuardian.  This makes a transparent proxy.  DG and Squid and
BIND and ClamAV and snmpd, the Xymon client all run on this box.  It
acts as a secondary DNS resolver, secondary DNS server for internal
addresses, web proxy, web content analysis and filtering, and more.
Its 8GB of RAM and a 2.0GHz dual core CPU.  Its doing the job just
fine.  No complaints.

Every employee uses web-based services every day.  We even use a fair
amount of streaming video.  Again, this works well.  I've even heard
of people managing to use NetFlix on occasion.  It will saturate our
Internet bandwidth before this server goes down.  I have the graphs to
prove it.

Since you are talking about the box doing NAT, you may find yourself
wanting a web proxy service and/or internal DNS resolver at some
point.  The NAT and DHCP services are, in my experience, not going to
be a big deal.  Configuring BIND to offer internal DNS resolution
would add very little to your load.  I would be really surprised if
any desktop PC that you found for $500-$1000 wasn't up to the task.

That said, here is the important part:

This is going to be a single-point-of-failure for your institution.
If it goes down for any reason, your entire business is off-line.
That includes everything from bad hardware to a routine software
upgrade (FreeBSD or a port).  Do yourself a HUGE favor and build a
redundancy system of some kind.  For example, I'm currently trying to
replace the DansGuardian/Squid/DNS server I listed above with a pair
of servers using CARP http://www.freebsd.org/doc/handbook/carp.html.
That way, I can upgrade the OS whenever I want and the district's 800
authorized computers (and 50-200 unauthorized computers, phones,
tablets, etc.) keep working.

Seriously.  Make it redundant.  Its the most important lesson a
systems administrator must learn.  Well, that and scripting.  OK, and
documentation.  :)

Hope that helps,
Jaime

--
Network Administrator
Cairo-Durham Central School District
http://cns.cairodurham.org



--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RAM needed for DHCP + router?

2011-05-26 Thread Chris Hill

Hello list,

I'm looking to build a NAT / DHCP box for a lab network for my company. My 
question is, how do I estimate the amount of RAM the machine will need?


This box will be running isc-dhcpd, doing NAT either via natd or pf, and 
not much else. I expect the amount of traffic (throughput) to be very 
small, but the address space involved is quite large, at least by my 
standards. It seems to me that this will require potentially large amounts 
of memory for routing tables, etc., but not much disk.


I'll be installing the latest -RELEASE; 32-bit if I can, 64-bit if I must, 
depending on how much memory it looks like I'll need. I may also install 
webmin for the benefit of my computer-literate-but-not-unix-savvy 
coworkers.


Thanks!


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: RAM needed for DHCP + router?

2011-05-26 Thread Chris Hill

On Thu, 26 May 2011, Gary Gatten wrote:

Your biggest consumers would be FBSD itself and the routing tables. I 
*think* full internet routing tables are still less than 512MB, (google 
to check), so unless you have more routes than that - 512MB may work, 
1GB most likely will.  Too many unknowns, like; is this ipv4 only or 6 
and 4 routes? Tweaked/minimal kernel, etc.


Sorry, forgot to mention: inet4 for now, probably mixed with v6 in years 
to come. GENERIC kernel if at all possible (trying to minimize maintenance 
and general fussiness level).



And in reponse to Chuck,


How many DHCP leases and NAT clients?


At any one time, probably dozens (maybe hundreds) of leases and hundreds 
(maybe thousands) of NAT clients, but not tens of thousands. Leases and 
NAT clients will come and go on a daily or weekly basis as equipment is 
tested, configured and shipped out.




- Original Message -
From: Chris Hill [mailto:ch...@monochrome.org]
Sent: Thursday, May 26, 2011 06:46 PM
To: FreeBSD Questions List questi...@freebsd.org
Subject: RAM needed for DHCP + router?

Hello list,

I'm looking to build a NAT / DHCP box for a lab network for my company. My
question is, how do I estimate the amount of RAM the machine will need?

This box will be running isc-dhcpd, doing NAT either via natd or pf, and
not much else. I expect the amount of traffic (throughput) to be very
small, but the address space involved is quite large, at least by my
standards. It seems to me that this will require potentially large amounts
of memory for routing tables, etc., but not much disk.

I'll be installing the latest -RELEASE; 32-bit if I can, 64-bit if I must,
depending on how much memory it looks like I'll need. I may also install
webmin for the benefit of my computer-literate-but-not-unix-savvy
coworkers.

Thanks!


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: fix an audio conversion script to work through multiple directories and convert mp3s to ogg vorbis

2011-05-08 Thread Chris Hill

On Sun, 8 May 2011, Antonio Olivares wrote:


On Sat, May 7, 2011 at 4:03 PM, Chris Hill ch...@monochrome.org wrote:

On Sat, 7 May 2011, Antonio Olivares wrote:


My question is the following:
How can I run the script to recursively find all mp3's and convert 
them to ogg vorbis(with ogg extension already in place/or rename them 
in one step[instead of running two scripts] and deleting the mp3's) 
all in one time?


I had a similar (but not identical) problem


 [ snip ]

My script is at http://pastebin.com/77NRE6SZ - maybe you can adapt it 
to your needs.


Thank you for your suggestion.  But I have gotten into a problem I get 
errors and too many directories :(, Directories with spaces get 
recreated and no ogg files are created :(


If your directory and/or file names have spaces, you will have to quote 
the filenames somehow: 'file name' vs. file_name. Maybe you could escape 
the spaces? None of my names have spaces, for exactly this reason.


[ Script mostly snipped ]


=
#!/bin/sh
# From Steve Parker, only slightly modified:

 [ snip ]

traverse()
{
 # Traverse a directory

 ls $1 | while read i
 do
   if [ -d $1/$i ]; then
 THISDIR=$1/$i
 # Calling this as a subshell means that when the called
 # function changes directory, it will not affect our
 # current working directory

 if [ -d $OGGROOT/$THISDIR ]; then
   # directory exists, leave it be
   echo $OGGROOT/$THISDIR already exists, not created.
 else
   mkdir $OGGROOT/$THISDIR
   echo Copying $THISDIR to $OGGROOT/$THISDIR
 fi

 traverse $1/$i `expr $2 + 1`
   else

 [ snip ]

   fi
 done
}

traverse . 0
=

I have modified to above script.  I don't get how the directory
structure is copied?  I don't see a cp -r from_directory/ to
_directory/ then mplayer -ao 


There is no cp -R. What this is doing is replicating the directory 
structure, then copying each file. I missed it too, the first several 
times I looked at it. Almost the entire script is the definition of the 
traverse() function, which is called in the last line. The function then 
calls itself whenever it finds a directory, which makes it recurse. I 
thought it was pretty clever; wish I'd thought of it.


 [ snip ]


Thanks for helping.  I am experimenting and trying not to shoot myself
in the foot.


So was I; that's the main reason why there are all those `echo 
something` lines - I wanted to see what it would try to do, before 
actually turning it loose on my files. That and the fact that doing all 
the conversions takes a few hours.


Good luck.

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: fix an audio conversion script to work through multiple directories and convert mp3s to ogg vorbis

2011-05-07 Thread Chris Hill

On Sat, 7 May 2011, Antonio Olivares wrote:


My question is the following:
How can I run the script to recursively find all mp3's and convert them 
to ogg vorbis(with ogg extension already in place/or rename them in one 
step[instead of running two scripts] and deleting the mp3's) all in one 
time?


I had a similar (but not identical) problem, and I wrote a script to solve 
it. I wanted to recursively go through a directory tree, find flac files, 
and make mp3s of them while transferring over the ID3 tags, while keeping 
a duplicate directory structure for the mp3s. And don't do the conversion 
if the file already exists.


My script is based on traverse2.sh by Steve Parker, which is at 
http://steve-parker.org/sh/eg/directories/. His tutorial site is extremely 
helpful, and I recommend it.


My script is at http://pastebin.com/77NRE6SZ - maybe you can adapt it to 
your needs.


HTH.

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Unix basics (was Re: For My Edification)

2011-05-02 Thread Chris Hill

On Mon, 2 May 2011, Louis Marrero wrote:

I have a number of really dumb questions that I hope you might be able 
to shed some light on.


I shall endeavor to provide dumb answers in return :^)  For *good* 
answers, a great place to start is the Handbook, 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html. In 
addition, I'm sure some of the many smart people on this list will speak 
up.


Also, notice that I've changed the subject line to reflect a hint of the 
message's content. This list is archived, and anyone searching later migh 
not know to use 'edification' as a search term.


Although I am familiar with basic computer operation, I've been trying 
to understand a very experienced programmer friend that mixes Linux/Unix 
terminology in his vocabulary under the assumption that everyone knows 
the language.


Being familiar only with general knowledge on the Windows XP that I use 
daily, I've gone on the web to find out more information on some of the 
terms used by this programmer, such as BSD, shell terminal, nc -u, 
etc.  Since my friend knows that my computer is strictly MS Windows, 
when my friend writes down something like In a shell terminal type nc 
-u 10.101.97.200 . it makes me wonder what I'm missing.


When he says shell terminal, think command prompt. nc is netcat, but I 
didn't know Windows had that. In your friend's defense, I use Windows 
every day (at work) and I can't always remember what things are called. 
Especially since MS changes terminology every now and then, evidently just 
for the hell of it.


1.  I know that Windows is an OS, and Linux/Unix as well as FreeBSD are 
other Operating System.  My very basic question is this: Is it even 
possible to install a second OS, like FreeBSD on an existing 
Windows-based computer?


Yes. You can either set it up for dual boot - either by adding a second 
hard drive, or by partitioning your existing drive if there's space - or 
you can run another OS within a virtual machine of some sort. The latter 
would need a pretty fast machine if the guest OS is to have decent 
performance.


Having said that, I found it easier to get started using an old PC that 
was too slow to run a modern Windows, but perfectly fine for a GUI-free 
BSD. I'm typing this on an old Dell that I bought on ebay.


2.  Is it possible to link my Windows laptop to a web server with Unix 
or FreeBSD and exercise Unix/Linux commands.  If so, how is that done?


The server's admin would have to give you a shell account. Most commercial 
ISPs won't do that, but maybe your friend will.



I'd be grateful for any information.


Hope this helps, and welcome.

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: Suddenly lots processes exits signal 11 (core dumped)

2011-04-27 Thread Chris Hill

Devin,

Thanks for the reply. Info inline.

On Tue, 26 Apr 2011, Devin Teske wrote:


-Original Message-
From: Chris Hill [mailto:ch...@monochrome.org]
Sent: Tuesday, April 26, 2011 4:51 PM
To: Devin Teske
Cc: david.robi...@fisglobal.com; freebsd-questions@freebsd.org; Teske, Devin
Subject: RE: Suddenly lots processes exits signal 11 (core dumped)

On Tue, 26 Apr 2011, Devin Teske wrote:


Continue on to create a 2nd [visible] partition beyond the primary
bootable [invisible] partition (allowing you to use the remainder of
your thumb drive for usable storage)...

5. Execute: echo p 2 0x0c * * | fdisk -f - /dev/da5
NOTE: again, assuming `da5' is your thumb drive


tripel# echo p 2 0x0c * * | fdisk -f - /dev/da0
*** Working on device /dev/da0 ***
fdisk: Class not found
tripel#


Hmmm. Odd. That's worked for me on FreeBSD-4.11, 6.1, 7.2, and 8.1 (both 
i386 and amd64).


I zeroed the thumb drive as you suggested, but got the same result from 
`echo p 2 0x0c * * | fdisk -f - /dev/da0` as before.


BTW, that wiping of the thumb drive took over 14 hours! I should have 
thought to specify a large block size.



What's the output of:
uname -spr


FreeBSD 8.0-STABLE i386


Also, after completing the dd(1) command, what's the output of:
fdisk -p /dev/da5

It should look something like this:

# /dev/da5
g c31 h64 s32
p 1 0x17 1 64259
a 1


Here's a sequence of events, after dd'ing the Druid iso:

tripel# fdisk -p /dev/da0
# /dev/da0
g c1945 h255 s63
p 1 0x17 1 64259
a 1
tripel# echo p 2 0x0c * * | fdisk -f - /dev/da0
*** Working on device /dev/da0 ***
fdisk: Class not found
tripel# fdisk -p /dev/da0
# /dev/da0
g c1945 h255 s63
p 1 0x17 1 64259
a 1
p 2 0x0c 64260 31182165

Does this mean the second fdisk succeeded, despite what looked like an 
error?


Something you might also want to try is zapping the disk (wiping all 
contents) prior to trying again:


dd if=/dev/zero of=/dev/da5


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: Suddenly lots processes exits signal 11 (core dumped)

2011-04-26 Thread Chris Hill

On Tue, 26 Apr 2011, Devin Teske wrote:

Continue on to create a 2nd [visible] partition beyond the primary 
bootable [invisible] partition (allowing you to use the remainder of 
your thumb drive for usable storage)...


5. Execute: echo p 2 0x0c * * | fdisk -f - /dev/da5
NOTE: again, assuming `da5' is your thumb drive


tripel# echo p 2 0x0c * * | fdisk -f - /dev/da0
*** Working on device /dev/da0 ***
fdisk: Class not found
tripel#

Any notion why? `man fdisk` isn't much help.

Thanks.

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: grep: write error: Broken pipe

2011-03-06 Thread Chris Hill

On Sun, 6 Mar 2011, ?? ??? wrote:

My other question is, those of you who answer questions and debug 
problems on this list, what do you all get out of it?  I feel kind of 
selfish asking for what is basically free technical support; how best 
can I repay you all?


When you become knowledgeable, start answering questions yourself. I 
rarely have anything to contribute, but when I do I'll answer a question.


As to why, there's an element of long-term self-interest: the more 
successes there are, the larger the user base becomes, the more experts 
develop. As a FreeBSD user, it's in my interest to have a large installed 
base and a large and robust user community since this will (I think and 
hope) ultimately mean more awareness from hardware makers and thus a 
continued supply of hardware I can use. Well, applications software too.


And if you become an expert, maybe you can answer *my* question next time 
:^)


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: android

2011-02-14 Thread Chris Hill

On Mon, 14 Feb 2011, ajtiM wrote:

I bought HTC Inspire 4G phone and I lie to upload some mp3 files. When I 
connected a phoe to the USB port I got:


da4 at umass-sim1 bus 1 scbus3 target 0 lun 0
da4: HTC Android Phone 0100 Removable Direct Access SCSI-2 device
da4: 4 MB/s transfers

How can I mount it, please?


Your phone might be similar to my HTC Evo. In the phone, I had to go to 
Settings - Connect to PC and set 'Default connection type' to 'Disk 
drive'. Once I did that, I could mount the phone in the same manner as a 
thumb drive.


HTH.

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Is there a 'Y' (i.e. branch) version of a command pipe?

2011-01-08 Thread Chris Hill

On Sat, 8 Jan 2011, Modulok wrote:


Is there a command that lets me send standard input to two different
places at the same time? (i.e. non-sequentially.) Think of it like a
pipe character, but with a 'Y' branch instead. Basically, I want to
record standard input to a log file, but also send it to another
command for processing.


tee(1)?

[snip]

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Installer program for FreeBSD-9.0?

2010-12-07 Thread Chris Hill

On Wed, 8 Dec 2010, Julian H. Stacey wrote:

[ snip ]

   - There are small clones of standard vi, with executables
 no larger than ee, could replace ee.


I think ee is actually a good choice for this application. vi can be a 
little frustrating for those who rarely use it, and it's downright 
impenetrable to someone who has never seen it before. With ee, a newb has 
a fighting chance.


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Digital camera (Canon)

2010-11-27 Thread Chris Hill

On Sun, 28 Nov 2010, Bernt Hansson wrote:

I have a digital camera, Canon powershoot sx130 is. That I wish to 
mount. The camera contains an sd-card that I wish to extract the photos 
from.


ugen2.2: canon inc. at usbus2


I have a Canon Powershot S5IS that behaves similarly. I have found that it 
can't be mounted like a disk drive, even though you would think it should 
work that way. Instead, I have to use gtkam to get the pictures off of it 
- /usr/ports/graphics/gtkam


Also had to change some system stuff in order to be able to do this as an 
ordinary user:


Added to /etc/devfs.conf
# Allow members of group operator to use USB
own usb*root:operator
permusb*0660

...and here is my /etc/devfs.rules in its entirety:
# Added so ordinary users can use the USB camera if they are
# members of group 'usb'
#
[usb_devices=10]
add path 'ugen*' mode 0660 group usb
add path 'da*s*' mode 0660 group usb
#
# 20091231: added the following for 8.0, since usb is handled
# differently now. Hoping this will make gtkam work.
add path 'usb/*' mode 0660 group usb

HTH...

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: hostname

2010-10-30 Thread Chris Hill

On Sat, 30 Oct 2010, Tim Kellers wrote:


On 10/30/10 4:00 PM, Tim Dunphy wrote:

how can I set the hostname so that it persists through reboots? I have
set the hostname I want in /etc/hosts but rebooting the change does
not show up. In CentOS you have /etc/hostname which serves this
purpose but in FreeBSD I don't know how to do this.


thanks


edit /etc/rc.conf and enter:

hostname=[put your hostname here]

change the [put your hostname here] to your actual hostname.

And it will load the name on (re)boot.


If you don't want to wait for reboot, you can set it immediately by typing

  hostname putyourhostnamehere

as root, substituting your desired host name for putyourhostnamehere. Also 
see `man hostname`. Note, this is *in addition to* editing rc.conf. The 
hostname command sets the hostname right now, and rc.conf makes it happen 
on each boot.


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: how now [green] KDE?

2010-10-10 Thread Chris Hill

On Sat, 9 Oct 2010, Gary Kline wrote:

It has been nearly ten years since I last dealt with getting-X-going. 
Right now I have ballpark 530 ports installed. Can anybody give me the 
command that I can type from /usr/ports?


Last time I installed X, I used the x11/xorg metaport and pkg_add:

  pkg_add -r xorg

...much faster than building ports. I don't know how much about KDE, but 
I'd suggest that you get X working first and then tackle KDE, rather than 
try to do everything in one big step.



Also, what do I add to ~kline/[*]?


I have the file .xinitrc in ~, but I think that gets created by the xorg 
install process. Don't know what you would need for KDE, but I would hope 
the package/port would create a default version of whatever you need.


Hope it goes well!

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: X11 question

2010-08-12 Thread Chris Hill

On Thu, 12 Aug 2010, Fred Boatwright wrote:

[snip]

I installed x11-servers/xorg-server but maybe should have installed Xorg 
instead.  However, from looking at the pkg-descr for xorg it looks like 
it will install a huge amount of software that will not get used.  I am 
reluctant to do this.  I have installed 8.0-RELEASE from the CD and I 
want to run olvwm for a desktop.  I have been using Solaris 2.6 with the 
OpenWindows desktop for 12 years and consider it to be as close to 
perfection as one can get.  I am being forced, kicking and screaming, to 
move to some other type of Unix on a PC and would like to continue using 
OpenWindows.  It is probably going to be an uphill battle to get olvwm 
to work.  Am I going to have to install xorg to get everything needed?


It really is the simplest way to get X working, and IMHO the least painful 
way to install xorg is to use the package. Without installing the xorg 
meta-port, you'd end up installing a lot of it by hand anyway.


Come to think of it - since olvwm is a port (/usr/ports/x11-wm/olvwm), I 
*guess* it would pull in all of xorg as a dependency anyway.


I, too, took a long time to come around to the idea that it doesn't do any 
harm to have unused software lying around. Disk is cheap; life is short.


Hope this helps.



Best regards,
Fred

Tim Kellers wrote:


Fred,

 From man startx(1):

SEE ALSO
xinit(1), X(7), Xserver(1), Xorg(1), xorg.conf(5)

Try:

# whereis X

If X is installed, it should return:

# X: /usr/local/bin/X

pkg_which if X is installed should return:

# pkg_which /usr/local/bin/X

xorg-server-1.7.5,1

If it doesn't, then the full X server isn't installed:

Try:

# whereis xorg

xorg: /usr/ports/x11/xorg

If xorg isn't installed, cd to:

/usr/ports/x11/xorg

and

make config-recursive  (If you add any options, run make
config-recursive a second time after the shell prompt returns)

and then

make install clean

HTH

Tim Kellers

On 08/12/10 15:40, Fred Boatwright wrote:

Hi Oliver and Tim,

I installed xinit but startx still doesn't exist.  whereis returns
nothing and man startx returns nothing.

Fred

Tim Kellers wrote:


/usr/ports/x11/xinit

On my system (with X, obviously, already installed):

beta# whereis startx

startx: /usr/local/bin/startx /usr/local/man/man1/startx.1.gz

beta# pkg_which /usr/local/bin/startx

xinit-1.2.0

beta# whereis xinit

xinit: /usr/local/bin/xinit /usr/local/man/man1/xinit.1.gz
/usr/ports/x11/xinit

I' m not certain about the p5/Perl TK questions, but in the file:
/usr/ports/x11-toolkits/p5-Tk/pkg-descr
there is this description:

This a re-port of a perl interface to Tk8.4 (John Ousterhout's production
release).

Perl API is essentially the same as Tk800.025 but has not
been verified as compliant.

It also includes all the C code parts of Tix8.1.4 from SourceForge.
The perl code corresponding to Tix's Tcl code is not fully implemented.

This version (Tk804.025) is only likely to work with perl5.8+.

Tim Kellers

On 08/12/10 12:02, Fred Boatwright wrote:


Hello,

Where would I find startx?  I assume it is part one of the ports under
X11
but I don't want to install all of them to find it.

Also, is p5-Tk the same as Perl/Tk?

Best regards,

Fred



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org



--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE:resize freebsd slice

2010-06-11 Thread Chris Hill

On Sat, 12 Jun 2010, Giorgos Tsiapaliokas wrote:

only /home is in a diferent partition,but i don't care because i don't 
have any file in it (only .xinitrc,but this is not a prob)


i give as a root the command dump -0Lauf /mnt/hd/FBSD/ /dev/ad0s3a

but i receive the following error:

 DUMP: Date of this level 0 dump: Sat Jun 12 01:39:31 2010
 DUMP: Date of last level 0 dump: the epoch
 DUMP: Dumping snapshot of /dev/ad0s3a (/) to /mnt/hd/FBSD/
 DUMP: mapping (Pass I) [regular files]
 DUMP: mapping (Pass II) [directories]
 DUMP: estimated 6843871 tape blocks.
 DUMP: Cannot open output /mnt/hd/FBSD/.
 DUMP: Do you want to retry the open?: (yes or no)

i tried to reopen the output but it had no effect.


Is there a filesystem at /mnt/hd/FBSD/? Please show us the output of the 
df command.


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: office apps

2010-06-07 Thread Chris Hill

On Mon, 7 Jun 2010, Chip Camden wrote:

[...] I do have clients who send me Word docs, and one who requires that 
I send them specs in Word format.  For that, I guess I'm stuck using 
some behemoth office tool, if only for converting from a different 
format.  I'm currently doing that work on a Windows workstation, but I'd 
like to limit my involvement with Windows to only developing for it when 
I must.


I have clients like that too. What I've done - only once or twice, and 
really just to be a dick - is to do my writeup in ASCII text, then `mv foo 
foo.doc`. There, it's in word format! And Word really can open the file, 
so...


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: unexpected operator .sh error

2010-05-31 Thread Chris Hill

On Tue, 1 Jun 2010, Aiza wrote:


Added some code to a .sh script.
When I run the script works but issues this message
[: =: unexpected operator

No line number telling where to look.
I am not ever sure its talking about.

IS [: whats wrong or =:


I'd guess that what you added includes something like
  if [ x=y ]
  ...

The open-square-bracket, [, is another name for test. IIRC the equal sign 
is not valid in that context.


Can you post the 'before' and 'after' versions of that part of your 
script? It would help us in determining what the problem is.


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Very simple file sharing between FreeBSD server and windows client ?

2010-05-10 Thread Chris Hill

On Mon, 10 May 2010, Chip Camden wrote:

[snip]


Does anyone have a recommendation for NAS that works well for both
FreeBSD and Windows clients?


I built a FreeNAS last year which works like a champ for FreeBSD and 
Windows XP clients. I'm using it for backups: rsync for the FreeBSD 
clients, NASbackup for the Windows ones.


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: .Xmodmap problems after upgrading to Xorg 7.5

2010-05-07 Thread Chris Hill

On Fri, 7 May 2010, Joey Mingrone wrote:


My .Xmodmap is included below.  When I run

%xmodmap ~/.Xmodmap

the output is:

xmodmap:  .Xmodmap:13:  bad keysym in remove modifier list
'Caps_Lock', no corresponding keycodes


[snip]

When I encounter an unfamiliar error, I'll paste the entire error text 
into google. Sometimes that helps.



Does anyone know why the keysyms aren't mapping to the keycodes?


All I can offer is my own .Xmodmap, which is a small subset of yours.

[snip]


remove Lock = Caps_Lock
keysym Caps_Lock = Control_L
add Control = Control_L


It looks like you're trying to end up with two left-control keys and no 
CapsLock. My .Xmodmap wants to swap CapsLock with the left Control key, 
for which purpose the following works. I don't know if the order of 
remove, keysym and add matters, but it might.


remove Lock = Caps_Lock
remove Control = Control_L
keysym Control_L = Caps_Lock
keysym Caps_Lock = Control_L
add Lock = Caps_Lock
add Control = Control_L

[snip]

HTH.

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: booting??

2010-05-05 Thread Chris Hill

On Wed, 5 May 2010, Polytropon wrote:


On Wed, 5 May 2010 09:59:35 -0700, Gary Kline kl...@thought.org wrote:

(I did try

  # cdrecord dev=1,0,0 foo.iso

on a non-empty and and empty DVD.  no joy.


I'm not sure it's safe to use cdrecord for DVDs. Anyway, I
always wqas lucky using growisofs (from port dvd+rw-tools).
This is the command:

# growisofs -dvd-compat -Z /dev/dvd=foo.iso

You can replace /dev/dvd with the ATAPICAM device refering
to your DVD recorder, usually something like /dev/cd0. The
command

# camcontrol devlist

shows you the device name (l?ok for the SCSI ID 1,0,0 as
from your cdrecord example).




what are the magic commands to use from the cmdline to
erase my dvd?  is there a utility to erase?


In man growisofs I found this:

Note that DVD+RW re-formatting procedure does not
substitute for blanking.  If you want to nullify
the media, e.g. for privacy reasons, do it
explicitly with 'growisofs -Z /dev/dvd=/dev/zero'.

This should work, or try the respective cdrecord blank=
command (all or fast).


In addition to Polytropon's sage advice, I need to mention that you never 
said that these were rewritable DVDs you're working with. Not saying 
you're that dumb, but *I* am that dumb so it's the sort of thing I might 
have overlooked. Also, make sure that (assuming they are rewritable) they 
are the right kind for your drive: the plus and minus discs are not 
the same; that's DVD+RW versus DVD-RW.


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Addition to BSDstats

2010-05-05 Thread Chris Hill

On Tue, 4 May 2010, Marc G. Fournier wrote:


On Tue, 4 May 2010, Gary Kline wrote:


On Tue, May 04, 2010 at 09:12:21PM -0300, Marc G. Fournier wrote:

On Wed, 5 May 2010, Fbsd1 wrote:


BSDSTATS is dead. Don't waste your time.


Not dead, still very active with reports in daily ...


i see a golden opportunity here, marc.  why not post the
basic onlist now?  i've been signed up for a long while and
have never checked ... be nice to see the latest stats.


Stats are updated real time ... just go to http://www.bsdstats.org ...

The only stats that aren't working right now are the ports ones, not 
sure why we disabled that one, but suspect alot of it is size / load 
time related ... the database is *huge* for that ... I'm going to have 
to look into that one ...


Since we're on the topic, and in light of Fbsd1's recent adventure... 
Panama seems awfully high in the country stats. I understand what you said 
upthread about haproxy being in Panama, but it's a small country to be 
always at the top; maybe there's some way to differentiate between really 
in Panama and don't know? It also seems odd that I, personally, as a 
home user, should be responsible for about 3% of the bsdstats-reporting 
FreeBSD machines in the US. (3 hosts out of 101)


Just wondering.

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Network laser printcap

2010-04-24 Thread Chris Hill

On Sat, 24 Apr 2010, Graham Bentley wrote:


Could anyone using a network laser printer post
their working /etc/printcap entry?

Having mixed results getting a Kyocera FS-1010
working consistently on both ascii  ps


This has been working for many years, 4.x through 8.0:

lp|HP ColorLaserJet 4550N:\
:sh:\
:sd=/var/spool/output/lpd:\
:mx#0:\
:lp=:rm=snowball:rp=auto:

...snowball is the printer's hostname.

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: how to use cdrecord

2010-03-13 Thread Chris Hill

On Sun, 14 Mar 2010, Aiza wrote:

[snip]

tried cdrecord -v speed=2 dev=acd0 blank=fast
gives this error Open by devname not supported on this OS.

What device am i to use?


cdrecord wants to see your ATA burner as a SCSI device, so you'd use
  cdrecord dev=1,0,0 ...
The numbers after dev= depend on where your burner is; find it using
  cdrecord -scanbus

HTH.

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: RS232 / TCP converter and BSD.

2010-03-04 Thread Chris Hill

On Thu, 4 Mar 2010, Olivier GARNIER wrote:

I have a weather station (Lacross WS2350). (can be connect by USB / 
RS232). I want to get data from a FreeBSD server 70 meter from the 
weather station (with http://www.wviewweather.com/ software). I already 
have a RJ45 cable between the two objects.


I wish i could get a RS232 to RJ45 connecter like this one : 
http://www.lextronic.fr/P6554-convertisseur-tcpip--rs232-cse-h53.html 
And use it to connect the weather station to the RJ45 network, and then 
get data from my BSD.


The bad point is that the soft witch are given with the RS232 to RJ45 
translater are for windows, and it make a virtual port on windows. I 
don't know if it will work on BSD. If it does not work, i'll be oblige 
to buy another RJ45 to RS232 translater... and it's not cheap.


Has anybody already done a such network ?


I have used this:

http://www.extron.com/product/product.aspx?id=iplts6s=0

...with no issues. This one has six RS232 ports; they also make versions 
with one, two and four ports. The interface is software-neutral - just 
open a TCP connection to the device on port 2001, and everything you send 
and receive from the socket goes through the RS232 port. There is an 
embedded web server for configuration.


I don't know what the pricing is on these things, but I'm sure they are 
not cheap (being Extron and all). But they are easy to use, work right and 
don't break. Just my opinion; hope this helps.


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Virtualbox on Freebsd

2010-03-03 Thread Chris Hill

On Wed, 3 Mar 2010, Thomas Lawrence wrote:


  Hello Guys and Gals,
  Can you clear something up for me.
  Is it possible to install the closed source version of Virtualbox on
  Freebsd8.


Glen Barber posted this...

http://www.mail-archive.com/freebsd-questions@freebsd.org/msg217302.html

...last summer. I have not tried it, just saying it's there.

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: zfs on 8.0-RELEASE

2009-11-28 Thread Chris Hill

On Sat, 28 Nov 2009, Victor Lyapunov wrote:

I wanted to ask a simple question, is ZFS now ready to be used on 
production systems?



From Thursday's announcement:


- ZFS no longer in experimental status

...so I would guess the answer is 'yes'.

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Wifi Router and FreeeBSD - need some hints..

2009-10-25 Thread Chris Hill

On Sun, 25 Oct 2009, Erik Norgaard wrote:


herbert langhans wrote:

Hi Daemons,
I need some basic information about Wifi routers - very little I know 
about it.


There is my FreeBSD-server (the other one is Linux) and some clients 
are connected with a LAN-switch.


Now I want to add a Wifi Router to the network. I am not sure if I can 
set up the router without using some Windows software what comes with 
the router.

My questions:
I just connect the Wifi router to the LAN and it should work? Or do I 
need any software (drivers) to keep the thing running?


In the simplest case, yes, you can just plug it in. But see below.

There must be some software to 'talk' to the router - for setup. Is 
there anything available for FreeBSD or do I need Windows environment 
(what I dont have available)? What did you use to install your 
Wifi-router?


It depends on the router. Many if not most routers provide a web based 
configuration tool, but a special application may be needed to update 
firmware.


I have an airport extreme, works great, but no web interface. My DSL is 
a 3Com with WiFi, it also has a web interface. I have seen routers that 
allows a commandline configuration tool, connect with ssh or telnet and 
upload or download the configuration with ftp.


I have never installed an airport, but I have installed many 
consumer-grade Linksys, D-Link and Netgear WiFi boxes. They *all* have had 
a web interface and were pretty simple to set up. One thing to watch out 
for: before plugging in the ethernet wire, check the manual to see what 
the box's default IP address is. If it's the same as your gateway, you'll 
have to take steps to isolate them during the time it takes to change the 
WiFi box's IP.


Other than changing the IP (and a password), all I've ever done is set up 
the wireless channel, SSID and encryption (type and key).


HTH.

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: NTP Client synchronization with a Windows 2003/2008

2009-10-14 Thread Chris Hill

On Wed, 14 Oct 2009, Jacques Henry wrote:


The 19 minutes between when I sent my suggestions and you responded is
hardly enough time to see if ntpd was slewing the time.  Slewing 587
seconds takes days.




The thing is that ntpd is not slewing the time at all, even after several
hours!!


If I may pipe up... Can you not set the clock manually, then let ntpd take 
it from there? Seems like your clock would become synced a lot faster if 
it started out close. Sorry if I'm being naive, but this seemed like the 
obvious thing to do.


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Updating the ports collection

2009-10-06 Thread Chris Hill

On Wed, 7 Oct 2009, Olivier Nicole wrote:


Hi Chris,


The FreeBSD handbook section 4.5.1 describes several methods for
obtaining the ports collection including CVSup, Portsnap, and sysinstall.

Section 4.5.1 also describes how to update the ports collection, but
only for the CVSup and Portsnap methods.

Q1: How do I update the ports collection after using sysinstall to
obtain it?


I cannot speak for postsnap, but for cvsup:


csup works (almost?) the same as cvsup, and is in the base system 
nowadays. I used to install cvsup, but now I only install fastest_cvsup; 
it's just a utility to find the fastest server for you at the moment.



Some may correct me, but I use a file that contains:

*default tag=.
*default host=cvsup2.jp.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs
*default delete use-rel-suffix
*default compress
ports-all


I do the same, and run csup as:

csup -g -h `/usr/local/bin/fastest_cvsup -Q -c us` /etc/supfile.ports

...where /etc/supfile.ports is pretty much as above. In that case, it 
doesn't matter what default host is set to, since the -h option to csup 
overrides the default. The '-c us' part applies to me, but it might not 
for you; see the man page.


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: DVD-R not recording .iso

2009-09-09 Thread Chris Hill

On Wed, 9 Sep 2009, Al Plant wrote:


Aloha,

on FreeBSD 8 Current

I have installed growisofs. I want to burn a DVD R of 
/path/7.2-RELEASE-p1-i386-disc1.iso .


#growisofs -dvd-compat -Z /dev/cd0=/path/7.2-RELEASE-p1-i386-disc1.iso .

Got this from FreeBSD handbook. Get no such file or directory error. Whats 
wrong with the syntax?


Caveats about anything I say: 1) I'm using 7.2, and b) I'm using +R media.

Nothing is wrong with the syntax, although your command above says the ISO 
file is in a directory called /path. Does the directory exist? Is the ISO 
in that directory? Permissions OK on everything? Does /dev/cd0 point to 
your burner? And as Adam said, make sure you have atapicam loaded.


I'm also assuming that dot at the end of your line is a period at the end 
of your sentence, and not part of the command you issued.



Is this the correct way to copy an .iso onto a DVD-R for installs?


It burns the ISO to the disk as a premastered disk, which is what you want 
in this situation. If you wanted to just copy the ISO as a file, you'd 
replace the = sign with a space.



Or can I just use burncd like somebody on the BSD forum said they did?


I have no idea what somebody on the BSD forum said  :^)

HTH. Hang loose.

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Looking for fast graphical web browser

2009-08-10 Thread Chris Hill

On Fri, 7 Aug 2009, Chad Perrin wrote:


On Mon, Aug 03, 2009 at 08:27:34AM -0400, Chris Hill wrote:


Firefox has not had Ctrl-Q for some time. Try Alt-F followed by Q. I guess
that's 2.5 keystrokes, but at least it's keystrokes.


What version number would you call some time ago?  I just used Ctrl-Q
about six hours or so ago.


I've used it too, but more like six years ago. I have not kept notes on 
the version numbers, just one day noticed Ctrl-Q not working anymore after 
an update. But I would guess it was sometime around the 1.x - 2.x 
transition.


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Looking for fast graphical web browser

2009-08-03 Thread Chris Hill

On Fri, 31 Jul 2009, Polytropon wrote:


On Fri, 31 Jul 2009 14:56:36 -0600, Chad Perrin per...@apotheon.com wrote:

On Fri, Jul 31, 2009 at 10:15:32PM +0200, Polytropon wrote:

Firefox even seems to lack a key to quit the program. :-)


That's easy.  Just press Ctrl+Q and it'll close Firefox 
immediately.


Negative for firefox-2.0.0.12,1 (on my desktop system) - no Ctrl+Q. :-)


Firefox has not had Ctrl-Q for some time. Try Alt-F followed by Q. I guess 
that's 2.5 keystrokes, but at least it's keystrokes.


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: need network printer printcap example

2009-06-11 Thread Chris Hill

On Thu, 11 Jun 2009, dacoder wrote:

has anybody got an example of a printcap file w/ an entry for a 
standalone network printer?  i'd be grateful for one.


Here's mine - been working for years:

lp|snow|snowball|lj|ps|HP ColorLaserJet 4550N:\
:sh:\
:sd=/var/spool/output/lpd:\
:mx#0:\
:lp=:rm=snowball:rp=auto:

The printer's hostname is snowball, resolved via /etc/hosts at first and
now via internal DNS.

This printer understands Postscript and plain text, and has always Just 
Worked with no CUPS, filters or any of that stuff needed.


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: RTL8111-GR driver for FreeBSD6.4

2009-05-27 Thread Chris Hill

On Thu, 28 May 2009, Wojciech Puchar wrote:



I have been looking for and have not been able to find out if there is a 
driver for FreeBSD6.4 that supports the RTL8111-GR network adaptor. This is 
a port that is built into the Intel DG31PR Motherboard.  Has anyone been 
able


man 4 re

says it support RTL8111

but i have FreeBSD 7.1


I have a 6.4 machine (about to be retired). On that machine, man 4 re says 
it supports the RTL8111S, but does not mention the RTL8111GR. My guess is 
that your GR will probably work, but it's only a guess. If worse comes to 
worst, throw in a PCI ethernet card from the parts bin.


For reference, you can find man pages for many BSDs (and others) at 
http://www.freebsd.org/cgi/man.cgi - for FreeBSD, this covers 7.2-RELEASE 
back to 1.0-RELEASE.


HTH.

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Java without CUPS

2009-05-21 Thread Chris Hill

On Thu, 7 May 2009, Polytropon wrote:

On Wed, 6 May 2009 22:34:52 -0400 (EDT), Chris Hill 
ch...@monochrome.org wrote:


I know that, since my printer speaks Postscript, I don't need CUPS. 
But some of the ports I'm installing want to install CUPS as a 
dependency. The first one I happened across was java/jdk16, but I'd 
be surprised if there weren't more.


Just as an information: Gimp (Gutenprint) installs CUPS, allthough I 
already have apsfilter (HP Laserjet 4000 PCL). When printing, Gimp 
still tries to connect to server (lpstat).


Ah, I didn't know that. It would be nice if they didn't assume... well, 
never mind.



But I think it's possible to delete CUPS from the system after
JDK is compiled successfully: CUPS isn't listed in RUN_DEPENDS
so it doesn't seem to be required for running JDK / Java.


That seems like a reasonable workaround, being that I'm lazy and all :^)

Thank you for being the voice of reason, and for the obscure Homer 
references.



Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Java without CUPS

2009-05-06 Thread Chris Hill

Hello list,

I know that, since my printer speaks Postscript, I don't need CUPS. But 
some of the ports I'm installing want to install CUPS as a dependency. 
The first one I happened across was java/jdk16, but I'd be surprised if 
there weren't more.


Could it be as simple as
  # make -DWITHOUT_CUPS install
? I see no such possibility in either the config options or the Makefile 
for jdk16, and google was no help.


It's not like the disk space costs anything nowadays, but I chafe at 
installing unneccesary bloat on my system. If it can't be done I'll 
deal, but I'd like to stay CUPS-free if possible.


Thanks very much for any insight.

$ uname -mv
FreeBSD 7.2-RELEASE #0: Fri May  1 08:49:13 UTC 2009 
r...@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Portsnap vs CSup

2009-03-19 Thread Chris Hill

On Thu, 19 Mar 2009, Charles Howse wrote:


On Mar 19, 2009, at 2:13 PM, Adam Vandemore wrote:

I just noticed the description in the man page for freebsd-update:

...Note that updates are only available if they are being built for 
the FreeBSD release and architecture being used; in particular, the 
FreeBSD Security Team only builds updates for releases shipped in 
binary form by the FreeBSD Release Engineering Team, e.g., FreeBSD 
6.1-RELEASE and FreeBSD 6.2-RC1, but not FreeBSD 6.2-STABLE or FreeBSD 
7.0-CURRENT.

Is this saying that I can't get a binary upgrade for 6.4-STABLE?


That is exactly what it's saying.

(You would not believe how long the make world process takes on a Pentium 
200!!)


I believe it; been there! I seem to recall it went something like 'start 
the buildworld and go to bed'.


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: is there a laptop ?

2009-03-12 Thread Chris Hill

On Thu, 12 Mar 2009, John Hendy wrote:

I've never heard of HEAD... I'm pretty new to freebsd, so that could 
very well be why! Google is just giving me search results with people 
doing such and such with 'freebsd-head', not what it is.


Since nobody else has chimed in... HEAD refers to the bleeding edge, aka 
CURRENT. It's what you get if you have


*default release=cvs tag=.

in your supfile when you update the system (not ports). It changes 
frequently. See 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html


[ Lengthy quote snipped 'cause this is OT anyway ]

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: USENET?

2009-03-08 Thread Chris Hill

On Sun, 8 Mar 2009, Gary Kline wrote:


are there any ports that offer an interface to USENET?  I think mozilla
did, but that was a long time ago ... .


news/pan seems to work OK, if you want a GUI. But be aware that 
nowadays, you'll probably have to pay a monthly fee for usenet. ISPs 
don't seem to routinely offer it as part of the deal anymore like they

used to.

HTH.

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Recommendations on reliable home fileserver hardware?

2009-01-18 Thread Chris Hill

On Sun, 18 Jan 2009, Clifton Royston wrote:

[snip]

 Can anyone recommend an integrated SFF system or other small 
case/mobo combination which they're using with FreeBSD 6 or 7, and 
which is both long-lived and fairly quiet?  (It sits on my desk, and 
near my wife's desk, so the vacuum-cleaner-like noise levels from many 
1U servers will not cut it.)


 As I am running two 200G PATA drives in gmirror - this has saved me 
twice now - one additional requirement is that it must fit at least 
two standard 3.5 hard drives and have an IDE interface.  (Eventually 
I may switch over to SATA but would rather not change everything at 
the same time.)  I'd consider running a Mac Mini (tiny, silent, s/b 
reliable) if it weren't for needing 2+ drives for mirroring.


 I'm comfortable either building my own system, or buying a packaged 
system if it offers better value.


I have a Dell GX150 SFF which has been running 24/7 for about two years 
now with no problems (knock on wood). Right now it's running 
7.1-PRERELEASE from November. It's small and very quiet; I like it.


You may have issues with: a) it nominally only supports one hard drive, 
but there are slimline spots for optical and diskette drives, so you 
may be able to commandeer one of those for a second hard drive; b) the 
machine I have has SATA interface, which is truly nothing to fear. From 
FreeBSD's standpoint, it looks exactly like ATA. If I were trying to do 
what you want to do, I'd probably end up with one HD running SATA in the 
hard drive slot, and the other running PATA in the optical slot. I 
don't know if the physical dimensions would work out for that.


See the service manual at 
http://support.dell.com/support/edocs/systems/opgx150/sm_en/smdsktp.htm


..and the user guide at 
http://support.dell.com/support/edocs/systems/opgx150/en/ug/index.htm


Anyway, I've had good luck so far with Dell desktop hardware; it seems 
to be well-made, easy to work with and QUIET. Check it out if you can 
get a machine cheap or free.


Hope this helps.

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Nice web interface or music?

2009-01-01 Thread Chris Hill

On Thu, 1 Jan 2009, stan wrote:

I's like to set up my MP3's so that I can access them from the web 
server on my Free-BSD 7.1 machine. Is there a port, that provides a 
nice interface to this? I'd like something better than just letting 
Apache display the directories.


I like audio/squeezecenter.

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Nice web interface or music?

2009-01-01 Thread Chris Hill

On Thu, 1 Jan 2009, stan wrote:


On Thu, Jan 01, 2009 at 03:29:05PM -0500, Chris Hill wrote:

On Thu, 1 Jan 2009, stan wrote:


I's like to set up my MP3's so that I can access them from the web
server on my Free-BSD 7.1 machine. Is there a port, that provides a
nice interface to this? I'd like something better than just letting
Apache display the directories.


I like audio/squeezecenter.


K, I installed the port, and pointed my browserr at port 9000 to cofigure
it as the instructions sugewsted. I got a page congratulating me on my
purchase of some hardware, andit said I needed to create an account on
thier system. Weird

What am I misunderstanding here?


Sorry for the brevity earlier. The squeezecenter software is intended 
for use in supporting the Squeezebox family of hardware music players 
made by Logitech, hence the congrats. You *don't* actually have to 
create any account, and I'm not sure why they ask you to. You don't have 
to buy a player either; I use the included Java Web Start virtual 
player. On the web interface, look under Extras - SoftSqueeze and use 
either the applet or the JWS. Or you could buy a player [later], or 
both.


You also need to put your music on the server in order to serve it (!). 
I have mine in a hierarchy of directories for artists and albums, but I 
guess you could just put your (properly tagged) mp3s on the machine 
somewhere. Tell squeezecenter where it is and have it re-scan.


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Nice web interface or music?

2009-01-01 Thread Chris Hill

Please keep the list cc'd since others may know more than I do.

On Thu, 1 Jan 2009, stan wrote:


On Thu, Jan 01, 2009 at 04:29:18PM -0500, Chris Hill wrote:


Sorry for the brevity earlier. The squeezecenter software is intended 
for use in supporting the Squeezebox family of hardware music players 
made by Logitech, hence the congrats. You *don't* actually have to 
create any account, and I'm not sure why they ask you to. You don't 
have to buy a player either; I use the included Java Web Start 
virtual player. On the web interface, look under Extras - 
SoftSqueeze and use either the applet or the JWS. Or you could buy a 
player [later], or both.


Thanks for taking the time to help out with this. What I am trying to 
do is make the music available to some friends of mine, who live in a 
diferent city. I want them to be ble to downlaod the songs, so that 
can play them on thier Ipods, and alos listen to the music streamed 
from my machine.


I would first get it working on your local network, then work on the 
remote part.



OK, I downloaded, and ran that.



You also need to put your music on the server in order to serve it 
(!). I have mine in a hierarchy of directories for artists and 
albums, but I guess you could just put your (properly tagged) mp3s on 
the machine somewhere. Tell squeezecenter where it is and have it 
re-scan.


Right, I have them in the webservers tree. I figured out how to point 
the software at them, and created a new directory for the project, 
Now I can work my way through picking musinc, but when I press that 
play Icon (right hand top of the screen). it does not play the misc. 
What am I doing wrong?


I'm guessing that when you say screen, you mean the web interface to 
the Squeezecenter server, accessed via http://your_servers_ip:9000. That 
screen talks to the server; it does not control the local machine on 
which you are browsing to it. Presumably the local machine has the X 
display, sound card etc. Just to confuse the issue some more, the server 
can run on the same machine as you're browsing from.


Although you don't need to buy a hardware player, you (and whatever 
friends want to listen later) will have to run some sort of player. As I 
said before, if you don't want to buy a hardware player you can use 
either of the two built-in Java-based software players.


HTH.

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Image Programs

2008-12-04 Thread Chris Hill

On Thu, 4 Dec 2008, G magicman wrote:

1.  Does Freebsd have a program like Photoshop avail to use a 
copy-left GNU license type ? and a form of Thumbsplus which allows me 
to do rudimentary picture manipulations changing file type, cropping 
etc.  i have all the 3d programs but not these 2 basic ones.


Like Photoshop, the best I can think of is the GIMP 
(/usr/ports/graphics/gimp or http://www.gimp.org/). I hear 
tell Photoshop is more capable, but I haven't used it in about 10 years 
so I don't really know.


For basic editing (crop, resize, gamma, change file type) xv works just 
fine for me (/usr/ports/graphics/xv or http://www.trilon.com/xv/)


BTW these are not part of FreeBSD, but developed and maintained by third 
parties.


HTH.

--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging | ]___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: repair v.7 installation

2008-11-28 Thread Chris Hill

On Fri, 28 Nov 2008, PJ wrote:

[...]

1. On boot up and just before the crash there were warnings of an 
interrupt storm whatever that may mean and then there are messages 
about bad file descriptor; and there is a WARNING / was not properly 
dismounted (obviously because of the hardware problem) and init 
/bin/sh on /etc/rc terminated abnormally, going to single user 
mode


Last time I saw a bad file descriptor it was due to disk problems 
caused by a power hit since I had no UPS on that machine. In that case I 
was able to recover using the manufacturer's utility (seatools for the 
Seagate disk).


2. on bootup, there is a warning - /etc/rc WARNING run_rc_command: 
cannot run /usr/sbin/inetd


3. for login : in openpam_load_module (): no pam_opie.so found

4. login: pam_start(): system error

5. fsck gets wrong superblocks and cannot fix anything

6. When in single user mode, cannot access /usr or /var

So, now I get the feeling that the installation is completely screwed. 
What I would like to recover is onle a bunch of files on the /usr 
partition like the web stuff for apache and some other files.


All of these things smell like disk problems to me. But what do I know.


What are my options? is there a way I could access these files?


Booting from a live CD to recover your files to another drive has bee 
suggested, and that's a good idea. Apart from that, I would try the 
drive manufacturer's recovery tools before abandoning the system. Check 
their website and see if they don't have a bootable ISO with some sort 
of disk tools.


HTH, and good luck.

--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Replace XP with FreeBSD (was Re: (no subject))

2008-11-06 Thread Chris Hill

On Thu, 6 Nov 2008, SAM HAYNES wrote:


Greetings, O Learned Ones
from:  Sam Haynes, Pathfinders 2008

I haven't the foggiest as to how you came to be in my favorites list, 
other than that I probably tagged you in an ongoing search for both or 
either something to replace Win XP and or build my own personal 
server.


I have been usining XP for several years now.  Recently, I tried to 
install XP from my OEM cd and was notified by Gates and Company that 
XP would no longer be supported. Bummer! So what else is new?  Time to 
part company with Bill? Vista was tha final straw.


I need something that will replace XP in all the essentials but 
without a useless bag full of coverups for poor performance..


It depends on what you consider essential. I have been using FreeBSD as 
my daily desktop for maybe 10 years now. The only complaint I have is 
that Adobe steadfastly refuses to let us run a useable Flash player. 
Even that is Adobe's fault, not FreeBSD's.


Debian was the first encouraging encounter. It was recommended as a 
cheap entry into the personal server concept, using a two to three 
year old PC chassis. Sounded good but I could never figure out just 
how to download it.


If you should decide to give FreeBSD a shot, all you need is the disc1 
image from 
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/7.1/ -Well, 
also of course, a suitable machine on which to install. FreeBSD is a 
*lot* less resource-hungry than Windows in my experience.


7.1 is in beta right this minute, but it seems that release is imminent. 
There should be an announcement on the website when the time comes.


Anyway, the idea is to download the ISO file, burn it to a CD, and boot 
the CD. If you're in the learing/experimenting phase, I would strongly 
suggest not doing the experiment on your only computer. You'll probably 
appreciate having a working web browser, email, etc. during the process.


If you're used to Windows, this will be quite different. I like that 
FreeBSD does what you tell it to, not what it thought you might have 
wanted. Of course, that's a double-edged sword.


So, FreeBSD appears in my fave list and server appears in the same 
paragraph as operating system.  Here is my plan.


I am 76, a retired Master Electrician, PC builder since '87, have a 
wife of 40 plus years, debilitating medical problems and a strong 
belief that I can milk a living out of internet affiliate marketing 
despite the current economic crisis.


Good. You have been building PCs -and- doing wiring a lot longer than I 
have been doing either. Nobody needs to tell you what an IRQ is, or why 
a loose neutral might be a problem.


My current model is to generate a basic website, use my existing isp 
to promote two consistent converting products, bootstrap the proceeds 
from that into building my own dedicated server to market 'how-to' 
products over a hundred or more websites.


I have no business sense, and can't comment on the model. But I can say 
that you'd be hard-pressed to find a better server platform than 
FreeBSD.


HTH, and good luck with the plan.

--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: audio streaming without kmplayer, etc???

2008-10-26 Thread Chris Hill

On Sun, 26 Oct 2008, Gary Kline wrote:

Only bleep-Doze or linux works, and I'd like a clue how to stream mp3 
files using X browser on FBSD.  If I try to stream or d/load with 
konq, it asks if I want to Save, Cancel, or use KMplayer.  For most 
audio-- streams that last several minutes to two hours--KMplayer is 
fine.  But for the few French language sites that stream one or two 
syllables at a time, I wind up with multiple KMplayers.  (And 
linguist-dunce that I am, I'll reply a word or phrase 20-30 times. 
Yes, sorry, but I'm that bad.


How do I stream an mp3 file without using a player Or is there a 
way?  (I'd use Ubuntu 8.10, but the port is busted right now. 
Besides, it's time that it just-worked with FreeBSD.  We've already 
got the most rock solid server OS; why can't we go the additional few 
centimeters?


Maybe I'm misunderstanding the question, but mplayer-plugin has worked 
under Firefox for a long time now. If you have a URL, I can try it from 
here.


--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: automagically share knoqueror with ff3-- bookmarks?

2008-09-12 Thread Chris Hill

On Fri, 12 Sep 2008, Gary Kline wrote:


Is there any way, short of writing my own program, to use the tens of
bookmarks i've set up under konq and drop them into firefox3?


I don't know how other browsers work - and haven't investigated this in 
years - but the old Netscape/Mozilla way was to store bookmarks as an 
HTML file, e.g. ~/.mozilla/default/xc43whpq.slt/bookmarks.html


Assuming both browsers work this way, maybe you could symlink one to the 
other?


--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: kldxref: file isn't dynamically-linked^M -- TECRA

2008-09-09 Thread Chris Hill

On Wed, 10 Sep 2008, Polytropon wrote:

[snip]


I'm sure you noticed the Ctrl-M (^M) at the ends of each line.
This seems to be an MS-DOS-like line break (ASCII 0x13 + 0x10).
UNIX (and so FreeBSD) use the NL or LF character 0x10. And 0x13
is the CR character which is equivalent to Ctrl-M, if I do
remember correctly.


Almost correctly. ASCII CR (Ctrl-M) is 0x0d, which is decimal 13; ASCII 
LF (Ctrl-J or newline) is 0x0a, which is decimal 10.


Sorry for the off-topic pedantry.

--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: C++ compiler

2008-07-30 Thread Chris Hill

On Wed, 30 Jul 2008, [EMAIL PROTECTED] wrote:

What is the URL where I can get gcc42 and is it easy to get or do 
I have to do devious things to eventually find it?


# cd /usr/ports/lang/gcc42
# make install clean

--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: question about new monitor...

2008-07-29 Thread Chris Hill

On Tue, 29 Jul 2008, Gary Kline wrote:


On Tue, Jul 29, 2008 at 06:16:35PM -0700, Gary Kline wrote:

i'm on newegg.com that has a whole slew of options for narrowing the
field.

q's:  is a higher contrast ratio better than a lower ratio?


Generally, yes. Contrast ratio in a display is analogous to dynamic 
range in audio.



is the widescreen better than the std?  --i think widescreen is
16x9, standard is 4x3.


Correct about the aspect ratios. As for better, it depends on whether 
your graphics card can run at those resolutions.



I've changed my mind:: if I go to 20 i can get widescreen
with 1680x1050, so my current 1284x1024 would fit.


1280x1024 is actually a 5:4 aspect, but people use it on a 4:3 display. 
I'm doing that right now :^) But if you send it to a 16:9 display it 
will probably appear stretched unless you adjust the display so it's 
effectively not a widescreen display anymore.


Every LCD or DLP or plasma display has a native resolution, which is the 
actual number of pixels in its imaging device. Nowadays they all have 
internal scan converters so that you could, for instance, send your 
1280x1024 to a display of some other native resolution and get a 
picture, subject to some limits (e.g., I doubt any 1024x768 LCD monitor 
would display a 3200x2400 signal). But it will always look best at the 
native resolution anyway, so you're on the right track.



IFF xorg know what kind of beast this is:-)


Well, yeah, that's the elephant in the room, isn't it?

--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: whatkind of 19 LCD display??

2008-07-28 Thread Chris Hill

On Mon, 28 Jul 2008, Gary Kline wrote:

[snip] whatever display i get has to have dual capability. both 
digital and analog-- eventually I'll need a new KVM box.


so what are the top few makes of LCDs out there?


I've been using a ViewSonic VP930b for a few years, and been very happy 
with it. It has two VGA inputs, no DVI. Probably not made anymore so I 
guess that's moot.


HTH.

--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: whatkind of 19 LCD display??

2008-07-28 Thread Chris Hill

On Mon, 28 Jul 2008, Chris Hill wrote:


On Mon, 28 Jul 2008, Gary Kline wrote:

[snip] whatever display i get has to have dual capability. both 
digital and analog-- eventually I'll need a new KVM box.


so what are the top few makes of LCDs out there?


I've been using a ViewSonic VP930b for a few years, and been very 
happy with it. It has two VGA inputs, no DVI. Probably not made 
anymore so I guess that's moot.


- Replying to my own post like a tool -

This monitor does in fact have a DVI input in addition to the two VGAs. 
Don't know if that counts as 'digital' or not.


--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cd drive won't open

2008-06-27 Thread Chris Hill

On Fri, 27 Jun 2008, chip wrote:


chip wrote:
Oddly enough, my cd drive will not open. Just yesterday I installed FBSD 
from cd and it was fine. Now it won't open. I haven't used it since 
installing FBSD.

I've tried umount /cdrom but get an error message

umount: /cdrom: not a file system root directory

Doesn't make any sense. I'm gonna shut down the machine and check the 
cables, just in case it came loose.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]



Well, after reseating the cables for the cd drive, and rebooting 
twice, the drive finally opens. During bootup the system recognizes 
the drive correctly and assigns it to acd0. But, the orange activity 
light stays on continually (not flashing, just steady on) and 
everything is running very slow now. It's definately related to the cd 
drive, but what do I look for?


Maybe the drive is bad? Are you able to try a different drive?

--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [Ports] How to find where a port is located?

2008-06-13 Thread Chris Hill

On Fri, 13 Jun 2008, Gilles wrote:


Hello

Currently, to find where a software is located under /usr/ports/, I
rune the find command. Is there a database that I could query
instead so that it gives out the whole path to that the application?


I wrote a lame-ass script to do this:

$ more /home/chris/bin/findport
#!/bin/sh
#
# Find a port whose name contains the string supplied as argument
#
prev_dir=`pwd`
cd /usr/ports
#
make search key=$1 | grep Path | grep -v deps | grep -i $1
#
cd $prev_dir

HTH.

--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Whine when EHCI controller enabled in BIOS

2008-06-09 Thread Chris Hill

On Mon, 9 Jun 2008, Bob McConnell wrote:


On Behalf Of cpghost

On Sun, 8 Jun 2008 21:40:17 -0600
James [EMAIL PROTECTED] wrote:


I have a high pitched whine coming from my motherboard when the EHCI
USB 2.0 controller is enabled in the BIOS.  The whine only starts

once

FreeBSD 7.0-RELEASE is halfway through booting.

The whine also goes away when I plugin a USB drive in with EHCI
controller enabled (usb keyboard and mouse being already plugged in).

Is this a hardware problem, or could it possibly be software
related???


Hard to tell. I've had whining EPIA-boards when run at 1000 Hz,
and after switching kern.hz to 100 Hz in /boot/loader.conf, the
high-pitched whine stopped entirely. It also stopped when I
slightly deviated from the 1000 Hz (to, say, 900 Hz or 1100 Hz),
so there was obviously some hardware component on the boards
oscillating like mad at this very frequency.

I'm no specialist and it may be an urban legend, but from
what I gathered, some coils could exhibit the behavior of
generating those high-pitched whines when exposed to certain
frequencies.

-cpghost.


No legends here. The horizontal sweep frequency for televisions in the
US is 17,500 Hz.


It was 15,750 for original NTSC (black and white RS170), and changed to 
15,734 when color (RS170A) came in in the 1950s. The vertical scan 
(field) rate also changed from 60 Hz to 59.94. These numbers were chosen 
because they are relatively easily derived from the newfangled color 
subcarrier of 3.579545 MHz, yet close enough to the old values that old 
pre-color TV sets could still lock to the new color signals.


Many people could hear that whistle from cheap flyback transformers. 
Other devices would buzz, hum or rattle when they resonated with EM 
fields. Occasionally they can be heard by humans, more frequently they 
can be heard by their pets. As I have gotten older, I don't notice it 
as much.


The joke used to go, Why did they pick that frequency? Well, the 
crusty old engineers just cranked it up until they couldn't hear the 
flyback anymore. I can still hear it, but then I'm still [just] on the 
candy-coated side of 50.


I guess this is getting a little OT here... but by way of a half-assed 
response to the OP's question, I think Bob is on the right track - seems 
like an electromechanical resonance of some sort.


--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Hi

2008-06-06 Thread Chris Hill

On Fri, 6 Jun 2008, Justin Archer wrote:

Hi, I have just purchased a new Dell Server, to run with Plesk. I have 
just moved from an Apple XServe and seeing that OS X derived from 
FreeBSD, I felt that it was the best choice to start with. My only 
dilemma is, I am wanting to run the system in 64-bit, with using the 
Intel Quad 2.5Ghz Xeon, but I am unsure as to which version I should 
be downloading.


For plesk, I need to use version 6.1 and had read somewhere that I 
would use the AMD 64-bit version, can you confirm if this is correct 
for an Intel processor?


Justin,

Yes, you want amd64 if this is a modern 64-bit Intel CPU. As was pointed 
out recently when someone asked more or less the same question, the 
amd refers to the architecture, not the chip manufacturer.


I know nothing about plesk, but are you sure you *must* have 6.1? The 
legacy production release is now at 6.3. I've never built a 64-bit 
machine, but given the present situation I'd absolutely go with 7.0 for 
a new install, at least for a 32-bit system.


A note, if I may. I have been on this list for many years and can say 
without hesitation that you're unlikely to get an answer when your 
subject line reads Hi. You may want to repost with a subject line that 
more accurately describes your question.


HTH.

--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: RE-upgraded and have a few problems.

2008-05-13 Thread Chris Hill

On Tue, 13 May 2008, Wojciech Puchar wrote:


that the card requires. You can

# kldload sound.ko



are you sure what you say.

kldload sound.ko loads common sound drivers code, not all modules


OK, I sit corrected. I thought it loaded all of them.


kldload /boot/kernel/snd_* would do what you've said

after this - look at logs what module actually fit, and then add

snd_something_load=YES

to /boot/loader.conf to have it loaded every boot.


Exactly.

These seem like issues with X and/or KDE. Are you able to run some other 
window manager, e.g. twm?


icewm is very good for those who like somehow windows looking, but only 
somehow and only looking, it works very fast and very well :)


I suggested twm because it comes with X, and it's a quick and easy 
test of the xserver - trying to separate X issues from KDE issues.


--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: RE-upgraded and have a few problems.

2008-05-12 Thread Chris Hill

On Tue, 13 May 2008, Desmond Chapman wrote:

I reinstalled and re upgraded FreeBSD 7.0 on my drive. The testing 
distribution worked better than the stable. Some of my problems may 
not be directed to the right mailing list for help. Please let me know 
where I can get the information.


By testing, do you mean -CURRENT? What tag are you using in your 
supfile?


As for the mailing list, this is a reasonable place to start. If you 
don't get a solution here, maybe try multimedia for the gstreamer 
problems. There does seem to be a kde-specific mailing list; see 
https://mail.kde.org/mailman/listinfo/kde-freebsd, and also
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/eresources.html#ERESOURCES-MAIL 
for the full list of lists. (URL may have wrapped.)



Sound card is no longer detected.


Maybe since upgrading you are no longer loading whatever kernel module 
it is that the card requires. You can


# kldload sound.ko

...to load all sound modules, for the purpose of finding out which one 
you need. BTW, what make and model sound card is it? Also please post 
the output of the following commands:


$ uname -a
$ dmesg | grep ^pcm
$ pciconf -lv
$ kldstat

DCOP server for KDE3 does not start. KDE hangs and has to be shut does 
by a vtty.


These seem like issues with X and/or KDE. Are you able to run some other 
window manager, e.g. twm?



Gnome-audio gstreamer trouble.


There were some notes recently about gstreamer in /usr/ports/UPDATING; 
look there. If you can be (a lot) more specific about the problem, 
someone here may well be able to help. That is, tell us what you were 
trying to do, what command you issued, what result you expected, and 
what result you got.


HTH.

--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ports Question

2008-04-26 Thread Chris Hill

On Sat, 26 Apr 2008, Grant Peel wrote:

What is the proper method to pass configure arguments when installing 
a port?


example, I am trying to build exim with mysql and spf support

make -D WITH_SPF=YES -D WITH_MYSQL=YES


I think for this example the proper syntax would be:
  make -DWITH_SPF -DWITH_MYSQL
or even
  make -DWITH_SPF -DWITH_MYSQL install clean

..although I know nothing of exim.

HTH.

--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   3   >