Re: Ports Clean
On Fri, Jul 13, 2007 at 01:05:09PM -0500, Josh Paetzel wrote: On Friday 13 July 2007, Grant Peel wrote: Hi all, My ports collection on some of the servers is wasting alot of space. What would be the best method to 'cleanout' the ports dir without adversly affecting the operation of the rest of the server? All of the servers are live production servers. -Grant There are a few possibilities. 1) cd to each installed ports dir and do a make clean 2) do the same but a make distclean 3) rm -rf /usr/ports/*/*/work 4) rm -rf /usr/ports and recvsup the tree -- Thanks, Josh Paetzel or you can put the following in a script # cleaning all work directories of install ports. plist=`pkg_version -voI |awk '{ print $1 }'` for porg in $plist ; do cd /usr/ports/${porg} make clean done -- Alexander FreeBSD 6.0-RELEASE i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to mount USB key
On Wed, Jun 06, 2007 at 01:21:56PM -0400, Mike Jeays wrote: On Wednesday 06 June 2007 12:57, Oscar Chavarria wrote: I want to copy files to it. I introduced the key and was recognized as da0. I did ls dev/da0 == dev/da0 Then mount /dev/da0 /home == incorrect super block. Thank you in advance for any help. If it is a DOS-format device, you need to say mount -t mdsos /dev/da0 /mnt or maybe mount -t msdos /dev/da0s1 /mnt In my /etc/sysctl.conf file I have the following: --- # user mounts devices vfs.usermount=1 --- In my /usr/local/etc/sudoers file I have the following: --- # Defaults specification Defaults env_reset Defaults timestamp_timeout=0 Defaults tty_tickets Defaults requiretty Defaults passwd_timeout=1 # User privilege specification alex ALL=/sbin/umount,\ /sbin/mount_msdosfs --- I have added user alex to the wheel group To mount the device as regular user (alex), I created a sub-directory in my home directory. In this example, my home directory is alexand the sub-directory is mnt_drive Execute the following to mount the drive...considering that /dev/da0 is the drive to mount. sudo mount_msdosfs /dev/da0 /usr/home/alex/mnt_drive Execute the following to un-mount the drive sudo umount /usr/home/alex/mnt_drive Hope it helps... -- Alexander FreeBSD 6.0-RELEASE i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: music-generator for FreeBSD?
On Mon, Apr 30, 2007 at 06:15:57PM -0700, Gary Kline wrote: On Tue, May 01, 2007 at 01:26:48AM +0200, Jona Joachim wrote: On Mon, 30 Apr 2007 08:47:51 -0700 Gary Kline [EMAIL PROTECTED] wrote: Guys, This is a bit off-topic, but maybe somebody out there can give me someclues. Bearing in mind that I know zip about music composition, is there a MIDI (or mp3 or other) toolkit that would generate short background slices of music? Say that I wanted some jazzy melody for several seconds. This application would generate it. Or a classical tune. Last night I found a possibly MIDI app for Windows; there were several that Google found that mentioned Linux but nothing panned out. Anybod know? Take a look at Pure Data (audio/pd in the ports). I just found out about it. It doesn't really create jazz melodies but it such a great synthesizer. It allows you to arrange objects graphically, like oscillators and analog/digital converters and combine them to create sounds. It's a real graphical programming language. Ah,great... I'll give this puppy a try. I'm not opposed to learning yet-another-programming-language. Just that I'm thinking that at least *some*knowledhe of music theory is necessary. Maybe not! gary Regards, Jona -- Und das Sch?nste daran ist, dass die Mehrzahl der Amerikaner durch die von Illuminaten gedeckten Terroranschl?ge so weit in Angst versetzt sein werden, dass sie darum betteln werden, kontrolliert zu werden, wie der Masochist nach der Peitsche wimmert. Hagbard Celine try the following...in the FreeBSD ports audio/abcmidi audio/timidity++ -- Alexander FreeBSD 6.0-RELEASE i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HP OfficeJet OJ5610
On Wed, Mar 28, 2007 at 07:17:20PM -0400, Gerry Freymann wrote: Hello list members! The last time I bought a new printer I had to right away as the old one kicked the bucket and I had work related printed material I just had to print out, so I picked up a cheap Lexmark from Canadian Tire which was on sale. To this day the Lexmark is working great! Except since purchasing it, I haven't been able to print directly to it from my FreeBSD machine because it just isn't (or at least wasn't) supported. Today I see Staples has a HP OfficeJet OJ5610 Colour 4-in-1 printer on at a reasonable price. It's all I need. Since I am soon due to replace both of my print cartridges in the Lexmark, I figure I could just as easily buy the HP printer instead, but I thought I would run this model by the list members to see if it's compatible with FreeBSD, likely through CUPS? Anybody know off hand? Thanks! -gerry Try this site: http://openprinting.org/printer_list.cgi Just type in your printer info. and see how compatible it is. This is how I make my choice on the HP photosmart 7660 -- Alexander FreeBSD 6.0 i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: polling my FreeBSD compariots...
On Mon, Mar 12, 2007 at 05:51:06PM -0400, Parv wrote: in message [EMAIL PROTECTED], wrote Jonathan Horne thusly... ... so far i have it built with 6.2-RELEASE-p2, and xorg up to the minimal desktop. id like to try to try something thats not gnome, or basically id like to try some of the lesser known, but still just as functional desktops. can i get some recommendations, as well as what graphical mail reader and web browser works best with your recommendation? I have been using FVWM 2 (-devel version) for quite a while. Tvtwm is the emergency wm when/if fvwm upgrade goes berserk or has not been installed yet. The most interesting point is that windows are almost in the same place|state -- given same page layout -- whilst switching between the two. I think vtwm provides for more eye candy than tvtwm. I used Ion (pre-lua change) which did not disappoint; have not used current Ion version due to laziness about learning lua just to edit a configuration file. It seemed most helpful in managing gimp windows. Opera is the web browser I use (over Firefox) mainly due the ease of assiging|using key bindings similar to vi or mutt. Mutt (-devel version) is the mail reader in xterm (unless I am in hurry, then mutt works just fine on console too for fast reading). Some of my configuration files .. http://www103.pair.com/parv/comp/unix/cf/ http://www103.pair.com/parv/comp/unix/x/ - Parv I use Opera and sometimes links for browsing. My e-mails: mutt, procmail, getmail, msmtp. My environment is Fluxbox. It's all about taste...try several, then decide what is best for you. -- Alexander FreeBSD 6.0-RELEASE i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: unlisted camera in gtkam?
On Wed, Feb 28, 2007 at 11:48:54AM +0200, t nagu tundmatu wrote: Hello to all, I have a problem with gtkam ? my new camera (Pentax K10D) is not supported. I now got it listed in the menu but trying to 'add a new camera' gives a message 'could not initialize the camera.' Is there any trick I'm missing or is there maybe another program I can use (with the support of this camera) or maybe a third option? Thanks in advance. I don't have a Pentax, but I use a memory card reader for my Olympus. I find it easier to mount, download photos then use gqview to view and gimp to edit. Just make sure you mount it with the mount_msdosfs command. Here is what I have done. In the /etc/sysctl.conf file I have the following lines: # user mounts devices vfs.usermount=1 In the /usr/local/etc/sudoers file I have the following: # Defaults specification Defaults env_reset Defaults timestamp_timeout=0 Defaults tty_tickets Defaults requiretty Defaults passwd_timeout=1 # User privilege specification user_me ALL=/sbin/umount,\ /sbin/mount_msdosfs In my home directory, I have created a directory call ~/mount/camera I am in the wheel group. The command is sudo mount_msdosfs /dev/da?s1 ~/mount/camera replace the ? with your device number. I hope this helps...I am sure there are many other ways to do this. -- Alexander FreeBSD 6.0-RELEASE i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which version of Opera to use?
On Sat, Jan 27, 2007 at 04:09:28PM +0100, Marco Beishuizen wrote: On stardate Sat, 27 Jan 2007, the wise Gerard Seibert entered: I have been thinking of trying Opera in KDE to see if it works better than Firefox. I have been having nothing but problems with Firefox and Flash. Would I be better off trying Opera or Linux-Opera? Both are offered in the ports. I'm using the native FreeBSD version with flash and that works great, so I can only recommend it. Also in my case FF constantly crashed when opening a site whith flash. Until recently only the linux-opera had flash support, but now they both have. Marco -- I might have gone to West Point, but I was too proud to speak to a congressman. -- Will Rogers ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I have use both and if you need flash very often, I'd suggest linux-opera. It tends to handle flash video (google video) better. I currently have native opera. It just takes a few second longer to see the flash video. It does not bother me...but it may bother others. Try both ( one at a time ) and see the difference for yourself. note: I don't use KDE...don't know if that might make a difference in resource loads. -- Alexander FreeBSD 6.0-RELEASE i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: trouble mounting Olympus WS-310M voice recorder
On Mon, Jan 22, 2007 at 11:16:54PM -0800, Garrett Cooper wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 ajm wrote: On Mon, Jan 22, 2007 at 08:42:15PM -0800, Garrett Cooper wrote: ajm wrote: On Mon, Jan 22, 2007 at 12:27:10AM +0100, Tore Lund wrote: Andrew Gould wrote: [snip] this is from a previous message in the thread: attempt: mount -tmsdos -orw /dev/da0s1 /mnt/ws310 try as root or su to root # mount_msdosfs /dev/da0s1 /mnt/ws310 Interestingly enough I tried out these steps as root to see if I could resimulate this with my camera and I ended up with the same results. Only by trying to mount the camera as root could I succeed. Does anyone have a FAT16/FAT32 drive properly mounting under FreeBSD as a non-root user? If so, did you modify /dev, /etc/devfs.conf, or are you using amd(8)? -Garrett Take a look at sudoers(5) and visudo(8) I use sudo to mount my mass storage compliant devices with the following command as regular user: for my mp3 player [EMAIL PROTECTED] sudo mount_msdosfs /dev/da?s1 /usr/home/ajm/mnt/mp3player for my camera [EMAIL PROTECTED] sudo mount_msdosfs /dev/da?s1 /usr/home/ajm/mnt/kodak for a memory card reader [EMAIL PROTECTED] sudo mount_msdosfs /dev/da?s1 /usr/home/ajm/mnt/card_reader Just make sure you change the ? to an actual device number. You do need to create the /mnt directories in your own home directory so that you can read and write to those devices as a regular user. Also use sudo to un mount the device: [EMAIL PROTECTED] sudo umount_msdosfs /dev/da?s1 NOTE: I did not change anything in the /etc/devfs.conf or am I using amd(8). That's not an absolute solution though, because it should work as a regular user (maybe with a bit of fenaggling). Besides, installing sudo is a security risk anyhow.. - -Garrett -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.1 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFtbZmEnKyINQw/HARAjMJAJwPrVm8VI64gdwBwtDOrDmxO+Cv4gCfQzXT eudjUIzKZtXf9g3khIaK84k= =oY+M -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Sudo...security risk??? It depends on how you set it up. This is my setup: See man visudo for a description of Defaults section... # Defaults specification Defaults env_reset Defaults timestamp_timeout=0 Defaults tty_tickets Defaults requiretty Defaults passwd_timeout=1 # User privilege specification rootALL=(ALL) ALL wtck57 ALL=/sbin/shutdown,/sbin/mount,/sbin/umount,\ /sbin/mount_msdosfs # Uncomment to allow people in group wheel to run all commands # %wheelALL=(ALL) ALL # Same thing without a password # %wheelALL=(ALL) NOPASSWD: ALL As you can see I can only run certain commands from sudo... -- Alexander FreeBSD 6.0-RELEASE i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: trouble mounting Olympus WS-310M voice recorder
On Mon, Jan 22, 2007 at 08:42:15PM -0800, Garrett Cooper wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 ajm wrote: On Mon, Jan 22, 2007 at 12:27:10AM +0100, Tore Lund wrote: Andrew Gould wrote: [snip] this is from a previous message in the thread: attempt: mount -tmsdos -orw /dev/da0s1 /mnt/ws310 try as root or su to root # mount_msdosfs /dev/da0s1 /mnt/ws310 Interestingly enough I tried out these steps as root to see if I could resimulate this with my camera and I ended up with the same results. Only by trying to mount the camera as root could I succeed. Does anyone have a FAT16/FAT32 drive properly mounting under FreeBSD as a non-root user? If so, did you modify /dev, /etc/devfs.conf, or are you using amd(8)? - -Garrett -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.1 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFtZICEnKyINQw/HARAjhPAKCpcrg9i5+pw3Hv/0qDqnrO7E3Y1gCeJHpN XJG0nd+4LjvIvNM8ZX5uiFo= =GTAC -END PGP SIGNATURE- Take a look at sudoers(5) and visudo(8) I use sudo to mount my mass storage compliant devices with the following command as regular user: for my mp3 player [EMAIL PROTECTED] sudo mount_msdosfs /dev/da?s1 /usr/home/ajm/mnt/mp3player for my camera [EMAIL PROTECTED] sudo mount_msdosfs /dev/da?s1 /usr/home/ajm/mnt/kodak for a memory card reader [EMAIL PROTECTED] sudo mount_msdosfs /dev/da?s1 /usr/home/ajm/mnt/card_reader Just make sure you change the ? to an actual device number. You do need to create the /mnt directories in your own home directory so that you can read and write to those devices as a regular user. Also use sudo to un mount the device: [EMAIL PROTECTED] sudo umount_msdosfs /dev/da?s1 NOTE: I did not change anything in the /etc/devfs.conf or am I using amd(8). -- Alexander FreeBSD 6.0 RELEASE i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: trouble mounting Olympus WS-310M voice recorder
On Mon, Jan 22, 2007 at 12:27:10AM +0100, Tore Lund wrote: Andrew Gould wrote: [snip] this is from a previous message in the thread: attempt: mount -tmsdos -orw /dev/da0s1 /mnt/ws310 try as root or su to root # mount_msdosfs /dev/da0s1 /mnt/ws310 -- Alexander FreeBSD 6.0-RELEASE i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem with built-in USB memory card reader
On Wed, Jan 03, 2007 at 10:54:08PM +0100, Alexander Pohoyda wrote: Micah wrote: Alexander Pohoyda wrote: Lowell Gilbert writes: Alexander Pohoyda [EMAIL PROTECTED] writes: Everything works perfect if the system is started with a memory card inserted into the reader. The problem arises when the system is started without the memory card inserted. Since the reader is built-in (permanently attached to the motherboard), it is detected by the system at startup and no umass device is created. Inserting a memory card at some later time has no visible effect whatsoever. I'm using the 5.4 release. Is there a solution for this? USB handling would be better in a more recent release of FreeBSD, but I think you should be getting the basic da(4) device, just not the slices (which aren't there yet) if the medium isn't available at boot. Is that the case? [I haven't done this in a while, and don't have access to a card reader at the moment.] Yes, exactly. If no memory cards were inserted at the boot, only da(4) devices are created and inserting/removing memory cards afterwards has no visible effect. This behavior is well known also for external USB card readers, but those are easily detached/re-attached which triggers their re-scanning. I'm asking because Ms Windows somehow gets the insertion event and mounts the memory card automatically. So that is be possible. Does anybody know how that is done? There is a hack, but I can't quite remember it. I think it was true /dev/da0 to get devfs to reread the partitions and create the dev entires. I haven't been able to get to a reader to test it though. Test on a junk media card just in case I'm totally off base. After some experiments in FreeBSD 4.9, I found out that just running the fdisk on da(4) device will enable to mount partitions on it: $ fdisk /dev/da0 *** Working on device /dev/da0 *** parameters extracted from in-core disklabel are: cylinders=495 heads=2 sectors/track=16 (32 blks/cyl) parameters to be used for BIOS calculations are: cylinders=495 heads=2 sectors/track=16 (32 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 1,(Primary DOS with 12 bit FAT) start 25, size 15783 (7 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 10; end: cyl 493/ head 1/ sector 16 The data for partition 2 is: UNUSED The data for partition 3 is: UNUSED The data for partition 4 is: UNUSED $ mount /dev/da0s1 Success This should be automatically done by the system, I suppose. On this list I have found the following two examples: ( considering /dev/da0 is your target ) ( as root or su to root ) # cat /dev/null /dev/da0 -- OR -- # dd if=/dev/null of=/dev/da0 count=0 It is best to put one of the above in a script. -- Alexander FreeBSD 6.0-RELEASE i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Is there reference manual for sh?
On Sat, Dec 30, 2006 at 06:22:09PM -0600, Lane wrote: On Saturday 30 December 2006 12:22, [EMAIL PROTECTED] wrote: On Sat, Dec 30, 2006 at 10:16:20AM -0500, Robert Huff wrote: [EMAIL PROTECTED] writes: I need a reference manual or specification for sh. Where can I find it? In you mean within FreeBSD, try: man sh or man builtin, As a user, the O'Reilly _UNIX in a Nutshell_ I bought many years ago was a very wise investment. If you want to hack the code ... the start with the code. And good luck. Robert Huff I need any online complete manual on sh, not a brief as it is man sh. The last one doesn't describe many features both interactive (command line editing, using history interactively, and many others) and scripting (for example, conditional expressions). Here's a brute-force manual: #!/bin/sh for each in `find /etc/rc.d` do more $each done If you need more than what is there then you probably need Kernigan and Ritchie's The C Programming Language, (still) available on amazon.com. lane How about the following: http://www3.cons.org/cracauer/bourneshell.html http://steve-parker.org/sh/sh.shtml http://www.unixreview.com/columns/schaefer/ or try the following and search for bourne shell http://www.onlamp.com/bsd/ these are all starting points...hope this helps. -- Alexander FreeBSD 6.0-RELEASE i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portversion vs. pkg_version
On Sun, Dec 24, 2006 at 11:21:54PM +0800, Edward G.J. Lee wrote: On Sun, Dec 24, 2006, RW wrote: Personally, I don't like to get version information from the INDEX file, I'd rather get an accurate answer, than a fast one. Another reason I don't like portversion is that it's forever asking me to run pkgdb. Aside from being a pain, it makes portversion unsuitable for use in scripts. You are right. INDEX file will not allways up to date. Edward I have used both pkg_version and portversion. I perfer pkg_version. I use it in the following way: portsnap fetch portsnap update pkg_version -voIL'=' portsnap creates an index file faster than pkgdb...if you use it often. I like to portsnap once a week. otherwise use the pkg_verison without the 'I' -- Alexander FreeBSD 6.0-RELEASE i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: more GIMP qauestions.
On Mon, Dec 04, 2006 at 05:53:10PM -0800, Gary Kline wrote: A day or three ago I posted a question about turning off the grid (which was Off by-default). I did reply t the person o'er yonder by something happened to my mail. So this ACK. I've downloaded the GIMP docs, but HELP still can't find them, so maybe a therapeutic reboot is in order. Anyway, setting Preferences in the first smaller widget with File Xtns Help is the way to globally set a bunch of stuff. I haven't experimented with the plugins yet, but look forward to the adventure! The GIMP is yet more proof of the unbeatable quality of Open Source software. I realize the the GIMP is an image manipulation tool, but it would be nice if there were more tools in the first widget collection. A spray-can similar to that n the KDE paint tool, say, as well as line-drawing aides. One thing I need to sketch is a horizon. So: are there any plugins that will let me do these things within The GIMP? Or better to simply QUIT and use *paint? tia for any advice! gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix Try these references http://manual.gimp.org/or point your web-browser to file://usr/X11R6/share/doc/gimp/GUM/Index.html -- Alexander FreeBSD 6.0-RELEASE i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: umass mount woes
On Sun, Dec 03, 2006 at 02:56:12PM -0800, Neil Short wrote: I got a new whiz-bang mp3 play from SanDisk. I went with SanDisk because they have always worked so well with non-windows for me. Anyway, I'm having a bit of a problem mounting it. Other umass devices work fine on my system. Any help will be appreciated. The device is a Sansa c240. as a usb device, it doesn't default to umass behavior; but it can be set to behave that way. I have set the device USB mode to MSC mode. Some sample system behavior: [EMAIL PROTECTED] ~]# uname -a FreeBSD carmen.opera 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Wed Nov 29 22:46:47 MST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CARMEN i386 ... so I plug in a jump drive. Stdout shows: umass0: LEXAR MEDIA JUMPDRIVE, class 0/0, rev 2.00/30.00, addr 2 on uhub2 (probe0:umass-sim0:0:0:0): Uninitialized Transport 5:e44a4b24? da0 at umass-sim0 bus 0 target 0 lun 0 da0: LEXAR JUMPDRIVE 1000 Removable Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: 991MB (2030592 512 byte sectors: 64H 32S/T 991C) Now I can do the following: [EMAIL PROTECTED] ~]# mount -t msdos /dev/da0s1 /mnt [EMAIL PROTECTED] ~]# mount /dev/ad4s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/ad4s1e on /tmp (ufs, local, soft-updates) /dev/ad4s1f on /usr (ufs, local, soft-updates) /dev/ad4s1d on /var (ufs, local, soft-updates) /dev/da0s1 on /mnt (msdosfs, local) [EMAIL PROTECTED] ~]# umount /mnt ... I then unplug that device and plug in the mp3 player. Stdout: umass0: SanDisk Sansa c240, class 0/0, rev 2.00/7.20, addr 2 on uhub2 (probe0:umass-sim0:0:0:0): Uninitialized Transport 5:c412049c? da0 at umass-sim0 bus 0 target 0 lun 0 da0: SanDisk Sansa c240 Sans Removable Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: 979MB (2006528 512 byte sectors: 64H 32S/T 979C) (probe0:umass-sim0:0:0:1): Uninitialized Transport 5:c045de9c? da1 at umass-sim0 bus 0 target 0 lun 1 da1: SanDisk Sansa c240 Sans Removable Direct Access SCSI-0 device da1: 40.000MB/s transfers da1: Attempt to query device size failed: NOT READY, Medium not present (da1:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:1): CAM Status: SCSI Status Error (da1:umass-sim0:0:0:1): SCSI Status: Check Condition (da1:umass-sim0:0:0:1): NOT READY asc:3a,0 (da1:umass-sim0:0:0:1): Medium not present (da1:umass-sim0:0:0:1): Unretryable error Opened disk da1 - 6 (da1:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:1): CAM Status: SCSI Status Error (da1:umass-sim0:0:0:1): SCSI Status: Check Condition (da1:umass-sim0:0:0:1): NOT READY asc:3a,0 (da1:umass-sim0:0:0:1): Medium not present (da1:umass-sim0:0:0:1): Unretryable error Opened disk da1 - 6 (da1:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 So I then attempt to mount it: [EMAIL PROTECTED] ~]# mount -t msdos /dev/da0s1 /mnt mount_msdosfs: /dev/da0s1: Invalid argument [EMAIL PROTECTED] ~]# mount -t msdos /dev/da1 /mnt mount_msdosfs: /dev/da1: Device not configured [EMAIL PROTECTED] ~]# mount -t msdos /dev/da0 /mnt mount_msdosfs: /dev/da0: Invalid argument [EMAIL PROTECTED] ~]# ls /dev/da* /dev/da0/dev/da0s1 /dev/da0s2 /dev/da1 [EMAIL PROTECTED] ~]# mount -t msdos /dev/da0s1 /mnt mount_msdosfs: /dev/da0s1: Invalid argument ... any ideas? Thanks for checking out my plight. -N Some players have a way to format the memory. Check your owners manual. Since the MSC was not the default...it could be it needs formating. -- Alexander FreeBSD 6.0-RELEASE i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How do I turn off thed grid marking by-default?
On Sat, Dec 02, 2006 at 03:54:20PM -0800, Gary Kline wrote: Guys, Sorry to ask this here, but I've spent hours playing around with The GIMP and googling for instructions to no avail. Whenever I ring up any jpg image, by default, I turned on a grid of + marks. Can somebody *please* tell me how to get rid of this grid? thanks in advance, gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Thought Unlimited Open the image, then left-click-the-mouse on the image. It opens a menu. Choose the View then click the Show Grid. now you could choose this for all the images you edit by: on the gimp window where you have at the top File Xtns Help click on File then click on Preferences under the Image Window title click on Apperance on that window click Grid so that the check mark is gone. then click on the OK button. hope it help... -- Alexander FreeBSD 6.0-RELEASE i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mini-Freebsd system on ram, to reduce noise?
On Sun, Nov 26, 2006 at 02:58:21PM +0200, Lars Udo wrote: Hello, fellow FreeBSD-users. I'm planning to build MiniBSD (from freebsd) with, these instructions: https://neon1.net/misc/minibsd.html i'v red it few times and came to realize, that if i could get that small FreeBSD why wouldnt i run it in RAM? I have Intel 333 Mhz / 256 sdram / 10Gb hd.. and few nics. i could boot up system and then move it into ram, lets say that i'd create 128 Mb size of memorydisk in ram. All data will be wiped during reboot, but i'll keep the original image on harddisk, which will shutdown until all system-files are moved into RAM.. Is this anyway possible? It would reduce noise-level here in my livingroom, so thats all i need, beside NAT/Firewall :) all suggestions are considered, but monowall or picobsd are no options, because i need to learn it myself rather than go'n buy setup how do i create memorybased filesystem? mdconfig -t malloc -s 128m -u 5 newfs -U /dev/md5 mount /dev/md5 / dd if=/mnt/ad0 of=/ umount /mnt/ad0 (drop the harddisk) -- something like that? thanks, for reading :) Greetings Lars 1...Firewall Everything I have read tends to point to roll your own firewall as a better alternative. In other words, learn to use it. I know it's difficult, but it will be worth it. The go'n buy setup sound like M$-plug-and-play. It would create a generic firewall. It may or may-not full protect your system. I would recommend reading http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls.html as well as reading the freebsd questions mail archives. 2...The following quote: which will shutdown until all system-files are moved into RAM maybe you ment to say move out of ram before shutdown. If you have a UPS, then good, otherwise consider getting one. You could end up with a corrupt file system. 3...Do you have a cd-rom drive? You could run Freesbie: www.freesbie.org -- Alexander FreeBSD 6.0-RELEASE i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Lacky Doc @ 5.6.2 Using XDM
On Sun, Nov 26, 2006 at 10:09:58PM +0100, Ralf Schreijer wrote: Hi there! Today I just installed FreeBSD(6.1) for the first time in my life. After several tries on my own I decided to go through the installation by following the instructions in the handbook. I successfully installed and configured Xorg. Everything went well, until I reached the section 5.6.2, Using XDM. I just tried to follow the instructions and enabled xdm to start running on the 9th virtual terminal by replacing the off by on in /etc/ttys: ttyv8 /usr/X11R6/bin/xdm -nodaemon xterm off secure in ttyv8 /usr/X11R6/bin/xdm -nodaemon xterm on secure Now I can't do anything. The system directly boots into the xdm, prompts a loginscreen and if I login as root (or as a user) there is nothing I can do. As I know now there isn't even a chance to leave the xdm. If I hit Ctrl+Alt+Backspace, it flips into the shell an returns immediately to xdm and prompts the login again. I tried fixing this through booting in Single User Mode, but I wasn't successful because I have no write permission in /etc/ttys during this mode. I bet it won't be the only solution to reinstall the entire system, isn't it? Since I followed the Documentiation from Install until section 5.6.2, Imho, there is a small warning missing in the documentation. Sth like this: Beware of enabling the xdm-virtual-terminal because you can only return to the shell while doing sth you dont know yet :-). May be you can find some time to send me a feedback or some kind of solution to fix my problem. Thanks so long. Ralf PS: I'm sorry for my english. I hope you could even understand me! -- Ein Herz f?r Kinder - Ihre Spende hilft! Aktion: www.deutschlandsegelt.de Unser Dankesch?n: Ihr Name auf dem Segel der 1. deutschen America's Cup-Yacht! -- Ein Herz f?r Kinder - Ihre Spende hilft! Aktion: www.deutschlandsegelt.de Unser Dankesch?n: Ihr Name auf dem Segel der 1. deutschen America's Cup-Yacht! try this: go to single user then do the following: mount -u / mount -a -t ufs swapon -a then go the /etc directory change your settings and shutdown -r now hope this helps. -- Alexander FreeBSD 6.0-RELEASE i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freebsd desktop | mozilla
On Fri, Nov 24, 2006 at 03:41:11PM -0800, probsd org wrote: I'm a long time proponent of FreeBSD as a server. For a long time I've really wanted a FreeBSD system as a desktop. So, I decided to install the FreeBSD 6.2 and compile xorg, gnome, mozilla, etc... to give it a whirl. For anyone reading this, who wants the same thing. DO NOT DO IT. Nothing works. java is borked, mozilla and firefox are borked, gnome is ify ugh. Just dont do it. As a server, I highly recommend it... but it isn't ready for the desktop. I have been using FreeBSD desktop since 5.1. I have three desktops, two have recently been upgraded with 6.1. I don't use java, so I can't tell you about that one. In the past I have used mozilla, then migrated over to firefox. I am currently using opera. I have used both KDE and Gnome, but I like something more light-weight, so I use Fluxbox. If you didn't like gnome, there others you could try. Just look in the /usr/ports/x11-wm/ directory. Perhaps it is the 6.2 that is giving you so much trouble. Why don't you give 6.1 a try. -- Alexander FreeBSD 6.0-RELEASE i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup problems....
On Sat, Nov 18, 2006 at 08:25:57AM -0600, Eric Schuele wrote: Hello, I usually use cvsup5.us.freebsd.org. but it has not given me any new bits for several days now. And if I use ANY other server what usually takes five minutes, takes 30-minutes to an hour (or they just hang). Which is terribly annoying. I've tried picking other servers by hand, and I've tried the fastest_cvsup script. Doesn't seem to matter which I pick. They all seem to be slow except cvsup5... and cvsup5 does not give me anything anymore. No source, no ports, no docs. I have not changed anything on my end. Is there something going on that I am not aware of that is affecting the servers, or my ability to interact with them? Is it related to the release, the move, anything? I'm using RELENG_6. I use: cvsup -g -L 1 ${SUPFILE_DIR}/supfile And: *default host=cvsup3.us.freebsd.org *default base=/var/db *default prefix=/usr *default release=cvs tag=RELENG_6 *default delete use-rel-suffix *default compress src-all ports-all tag=. doc-all tag=. Thanks. -- Regards, Eric I did hear FreeBSD was moving their clusters...could be the delays and hang-ups you have been experiencing? -- Thanks, Alexander FreeBSD 6.0-RELEASE i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Xine and mplayer will not install
On Sun, Nov 05, 2006 at 02:43:29PM +0200, Ion-Mihai IOnut Tetcu wrote: On Sun, 5 Nov 2006 06:11:29 -0500 (EST) [EMAIL PROTECTED] wrote: After a new install of 6.2beta3 and Gnome2.14.2 I am unable to install mplayer. It fails with the following message: === Installing for mplayer-0.99.8_5 === mplayer-0.99.8_5 depends on file: /usr/local/share/mplayer/skins - found === mplayer-0.99.8_5 depends on file: /usr/local/lib/win32/win32-codecs-3.1.0.p8_1,1 - not found ===Verifying install for /usr/local/lib/win32/win32-codecs-3.1.0.p8_1,1 in /usr/ports/multimedia/win32-codecs === win32-codecs-3.1.0.p8_1,1 is forbidden: Remote code execution: http://vuxml.FreeBSD.org/24f6b1eb-43d5-11db-81e1-000e0c2e438a.html. *** Error code 1 Stop in /usr/ports/multimedia/win32-codecs. *** Error code 1 Stop in /usr/ports/multimedia/mplayer. Xine fails for the same reason. Any suggestions for fixing this or getting around it? make -D DISABLE_VULNERABILITIES (Note that it won't get you rid of the security problem, it just disables the check). Another way would be to issue the following commands # cd /usr/ports/multimedia/win32-codecs # make config from the menu deselect the Quicktime option...this is the one with with the problem. then # make install make clean # cd /usr/port/multimedia/mplayer # make install make clean # cd /usr/ports/multimedia/xine # make install make clean -- Thanks, Alexander FreeBSD 6.0-RELEASE i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem updating mplayer
On Wed, Oct 18, 2006 at 12:30:59AM +1000, Norberto Meijome wrote: On Tue, 17 Oct 2006 15:32:25 +0200 Filippo Moretti [EMAIL PROTECTED] wrote: ===Verifying reinstall for /usr/local/lib/win32/win32-codecs-3.1.0.p8_1,1 in /usr/ports/multimedia/win32-codecs === win32-codecs-3.1.0.p8_1,1 is forbidden: Remote code execution: http://vuxml.FreeBSD.org/24f6b1eb-43d5-11db-81e1-000e0c2e438a.html. *** Error code 1 What can be done to solve this problem sincerely Hi Filippo, a) you can work with the win32-codecs team to solve the remote code execution vulnerability b) you can be brave, reckless and probably 0wn3d soon by disabling the vulnerability checks and upgrading anyway (dont know how to do this, sorry) c) you can keep the slightly older port but it seems it is still vulnerable: $ sudo portaudit [...] Affected package: win32-codecs-3.1.0.p8,1 Type of problem: win32-codecs -- multiple vulnerabilities. Reference: http://www.FreeBSD.org/ports/portaudit/24f6b1eb-43d5-11db-81e1-000e0c2e438a.html d) you can uninstall win32-codecs :) other options may be available, but i can't think of them atm :) B _ {Beto|Norberto|Numard} Meijome RTFM and STFW before anything bad happens. Try the following as root or su to root cd /usr/ports/multimedia/mplayer make config then deselect from the menu the Win32 option make install clean note: you will not have win32 codecs support -- Alex FreeBSD 6.0-RELEASE i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Logitech optical mouse w/ scroll wheel
On Wed, Oct 11, 2006 at 02:41:43PM -0700, William Tracy wrote: I thought I'd document my experiences with my Logitech optical USB mouse under FreeBSD 6.1 release 1 so that maybe it will help the next person hunting with Google. :-) Actually, I guess that's FreeBSD 6.1 release 0. :-P In my xorg.conf file I have the following Section InputDevice Identifier Mouse0 Driver mouse Option Protocol auto Option Device /dev/sysmouse Option Buttons 5 Option ZAxisMapping 4 5 EndSection My Logitech optical mouse works fine... Hope this helps. -- Alex FreeBSD 6.0-RELEASE i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: can't built /usr/ports/mail/mutt-ng
On Wed, Oct 04, 2006 at 03:10:16PM -0400, Jeff Dickens wrote: This happens: y# make === Vulnerability check disabled, database not found === Found saved configuration for mutt-ng-20051110_1 = muttng-20051110.tar.gz doesn't seem to exist in /usr/ports/distfiles/. = Attempting to fetch from http://nion.modprobe.de/mutt-ng/snapshots/. fetch: http://nion.modprobe.de/mutt-ng/snapshots/muttng-20051110.tar.gz: Network is unreachable = Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/. muttng-20051110.tar.gz100% of 2668 kB 215 kBps 00m00s === Extracting for mutt-ng-20051110_1 = MD5 Checksum OK for muttng-20051110.tar.gz. = SHA256 Checksum OK for muttng-20051110.tar.gz. === Patching for mutt-ng-20051110_1 === Applying FreeBSD patches for mutt-ng-20051110_1 === mutt-ng-20051110_1 depends on executable: lynx - found === mutt-ng-20051110_1 depends on executable: sgmlfmt - found === mutt-ng-20051110_1 depends on shared library: db41.1 - not found ===Verifying install for db41.1 in /usr/ports/databases/db41 === Vulnerability check disabled, database not found = db-4.1.25.tar.gz doesn't seem to exist in /usr/ports/distfiles/bdb. = Attempting to fetch from http://downloads.sleepycat.com/. fetch: http://downloads.sleepycat.com/db-4.1.25.tar.gz: Network is unreachable = Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/bdb/. fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/bdb/db-4.1.25.tar.gz: size mismatch: expected 3080234, actual 2901161 = Couldn't fetch it - please try to retrieve this = port manually into /usr/ports/distfiles/bdb and try again. *** Error code 1 Stop in /usr/ports/databases/db41. *** Error code 1 Stop in /usr/ports/mail/mutt-ng. I'd go pack and de-select the db4 caching business but I can't figure out how to get to the config menu again go to your /mail/mutt-ng directory and execute make config -- Alex FreeBSD 6.0-RELEASE i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Making simple colorful block diagrams for presentations
On Sat, Sep 16, 2006 at 11:57:35AM +0200, Erik Trulsson wrote: On Sat, Sep 16, 2006 at 03:20:00PM +0530, Girish Venkatachalam wrote: Hello, I want a simple tool that can be used for preparing block diagrams and arrows, that is all. I want to be able to use few colors, that is all. Please don't suggest openoffice or kde. I want something simple. graphics/xfig might be worth looking at. -- Insert your favourite quote here. Erik Trulsson [EMAIL PROTECTED] try alsographics/tgif -- FreeBSD 6.0-RELEASE i386 GENERIC ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firefox+Flash works for sure
On Sat, Sep 16, 2006 at 08:33:11PM +0530, Viswas Nair wrote: I use linux-opera and I have managed to get flash working like a charm. Just go to any website using flash and opera will ask you to download the plugin and automatically take you to the linux page of the flash plugin in the adobe website. Then download the flash plugin tar.gz and save it to some location. Extract the contents and copy the libflashplayer.so file to /usr/X11R6/share/linux-opera/plugins. Close opera and open again and enjoy the world of flash I also use linux-opera...but there some site that are running flash 8 that won't work with the most current adobe flash version 7. -- FreeBSD 6.0-RELEASE i386 GENERIC ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firefox+Flash
On Thu, Sep 14, 2006 at 06:56:30PM -0400, michael johnson wrote: On 9/14/06, Peter [EMAIL PROTECTED] wrote: --- White Hat [EMAIL PROTECTED] wrote: FreeBSD 6.1 I have been trying to get a few of my friends to try FBSD on their PCs without much success. One of the major problems is the inability to get flash to work properly to display videos available on Google. I know that the linux-flash port is marked broken, so that it out. How else can I get flash to work so I can perhaps persuade them to try FBSD? Yes, the Flash issue is a real bummer. It is best *not* to show your friends that when you introduce them to FBSD. You can always just use www/linux-firefox and use flash with it. It works quite well. I use www/linux-opera. No problems here... -- FreeBSD 6.0-RELEASE i386 GENERIC ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: easy patch management tools
On Sun, Sep 10, 2006 at 02:06:14PM -0400, RJ wrote: Suggestions from another rookie(me): I use the ports tree and portsnap, http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/portsnap.html, and when it's time to update the following one liner works great for me: cd /boot/ ; cp -Rp kernel kernel.good ; cd /usr/src ; cvsup -gL2 /usr/share/examples/cvsup/standard-supfile ; make -j4 buildworld ; make buildkernel ; make installkernel ; make installworld; mergermaster ; reboot - Original Message - From: Aaron Bliss [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Tuesday, September 05, 2006 8:44 PM Subject: easy patch management tools Hi everyone, first let me say that I'm pretty new to bsd, so please forgive the newbie questions; I've been using linux (redhat, suse, centos) for many years, and so learning bsd was a bit of a learning curve, but not bad (I almost never use gui's for administration); I was wondering if there are any packagement tools for freebsd/pcbsd that offer simular functionality to up2date or yum; I take care of installing and updating complete rpm based systems using yum, and have not found a tool simular to yum for freebds (I'm also trying to stay away from pbi's, since they are specific to pcbsd); I've used the pkg_add, pkg_delete, portupgrade tools, but am just looking for an easy way to ensure my entire bsd box is updated; Also, as I understand it, bsd makes use of ports, by using tools such as cvsup, however I have never had much success compiling my own software, as such much prefer to use binary packages, which I understand that the freebsd authors provide; for example, if I wanted to install pine, I would much rather install it by running pkg_add -r pine ; I'm just looking for a simple way to update currently installed binaries, simular to installing new binaries with pkg_add ; thanks very much for your help with this. Aaron ___ I perfer to use portsnap with portupgrade. Others use portsnap with portmanager. Yet others will suggest portsnap with portmaster. I am not very familiar with portmaster, but I have used the other two to upgrade my system. Read the man pages for information on installing packages. -- FreeBSD 6.0-RELEASE i386 GENERIC ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Making startup order static
On Sun, Sep 10, 2006 at 11:11:36AM -0700, White Hat wrote: FreeBSD 6.1 I need to keep several programs starting in a particular order. clamav-clamd clamav-freshclam clamsmtpd saslauthd dovecot postfix fetchmail By default, they do not start in that order. I have modified the rc.d files to force them to start in the order specified above. The problem is that every time I update these programs the rc.d startup file is modified which destroys the changes I have made. This then requires me to recreate the modifications to force the start up order I require. Is there anyway I can achieve this goal in a simplified manner? I thought perhaps there might be something I could add to the /etc/rc.conf file; however, I have not discovered it. -- White Hat [EMAIL PROTECTED] It is my understanding the files get called in alphabetical order. Look in your/usr/local/etc/rc.d directory. I had a small problem with squid and dansguardian not being call in order. Renaming one of them solved my problem. I hope this help... -- FreeBSD 6.0-RELEASE i386 GENERIC ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Window Manager Recommendations
On Fri, Sep 08, 2006 at 09:02:51PM -0700, Darrin Chandler wrote: On Fri, Sep 08, 2006 at 10:52:41PM -0500, Chris wrote: If that's really a major goal then look into ion3 or ratpoison. I've been using ion3 for quite a while now and I'm happy. (you probably won't like it, though, coming from Windows) I prefer XFCE4 Darrin - if possible, could you provide screenshots? http://www.modeemi.fi/~tuomov/ion/ is the ion3 home page, with some screenshots toward the bottom. It's somewhat spartan, but if you want something that stays out of your way then it's very nice. It's like an X version of screen, on steroids. :) Try this website: http://xwinman.org/ It will give an idea of what is out there. If you are looking for a lot of bells and whistles...try KDE or Gnome. I personally like Fluxbox. http://fluxbox.org/ You have to remember that window managers/desktops are like ice-cream... some people perfer one flavor over another. So give some a try... -- FreeBSD 6.0-RELEASE i386 GENERIC ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: having hard time with mounting floppies
On Tue, Aug 29, 2006 at 01:27:06PM +0300, Tuomas wrote: ajm, Thanks for taking the pains to reply. This is what I tried: localhost# newfs -L FreeBSD /dev/fd0 newfs: wtfs: 512 bytes at sector 2879: Input/output error localhost# newfs_msdos -f 1440 -L MSDOS /dev/fd0 /dev/fd0: 2847 sectors in 2847 FAT12 clusters (512 bytes/cluster) bps=512 spc=1 res=1 nft=2 rde=224 sec=2880 mid=0xf0 spf=9 spt=18 hds=2 hid=0 newfs_msdos: /dev/fd0: Input/output error On another forum, someone suggested to me that I should try FreeBSD 6.x. FreeBSD 5.x has, according to this guy, some problems with some floppies. So maybe I try FreeBSD 6.x, or I will use Linux on this machine. Thanks for the help, though. :-) Tuomas It's been a while since I had 5.3 on my system...but see if you have the following in your /dev directory. /dev/fd0.1440 if so try this: # fdformat /dev/fd0.1440 or try mformat a: you must have this port installed for mformat to work: /usr/ports/emulators/mtools -- FreeBSD 6.0-RELEASE i386 GENERIC ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: having hard time with mounting floppies
On Mon, Aug 28, 2006 at 02:37:55PM +0300, Tuomas wrote: Hi, all! I run DesktopBSD 1.0 and I cannot mount floppies. I had the same problem with FreeBSD 5.5. Here it goes: localhost# mount -t msdos /dev/fd0 /media/floppy msdosfs: /dev/fd0: Input/output error localhost# fdformat /dev/fd0 Format 1440K floppy `/dev/fd0'? (y/n): y Processing fdformat: ioctl(FD_FORM): Input/output error This is what dmesg says: Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.5-PRERELEASE #1: Sun Feb 5 17:26:01 CET 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/DESKTOPBSD Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel Pentium III (734.63-MHz 686-class CPU) Origin = GenuineIntel Id = 0x686 Stepping = 6 Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE real memory = 267264000 (254 MB) avail memory = 251109376 (239 MB) npx0: math processor on motherboard npx0: INT 16 interface acpi0: IBM CDTPWSPU on motherboard acpi0: Power Button (fixed) Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0xf808-0xf80b on acpi0 cpu0: ACPI CPU port 0x530-0x537 on acpi0 acpi_throttle0: ACPI CPU Throttling on cpu0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 agp0: Intel 82810E (i810E GMCH) SVGA controller mem 0xfea8-0xfeaf,0xf800-0xfbff irq 11 at device 1.0 on pci0 pcib1: ACPI PCI-PCI bridge at device 30.0 on pci0 pci1: ACPI PCI bus on pcib1 rl0: RealTek 8139 10/100BaseTX port 0x7800-0x78ff mem 0xfebfff00-0xfebf irq 9 at device 1.0 on pci1 miibus0: MII bus on rl0 rlphy0: RealTek internal media interface on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:0e:2e:85:56:e1 isab0: PCI-ISA bridge at device 31.0 on pci0 isa0: ISA bus on isab0 atapci0: Intel ICH UDMA66 controller port 0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 uhci0: Intel 82801AA (ICH) USB controller port 0xff00-0xff1f irq 10 at device 31.2 on pci0 usb0: Intel 82801AA (ICH) USB controller on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pci0: serial bus, SMBus at device 31.3 (no driver attached) pcm0: Intel ICH (82801AA) port 0xf400-0xf43f,0xf000-0xf0ff irq 9 at device 31.5 on pci0 pcm0: Analog Devices AD1881A AC97 Codec acpi_button0: Power Button on acpi0 fdc0: floppy drive controller port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fd0: 1440-KB 3.5 drive on fdc0 drive 0 ppc0: ECP parallel printer port port 0x778-0x77f,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/9 bytes threshold ppbus0: Parallel port bus on ppc0 plip0: PLIP network interface on ppbus0 lpt0: Printer on ppbus0 lpt0: Interrupt-driven port ppi0: Parallel I/O on ppbus0 atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0 atkbd0: AT Keyboard irq 1 on atkbdc0 kbd0 at atkbd0 psm0: PS/2 Mouse irq 12 on atkbdc0 psm0: model IntelliMouse, device ID 3 sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A orm0: ISA Option ROM at iomem 0xc-0xc7fff on isa0 pmtimer0 on isa0 sc0: System console at flags 0x100 on isa0 sc0: VGA 16 virtual consoles, flags=0x300 sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0 Timecounter TSC frequency 734633835 Hz quality 800 Timecounters tick every 1.000 msec ad0: 19470MB Maxtor 32049H2/YAH814Y0 [39560/16/63] at ata0-master UDMA66 acd0: DVDROM LG DVD-ROM DRD-8120B/1.03 at ata1-master PIO4 cd0 at ata1 bus 0 target 0 lun 0 cd0: LG DVD-ROM DRD8120B 1.03 Removable CD-ROM SCSI-0 device cd0: 16.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present Mounting root from ufs:/dev/ad0s2a (End of dmesg.) I can mount floppies with other OSes, Kubuntu LiveCD for instance. I googled and found other people having similar problems. One solution that was put forward was using a non-ACPI kernel. With FreeBSD 5.5 I recompiled the kernel with ACPI disabled, but the problem still persisted. I don't know what to do now. (As a matter of fact, I might be having the same problem with cdrom!) Could someone help me? Much oblige! Tuomas As root... these are the following things I do for a FreeBSD Floppy: fdformat -y -f 1440 /dev/fd0 bsdlabel -w /dev/fd0 fd1440 newfs -L FreeBSD /dev/fd0 For a Dos floppy: fdformat -y -f 1440 /dev/fd0 newfs_msdos -f 1440 -L MSDOS /dev/fd0 Perferably I would use sudo to
Re: User permissions to mount CDROM
On Sun, Aug 27, 2006 at 08:11:16PM +0530, Viswas Nair wrote: I have been trying to figure out how to give users to mount CD rom and have been largely unsuccessful. Here are a few things I tried: 1) Added user to the 4th field (options) in /etc/fstab 2) Added vfs.usermount=1 to sysctl.conf 3) Created a group called optical and added the root and alpha to it 4) Added following lines to devfs,conf : own /dev/acd0 root:optical perm /dev/acd0 0770 own /dev/acd1 root:optical perm /dev/acd1 0770 5) Rebooted machine and tried to mount /dev/acd0 into /cdrom and it failed with the message: got the error message: /dev/acd0 Try the following: create a subdirectory in the users home directory. example: /home/steven/cdrom mount_cd9660 /dev/acd0 /home/steven/cdrom also, you can change the permission to 550 (read/execute by owner and group) no need for write permission. make sure that your users are part of the optical group. One more thing...users will not be able to mount anything to /cdrom since it will belong to root/wheel. Hope this helped you. -- FreeBSD 6.0-RELEASE i386 GENERIC ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mount Point permissions
On Thu, Aug 10, 2006 at 11:40:46PM +0100, Chris Whitehouse wrote: Bob Richards wrote: On Wednesday 09 August 2006 23:23, you wrote: What about chowning the permissions on /dev/fd0 to be root:floppyusers, I went so far as chown bob:bob /dev/fd0 But after newfs get's through with the new floppy, it's chowned to root. add a group floppyusers to /etc/group and make bob a member of that group. Chmod 664 /dev/fd0 Went down that road as well; created a group called mounters, added bob to it no good! I even copied newfs to /home/bob/bin, put home/bob/bin first in the PATH, made that newfs setuid/setgid bob no effect :-( Root wants to own the newly created file system no matter who formatted or created it. Unfortunately I don't have any machines with floppy drives to test with. I personally don't have a need for floppy drives either; but I am setting up a dozen W/S to replace WINDOWZ in an office environment, and people expect to be able to use their floppies (especially with the GUI tools in KDE 3.5). I am hoping to use freebsd instead of Linux; which has become hard to maintain in long-term use because of things like libraries changing so often. The lack of Library-Hell in freebsd is refreshing. I guess floppy-hell is better than Library-hell :-) Floppy support is pretty bad on freebsd! I made the mistake of ejecting a mounted floppy yesterday; total system lock-up! I mean it was power off/on time! Not good! Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I wonder if these will help http://caia.swin.edu.au/reports/041130A/ http://networking.ringofsaturn.com/Unix/FreeBSD-Burning.php I am sure there is also something in the handbook or FAQ but I can't spot it at the mo. Also consider x11-fm/mtoolsfm. This is a graphical utility that allows copying files between hard disk, floppy disk and usb key _without_ mounting the removeable drives. It is limited to fat or fat32 filesystems but it does mean your users won't crash the box when they yank the usb key or floppy without unmounting. I've got this all set up on one box, including cd/dvd burning but it would take a bit of digging to find all the bits. Email me offlist if you want my devfs.rules and snips from other files. Chris I am using floppies on rare occasions on an old Dell. My setup is as follows: /etc/fstab does not have any reference to /dev/fd0 in the /usr/local/etc/sudoers file I have the following: # User privilege specification rootALL=(ALL) ALL aj ALL=/sbin/umount,/sbin/mount_msdosfs # end of sudoers file I have a directory with file permission 755 aj:aj /usr/home/aj/floppy ( make sure all your users have a directory call floppy with the correct file permission ) I use a small script owned by root but may be executed by all inside this script is a small message tell you it will be mounting a floppy and it must not be copy-protected next is the following line: sudo mount_msdosfs /dev/fd0 ~/floppy Now I use fluxbox...but this can be adapted to KDE withing the fluxbox menu I added the following: aterm -fg white -bg black -e name_of_script.sh ( note: I am using aterm not xterm...but should work xterm -e name_of_script.sh ) make another script to unmount with the following command sudo umount /dev/fd0 Have fun with FreeBSD... -- FreeBSD 6.0 i386 GENERIC ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [Offtopic] CD art ...
On Thu, May 25, 2006 at 02:03:46PM -0500, Mario Oyorzabal Salgado wrote: Hi, i'm newbie using freebsd, i like to print the fron, back and cover cd, but don't know where can get it, somebody can help me ? thank's, my freebsd version 5.4 and 6.1 =). greetings If you mean the cd jewel box inserts, then you could use from the ports /graphics/gimp for the artwork and /graphics/tgif to put it together I use tgif to create a template that I fill with my art work. There is also in the ports, but I have not used it. /print/kcdlabel /print/cdlabelgen (maybe not what you are looking for) /print/kover Good Luck...and Welcome to FreeBSD. -- FreeBSD 6.0-RELEASE i386 GENERIC ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Window Manager Opinions
On Wed, Apr 19, 2006 at 07:02:17PM -0500, Patrick Bowen wrote: Huy Ton That wrote: Just a general question; not sure if it belongs in questions but let me know otherwise. I'm currently using gnome2 as my desktop environment on RC 6.1but it is a little dry; What are you all using out there and any reasons as to behind the decision and such. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I have used Gnome, KDE and Xfce...now I am using Fluxbox. I like it because it is very simple. Don't like much of the eye candy that the others have. You need to try a few to see which one is best for you. Here is a web site I used to get information of the above mentioned, as well as others. http://xwinman.org/ Good luck and have fun in your search... -- FreeBSD 6.0-RELEASE i386 GENERIC ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Wanted: Flash player for browser_of_choice....
On Wed, Apr 12, 2006 at 04:15:23PM -0700, Vayu wrote: On Wednesday 12 April 2006 15:20, Bob Johnson wrote: On 4/12/06, Kris Kennaway [EMAIL PROTECTED] wrote: On Wed, Apr 12, 2006 at 02:11:12PM -0400, Andy Reitz wrote: On Wed, 12 Apr 2006, Ashley Moran wrote: On Wednesday 12 April 2006 15:15, you wrote: I forwarded this license issue to an engineer I know there. His response was positive. We'll have to see how it goes with their management and legal. I lost track of the above email, but keep portmgr@ and the port maintainer in the loop with developments on this front. I submitted a query to Adobe customer support via their web site. The reply I got stated in part: Please note that Flash Player 8 is not supported in FreeBSD, thus it not mentioned on the End User License Agreement that Flash Player can download and installed on the operating system. It is not that the web player is prohibited in FreeBSD, but the operating system itself is not compatible with Flash Player. I have replied to them to point out that this statement is incorrect, that FreeBSD is entirely capable of running Flash Player, but FreeBSD users such as I are now prohibited from using Adobe products. I asked them if they want me to stop using it -- it will be interesting to see what they say. I also pointed out that if that was not their intent, they should consider changing the wording of the EULA. I think that if everyone who is speculating about this on this list were instead to submit their requests for clarification (not threats) to Adobe's customer support, it might get some attention from Adobe. What email address did you use? This is ONLY a what-if question. If you run linux emulation...(I think its red hat 8.0 in the ports), install linux-opera, down load the linux flash player from http://www.macromedia.com/shockwave/download/alternates/#fp (version 7.x) and copy certain files like *.xpt and *.so to the /usr/X11R6/share/linux-opera/plugins directory. Go the the Opera menu on top...Tools, then preferences then advanced then content then enable plugins, have it search for new plugins. You're set... Basically you are running linux red hat and the web site does support linux to a certain extent. I think as long as you do not make it into a Freebsd port and distributed...it should be ok...I am NOT a lawyer! -- FreeBSD 6.0-RELEASE i386 GENERIC ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fbdesk or idesk for fluxbox icons?
On Sat, Feb 11, 2006 at 02:45:47AM -0500, Xn Nooby wrote: I'm trying to figure out fbdesk, but there is amazingly little to go on. Does anyone have any sample config files? Or should I be using idesk? I have fluxbox 0.9.14 on FreeBSD 6.0. I also sometimes can't get rid of the fluxbox menu, which is highly annoying. thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Since I don't use the fbdesk or idesk only thing I can help you with is the menu. I am using fluxbox 0.1.14. To hide the main menu again, right click on the menu title. maybe this will help for fbdesk... http://fluxbox.sourceforge.net/fbdesk/ -- FreeBSD 6.0-RELEASE i386 GENERIC ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]