Re: ports on OS X
On Jul 18, 2004, at 22:51, Joshua Lewis wrote: Down to the questions. Any one know how I can get the ports collection on here? I am thinking download CVSup and then running a ports-all. Any other ideas? Umm. You're trying to install the freebsd ports collection on a Mac running what? FreeBSD/ppc or OS X? If FreeBSD, ok, but I didn't realize that architecture port was complete. If OS X, the FreeBSD ports aren't what you need. Try here: http://fink.sourceforge.net/ or here: http://darwinports.opendarwin.org/. Both use cvsup for updates. KeS ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Our package system: Fundamentally Flawed - A Linux User.
Hello all, I have a few questions about our package system. Many would agree that the FreeBSD ports system can be quite efficient and easy to use. Upgrading ports isn't usually a problem (unless something breaks), and installing them is usually only a command away. Many would also agree that building massive amounts of software from source is NOT efficient for a desktop user and binary packages are a more suitable alternative. My question regards our binary package system. I have always avoided using it due to dependancy conflicts and outdated software packages. Keeping an up-to-date system with our packages does not seem to be a likely possibility at the moment. I would like to elaborate on what I mean by dependancy conflicts for lack of a better description. When using 'pkg_add -r package' to install a port and its dependancies, pkg_add will check to see if you already have some of the dependancies before downloading and installing them for you. If there are version differences, it will warn you but the installation will still proceed. This is where the problem lies. Say for example I have a copy of gettext-0.13 on my system and one of the binary packages I'm attempting to install was compiled and linked against gettext-0.12? Instead of downloading and installing the other version of gettext along with the existing one as to not break the linked libs (because gettext-0.13 uses a different library name) like it should, pkg_add only gives a warning and an assumption that the install went well. Now, the user goes to run the package and gets a big fat error: libintl.so.X not found. For a user like myself, this is no problem. I can recognize the error and figure out how to fix it manually. For a user considering switching to FreeBSD from Linux, this is considered a fundamental flaw in our package system and may lead to a very annoying flame war. Can this be fixed? Why hasn't it been fixed? Am I doing something wrong? Has it been fixed? Another issue. What about upgrading? How often are packages rebuilt and can they be easily upgraded without worrying about issues such as the one described above? I've been told they are rebuilt about once a month or so. Are these new packages that are being rebuilt automatically defaulted to by pkg_add -r? With my experience, I usually end up with very old packages when using this method. I hope I've made myself clear, and please correct me if I'm mistaken about any of the topics I've mentioned in this email. I'd like to know the answers to these questions so I can answer questions brought up by those who may be future FreeBSD users. Regards, -Travis Poppe ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Our package system: Fundamentally Flawed - A Linux User.
In the last episode (Jul 19), Travis Poppe said: Say for example I have a copy of gettext-0.13 on my system and one of the binary packages I'm attempting to install was compiled and linked against gettext-0.12? Instead of downloading and installing the other version of gettext along with the existing one as to not break the linked libs (because gettext-0.13 uses a different library name) like it should, pkg_add only gives a warning and an assumption that the install went well. Now, the user goes to run the package and gets a big fat error: libintl.so.X not found. For a user like myself, this is no problem. I can recognize the error and figure out how to fix it manually. For a user considering switching to FreeBSD from Linux, this is considered a fundamental flaw in our package system and may lead to a very annoying flame war. Can this be fixed? Why hasn't it been fixed? Am I doing something wrong? Has it been fixed? Portupgrade should handle this correctly; when deleting old packages during an upgrade, it moves the shared libraries to compat/pkg so old binaries can still use them. If passed -PP, portupgrade will only use packages (with one -P, it will try and fetch a package but if it can't or the package is too old, it will build from source). Portupgrade is not in the base system because it requires Ruby, and scripting languages (apart from Bourne shell script :) change far too often to be in the base system. They're better off as ports so they can be updated more frequently. I'll let someone else answer your questions about frequency of port builds and why pkg_add doesn't fetch the latest ones. You can take a look at http://bento.freebsd.org and/or http://pointyhat.freebsd.org to see when the last full package buld was. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: First time CUPS user, config problems?
On Monday 19 July 2004 03:39, Henrik W Lund wrote: Funny. There doesn't seem to be anything wrong here. Unless, of course, it Saw EOF a little early. What did debug level 2 tell you? I know mine said something about some filter somewhere that was needed, but not found. This is mysterious. You're sure that the problem is with CUPS? The printer works from, say, Windows? It _could_ be that the printer just gobbles up jobs, but doesn't actually print them. Just maybe... Just exhausting possibilities here. -Henrik W Lund Hey Henrik, This printer prints nearly perfectly with apsfilter and regular, base, lpd/lpr installed. The only problem is the margins, and I can fix that for the most part. I think it's a problem with cups, personally, but I never see anything interesting from debug2, but I'll try again. I'll post tomorrow or the next day. Thanks. -- Eric F Crist Keep your pecker hard and your powder dry, and the world WILL turn. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Our package system: Fundamentally Flawed - A Linux User.
a different library name) like it should, pkg_add only gives a warning and an assumption that the install went well. Now, the user goes to run the package and gets a big fat error: libintl.so.X not found. package 0.13 should be compatible with 0.12 or should has name 1.* anyway - in 99.99% times ln -s libintl.so.X libintl.so.Y where Y is required number works :) For a user like myself, this is no problem. I can recognize the error and figure out how to fix it manually. For a user considering switching to FreeBSD from Linux, this is considered a fundamental flaw in our package system and may lead to a very annoying flame war. Can this be fixed? Why hasn't it been fixed? war requires 2 sides to fight. simplest way to avoid is ignore them. no one forces linux user to go to FreeBSD or otherBSD. 2 years ago mostly because linux started the only right solution and to be better than windows i switched to NetBSD. and found that this said to be worse *BSD are actually better. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Our package system: Fundamentally Flawed - A Linux User.
On Mon, Jul 19, 2004 at 12:22:21AM -0600, Travis Poppe wrote: Another issue. What about upgrading? How often are packages rebuilt and can they be easily upgraded without worrying about issues such as the one described above? I've been told they are rebuilt about once a month or so. For i386 they're updated every week or so, sometimes more frequently. Are these new packages that are being rebuilt automatically defaulted to by pkg_add -r? If you're using -STABLE or -CURRENT, yes. -RELEASE gets package sets produced at the time of release, which means they are unchanging. Kris pgpwGNnaEpd4p.pgp Description: PGP signature
/etc/make.conf info
where can i find info about possible options in make.conf for ports builder ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
priority on rc script caused panic
Hi. I added a process with high priority (nice -20) to be loaded each time system boots. It is located in /usr/local/etc/rc.d. Apparently, the process consume too much cpu time which make it imposible to log in. I cant do anything from the boot loader, because i cant cd to /usr to remove the script. Any suggestion?. The system is on a virtual machine. thanks. eugene tooms. _ MSN Amor [1]Busca tu ½ naranja References 1. http://g.msn.com/8HMBES/2740??PS=47575 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Our package system: Fundamentally Flawed - A Linux User.
On Mon, 19 Jul 2004 00:22:21 -0600 Travis Poppe [EMAIL PROTECTED] wrote: snip Not finished reading it but... I think you want portupgrade. With the -P switch, it will use packages when they are avialliable. With the -PP switch it all ways uses packages. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Our package system: Fundamentally Flawed - A Linux User.
On Sunday 18 July 2004 11:22 pm, Travis Poppe [EMAIL PROTECTED] wrote: The other posts have already addressed some of your concerns, but ... Many would also agree that building massive amounts of software from source is NOT efficient for a desktop user and binary packages are a more suitable alternative. Well, FWIU, building from source is also the preferred method, as it creates a much better system overall, rather than just installing binaries which have been built on someone else's system. This allows every install to be specifically built for the system on which it's installed. Not only that, but the code in STABLE changes regularly, so it's better to build from the version of the kernel you have and with your own make options. Also, FreeBSD isn't really a desktop OS. I'm not sure if you're being precise with that word, but, although it works very well as a workstation, it's not designed for what many home users do with their desktop systems. You can use big window managers like KDE and Gnome, but it's not necessarily designed for entertainment. There isn't a lot of concentration on multimedia. There is much concentration on stability and making everything work together, including what's in the ports. The idea is that it's a complete package, not a kernel in various distributions which add whatever they want (although anyone is free to make their own version, as in Linux, but the licensing is less restrictive). As you probably know, it's mainly considered a server OS, but it's become popular as a workstation for many people as well, myself included. I have FreeBSD, Slackware and Win2k on this machine so I can use the same computer for different purposes, but when I finally get around to starting up my own mailserver and webserver, I'll put them on FreeBSD boxes, and I'll add a box with OpenBSD to be used as a dedicated firewall. However, I'd never consider using OpenBSD as a desktop OS, and it isn't suitable for my workstation purposes due to its lag in hardware support. Each tool has its purpose, and the right tool for the right purpose works better than trying to use the same tool for everything. - jt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How do I mount a USB hard drive?
On Sun, Jul 18, 2004 at 08:45:40PM -0400, Michael E. Mercer wrote: That's what I started with... I have everything in my kernel that is mentioned on that page. Nothing is appearing when I connect/disconnect the drive. Is usbd really running? Marc ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cd clone img cd image
On Sat, 17 Jul 2004 19:24:17 +0100 arden [EMAIL PROTECTED] wrote: hi all dose anyone know of a way to burn an img image that was created in windows at home i don't have any windows machines anymore Arden Hi Arden, doing a: cd /usr/ports ; make search key=clonecd returns: Port: ccd2iso-0.9_1 Path: /usr/ports/sysutils/ccd2iso Info: A CloneCD to ISO converter I haven't used this program myself but it might be worth checking it out. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Our package system: Fundamentally Flawed - A Linux User.
Well, FWIU, building from source is also the preferred method, as it creates a much better system overall, rather than just installing binaries which have been built on someone else's system. This allows every install to be specifically built for the system on which it's installed. Not only that, but the code in STABLE changes regularly, so it's better to build from the version of the kernel you have and with your own make options. Also, FreeBSD isn't really a desktop OS. I'm not sure if you're being precise with that word, but, although it works very well as a workstation, it's not designed for what many home users do with their desktop systems. You can use big window managers like KDE and Gnome, but it's not necessarily designed for desktop OS and windowslike OS is a big difference. so desktop os doesn't have to mean KDE or gnome, which - except some nice graphics - doesn't have any really useful features. i use fvwm2 and icewm as it gives enough needed without taking lots of cpu power and RAM anyway - good use of FreeBSD (or other unix) is to be a server with graphics terminals (X terminals) connected through ethernet. then it could be managed only in one place by qualified admin, while used by many people. definitely more stable, more easy to use and much cheaper (both hardware and TCO) than hundreds of winputers requiring operator intervention every few days at average. and no chance for end user to break whole system with clicking wrong icon. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NetBSD-FreeBSD move: samba problem
Wojciech Puchar wrote: i had NetBSD with samba: [snip] samba starts smbclient started from host shows like everything is ok. but - from windose i see empty network environment when clicked on Whole network i see message that network can't be browsed etc. etc. [snip] smbclient shows: Sharename Type Comment - --- domowy Disk Katalog domowy uzytkownika public Disk Publiczny faxy Disk FAXY odebrane IPC$ IPC IPC Service (wojtek) ADMIN$ Disk IPC Service (wojtek) Server Comment ---- WOJTEK wojtek WorkgroupMaster ---- DOM WOJTEK i can log in with smbclient to any exported disk with password and all works right. but not from windoze. i really can't believe that it can be FreeBSD problem, but i have same config file and same samba version. any ideas? Hi, You haven't had any replies yet, so... Have you tried Start -- Run \\ipaddress.of.samba.server from the Windows machine? Might help narrow the problem down to netbios/browsing issues if it does find the machine. Peter. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NetBSD-FreeBSD move: samba problem
Wojciech Puchar wrote: [snip] heve is my smb.conf [global] workgroup = DOM character set = ISO8859-2 client code page = 852 bind interfaces only = yes socket address = 10.255.245.1 server string = wojtek netbios name = wojtek hosts allow = 127.0.0.1 10. load printers = no log file = /var/log/samba.%m max log size = 500 security = user encrypt passwords = no One more thing - I know this came from a working setup on a NetBSD machine, but unless it's a very old version of Windows, encrypt passwords should generally be yes. Peter. domain master = yes local master = yes browseable = yes #socket options = TCP_NODELAY # jak sa jaiies NT to mozan zwiekszyc jak nie am to niepotrzebne os level = 65 [domowy] comment = Katalog domowy uzytkownika browseable = yes writable = yes path = %H [public] comment = Publiczny path = /home/pub read only = no public = yes writable = yes guest ok = no browseable = yes [faxy] comment = FAXY odebrane path = /home/faxy read only = no public = yes writable = yes guest ok = no browseable = yes ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: priority on rc script caused panic
pura life CR wrote: Hi. I added a process with high priority (nice -20) to be loaded each time system boots. It is located in /usr/local/etc/rc.d. Apparently, the process consume too much cpu time which make it imposible to log in. I cant do anything from the boot loader, because i cant cd to /usr to remove the script. Any suggestion?. The system is on a virtual machine. thanks. eugene tooms. Greetings! Have you tried this? 1. When the countdown starts, right after the BTX loader has finished, press any key other than enter for the prompt. 2. Type boot -s to boot into single user mode. 3. When asked for a shell for root, hit enter (this will give you the sh shell). Alternatively, type /bi n/csh, then enter. This will give you the C shell, and tab completion. Essential if you are to do much of anything, IMO. 4. fsck -y 5. mount /usr 6. Do whatever it is you want to do in /usr, and reboot. You may have to provide the absolute paths for fsck and mount, I don't recall at the moment if PATH is set in single user mode. Hope this helps! -Henrik W Lund ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NetBSD-FreeBSD move: samba problem
thank you for all help. the problem was that windoze got configured by DHCP with netmask 255.255.255.224 (right), while i configured FreeBSD with netmask 255.255.255.0 (wrong). so broadcasts didn't work. today morning i changed it and samba started to work. thank you. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NetBSD-FreeBSD move: samba problem
Wojciech Puchar wrote: Have you tried Start -- Run \\ipaddress.of.samba.server works. and AFTER THIS network neighborhood works too. any idea? i think that (as unusally) windoze is a problem Yup. All I can say is that I've found this to work with reluctant Windoze clients. I assume they are just *incredibly* slow to discover the network. Give them a week or two switched on, plugged into the network, doing nothing, and they'd probably be fine on their own... cc'ing to the list in case it helps anyone else. Peter. from the Windows machine? Might help narrow the problem down to netbios/browsing issues if it does find the machine. Peter. wait a bit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: First time CUPS user, config problems?
* Eric Crist [EMAIL PROTECTED] [0701 08:01]: On Monday 19 July 2004 03:39, Henrik W Lund wrote: Funny. There doesn't seem to be anything wrong here. Unless, of course, it Saw EOF a little early. What did debug level 2 tell you? I know mine said something about some filter somewhere that was needed, but not found. This is mysterious. You're sure that the problem is with CUPS? The printer works from, say, Windows? It _could_ be that the printer just gobbles up jobs, but doesn't actually print them. Just maybe... Just exhausting possibilities here. This printer prints nearly perfectly with apsfilter and regular, base, lpd/lpr installed. The only problem is the margins, and I can fix that for the most part. I think it's a problem with cups, personally, but I never see anything interesting from debug2, but I'll try again. I'll post tomorrow or the next day. Just wondering - why do you want to use CUPS? I did exactly the same thing as you - installed it because it would be 'easy to use' then spent a fortnight configuring it. CUPS in my experience is one of the very few UNIX programs that breaks after a while - everything else might be a bit tricky to configure, but once it works, it keeps working. CUPS randomly decided to throw away jobs, until I threw *it* away in disgust. ESR seems to agree (NB: I am in no way a fan of him, but the article struck a few chords) http://www.catb.org/~esr/writings/cups-horror.html Despite all this I am still thinking of trying to reinstall it this week - I don't know why... -- A bird in the hand is worth what it will bring. Rasputin :: Jack of All Trades - Master of Nuns ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Routing issue
I just installed a secondary internet connection at my office, and I'm having a bizarre issue... I have a network card - dc0 That network card has a config roughly like ifconfig_dc0 inet 1.2.3.4 netmask 255.255.255.248 ifconfig_dc0_alias0 inet 2.3.4.5 netmask 255.255.255.248 defaultrouter=1.2.3.1 When I have the network set up in this manner (packets coming in via two external lines plugged into the same switch), I can only access the network that is on the same network as the default router. In the example above, I can access the server by 1.2.3.4, but not by 2.3.4.5. If I change the defaultrouter to 2.3.4.1, I can access the server by 2.3.4.5 but not 1.2.3.4. The ultimate goal of this, obviously, is to enable both interfaces to work from the outside world. Traffic needs to be able to come in either/or, and leave by the external device of my choosing. Is there something I should be checking, or something that I'm overlooking? Any help you could give would be *greatly* appreciated. Thanks! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Routing issue
On Mon, 2004-07-19 at 11:12, Web Walrus (Robert Wall) wrote: I just installed a secondary internet connection at my office, and I'm having a bizarre issue... I have a network card - dc0 That network card has a config roughly like ifconfig_dc0 inet 1.2.3.4 netmask 255.255.255.248 ifconfig_dc0_alias0 inet 2.3.4.5 netmask 255.255.255.248 defaultrouter=1.2.3.1 Read this page regarding adding aliases: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-virtual-hosts.html You need to change your netmask for the alias to 255.255.255.255 if it's on the same network. Regards, -- Nelis Lamprecht PGP: http://www.8ball.co.za/pgpkey/nelis.asc Unix IS user friendly.. It's just selective about who its friends are. signature.asc Description: This is a digitally signed message part
Re: Our package system: Fundamentally Flawed - A Linux User.
This is probably going beyond the scope of on-topic here, but just to touch on a few things ... On Monday 19 July 2004 02:20 am, Wojciech Puchar [EMAIL PROTECTED] wrote: Also, FreeBSD isn't really a desktop OS. I'm not sure if you're being precise with that word, but, although it works very well as a workstation, it's not designed for what many home users do with their desktop systems. You can use big window managers like KDE and Gnome, but it's not necessarily designed for desktop OS and windowslike OS is a big difference. so desktop os doesn't have to mean KDE or gnome, which - except some nice graphics - doesn't have any really useful features. i use fvwm2 and icewm as it gives enough needed without taking lots of cpu power and RAM Maybe I should clarify. What I mean is that, when people refer to a desktop type of OS, they're usually meaning something like Win, Mac, some user-friendly distros of Linux like SuSE, etc. A workstation OS is generally meant to be something used for work (which can mean many things, but it usually doesn't mean games and multimedia, unless it's a system used to make those), while a desktop OS is generally meant to be something used at home for entertainment, games, web and email, etc., but not development or other work. A workstation can be any of a number of OSes, including FreeBSD, Win2k, many distros of Linux, Mac, Solaris, and many more. Most workstations have some sort of window manager (or in the case of Win, it's not a choice), as do desktop systems. On my FreeBSD workstation I switch between KDE and IceWM, depending on what I want to do at the time. I differ with your opinion of KDE, as I find KMail to be one of the best gui email clients I've used, though some of the rest of the stuff doesn't matter to me that much. I can also use KMail in any other window manager, but it does tend to be a resource hog because of the way KDE is designed. Like I said, my choice of wm depends on what I'm doing at the time. anyway - good use of FreeBSD (or other unix) is to be a server with graphics terminals (X terminals) connected through ethernet. then it could be managed only in one place by qualified admin, while used by many people. Well, sure, this is one use. I use it for a workstation, but I'm planning on setting up FreeBSD on some other machines as servers, though not in the way you describe. I'm not in a multi-user environment at home where my FreeBSD workstation is, so your example isn't relevant to me. definitely more stable, more easy to use and much cheaper (both hardware and TCO) than hundreds of winputers requiring operator intervention every few days at average. Yes, definitely. and no chance for end user to break whole system with clicking wrong icon. Well, I've broken a couple of things in learning FreeBSD but managed to fix them. It's not a big deal. That's part of the learning experience. - jt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Our package system: Fundamentally Flawed - A Linux User.
On Mon, Jul 19, 2004 at 12:09:53AM -0700, Kris Kennaway wrote: On Mon, Jul 19, 2004 at 12:22:21AM -0600, Travis Poppe wrote: For i386 they're updated every week or so, sometimes more frequently. Are these new packages that are being rebuilt automatically defaulted to by pkg_add -r? If you're using -STABLE or -CURRENT, yes. -RELEASE gets package sets produced at the time of release, which means they are unchanging. However packages for 4.10-STABLE should work on a 4.10-RELEASE box. It seems odd to me that there's no way of overriding the logic in 'pkg_add -r' that chooses the subdirectory of the FTP sites to search for packages. Before I go and try and chip some of the rust off my C programming skills, how does this sound: Add another environment variable 'PACKAGECOLLECTION' that pkg_add(1) refers to. This should be set to the name of one of the subdirectories under ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/ (Or whatever architecture is appropriate). Values might be: packages-4-stable packages-5.2.1-release packages-current In fact, wotthehell: takes more time to describe than to do. Here's the patch to usr.sbin/pkg_install/add/main.c: --- main.c.orig Mon Jul 19 10:31:16 2004 +++ main.c Mon Jul 19 10:46:17 2004 @@ -256,13 +256,20 @@ if (strlcat(sitepath, u.machine, sizeof(sitepath)) = sizeof(sitepath)) return NULL; -reldate = getosreldate(); -for(i = 0; releases[i].directory != NULL; i++) { - if (reldate = releases[i].lowver reldate = releases[i].hiver) { - if (strlcat(sitepath, releases[i].directory, sizeof(sitepath)) - = sizeof(sitepath)) - return NULL; - break; +if (getenv(PACKAGECOLLECTION)) { + if (strlcat(sitepath, /, sizeof(sitepath)) = sizeof(sitepath) || + strlcat(sitepath, getenv(PACKAGECOLLECTION), sizeof(sitepath)) + = sizeof(sitepath)) + return NULL; +} else { + reldate = getosreldate(); + for(i = 0; releases[i].directory != NULL; i++) { + if (reldate = releases[i].lowver reldate = releases[i].hiver) { + if (strlcat(sitepath, releases[i].directory, sizeof(sitepath)) + = sizeof(sitepath)) + return NULL; + break; + } } } On this 4.10-STABLE system that gives this effect: % env PACKAGECOLLECTION=packages-4.10-release pkg_add -n -v -r cvsup-without-gui looking up ftp.freebsd.org connecting to ftp.freebsd.org:21 setting passive mode opening data connection initiating transfer Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4.10-release/Latest/cvsup-without-gui.tgz...+CONTENTS +COMMENT +DESC +MTREE_DIRS man/man1/cvpasswd.1.gz man/man1/cvsup.1.gz man/man8/cvsupd.8.gz bin/cvpasswd bin/cvsup sbin/cvsupd share/cvsup/License tar command returns 0 status Done. 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 pgpKKuV8McnGQ.pgp Description: PGP signature
Re: Routing issue
ifconfig_dc0 inet 1.2.3.4 netmask 255.255.255.248 ifconfig_dc0_alias0 inet 2.3.4.5 netmask 255.255.255.248 defaultrouter=1.2.3.1 You need to change your netmask for the alias to 255.255.255.255 if it's on the same network. It's not on the same network; that's the problem. Two complete separate networks, same interface card. The issue is that one of the networks works, and the other doesn't, depending on what network the default router happens to be on. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
doc
sir my name is javed. i want to learn learn unix opreating stystam .it is possible to send me free book or basics documents. i am great full to you. _ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Routing issue
On Jul 19, 2004, at 02:12, Web Walrus (Robert Wall) wrote: That network card has a config roughly like ifconfig_dc0 inet 1.2.3.4 netmask 255.255.255.248 ifconfig_dc0_alias0 inet 2.3.4.5 netmask 255.255.255.248 defaultrouter=1.2.3.1 Excuse me why I interject that it's a royal PITA when people post obfuscated IP information while asking IP-related questions. It inevitably introduces confusion. Ok, I feel better now... When I have the network set up in this manner (packets coming in via two external lines plugged into the same switch), I can only access the network that is on the same network as the default router. In the example above, I can access the server by 1.2.3.4, but not by 2.3.4.5. If I change the defaultrouter to 2.3.4.1, I can access the server by 2.3.4.5 but not 1.2.3.4. Access the server from where? Let me test my understanding. You have a server with one NIC and two addresses, plugged into a single switched network along with two ethernet connections to external ISPs, and you're trying to connect to the server from a remote network via the different addresses? If both addresses can reach the network you are connecting from, it should work via either address. Note that the RESPONSE may come to you from a different address, and if that confuses your application THAT may break. For example, if you come in on 2.3.4.5, the reply will still return via 1.2.3.4 - your server can only have one default gateway, and if that's how it knows to reach you, that's where it will go. If your two networks can't both reach your source network, then yes, it will break. There are workarounds, most involve either a dynamic routing protocol that can assign priorites to the different paths, or introducing an external device (firewall, router) that basically does the same thing. Essentially you need more elaborate routing that takes availability into account. KeS ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /etc/make.conf info
On Mon, Jul 19, 2004 at 10:42:08AM +0200, Wojciech Puchar wrote: where can i find info about possible options in make.conf for ports builder Look at the ports(7) man page and the default make.conf (which is /etc/defaults/make.conf under 4.x, and /usr/share/examples/etc/make.conf in 5.x, or you can look at it in CVS via http://www.freebsd.org/cgi/cvsweb.cgi/src/share/examples/etc/make.conf ) Otherwise, port specific make flags can be found generally by inspecting the Makefiles for each port, or the Makefiles under /usr/ports/Mk. Each of the Makefiles in /usr/ports/Mk has a long pre-amble documenting the various settings available. The convention is that variables starting 'WITH_' 'WITHOUT_' or 'WANT_' are user-settable; variables starting 'USE_' are for the port maintainer to deal with. Any section marked 'OPTIONS' causes the port to generate a popup menu allowing you to set the various flags listed either as 'WITH_FOO' or 'WITHOUT_FOO' -- those values are retained under /var/db/ports so you won't get the menu popup the second or subsequent times you make that port unless you specifically run 'make reconfig'. Note too that there are a number of ports that have variable settings which pre-date this convention: in those cases, you'll have to figure out from context what is user-settable and what isn't. Also note: most people find that using portupgrade(1) and friends to manage their ports gives best results. In which case, you can enter those make variables into the MAKE_ARGS array in /usr/local/etc/pkgtools.conf -- one big advantage of doing that is it allows you to apply the make argument to building a specific port. I don't think there are any such conflicts, but there's no guarrantee that two ports won't use the same make variable with conflicting meanings. 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 pgpzNTd1RbqgK.pgp Description: PGP signature
Re: Our package system: Fundamentally Flawed - A Linux User.
though some of the rest of the stuff doesn't matter to me that much. I can also use KMail in any other window manager, but it does tend to be a resource exactly. KDE programs can be used without whole KDE. Well, I've broken a couple of things in learning FreeBSD but managed to fix them. It's not a big deal. That's part of the learning experience. but you won't break whole system not logged as root. that's normal that something gets broken while learning. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /etc/make.conf info
builder Look at the ports(7) man page and the default make.conf (which is /etc/defaults/make.conf under 4.x, and /usr/share/examples/etc/make.conf in 5.x, or you can look at it in CVS via http://www.freebsd.org/cgi/cvsweb.cgi/src/share/examples/etc/make.conf ) that's what i needed. thank you. Otherwise, port specific make flags can be found generally by inspecting the Makefiles for each port, or the Makefiles under i found that but i needed global settings ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: priority on rc script caused panic
On 2004-07-19 11:34, Henrik W Lund [EMAIL PROTECTED] wrote: pura life CR wrote: I added a process with high priority (nice -20) to be loaded each time system boots. It is located in /usr/local/etc/rc.d. Apparently, the process consume too much cpu time which make it imposible to log in. I cant do anything from the boot loader, because i cant cd to /usr to remove the script. Have you tried this? 1. When the countdown starts, right after the BTX loader has finished, press any key other than enter for the prompt. 2. Type boot -s to boot into single user mode. 3. When asked for a shell for root, hit enter (this will give you the sh shell). Alternatively, type /bi n/csh, then enter. This will give you the C shell, and tab completion. Essential if you are to do much of anything, IMO. 4. fsck -y 5. mount /usr 6. Do whatever it is you want to do in /usr, and reboot. You may have to provide the absolute paths for fsck and mount, I don't recall at the moment if PATH is set in single user mode. You don't need to fiddle with the PATH. It's set to a reasonable default that can be used even for upgrading the system with the make installworld procedure. I regularly (almost daily) upgrade my CURRENT installation and the set of commands I use when the single user shell fires up is: adjkerntz -i# allow system time updates to work swapon -a # enable all swap partitions fsck -p # check any filesystems that need it mount -u / # remount root fs as read-write mount /usr # mount /usr as read-write cd /usr/src # upgrade sequence make installworld # - // - mergemaster # - // - The last three commands update the system from the compiled object files under /usr/obj. The commands up to the command that mounts /usr are more or less necessary to have a system that includes a read-write root fs and the tools required for the upgrade to work. -- Giorgos Keramidas keramida (at) freebsd (dot) org FreeBSD: The Power to Serve http://www.FreeBSD.org/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: doc
muhammad javed [Mon, Jul 19, 2004 at 10:08:41AM +]: sir my name is javed. i want to learn learn unix opreating stystam .it is possible to send me free book or basics documents. i am great full to you. Hello Javed, You can download FreeBSD handbook here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html FreeBSD FAQ is also interesting: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/index.html Check also this section of FreeBSD for newbies: http://www.freebsd.org/projects/newbies.html#unix Another big repository of documentation are Linux HOWTOs - many of them aren't really linux specific: http://www.tldp.org/docs.html#howto Have fun, -- m ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to install a custom built world+kernel to a machine with no OS?
I have a number of machines onto which I want to install a custom-built world, kernel and set of packages, all of which have been built on another machine. The target machines presently have no OS on them and can only be booted by CD. Installing a minimal FreeBSD and then mounting /usr/src and /usr/obj via NFS isn't attractive because of the extra work and uncertainty involved with removing and changing files left over from the initial install. I tried using discs 1 and 2 from a FreeBSDMall CD set to run install{world,kernel} directly, but they don't seem to have the necessary bits. The ports system has the package make target. I couldn't, however, find a make target to turn a built world and kernel into the distribution chunks sysinstall can use to do a binary install. The solutions I've come up with so far are: - Create a custom CD that contains the necessary bits to partition, label, newfs, and run installworld/installkernel. - Do my own release engineering. - Some third option I haven't thought of yet. What do I need to us to accomplish the above? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Routing issue
On Mon, Jul 19, 2004 at 04:31:36AM -0500, Web Walrus (Robert Wall) wrote: ifconfig_dc0 inet 1.2.3.4 netmask 255.255.255.248 ifconfig_dc0_alias0 inet 2.3.4.5 netmask 255.255.255.248 defaultrouter=1.2.3.1 You need to change your netmask for the alias to 255.255.255.255 if it's on the same network. It's not on the same network; that's the problem. Two complete separate networks, same interface card. The issue is that one of the networks works, and the other doesn't, depending on what network the default router happens to be on. Yes -- the OP's configuration is correct as far as it goes. However the problem he's facing is rather more intractable than it first appears. In general, you're going to need a mechanism for dynamically routing packets in order to make this sort of setup work. For most setups, you'ld need the co-operation of your ISP to make things work as well. There's two areas where you can use this dual setup profitably. The first is failover -- should one of the connections go down, you'll automatically switch to using the other. About the simplest way of doing something like that is to run a script periodically (say once every 5 minutes) that sends a ping down the active channel, and if there's no response, it switches the default route to the other channel. This means that normally all your traffic will go down one of the connections, and there won't be any bandwidth advantages but you will get increased resilience. The second is 'policy based routing' -- which is a good term to google for. Under FreeBSD this is implemented using the ipfw(8) 'fwd' command which lets you dynamically redirect packets down one channel or the other. That means you can do things like select out HTTP traffic and send it via one channel, leaving all of the other traffic to go by the other. That lets you share out your bandwidth between available channels, but doesn't give you any advantages in terms of resilience. 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 pgpbVdI29YXTM.pgp Description: PGP signature
tun0, firewall, natd
Somehow I haven´t yet managed to get my FreeBSD 5.2 current system boot up smoothly with initiatiying the network properly. I´m running ADSL and tun0 doesn´t seem to be initialized when the firewall rules are being applied and when natd ist started. I´m getting an error socket not available or cannot bind or something like that early on tun0. Also sendmail (kqread) hangs very long after it times out due to DNS not being available. When I start natd manually after the system has come up that way (with the DNS timeouts and all that) it works fine but this situation is not tolerable in the long run since manual intervention isn´t possible in all situations. I´d appreciate some help here. Thank you. -- Chris Christoph P. U. Kukulies kuku_at_kukulies.org - ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Linux Type OS's which one do I choose?
Assist please? This is my system file information: I'd like to run LinspireOS and star Office. I currently have stare office 7.1 for Windows. The Hard drive is set as NFTS. May I have a dual boot or may I just dump Windows. I use PPOE w/DSL and have some special forms programs .exe, for filling out forms. Will I be able to use these programs? I have to decide between BSD, Sun OS and Linsprie or SUSie. I use an Imac also and prefer it. However I must be able to run some windows programs, like word. Does or is WINE type programs needed for windows apps? I use a Devorak keyboard, arethere drivers available. I aps have a Bently CAD program, I use for Windows Will this work in a linux type environment. I want compatability seamlisly, but also want off of WIndows. Thank you Gary Okupant [EMAIL PROTECTED] System Information report written at: 07/19/04 07:08:54 LocalMachine[System Summary] ItemValue OS Name Microsoft Windows 2000 Professional Version 5.0.2195 Service Pack 4 Build 2195 OS Manufacturer Microsoft Corporation System Manufacturer GBT___ System ModelAWRDACPI System Type X86-based PC Processor x86 Family 5 Model 8 Stepping 12 AuthenticAMD ~250 Mhz BIOS VersionAward Modular BIOS v4.51PG Windows Directory D:\WINNT System DirectoryD:\WINNT\system32 Boot Device \Device\Harddisk0\Partition1 Locale User Name Time Zone Eastern Daylight Time Total Physical Memory 261,616 KB Available Physical Memory 68,584 KB Total Virtual Memory893,856 KB Available Virtual Memory534,944 KB Page File Space 632,240 KB Page File D:\pagefile.sys -- System Information report written at: 07/19/2004 07:20:30 AM [Environment Variables] VariableValue User Name ComSpec %SystemRoot%\system32\cmd.exe SYSTEM Os2LibPath %SystemRoot%\system32\os2\dll; SYSTEM Path%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;D:\Program Files\ATI Technologies\ATI Control Panel SYSTEM windir %SystemRoot%SYSTEM OS Windows_NT SYSTEM PROCESSOR_ARCHITECTURE x86 SYSTEM PROCESSOR_LEVEL 5 SYSTEM PROCESSOR_IDENTIFIERx86 Family 5 Model 8 Stepping 12, AuthenticAMD SYSTEM PROCESSOR_REVISION 080cSYSTEM NUMBER_OF_PROCESSORS1 SYSTEM PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSHSYSTEM TEMP%SystemRoot%\TEMP SYSTEM TMP %SystemRoot%\TEMP SYSTEM TEMP%USERPROFILE%\Local Settings\Temp M TMP %USERPROFILE%\Local Settings\Temp DBROOT D:\Adabas DBWORK D:\Adabas\sql DBCONFIGD:\Adabas\sql PathD:\Adabas\bin;D:\Adabas\pgm -- System Information report written at: 07/19/2004 07:18:28 AM [Drives] ItemValue Drive A: Description 3 1/2 Inch Floppy Drive Drive C: Description Local Fixed Disk Compressed False File System FAT32 Size2.00 GB (2,142,543,872 bytes) Free Space 235.72 MB (247,173,120 bytes) Volume Name WIN98FAT Volume Serial Number08391ED9 Partition Disk #0, Partition #0 Partition Size 2.00 GB (2,146,765,824 bytes) Starting Offset 32256 bytes Drive Description Disk drive Drive Manufacturer (Standard disk drives) Drive Model ST315313A Drive BytesPerSector512 Drive MediaLoaded True Drive MediaType Fixed hard disk media Drive Partitions2 Drive SCSIBus 0 Drive SCSILogicalUnit 0 Drive SCSIPort 0 Drive SCSITargetId 0 Drive SectorsPerTrack 63 Drive Size 15299020800 bytes Drive TotalCylinders1860 Drive TotalSectors 29880900 Drive TotalTracks 474300 Drive TracksPerCylinder 255 Drive D: Description Local Fixed Disk Compressed False File System NTFS Size12.25 GB (13,152,157,696 bytes) Free Space 65.64 MB (68,829,184 bytes) Volume Name Volume Serial Number1C1A12F7 Partition Disk #0, Partition #1 Partition Size 12.25 GB (13,152,190,464 bytes) Starting Offset 2146798080 bytes Drive Description Disk drive Drive Manufacturer (Standard disk drives) Drive Model ST315313A Drive BytesPerSector512 Drive MediaLoaded True Drive MediaType Fixed hard disk media Drive Partitions2 Drive SCSIBus 0 Drive SCSILogicalUnit 0 Drive SCSIPort 0 Drive SCSITargetId 0 Drive SectorsPerTrack 63 Drive Size 15299020800 bytes Drive TotalCylinders1860 Drive TotalSectors 29880900 Drive TotalTracks 474300 Drive TracksPerCylinder 255 -- System Information report written at: 07/19/2004 07:19:57 AM [Program Groups] Group Name NameUser Name Accessories Default User:AccessoriesDefault User Accessories\Accessibility Default User:Accessories\Accessibility Default User Accessories\Entertainment Default User:Accessories\Entertainment Default User Accessories\System ToolsDefault User:Accessories\System Tools Default User Startup Default User:StartupDefault User Accessories All Users:Accessories All Users Accessories\Accessibility All Users:Accessories\Accessibility All Users Accessories\Communications All Users:Accessories\CommunicationsAll Users
Re: freebsd 5.2 won't connect sco xenix 386
Dear Fellows, I need help to connect a freebsd 5.2 box to sco xenix 386 box via multiserial cable on the xenix box. The xenix box allows a connection via a program called Easyterm.exe running on a windows 2000 box. The xenix box has application which I like to connect to via freebsd 5.2 box. So I built a null modem cable which I connected one end to the com1 (cuaa0) port on freebsd box and com2 line on the xenix box. Xenix box has multiserial card on it. So I used the line 2. I used kde 3.2 xterminal window and run cu like # cu -l cuaa0. I got a message saying CONNECTED but the login prompt from the xenix box does not appear on the monitor connected to the freebsd box.. Can anyone offer some suggestions on how to trouble shoot this problem? Or someone who has can across similar problem and find a way around? Like to hear from you soon. regards ED ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Linux Type OS's which one do I choose?
[EMAIL PROTECTED] (David Wigle) wrote: Assist please? This is my system file information: I'd like to run LinspireOS and star Office. I currently have stare office 7.1 for Windows. Interesting. The Hard drive is set as NFTS. May I have a dual boot or may I just dump Windows. Based on the rest of your email, you should probably set up to dual boot. I use PPOE w/DSL and have some special forms programs .exe, for filling out forms. Will I be able to use these programs? They might work under wine, but I wouldn't assume so until you've tested them. I have to decide between BSD, Sun OS and Linsprie or SUSie. You want to use FreeBSD. I use an Imac also and prefer it. However I must be able to run some windows programs, like word. Does or is WINE type programs needed for windows apps? Yes. I use a Devorak keyboard, arethere drivers available. Yes. I aps have a Bently CAD program, I use for Windows Will this work in a linux type environment. Don't know, you'll need to test it. I want compatability seamlisly, but also want off of WIndows. Don't we all. Good luck. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Openoffice
Hi people.. simple question Where can i find a binary distribution of openoffice for FreeBSD ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Openoffice
Osmany Guirola Cruz [EMAIL PROTECTED] wrote: Hi people.. simple question Where can i find a binary distribution of openoffice for FreeBSD From the OpenOffice.org web site, downloads section. Last I checked, there were prebuilt packages for FreeBSD 4 and 5. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NAT trouble
[EMAIL PROTECTED] (Björn Lindström) wrote: Bill Moran [EMAIL PROTECTED] writes: (Where tun0 is the interface of my ADSL connection.) Is tun0 the real interface? No, the actual card is rl0: rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet6 fe80::2e0:4cff:feb0:5d5b%rl0 prefixlen 64 scopeid 0x1 ether 00:e0:4c:b0:5d:5b media: Ethernet autoselect (100baseTX full-duplex) status: active ppp0: flags=8010POINTOPOINT,MULTICAST mtu 1500 tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1492 inet 81.228.156.82 -- 81.228.156.1 netmask 0x Opened by PID 53 Is it the actual NIC that should be put in $nat_interface? No, you should use the tun0 as you have ... I was just checking. Perhaps natd isn't starting becuase the tun0 interface does not yet exist when it tries to start? What happens if you start it manually? ^^ ? -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: NAT trouble
Change natd_interface=tun0 to natd_interface=rl0 Change 00050 0 0 divert 8668 ip from any to any via tun0 to 00050 0 0 divert 8668 ip from any to any via rl0 redirect rl0 tcp 192.168.0.2:15000 15000 A new rewrite of the FreeBSD handbook firewall section is currently being made ready for update to the handbook. You can get an in-process copy from www.a1poweruser.com/FBSD_firewall/ For more help post complete contents of your rc.conf, ppp.conf, ipfw rules, dmesg.boot, ppp.log, files along with description of how you are connected to the public internet. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Björn Lindström Sent: Sunday, July 18, 2004 11:26 AM To: [EMAIL PROTECTED] Subject: NAT trouble I'm having some trouble to get NAT working on the Internet gateway of my home LAN. Here's my setup: I have compiled a kernel with the following options added: options IPFIREWALL options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=10 options IPDIVERT I have these relevant settings in my rc.conf: gateway_enable=YES firewall_enable=YES firewall_type=OPEN natd_enable=YES natd_interface=tun0 natd_flags=-f /etc/natd.conf (Where tun0 is the interface of my ADSL connection.) My natd.conf only contains this line: redirect_port tcp 192.168.0.2:15000 15000 Now, when I reboot, ipfw show shows this: 00050 0 0 divert 8668 ip from any to any via tun0 00100 182 15680 allow ip from any to any via lo0 00200 0 0 deny ip from any to 127.0.0.0/8 00300 0 0 deny ip from 127.0.0.0/8 to any 65000 11015 3073646 allow ip from any to any 65535 4 236 deny ip from any to any Here are the problems: * ps ax|grep natd shows that natd is not running. * While I still cat get to the gateway from the inside, connections to the Net doesn't work, until I 'ipfw delete 00050'. I hope someone here has a clue as to what may be wrong with my setup. Thanks in advance, Björn ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Internet connection sharing
Use FreeBSD as the box that connects to your ISP and put the other boxes on a LAN behind the FreeBSD box. To do this you need to use NAT. A new rewrite of the FreeBSD handbook firewall section is currently being made ready for update to the handbook. You can get an in-process copy from www.a1poweruser.com/FBSD_firewall/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Stanley Wright Sent: Sunday, July 18, 2004 11:20 AM To: [EMAIL PROTECTED] Subject: Internet connection sharing Hello All, What is the best way to share an internet connection between FreeBSD and Linux and FreeBSD and windows. Thanks. Stanley - Do you Yahoo!? Vote for the stars of Yahoo!'s next ad campaign! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: dsl modem configuration
Gerardo Your request for help is greatly lacking in background info. People on this list can not read you mind so you have to post detail info about your system config files before people can help you. Post the complete contents of your rc.conf, ppp.conf, ipfw rules, dmesg.boot, ppp.log, files along with description of how you are connected to the public internet. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Gerardo Sent: Saturday, July 17, 2004 3:58 PM To: FreeBSD Forums Subject: dsl modem configuration Hello group, this is my first post to the forum. I´m gerardo, from argentina. I have a little problem with my dsl modem: CA-80U (Amigo USB). i can´t install it. The machine is a PIII 600, 256MB RAM, 40GB Maxtor, Anihilator Pro DDR 32MB, Sound Blaster Live Platinum (doesn´t work in freebsd), 4.10 freebsd. Anybody knows how to install and configure the modem? Thanks for the help. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: priority on rc script caused panic
pura life CR wrote: Hi. I added a process with high priority (nice -20) to be loaded each time system boots. It is located in /usr/local/etc/rc.d. Apparently, the process consume too much cpu time which make it imposible to log in. I cant do anything from the boot loader, because i cant cd to /usr to remove the script. Any suggestion?. The system is on a virtual machine. thanks. eugene tooms. Greetings! Have you tried this? 1. When the countdown starts, right after the BTX loader has finished, press any key other than enter for the prompt. 2. Type boot -s to boot into single user mode. 3. When asked for a shell for root, hit enter (this will give you the sh shell). Alternatively, type /bin/csh, then enter. This will give you the C shell, and tab completion. Essential if you are to do much of anything, IMO. 4. fsck -y mount -u / 5. mount /usr 6. Do whatever it is you want to do in /usr, and reboot. You may have to provide the absolute paths for fsck and mount, I don't recall at the moment if PATH is set in single user mode. First, I am not sure what you mean by 'virtual machine'. That may throw a monkey wrench in things if it means that literally. But, the main thing I would add is before you do the mount /usr you probably want to cause root to be remounted read/write so you can edit rc.conf. To do this, do mount -u / (or even just mount -a I think will cause it to happen nowdays) Otherwise root will be mount read only and you won't be able to change rc.conf jerry Hope this helps! -Henrik W Lund ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Openoffice
On Mon, 19 Jul 2004 08:30:47 -0400 Bill Moran [EMAIL PROTECTED] wrote: Osmany Guirola Cruz [EMAIL PROTECTED] wrote: Hi people.. simple question Where can i find a binary distribution of openoffice for FreeBSD From the OpenOffice.org web site, downloads section. Last I checked, there were prebuilt packages for FreeBSD 4 and 5. yes, and you can download them from here. http://oootranslation.services.openoffice.org/pub/OpenOffice.org/ooomisc/FreeBSD/ -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
install problem
I downloaded the ISO from LiveBSD that installs 5.2.1: http://www.livebsd.com/livedesktop/ And I'm having problem when trying to boot the CD-ROM. I get the following errors, after it loads for a while: Mounting root from cd9660:acd0 setrootbyname failed iso_mountroot: can't find bootvp Root mount failed: 6 And then I get put into this : Manual root file specification: And it asks me for a partition to boot. Any ideas what could be going wrong? Is the ISO broken? There's nothing too weird about the computer. The CDROM drive is the secondary Master. There's a tape drive that is the secondary slave, while the 80gb hard drive is the primary master. It's a pretty vanilla setup - an 800mhz Intel chip on an ASUS motherboard. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
openoffice install and java JRE on 4.10
HI, I have trouble getting my openoffice installation to run on fbsd 4.10. (subject of previous questions) I just remembered that I installed it without the java JRE option, because I didnt have the slightest idea where to get that (or even what it is) Can someone tell me where to get the java JRE necessary for freeBSD to run openoffice ? (and even what it is called) Thanks Peter ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Our package system: Fundamentally Flawed - A Linux User.
On Mon, 19 Jul 2004 09:09:28 +0200 (CEST) Wojciech Puchar [EMAIL PROTECTED] wrote: a different library name) like it should, pkg_add only gives a warning and an assumption that the install went well. Now, the user goes to run the package and gets a big fat error: libintl.so.X not found. package 0.13 should be compatible with 0.12 or should has name 1.* anyway - in 99.99% times ln -s libintl.so.X libintl.so.Y where Y is required number works :) another fix to this problem is to issue pkgdb -fu, then indicate for the program to depend on whatever collections you have installed. For a user like myself, this is no problem. I can recognize the error and figure out how to fix it manually. For a user considering switching to FreeBSD from Linux, this is considered a fundamental flaw in our package system and may lead to a very annoying flame war. Can this be fixed? Why hasn't it been fixed? i prefer this to consider this simply a different solution to a similar problem. when i bump into comments like this, i generally like to provide a link which (i think) very well outlines many of the important design differences between freebsd and linux. http://www.over-yonder.net/~fullermd/rants/bsd4linux/bsd4linux1.php it might seem a tad long, but it is a rewarding read. highly recommended. hope that this helps to dispel any misconceptions you may have. cheers, epi p.s. obviously any system (yes, even linux and bsd) can be improved. the question of _what_ to improve often boils down to 'how' (different solutions bring different trade-offs) and 'for what investment of time and energy' (not everything is equally urgent). war requires 2 sides to fight. simplest way to avoid is ignore them. no one forces linux user to go to FreeBSD or otherBSD. 2 years ago mostly because linux started the only right solution and to be better than windows i switched to NetBSD. and found that this said to be worse *BSD are actually better. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD and WinNT
I have a FreeBSD 4.8 and I need to install on the same machine WindowsNT-like operating system. I tried to do this and installed it. But after recovering of BSD bootstrap loader using sysinstall I found that I cannot load Windows. Namely, there was two question signs ('??') in the second string of BSD loader menu (the first was 'FreeBSD') and after selecting it by F3 my computer rebooted. Windows should run on NTFS partition, not FAT. Can I do something and if yes, what? Thank You. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: problem while installing FreeBSD
I am still in process of installing it. The last few line which I see are: -- Stand/sysinstall running as init on vty0 Panic: Page Fault Syncing disks... Uptime: 0s Automatic reboot in 15 seconds or press any key for prompt reboot. -- I am not getting Sysinstall menu. I don't know why it says to reboot. Thanks. Bawan -Original Message- From: Steve Bertrand [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 11:24 AM To: Bawan Cc: [EMAIL PROTECTED] Subject: RE: problem while installing FreeBSD I tried with options Start kernel configuration and Skip Kernel Configuration and have same result. Keyboard is not getting off even I do cold boot, but system start and same thing repeats. It sounds like you still have the CD in the drive...Did you follow the instruction to Remove any removable media from the drive.. before you rebooted the machine? Remove the CD (if it is in the CD drive) and boot from the hard disk instead. Cheers, Steve My computer description is: API Multiprocessor PC NVDIA RIVA TNT2 Model display card NIC 3COM (3c905c-TX) Processors: AMD Athlon (tm) MP 1900+ AMD Athlon (tm) MP 1900+ SCSI and RAID Controller: SX6000(tm) IDE RAID Controller Please let me know if you need anymore hardware information. Note: I am installing from CD, do you think I have to try installing from FTP. Thanks. -Original Message- From: Steve Bertrand [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 10:47 AM To: Bawan Cc: [EMAIL PROTECTED] Subject: RE: problem while installing FreeBSD I just started installing it. There is no any extra peripheral connected to it. I think I am on first step, I am suppose to get Sysinstall menu after reboot, but it gets stuck after saying rebooting... When replying to a post, please ensure you Cc: the list, so that everyone following the thread knows what is happening. It is also beneficial to knew users who 'lurk' but haven't yet posted that may be having similar issues. Now, back to the subject... If you've already installed FBSD, sysinstall should not come back up by default. The machine should boot, then you should be dropped right at the command prompt. If I understand correctly, the last message you see is 'Rebooting...'? If this is so, what happens after a cold boot? Post the messages where it gets stuck. Also, this may be a good time to post your hardware (mobo, NIC, and additional info). Regards, Steve Thanks. -Original Message- From: Steve Bertrand [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 10:07 AM To: Bawan Cc: [EMAIL PROTECTED] Subject: Re: problem while installing FreeBSD I am installing FreeBSD 4.10 from CD. The computer hung up after rebooting and I am not getting Probe result. Computer and keyboard seems to be hung up. Where exactly is it hung? What is the last few lines of output that is displayed? Do you have any extra peripherals plugged in (ie. scanner, camera, CF cards etc)? If so, unplug all unneccisary devices and try to boot again. Steve I don't see any conflicting devices on my computer. Can you help me on this? Thanks. bawan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: clamd keeps exiting
On Sat, 17 Jul 2004, Jay Moore wrote: On Thursday 15 July 2004 08:34 am, Mipam wrote: ls /var/log/clamav/clamd.log yields: +++ Started at Wed Jul 14 10:30:57 2004 clamd daemon 0.74 (OS: freebsd5.2.1, ARCH: i386, CPU: i386) Log file size limited to 2097152 bytes. Verbose logging activated. Running as user clamav (UID 1006, GID 1007) Reading databases from /usr/local/share/clamav Protecting against 22678 viruses. Unix socket file /var/run/clamav/clamd Setting connection queue length to 15 Listening daemon: PID: 859 Archive: Archived file size limit set to 10485760 bytes. Archive: Recursion level limit set to 5. Archive: Files limit set to 1000. Archive: Compression ratio limit set to 200. Archive support enabled. RAR support disabled. Mail files support enabled. OLE2 support enabled. Self checking every 3600 seconds. and in var/log/messages Jul 14 10:33:10 rbns01 kernel: pid 859 (clamd), uid 1006: exited on signal 6 For the rest i couldnt find anything just this. I have no clue why it keeps exiting. The deps: /usr/local/sbin/clamd: libclamav.so.1 = /usr/local/lib/libclamav.so.1 (0x28086000) libz.so.2 = /lib/libz.so.2 (0x280ae000) libbz2.so.1 = /usr/lib/libbz2.so.1 (0x280bc000) libgmp.so.6 = /usr/local/lib/libgmp.so.6 (0x280cb000) libc_r.so.5 = /usr/lib/libthr.so.1 (0x280f9000) libc.so.5 = /lib/libc.so.5 (0x2810a000) kern.version: FreeBSD 5.2.1-RELEASE-p9 #3: Thu Jul 8 16:43:50 CEST 2004 Any clues? I cant seem to get any more debug info about what happend even not with the --debug option enabled. Any hints? Do you have a file /etc/clamav.conf ? There is a line in the default clamav.conf: # Example This line must be un-commented (remove the #). You mean this part: # Comment or remove the line below. #Example This is commented as you can see, so you suggest to uncomment this line? What is the function of this Example in the clamav.conf? Bye, Mipam. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD Hosting
bsdwebsolutions.com Totally FreeBSD. Cheers, Jeanne On Fri, 16 Jul 2004 11:16:26 -0500 Joseph Koenig [EMAIL PROTECTED] wrote: Hi, I'm sure this question comes up, but I am looking at switching hosting companies and am considering going with a dedicated server or co-locating some servers somewhere. Regardless of which way I go, I want to make sure the hosting facility has technicians who have experience with FreeBSD, in especially with jails. If I go with a co-location set-up, I'd like to find somewhere that will manage security patches, OS updates, etc - whether it is through the hosting facility or through a 3rd party consultant. We are a small firm and do not have the time to effectively manage all aspects of the system, yet we are more than capable of handling the day-to-day basics of the system (installing software, supporting web, db, and e-mail, etc). I'd appreciate any recommendations anyone has on hosting facilities / consultants that would be able to effectively handle these issues for us. Thank you, Joe Koenig Production Manager jWeb New Media Design [EMAIL PROTECTED] http://www.jwebmedia.com/ 636.928.3162 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Jeanne Schock Systems Administrator 845-471-5200 x.41 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Openoffice
--- Osmany Guirola Cruz [EMAIL PROTECTED] wrote: Hi people.. simple question Where can i find a binary distribution of openoffice for FreeBSD ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Here you go: http://projects.imp.ch/openoffice/ Pete __ Do you Yahoo!? Vote for the stars of Yahoo!'s next ad campaign! http://advision.webevents.yahoo.com/yahoo/votelifeengine/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
save-entropy cronjob Added: not found every 10 minutes
Hello, Does anybody know what is going on with the crobjob /usr/libexec/save-entropy that by default is scheduled to run every 10 minutes? I'm getting tons of log mail because of this, but I don't want to just comment out the cronjob because it is annoying. It is only happening on one of my FreeBSD 5.2.1 boxes, and the only thing I can figure that is causing it (different from other boxes) is that it is running the dhcpd server. Any thoughts? Thanks, Duane Winner [EMAIL PROTECTED] mail Mail version 8.1 6/6/93. Type ? for help. /var/mail/dwinner: 2 messages 2 new N 1 [EMAIL PROTECTED] Mon Jul 19 12:11 23/955 Cron [EMAIL PROTECTED] /usr/libexec/save-entropy N 2 [EMAIL PROTECTED] Mon Jul 19 12:22 23/955 Cron [EMAIL PROTECTED] /usr/libexec/save-entropy Message 1: From [EMAIL PROTECTED] Mon Jul 19 12:11:01 2004 Date: Mon, 19 Jul 2004 12:11:01 -0400 (EDT) From: [EMAIL PROTECTED] (Cron Daemon) To: [EMAIL PROTECTED] Subject: Cron [EMAIL PROTECTED] /usr/libexec/save-entropy Added: not found ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: save-entropy cronjob Added: not found every 10 minutes
In the last episode (Jul 19), Duane Winner said: Does anybody know what is going on with the cronjob /usr/libexec/save-entropy that by default is scheduled to run every 10 minutes? I'm getting tons of log mail because of this, but I don't want to just comment out the cronjob because it is annoying. Subject: Cron [EMAIL PROTECTED] /usr/libexec/save-entropy Added: not found Try changing the top line of that script to read #!/bin/sh -x , which will log every command that it runs to stderr. You should then be able to determine which line is printing that error message. My guess is something in your rc.conf is doing it. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problem while installing FreeBSD
I am still in process of installing it. The last few line which I see are: -- Stand/sysinstall running as init on vty0 Panic: Page Fault Syncing disks... Uptime: 0s Automatic reboot in 15 seconds or press any key for prompt reboot. -- The problem that is causing the reboot is the page fault. I don't know why you are getting that. Are you attempting to bootfrom the install CD at that point or from hard disk or something else? You shouldn't see a page fault if you are booting from the CD. I am not getting Sysinstall menu. I don't know why it says to reboot. Yup. You are not getting that far. You are getting a page fault before then. Anyway, please give some more complete information on what steps you have taken and what you have done to get to the point you are seeing the page fault - what you are booting from, if you have selected anything, etc. The fragmentary information you keep giving is not helping. It is not possible to guess what you have done or where you are at. jerry Thanks. Bawan -Original Message- From: Steve Bertrand [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 11:24 AM To: Bawan Cc: [EMAIL PROTECTED] Subject: RE: problem while installing FreeBSD I tried with options Start kernel configuration and Skip Kernel Configuration and have same result. Keyboard is not getting off even I do cold boot, but system start and same thing repeats. It sounds like you still have the CD in the drive...Did you follow the instruction to Remove any removable media from the drive.. before you rebooted the machine? Remove the CD (if it is in the CD drive) and boot from the hard disk instead. Cheers, Steve My computer description is: API Multiprocessor PC NVDIA RIVA TNT2 Model display card NIC 3COM (3c905c-TX) Processors: AMD Athlon (tm) MP 1900+ AMD Athlon (tm) MP 1900+ SCSI and RAID Controller: SX6000(tm) IDE RAID Controller Please let me know if you need anymore hardware information. Note: I am installing from CD, do you think I have to try installing from FTP. Thanks. -Original Message- From: Steve Bertrand [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 10:47 AM To: Bawan Cc: [EMAIL PROTECTED] Subject: RE: problem while installing FreeBSD I just started installing it. There is no any extra peripheral connected to it. I think I am on first step, I am suppose to get Sysinstall menu after reboot, but it gets stuck after saying rebooting... When replying to a post, please ensure you Cc: the list, so that everyone following the thread knows what is happening. It is also beneficial to knew users who 'lurk' but haven't yet posted that may be having similar issues. Now, back to the subject... If you've already installed FBSD, sysinstall should not come back up by default. The machine should boot, then you should be dropped right at the command prompt. If I understand correctly, the last message you see is 'Rebooting...'? If this is so, what happens after a cold boot? Post the messages where it gets stuck. Also, this may be a good time to post your hardware (mobo, NIC, and additional info). Regards, Steve Thanks. -Original Message- From: Steve Bertrand [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 10:07 AM To: Bawan Cc: [EMAIL PROTECTED] Subject: Re: problem while installing FreeBSD I am installing FreeBSD 4.10 from CD. The computer hung up after rebooting and I am not getting Probe result. Computer and keyboard seems to be hung up. Where exactly is it hung? What is the last few lines of output that is displayed? Do you have any extra peripherals plugged in (ie. scanner, camera, CF cards etc)? If so, unplug all unneccisary devices and try to boot again. Steve I don't see any conflicting devices on my computer. Can you help me on this? Thanks. bawan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: priority on rc script caused panic
From: Giorgos Keramidas [EMAIL PROTECTED] To: Henrik W Lund [EMAIL PROTECTED] CC: pura life CR [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: priority on rc script caused panic Date: Mon, 19 Jul 2004 13:43:24 +0300 On 2004-07-19 11:34, Henrik W Lund [EMAIL PROTECTED] wrote: pura life CR wrote: I added a process with high priority (nice -20) to be loaded each time system boots. It is located in /usr/local/etc/rc.d. Apparently, the process consume too much cpu time which make it imposible to log in. I cant do anything from the boot loader, because i cant cd to /usr to remove the script. Have you tried this? 1. When the countdown starts, right after the BTX loader has finished, press any key other than enter for the prompt. 2. Type boot -s to boot into single user mode. 3. When asked for a shell for root, hit enter (this will give you the sh shell). Alternatively, type /bi n/csh, then enter. This will give you the C shell, and tab completion. Essential if you are to do much of anything, IMO. 4. fsck -y 5. mount /usr 6. Do whatever it is you want to do in /usr, and reboot. You may have to provide the absolute paths for fsck and mount, I don't recall at the moment if PATH is set in single user mode. You don't need to fiddle with the PATH. It's set to a reasonable default that can be used even for upgrading the system with the make installworld procedure. I regularly (almost daily) upgrade my CURRENT installation and the set of commands I use when the single user shell fires up is: adjkerntz -i # allow system time updates to work swapon -a # enable all swap partitions fsck -p # check any filesystems that need it mount -u / # remount root fs as read-write mount /usr # mount /usr as read-write cd /usr/src # upgrade sequence make installworld # - // - mergemaster # - // - This should not be done. You dont really need to upgrade daily, you are just overloading freebsd cvsup servers. Also, why to make all the source tree if you just get few modifications per day? It would be wise to know what part or the tree was updated and just compile it or let the whole compilation for later. If you want to see your machine working at 100% cpu, learn prolog. The last three commands update the system from the compiled object files under /usr/obj. The commands up to the command that mounts /usr are more or less necessary to have a system that includes a read-write root fs and the tools required for the upgrade to work. -- Giorgos Keramidas keramida (at) freebsd (dot) org FreeBSD: The Power to Serve http://www.FreeBSD.org/ _ Consigue aquí las mejores y mas recientes ofertas de trabajo en América Latina y USA: [1]Haz clic aquí... References 1. http://g.msn.com/8HMBES/2743??PS=47575 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: save-entropy cronjob Added: not found every 10 minutes
Thanks! Using your technique, I discovered that I stupidly forgot to put a '#' before one of my comments in /etc/rc.conf. Dan Nelson wrote: In the last episode (Jul 19), Duane Winner said: Does anybody know what is going on with the cronjob /usr/libexec/save-entropy that by default is scheduled to run every 10 minutes? I'm getting tons of log mail because of this, but I don't want to just comment out the cronjob because it is annoying. Subject: Cron [EMAIL PROTECTED] /usr/libexec/save-entropy Added: not found Try changing the top line of that script to read #!/bin/sh -x , which will log every command that it runs to stderr. You should then be able to determine which line is printing that error message. My guess is something in your rc.conf is doing it. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Nessus scan of FreeBSD 5.2.1 shows old version of ssh
I just ran a Nessus scan against one of my machines. The scan triggered on a version of ssh older than 3.7.1. I ran /usr/bin/ssh -v and found that I have version 3.6.1p1. I'm looking for the best way to upgrade this. Can I just install and run 'portupgrade' on SSH? What are some of the gotcha points on doing this? -- Ray Seals [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Power off
Hi list how can i get a 'shutdown -p now' to actually cut the power off (instead of 'press key to reboot') ? Best regards, Marco Gonçalves ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Power off
Marco Gonçalves wrote: Hi list how can i get a 'shutdown -p now' to actually cut the power off (instead of 'press key to reboot') ? Best regards, Marco Gonçalves Does your motherboard use ACPI? What version of FreeBSD? What hardware? shutdown -p now does it on compatible machinery, so is it likely that either your hardware is not supported for ACPI? Checked man acpi or man shutdown ? hardware support required! Short of hacking together ACPI/APM support for your particular motherboard, or replacing said motherboard, I'm not sure. Generally I see this on older machines when using FreeBSD 5.X ... That's probably the best I can do for ya, given the lack of details. Maybe a Real Hacker(TM) will chime in with some new info? Kevin Kinsey DaleCo, S.P. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Linux Type OS's which one do I choose?
BTW, it by unix type, not linux type. Linux = a specifc kernel. Unix = a large family of similar OSes, which includes unix. ;) On Mon, 19 Jul 2004 07:41:20 -0400 [EMAIL PROTECTED] (David Wigle) wrote: This is my system file information: I'd like to run LinspireOS and star Office. I currently have stare office 7.1 for Windows. The Hard drive is set as NFTS. You won't find good r/w support in any thing besides WindowsNT. May I have a dual boot or may I just dump Windows. I use PPOE w/DSL and have some special forms programs .exe, for filling out forms. Will I be able to use these programs? Networking is no problem. I suggest totally forgeting about those programs and finding replacements. Dosbox, wine, or doscmd if you must have them. I have to decide between BSD, Sun OS and Linsprie or SUSie. I use an Imac also and prefer it. However I must be able to run some windows programs, like word. Does or is WINE type programs needed for windows apps? Depends. I will say, when your lucky. I use a Devorak keyboard, arethere drivers available. Yeah, a keyboard is a keyboard regardless of what the keys on it say. You just have to select a devorak layout when configuring it. I aps have a Bently CAD program, I use for Windows Will this work in a linux type environment. Only if they have a linux port. I would suggest keeping your life simple instead of trying to shoe horn it in using wine or a modified wine that comes with some linux distros. Go dual boot or make one system for your unix of choice and another for windows. I want compatability seamlisly, but also want off of WIndows. Depends... as far as networking and the like that is entirely possible. If you are counting on running unix apps on windows and vice versa, you won't be able to well or effectively. Any ways, have fun :) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Openoffice
--- Osmany Guirola Cruz [EMAIL PROTECTED] wrote: Hi people.. simple question Where can i find a binary distribution of openoffice for FreeBSD ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Here you go: http://projects.imp.ch/openoffice/ That is the easiest way. But, note, that there is a minor error - probably a typo in the instructions/documentation. Where it tells you to run '.../.../openoffice' to get things started and do setup, you have to run .../.../soffice instead unless that has been changed or the instructions corrected recently. Otherwise it works fine. I think using the premade binary package doesn't get you some of the fonts. jerry Pete __ Do you Yahoo!? Vote for the stars of Yahoo!'s next ad campaign! http://advision.webevents.yahoo.com/yahoo/votelifeengine/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: problem while installing FreeBSD
I think my machine might have some hardware which is not recognized by FreeBSD 4.10. I tried to install on other machine from CD and it was installing perfectly. So, I gave up with 4.10 and downloaded 5.2.1 and installed on the same machine, good news is, it installed perfectly. Thanks to you guys for great support. I may need your help again when installing mail toaster on it. Bawan -Original Message- From: Jerry McAllister [mailto:[EMAIL PROTECTED] Sent: Monday, July 19, 2004 11:35 AM To: Bawan Cc: 'Steve Bertrand'; [EMAIL PROTECTED] Subject: Re: problem while installing FreeBSD I am still in process of installing it. The last few line which I see are: -- Stand/sysinstall running as init on vty0 Panic: Page Fault Syncing disks... Uptime: 0s Automatic reboot in 15 seconds or press any key for prompt reboot. -- The problem that is causing the reboot is the page fault. I don't know why you are getting that. Are you attempting to bootfrom the install CD at that point or from hard disk or something else? You shouldn't see a page fault if you are booting from the CD. I am not getting Sysinstall menu. I don't know why it says to reboot. Yup. You are not getting that far. You are getting a page fault before then. Anyway, please give some more complete information on what steps you have taken and what you have done to get to the point you are seeing the page fault - what you are booting from, if you have selected anything, etc. The fragmentary information you keep giving is not helping. It is not possible to guess what you have done or where you are at. jerry Thanks. Bawan -Original Message- From: Steve Bertrand [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 11:24 AM To: Bawan Cc: [EMAIL PROTECTED] Subject: RE: problem while installing FreeBSD I tried with options Start kernel configuration and Skip Kernel Configuration and have same result. Keyboard is not getting off even I do cold boot, but system start and same thing repeats. It sounds like you still have the CD in the drive...Did you follow the instruction to Remove any removable media from the drive.. before you rebooted the machine? Remove the CD (if it is in the CD drive) and boot from the hard disk instead. Cheers, Steve My computer description is: API Multiprocessor PC NVDIA RIVA TNT2 Model display card NIC 3COM (3c905c-TX) Processors: AMD Athlon (tm) MP 1900+ AMD Athlon (tm) MP 1900+ SCSI and RAID Controller: SX6000(tm) IDE RAID Controller Please let me know if you need anymore hardware information. Note: I am installing from CD, do you think I have to try installing from FTP. Thanks. -Original Message- From: Steve Bertrand [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 10:47 AM To: Bawan Cc: [EMAIL PROTECTED] Subject: RE: problem while installing FreeBSD I just started installing it. There is no any extra peripheral connected to it. I think I am on first step, I am suppose to get Sysinstall menu after reboot, but it gets stuck after saying rebooting... When replying to a post, please ensure you Cc: the list, so that everyone following the thread knows what is happening. It is also beneficial to knew users who 'lurk' but haven't yet posted that may be having similar issues. Now, back to the subject... If you've already installed FBSD, sysinstall should not come back up by default. The machine should boot, then you should be dropped right at the command prompt. If I understand correctly, the last message you see is 'Rebooting...'? If this is so, what happens after a cold boot? Post the messages where it gets stuck. Also, this may be a good time to post your hardware (mobo, NIC, and additional info). Regards, Steve Thanks. -Original Message- From: Steve Bertrand [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 10:07 AM To: Bawan Cc: [EMAIL PROTECTED] Subject: Re: problem while installing FreeBSD I am installing FreeBSD 4.10 from CD. The computer hung up after rebooting and I am not getting Probe result. Computer and keyboard seems to be hung up. Where exactly is it hung? What is the last few lines of output that is displayed? Do you have any extra peripherals plugged in (ie. scanner, camera, CF cards etc)? If so, unplug all unneccisary devices and try to boot again. Steve I don't see any conflicting devices on my computer. Can you help me on this? Thanks. bawan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___
RE: problem while installing FreeBSD
I think my machine might have some hardware which is not recognized by FreeBSD 4.10. I tried to install on other machine from CD and it was installing perfectly. So, I gave up with 4.10 and downloaded 5.2.1 and installed on the same machine, good news is, it installed perfectly. Thanks to you guys for great support. I may need your help again when installing mail toaster on it. Most of the questions you will have relating to installing/configuring Matt Simerson's mail toaster will be far better suited for this mail list: [EMAIL PROTECTED] Any questions related to that software should be directed to that list unless it relates directly to a problem with the OS, which is *very* rare. I suggest that before you begin installing a toaster, you subscribe to the above list and get a feel for it, as this setup requires a great deal of attention and absolutely perfect documentation-following adherence. Regards, Steve Bawan -Original Message- From: Jerry McAllister [mailto:[EMAIL PROTECTED] Sent: Monday, July 19, 2004 11:35 AM To: Bawan Cc: 'Steve Bertrand'; [EMAIL PROTECTED] Subject: Re: problem while installing FreeBSD I am still in process of installing it. The last few line which I see are: -- Stand/sysinstall running as init on vty0 Panic: Page Fault Syncing disks... Uptime: 0s Automatic reboot in 15 seconds or press any key for prompt reboot. -- The problem that is causing the reboot is the page fault. I don't know why you are getting that. Are you attempting to bootfrom the install CD at that point or from hard disk or something else? You shouldn't see a page fault if you are booting from the CD. I am not getting Sysinstall menu. I don't know why it says to reboot. Yup. You are not getting that far. You are getting a page fault before then. Anyway, please give some more complete information on what steps you have taken and what you have done to get to the point you are seeing the page fault - what you are booting from, if you have selected anything, etc. The fragmentary information you keep giving is not helping. It is not possible to guess what you have done or where you are at. jerry Thanks. Bawan -Original Message- From: Steve Bertrand [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 11:24 AM To: Bawan Cc: [EMAIL PROTECTED] Subject: RE: problem while installing FreeBSD I tried with options Start kernel configuration and Skip Kernel Configuration and have same result. Keyboard is not getting off even I do cold boot, but system start and same thing repeats. It sounds like you still have the CD in the drive...Did you follow the instruction to Remove any removable media from the drive.. before you rebooted the machine? Remove the CD (if it is in the CD drive) and boot from the hard disk instead. Cheers, Steve My computer description is: API Multiprocessor PC NVDIA RIVA TNT2 Model display card NIC 3COM (3c905c-TX) Processors: AMD Athlon (tm) MP 1900+ AMD Athlon (tm) MP 1900+ SCSI and RAID Controller: SX6000(tm) IDE RAID Controller Please let me know if you need anymore hardware information. Note: I am installing from CD, do you think I have to try installing from FTP. Thanks. -Original Message- From: Steve Bertrand [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 10:47 AM To: Bawan Cc: [EMAIL PROTECTED] Subject: RE: problem while installing FreeBSD I just started installing it. There is no any extra peripheral connected to it. I think I am on first step, I am suppose to get Sysinstall menu after reboot, but it gets stuck after saying rebooting... When replying to a post, please ensure you Cc: the list, so that everyone following the thread knows what is happening. It is also beneficial to knew users who 'lurk' but haven't yet posted that may be having similar issues. Now, back to the subject... If you've already installed FBSD, sysinstall should not come back up by default. The machine should boot, then you should be dropped right at the command prompt. If I understand correctly, the last message you see is 'Rebooting...'? If this is so, what happens after a cold boot? Post the messages where it gets stuck. Also, this may be a good time to post your hardware (mobo, NIC, and additional info). Regards, Steve Thanks. -Original Message- From: Steve Bertrand [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 10:07 AM To: Bawan Cc: [EMAIL PROTECTED] Subject: Re: problem while installing FreeBSD I am installing FreeBSD 4.10 from CD. The computer hung up after rebooting and I am not getting Probe result. Computer and keyboard seems to be hung up. Where exactly is it hung? What is the last few lines of
Re: problem while installing FreeBSD
I think my machine might have some hardware which is not recognized by FreeBSD 4.10. I tried to install on other machine from CD and it was installing perfectly. So, I gave up with 4.10 and downloaded 5.2.1 and installed on the same machine, good news is, it installed perfectly. Well, that solves that. jerry Thanks to you guys for great support. I may need your help again when installing mail toaster on it. Bawan -Original Message- From: Jerry McAllister [mailto:[EMAIL PROTECTED] Sent: Monday, July 19, 2004 11:35 AM To: Bawan Cc: 'Steve Bertrand'; [EMAIL PROTECTED] Subject: Re: problem while installing FreeBSD I am still in process of installing it. The last few line which I see are: -- Stand/sysinstall running as init on vty0 Panic: Page Fault Syncing disks... Uptime: 0s Automatic reboot in 15 seconds or press any key for prompt reboot. -- The problem that is causing the reboot is the page fault. I don't know why you are getting that. Are you attempting to bootfrom the install CD at that point or from hard disk or something else? You shouldn't see a page fault if you are booting from the CD. I am not getting Sysinstall menu. I don't know why it says to reboot. Yup. You are not getting that far. You are getting a page fault before then. Anyway, please give some more complete information on what steps you have taken and what you have done to get to the point you are seeing the page fault - what you are booting from, if you have selected anything, etc. The fragmentary information you keep giving is not helping. It is not possible to guess what you have done or where you are at. jerry Thanks. Bawan -Original Message- From: Steve Bertrand [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 11:24 AM To: Bawan Cc: [EMAIL PROTECTED] Subject: RE: problem while installing FreeBSD I tried with options Start kernel configuration and Skip Kernel Configuration and have same result. Keyboard is not getting off even I do cold boot, but system start and same thing repeats. It sounds like you still have the CD in the drive...Did you follow the instruction to Remove any removable media from the drive.. before you rebooted the machine? Remove the CD (if it is in the CD drive) and boot from the hard disk instead. Cheers, Steve My computer description is: API Multiprocessor PC NVDIA RIVA TNT2 Model display card NIC 3COM (3c905c-TX) Processors: AMD Athlon (tm) MP 1900+ AMD Athlon (tm) MP 1900+ SCSI and RAID Controller: SX6000(tm) IDE RAID Controller Please let me know if you need anymore hardware information. Note: I am installing from CD, do you think I have to try installing from FTP. Thanks. -Original Message- From: Steve Bertrand [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 10:47 AM To: Bawan Cc: [EMAIL PROTECTED] Subject: RE: problem while installing FreeBSD I just started installing it. There is no any extra peripheral connected to it. I think I am on first step, I am suppose to get Sysinstall menu after reboot, but it gets stuck after saying rebooting... When replying to a post, please ensure you Cc: the list, so that everyone following the thread knows what is happening. It is also beneficial to knew users who 'lurk' but haven't yet posted that may be having similar issues. Now, back to the subject... If you've already installed FBSD, sysinstall should not come back up by default. The machine should boot, then you should be dropped right at the command prompt. If I understand correctly, the last message you see is 'Rebooting...'? If this is so, what happens after a cold boot? Post the messages where it gets stuck. Also, this may be a good time to post your hardware (mobo, NIC, and additional info). Regards, Steve Thanks. -Original Message- From: Steve Bertrand [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 10:07 AM To: Bawan Cc: [EMAIL PROTECTED] Subject: Re: problem while installing FreeBSD I am installing FreeBSD 4.10 from CD. The computer hung up after rebooting and I am not getting Probe result. Computer and keyboard seems to be hung up. Where exactly is it hung? What is the last few lines of output that is displayed? Do you have any extra peripherals plugged in (ie. scanner, camera, CF cards etc)? If so, unplug all unneccisary devices and try to boot again. Steve I don't see any conflicting devices on my computer. Can you help me on this? Thanks. bawan
Re: Routing issue
ifconfig_dc0 inet 1.2.3.4 netmask 255.255.255.248 ifconfig_dc0_alias0 inet 2.3.4.5 netmask 255.255.255.248 defaultrouter=1.2.3.1 It's not on the same network; that's the problem. Two complete separate networks, same interface card. The issue is that one of the networks works, and the other doesn't, depending on what network the default router happens to be on. In general, you're going to need a mechanism for dynamically routing packets in order to make this sort of setup work. For most setups, you'ld need the co-operation of your ISP to make things work as well. The situation is this - there are 4 servers that are on one network. I'm trying to switch them over to another network, but I need to do it without downtime. Therefore, I need to have both IPs completely active and functional simultaneously. Would the situation be any easier if I put one of the networks on a separate NIC? Is there any way to determine what IP/interface a connection came in on, and continue to use that IP/interface for the outbound packets? Maybe with static routes or something of that nature? The thing is, I used this exact setup (albeit on two different network cards) on a FreeBSD 2.x box quite a ways back, for the same purpose (switching networks), and it was working fine. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Routing issue
On Mon, Jul 19, 2004 at 12:55:45PM -0500, Web Walrus (Robert Wall) wrote: ifconfig_dc0 inet 1.2.3.4 netmask 255.255.255.248 ifconfig_dc0_alias0 inet 2.3.4.5 netmask 255.255.255.248 defaultrouter=1.2.3.1 It's not on the same network; that's the problem. Two complete separate networks, same interface card. The issue is that one of the networks works, and the other doesn't, depending on what network the default router happens to be on. In general, you're going to need a mechanism for dynamically routing packets in order to make this sort of setup work. For most setups, you'ld need the co-operation of your ISP to make things work as well. The situation is this - there are 4 servers that are on one network. I'm trying to switch them over to another network, but I need to do it without downtime. Therefore, I need to have both IPs completely active and functional simultaneously. Right -- in which case, you've actually done everything right, Is there any way to determine what IP/interface a connection came in on, and continue to use that IP/interface for the outbound packets? Maybe with static routes or something of that nature? That should happen automatically whenever anyone connects to one or other of those addresses. It's setting the origin address on outgoing connections that's usually the difficult bit, but in this case, that shouldn't be a problem. Really all you need to do is at some point change the default route to point to the new gateway, and then wait until any traffic to the old addressess dies away. Then edit /etc/rc.conf to make the new ip address the only one configured on the interface and whatever else needs fiddling with similarly, a quick reboot and you're done. 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 pgprKTSAyFxbr.pgp Description: PGP signature
RE: Nessus scan of FreeBSD 5.2.1 shows old version of ssh
Well if you realy want the latest openssh install openssh from ports (portinstall openssh or portinstall openssh-portable) you will have to use portable to build with pam if I remember rightly. The version in the base system does not actualy have the vulnerability Nessus is refering to as it was patched umm 2003-10-05 ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-03:15.openssh.a sc In terms of gotchas there arent many, Read /usr/ports/security/openssh(-portable)/pkg-message And unless you use the OPENSSH_OVERWRITE_BASE option I think you may have to manualy move your existing hostkeys to /usr/local/etc and re-edit the new Config files (I could be wrong here as it's a while since I bothered changing from the version in base) Vince -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ray Seals Sent: 19 July 2004 18:15 To: [EMAIL PROTECTED] Subject: Nessus scan of FreeBSD 5.2.1 shows old version of ssh I just ran a Nessus scan against one of my machines. The scan triggered on a version of ssh older than 3.7.1. I ran /usr/bin/ssh -v and found that I have version 3.6.1p1. I'm looking for the best way to upgrade this. Can I just install and run 'portupgrade' on SSH? What are some of the gotcha points on doing this? -- Ray Seals [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD and WinNT
Please wrap your lines around 72 chars or so, see http://www.lemis.com/questions.html Fractal [EMAIL PROTECTED] wrote: I have a FreeBSD 4.8 and I need to install on the same machine WindowsNT-like operating system. I tried to do this and installed it. But after recovering of BSD bootstrap loader using sysinstall I found that I cannot load Windows. Namely, there was two question signs ('??') in the second string of BSD loader menu (the first was 'FreeBSD') and after selecting it by F3 my computer rebooted. Windows should run on NTFS partition, not FAT. Can I do something and if yes, what? I'm not sure I understand exactly what went wrong, but (in my experience) things go much better if you install Windows first, then FreeBSD. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Nessus scan of FreeBSD 5.2.1 shows old version of ssh
Ray Seals [EMAIL PROTECTED] wrote: I just ran a Nessus scan against one of my machines. The scan triggered on a version of ssh older than 3.7.1. I ran /usr/bin/ssh -v and found that I have version 3.6.1p1. I'm looking for the best way to upgrade this. Can I just install and run 'portupgrade' on SSH? What are some of the gotcha points on doing this? You're about the third person in as many months who's pointed out how stupid Nessis. The version in FreeBSD is NOT vulnerable, it's just that Nessis isn't aware of all the various version numbers that have had this problem patched. If you want to silence Nessis, however, the other responder had some good suggestions. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Nessus scan of FreeBSD 5.2.1 shows old version of ssh
On Mon, 19 Jul 2004, Ray Seals wrote: I just ran a Nessus scan against one of my machines. The scan triggered on a version of ssh older than 3.7.1. It's a false positive. Nessus just checks the version number, it doesn't try to exploit the vulnerability to find if the system is indeed vulnerable. The sshd version in FreeBSD is older, but it's patched and not vulnerable. Don't worry about it. I ran /usr/bin/ssh -v and found that I have version 3.6.1p1. I'm Fer ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ahd driver on 4.9 has problem with more than 3 drives.
Hello All, I am trying to run FreeBSD 4.9 on a server that has 4x146GB ultra 320 SCSI drives. The motherboard is a Tyan S2720 with an Adaptec 7902 Ultra 320 onboard. (Also tried it with 4x73GB drives). The systems works fine when there are 3 drives in the system. As, soon as I plug in the 4th drive and boot the system in starts to 'dump card state' after the 'waiting for 15 secs for scsi devices to settle' line and never boots up completely. It just repeats dumps card state. I then loaded FreeBSD 5.2.1-REL and even that dumps card state, but it boots up fine. I have included the dmesg in the mail. (Sorry for including everything. I didnt know what might be important). I havent changed anything in the kernel, its a standard install. Does anyone have any clue as to why this could be happening on 4.9. Am I missing some parameter or something here. Or, is it possible to load the 5.2.1 ahd driver on 4.9. If so can somebody give some instructions on how to do that. I would appreciate any kind of help. Please let me know if you want me to do anything else or provide any other information. Thanks -Pranav dmesg output on 5.2.1 Copyright (c) 1992-2004 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC Preloaded elf kernel /boot/kernel/kernel at 0xc0a35000. Preloaded elf module /boot/kernel/acpi.ko at 0xc0a3526c. ACPI APIC Table: A M I OEMAPIC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2799.22-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf25 Stepping = 5 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE Hyperthreading: 2 logical CPUs real memory = 4160684032 (3967 MB) avail memory = 4044111872 (3856 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0 Version 2.0 irqs 0-23 on motherboard ioapic1 Version 2.0 irqs 24-47 on motherboard ioapic2 Version 2.0 irqs 48-71 on motherboard Pentium Pro MTRR support enabled npx0: [FAST] npx0: math processor on motherboard npx0: INT 16 interface acpi0: A M I OEMRSDT on motherboard pcibios: BIOS version 2.10 Using $PIR table, 14 entries at 0xc00f2fb0 acpi0: Power Button (fixed) Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x408-0x40b on acpi0 acpi_cpu0: CPU on acpi0 acpi_cpu1: CPU on acpi0 acpi_cpu2: CPU on acpi0 device_probe_and_attach: acpi_cpu2 attach returned 6 acpi_cpu2: CPU on acpi0 device_probe_and_attach: acpi_cpu2 attach returned 6 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 pcib1: ACPI PCI-PCI bridge at device 2.0 on pci0 pcib1: could not get PCI interrupt routing table for \\_SB_.PCI0.P0P2 - AE_NOT_FOUND pci2: ACPI PCI bus on pcib1 pci2: base peripheral, interrupt controller at device 28.0 (no driver attached) pcib2: ACPI PCI-PCI bridge at device 29.0 on pci2 pci4: ACPI PCI bus on pcib2 em0: Intel(R) PRO/1000 Network Connection, Version - 1.7.19 port 0xc000-0xc03f mem 0xfe98-0xfe99 irq 48 at device 1.0 on pci4 em0: Speed:N/A Duplex:N/A em1: Intel(R) PRO/1000 Network Connection, Version - 1.7.19 port 0xc400-0xc43f mem 0xfe9c-0xfe9d irq 53 at device 1.1 on pci4 em1: Speed:N/A Duplex:N/A ahd0: Adaptec AIC7902 Ultra320 SCSI adapter port 0xc800-0xc8ff,0xd000-0xd0ff mem 0xfe9fc000-0xfe9fdfff irq 50 at device 4.0 on pci4 aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI 33 or 66Mhz, 512 SCBs ahd1: Adaptec AIC7902 Ultra320 SCSI adapter port 0xd400-0xd4ff,0xd800-0xd8ff mem 0xfe9fe000-0xfe9f irq 51 at device 4.1 on pci4 aic7902: Ultra320 Wide Channel B, SCSI Id=7, PCI 33 or 66Mhz, 512 SCBs pci2: base peripheral, interrupt controller at device 30.0 (no driver attached) pcib3: ACPI PCI-PCI bridge at device 31.0 on pci2 pci3: ACPI PCI bus on pcib3 uhci0: Intel 82801CA/CAM (ICH3) USB controller USB-A port 0xe800-0xe81f irq 16 at device 29.0 on pci0 usb0: Intel 82801CA/CAM (ICH3) USB controller USB-A on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pcib4: ACPI PCI-PCI bridge at device 30.0 on pci0 pci1: ACPI PCI bus on pcib4 pci1: display, VGA at device 2.0 (no driver attached) fxp0: Intel 82551 Pro/100 Ethernet port 0xa400-0xa43f mem 0xfe4a-0xfe4b,0xfe4fe000-0xfe4fefff irq 17 at device 3.0 on pci1 fxp0: Ethernet address 00:e0:81:27:ce:99 miibus0: MII bus on fxp0 inphy0: i82555 10/100 media interface on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: PCI-ISA bridge at device 31.0 on pci0 isa0: ISA bus on isab0 atapci0: Intel ICH3 UDMA100 controller port
RE: How to install a custom built world+kernel to a machine with no OS?
[Private email redirected back to list] From: 3BSD [mailto:[EMAIL PROTECTED] On Mon, 19 Jul 2004 04:21:09 -0700, Darren Pilgrim [EMAIL PROTECTED] wrote: I have a number of machines onto which I want to install a custom-built world, kernel and set of packages, all of which have been built on another machine. The target machines presently have no OS on them and can only be booted by CD. How similar are those machines hardware wise? Because if they are really similar, you could use an imaging utility such as norton ghost to replicate one install on any number of machines, provided their hardware is similar, but if you use a Generic kernel, I'd imagine you don't even need the machines to be that similar at all. That doesn't solve the problem, though. I would still need to install the OS onto at least one machine. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
sio interrupt level overflows
what's the source of this so very often messages? Jul 19 22:44:17 chylonia kernel: sio2: 9 more interrupt-level buffer overflows (total 279433) ^^ after about 1 day uptime and 200MB traffic through sio at 230400bps (set to 28800 for FreeBSD while it's ISA card with 8x multiply and 16550A chips). how to get rid of them? under high load it makes quite high percentage of packet loss. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to install a custom built world+kernel to a machine with no OS?
On Monday 19 July 2004 03:32 pm, Darren Pilgrim wrote: [Private email redirected back to list] From: 3BSD [mailto:[EMAIL PROTECTED] On Mon, 19 Jul 2004 04:21:09 -0700, Darren Pilgrim [EMAIL PROTECTED] wrote: I have a number of machines onto which I want to install a custom-built world, kernel and set of packages, all of which have been built on another machine. The target machines presently have no OS on them and can only be booted by CD. How similar are those machines hardware wise? Because if they are really similar, you could use an imaging utility such as norton ghost to replicate one install on any number of machines, provided their hardware is similar, but if you use a Generic kernel, I'd imagine you don't even need the machines to be that similar at all. That doesn't solve the problem, though. I would still need to install the OS onto at least one machine. So are you saying that the custom world and kernel are not the system in use on the computer on which they exist? Assuming you've already edited the configuration files (/etc/rc.conf, /etc/fstab, etc): 1. Could you take the harddrives out of the destination computers, mount them on the source computer, and copy the system onto the hard drives? 2. Couldn't you use a live cdrom distribution (Freesbie, Knoppix, BBC Linux, etc) to boot the machine, setup networking, mount the hard drive and transfer (ftp, nfs, rsync, etc) the custom system to the new computer? Andrew Gould ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
KMail and IMAP
Anyone might know why KMail does not act on message filters on incoming mail when using IMAP? It works wunnerfully with pop. -- Best regards, Chris -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ClamAV virus dat updated: Mon Jul 19 2004 at 03:03:00 daily.cvd updated (version: 412, sigs: 1005, f-level: 2, builder: ccordes) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: KMail and IMAP
On Monday 19 July 2004 15:53, Chris wrote: Anyone might know why KMail does not act on message filters on incoming mail when using IMAP? It works wunnerfully with pop. Yes. KMail does not support filtering on IMAP. I *hope* that they actually fix that oversight, but I'm not holding my breath. -- Kirk Strauser pgpgy2qS6nf9c.pgp Description: signature
Re: KMail and IMAP
On Monday 19 July 2004 03:53 pm, Chris wrote: Anyone might know why KMail does not act on message filters on incoming mail when using IMAP? It works wunnerfully with pop. -- Best regards, Chris Does it really download messages using IMAP? Or just view them remotely? (I don't understand IMAP; so please excuse the question if it's a stupid one.) Andrew Gould ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: KMail and IMAP
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Monday 19 July 2004 15:53, Chris wrote: Anyone might know why KMail does not act on message filters on incoming mail when using IMAP? It works wunnerfully with pop. This is best directed at one of the KDE mailling lists, but from the FAQ posted at http://docs.kde.org/en/3.2/kdepim/kmail/faq.html 6.1. Why are my filters not applied to incoming messages of IMAP accounts? Because KMail currently does not support this. You should use server-side filtering (ask your admin for how to install filters on the server and in which format), since IMAP is all about managing your email on the server. Unfortunately, although there exists a mail filter language (Sieve, defined in RFC3028), there is no standardized access protocol for installing or editing server-side Sieve scripts. If such a protocol becomes available in the future, KMail will most probably include support for it. There is a kio slave to upload Sieve scripts to the server, but you still have to have access to enable the script. I think the kmail in kde 3.3 will have additional support for server side filters. - -- Jonathan Fosburgh -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA/DfEqUvQmqp7omYRApiQAJ9hFAu52VF6xmgaAxaQ8HJVu9QtjQCeMqoM 41WB+iTOSyo8qyeCHZCBkwU= =f3j1 -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
changing card in a reader (revisited)
Aloha I had previously started a thread with this problem and although I received several suggestions the problem was never solved. http://lists.freebsd.org/pipermail/freebsd-questions/2004-June/050819.html Below I have included more information. If I change an 8MB card for another 8MB card everything works as it should. If I try a different size card it fails. In addition, if I boot with no card in the slot, I cannot get a slice to initiate in /dev. i.e. I will see /dev/da0 - /dev/da3. When I boot with a card in the slot I see /dev/da2s1 as seen below. This problem has been reported by others (found through google) but again there was no solution. Is there a friend that I am unaware of? I have tried various attempts with camcontrol without any good results. If I unplug and replug the USB cable both of the above problems are corrected. I don't feel that is a viable solution. My wife has WXP on her computer and it will update with the changing of a card. I really need a friend that will rescan or update the USB connection. Here are the related parts of dmesg.boot. da4 is a thumb drive and da1-3 are the 4 slots of my card reader. The SmartMedia card is in da2. GEOM: create disk da0 dp=0xc2e44050 GEOM: create disk da1 dp=0xc2dacc50 GEOM: create disk da2 dp=0xc2e47450 GEOM: create disk da3 dp=0xc2e45850 GEOM: create disk da4 dp=0xc2e45450 da4 at umass-sim1 bus 1 target 0 lun 0 da4: Generic STORAGE DEVICE 1033 Removable Direct Access SCSI-0 device da4: 1.000MB/s transfers da4: 250MB (512000 512 byte sectors: 64H 32S/T 250C) da0 at umass-sim0 bus 0 target 0 lun 0 da0: USB2.0 CardReader CF RW 0814 Removable Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present da1 at umass-sim0 bus 0 target 0 lun 1 da1: USB2.0 CardReader SD RW 0814 Removable Direct Access SCSI-0 device da1: 1.000MB/s transfers da1: Attempt to query device size failed: NOT READY, Medium not present da2 at umass-sim0 bus 0 target 0 lun 2 da2: USB2.0 CardReader SM RW 0814 Removable Direct Access SCSI-0 device da2: 1.000MB/s transfers da2: 7MB (16000 512 byte sectors: 64H 32S/T 7C) da3 at umass-sim0 bus 0 target 0 lun 3 da3: USB2.0 CardReader MS RW 0814 Removable Direct Access SCSI-0 device da3: 1.000MB/s transfers da3: Attempt to query device size failed: NOT READY, Medium not present (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): Unretryable error Opened disk da0 - 6 (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): Unretryable error Opened disk da0 - 6 (da1:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:1): CAM Status: SCSI Status Error (da1:umass-sim0:0:0:1): SCSI Status: Check Condition (da1:umass-sim0:0:0:1): NOT READY asc:3a,0 (da1:umass-sim0:0:0:1): Medium not present (da1:umass-sim0:0:0:1): Unretryable error Opened disk da1 - 6 (da1:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:1): CAM Status: SCSI Status Error (da1:umass-sim0:0:0:1): SCSI Status: Check Condition (da1:umass-sim0:0:0:1): NOT READY asc:3a,0 (da1:umass-sim0:0:0:1): Medium not present (da1:umass-sim0:0:0:1): Unretryable error Opened disk da1 - 6 (da3:umass-sim0:0:0:3): READ CAPACITY. CDB: 25 60 0 0 0 0 0 0 0 0 (da3:umass-sim0:0:0:3): CAM Status: SCSI Status Error (da3:umass-sim0:0:0:3): SCSI Status: Check Condition (da3:umass-sim0:0:0:3): NOT READY asc:3a,0 (da3:umass-sim0:0:0:3): Medium not present (da3:umass-sim0:0:0:3): Unretryable error Opened disk da3 - 6 (da3:umass-sim0:0:0:3): READ CAPACITY. CDB: 25 60 0 0 0 0 0 0 0 0 (da3:umass-sim0:0:0:3): CAM Status: SCSI Status Error (da3:umass-sim0:0:0:3): SCSI Status: Check Condition (da3:umass-sim0:0:0:3): NOT READY asc:3a,0 (da3:umass-sim0:0:0:3): Medium not present (da3:umass-sim0:0:0:3): Unretryable error Opened disk da3 - 6 %su Password: hp# ls -l /dev/da* crw-r- 1 rootoperator4, 20 Jul 19 06:19 /dev/da0 crw-r- 1 rootoperator4, 21 Jul 19 06:19 /dev/da1 crw-r- 1 rootoperator4, 22 Jul 19 06:19 /dev/da2 crw-rw 1 robert robert 4, 25 Jul 19 06:19 /dev/da2s1 crw-r- 1 rootoperator4, 23 Jul 19 06:19 /dev/da3 crw-r- 1 rootoperator4, 24 Jul 19 06:19 /dev/da4 crw-rw 1 robert robert 4, 26 Jul 19 06:19 /dev/da4s1 hp# hp# mount_msdosfs /dev/da2s1 /mnt/olympus hp# ls -l /mnt/olympus/dcim/100olymp total 680 -rwxr-xr-x 1 root wheel 694158 Jul 12 18:27 p7120001.jpg hp# hp# umount /mnt/olympus here I change the SM card with
Re: changing card in a reader (revisited)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Monday 19 July 2004 05:10 pm, [EMAIL PROTECTED] wrote: Aloha I had previously started a thread with this problem and although I received several suggestions the problem was never solved. http://lists.freebsd.org/pipermail/freebsd-questions/2004-June/050819.html Below I have included more information. If I change an 8MB card for another 8MB card everything works as it should. If I try a different size card it fails. In addition, if I boot with no card in the slot, I cannot get a slice to initiate in /dev. i.e. I will see /dev/da0 - /dev/da3. When I boot with a card in the slot I see /dev/da2s1 as seen below. This problem has been reported by others (found through google) but again there was no solution. Is there a friend that I am unaware of? I have tried various attempts with camcontrol without any good results. If I unplug and replug the USB cable both of the above problems are corrected. I don't feel that is a viable solution. My wife has WXP on her computer and it will update with the changing of a card. I really need a friend that will rescan or update the USB connection. Here are the related parts of dmesg.boot. da4 is a thumb drive and da1-3 are the 4 slots of my card reader. The SmartMedia card is in da2. GEOM: create disk da0 dp=0xc2e44050 GEOM: create disk da1 dp=0xc2dacc50 GEOM: create disk da2 dp=0xc2e47450 GEOM: create disk da3 dp=0xc2e45850 GEOM: create disk da4 dp=0xc2e45450 da4 at umass-sim1 bus 1 target 0 lun 0 da4: Generic STORAGE DEVICE 1033 Removable Direct Access SCSI-0 device da4: 1.000MB/s transfers da4: 250MB (512000 512 byte sectors: 64H 32S/T 250C) da0 at umass-sim0 bus 0 target 0 lun 0 da0: USB2.0 CardReader CF RW 0814 Removable Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present da1 at umass-sim0 bus 0 target 0 lun 1 da1: USB2.0 CardReader SD RW 0814 Removable Direct Access SCSI-0 device da1: 1.000MB/s transfers da1: Attempt to query device size failed: NOT READY, Medium not present da2 at umass-sim0 bus 0 target 0 lun 2 da2: USB2.0 CardReader SM RW 0814 Removable Direct Access SCSI-0 device da2: 1.000MB/s transfers da2: 7MB (16000 512 byte sectors: 64H 32S/T 7C) da3 at umass-sim0 bus 0 target 0 lun 3 da3: USB2.0 CardReader MS RW 0814 Removable Direct Access SCSI-0 device da3: 1.000MB/s transfers da3: Attempt to query device size failed: NOT READY, Medium not present (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): Unretryable error Opened disk da0 - 6 (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): Unretryable error Opened disk da0 - 6 (da1:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:1): CAM Status: SCSI Status Error (da1:umass-sim0:0:0:1): SCSI Status: Check Condition (da1:umass-sim0:0:0:1): NOT READY asc:3a,0 (da1:umass-sim0:0:0:1): Medium not present (da1:umass-sim0:0:0:1): Unretryable error Opened disk da1 - 6 (da1:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:1): CAM Status: SCSI Status Error (da1:umass-sim0:0:0:1): SCSI Status: Check Condition (da1:umass-sim0:0:0:1): NOT READY asc:3a,0 (da1:umass-sim0:0:0:1): Medium not present (da1:umass-sim0:0:0:1): Unretryable error Opened disk da1 - 6 (da3:umass-sim0:0:0:3): READ CAPACITY. CDB: 25 60 0 0 0 0 0 0 0 0 (da3:umass-sim0:0:0:3): CAM Status: SCSI Status Error (da3:umass-sim0:0:0:3): SCSI Status: Check Condition (da3:umass-sim0:0:0:3): NOT READY asc:3a,0 (da3:umass-sim0:0:0:3): Medium not present (da3:umass-sim0:0:0:3): Unretryable error Opened disk da3 - 6 (da3:umass-sim0:0:0:3): READ CAPACITY. CDB: 25 60 0 0 0 0 0 0 0 0 (da3:umass-sim0:0:0:3): CAM Status: SCSI Status Error (da3:umass-sim0:0:0:3): SCSI Status: Check Condition (da3:umass-sim0:0:0:3): NOT READY asc:3a,0 (da3:umass-sim0:0:0:3): Medium not present (da3:umass-sim0:0:0:3): Unretryable error Opened disk da3 - 6 %su Password: hp# ls -l /dev/da* crw-r- 1 rootoperator4, 20 Jul 19 06:19 /dev/da0 crw-r- 1 rootoperator4, 21 Jul 19 06:19 /dev/da1 crw-r- 1 rootoperator4, 22 Jul 19 06:19 /dev/da2 crw-rw 1 robert robert 4, 25 Jul 19 06:19 /dev/da2s1 crw-r- 1 rootoperator4, 23 Jul 19 06:19 /dev/da3 crw-r- 1 rootoperator4, 24 Jul 19 06:19 /dev/da4 crw-rw 1 robert robert 4, 26 Jul 19 06:19 /dev/da4s1 hp# hp# mount_msdosfs
Re: changing card in a reader (revisited)
From: Anish Mistry [EMAIL PROTECTED] Date: Monday, July 19, 2004 2:29 pm On Monday 19 July 2004 05:10 pm, [EMAIL PROTECTED] wrote: Aloha I had previously started a thread with this problem and although I received several suggestions the problem was never solved. http://lists.freebsd.org/pipermail/freebsd-questions/2004- June/050819.html Below I have included more information. If I change an 8MB card for another 8MB card everything works as it should. If I try a different size card it fails. In addition, if I boot with no card in the slot, I cannot get a slice to initiate in /dev. i.e. I will see /dev/da0 - /dev/da3. When I boot with a card in the slot I see /dev/da2s1 as seen below. This problem has been reported by others (found through google) but again there was no solution. Is there a friend that I am unaware of? I have tried various attempts with camcontrol without any good results. If I unplug and replug the USB cable both of the above problems are corrected. I don't feel that is a viable solution. My wife has WXP on her computer and it will update with the changing of a card. I really need a friend that will rescan or update the USB connection. Here are the related parts of dmesg.boot. da4 is a thumb drive and da1-3 are the 4 slots of my card reader. The SmartMedia card is in da2. GEOM: create disk da0 dp=0xc2e44050 GEOM: create disk da1 dp=0xc2dacc50 GEOM: create disk da2 dp=0xc2e47450 GEOM: create disk da3 dp=0xc2e45850 GEOM: create disk da4 dp=0xc2e45450 da4 at umass-sim1 bus 1 target 0 lun 0 da4: Generic STORAGE DEVICE 1033 Removable Direct Access SCSI- 0 device da4: 1.000MB/s transfers da4: 250MB (512000 512 byte sectors: 64H 32S/T 250C) da0 at umass-sim0 bus 0 target 0 lun 0 da0: USB2.0 CardReader CF RW 0814 Removable Direct Access SCSI- 0 device da0: 1.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present da1 at umass-sim0 bus 0 target 0 lun 1 da1: USB2.0 CardReader SD RW 0814 Removable Direct Access SCSI- 0 device da1: 1.000MB/s transfers da1: Attempt to query device size failed: NOT READY, Medium not present da2 at umass-sim0 bus 0 target 0 lun 2 da2: USB2.0 CardReader SM RW 0814 Removable Direct Access SCSI- 0 device da2: 1.000MB/s transfers da2: 7MB (16000 512 byte sectors: 64H 32S/T 7C) da3 at umass-sim0 bus 0 target 0 lun 3 da3: USB2.0 CardReader MS RW 0814 Removable Direct Access SCSI- 0 device da3: 1.000MB/s transfers da3: Attempt to query device size failed: NOT READY, Medium not present (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): Unretryable error Opened disk da0 - 6 (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): Unretryable error Opened disk da0 - 6 (da1:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:1): CAM Status: SCSI Status Error (da1:umass-sim0:0:0:1): SCSI Status: Check Condition (da1:umass-sim0:0:0:1): NOT READY asc:3a,0 (da1:umass-sim0:0:0:1): Medium not present (da1:umass-sim0:0:0:1): Unretryable error Opened disk da1 - 6 (da1:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:1): CAM Status: SCSI Status Error (da1:umass-sim0:0:0:1): SCSI Status: Check Condition (da1:umass-sim0:0:0:1): NOT READY asc:3a,0 (da1:umass-sim0:0:0:1): Medium not present (da1:umass-sim0:0:0:1): Unretryable error Opened disk da1 - 6 (da3:umass-sim0:0:0:3): READ CAPACITY. CDB: 25 60 0 0 0 0 0 0 0 0 (da3:umass-sim0:0:0:3): CAM Status: SCSI Status Error (da3:umass-sim0:0:0:3): SCSI Status: Check Condition (da3:umass-sim0:0:0:3): NOT READY asc:3a,0 (da3:umass-sim0:0:0:3): Medium not present (da3:umass-sim0:0:0:3): Unretryable error Opened disk da3 - 6 (da3:umass-sim0:0:0:3): READ CAPACITY. CDB: 25 60 0 0 0 0 0 0 0 0 (da3:umass-sim0:0:0:3): CAM Status: SCSI Status Error (da3:umass-sim0:0:0:3): SCSI Status: Check Condition (da3:umass-sim0:0:0:3): NOT READY asc:3a,0 (da3:umass-sim0:0:0:3): Medium not present (da3:umass-sim0:0:0:3): Unretryable error Opened disk da3 - 6 %su Password: hp# ls -l /dev/da* crw-r- 1 rootoperator4, 20 Jul 19 06:19 /dev/da0 crw-r- 1 rootoperator4, 21 Jul 19 06:19 /dev/da1 crw-r- 1 rootoperator4, 22 Jul 19 06:19 /dev/da2 crw-rw 1 robert robert 4, 25 Jul 19 06:19 /dev/da2s1 crw-r- 1 rootoperator4, 23 Jul 19 06:19 /dev/da3
Card reader problems (was: changing card in a reader (revisited))
Hi, Sorry to disturb, but do you get panics with your card reader? I see someone posting about such device for the first time here (except me). What kernel are you using? I have a 4-slot reader/writer too and each time I plug it in, I get a panic instantly on CURRENT. I've always thought that it is because of four devices attaching at once, but it seems to work fine for you. Martin ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: How to install a custom built world+kernel to a machine with no OS?
From: Andrew L. Gould [mailto:[EMAIL PROTECTED] On Monday 19 July 2004 03:32 pm, Darren Pilgrim wrote: [Private email redirected back to list] From: 3BSD [mailto:[EMAIL PROTECTED] On Mon, 19 Jul 2004 04:21:09 -0700, Darren Pilgrim [EMAIL PROTECTED] wrote: I have a number of machines onto which I want to install a custom-built world, kernel and set of packages, all of which have been built on another machine. The target machines presently have no OS on them and can only be booted by CD. How similar are those machines hardware wise? Because if they are really similar, you could use an imaging utility such as norton ghost to replicate one install on any number of machines, provided their hardware is similar, but if you use a Generic kernel, I'd imagine you don't even need the machines to be that similar at all. That doesn't solve the problem, though. I would still need to install the OS onto at least one machine. So are you saying that the custom world and kernel are not the system in use on the computer on which they exist? Is the build machine part of the build set? No. Assuming you've already edited the configuration files (/etc/rc.conf, /etc/fstab, etc): 1. Could you take the harddrives out of the destination computers, mount them on the source computer, and copy the system onto the hard drives? The target machines will be using UFS2. The build machine runs 4.9. 2. Couldn't you use a live cdrom distribution (Freesbie, Knoppix, BBC Linux, etc) to boot the machine, setup networking, mount the hard drive and transfer (ftp, nfs, rsync, etc) the custom system to the new computer? No version of Linux is going to have the programs or environment to run installworld. I spoke with one of the FreeSBIE people (Drizzt) and s/he said a FreeSBIE CD would have the necessary tools for installing via makeworld so that looks like a good option. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
OpenOffice on a diskless workstation
After running through a stack of little pitfalls in trying to get a diskless client running from a 5-CURRENT server I'm down to the last nasty here. Hopefully someone might be able to help out. OpenOffice apparently doesn't want to run across an NFS share unless a link_relative option is given in the exports file. http://digitaldistribution.com:8080/oocommunity/FAQs/faqinstall/faqinstall/35 Sure enough, OpenOffice simply won't run from an NFS export on my diskless client. Unless I can get this part of the equation playing this diskless client project is dead in the water for me. OpenOffice is just too critical an app. Is there some way to get a similar behavior to link_relative working? Is there a better route to take with getting OpenOffice to work across NFS? Thanks, -- Michael Collette [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Card reader problems (was: changing card in a reader (revisited))
From: Martin [EMAIL PROTECTED] Date: Monday, July 19, 2004 12:10 pm Hi, Sorry to disturb, but do you get panics with your card reader? I see someone posting about such device for the first time here (except me). What kernel are you using? I have a 4-slot reader/writer too and each time I plug it in, I get a panic instantly on CURRENT. I've always thought that it is because of four devices attaching at once, but it seems to work fine for you. Martin Aloha Martin I do not get any panics. I was running current but then I went back to 5.2.1. I had current running to try ndis but I am not where I can use that card so I went back to see if there was any difference with the card reader. Alas, they work the same way. %uname -a FreeBSD hp.hawaii.rr.com 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #0: Thu Jul 15 10:14:33 HST 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/HPLAPTOP1 i386 % Good luck Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: How to install a custom built world+kernel to a machine with no OS?
From: Sergey Zaharchenko [mailto:[EMAIL PROTECTED] On Mon, Jul 19, 2004 at 04:21:09AM -0700, Darren Pilgrim probably wrote: What do I need to us to accomplish the above? man release. Is there a way to skip the build portions of `make release` and just create the distributions and ISOs with what's already built? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[OT] Apple's contribution to OSX
Dear All, First off, apologies for this off-topic post, but I think this is the only place I'm likely to get an intelligent (and well-informed) answer to my question. I tried searching the web, but found a confusing and contradictory bunch of poorly-informed opinions, which wasn't helpful. I'm writing a news article about Apple's contribution to open source. In particular, I'm interested in finding out the following: 1) How much of FreeBSD did Apple actually use in OSX? If I'm not mistaken, the Darwin kernel is not related to FreeBSD in any way (or is that wrong?). Basically, what exactly did Apple gain from FreeBSD? 2) What exactly has Apple contributed back to FreeBSD? (money? equipment? source code?). Nowadays, does Apple still continue to give anything back to the FreeBSD community? 3) How much of OSX today is open source (or shared source)? Can you actually see the OSX source code? Can you use any of it? Because this is off-topic, it might be better if people responded directly to my email address rather than this forum. I can be reached at [EMAIL PROTECTED] I know that I could ask these questions on an OSX forum, but then I'd probably receive 1000 replies from people telling me that OSX is the greatest thing since sliced bread - which, even if true, has nothing to do with the article I'm writing. And yes, I'm running FreeBSD (and Linux) at home, not OSX, but that also has nothing to do with the article. I appreciate any help I can get on this, and as always I'm happy to acknowledge anyone by name in the article for their assistance. thanks in advance and best regards, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [OT] Apple's contribution to OSX
On Tue, 20 Jul 2004 09:56:50 -0400 Robert Storey [EMAIL PROTECTED] wrote: Dear All, First off, apologies for this off-topic post, but I think this is the only place I'm likely to get an intelligent (and well-informed) answer to my question. I tried searching the web, but found a confusing and contradictory bunch of poorly-informed opinions, which wasn't helpful. I'm writing a news article about Apple's contribution to open source. [ ... ] Your questions or at least part of them has been discussed recently on chat@ and advocacy@ Because this is off-topic, it might be better if people responded directly to my email address rather than this forum. Why didn't you use chat@, then ? -- IOnut Unregistered ;) FreeBSD user ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [OT] Apple's contribution to OSX
Robert, OSX is the greatest thing since sliced bread ... now that that is out of the way. to question (3): try http://developer.apple.com/darwin/ http://www.opensource.apple.com/darwinsource/10.3/ it uses a lot of FSF, FreeBSD, etc. just check the header files. gcc is a GNU licensed product (mac os x/darwin is built with the gcc compiler). I *think* the Apple compiler group is trying to fold all their code back into the gcc main stream version. Don't know about (2). thanks!- -lance Lance Bland mailto:[EMAIL PROTECTED] VVI 888-VVI-PLOT http://www.vvi.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
2nd try - new rc script won't start on boot
I've written a very simple rc script, using the new method, and the script works fine (start|stop|restart|rcvar|status|poll|) except for one thing. It won't start the daemon when the server is rebooted. I'm wondering if anyone might be able to help me. Here's the details 1) FreeBSD 4.8 RELEASE, 450 MHz processor, 128 MB ram 2) rc script permissions: ls -lsa /usr/local/etc/rc.d/extractor.sh 2 -rwxr-x--- 1 root wheel 1154 Jul 17 01:07 /usr/local/etc/rc.d/extractor.sh 3) rc script: head /usr/local/etc/rc.d/extractor.sh #!/bin/sh # $Id$ # PROVIDE: extractor # BEFORE: LOGIN # KEYWORD: FreeBSD . /usr/local/etc/rc.subr name=extractor rcvar=`set_rcvar` command=/usr/local/bin/${name} load_rc_config $name run_rc_command $1 4) rc script enabled? bash-2.05b# /usr/local/etc/rc.d/extractor.sh rcvar # extractor $extractor_enable=YES As you can see, the script is enabled in /etc/rc.conf. But it absolutely won't start. There are no error messages in /var/log/messages or in the daelmon's log, and the daemon doesn't allow me to set a verbose or debug mode that would give me more information. I've written a small cron script to make sure the daemon stays running, and I'm using that now to start the daemon after rebooting, but obviously I'd prefer to do it the right way. Here's the cron script: #!/bin/sh /usr/local/etc/rc.d/extractor.sh status test1 sed -e 's/\.//g' test1 test2 PID=`awk '/extractor/ {print $6}' test2` if [ $PID 0 ]; then exit 0 else echo Extractor was not running. /usr/local/etc/rc.d/extractor.sh start fi This works to start the daemon after a reboot (and if it should ever stop running, but I'd prefer to have it start up properly. Anyone have any ideas what might be causing this? This is the first script I've ever written using the rc.subr system, so it could be something very simple that I missed in the docs. Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer The University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Missing 30 Gig in -Current after cross-install
I have an 8Gig drive and a 30Gig drive on my PC. the 8Gig drive is known as /dev/ad2* the 30Gig drive is known as /dev/ad0* I've been running 4.9 STABLE since December on ad0, and I have been using ad2 for SWAP and TMP and other crap. Today I ran fdisk,disklabel, and newfs on ad2 and successfully completed the installation process to upgrade to 5.0-CURRENT. However, when I booted into -CURRENT, ad0 did not appear in /dev. The boot manager properly offers the option to boot from ad0 or ad2, and FreeBSD properly boots on either drive - -STABLE boots on ad0 and -CURRENT boots on ad2. When I boot into -STABLE I can still mount slices from ad2 as before, but I *cannot* mount slices from ad0 when I boot into -CURRENT. I first tried to auto-mount ad0 slices in -CURRENT by including them in /etc/fstab. When that failed I commented those entries out and rebooted and then tried to manually mount a slice from ad0 ... to no avail. ls -al /dev | grep ad0 reveals that there are no entries for ad0*. Furthermore, there are no entries in the new /dev which resemble a disk device other than those for ad2. What is I'm gonna do? Thanks for your attention, Lane ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
fortune database
Hi, I created a new fortune database containing 12259 german epigrams/adages (Deutsche Sprichwoerter). It is based on the collection of Karl Simmrock Die deutschen Sprichwoerter. Because I do not know where to put it else so you can get the tar archieve from: http://www.oliverfuchs.onlinehome.de/alterna1/simmrock.tar.gz Thanx Oliver -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fortune database
On Tue, Jul 20, 2004 at 06:19:43AM +0200, Oliver Fuchs wrote: Hi, I created a new fortune database containing 12259 german epigrams/adages (Deutsche Sprichwoerter). It is based on the collection of Karl Simmrock Die deutschen Sprichwoerter. Because I do not know where to put it else so you can get the tar archieve from: http://www.oliverfuchs.onlinehome.de/alterna1/simmrock.tar.gz There are a couple of ports that install new fortune databases. See /usr/ports/games/fortune-* and the Porter's Handbook for more. Kris pgpzomh205gu6.pgp Description: PGP signature