RE: /dev/eth0 question [FC4]
On Sat, 7 Jan 2006, Ted Mittelstaedt wrote: He probably thinks the competence level on this list is higher. Kind of makes you wonder why he's running their OS. ;-) Ted Bingo! *grins* I would really truly rather be running FreeBSD right now, but the SUPER extra EASY GUI installer for FC4 was just SO MUCH SIMPLER and inviting, and if I may venture to say... even easier than any M$FT one. {Doesn't get why Linux doesn't use ufs, instead of ext2 and ext3 for FS's!} -- Peter Leftwich, Owner Video2Video Services Box 13692, La Jolla, CA, 92039, USA http://Www.Video2Video.Com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /dev/eth0 question - prefer reply in next 20mins
On Sat, 7 Jan 2006, Robert Slade wrote: As the problem is with FC4 why not ask on their mailing list? Rob Good point, and I apologize for the transgression. (With my PC off, I took out the NIC, tapped it, blew dust off it, rebooted and DSL worked fine! Go figure.) :) -- Peter Leftwich, Owner Video2Video Services Box 13692, La Jolla, CA, 92039, USA http://Www.Video2Video.Com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
/dev/eth0 question - prefer reply in next 20mins
...Well today, I have a question that *is* unixey (yoo-knicks-ee) in nature, but admittedly not having to do with BSD; Here,let me start this way: When I boot my dual-boot PC to Linux Fedora Core 4, instead of FreeBSD *wink* I can no longer connect to the internet via SBC Yahoo DSL as I used to (via PPPoE). If I run the command dmesg | grep -i eth there is no output. My DSL modem has 3 of 4 lights ON, that is, all lights are lit except for the ACTIVITY indicator. I ran the Internet Connection Wizard and re-created profiles if you will, for both eth0 (dialup choice for DNS) and an xDSL listing for SBC that saves your username and password. When I click SBC, and then the [Activate] button, there is no activity on my DSL modem and it TIMES OUT after trying for approximately 2mins. The command ifconfig eth0 plumb or ... eth0 up claims there is no such device. Any ideas? Maybe I need to replace the NIC (3Com Etherlink card that's about 7yrs old)?? Thank you in advance, I truly appreciate it, and have a joyous weekend. Wish I were in Vegas at C.E.S.! -- Peter Leftwich, Owner Video2Video Services Box 13692, La Jolla, CA, 92039, USA http://Www.Video2Video.Com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Who ever knew RTFM would work :)
So I'm on my *nix shell just now, and I'm all, hmmm how do I change my shell? The default for this install [which shall remain nameless] is /bin/bash I type echo $SHELL I type chfn (nope) I try stuff like setenv $SHELL /bin/tcsh Nope I accidentally type cat $SHELL once (lol) (try it to mess up your ANSI) ...Well man -k shell gave me the answer so now I am STOKED!! chsh -- Peter Leftwich, Owner Video2Video Services Box 13692, La Jolla, CA, 92039, USA http://Www.Video2Video.Com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Suggestions for www.freebsd.org and questions
Hi everyone. I was studying up on http://www.freebsd.org/releases/5.4R/installation-i386.html which I have at home on two CD-Rs and which I plan to install this weekend - hhooot whoot!! Some suggestions for the freebsd.org webmaster. Perhaps others might find these useful as well? [1] I think the URL above ought to have a sort of organized, list of contents at the top such as 1.3 Topic1 1.4 Topic2 1.5 Topic-Or-FAQ-Question3... The list would be a Table of Contents at the beginning, with each section **hyperlinked** for easier, faster knowledge transference. [2] I noticed that the links below are general instructions, but maybe having two very similar documents throws off some people http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/index.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/install.html [2] Lastly, some background - I came to the site seeking general install recommendations, such as about suggested mountpoints and slices (partition) ideology and sizes. Has this been asked before? I have a 200GB HDD and no definite plan about setting up slices and dirs!! [3] Disk space required? I realize the website gives minimum recommendations such as 160mb and 24mb RAM for example. Is it a good idea to set up an OS-only slice / bare minimum / then have a separate slice for my binaries and XFree86? [4] FOUR is here as a great tip if you have not seen this page: http://gerda.univie.ac.at/freebsd-laptops/index.pl great idea!! but it would be neat if each 'datasheet' or 'lab report' if you will, linked to the product listed at an official company URL e.g. http://store.ibm.com/products.php?ThinkpadXYZ1000 -- Peter Leftwich, Owner Video2Video Services Box 13692, La Jolla, CA, 92039, USA http://Www.Video2Video.Com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
pkg_add -rf XFree86 (on 5.2-RELEASE)?
Hello again, List! It has been many months since my last confession, er, POST. :) My question. Generally, what is the easiest way to reinstall XFree86 to a 5.2-RELEASE working system? Is there a separately- hosted ports area, other than current? Thanks very much. -- Peter Leftwich, Founder President Video2Video Services Box 13692, La Jolla, CA, 92039, USA http://Www.Video2Video.Com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pkg_add -rf XFree86 (on 5.2-RELEASE)?
On Thu, 9 Jun 2005 12:01:20 -0700 (PDT), Charles Swiger [EMAIL PROTECTED] wrote: 5.2? You would probably be happier downloading the 5.4 ISO image, and doing a binary upgrade which will give you a newer version of X11 in the process. -Chuck Very sound advice; I now have two CD-Rs (finally!) with the 5.4-REL iso's. I had originally abandoned my 5.2-REL HDD since the cordless mouse krunked. Well thank you for your speedy replies, you and Mr. Kennaway, thank you!! -- Peter Leftwich Founder President, Video2Video Services Box 13692, La Jolla, CA, 92039, USA http://Www.Video2Video.Com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: `pkg_info | grep -i openssh` ; echo 2.9 vs 3.0.2? [cjc]
On Mon, 8 Apr 2002, Crist J. Clark wrote: [snip] PL My question was regarding ssh, not sshd. Then I shall reprhase: Are you actually running the ssh(1) in /usr/local/bin/ssh or the old one in /usr/bin/ssh? Crist J. Clark | [EMAIL PROTECTED],[EMAIL PROTECTED] http://people.freebsd.org/~cjc/| [EMAIL PROTECTED] I apologize for being snippy, if I seemed so. You alone fixed my woes!!! :) # ssh -V OpenSSH_2.9 FreeBSD localisations 20011202, SSH protocols 1.5/2.0, OpenSSL 0x0090601f # which ssh /usr/bin/ssh # /usr/local/bin/ssh -V OpenSSH_3.0.2, SSH protocols 1.5/2.0, OpenSSL 0x0090601f # mv /usr/bin/ssh /usr/bin/ssh_2.9_old_dont_use # ln -s /usr/local/bin/ssh /usr/bin/ssh I guess that last line isn't really necessary if I adjust my $PATH, huh? -- Peter Leftwich President Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-security in the body of the message ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Microsoft Cordless Optical Mouse and 5.2
On Sat, 28 Aug 2004, Chip wrote: FWIW- I have a MS Optical USB cordless mouse on my 5.2.1 box, connected to a Belkin OmniCube 4-port kvm switch with a usb-ps2 adapter, and it works great in both X and console windows. My XF86Config mouse section looks like this - And my rc.conf contains these lines - I wonder now if the usbd_enable line is even needed since the mouse is being run thru the ps2 adapter. On the bottom of my mouse it says 'Wireless Optical Mouse Blue'. I haven't made any mods/changes to the kernel, it is completely generic. On the bottom of *my* mouse it says Wireless IntelliMouse(R) Explorer. It does not work with 5.2-RELEASE! :-( Regards, Chip -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Microsoft Cordless Optical Mouse and 5.2
Doh! My mouse (a Microsoft Cordless Optical Mouse) worked fine with Knoppix/Linux OS and with XP of course but does NOT work with FreeBSD 5.2! I tried plugging it in as PS/2 but the little light does not come on. My /etc/rc.conf has /dev/sysmouse and type auto but still no go. I am posting this in the hopes that it will partially dissuade those considering buying this make and model mouse! :\ Will someone note this conflict or malfunction at: Title FreeBSD 5.2.1-RELEASE Hardware Notes Current URL http://www.freebsd.org/releases/5.2.1R/hardware.html URL of current anchor http://www.freebsd.org/releases/5.2.1R/hardware-i386.html ? -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Microsoft Cordless Optical Mouse and 5.2
On Sun, 29 Aug 2004, Subhro wrote: Are you running the GENERIC kernel? If not then have you compiled in support for ps2 mouse? And Last but not the least, try selecting ur mouse (or its closest clone) byt running /stand/sysinstall. I wont rely on auto for MS products (both hw and sw). Regards S. -- Subhro Sankha Kar School of Information Technology, Block AQ-13/1 Sector V ZIP 700091 - India Almost a yeayyy out of me - Yes, I have the GENERIC kernel, and tried the very-comforting-to-rediscover /stand/sysinstall, tried various protocol types and ports to no avail. :( -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Microsoft Cordless Optical Mouse and 5.2
On Sat, 28 Aug 2004 [EMAIL PROTECTED] wrote: I have the exact same mouse working on 5.2.1 - Here is the section from XF86Config Section InputDevice Identifier Mouse0 Driver mouse Option Protocol auto Option Device /dev/sysmouse Option ZaxisMapping 4 5 EndSection I need this mouse to work in the console (mode); Tackling one thing at a time, XFree86 is next. In /etc/rc.conf I have the line moused_enable=YES I am using the adapter that came with the mouse and it is plugged into the PS2 port. Same here. I find that the mouse is responsive and I really like the feel. Now if only MS could do something with software. Good Luck Robert Thanks, I'll need it. When I used to run FreeBSD 4.6.2, my Canon CanoScan scanner was not supported. Now I hear that it is under 5.2 but my M$ft cordless optical mouse is not (out of the box and into USB that is...) Ppplllplplppplplp! -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
25mb vs 300mb ports
I gave the FreeBSD online Handbook a good read (of several chapters that walked the reader through sysinstall)... One of the prompts said to have 300mb or more of space for the ports. At the FreeBSD.Org ports website, however, it says the total size of the tarball (tar/gzip) is 25mb. Is this a matter of compressed versus uncompressed? Why the discrepancy? By the way, thank you to the many erudite and friendly faces who responded to my lament -- I am happy to see a lot of devices now supported under 5.2.1!! -- Peter Leftwich, President Founder Video2Video Services Box 13692, La Jolla, CA, 92039, USA http://Www.Video2Video.Com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
lament about freebsd sacrifices
I thought I would post this as something of a warning. Using FreeBSD as a primary, non-dual-boot OS means sacrificing. Here is a partial list of sacrifices, as compared to Microsoft Windows XP: * webcam ball * flatbed scanner * color printer * digital cameras * firewire devices * several USB 1 and 2 devices * IM software features such as voice and video chat * websites that use ActiveX (Windows) controls * MP3 devices Any major sacrifices I've forgotten? :-\ -- Peter Leftwich, President Founder Video2Video Services Box 13692, La Jolla, CA, 92039, USA http://Www.Video2Video.Com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Boot time, init? getty repeated too many times
Ryan Merrick [EMAIL PROTECTED] wrote: Peter Leftwich wrote: [snip] getty repeated too many times and that it will halt for 30 seconds. [snip] H, Review your #/etc/ttys and comment out any questionable lines. -Ryan Merrick / [EMAIL PROTECTED] I was able to get at my raw data (via mount -t ufs /dev/ad0s2a fbsd) by booting up into a CD-R I burned of FreeSBIE (www.FreeSBIE.org) and will arrange data on the drive nicely, then reinstall an OS. Fixing the current FreeBSD install would require too much knowledge! FYI. -- Peter Leftwich, President Founder Video2Video Services Box 13692, La Jolla, CA, 92039, USA http://Www.Video2Video.Com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Boot time, init? getty repeated too many times
Hi everyone and happy Friday. When I boot my FreeBSD box, I think init is giving an error that getty repeated too many times and that it will halt for 30 seconds. Is there a simple fix for this? I am not getting a login prompt and AFAIK the other vtty's are not accessible. The system locks up. -- Peter Leftwich, President Founder Video2Video Services Box 13692, La Jolla, CA, 92039, USA http://Www.Video2Video.Com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Mounting to freebsd ufs under WinXP
I researched this on the web but found nothing relevant or useful. Can someone recommend software that lets you mount TO freebsd (ufs) partition FROM WITHIN Windows XP Pro SP1 (transparently)? Samba, which is open source and free, isn't a solution because it requires a working [freebsd] operating system and running a daemon. Thanks mucho diGiornio, -- Peter Leftwich, President Founder Video2Video Services Box 13692, La Jolla, CA, 92039, USA http://Www.Video2Video.Com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Share/Freeware to see FBSD from Win_XPproSP1?
Is there a program (go-between) that I can use to read my FreeBSD slices from Winbloze XP Pro SP1? I need to clean up some old OSs, make space...! -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fixit
On Sun, 4 Jan 2004, Mike Meyer wrote: In [EMAIL PROTECTED], Peter Leftwich [EMAIL PROTECTED] typed: I saw your post about the lack of documentation for fixit and wondered if you may be an expert or seasoned user on the topic? Thank you for any info you have! Fixit disks aren' really a problem solution so much as a place to stand to solve problems. They boot you to a running system, either on Mike, I like how you say that - a place to stand. It's a good lead-in for my question: The problem is this... the fixit shell is started and it doesn't really show you WHAT it is technically doing. Is it started in RAM (/ramdisk/) or does it mount the FreeBSD partition on the HDD? Or what. The thing that strikes me as oddest is that pwd will tell me the path, beginning with this / symbol. But then I can't type mount and have the results tell me about the leading slash / -- round and round we go, chicken and egg!! the CD or out of memory for the fixit floppy, and provide tools you need to repair things. The CD includes manual pages, so all you really need to know is which tools you need to solve the problem. The floppy has a very limited set of tools, so you can start by getting a list of /bin and /sbin on the fixit file system, and reading the manual page for those tools. The problem is that root on my HDD has to be mounted before I can use /bin or /sbin tools - and isn't mount /sbin/mount ??? I am hopelessly lost and all tied up in this quandry -- all I need to be able to do is mount root and copy a file (ld-elf.so.1) to /usr/libexec/ because it is missing. If you have any questions, I'd be more than happy to answer them. Any other suggested work-arounds?? I have been booting to (and leaving running) a Knoppix Debian Linux CD-R for weeks, I want to click my heels and say there is no place like home... mike Mike Meyer [EMAIL PROTECTED]http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. PS. I hope you use monster.com and dice.com and hotjobs.com :) just recommendations!! Oh and www.elance.com -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
fixit
Hello everyone. [1] What is the best resource online for understanding how to use fixit?? I have a bootable FreeBSD 4.7-RELEASE CD-R and I can start an emergency fixit shell on vtty4 (you start it after booting into sysinstall ...using the live filesystem CD... and type Alt-F4 to get to a # prompt). I am able to do an ls only by typing echo * -- cd works and pwd works, but which, mkdir, mount and more do NOT WORK. [2] (a) My question is, with all of the data that can be fit on an ISO9660 filesystem, why was fixit and the array of tools so limited?! (b) http://www.freebsd.org/relnotes/CURRENT/installation/i386/trouble.html only makes a passing reference to fixit.flp only. Is there a tutorial at freebsd.org that explains use of the fixit shell?? [3] What sequence of commands do I use to mount to a UFS floppy or UFS filesystem on my hard drive (and do I have to know which /dev/ and do I have to fdisk and label mountpoints in sysinstall ahead of time??)??! If anyone can clarify these three questions, I would forever be grateful. Thank you kindly. -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: missing /usr/libexec/ld-elf.so.1 ... not found
On Sat, 27 Dec 2003, Matthew Seaman wrote: On Sat, Dec 27, 2003 at 12:34:17AM -0500, Peter Leftwich wrote: The problem I now have is that I would like to mount_msdos a regular floppy then copy (cp or cpio?) a file from it called ld-elf.so.1 to the mounted partition which contains FreeBSD 4.7-RELEASE on my hard disk. Typing just mount is not found. Oddly enough, typing help or cd /bin then ./help says Permission denied. I cannot locate a mount binary, however, I found mount_nfs and mount_mfs so would either of those work for mounting both an msdos floppy then my 4.7 partition? Then must I use cpio to copy A:\ld-elf.so.1 over to the 4.7 partition?? You can write the file direct to the floppy device /dev/fd0 as if it was a tape. No need to mount any sort of filesystem. Since you have cpio(1) available use: # cd /usr/libexec Now, will the command above change to my live system's /usr/libexec directory, or a pretend one that exists only in RAM (ie. the way that the emergency holographic shell exists in a /ramdisk if you will)? # echo ./ld-elf.so.1 | cpio -o /dev/fd0 When you say write the file direct do you mean that my system's / root directory may also be directly written to, without having to first mount it??! Then to extract the file: # cd /usr/libexec # cpio -i /dev/fd0 Cheers, Matthew Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK My apologies. This all seems a little scary, and does not sound proper... -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: missing /usr/libexec/ld-elf.so.1 ... not found
On Tue, 23 Dec 2003, Matt Emmerton wrote: (I am posting this because a search for the subject above in Google turned up not much... not much 'tall!) What should a user do if their, uhm, /usr/libexec/ld-elf.so.1 file is missing on 4.7-RELEASE? Can said user `touch /usr/libexec/ld-elf.so.1` as a decent fix? Or mount their drive from another OS and copy over a friend's or a web-hosted ld-elf.so.1 file? Or could I, I mean my friend, use some of the contents of src/ on a 4.7-RELEASE CD-R to recreate (via compiling) this needed file?? Please help. It could be your gift to me. You could probably accomplish this by booting with a fixit disk and copying over ld-elf.so.1 from a live CD (Disc 2 in the 4-disk set) to /usr/libexec. Or you could install the drive in another FreeBSD box, mount /usr and copy the file over. -Matt Thank you Matt and others. The trick of running `echo *` to accomplish a task similar to `ls` worked. Along with `pwd` and `echo *` I was able to poke my way around the 4.7-RELEASE CD-R and fixit shell (Emergency Holographic Shell on VTY F4 accessible by Ctrl-Alt-F4). The problem I now have is that I would like to mount_msdos a regular floppy then copy (cp or cpio?) a file from it called ld-elf.so.1 to the mounted partition which contains FreeBSD 4.7-RELEASE on my hard disk. Typing just mount is not found. Oddly enough, typing help or cd /bin then ./help says Permission denied. I cannot locate a mount binary, however, I found mount_nfs and mount_mfs so would either of those work for mounting both an msdos floppy then my 4.7 partition? Then must I use cpio to copy A:\ld-elf.so.1 over to the 4.7 partition?? Thanks, I really appreciate it. When I am back online, I plan to make a donation to the freebsd foundation or whichever way that www.freebsd.org takes donations!!! -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: missing /usr/libexec/ld-elf.so.1 ... not found
On Sat, 27 Dec 2003, Peter Leftwich wrote: On Tue, 23 Dec 2003, Matt Emmerton wrote: (I am posting this because a search for the subject above in Google turned up not much... not much 'tall!) What should a user do if their, uhm, /usr/libexec/ld-elf.so.1 file is missing on 4.7-RELEASE? Can said user `touch /usr/libexec/ld-elf.so.1` as a decent fix? Or mount their drive from another OS and copy over a friend's or a web-hosted ld-elf.so.1 file? Or could I, I mean my friend, use some of the contents of src/ on a 4.7-RELEASE CD-R to recreate (via compiling) this needed file?? Please help. It could be your gift to me. You could probably accomplish this by booting with a fixit disk and copying over ld-elf.so.1 from a live CD (Disc 2 in the 4-disk set) to /usr/libexec. Or you could install the drive in another FreeBSD box, mount /usr and copy the file over. -Matt Thank you Matt and others. The trick of running `echo *` to accomplish a task similar to `ls` worked. Along with `pwd` and `echo *` I was able to poke my way around the 4.7-RELEASE CD-R and fixit shell (Emergency Holographic Shell on VTY F4 accessible by Ctrl-Alt-F4). The problem I now have is that I would like to mount_msdos a regular floppy then copy (cp or cpio?) a file from it called ld-elf.so.1 to the mounted partition which contains FreeBSD 4.7-RELEASE on my hard disk. Typing just mount is not found. Oddly enough, typing help or cd /bin then ./help says Permission denied. I cannot locate a mount binary, however, I found mount_nfs and mount_mfs so would either of those work for mounting both an msdos floppy then my 4.7 partition? Then must I use cpio to copy A:\ld-elf.so.1 over to the 4.7 partition?? Thanks, I really appreciate it. When I am back online, I plan to make a donation to the freebsd foundation or whichever way that www.freebsd.org takes donations!!! FYI - http://www.seabug.org/archive/1999-12/msg00136.html no help with mount! -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: missing /usr/libexec/ld-elf.so.1 ... not found
On Tue, 23 Dec 2003, Ulf Zimmermann wrote: cat /mnt/cdrom1/bin/bin.[a-z]* | tar ztvf - | grep ld-elf That will you show the path in the tar. # cat /mnt/cdrom1/bin/bin.[a-z]* | tar ztvf - | grep ld-elf -r-xr-xr-x root/wheel 79840 2002-10-09 14:45:19 ./usr/libexec/ld-elf.so.1 gzip: stdin: decompression OK, trailing garbage ignored tar: Child died with signal 13 tar: Error exit delayed from previous errors Darn, I even did 'cd /' and then ran it or 'cd /mnt/cdrom' then ran it but got the same ./usr/libexec etc junk. I have to run the grep while standing in a non root-mounted locale I suppose?? Great. *sarcasm* So we've found it. It's there, we know it's there, but I don't know which file it is in! Ugh ugh ugh. Kill me! then you can use the same as above but with zxvf and the pathname for ld-elf.so.1 Regards, Ulf. Ulf Zimmermann, 1525 Pacific Ave., Alameda, CA-94501, #: 510-865-0204 You can find my resume at: http://seven.Alameda.net/~ulf/resume.html I wonder what it meant by child died and previous errors. At startup, I figured out how to press F2 and go into an interactive, expert as it was called mode of bootup / kernel loading process. There have been ide-scsi errors and kernel panics in the past so I pressed 'n' to not load any scsi modules. However, oddly enough, my dmesg output is replete (full of) weird ide and scsi error messages. Could they be what tar/gzip is talking about? There is a random timer probably counting down to my next kernel panic from this Knoppix 3.2 Debian Linux CD-R I am booted up into!! I better scoot. Help. -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: missing /usr/libexec/ld-elf.so.1 ... not found
Matthew Seaman [EMAIL PROTECTED] kindly transmitted: On Tue, Dec 23, 2003 at 01:32:07AM -0500, Peter Leftwich wrote: What should a user do if their, uhm, /usr/libexec/ld-elf.so.1 file is missing on 4.7-RELEASE? Can said user `touch /usr/libexec/ld-elf.so.1` as a decent fix? Or mount their drive from another OS and copy over a friend's or a web-hosted ld-elf.so.1 file? Or could I, I mean my friend, use some of the contents of src/ on a 4.7-RELEASE CD-R to recreate (via compiling) this needed file?? Please help. It could be your gift to me. Hello Matthew, Fbsd-Q's and WWW server peoplefolk. Without ld-elf.so.1 you won't be able to start up any executable that uses shared libraries... You might find a copy in I noticed! *funnyface* Just joking around. Thanks for the details. /usr/obj/usr/src/libexec/rtld-elf/ld-elf.so.1 if you've ever built world on that machine, and there's a statically linked version of cp(1) in /bin. Otherwise, yes: the live filesystem CD (Disk 2) will have a copy or you can extract your drive and mount it in another machine. REQUEST: Could one of the *.freebsd.org webmasters or listserv admins please post the ld-elf.so.1 file from 4.7-RELEASE? It could go up (officially) to ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/4.7-RELEASE/usr/libexec/ld-elf.so.1 fantasy world pops! I only have the first CD-R and do not have time to download the 2nd CD-R's ISO just for the one file... 2:-) Let this be a lesson to your friend not to be too hair triggered on the delete key... Best way to learn. Well, maybe not best; but I certainly have learned a TON this way, the rootly way. *smiles* Cheers, Matthew Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK ASIDE: {It will be neat when one day there's an Internet standard for www.website.com/pgpkey and www.website.com/software/name_here/md5 and www.website.com/hostname_here/sshkey - oh and https://www.website.com/trusted.htm or something like that.} ;) -- Peter Leftwich, President Founder Video2Video Services Box 13692, La Jolla, CA, 92039, USA http://Www.Video2Video.Com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: missing /usr/libexec/ld-elf.so.1 ... not found
Ulf Zimmermann [EMAIL PROTECTED] wrote: ld-elf.so.1 should also be on the first CD. Its just inside the split tar.gz files which make up the base of FreeBSD. Check out the bin/ directory on the cd, all the bin.[a-z][a-z] files are a split of a large tar.gz, and that includes the ld-elf.so.1 -- Regards, Ulf. Ulf Zimmermann, 1525 Pacific Ave., Alameda, CA-94501, #: 510-865-0204 You can find my resume at: http://seven.Alameda.net/~ulf/resume.html No wonder `find /mnt/cdrom1 -iname ld*` had no results. You're an angel!! Thank you so much Ulf. From now on, whenever I see the phrase Gulf of Mexico, I will see it as g'Ulf of Mexico!! :D -Peter ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: missing /usr/libexec/ld-elf.so.1 ... not found
On Tue, 23 Dec 2003, Ulf Zimmermann wrote: ld-elf.so.1 should also be on the first CD. Its just inside the split tar.gz files which make up the base of FreeBSD. Check out the bin/ directory on the cd, all the bin.[a-z][a-z] files are a split of a large tar.gz, and that includes the ld-elf.so.1 -- Regards, Ulf. Ulf Zimmermann, 1525 Pacific Ave., Alameda, CA-94501, #: 510-865-0204 You can find my resume at: http://seven.Alameda.net/~ulf/resume.html UGH and *lament* - I came home thinking Tonight will be the night, I can stop using this bootable-ramdisk-creating Knoppix Debian Linux CD-R and again start using FreeBSD 4.7-RELEASE... But no. I looked at /mnt/cdrom1/bin/* and tried a `tar -tzf binary-filename-here` to list the contents but it didn't work. Is there a ++CONTENTS or ls-laR.tgz file somewhere of the contents? Is the consensus that if this /usr/libexec/ld-elf.so.1 file is replaced then all should be fixed? Thanks Ulf! -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
missing /usr/libexec/ld-elf.so.1 ... not found
(I am posting this because a search for the subject above in Google turned up not much... not much 'tall!) What should a user do if their, uhm, /usr/libexec/ld-elf.so.1 file is missing on 4.7-RELEASE? Can said user `touch /usr/libexec/ld-elf.so.1` as a decent fix? Or mount their drive from another OS and copy over a friend's or a web-hosted ld-elf.so.1 file? Or could I, I mean my friend, use some of the contents of src/ on a 4.7-RELEASE CD-R to recreate (via compiling) this needed file?? Please help. It could be your gift to me. -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: www.knoppix.net and maybe one day FreeBSDCDR?
On Mon, 22 Dec 2003, Daniela wrote: On Thursday 18 December 2003 03:33, Peter Leftwich wrote: Hi again, Could someone explain how to create a similar bootable CD-R of FreeBSD that, at boot-time, would mount root to a ramdisk and run Gnome or KDE automatically? Everything would have to use relative links and paths, eh? This Knoppix (Debian) Linux CD is a real life-saver (although I can't figure out how to mount the partition that has my 4.7-RELEASE root /) and worth checking out. Give it as a gift to a techie on your list!!! I'm already doing this, with a few additional features such as mounting a ramdisk over the entire root (so everything is writable), automatic saving and restoring of changed files, automatic XFree86 configuration, ... Knoppix is the same but AFAIK not automatic. Everything is done in shellscript and AFAIK it will require no source code change at all, and it works for all versions. Are you using the port livecd to accomplish this task? I currently have no hosting for the project, so I'm doing everything alone, but I'd really like to get other people involved as well. Regards, Daniela For hosting needs, why not try www.sourceforge.net or www.sf.net ? I think that if the BSD community comes up with a clever enough name, we (i.e. FreeBSD?) could become an eyebrow-raising name like Lindows for example!! *smiles* -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to mount FreeBSD from Debian or any Linux possibly
On Sun, 21 Dec 2003, Jonathan Byrne wrote: I take it using -t autofs doesn't get you anywhere, either? I don't have any FreeBSD partitions around at the moment or I'd try it out myself and see if I can get it going. Another approach you could try if you can't get it to mount with uid = knoppix is to mount it as root the way you were additionally doing, then chown the whole thing to knoppix. chmodding it to 777 might also work, if you feel like playing with fire :-) Jonathan -- gpg --keyserver pgp.mit.edu --recv-keys ACC46EF9 Key fingerprint = E52E 8153 8F37 74AF C04D 0714 364F 540E ACC4 6EF9 I love the smell of filtered spam in the morning - it smells like victory! Thanks Jonathan!!! :) The chown sshhtick did the trick!! I hope my changes were not permanent (i.e. to the live filesystem that I hope to be able to boot again one day)... -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to mount FreeBSD from Debian or any Linux possibly
Ruben de Groot [EMAIL PROTECTED] wrote: On Fri, Dec 19, 2003 at 12:48:40AM -0500, Peter Leftwich typed: Here is how to mount your freebsd partition from Linux (in my case, it was a CD-R of the Debian-based bootable known as Knoppix available from www.knoppix.net). As long as your Linux ... The only thing I could not figure out was how to su my currently-running X session. That would allow me to use KDE and Konqueror to browse graphically to the directory /mnt/freebsdpartition ... anyone know how? Not needed. try: mount -t ufs -o ufstype=44bsd,uid=knoppix /dev/hda2 /mnt/freebsdpartition (that is, if your X session is running as user knoppix.) My X session *was* unfortunately running as knoppix but I could do a Ctrl-Alt-F1 (or Alt-F1 I forget) and go to the vtty there, type in just passwd and then be prompted for a new root password so that in my X session, I could run a terminal window and su then type in THAT new password. (Sorry; Was that explained well?) Anyways. The icon for the mounted freebsdpartition had a padlock icony, hence, it seemed that only root had GUI (graphical user interface) access to the mounted drive! Nuts. -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to mount FreeBSD from Debian or any Linux possibly
Ruben de Groot [EMAIL PROTECTED] wrote: Peter Leftwich [EMAIL PROTECTED] wrote... currently-running X session. That would allow me to use KDE and Konqueror to browse graphically to the directory /mnt/freebsdpartition ... anyone know how? Not needed. try: `mount -t ufs -o ufstype=44bsd,uid=knoppix /dev/hda2 /mnt/freebsdpartition (that is, if your X session is running as user knoppix.) [EMAIL PROTECTED] mount -t ufs -o ufstype=44bsd,uid=knoppix /dev/hda2 /mnt/fbsd mount: wrong fs type, bad option, bad superblock on /dev/hda2, or too many mounted file systems Ruben, Your suggested command line returned an error and did not work. Is there a hack where I can edit the /etc/mtab or /etc/fstab files in realtime instead? -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[Fwd: fixit.flp or fixit via live filesystem CD]
RE2: http://www.freebsd.org/relnotes/4-STABLE/installation/i386/trouble.html The page above always makes a skirting blow or furtive glance at what is possible with a fixit.flp (namely that /stand and /mnt2/stand have some goodies) but without the use of the ls binary command I am a fish driving a tricycle (that is, useless!) Someone please comment from experience!!! Thank you so much. Original Message Subject: fixit.flp or fixit via live filesystem CD From: Peter Leftwich [EMAIL PROTECTED] Date: Thu, December 18, 2003 2:23 To: [EMAIL PROTECTED] RE: http://www.freebsd.org/relnotes/CURRENT/installation/i386/trouble.html Is there a manpage or FAQ explaining the basic commands available to users during a fixit session? I understand how to change to that terminal using Alt-F4 but then the following commands are the only ones that seem to work: pwd echo quit while the following list of commands do NOT work: ls (YES!!! That's what -I- said too, ls doesn't work?!?!) whoami mount /sbin/mount ./mount man Could someone shed some light on where one can go to RTFM about fixitting? Thanks, please CC my email address in your reply... -- Peter Leftwich, President Founder Video2Video Services Box 13692, La Jolla, CA, 92039, USA http://Www.Video2Video.Com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
4.7-RELEASE bootable CD-R to replace files
Hello fellow BSD'ers! Happy holidays. I had 4.7-RELEASE on my box and then I accidentally deleted a file as root (I think it was /usr/lib/ld-elf.so.1 or .8) and now the system is not bootable anymore (I believe this affected many binaries such as /sbin/init and my tcsh shell)! Could someone please advise me about booting into this CD-R I have of 4.7-RELEASE and reinstalling (similar to upgrading, for which there is sparse information at www.freebsd.org)?? Do I just select Label from /stand/sysinstall (as fdisk information looks fine) and label the root mountpoint / then select bin, compat, libraries etc or will this possibly OVERWRITE a directory I currently have (mounted) such as /root/mydocuments/ ?? Thanks to anyone who can clarify this procedure. PS: Please reply CC: to my email address as well as the list. -- Peter Leftwich, President Founder Video2Video Services Box 13692, La Jolla, CA, 92039, USA http://Www.Video2Video.Com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 4.7-RELEASE bootable CD-R to replace files
On Wed, 17 Dec 2003, Josh Paetzel wrote: On Wed, Dec 17, 2003 at 10:36:33AM -0800, Peter Leftwich wrote: Hello fellow BSD'ers! Happy holidays. I had 4.7-RELEASE on my box and then I accidentally deleted a file as root (I think it was /usr/lib/ld-elf.so.1 or .8) and now the system is not bootable anymore (I believe this affected many binaries such as /sbin/init and my tcsh shell)! Could someone please advise me about booting into this CD-R I have of 4.7-RELEASE and reinstalling (similar to upgrading, for which there is sparse information at www.freebsd.org)?? Do I just select Label from /stand/sysinstall (as fdisk information looks fine) and label the root mountpoint / then select bin, compat, libraries etc or will this possibly OVERWRITE a directory I currently have (mounted) such as /root/mydocuments/ ?? Thanks to anyone who can clarify this procedure. PS: Please reply CC: to my email address as well as the list. This is where a copy of the Live CD would really come in handy...you could boot off that, mount your hard drive, and copy over the missing file and be back in business. I looked about the net for a copy of it for you and was unable to find 4.7, although it's a slim chance that 4.8 might work for you, the worst thing that can happen is that it doesn't work. Awesome plan! I didn't even think of that trick. Actually, I thought if I could find my boot floppies, I could use that extra Holographic Shell diskette and fix-it shell to put a couple files back in place... anyone who has used these mysterious strangers *grin* knows what I am talking about when I say there would be some dread involved with that!! Here's the link if you want to give it a go: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/4.8/4.8-RELEASE-i386-disc2.iso Josh Paetzel Awesome again! Thank you for saving me the search for the ISO images. I'm going to download 5.1 or 5.2 and just upgrade while I am at it. Also, I'll break down and just f[EMAIL PROTECTED]@$'ing install the 19Mb's of ports. :) And there was much rejoicing. Thank you for your help, Josh. -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
www.knoppix.net and maybe one day FreeBSDCDR?
Hi again, Could someone explain how to create a similar bootable CD-R of FreeBSD that, at boot-time, would mount root to a ramdisk and run Gnome or KDE automatically? Everything would have to use relative links and paths, eh? This Knoppix (Debian) Linux CD is a real life-saver (although I can't figure out how to mount the partition that has my 4.7-RELEASE root /) and worth checking out. Give it as a gift to a techie on your list!!! PS: Please CC my email address if you reply, thanks. -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Suggestion to display date/time of port addition or modification
RE: http://www.freebsd.org/cgi/ports.cgi?query=gimpstype=all [1] Two quick questions/suggestions if I may? Has the ports team ever considered including the date/time of when the port was added or modified? This could be displayed as a time code, such as 20031118 (today's date) and appear on the line that says: Description : Sources : Package : Changes : Download [2] I do not understand the usefulness nor see the beauty of the current method of installing ports. Why must a user download elementary instructions for programs A, B, C, D, through Z when all he or she may want are programs P and Q which require libraries B, C, D, and E? In other words, have the people in the know ever considered making it possible to download one tarballed directory, whose Makefile could figure out which other tarballed directories are needed and fetch them in sequence? This seems far simpler than 19 megs of unnecessary files that may never be used possibly. Thank you for listening, hopefully my remarks generate some discussion. -- Peter Leftwich, President Founder Video2Video Services Box 13692, La Jolla, CA, 92039, USA http://Www.Video2Video.Com PS: Please reply-to-all or explicitly CC me in your reply. Appreciate it. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: xv flag to not create ~/dir/dir/.xvpics/
On Wed, 17 Sep 2003, Vlad D. Markov wrote: On Tue, 16 Sep 2003 20:44:16 -0400 (EDT) Peter Leftwich [EMAIL PROTECTED] wrote: The option vsmap is asking for an image browser. The program need not necessarily cache thumbnails on the hard disk. Perhaps this is a wish list item for xv developers or a sign to shop for other alternatives. All I ever wanted was a file explorer similar to Microsoft Explorer (latest) or ACDSee32 (www.acdsystems.com I think). In Unix. Too much to ask? I had a gtk app that displayed thumbnails as you went thru the directory structure, is that what you are looking for? It was gqview and is in the ports. Thumbnail display is an option from the menubar Great post! Thank you. I had actually tried this or a similar app before and was dismayed that the thumbnails were not in a grid (rather, they are in a single, uniform column) but there are SO MANY great features that I'll settle!!! Awesome. You can rename, delete, move, bulk move, etc also. Thanks again, you made my day. -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: xv flag to not create ~/dir/dir/.xvpics/
On Sat, 13 Sep 2003, Lowell Gilbert wrote: From: Lowell Gilbert [EMAIL PROTECTED] Peter Leftwich [EMAIL PROTECTED] writes: If I `cd ~/dir/dir` then run `xv -vsmap` xv creates cached thumbnails. Does anyone know of a flag for xv to -NOT- create a directory called .xvpics? I do not want xv to create this directory. Thanks. The option -vsmap is *asking* for the thumbnails. If you don't want them, then don't use that option. The option vsmap is asking for an image browser. The program need not necessarily cache thumbnails on the hard disk. Perhaps this is a wish list item for xv developers or a sign to shop for other alternatives. All I ever wanted was a file explorer similar to Microsoft Explorer (latest) or ACDSee32 (www.acdsystems.com I think). In Unix. Too much to ask? -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
xv flag to not create ~/dir/dir/.xvpics/
If I `cd ~/dir/dir` then run `xv -vsmap` xv creates cached thumbnails. Does anyone know of a flag for xv to -NOT- create a directory called .xvpics? I do not want xv to create this directory. Thanks. -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mirroring tool? web snake? getbot?
On 2003-07-29 21:54 -0700, Peter Leftwich [EMAIL PROTECTED] wrote: All I'd like is a graphical tool that prompts the user for a URL then proceeds to mirror that URL to the working directory or to a base directory specified in its preferences. It would also be nice to filter by URL's ending in ___ for example, .jpg, .jpeg, .mp3, and so forth. A command-line tool to do this: /usr/ports/ftp/wget I notice that ftp is in the file path - not to be confused with http? A graphical tool to do this: c:\winnt\setup.exe You sir, are on crack. I have been completely and happily M$FT-free since Feb 2002, when I terminated a long reign of piracy (cram it, Win98SR1!!) and a longer slew of disappointments and BSoD's. If you know what a BSoD is then you've used Microsoft Windows. Greg Gregory S. Sutter In view of the stupidity of the majority mailto:[EMAIL PROTECTED]of the people, a widely held opinion is http://zer0.org/~gsutter/ more likely to be foolish than sensible. hkp://wwwkeys.pgp.net/0x845DFEDD --Bertrand Russell N.B. Mr. Gates legal et al. that I said a long reign, not MY long reign. -- Peter Leftwich, President Founder Video2Video Services Box 13692, La Jolla, CA, 92039, USA http://Www.Video2Video.Com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Mirroring tool? web snake? getbot?
Hi all. I'm searching and searching the (X11 / GUI) ports at www.freebsd.org and www.freshmeat.net but I was wondering if some of you could help me with a better, targeted keyword that describes this kind of tool or application? All I'd like is a graphical tool that prompts the user for a URL then proceeds to mirror that URL to the working directory or to a base directory specified in its preferences. It would also be nice to filter by URL's ending in ___ for example, .jpg, .jpeg, .mp3, and so forth. I used a command line tool called httrack for many months until I found that upon each successive run of the program, it deletes the results of the last run! Stupid! Thanks for any ideas you all may have. -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [SDBUG] Re: Monitor dimming
On Thu, 3 Jul 2003, Matthew Seaman wrote: I suspect that XFree86 is just applying its default settings, given that you haven't told it to do otherwise. Makes sense. I'm not complaining. Is xset the only thing that can make use of DPMS or is there a binary in the default / standard / minimum *BSD installation to control it too? Look at vidcontrol(1) -- specifically the '-t blanktime' option. You can go direct to the screen saver on a console screen by hitting Shift-Pause -- see splash(4). However whether this involves DPMS directly or not, I don't know. Good ideas, vidcontrol and splash . . . I just tried the Shift+Pause trick and it did not work, probably because I have X running elsewhere. By the way, is there a good write-up somewhere why I cannot run xscreensaver while logged in as root? Thanks for entertaining this thread of mine for so long, Dr. Seaman. Cheers, Matthew Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [SDBUG] Re: Monitor dimming
On Wed, 2 Jul 2003, Matthew Seaman wrote: If you want -- it's entirely up to you. X has an impressively long list of places and variant filenames where it will search for the XF86Config file: so much so that you should take some care about where you leave copies lying around. I believe that /etc/X11/XF86Config is the preferred, if you like, standard location under FreeBSD. I have enough stuff in /etc :-) I'll just keep it /etc/XF86Config None of these ServerFlags are mentioned in my XF86Config file. Is the blanking, standing by and suspending controlled by the ati driver in my case, do you think? Or is there a default of some sort that is compiled into the X server binary?? There's lots of stuff that might go into XF86Config which isn't mentioned in the automatically generated config file, produced by But I meant, in *my* XF86Config there is no mention of the blanktime or standby or suspend timings, and yet, after about 5-10 minutes of idle time my monitor somehow KNOWS to dim itself. Where else might I find the cause? (Nota Bene: I'm happy with the setting, just curious about its source!!) 'XFree86 -configure'. In this case, these options will be applicable if your monitor supports DPMS, irrespective of the make of your video card. Most monitors do, now-a-days. Cheers, Matthew Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK Fuel for a mean spirited virus or shell script ;-) I say! Is xset the only thing that can make use of DPMS or is there a binary in the default / standard / minimum *BSD installation to control it too? -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mount My Creation [ls -c, -t -u etc]
On Sat, 21 Jun 2003, Joshua Oreman wrote: On Thu, 19 Jun 2003, Patrick O'Reilly wrote: And see 'man ls' and the switches -c, -t and -u. I was aware of and often use the -t switch (in a tcsh alias), but these have to do with sorting. What if I wanted to see (maybe not as output from a single command but a few) the creation date, last modification date, and last access time for a directory? What are the command lines I'd use (to include . files and NOT recursively list within a/the directory)? Include . files - ls -a Don't recurse - DON'T include -R Inode change time - ls -lc Last modified - ls -l These last two are nearly always identical, ugh. Last accessed - ls -lu Note that there is no creation time - it's actually just the inode change time. So it will change when you make a new link to the file, for example, or when you set any of the file's times other than last modified, with `touch'. -- Josh The -u one is the only one for which I see new output (I've never thought was there!) But now I can't figure out two things: [1] If I'm in a directory, and do ls -alF and see for example: drwx-- 2 pete users 512 Jun 22 13:41 myfiles/ What ls command can I do IN THE CURRENT WORKING DIRECTORY to just see the myfiles/ listing? That is, if I type ls -alF myfiles (or myfiles/), why does the output delve *into* this directory and list its contents? The only work around is ls -alF | grep myfiles it seems! [2] What is the switch to see the full date and time output, instead of this information being truncated to Dec 3 2002 instead of Dec 3 2002 15:16:01 for example? -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mount My Creation [ls -c, -t -u etc]
On Sun, 22 Jun 2003, Axel Scheepers wrote: prompt$ man ls -d Directories are listed as plain files (not searched recursively) and symbolic links in the argument list are not indirected through. :-) gr, Axel Scheepers Awesome! The post before had just said don't use -R Thanks Axel S. -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
TZ
Well I'm sitting here typing date over and over but she doesn't appear. :) Actually, I was looking for something more in the output, namely, the GMT offset such as (-0800 PDT) then I finally noticed that PDT *is* there. But I can't remember where I specified that! A grep of PDT in /etc/* and /boot/* returns nothing relevant. I also can't remember if this is something that can be played with in userland, that is, as a postprocessor (e.g. the tcsh shell using set or setenv). Ideas, from any timezone? PS - Please CC: me in your reply -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Mount My Creation
Ponder this... Why is it /etc/fstab and not /etc/mount.conf ?? Ponder this... Why does M$FT Windows have Created, Accessed, and Modified, while UNIX (beware of unresearched, wide-sweeping generalizations...) only provides one the Last modified date and time stamp? Ponder this... Does this Leftwich guy ever shut up? :-o PS - Please CC: me in your reply! -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Monitor dimming
Can someone tell me what controls the dimming of my monitor after a set amount of minutes of idle time? It is not xscreensaver; I'm assuming it is something called from startx or at boot time in rc.conf? I ask because I would like to [1] change the idle timeout and [2] run a command line command to dim now. Thanks all, please CC: me! -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Resetting ports and pkg's?
Hi again list, Is there some way to reset what my FreeBSD 4.7-RELEASE O.S. knows about what is currently installed? I ask because a while back, I accidentally deleted part of /usr/local/lib/ (in unlinking a directory). Now, whenever I install a port or run `pkg_add -rf` something is always wrong and indicated by an error message. Help! Thanks CC: me please... PS - Is it as easy as just `rm -rf /var/db/pkg/` or just one directory? -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
/var/log/wtmp and /var/log/system/log.*
Apparently there was a power outage in my area of San Diego this morning sometime between 8:56 AM (the last time that gaim (multi-userID chat program) logged a sign on or sign off) and 11:25 AM (when I got out of bed). I'm wondering why FreeBSD (and in general, all Unix flavors), don't do this: * Every minute, on the minute, touch /var/log/system/log.`date +%m%d%y` That way, whether a user is logged in or not, and a system gets rebooted or shutdown (hard), the sysadmin can supplement /var/log/wtmp with accurate information and thus reconstruct what the uptime would have been for that power-on session. Can someone comment on what to use for the at command command-line, and whether I'd put this in /usr/local/etc/rc.d/SOMETHING.sh or where? I think this is an interesting omission from Unixes in general. What's your opinion? -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems making ogle and libdvdread
On Sun, 23 Mar 2003, Stephen Hilton wrote: On Sat, 22 Mar 2003 22:34:21 -0800 (PST), Peter Leftwich [EMAIL PROTECTED] wrote: Actually, switch the order of those. I'm trying to make or put libdvdread in the right place so when I run `./configure` in the ogle-0.9.0 directory it won't keep complaining about libdvdread. Can someone please comment? I emailed [EMAIL PROTECTED] asking for an ogle package but I don't know where that request will go... Thanks everybody, please CC replies to me. Peter, Have you tried using the ports/multimedia/ogle port ? it is working well for me on my 4.8RC box. Regards, Stephen Hilton [EMAIL PROTECTED] Thank you for the idea and encouragement, but I remain anti-ports. I don't see any good in a process whereby the user must download all in order to, if he or she wishes at a later date, only install or activate a handful of those applications. Why work from the base of the pyramid to the tip? That's just my rant, sorry to burden you all. -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problems making ogle and libdvdread
Actually, switch the order of those. I'm trying to make or put libdvdread in the right place so when I run `./configure` in the ogle-0.9.0 directory it won't keep complaining about libdvdread. Can someone please comment? I emailed [EMAIL PROTECTED] asking for an ogle package but I don't know where that request will go... Thanks everybody, please CC replies to me. -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com Script started on Sat Mar 22 22:27:23 2003 Reading .cshrc file... Done reading .cshrc file! # pwd /root/libdvdread-0.9.4 # ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets ${MAKE}... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... i386-unknown-freebsd4.7 checking host system type... i386-unknown-freebsd4.7 checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for ld used by GCC... /usr/libexec/elf/ld checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes checking for /usr/libexec/elf/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependant libraries... pass_all checking command to parse /usr/bin/nm -B output... ok checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... no checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for ranlib... ranlib checking for strip... strip checking for objdir... .libs checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/libexec/elf/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... freebsd4.7 ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether -lc should be explicitly linked in... yes creating libtool checking for dlopen... yes checking for inttypes.h... (cached) yes checking byteswap.h usability... no checking byteswap.h presence... no checking for byteswap.h... no checking sys/bswap.h usability... no checking sys/bswap.h presence... no checking for sys/bswap.h... no checking sys/endian.h usability... yes checking sys/endian.h presence... yes checking for sys/endian.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking whether byte ordering is bigendian... no checking for gcc option to accept ANSI C... none needed checking for an ANSI C-conforming const... yes checking for inline... inline checking for size_t... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating dvdread/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands # make install clean Making install in dvdread /bin/sh ../mkinstalldirs /usr/local/lib /bin/sh ../libtool --mode=install /usr/bin/install -c libdvdread.la /usr/local/lib/libdvdread.la /usr/bin/install -c .libs/libdvdread.so.3 /usr/local/lib/libdvdread.so.3 (cd /usr/local/lib rm -f libdvdread.so ln -s libdvdread.so.3 libdvdread.so) (cd /usr/local/lib rm -f libdvdread.so ln -s libdvdread.so.3 libdvdread.so) /usr/bin/install -c .libs/libdvdread.lai /usr/local/lib/libdvdread.la /usr/bin/install -c .libs/libdvdread.a /usr/local/lib/libdvdread.a ranlib /usr/local/lib/libdvdread.a chmod 644 /usr/local/lib/libdvdread.a
Re: SBC DSL vs Fbsd 4.7 PPPoE?
On Tue, 4 Mar 2003, Amit Chakradeo wrote: Indent your ppp.conf file properly. All lines in a section (e.g. default) should be indented by at least a space. YEAY!! (No thanks to those deceptive, colon-hating or colon-seeking error messages.) Hey, Amit my new good good helpful friend... does this email address of yours accept kindly PayPal-originated donations? Let me know. ppp automatically loads the netgraph module if it is not built in kernel. /boot/loader.conf just decides what modules to load at bootup. Don't change anything there. They're all off except for ng_pppoe.ko and netgraph.ko according to the output from kldstat. Do they run faster compiled into the kernel? I don't know what I'm asking exactly. Can I safely change these to NO? Also if you have multiple tun interfaces, you might want to add -unit0 to the ppp commandline to force it to use tun0 interface (makes filtering easy!) HTH AMit That weird tun0, tun1, tun2 problem has since ceased. I like the ifconfig command but couldn't get `ifconfig xl0 destroy` to work (kept getting a compile sort of error, lemme see... ifconfig: SIOCIFDESTROY: Invalid argument There it is, yeah. And I am mildly confused about if there are any dangers with killing the ppp process, or running ppp to get into interactive mode and trying to use the close command or, once again, does any of this matter? Now it's time for me to read up on natd, ipfw etc etc and most important of all, learn how to install just one port at a time rather than /stand/sysinstall then getting src-all and ports-all then portupgrade then cvsup then make install clean there's gotta be a command above pkg_add -r but below cvsup and having extraneous ports in my tree!! Tarballs are so under-rated, as are mechanisms for getting dependent libs! :( PS - Thanks again Amit, early birthday present to me!! :-) B^] -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Manually reinstall various lib's?
On Fri, 17 Jan 2003, Matthew Seaman wrote: On Fri, Jan 17, 2003 at 03:23:54AM -0500, Peter Leftwich wrote: [PLEASE CC: ME IN YOUR REPLY - THANK YOU] I just upgraded from 4.6.2 to 4.7 after accidentally, yes, as root, wiping out my /usr/local/bin/ folder with an rm -rf (I thought I was in /somemounteddrive/usr/local/bin/ and was removing unneeded stuff)! I also noticed that upgrading from 4.6.2 to 4.7 changes your /etc/rc.conf (as happened when I went from 4.5 to 4.6.2) so that if moused is using /dev/ums0 (USB), these lines (the =YES ones) will be gone from rc.conf! I also removed /usr/local/lib/ by accident and now startx and lots of different pkg_add -rf package commands are giving me errors about expecting different libraries. Is there a way to manually install these? Please help, you're my only hope! =) Yours, faithfully as root right now, I assume from the desperate nature of this plea that you don't have good backups of all the stuff you accidentally deleted. 0 backups, always logging in as root... I break ALL the rules :) Hmmm... Do you have portupgrade installed? Does it still work? I really never use cvs, cvsup, the ports tree (takes up too much space, and is a top-down approach, or bottom-up, I donno) or portupgrade. If not, try re-installing it from packages from one of the ftp sites. You'll also need the packages it depends on: % pkg_info -r portupgrade\* Information for portupgrade-20021216: Innteresting command (makes a mental note). I use pkg_add -r a lot (and -rf) and this is good to know. When pkg_add tells the user something is already installed, did it find the binary in /usr/local/bin/ or a directory in /var/db/pkg/*dir-here*/ ? What's its evidence? Depends on: Dependency: ruby-1.6.8 Dependency: ruby-shim-ruby18-1.8.0.p1 Dependency: ruby-bdb1-0.1.8 Then make sure your ports tree is up to date, and you've rebuilt the indexes and fixed up the package dependencies: # portsdb -Uu # pkgdb -Fv and then use portupgrade to force a reinstall of all previously installed packages: # portinstall -rRiaf This should work through all installed packages in dependency order, prompting you each time if you want to de-install and then re-install the package. If you'ld prefer to install pre-compiled packages rather than compile from ports, add 'P' to that list of flags. Cheers, Matthew Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK Thank you for your help, but I'm attending a meeting (www.sdbug.org) tonight and someone ([EMAIL PROTECTED]) is going to tutor me at my PC later on so we shall see... Wish me luck!!! :) I LOVE FREEBSD. arr, make me LOVE IT MORE! =) -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Manually reinstall various lib's?
[PLEASE CC: ME IN YOUR REPLY - THANK YOU] I just upgraded from 4.6.2 to 4.7 after accidentally, yes, as root, wiping out my /usr/local/bin/ folder with an rm -rf (I thought I was in /somemounteddrive/usr/local/bin/ and was removing unneeded stuff)! I also removed /usr/local/lib/ by accident and now startx and lots of different pkg_add -rf package commands are giving me errors about expecting different libraries. Is there a way to manually install these? Please help, you're my only hope! =) Yours, faithfully as root right now, -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
uscanner and ppbus0 webcam (Please CC me)
From `dmesg | egrep -e '(uscanner|ppbus)'` I see: Preloaded elf module uscanner.ko at 0xc0560680. uscanner0: Canon CanoScan, rev 1.00/1.00, addr 2 ppbus0: IEEE1284 device found /PS2/ECP/EPP Probing for PnP devices on ppbus0: ppbus0: VLSI Vision Ltd PPC2 Camera MEDIA CPIA_1-20 plip0: PLIP network interface on ppbus0 lpt0: Printer on ppbus0 ppi0: Parallel I/O on ppbus0 I would like to ship my Creative Webcam II parallel port cam and Canon CanoScan N650U flatbed scanner to someone and PAY for drivers to be written. Does anyone know the best way to find someone to accomplish this, and on what basis the billing might occur (hourly or by the job? ballpark estimate on the total? likelihood of success?) Thank you kindly, -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Softer crash a show-interrupter only (please CC me in reply)
On Sat, 4 Jan 2003, Andreas Ntaflos wrote: PL [Please CC me in your reply] Can anything be gathered from the attached sysconsole messages? Oh, also, is there a tcsh command line I can run that will tee messages both to the console and to a file, such as `startx 2 startx.out` or something? Thx!! For that I would use script(1). I think with tcsh it is not possible to direct stdout and stderr to both a file and the console. Great idea! I'll try to remember and use it one of the next times... Content-Description: startx.out box 1743 ~ # startx xauth: (argv):1: bad display name ...r.com:0 in list command xauth: (argv):1: bad display name ...r.com:0 in add command XFree86 Version 4.2.1 / X Window System (protocol Version 11, revision 0, vendor release 6600) I am afraid I don't use either Gnome nor Galeon nor GAIM, so I don't think I can help you with that, but you should set your IP address and hostname in /etc/hosts to avoid that xauth errormessage. I did man hosts but it doesn't tell you exactly what the lines of info in the /etc/hosts file are *used* for. Nor does it address people who get their IP dynamically! As for the rest, you sould probably check your jdk1.3.1 installation or something like that. This libjavaplugin_oji.so-thingy is something I've encountered too, but with the native FreeBSD version of Opera. Don't really have a clue on that. HTH (a little) regards I've been using Galeon (browser) and note that it is far far faster than plain old Mozilla. Out of the blue the Flash plugin works but I get no audio and interactive flash often doesn't work right or it crashes the galeon-bin binary. Java I've given up on until it's an all-in-one pkg!! Andreas ant Ntaflos | A cynic is a man who knows the price of [EMAIL PROTECTED] | everything, and the value of nothing. Vienna, AUSTRIA | Oscar Wilde -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Softer crash a show-interrupter only (please CC me in reply)
[Please CC me in your reply] Well, Gnome/Galeon/GAIM/xterm crashed again; the windows all lost their borders and this time thankfully all I could do was Ctrl-Alt-F1 to the console again and Ctrl-Z to the startx process running. I then hit ScrollLock a number of times and copied and pasted the history buffer to a file (attached, edited slightly). By the way, thank you list posters (I forget your email addresses) for your replies about apmd_enable='YES' (fixed my `shutdown -p now` issue) and for the recent post about trying to come in to my box from the network (an astute test to run if I ever get the chance, unfortunately I'm on a 1-box LAN :) and don't want to leave my PC in a crashed and possibly vulnerable state while I go find another PC)... Can anything be gathered from the attached sysconsole messages? Oh, also, is there a tcsh command line I can run that will tee messages both to the console and to a file, such as `startx 2 startx.out` or something? Thx!! -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com box 1743 ~ # startx xauth: (argv):1: bad display name ...r.com:0 in list command xauth: (argv):1: bad display name ...r.com:0 in add command XFree86 Version 4.2.1 / X Window System (protocol Version 11, revision 0, vendor release 6600) Release Date: 3 September 2002 If the server is older than 6-12 months, or if your card is newer than the above date, look for a newer version before reporting problems. (See http://www.XFree86.Org/) Build Operating System: FreeBSD 5.0-CURRENT i386 [ELF] Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: /var/log/XFree86.0.log, Time: Fri Jan 3 17:43:29 2003 (==) Using config file: /etc/XF86Config (EE) R128(0): [dri] DRIScreenInit failed. Disabling DRI. error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPo Couldn't load XKB keymap, falling back to pre-XKB keymap setenv: not found SESSION_MANAGER=local/dhcp-407-32.san.rr.com:/tmp/.ICE-unix/185 ** (gnome-session:185): WARNING **: Host name lookup failure on localhost. ** (gnome-settings-daemon:200): WARNING **: Unsupported in this build setting Net/DoubleClickTime 400 setting Gtk/FontName Sans 10 setting Gtk/KeyThemeName Default setting Net/CursorBlink 1 setting Net/CursorBlinkTime 1200 setting Net/ThemeName Redmond95 -1/-1 Reloading events error in local config-- (void-value xterm-program) Gnome-Message: gnome_execute_async_with_env_fds: returning -1 (gnome-panel:208): GLib-GObject-WARNING **: invalid cast from (NULL) pointer to `GtkWindow' ** (gnome-settings-daemon:200): WARNING **: Unsupported in this build (gnome-panel:208): GLib-GObject-WARNING **: invalid cast from (NULL) pointer to `GtkWindow' ** (gnome-settings-daemon:200): WARNING **: Unsupported in this build ** (gnome-settings-daemon:200): WARNING **: Encountered problems registering the settings daemon with bonobo-activation. Clients may not detect that the settings daemon is already running. GnomeUI-WARNING **: Could not open help topics file NULL *** Bad argument: #subr window-transient-p, (), 1 capplet-common-Message: cleanup_cb: Enter LoadPlugin: failed to initialize shared library /usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so [Cannot open /usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so] You have to leave in 5 minutes. Just one more minute! Time to leave! (etc etc) assertion window_in_stacking_list_p (w) failed: file stacking-list.c, line 67 rep: received fatal signal: Abort trap struct debug_buf common: Backtrace in `fatal_signal_handler': _thread_sig_wrapper+364 0xbfbfde60 _thread_sig_handle_pending+1722 _thread_sig_handler+722 Lisp backtrace: Jan 3 18:29:42 0.6 dhcp-407-32 /kernel: pid 202 (sawfish), uid 0: exited on signal 6 (core dumped) _thread_sig_handler+722 Lisp backtrace: Jan 3 18:29:42 0.6 dhcp-407-32 /kernel: pid 202 (sawfish), uid 0: exited on signal 6 (core dumped) Gtk-CRITICAL **: file gtkwidget.c: line 3246 (gtk_widget_set_state): assertion ` widget != NULL' failed. ^Z [1] + Suspended startx box 1831 COMPUTER UPTIME IS 50 mim ~ top
Re: Power off problem [from Dec-08-2002]
On Sun, 8 Dec 2002, Michael Nottebrock wrote: Brandon S Allbery KF8NH wrote: On Sun, 2002-12-08 at 16:02, Christian Chen wrote: So not only do you have to make sure you've added device apm0, you also have to delete/comment the disable part: Doh! No, you don't: 2@pyanfar:5001 Z$ cat /boot/kernel.conf di fd1 en apm0 --- q Doh!! *slaps forehead* Thanks guys. All the boxen here powering down fine now... -- Regards, Michael Nottebrock I added en apm0 to my /boot/kernel.conf and have this in dmesg: apm0: APM BIOS on motherboard apm: found APM BIOS v1.2, connected at v1.2 But when I run `shutdown -p now` I still have to kill the power to the box. Isn't the fix above supposed to quell my having to do so? Do I still have to boot up into the bios and change a setting do you think? Thanks, and please include my email address as a To or CC. Have fine holidays! -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
uscanner and ppbus0 webcam
During boot, a number of devices are recognized. Does this mean I do not necessarily need drivers for them? What is the connection there? My webcam is a Creative Webcam II parallel and my scanner is a Canon CanoScan N650U USB flatbed but to date I've been unable to get either to work on FreeBSD. I don't own a printer (lpt0). From `dmesg | egrep -e '(uscanner|ppbus)'` here's the info I get: Preloaded elf module uscanner.ko at 0xc0560680. uscanner0: Canon CanoScan, rev 1.00/1.00, addr 2 ppbus0: IEEE1284 device found /PS2/ECP/EPP Probing for PnP devices on ppbus0: ppbus0: VLSI Vision Ltd PPC2 Camera MEDIA CPIA_1-20 plip0: PLIP network interface on ppbus0 lpt0: Printer on ppbus0 ppi0: Parallel I/O on ppbus0 Really appreciate some leading ideas, -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: changing directory listing type
On Tue, 26 Nov 2002, Grant Cooper wrote: ignore that, Just has to log off and re login. You don't even have to log off and back on. After you make a change to your ~/.cshrc or ~/.tcshrc file, you can simply run `source ~/.cshrc` The only problem you can run into is kind of meshing aliases together, for example if you had three different aliases that do the same exact thing. I have been a tcsh shell user for the past 10+ years so I'd be happy to forward you parts of my ~/.cshrc with commentary about what each part does if you are interested. By the way, it doesn't hurt to use full paths in aliases. That way you don't get into circular stuff, for example, use this instead: alias ls /bin/ls -alG - Original Message - From: Grant Cooper [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, November 26, 2002 12:14 PM Subject: Re: changing directory listing type alias lsls -alG I made the changes to my .cshrc but I had to reboot to make the changes? Anyway to activate it without rebooting? I also added alias ls='ls -G' my /etc/profile but I couldn't get it to work with 4.5. Do I have to activate this? - Original Message - From: Jack L. Stone [EMAIL PROTECTED] To: Ismail YENIGUL [EMAIL PROTECTED]; Özgür Özaslan [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, November 26, 2002 6:21 AM Subject: Re: changing directory listing type At 03:54 PM 11.26.2002 +0200, Ismail YENIGUL wrote: hi - try ls -G or install gnuls from ports /usr/ports/misc/gnuls and and run ls --color regard Easier yet, just add the following line in /etc/profile: # alias ls='ls -G' Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net [EMAIL PROTECTED] -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Ports base? [hear me roar]
On Mon, 25 Nov 2002, Greg 'groggy' Lehey wrote: On Sunday, 24 November 2002 at 16:51:07 -0800, Kris Kennaway wrote: On Mon, Nov 25, 2002 at 10:48:31AM +1030, Greg 'groggy' Lehey wrote: On Sunday, 24 November 2002 at 0:12:51 -0800, Kris Kennaway wrote: On Sun, Nov 24, 2002 at 12:03:46AM -0800, Peter Leftwich wrote: I tried to install just the ports base using sysinstall but it started to download the entire ports collection, and my HD space is limited. I didn't think that sysinstall allowed you to install parts of the ports collection, only the entire collection (which is about 9MB). Those were the days. I've just checked out the ports tree, and it's 314 MB! This is probably partially a consequence of the larger file system block size on modern systems, and also of course because of the CVS directories (each of which takes up 16 kB), for a total of 128 MB. Even without them, though, that leaves 186 MB. You're correct I was underestimating (I was thinking of the compressed ports.tar.gz file), but my CVS ports tree is only 204MB including CVS directories, so I think you're overestimating (perhaps you included the distfiles/ directory?) Nope, as I said, I checked out a completely new tree from the repository. FWIW, my real ports tree (including distfiles) runs to 3.1 GB. I'd guess that your file system block size is smaller than mine. The default for new file systems is now 16 kB block and 2 kB fragments, and since nearly every file in the Ports Collection is smaller than the old 512 bytes fragment size, this means that they are now 1.5 kB larger. My ports tree currently has 170,000 files in it (including distfiles, admittedly; I don't want to check out again), so that's in the right ball park. -Greg -- See complete headers for address and phone numbers You dunderheads :) are all missing the point. Why isn't there something a few notches above pkg_add -r and a few notches below knowing how to cvsup and downloading a massive, obscenely extravagant ports tree? Why can't someone write a shell script or binary that would prompt the user with: Hello, which port would you like? User enters something like this at that point: /usr/ports/java/jdk13/ Then the script would fetch ftp://ftp.freebsd.org/something/current/ports/java/jdk13.tgz and set to work untarring then changing to that directory and running make install clean and if there were a dependency or problem, offer the user some feedback such as java/jdk13 requires the following (not found): javabeans.jvm user.jvm jvmlib Would you like to install these too (y/n/interactive)? The same script or binary would be aware to the point that if the ports base was not even present, it would prompt the user (who most likely is running the script or binary for the first time) would you like to download and install the minimal ports base (13.3mb)? or whatever... Or am I just crazy, impossible to please, and cursed to be ever dissatisfied and relegated to the land between sysinstall and the valley of hard core programmers?? -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Seeking command similar to dd
On 15 Nov 2002, Gary W. Swearingen wrote: Peter Leftwich [EMAIL PROTECTED] writes: Is there a command similar to dd to analyze a CD that is in the drive? I use the dd bs=2k command on ISO 9660 CDs. Is there more to that command line? Or does it let you browse RAW data? I used mkisofs the other day, then burncd (forgot to say fixate on the end of the command line though), and now I cannot mount this CD. Ideas? I'm fairly sure that you can successfully run burncd fixate just after running burncd data ..., but I don't know what can be done in between The weird thing is that right after the burncd session finished, I was able to ls -al the cd (can't remember if it was mountable or not...) without messing things up. I don't know if the drive has memory which gets used in the fixate process or if it's something that can be done from scratch at any time after burning the data. (I've even had occasional success restarting a burn that bailed out mid-CD. Sadly, I can't get my burner to burn or even mount CDs reliably lately. New kernel didn't help. Guess I'll have to install Linux and see if it can drive the thing any better.) Does it sound like not having put fixate on the end has made this CD never again readable? It's ok because I archived the data anyways. But please comment. When analyzing CDs, know that burncd usually puts an extra 2k block on the CD, so that a raw diff won't work. I think I've posted my CD-diffing script here already; ask me if you'd like it. Thanks for the tip. Is there a command line that makes the CD bootable in any drive? For example, I've read the manpage and it looks as though you can add -h for Macs and HFS, and -r for RockRidge extensions which get around 8.3 format and... a couple other filename affecting flags...? -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Show-stopping Galeon bug!
On Fri, 15 Nov 2002, Mike Erickson wrote: (11.12.2002 @ 2220 PST): Peter Leftwich said, in 1.3K: If you use the Galeon browser, be careful or mindful of the following bug that has actually crashed *look of awe!* my system 3 or 4 times now. For those of you just joining the thread, the bug is that if you hit Ctrl-r to reload the document and get prompted REPOST DATA? and if you hit the space bar on OK or tab-enter quickly or click at the same time, sound keeps playing fine, you can move the cursor but you are not able to click on anything or keyboard out. In fact, if I hit Caps-Lock or NumLock the keyboard light doesn't even register. How reproducible is it? I couldn't reproduce it... what version of mozilla, gtk, galeon, and FreeBSD are you running? Has anyone else witness this or something similar with Mozilla? Do you also get this problem with Mozilla, or just with Galeon? So far it is just Galeon. I've had the same bug with other GTK apps (Pan), although I'm not conviced that it is a GTK bug, to be clear. Also, it does not crash the system. You can ctrl-alt-f2 to another tty and login and kill the process. mike I think I tried Ctrl-Alt-Backspace and your suggestion of Ctrl-Alt-F1 or F2 but I shall have to try that again if Galeon bombs out. Thanks for the tip! -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Seeking command similar to dd
Is there a command similar to dd to analyze a CD that is in the drive? I used mkisofs the other day, then burncd (forgot to say fixate on the end of the command line though), and now I cannot mount this CD. Ideas? -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Searching for 'webcam' or 'cpia'
ppbus0: IEEE1284 device found /PS2/ECP/EPP Probing for PnP devices on ppbus0: ppbus0: VLSI Vision Ltd PPC2 Camera MEDIA CPIA_1-20 All I can find out there on the web are linux kernel drivers for my parallel port Creative Webcam II device and the source for cpia When I search www.freebsd.org and the ported apps for either webcam or cpia there are no hits. Has anyone gotten a parallel cam working? -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: burncd creates jittery audio cd's
On Wed, 13 Nov 2002, Jacob Rhoden wrote: Hi, I have tried burning some wav files onto a cd using burncd, and the audio in a cd player comes out broken (random fraction of a second blank sections in the audio). Is there some special option which I need to use which I am un-aware of from looking in help/man pages... or could it be my cd burner? My burner is a diamond cd burner, which the kernel reports as: acd0: CD-RW CD-RW 24X10X40 at ata0-slave PIO4 Thanks for any advice, Jacob Jacob RhodenPhone: +61 3 8344 6102 ITS DivisionEmail: [EMAIL PROTECTED] Melbourne University Mobile: +61 403 788 386 There is a flag to burncd of -s I believe. Try matching that to your hardware's speed or slower. Also, are you using mkisofs? (As far as I know, you should be.) -- Peter Leftwich President Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: burncd creates jittery audio cd's
On Wed, 13 Nov 2002, Jacob Rhoden wrote: On Wed, 13 Nov 2002 15:13, you wrote: There is a flag to burncd of -s I believe. Try matching that to your hardware's speed or slower. Also, are you using mkisofs? (As far as I know, you should be.) Thanks for your reply.. I didnt use the -s flag because the man page reports that it defaults to 1 (i assume thats the lowest speed). Im not using mkisofs, because the man page says use mkisofs to make cd tracks which have files in them. (And I guess because the burncd command I used was successfull except for the low quality of the sound, it must mean that it works without mkisofs?). Thanks, Jacob Jacob RhodenPhone: +61 3 8344 6102 ITS DivisionEmail: [EMAIL PROTECTED] Melbourne University Mobile: +61 403 788 386 I don't know, and turn this back over to the list... -- Peter Leftwich President Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Show-stopping Galeon bug!
If you use the Galeon browser, be careful or mindful of the following bug that has actually crashed *look of awe!* my system 3 or 4 times now. Somewhat reproducible... If you press Ctrl-r to refresh the loaded URL and a dialog appears asking to REPOST form data and you either hit the Enter key or spacebar or click OK at the same time (something frantic like that, or hold down Ctrl-r and press Enter) you will still be able to move the mouse around (clicking does nothing) but the keyboard will be ignored (Alt-tab, Esc, C-A-BKSP, Ctrl-\, Ctrl-. etc) and pressing the NumLock or CapsLock keys will not light up their LEDs. Dead in the water not in the water though. Has anyone else witnessed this? I had an mp3 playing on xmms player and it continued to play fine. Because of the crash, (technically not a crash, but what do you call being isolated from all input means such as mouse and keyboard?) I was forced to press my unit's Reset button (I waited until the mp3 finished playing due to HDD access). Has anyone else witness this or something similar with Mozilla? -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: man 1 eject [Giorgos]
On Tue, 5 Nov 2002, Giorgos Keramidas wrote: Perhaps NetBSD has an eject program as part of the OS, but FreeBSD does not. The manpage seems to indicate otherwise: HISTORY The eject command appeared in FreeBSD 2.X FreeBSD 4.6.2 Jul 1, 1996FreeBSD 4.6.2 I don't have an eject manpage in my FreeBSD 5.x installation: Brave soul, running an Alpha (Beta?) OS. keramida@gray[16:11]/home/keramida$ man -w eject No manual entry for eject What does man -w tell you? # man -w eject /usr/local/man/cat1/eject.1.gz (source: /usr/local/man/man1/eject.1.gz) Don't know if that helps you. -- Peter Leftwich President Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: man 1 eject [DaleCo]
On Tue, 5 Nov 2002, DaleCo Help Desk wrote: I don't have an eject manpage in my FreeBSD 5.x installation: Nor does the FBSD site in -STABLE: http://www.freebsd.org/cgi/man.cgi?query=ejectapropos=0sektion=0manpath=FreeBSD+4.7-stableformat=html What does the above show, no results? Sorry, no data found for `eject'. You may look for other FreeBSD Search Services. Peter, what in the *header* of your eject manpage? Generally, FBSD's own manpages show up with FreeBSD System Manager's Manual, or FreeBSD General Commands Manual, etc., etc. Kevin Kinsey DaleCo, S.P. The header, as in the first few lines of groffed manpage text? It shows: EJECT(1)FreeBSD General Commands Manual EJECT(1) NAME eject - eject removable media from drive Are we closer to getting to the bottom of this? I don't remember choosing to install eject manually from my original /stand/sysinstall install. -- Peter Leftwich President Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: man 1 eject
On Mon, 4 Nov 2002, Sue Blake wrote: On Mon, Nov 04, 2002 at 02:18:18AM -0500, Peter Leftwich wrote: On Mon, 4 Nov 2002, Greg 'groggy' Lehey wrote: Hmm. Before we can improve the man page, we have to write it. Are you confusing FreeBSD with NetBSD? Greg I don't get it. Peter, I think Greg is saying that there's no man page for eject in FreeBSD, because that program is not part of the operating system. Perhaps NetBSD has an eject program as part of the OS, but FreeBSD does not. The manpage seems to indicate otherwise: HISTORY The eject command appeared in FreeBSD 2.X FreeBSD 4.6.2 Jul 1, 1996FreeBSD 4.6.2 Greg, I think Peter might have installed the sysutils/eject port and forgotten that it was installed as an additional program. In that case he'd need to find out who wrote the eject program and send his feedback there. Regards, -*Sue*- http://www.sievx.com/ I still suggest a command-line flag to do the opposite of eject. :) -- Peter Leftwich President Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: What is bsd.port.mk ?
On Mon, 4 Nov 2002, Adam Weinberger wrote: # pwd /stuff/mutella (I had to manually download each of the following since the adding the .tar trick did not -- as usual -- work!) What I meant by that was the trick where you can use the command fetch to request a directory.tar and it basically tars on the fly. For example, `fetch ftp://ftp.freebsd.org/branches/current-/ports/etc/somedirectory.tar` # ls -al total 12 drwxr-xr-x 2 root wheel 512 Nov 3 23:49 . drwxr-xr-x 34 root wheel 2560 Nov 3 23:49 .. -rw-r--r-- 1 root wheel 650 Nov 3 23:48 Makefile -rw-r--r-- 1 root wheel62 Nov 3 23:48 distinfo -rw-r--r-- 1 root wheel31 Nov 3 23:48 pkg-comment -rw-r--r-- 1 root wheel 174 Nov 3 23:48 pkg-descr -rw-r--r-- 1 root wheel 3317 Nov 3 23:48 pkg-plist Which tar trick are you referring to? Apparently you have chosen not to download an entire ports tree, which is fine, but you could have just done a locate bsd.port.mk on a machine that DOES have a ports tree. I was referring to the trick that saves you from having to ftp in using w3m or lynx and manually saving each of the above, as I had to, above. # make /usr/share/mk/bsd.port.mk, line 4: Could not find /usr/ports/Mk/bsd.port.mk make: fatal errors encountered -- cannot continue What is bsd.port.mk, where can I get it or pkg_add it, then am I all set? The files in /usr/ports/Mk are what makes the ports tree work. The Makefile that you downloaded there is just a list of options that bsd.port.mk uses to build the ports. You need the bsd.*.mk framework to make your ports work. You can just cvsup the ports-base collection. From the ports-supfile example that came with your installation of FreeBSD: I'm not sure I want my ports to work, just one specific port at a time. # Be sure to ALWAYS cvsup the ports-base collection if you use any of the # other individual collections below. ports-base is a mandatory collection # for the ports collection, and your ports may not build correctly if it # is not kept up to date. If you have a ports-all supfile, you can issue the following: cvsup /path/to/supfile -i ports/Mk cvsup /path/to/supfile -i ports/net/mutella If you can't/won't diagnose what's wrong when you try new things, it's best not to invent tricks. - -Adam Adam Weinberger [EMAIL PROTECTED] [EMAIL PROTECTED] I'm looking for a way to download just one set of ported source by not using cvsup, then `make install clean` or `gmake install clean` whichever. -- Peter Leftwich President Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: ntpdate problems in /etc/rc.conf
On Mon, 28 Oct 2002, Kent Stewart wrote: ntpdate_enable=YES # Run ntpdate to sync time on boot (or NO). ntpdate_program=/usr/sbin/ntpdate # path to ntpdate, if you want a different one. ntpdate_flags=-b clock.isc.org # Flags to ntpdate (if enabled). My clock still says it is 20:11 PM when it is really 19:11 PM right now! Am I missing something, or needing to set the CMOS/motherboard clock...? I thought ntpdate had to be run manually or via a cron job. I have an ntpd running and it changed immediately after 2am. Kent Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html The way I understand it, ntpd runs constantly, keeping your PC's clock accurate, whereas ntpdate is often called once via a cron or at boot time. My clock is accurate now, isc.org must not have set their time right away. -- Peter Leftwich President Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
ld-elf.so.1 error
# emacs /usr/libexec/ld-elf.so.1: Shared object libXaw3d.so.7 not found I had this problem once before. Emacs worked fine. Then I installed (partially, a broken) XFree86 4.2.0 and then emacs stopped working with a similar error. Reinstalling X fixed it but is there an easier fix?? For example, is there some trusted place I can simply download libXaw3d.so.7 to trick emacs into working properly? Hope I can fix this! -- Peter Leftwich President Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
man 1 eject
A question and a suggestion to improve the eject(1) manpage. Question: Why is there no SEE ALSO section for a command (if one exists) to insert the CD tray using the command line? Suggestion: The manpage could be clearer about not accepting the full device path, such as /dev/acd1c, and instead using eject acd1 for example. -- Peter Leftwich President Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
mount transparently?
Are there any tools out there in FreeBSD-land that let the user mount to the following example file? A filename.iso has been burned to a CD-R; The filename.iso contains lots of *.zip files that were tarred into a single filename.tar then gzipped into filename.tgz -- The user then used mkisofs to convert filename.tgz to filename.iso Am I asking too much and at too many levels down? =) -- Peter Leftwich President Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: ntpdate problems in /etc/rc.conf
On Tue, 29 Oct 2002, Jacob Rhoden wrote: Are you in the right time zone? If you are in australia, you have to set preciscely where you are for it to work (for example, here in melbourne our time zone just went back an our for summer). Dont know if this may help, but i would guess that is what the problem is. You can set timezone by runing /stand/sysinstall again Regards, Jacob Jacob RhodenPhone: +61 3 8344 6102 ITS DivisionEmail: [EMAIL PROTECTED] Melbourne University Mobile: +61 403 788 386 Someone told me in another post to use tzsetup which had a sysinstall-like interface. The manpage for tzsetup pointed me to /etc/localtime which, when viewed in the more viewer, had PST near the end so I'm assuming I'm setup okay now. But I wonder why there is no unix standard command to view and/or set the PC's current timezone! -- Peter Leftwich President Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: man 1 eject
On Mon, 4 Nov 2002, Greg 'groggy' Lehey wrote: Hmm. Before we can improve the man page, we have to write it. Are you confusing FreeBSD with NetBSD? Greg See complete headers for address and phone numbers I don't get it. -- Peter Leftwich President Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
What is bsd.port.mk ?
# pwd /stuff/mutella (I had to manually download each of the following since the adding the .tar trick did not -- as usual -- work!) # ls -al total 12 drwxr-xr-x 2 root wheel 512 Nov 3 23:49 . drwxr-xr-x 34 root wheel 2560 Nov 3 23:49 .. -rw-r--r-- 1 root wheel 650 Nov 3 23:48 Makefile -rw-r--r-- 1 root wheel62 Nov 3 23:48 distinfo -rw-r--r-- 1 root wheel31 Nov 3 23:48 pkg-comment -rw-r--r-- 1 root wheel 174 Nov 3 23:48 pkg-descr -rw-r--r-- 1 root wheel 3317 Nov 3 23:48 pkg-plist # make /usr/share/mk/bsd.port.mk, line 4: Could not find /usr/ports/Mk/bsd.port.mk make: fatal errors encountered -- cannot continue What is bsd.port.mk, where can I get it or pkg_add it, then am I all set? -- Peter Leftwich President Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: What is vnlru really?
On Wed, 23 Oct 2002, DaleCo Help Desk wrote: PL PS - Is `arp -a` the most reliable way to get one's current IP address? What's wrong with ifconfig ??? Kevin Kinsey I was not familiar with ifconfig and am surprised at such a similar name to winipcfg for Win98. It seems arp -a tells me one IP while ipconfig tells me another. Is that because I'm using DHCP, or is arp -a maybe reporting a DNS value, not my currently-assigned IP? PS - Yack! .biz?! -- Peter Leftwich President Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Port 514 unsafe? open to outside?
On Wed, 23 Oct 2002, DaleCo Help Desk wrote: PL I ran `nmap` on my local IP and the only interesting port it PL found was 514. What is this port? I don't understand shell, and cmd. $'man rshd' And that said, if you don't want it on, perhaps you should turn it off it must be enabled in /etc/inetd.conf. Comment it out and -HUP the inetd process # grep rshd /etc/*.conf /etc/inetd.conf:#shell stream tcp nowait root/usr/libexec/rshd rshd /etc/inetd.conf:#kshell stream tcp nowait root/usr/libexec/rshd rshd -k /etc/inetd.conf:#shell stream tcp6nowait root/usr/libexec/rshd rshd Where else could rshd be getting launched from? /usr/local/etc/rc.d/ ? PL How do I find out if sendmail is trying to work inboundedly? I know it PL works outbound because I am about to send this message ;-] Not sure what you're asking. If you're receiving mail, sendmail by default puts it in /var/mail, in an appropriately titled file. That, I believe, it the standard config. Kevin Kinsey To receive incoming email, sent for example to root@[my.ip.here] don't you need MX records and qualified/registered domain name info?? I haven't been able to send email to myself yet :( -- Peter Leftwich President Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: du, find/xargs/sort, and MP3.tar
On 22 Oct 2002, Gary W. Swearingen wrote: Peter Leftwich [EMAIL PROTECTED] writes: Then I thought I'd get crafty and `tar tvf MP3.DONE0415021909MPT.tar the-tarfile.out` thinking I could later run things through `sort` but I am hung up on how to get similar output that shows the contents of MP3/. tar cf - MP3/ | tar tvf - the-mp3dir.out Could someone step through what this is doing? I thought you could use - (stdin?) only once on a command line. My question was more about using less CPU time with something simiar to find or `ls -alR | sort` -- Peter Leftwich President Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
What is vnlru really?
Good evening, I ran `ps auxww | more` and noticed some processes in parentheses. One that did not have a manpage (I suspect some other process kicked it off?) was vnlru and all I could find out about it are the following: http://www.google.com/search?hl=enie=ISO-8859-1q=vnlru+freebsdbtnG=Google+Search http://docs.freebsd.org/mail/archive/2002/freebsd-stable/20020120.freebsd-stable.html http://docs.freebsd.org/cgi/getmsg.cgi?fetch=489990+0+archive/2002/freebsd-stable/20020120.freebsd-stable http://docs.freebsd.org/cgi/getmsg.cgi?fetch=491439+0+archive/2002/freebsd-stable/20020120.freebsd-stable This explanation seemed the most authoritative: http://www.unixguide.net/freebsd/faq/10.31.shtml But one post said something about ipfw (which I do not yet run). I've been trying to get the program gaim to direct connect and want to make sure my IP is not masked in a firewall or proxy sort of way. What else is there to check, using `ps auxww`? Thanks as always and ever after, PS - Is `arp -a` the most reliable way to get one's current IP address? -- Peter Leftwich President Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Port 514 unsafe? open to outside?
# grep 514 /etc/services | grep shell shell 514/tcpcmd #like exec, but automatic I ran `nmap` on my local IP and the only interesting port it found was 514. What is this port? I don't understand shell, and cmd. How do I find out if sendmail is trying to work inboundedly? I know it works outbound because I am about to send this message ;-] -- Peter Leftwich President Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
du, find/xargs/sort, and MP3.tar
Here's a doozy for you. I'm trying to compare a directory called MP3/ with a huge file called MP3.DONE0415021909MPT.tar -- the idea being to make sure the contents are similar (I've touched new files in the MP3/ directory since untarring, so they won't be exactly the same...) I tried some commands along the lines of these: # du -hs MP3/ 1.6GMP3/ # du -hs MP3.DONE0415021909MPT.tar 1.2GMP3.DONE0415021909MPT.tar Erg, wait this proves nothing; I'd have to untar and THEN du -hs :( Then I thought I'd get crafty and `tar tvf MP3.DONE0415021909MPT.tar the-tarfile.out` thinking I could later run things through `sort` but I am hung up on how to get similar output that shows the contents of MP3/. # find MP3/ -type f | wc -l OR? # find MP3/ -type f -exec ls -al {}\; | more OR? # find MP3/ -type f -print | xargs or something like that | sort... Could one of you /\/\aster$ work some unixiacal magic on my task? =^) It soothes my soul to know you care. -- Peter Leftwich President Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Didn't think it was possible
last -5 | tail -r | grep crash root ttyv0 Mon Oct 21 18:30 - crash (01:19) I was running XFree86, supposedly with sawfish and Gnome 2 (in a half-done kind of way), had run screen and mp3blaster from a command line then detached... I had just edited a JPG using GIMP, did a save as to the new image and clicked [X] to close the GIMP, it asked Really close The GIMP? I clicked Close and... Clicking anywhere would do nothing. Pressing ctrl-s ctrl-q ctrl-. ctrl-\ ctrl-c ctrl-alt-F1 ctrl-alt-BS ctrl-alt-DEL you name it, I tried it. The music (mp3blaster) kept playing but The GIMP managed to force me to press the hard reset button and my box was not pleased. Oh my question: How was FreeBSD 4.6.2 able to log crash to wtmp? And how do you remember whether it is utmp or wtmp? What do they stand for? -- Peter Leftwich President Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
learning about ./configure and pkg-config
I downloaded the following from gnome.org bonobo-activation-1.0.3.tgz and gunzipped then untarred it and changed to the resulting directory. When I ran `./configure` it got through most checks fine, except for the pkg-config ones near the end. Here is the output: ... checking for pkg-config... /usr/local/bin/pkg-config checking forgmodule-2.0 = 2.0.1ORBit-2.0 = 2.4.0 linc = 0.5.1... Requested 'ORBit-2.0 = 2.4.0' but version of ORBit-2.0 is 2.3.109 configure: error: Library requirements ( gmodule-2.0 = 2.0.1 ORBit-2.0 = 2.4.0 linc = 0.5.1) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. Once this happened, I went searching simply for a download of the latest gmodule file but couldn't find anything pertinent! Since the error above said to consider adjusting PKG_CONFIG_PATH (currently not set), I read the manpage for pkg-config: pkg-config retrieves information about packages from special metadata files. These files are named after the package, with the extension .pc. By default, pkg-config looks in the directory prefix/lib/pkgconfig for these files; it will also look in the colon-separated (on Windows, semicolon- separated) list of directories specified by the PKG_CONFIG_PATH environment variable. I couldn't find my /lib/pkgconfig directory or locate sample PKG_CONFIG_PATH statements on the web. Can someone clue me in please? -- Peter Leftwich President Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Gnome URL Launcher captions?
Does anyone know where the URL Launchers on my desktop store the caption text? I have some ~/.gnome-desktop/urlwINmpc (for example) files but they only have a URL in them, whereas if you right-click and view the properties there is a lot of stuff in there. Where is this extended information stored? In what path, files?? Thanks! -- Peter Leftwich President Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Ports FAQ is a great read [port.tar??]
On 1 Oct 2002, Gary W. Swearingen wrote: non-cvsup method 3: -- cd /usr/ports/sub fetch ftp://ftp.freebsd.org/pub/FreeBSD/branches/-current/ports/sub/port.tar tar -xf port.tar Note: Not all of the mirrors support tar-on-the-fly ftp transfers, but some do, including the primary site. What is tar-on-the-fly? Case in point: # mkdir /usr/ports/java ; cd /usr/ports/java # fetch ftp://ftp.freebsd.org/pub/FreeBSD/branches/-current/ports/java/jdk13.tar fetch: jdk13.tar: File unavailable (e.g., file not found, no access) I am losing faith in my abilities and am most certainly settling on a life of /stand/sysinstall and `pkg_add -r` :-( Can someone offer me hope? -- Peter Leftwich President Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: help with ln linking Please! [attn manpage authors!]
On 8 Oct 2002, Gary W. Swearingen wrote: PL The manpage is super unclear about sourcefile and targetfile, I have PL said this for years. Think of this paragraph: [snip] PL ... as this instead `ln -s actualfile linkfile` That's not the best way to think of it, since actualfile need not be an actual file! Nor existing, as the manual has. The source Nor existing? How so? [!] concept is actually pretty good, since the source file is used as the source of data when target file is accessed. Confusion comes about mostly because the ls command shows an arrow pointing from the target (AKA destination) to the source, backwards from what most people would expect when thinking of source and destination/target. The arrow points away from the target! It also shows them in reverse order from how they are given to ln. That's a good point, the arrows do point in the wrong direction. :) How about this: ln [-fhinsv] source_filename [link_filename] I just TRY to remember them as being bassackwards from the more natural order of ls: link - source LOL - on a second read of your commentary I noticed 'bassackwards.' Anybody else have terms they'd prefer the manual use in both the SYNOPSIS and DESCRIPTION? I like Adam's ideology about the file you want to create comes last. Like an old man on medication with an ejaculatory condition. Har har. Peter, who have you said this for years TO? Have you filed a Problem Report which I could send a patch for? If so, what's the number? The said this for years was probably me cursing and drooling asleep. -- Peter Leftwich President Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Please help me
On Wed, 9 Oct 2002, DaleCo, S.P.---'the solutions people' wrote: Or ... Global Regular Expression Print Get Regular Expression Processing Global Regular Expression Parser I just think of the command grep as part grab, part schlep. But come to think of it, your first answer seems right except for the P. While we're on the subject of origins and meanings, you've heard, I suppose, that C was just a joke . ;-) Kevin Kinsey, DaleCo, S.P. Do you have a URL to back up this C started as a joke tale?? - Original Message - From: Eric Wayte [EMAIL PROTECTED] To: Toby Irvine [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, October 09, 2002 10:14 PM Subject: Re: Please help me Try this: http://www.dictionary.com/search?q=grep Odd that dictionary.com would have grep! The manpage for grep contains not one instance of the word global, how bizarre. On Wed, 9 Oct 2002, Toby Irvine wrote: I have one question for you. I have been looking to find out what the command/utility grep actually means or stands for. I have searched the net and keep finding the same answer, which I have been told is wrong. Could you please help me out and let me know. Someone told me that only an old school unix person would be able to tell me. Please help? -- Peter Leftwich President Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: How to create another account with root privileges ?
On Thu, 10 Oct 2002, Bob Johnson wrote: On Wednesday 09 October 2002 09:02 pm, Pranav A. Desai appears to have written: Hi! I have been asked to create admin accounts for a machine such that all of them can access that machine as root but with different username and password. In many environments, this is reasonable. Sometimes you have more than one person who is must have full administrative rights, unless you plan to have your one administrator be on 24/7 call. It is good policy to prohibit anyone, even administrators, from sharing accounts, so you give each admin their own account. Of course, if they only need limited admin rights, then sudo is probably a better solution. Talk to your customer and find out what they are really trying to accomplish. man su The toor account is an example of exactly what you want, although by default it is disabled (by an invalid password field). To create a similar account, use vipw to edit the password file. Copy the root entry, but give each person their own name and the shell of their choice (the shell must be in /etc/shells). What -is- that toor (root backwards) account for anyways?? Is there a command similar to vipw that uses a simpler editor, like pico? Leave everything else the same as for root. If you copy the password field from the root account, then the new admin account will have the same password, which should be changed by the user of the account. Also, never change the shell for root. It needs to be as it is for some things to work right. That's why the toor account exists: so you can set up an admin account with your choice of shell. I always log in 100% of the time to my box as root and my shell is tcsh Does it matter that (I think) I changed the shell for root? The big disadvantage of this is that if you have three admin accounts, an attacker has three times greater chance of cracking the root password if they get their hands on your password file. Stress to the admins that it is critical that they use strong passwords on the admin accounts. A good way to create a strong password is to come up with a sentence of 8 or more words known only to yourself (i.e. NOT a well known phrase), and take the first letter of each word to form an acronym. Throw in some strange capitalization and a few special characters for best effect. For example, the phrase might be my mother dances with bears (in the moonlight), which gives me a password of mMdwb(itm). If the phrase used is widely known, this method becomes as easy to crack as single words of the same length, but if you use unique phrases the resulting passwords are very good. Good point about crackers and their having three times the power! Sure, the admins can do bad things and cover their tracks if they put enough effort into it, but they can do that if they share a single admin account, also. Hope that helps. - Bob Thanks -pranav Pranav A. Desai - Home :- (937) 294 1381 On 9 Oct 2002, Kirk Strauser wrote: At 2002-10-09T17:36:02Z, Pranav A. Desai [EMAIL PROTECTED] writes: How can I create a user account that can function like a root account with the same prilieges ? I need to create three such account. Is it possible ? Short answer: you probably don't really want to do this. What problem are you needing to solve by having multiple root accounts? Kirk Strauser In Googlis non est, ergo non est. Google doesn't have new pages saved and served up 1 second ago, nor does it have unique pages that a cgi script create(d/s). -- Peter Leftwich President Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Should I worry about having many X11 symlinks
# find /usr/X11R6/lib/X11/ -type l | xargs ls -al | grep -v \/doc\/html\/ lrwxr-xr-x 1 root wheel 11 Jun 19 18:19 /usr/X11R6/lib/X11/fs - /etc/X11/fs lrwxr-xr-x 1 root wheel 17 Jun 19 18:19 /usr/X11R6/lib/X11/lbxproxy - /etc/X11/lbxproxy lrwxr-xr-x 1 root wheel 18 Jun 19 18:19 /usr/X11R6/lib/X11/proxymngr - /etc/X11/proxymngr lrwxr-xr-x 1 root wheel 15 Jun 19 18:19 /usr/X11R6/lib/X11/rstart - /etc/X11/rstart lrwxr-xr-x 1 root wheel 12 Jun 19 18:19 /usr/X11R6/lib/X11/twm - /etc/X11/twm lrwxr-xr-x 1 root wheel 12 Jun 19 18:19 /usr/X11R6/lib/X11/xdm - /etc/X11/xdm lrwxr-xr-x 1 root wheel 14 Jun 19 18:19 /usr/X11R6/lib/X11/xinit - /etc/X11/xinit lrwxr-xr-x 1 root wheel 23 Jun 19 18:20 /usr/X11R6/lib/X11/xkb - ../../../../etc/X11/xkb lrwxr-xr-x 1 root wheel 16 Jun 19 18:19 /usr/X11R6/lib/X11/xserver - /etc/X11/xserver lrwxr-xr-x 1 root wheel 12 Jun 19 18:19 /usr/X11R6/lib/X11/xsm - /etc/X11/xsm `pkg_add -r wrapper` failed the first try because of an error about /etc/X11/xserver/ServerPolicy or something like that. A pkg_deinstall then a `pkg_add -rf` fixed wrapper fine but should these symlinks be migrated one way (/usr/X11R6/...) or the other (/etc/X11/..)? ln -s thanks help\! -- Peter Leftwich President Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: /dev/urandom is randomly cool
On Mon, 7 Oct 2002, Oliver Fromme wrote: Peter Leftwich [EMAIL PROTECTED] wrote: On Sun, 6 Oct 2002, Fernando Gleiser wrote: On Sun, 6 Oct 2002, Mikko Työläjärvi wrote: tr -cd a-zA-Z0-9 /dev/urandom | dd bs=$len count=1 2/dev/null It didn't work. My shell is tcsh so I tried: tr -cd a-zA-Z0-9 /dev/urandom | dd bs=8 count=1 /dev/null And all I got was the next prompt. Yep, csh and tcsh suck pretty much. Not being able to separately redirect stderr easily is one of the reasons. Bizarre. From now on I'll have to insert `bash ; ` before commands :) In this particular case, you can use head instead of dd: tr -cd a-zA-Z0-9 /dev/urandom | head -c 8 Thanks for that! I was trying `cut -c` and didn't realize head had that flag. Now I can generate 8 characters: # tr -cd a-zA-Z0-9 /dev/urandom | head -c 8 ; echo 0tXx3p3m ...and random phone numbers :) # tr -cd 0-9 /dev/urandom | head -c 10 ; echo 5031594488 If your intention is to generate passwords, then you should also include special characters, not just letters and digits. I once wrote a small shell script to generate good passwords: http://www.secnetix.de/~olli/scripts/genpwd Nope. After installing it somwhere in yout $PATH (for example in /usr/local/bin) and making it executable, type genpwd -h Do any other flavors of unix come with password generators? for usage information. It also uses /dev/urandom, if it exists, but it also works fine without -- you can easily remove that part from the script (three lines) and it will still work with sufficient randomness, without having to touch your kernel's entropy pool. Why is this an entropy pool and not an entropy ocean? Is there a way to cat /dev/dsp or analyze my soundcard's mic-in and sample randomness? BTW, the script can also be (ab)used for other things. There are two examples in the usage message. Regards Oliver Oliver Fromme, secnetix GmbH Co KG, Oettingenstr. 2, 80538 München All that we see or seem is just a dream within a dream (E. A. Poe) Thanks again Oliver. -- Peter Leftwich President Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: /etc/make.conf and AMD Athlon 600
On 6 Oct 2002, Gary W. Swearingen wrote: PL My PC has an AMD Athlon 600, so in /etc/make.conf should I have i686 or k7? Find your answer (k7) in /usr/src/share/mk/bsd.cpu.mk I didn't have .../share/mk/ so I went out with google and downloaded bsd.cpu.mk -- Wouldn't it be nice if mv had a flag to create directories if they don't exist? Same with the command touch. I've been using k6-2 for my AMD pre-Athlon CPU for a year or so, with no known problems, but do read the warnings in /etc/defaults/make.conf about it. The default is i386. Defaults are made to be over-ridden and surpassed as HW allows. ;-) -- Peter Leftwich President Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: help with ln linking Please! [attn manpage authors!]
On Mon, 7 Oct 2002, SweeTLeaF wrote: I am in the /usr/root dir ln -s desktop /root/Desktop/tmp You should be using `ln -s /root/Desktop/tmp /usr/root/desktop` The manpage is super unclear about sourcefile and targetfile, I have said this for years. Think of this paragraph: SYNOPSIS ln [-fhinsv] source_file [target_file] Given one or two arguments, ln creates a link to an existing file source_file. If target_file is given, the link has that name; target_file may also be a directory in which to place the link; otherwise it is placed in the current directory. If only the directory is specified, the link will be made to the last component of source_file. ... as this instead `ln -s actualfile linkfile` Now i was exspecting to see all the contents for /usr/root/desktop when i viewed the /root/Desktop/tmp dir. but that did not happen. Now when i go to /root/Desktop/tmp ...i see the link for desktop but when i do a ls desktop to try and view the files inside desktop i get nothing and a cd desktop gives an sys link error...and there are more files in desktop. I guess i am trying to mirror the two dir, so even though they have different names and on different filesystems, i will see the same contents. Thanks for any help. I think you just had it backwards. -- Peter Leftwich President Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
/etc/make.conf and AMD Athlon 600
From `dmesg` I see the following: CPU: AMD Athlon(tm) Processor (598.84-MHz 686-class CPU) My PC has an AMD Athlon 600, so in /etc/make.conf should I have i686 or k7? # Intel x86 architecture: # (AMD CPUs) k7 k6-2 k6 k5 # (Intel CPUs)p4 p3 p2 i686 i586/mmx i586 i486 i386 CPUTYPE=i686 -- Peter Leftwich President Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: /dev/urandom is randomly cool
On Sun, 6 Oct 2002, Fernando Gleiser wrote: On Sun, 6 Oct 2002, Mikko Työläjärvi wrote: tr -cd a-zA-Z0-9 /dev/urandom | dd bs=$len count=1 2/dev/null It didn't work. My shell is tcsh so I tried: tr -cd a-zA-Z0-9 /dev/urandom | dd bs=8 count=1 /dev/null And all I got was the next prompt. Which will give you $len random bytes from the set a-zA-Z0-9 (it reads a lot more from /dev/urandom than it produces though). yes, and that is bad :( It is not good to mess with /dev/[u]random more than what's really needed, because you can exhaust the entropy pool, and that's a Bad Thing. How large (deep?) is this entropy pool? In your home box, for learning purposes, that's OK, but in a production box which needs a good working prng (for crypto session keys, auth cookies and the like) it is not acceptable to eat all the entropy pool unless you have a very good reason to do so. Fer They ought to build motherboards with tiny lava lamps for randomness :) Another answer is, as always, use perl :-) $.02, /Mikko Yeah yeah-yeah. It's just nice having an all-inclusive OS, that's all! -- Peter Leftwich President Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message