Re: Newbie questions (updating, ports, etc.)
Thanks to all for your detailed and informative replies to my questions. I have many new things to try out. I can't speak for anyone else, but long posts don't bother me. I hope we've clarified things for you. Welcome to FreeBSD! Thanks. Its good to be here! -Richard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Newbie questions (updating, ports, etc.)
I recently installed FreeBSD 8.0-RELEASE on my home desktop and am considering making the switch from Debian GNU/Linux. I have a few questions which I am hoping the list can clarify for me. 1.) Keeping installed ports/packages up to date. As far as I can tell from the docs, perhaps the most convenient method is to use something like: # portsnap fetch update # pkgdb -F # portupgrade --batch -aP (do I need an R here?) which should first try to find a package from the repositories and failing that will fall back to a port. What is the current wisdom here? Is it safe to use the --batch switch? As far as I understand, this will use the configuration defaults and not prompt the user whenever a port requires some user (options) configuration. Is this interpretation correct? Otherwise, is there a way to get portupgrade to use the defaults non-interactively, to automate the process. Related to the above, are the default options that appear in the ncurses dialogues the same as those used in the building of packages? 2.) Evolution of ports (and packages) versus evolution of the base system. Reading the docs makes it clear that FreeBSD maintains is a rigorous distinction between the base system and add-on packages (ports). This is very appealing. However, as far as I can tell so far, even though my base system is 8.0 -RELEASE (and remains fixed between releases?), the ports continuously evolve (are updated). Is my understanding correct that by tracking a RELEASE system I can have bleeding edge (or close) versions of ports? Or, do I need to track STABLE of CURRENT for that? 3.) Upgrading ports seems to take considerable time (at least with my experiments on a 5 year old Pentium IV). I am keen to adopt FreeBSD as my desktop for work (Physics Professor, Research and teaching). Is it feasible in a work environment to upgrade ports without getting bogged down in a compile-a-thon, leaving one with a useless workstation. (My target machine will be an 8-core HP z600 (Xeon) which leads me to believe that I could do the upgrading in the background while I continue to work uninterrupted. I'd like to hear others experiences here.) Sorry for the long post, but I could not find clarification on the above in the Handbook and other sources I've read. -Richard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Newbie questions (updating, ports, etc.)
On Thu, Dec 3, 2009 at 3:13 AM, Richard Mace mac...@telkomsa.net wrote: I recently installed FreeBSD 8.0-RELEASE on my home desktop and am considering making the switch from Debian GNU/Linux. I have a few questions which I am hoping the list can clarify for me. 1.) Keeping installed ports/packages up to date. As far as I can tell from the docs, perhaps the most convenient method is to use something like: # portsnap fetch update # pkgdb -F # portupgrade --batch -aP (do I need an R here?) which should first try to find a package from the repositories and failing that will fall back to a port. What is the current wisdom here? Is it safe to use the --batch switch? As far as I understand, this will use the configuration defaults and not prompt the user whenever a port requires some user (options) configuration. Is this interpretation correct? Otherwise, is there a way to get portupgrade to use the defaults non-interactively, to automate the process. Related to the above, are the default options that appear in the ncurses dialogues the same as those used in the building of packages? You method should work fine except you don't need the pkgdb -F step. Normally i use portmaster -dga to do this which will basically ask on new config entries and allow you to preset them before compiling starts. It's much quicker IME than portupgrade. portupgrade also has a preconfigure flag but I don't remember it offhand. portupgrade also is slower due to it's db backend and ruby parsing but it's still a great utility and I use it when something breaks portmaster. 2.) Evolution of ports (and packages) versus evolution of the base system. Reading the docs makes it clear that FreeBSD maintains is a rigorous distinction between the base system and add-on packages (ports). This is very appealing. However, as far as I can tell so far, even though my base system is 8.0 -RELEASE (and remains fixed between releases?), the ports continuously evolve (are updated). Is my understanding correct that by tracking a RELEASE system I can have bleeding edge (or close) versions of ports? Or, do I need to track STABLE of CURRENT for that? Yes, your understanding is correct. that's what portsnap fetch update will do for you. 3.) Upgrading ports seems to take considerable time (at least with my experiments on a 5 year old Pentium IV). I am keen to adopt FreeBSD as my desktop for work (Physics Professor, Research and teaching). Is it feasible in a work environment to upgrade ports without getting bogged down in a compile-a-thon, leaving one with a useless workstation. (My target machine will be an 8-core HP z600 (Xeon) which leads me to believe that I could do the upgrading in the background while I continue to work uninterrupted. I'd like to hear others experiences here.) If you're going to run with ports, you'll be spending more time than simply packages alone. There are things to make it easier though. First and foremost is make a backup of packages you create in case something goes wrong. Then you have a choice of frequent updates of ports tree or intermittent style. If you update all installed ports say on a weekly basis, each update run is generally not too intensive. If you take 10 minutes out you're day to preconfig, read UPDATING, and start the compile you should generally be done. However sometimes things break either during the compile or later in use. Sometimes resolving those eat up time and backup package can be of help there. If you update less frequently eg monthly, be prepared for longer upgrade times, more problems at once and with a longer stable time in between. -- Adam Vande More ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Newbie questions (updating, ports, etc.)
On Thu, 3 Dec 2009, Richard Mace wrote: I recently installed FreeBSD 8.0-RELEASE on my home desktop and am considering making the switch from Debian GNU/Linux. I have a few questions which I am hoping the list can clarify for me. 1.) Keeping installed ports/packages up to date. As far as I can tell from the docs, perhaps the most convenient method is to use something like: # portsnap fetch update # pkgdb -F Really should check /usr/ports/UPDATING at this step. There are upgrades which will bite you otherwise. # portupgrade --batch -aP (do I need an R here?) which should first try to find a package from the repositories and failing that will fall back to a port. What is the current wisdom here? Packages are quick to install but can't be customized. Building from source takes longer but lets you set CPUTYPE for compiler optimization and build with the specific options you want. On slow machines or for getting going quickly, packages are great. As far as batch or even -a, I update the ports tree often and prefer to manually upgrade ports as needed, usually with portupgrade -r. A lot of people seem to like -R; maybe I have the dependencies backwards. But I rarely have trouble, either. I use csup, then portsdb -Fu, then portversion -vL= to show what needs updating. 2.) Evolution of ports (and packages) versus evolution of the base system. Reading the docs makes it clear that FreeBSD maintains is a rigorous distinction between the base system and add-on packages (ports). This is very appealing. However, as far as I can tell so far, even though my base system is 8.0 -RELEASE (and remains fixed between releases?), the ports continuously evolve (are updated). Is my understanding correct that by tracking a RELEASE system I can have bleeding edge (or close) versions of ports? Or, do I need to track STABLE of CURRENT for that? Since ports are in a separate tree than the FreeBSD operating system source, you can keep ports current regardless of which version of the operating system. So stick with 8.0 or go to 8-STABLE and it's no problem. 9-CURRENT is bleeding edge, where things can break with no warning. And you'd need to rebuild all of your ports if you switched to it, since they were built on 8. But you could still get the newest ports. 3.) Upgrading ports seems to take considerable time (at least with my experiments on a 5 year old Pentium IV). I am keen to adopt FreeBSD as my desktop for work (Physics Professor, Research and teaching). Is it feasible in a work environment to upgrade ports without getting bogged down in a compile-a-thon, leaving one with a useless workstation. (My target machine will be an 8-core HP z600 (Xeon) which leads me to believe that I could do the upgrading in the background while I continue to work uninterrupted. I'd like to hear others experiences here.) I'd think background ports building on that kind of system would be no problem at all. The only thing that really slows down this Core 2 Duo system is building something big (openoffice), and that seems to be more due to swapping or disk contention than CPU time. -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Newbie questions (updating, ports, etc.)
2009/12/3 Richard Mace mac...@telkomsa.net: 1.) Keeping installed ports/packages up to date. As far as I can tell from the docs, perhaps the most convenient method is to use something like: # portsnap fetch update # pkgdb -F # portupgrade --batch -aP (do I need an R here?) I don't see any reason to upgrade all installed ports on daily or weekly basis. In most cases you'll get nothing as the result of updating some port version 2.16.134 to new version 2.16.135 but lost time. which should first try to find a package from the repositories and failing that will fall back to a port. What is the current wisdom here? Yes, it's right. Is it safe to use the --batch switch? As far as I understand, this will use the configuration defaults and not prompt the user whenever a port requires some user (options) configuration. Is this interpretation correct? If the package is in use, there will no prompt. While building a port, configuration in which this port was built last time is used. If there is no such configuration, then port builds with default options. Related to the above, are the default options that appear in the ncurses dialogues the same as those used in the building of packages? It's really intresting. 3.) Upgrading ports seems to take considerable time (at least with my experiments on a 5 year old Pentium IV). I am keen to adopt FreeBSD as my desktop for work (Physics Professor, Research and teaching). Is it feasible in a work environment to upgrade ports without getting bogged down in a compile-a-thon, leaving one with a useless workstation. (My target machine will be an 8-core HP z600 (Xeon) which leads me to believe that I could do the upgrading in the background while I continue to work uninterrupted. I'd like to hear others experiences here.) Try to use something like nice portupgrade -a. Read man nice. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Newbie questions (updating, ports, etc.)
S4mmael wrote: 2009/12/3 Richard Mace mac...@telkomsa.net: 1.) Keeping installed ports/packages up to date. As far as I can tell from the docs, perhaps the most convenient method is to use something like: # portsnap fetch update # pkgdb -F # portupgrade --batch -aP (do I need an R here?) I don't see any reason to upgrade all installed ports on daily or weekly basis. In most cases you'll get nothing as the result of updating some port version 2.16.134 to new version 2.16.135 but lost time. There are probably as many approaches to this as there are users. I update very regularly. I find it worse to have a long list of updates required that to dedicate a little time every day or so to updating. And I use... cd /usr/ports make update portmaster -aD portmaster --clean-distfiles which should first try to find a package from the repositories and failing that will fall back to a port. What is the current wisdom here? Yes, it's right. Given the machine you are targeting initially packages will probably be fine. I use ports because I have a non-typical processor. Is it safe to use the --batch switch? As far as I understand, this will use the configuration defaults and not prompt the user whenever a port requires some user (options) configuration. Is this interpretation correct? If the package is in use, there will no prompt. While building a port, configuration in which this port was built last time is used. If there is no such configuration, then port builds with default options. I don't use --batch. I want to use the last configuration unless there are new options, then I want to be asked. I do use the -D option so that it does not ask me what to do with the dist files after each new update. Then I clean the distfiles at the end. Related to the above, are the default options that appear in the ncurses dialogues the same as those used in the building of packages? It's really intresting. 3.) Upgrading ports seems to take considerable time (at least with my experiments on a 5 year old Pentium IV). I am keen to adopt FreeBSD as my desktop for work (Physics Professor, Research and teaching). Is it feasible in a work environment to upgrade ports without getting bogged down in a compile-a-thon, leaving one with a useless workstation. (My target machine will be an 8-core HP z600 (Xeon) which leads me to believe that I could do the upgrading in the background while I continue to work uninterrupted. I'd like to hear others experiences here.) Try to use something like nice portupgrade -a. Read man nice. nice is probably the right answer here. Although given what you have said about your current machine I am not sure you will want/need to be bleeding edge. It may be best in that case to get it configured and leave it unless there is a security concern. When you get your new machine it will not be a factor so I would go with checking for fresh ports everyday or week. Also you will probably be able to take full advantage of the new target hardware by compiling from source. Colin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Newbie questions (updating, ports, etc.)
On Thu 03 Dec 2009 at 01:13:39 PST Richard Mace wrote: I recently installed FreeBSD 8.0-RELEASE on my home desktop and am considering making the switch from Debian GNU/Linux. I have a few questions which I am hoping the list can clarify for me. 1.) Keeping installed ports/packages up to date. As far as I can tell from the docs, perhaps the most convenient method is to use something like: # portsnap fetch update # pkgdb -F # portupgrade --batch -aP (do I need an R here?) which should first try to find a package from the repositories and failing that will fall back to a port. What is the current wisdom here? As others have said, there are almost as many approaches to this as there are users. The approach I've been using is: portsnap fetch update followed by portversion -vL= to see which of my installed ports needs updating. If there are many of them, I'll use portupgrade -ar to update them all in one fell swoop. But if there are just or two, or if I know that some of them (like OpenOffice or KDE) are going to take a long time to build, I'll specify the individual ports I want updated: portupgrade -r port1 port2 port3 ... I don't usually install packages, because I want to optimize the builds a little. On an i386-class machine, the compiler defaults to using the lowest common denominator instruction set, i.e., it doesn't use instructions introduced by later versions of the microprocessor. My machine is an old Pentium3, and I'm trying to squeeze as much performance out of it as possible. So I have the following in /etc/make.conf and always compile ports from source: CPUTYPE?=pentium3 Lately I've been looking at portmaster as a replacement for portupgrade, because it's so often recommended on this list. Is it safe to use the --batch switch? As far as I understand, this will use the configuration defaults and not prompt the user whenever a port requires some user (options) configuration. Is this interpretation correct? Otherwise, is there a way to get portupgrade to use the defaults non-interactively, to automate the process. I recently asked about this myself, while planning to do a complete reinstall of all my ports following an upgrade to FreeBSD 8.0. The --batch switch is quite safe, and your understanding is correct. But you might find that your needs are better met by doing a preconfigure, that is, by answering the config dialogs for all of the updating ports before proceeding to the actual build of any of them. portmaster does this by default, and portupgrade has the --config switch. Related to the above, are the default options that appear in the ncurses dialogues the same as those used in the building of packages? I would assume so, yes. 2.) Evolution of ports (and packages) versus evolution of the base system. Reading the docs makes it clear that FreeBSD maintains is a rigorous distinction between the base system and add-on packages (ports). This is very appealing. However, as far as I can tell so far, even though my base system is 8.0 -RELEASE (and remains fixed between releases?), the ports continuously evolve (are updated). Is my understanding correct that by tracking a RELEASE system I can have bleeding edge (or close) versions of ports? Or, do I need to track STABLE of CURRENT for that? The correct answer is Any of the above. The base system and the ports system are independent of each other, and evolve separately. This means you can combine any version of the portstree with any version of the base system -- within reason, of course. The base system guarantees that its APIs will not be changed except when its major version changes; this is why, for example, all ports need to be recompiled when going from FreeBSD 7.x to 8.0. Otherwise, changes in the base system do no affect the ports, and you can track RELEASE, STABLE or CURRENT as you prefer, while updating ports as ofen as you like. 3.) Upgrading ports seems to take considerable time (at least with my experiments on a 5 year old Pentium IV). I am keen to adopt FreeBSD as my desktop for work (Physics Professor, Research and teaching). Is it feasible in a work environment to upgrade ports without getting bogged down in a compile-a-thon, leaving one with a useless workstation. (My target machine will be an 8-core HP z600 (Xeon) which leads me to believe that I could do the upgrading in the background while I continue to work uninterrupted. I'd like to hear others experiences here.) As you can see above, my machine is an even older Pentium3. ;-) Compiling is what it is, and unless you're willing to accept the shortcomings of packages, is a price that has to be paid. I've found that the best way to avoid a compile-a-thon is to spread the work out, by updating my ports on a daily basis. (As someone else pointed out, you do NOT need to recompile each and every port every time! Just the ones that are out of date.) But I should also point out that FreeBSD, like most Unix
Re: Newbie questions (updating, ports, etc.)
On Thu 03 Dec 2009 at 07:32:33 PST Warren Block wrote: As far as batch or even -a, I update the ports tree often and prefer to manually upgrade ports as needed, usually with portupgrade -r. A lot of people seem to like -R; maybe I have the dependencies backwards. Since this is a newbie thread, perhaps we should clarify this point. portupgrade -r portA upgrades portA and any other installed ports which depend on it. For example, if portA installs a shared library that portB uses, both portA and portB will be upgrade by this command. portupgrade -R portA upgrades portA and any other ports on which portA depends. For example, if portA uses gtk+, this command will compile both portA and gtk+, along with all the other libraries and whatnot that underpin gtk+. In other words, it rebuilds portA from the ground up -- starting from the absolute bare ground. If the changes in portA did not introduce any binary incompatibilities, portupgrade -r is probably unnecessary. The problem is knowing ahead of time whether there are any such incompatibilities. So many people habitually use -r as a precautionary measure. As far as I can see, the only reason to use -R is when you're having some problem with portA and you suspect that the underlying libraries and whatnot have gotten out of sync. Rebuilding the whole chain from scratch is sometimes the only way to restore sanity to the system. (Or maybe it's just that you have nothing else to do on a rainy weekend.) -- Charlie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Newbie questions about updating
Hi, let me give some very basic answers. cothrige wrote: ports system is completely separate from the OS itself, and that these Applications have nothing to do with the operating system. In theory at least. Practically it is more limited. can be upgraded or updated separately. From what I can see this seems Yes, as long as the port tree still supports the OS. A strange example: FreeBSD 1.0 is not supported anymore with the current port tree. to most often involve CVSup, and I have been operating under the Yes. assumption that one must run two cvsup operations with two separate supfiles to update both the core OS and the ports. Am I understanding this correctly? It seems for me to be the best choice. Assuming I am, my main confusion concerns just how these two systems actually interact and relate to each other, and whether there are any They do not interact. The operating system provides the base for the applications. As long as base and application fit together, it all simply works. requirements connecting updating each of them together? For instance, There is no requirement. Upgrading the operating system should be done if there are bug fixes provides or if you want to switch to a newer version. I have downloaded the FreeBSD 6.2 install discs and have finished the Just stick with 6.2 for the moment. basic installation and setup. Now at some point if I wish to update the ports does that mean I have to update the OS to a particular No problem. level? If I don't want to run stable and use tag=RELENG_6_2 will I be required to keep the ports as they have installed from the disc? Is there any connection between how current the ports are and how current the OS is? Wait, you do not install ports from the disc, you install packages from the disc. This is a small difference. Ports are source based, packages are binaries. One of the things which caused me to wonder about this was that some time back I tried FreeBSD out for a while and ran into some oddities concerning the ports system. When I first finished setting things up I could install packages using pkg_add -r, but noticed that after updating the ports I could no longer do that. That struck me as odd, Updating the ports tree means actually switching to ports but you still can use packages via portupgrade. and because of it I always had a suspicion that I had broken the system with my out of whack updates (I did not move up to stable at that time) but I just never could really find out if that were so. Never forget, the ports tree is a live object. It can happen that you upgrade now and find a ruined system, then upgrade a minute later and the system is fine again. One last newb question is concerning cvsup itself. In reference to ports is there a difference, in the end, between this and portsnap? There should be no difference at the final end. Erich ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Newbie questions about updating
On Friday 07 September 2007, Lars Eighner wrote: 2. Install cvsup from a package or the ports, but do not install any other ports. Isn't csup, a functional and faster equivalent to cvsup part of the base system now? -- Dave ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Newbie questions about updating
Predrag Punosevac wrote: I am not sure. I know that portsnap is the part of base package. dgmm wrote: On Friday 07 September 2007, Lars Eighner wrote: 2. Install cvsup from a package or the ports, but do not install any other ports. Isn't csup, a functional and faster equivalent to cvsup part of the base system now? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] It is actually. No need whatsoever to install cvsup now, just use csup ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Newbie questions about updating
Lars Eighner writes: assumption that one must run two cvsup operations with two separate supfiles to update both the core OS and the ports. Am I understanding this correctly? [deletia] Many people do it it two operations because they really are two different things. Another reason is to (theoretically) limit possible damage is things Go Horribly Wrong and make the post-mortem easier. I have a cron job that updates the base OS, the docs (a separate entity), and the ports every night at midnight. Once it connects, the update take less than five minutes. (Except for rare occasions.) Aside from bugs introduced by my attempts to improve the script, this has run without porblem for years. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Newbie questions about updating
Hi, I can't answer all your questions, but will take a shot at a couple. You should check out the handbook at: http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/ports.html and http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/porters-handbook/ For more complete information. On Fri, Sep 07, 2007 at 12:35:39AM -0500, cothrige wrote: I know this is going to be a very dumb question, but I just can't seem to get my mind around exactly what is involved and what I should do regarding this issue. I understand from reading the handbook that the ports system is completely separate from the OS itself, and that these can be upgraded or updated separately. From what I can see this seems to most often involve CVSup, and I have been operating under the assumption that one must run two cvsup operations with two separate supfiles to update both the core OS and the ports. Am I understanding this correctly? No, not quite. They are two separate things, but can be run from the same supfile in the same csup run.By the way, cvsup has been replaced by csup which is now in the base system from about 6.2 on. or maybe it was 6.1. Here is the relevant part of my supfile: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- # *default host=cvsup.FreeBSD.org *default base=/var/db *default prefix=/usr *default tag=RELENG_6_2 *default release=cvs *default delete use-rel-suffix *default compress ## Main Source Tree. # The easiest way to get the main source tree is to use the src-all # mega-collection. It includes all of the individual src-* collections. src-all ports-all tag=. doc-all tag=. -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- This gets 6.2 OS and the latest ports and docs. You could put tag=RELENG_6 and get the latest OS updates for 6.xx (but not the latest over all) included. Assuming I am, my main confusion concerns just how these two systems actually interact and relate to each other, and whether there are any requirements connecting updating each of them together? For instance, I have downloaded the FreeBSD 6.2 install discs and have finished the basic installation and setup. Now at some point if I wish to update the ports does that mean I have to update the OS to a particular level? If I don't want to run stable and use tag=RELENG_6_2 will I be required to keep the ports as they have installed from the disc? Is there any connection between how current the ports are and how current the OS is? They do interact and there can be problems. The OS has versions. The ports tree does not. It is just the latest that has been supplied by the port maintainer. As the OS gets older, it becomes more likely that a giver port is too new for it and may not build or run on it. It can happen the other way around too - the OS is too new for the present condition of the port. But, there is an attempt to keep this from happening. When the head of an OS branch is getting to the point of making a new RELEASE, then a freeze is put on code in the OS thus making a temporary non-moving target to build all the system plus the ports against. It is generally up to the port maintainers to make sure their port[s] can build to that frozen image. When all seems to build, run and test together then a RELEASE is made. Then the branch is unfrozen and changes start coming in again - both to the base OS and to the ports. In general, the OS versions are managed so that anything that will run in one version of a main branch will run in another. eg, if it will run in 6.1, it should run in 6.2 and 6.3. But it may well not work in 7.xx because os some non-compatible change introduced in the new major branch level. That is the main part of the decision to create a new main branch and what usually determines whether some change will be introduced in a lower branch or reserved for a higher branch. But, again, the ports are not limited to a version so in some cases, especially when signiicant time has elapsed, a port may not build or run on some version. You may need to go back and get a legacy version of the port to make it run, or note the changes and tinker. In practice, though, it usually works well to keep your OS and ports up to date. Developers and maintainers try to make things work and to keep them compatible as far as possible. jerry One of the things which caused me to wonder about this was that some time back I tried FreeBSD out for a while and ran into some oddities concerning the ports system. When I first finished setting things up I could install packages using pkg_add -r, but noticed that after updating the ports I could no longer do that. That struck me as odd, and because of it I always had a suspicion that I had broken the system with my out of whack updates (I did not move up to stable at that time) but I just never could really find out if that were so. One
Re: Newbie questions about updating
On 9/7/07, Lars Eighner [EMAIL PROTECTED] wrote: On Fri, 7 Sep 2007, cothrige wrote: assumption that one must run two cvsup operations with two separate supfiles to update both the core OS and the ports. Am I understanding this correctly? No. It is not must. You can update your source and your ports tree with one supfile. You can add the line [snip] Many people do it it two operations because they really are two different things. Okay, that seems to confirm my basic understanding then. I must readily admit that the overall application is a bit above me at this point (it is certainly more complicated than the aptitude update and aptitude upgrade that I am used to.). At least though I appear to be on the right track about how the two are different entities in some manner. There is no necessary, hard and fast, connection between the two. If your ports tree gets very, very stale, it will largely cease to work because many (some) of the source files will disappear or their dependencies will disappear or change. Okay, this makes sense to me. General, upgrading the OS is a good idea about six months after the second release of a major version number (i.e. when 7.2 or 7.3 is a release and is about six-months old). So, you would say that there is no pressing need to update the OS yet? If I don't want to run stable and use tag=RELENG_6_2 will I be required to keep the ports as they have installed from the disc? No. In fact you shouldn't. (But as mentioned above, never use any tag with ports except ..) Of course there are two different things here that you might be confusing. The ports tree, which is a skeleton for building applications from scratch, and packages, which are pre-built binaries for applications. Yes, I think I am probably confusing them at least to a degree. Probably that is because it just seems logical that the packages would match what is in the ports tree and it is hard for me to imagine it may not be the case. If my ports tree has a particular version of an app in it, say mplayer-1.0.7 wouldn't the package available be the same? I also wonder about this because portupgrade, which is obviously for ports, does have the option for using packages. It does make me wonder, how does pkg_add or portupgrade know which versions of which packages to retrieve, as opposed to using the port to know which version of the port to install? Does that make sense? I feel like I am being very awkward in my wording, and I apologize for not being more clear in it. Here's the best way to install 6.2 starting with the CD release (assuming you have internet connectivity which I guess you do since you mailed to this list). 1. Install 6.2 including source, but do not install Xorg. [snip] 6. Install Xorg (and other applications you may want) from the ports tree. Very good to know. Unfortunately, I did not use this way to get started, but next time I will certainly follow your suggestions as even now I can see how they would help. Installing X from the disc was not the best choice, but being used to Linux installers it seemed logical at the time. As did installing the ports tree. [snip] The main object is to keep the ports in synch with other ports. There are just a few ports that do things (like build loadable kernel modules) which just won't work if they are too out of synch with the operating system, but these are few and far between. I think I understand. So, I can update the ports x number of times per a given period of time, but I don't have to update the OS as often. They are not so intimately connected that I have to keep them in sync somehow with one another, and therefore updating them at different rates will not cause breakage, am I right? When I first finished setting things up I could install packages using pkg_add -r, but noticed that after updating the ports I could no longer do that More than likely the packages were broken. Often the available packages are way out of date or do not exist (because of licensing restrictions or no one got around to building them). Packages depend to much greater extent on the OS release. Very interesting. But, could that really explain a 100% failure rate? In my previous experience with FreeBSD I became convinced that I had broken things badly since after updating I was unable to use even one package. I mean, no big deal in itself, and if the system had no package options I would have no real complaint. But, it just seemed broken as it was, and so I was convinced that I had done something wrong. Portsnap is a different system from cvsup. They should get approximately the same tree (not exactly the same because the ports tree changes so rapidly). Portsnap is usually run automatically (as a cron job) every few days, or oftener if you are really complusive. It is said to save bandwidth if used this way, so if you are administering a large system, it probably pays off. If this
Re: Newbie questions about updating
That is the correct but I prefer to use portsnap for ports and keep cvsup just for core OS! Robert Huff wrote: Lars Eighner writes: assumption that one must run two cvsup operations with two separate supfiles to update both the core OS and the ports. Am I understanding this correctly? [deletia] Many people do it it two operations because they really are two different things. Another reason is to (theoretically) limit possible damage is things Go Horribly Wrong and make the post-mortem easier. I have a cron job that updates the base OS, the docs (a separate entity), and the ports every night at midnight. Once it connects, the update take less than five minutes. (Except for rare occasions.) Aside from bugs introduced by my attempts to improve the script, this has run without porblem for years. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Newbie questions about updating
cothrige [EMAIL PROTECTED] writes: Sorry. What I really had in mind was the ports tree itself, which I had an option during install to add. BTW, I answered yes to this and so had that which was on the 6.2 install disc. Based on the other responses, it is looking like perhaps that is not the best method, and maybe I should have skipped that and then added the ports after the install using cvsup or such. This is certainly a good thing to know for the future, though as of right now I am dealing with the disc install method. That works fine, but to save yourself a bit of annoyance later, see the cvsup FAQ for how to adopt that ports tree before trying to update it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Newbie questions about updating
On Fri, 7 Sep 2007 12:16:32 -0400 Jerry McAllister [EMAIL PROTECTED] wrote: In general, the OS versions are managed so that anything that will run in one version of a main branch will run in another. eg, if it will run in 6.1, it should run in 6.2 and 6.3. But it may well not work in 7.xx because os some non-compatible change introduced in the new major branch level. Generally packages built on an older version of the OS will run on a newer version. When one upgrades to 7x there will be a compat6x port to supply the missing libraries. It's normally not essential to upgrade ports after an OS upgrade, but it is advisable on a major upgrade. Problems are more likely to occur the other way around, there are currently 6-stable packages the wont run on 6.2 because new libraries have been ported into 6-stable. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Newbie questions about updating
I am not sure. I know that portsnap is the part of base package. dgmm wrote: On Friday 07 September 2007, Lars Eighner wrote: 2. Install cvsup from a package or the ports, but do not install any other ports. Isn't csup, a functional and faster equivalent to cvsup part of the base system now? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Newbie questions about updating
On Fri, 7 Sep 2007, cothrige wrote: assumption that one must run two cvsup operations with two separate supfiles to update both the core OS and the ports. Am I understanding this correctly? No. It is not must. You can update your source and your ports tree with one supfile. You can add the line ports-all tag=. to either the standard or the stable supfile. The tag=. part is vitally important, because otherwise the tag from the system update will fall through (being right now either RELENG_6 (for stable) or RELENG_6_2 (for standard) and your whole ports tree will be deleted (because ports do not have a tag and so there are not any that match either of the other tags). If you do this once, you will forever be prejudiced against doing it in one operation. Many people do it it two operations because they really are two different things. Assuming I am, my main confusion concerns just how these two systems actually interact and relate to each other, and whether there are any requirements connecting updating each of them together? There is no necessary, hard and fast, connection between the two. If your ports tree gets very, very stale, it will largely cease to work because many (some) of the source files will disappear or their dependencies will disappear or change. Many of the applications in the ports were not written to work specifically on FreeBSD by FreeBSD developers, but were written variously to work on any generally sort-of-Unix-like system, any system with a C++ compiler and so forth. Theoretically ports in a very old tree should build (FreeBSD keeps many old distribution files as a last resort), but as a practical matter, many won't. Occasionally there is a change in the operating system that breaks some old ports, often because the person who wrote the port was sloppy and took things for granted, but those things changed. For instance, I have downloaded the FreeBSD 6.2 install discs and have finished the basic installation and setup. Now at some point if I wish to update the ports does that mean I have to update the OS to a particular level? No. There certainly is no fixed point at which ports will become useless. But someday 6,2 will no longer be supported (like years from now). 6.2 will still run on the machine you have got, and the ports you have installed will still run on it, but much of the then current port tree will deal with hardware you don't have and so forth. When the Donovan's Brain Interface is invented 6.2 won't support it and you will want it because it is easier to think than to find your mouse (although I can think of an operating system that is designed for people who have it the other way around). General, upgrading the OS is a good idea about six months after the second release of a major version number (i.e. when 7.2 or 7.3 is a release and is about six-months old). If I don't want to run stable and use tag=RELENG_6_2 will I be required to keep the ports as they have installed from the disc? No. In fact you shouldn't. (But as mentioned above, never use any tag with ports except ..) Of course there are two different things here that you might be confusing. The ports tree, which is a skeleton for building applications from scratch, and packages, which are pre-built binaries for applications. Here's the best way to install 6.2 starting with the CD release (assuming you have internet connectivity which I guess you do since you mailed to this list). 1. Install 6.2 including source, but do not install Xorg. 2. Install cvsup from a package or the ports, but do not install any other ports. 3. Use cvsup to update the release source (use the standard supfile). 4. Build and install world and the kernel according to instructions at the end of the UPDATING file in /usr/src 5. Cvsup the ports tree using the ports-supfile. 6. Install Xorg (and other applications you may want) from the ports tree. Well, 5a is install ports management software from the ports-mgmt section of the ports tree. I use portupgrade because it is the way I have always done things, but I hear some of the others may be better. You can use the -N switch with it when you are installing fresh ports instead of just upgrading. 6.2 is now fairly static (but it isn't STABLE) so you will only rarely see anything happening when you cvsup with the standard supfile. If anything does happen it is usually error-correction/diasater-avoidance related, so you probably should rebuild the system (or at least read the UPDATING file to see if the changes really affect something that is important to you). The ports tree, on the other hand, will usually have dozens of updates every day. After the usually flurry of basic applications you install at first, you probably should update the ports tree, read the ports UPDATING file and upgrade all your ports (like portupgrade -a) before you install any major application. The main object is to keep the ports in synch with other ports. There
Re: Newbie questions about updating
On 9/7/07, Jerry McAllister [EMAIL PROTECTED] wrote: On Fri, Sep 07, 2007 at 10:53:09AM -0500, cothrige wrote: Sorry. What I really had in mind was the ports tree itself, which I had an option during install to add. BTW, I answered yes to this and so had that which was on the 6.2 install disc. Based on the other responses, it is looking like perhaps that is not the best method, and maybe I should have skipped that and then added the ports after the install using cvsup or such. This is certainly a good thing to know for the future, though as of right now I am dealing with the disc install method. No. You were right to choose yes. That just installs the ports tree skeleton. It does not install any actual ports. Then when you do a csup tag=. for the ports tree, then it updates that tree. But you would still have to update the ports from the tree that you have chosen to install. What exactly is the best method for the new install when it comes to ports? I should say yes to installing the ports tree, but then how should I go forward at that point? For instance, should I immediately run csup when booting into the new system before actually installing anything from ports? Will that speed things up in the end, or make for greater stability? The ports tree from one version of the OS to the next is not particularly different. It is just instructions on how to get the source and build the port (including dependant ports). It gets a little out of date now and then as the list of files that need to be downloaded or build procedured change, so it need a csup update now and then. But what that csup does is update the skeleton, not the actual ports. That is a subsequent step. Cool, that makes sense. I suppose right now it is a matter of figuring out just getting used to how to handle the system and know that I am carrying out the correct steps, or at least the most reliable steps, in the most beneficial order. Thanks, Patrick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Newbie questions about updating
On Fri, Sep 07, 2007 at 10:53:09AM -0500, cothrige wrote: On 9/7/07, Erich Dollansky [EMAIL PROTECTED] wrote: Hi, Howdy, and thanks for the help. [snip] I have downloaded the FreeBSD 6.2 install discs and have finished the Just stick with 6.2 for the moment. Wait, you do not install ports from the disc, you install packages from the disc. This is a small difference. Ports are source based, packages are binaries. Sorry. What I really had in mind was the ports tree itself, which I had an option during install to add. BTW, I answered yes to this and so had that which was on the 6.2 install disc. Based on the other responses, it is looking like perhaps that is not the best method, and maybe I should have skipped that and then added the ports after the install using cvsup or such. This is certainly a good thing to know for the future, though as of right now I am dealing with the disc install method. No. You were right to choose yes. That just installs the ports tree skeleton. It does not install any actual ports. Then when you do a csup tag=. for the ports tree, then it updates that tree. But you would still have to update the ports from the tree that you have chosen to install. The ports tree from one version of the OS to the next is not particularly different. It is just instructions on how to get the source and build the port (including dependant ports). It gets a little out of date now and then as the list of files that need to be downloaded or build procedured change, so it need a csup update now and then. But what that csup does is update the skeleton, not the actual ports. That is a subsequent step. One of the things which caused me to wonder about this was that some time back I tried FreeBSD out for a while and ran into some oddities concerning the ports system. When I first finished setting things up I could install packages using pkg_add -r, but noticed that after updating the ports I could no longer do that. That struck me as odd, Updating the ports tree means actually switching to ports but you still can use packages via portupgrade. What has happened to me before is that after the fresh install if I typed pkg_add -r foo it would say something like fetching http://...freebsd-6.[x]/foo.1.0.0.tbz...; and then install it. But, after I would update the ports if I typed the same command, pkg_add -r foo, it would fail saying something like fetching http://...freebsd-6.[x]/foo.1.0.1.tbz...; and then say something about no such package. At the time it was happening I had looked at the address being used and of course in the one for freebsd-6.whatever (or whichever directory my OS was trying to fetch from) there was only the foo.1.0.0 file and not the new one. The ports upgrade seemed to make my system stop searching for foo.1.0.0 and begin looking for 1.0.1, but it did not change where the pkg_add program looked and so it would always fail. Most of the time this would be no big deal, and I don't run KDE, Gnome or such, but it is more time consuming (especially on some of my old stuff like this laptop) and more importantly it just always made me think it was broken. It really just doesn't seem like the intended behaviour with it looking for nonexistent packages. When things seem to misbehave like that I always have a sneaking suspicion that not too long in the future it will come crashing down as I have some fundamental setting flawed and with every install or change I am compounding the problem. Never forget, the ports tree is a live object. It can happen that you upgrade now and find a ruined system, then upgrade a minute later and the system is fine again. Yes, I can see how that would be the case, and in a broken port I think that likely this may be so. Also, if the package system does not operate after updating ports then I could also rest easy that things are operating as they should. However, my reading of the handbook, and other documents, implies that one should in theory be able to use packages even with an updated ports tree, as portupgrade -P would seem to suggest. But, in the past that would always fail as the package does not exist in the place being searched and then a port would be built. Again, building is usually fine, and I may even prefer it most of the time, but since portupgrade seems to exist to work with updated ports trees, and it has options to use packages, my experiences with these in the past have given me the distinct impression that I have been doing something wrong. One last newb question is concerning cvsup itself. In reference to ports is there a difference, in the end, between this and portsnap? There should be no difference at the final end. Good to know. Erich Thanks Erich. Patrick ___ freebsd-questions@freebsd.org mailing list
Re: Newbie questions about updating
On 9/7/07, Erich Dollansky [EMAIL PROTECTED] wrote: Hi, Howdy, and thanks for the help. [snip] I have downloaded the FreeBSD 6.2 install discs and have finished the Just stick with 6.2 for the moment. I had thought this might be the best method, and so figured I would for some time anyway. I am also running FreeBSD on an ancient laptop just for a learning experience, and because so far FreeBSD has been the only system which seems able to run on it :-). For this reason I am tending to keep things fairly small and am trying not to make huge updates unless I have to. level? If I don't want to run stable and use tag=RELENG_6_2 will I be required to keep the ports as they have installed from the disc? Is there any connection between how current the ports are and how current the OS is? Wait, you do not install ports from the disc, you install packages from the disc. This is a small difference. Ports are source based, packages are binaries. Sorry. What I really had in mind was the ports tree itself, which I had an option during install to add. BTW, I answered yes to this and so had that which was on the 6.2 install disc. Based on the other responses, it is looking like perhaps that is not the best method, and maybe I should have skipped that and then added the ports after the install using cvsup or such. This is certainly a good thing to know for the future, though as of right now I am dealing with the disc install method. One of the things which caused me to wonder about this was that some time back I tried FreeBSD out for a while and ran into some oddities concerning the ports system. When I first finished setting things up I could install packages using pkg_add -r, but noticed that after updating the ports I could no longer do that. That struck me as odd, Updating the ports tree means actually switching to ports but you still can use packages via portupgrade. What has happened to me before is that after the fresh install if I typed pkg_add -r foo it would say something like fetching http://...freebsd-6.[x]/foo.1.0.0.tbz...; and then install it. But, after I would update the ports if I typed the same command, pkg_add -r foo, it would fail saying something like fetching http://...freebsd-6.[x]/foo.1.0.1.tbz...; and then say something about no such package. At the time it was happening I had looked at the address being used and of course in the one for freebsd-6.whatever (or whichever directory my OS was trying to fetch from) there was only the foo.1.0.0 file and not the new one. The ports upgrade seemed to make my system stop searching for foo.1.0.0 and begin looking for 1.0.1, but it did not change where the pkg_add program looked and so it would always fail. Most of the time this would be no big deal, and I don't run KDE, Gnome or such, but it is more time consuming (especially on some of my old stuff like this laptop) and more importantly it just always made me think it was broken. It really just doesn't seem like the intended behaviour with it looking for nonexistent packages. When things seem to misbehave like that I always have a sneaking suspicion that not too long in the future it will come crashing down as I have some fundamental setting flawed and with every install or change I am compounding the problem. Never forget, the ports tree is a live object. It can happen that you upgrade now and find a ruined system, then upgrade a minute later and the system is fine again. Yes, I can see how that would be the case, and in a broken port I think that likely this may be so. Also, if the package system does not operate after updating ports then I could also rest easy that things are operating as they should. However, my reading of the handbook, and other documents, implies that one should in theory be able to use packages even with an updated ports tree, as portupgrade -P would seem to suggest. But, in the past that would always fail as the package does not exist in the place being searched and then a port would be built. Again, building is usually fine, and I may even prefer it most of the time, but since portupgrade seems to exist to work with updated ports trees, and it has options to use packages, my experiences with these in the past have given me the distinct impression that I have been doing something wrong. One last newb question is concerning cvsup itself. In reference to ports is there a difference, in the end, between this and portsnap? There should be no difference at the final end. Good to know. Erich Thanks Erich. Patrick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Newbie questions about updating
I know this is going to be a very dumb question, but I just can't seem to get my mind around exactly what is involved and what I should do regarding this issue. I understand from reading the handbook that the ports system is completely separate from the OS itself, and that these can be upgraded or updated separately. From what I can see this seems to most often involve CVSup, and I have been operating under the assumption that one must run two cvsup operations with two separate supfiles to update both the core OS and the ports. Am I understanding this correctly? Assuming I am, my main confusion concerns just how these two systems actually interact and relate to each other, and whether there are any requirements connecting updating each of them together? For instance, I have downloaded the FreeBSD 6.2 install discs and have finished the basic installation and setup. Now at some point if I wish to update the ports does that mean I have to update the OS to a particular level? If I don't want to run stable and use tag=RELENG_6_2 will I be required to keep the ports as they have installed from the disc? Is there any connection between how current the ports are and how current the OS is? One of the things which caused me to wonder about this was that some time back I tried FreeBSD out for a while and ran into some oddities concerning the ports system. When I first finished setting things up I could install packages using pkg_add -r, but noticed that after updating the ports I could no longer do that. That struck me as odd, and because of it I always had a suspicion that I had broken the system with my out of whack updates (I did not move up to stable at that time) but I just never could really find out if that were so. One last newb question is concerning cvsup itself. In reference to ports is there a difference, in the end, between this and portsnap? Do they result in the same ports? I am sure this is answered somewhere, but the handbook and other sites seem to take a somewhat ground-eye view of how to use them but don't dwell much on the mysteries behind what they do and how they may differ. Many thanks for any clarification that can be offered to me on these things. Patrick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Newbie questions about updating
On Fri, Sep 07, 2007 at 12:26:40PM -0500, cothrige wrote: On 9/7/07, Jerry McAllister [EMAIL PROTECTED] wrote: On Fri, Sep 07, 2007 at 10:53:09AM -0500, cothrige wrote: Sorry. What I really had in mind was the ports tree itself, which I had an option during install to add. BTW, I answered yes to this and so had that which was on the 6.2 install disc. Based on the other responses, it is looking like perhaps that is not the best method, and maybe I should have skipped that and then added the ports after the install using cvsup or such. This is certainly a good thing to know for the future, though as of right now I am dealing with the disc install method. No. You were right to choose yes. That just installs the ports tree skeleton. It does not install any actual ports. Then when you do a csup tag=. for the ports tree, then it updates that tree. But you would still have to update the ports from the tree that you have chosen to install. What exactly is the best method for the new install when it comes to ports? I should say yes to installing the ports tree, but then how should I go forward at that point? For instance, should I immediately run csup when booting into the new system before actually installing anything from ports? Will that speed things up in the end, or make for greater stability? That is what I do. Actually, I csup the OS because it may have updates on it that are needed - security fixes mostly and also ports and even doc right then before doing any other installing. Some people don't even install Xorg until doing the csup. I haven't been quite that hard core, but it isn't a bad idea. The ports tree from one version of the OS to the next is not particularly different. It is just instructions on how to get the source and build the port (including dependant ports). It gets a little out of date now and then as the list of files that need to be downloaded or build procedured change, so it need a csup update now and then. But what that csup does is update the skeleton, not the actual ports. That is a subsequent step. Cool, that makes sense. I suppose right now it is a matter of figuring out just getting used to how to handle the system and know that I am carrying out the correct steps, or at least the most reliable steps, in the most beneficial order. Yup. jerry Thanks, Patrick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Old 4.2 user, with 6.2 newbie questions
On 18-May-07 [EMAIL PROTECTED] wrote: On Fri, May 18, 2007 at 07:33:14AM -0700, Chuck Grimes wrote: enabled in inetd.conf. My problem is that using the modem to connect to my isp, I can not get fetchmail, rsh, rlogin, or ftp to work. They all start just fine and then hang. I have to kill the user1 to get the tty1 back. I set this new box (6.2) up with a network connection to my old box (4.2) as a gateway. When the 4.2 box connects to the isp, I can use rsh, rlogin, fetchmail from the new box using the old box as the connection. This implies there is something wrong with the new box serial connection to my isp. However, from the new box (6.2) after starting the dial up connection on the serial port, I can use telnet to get to the isp shell account. What is the difference between how rsh uses the various ip/tcp protocols and how telnet? Sounds like a routing problem to me, i,e., your ISP is part of a local network connection (so you can telnet to it) but your ISP's gateway is not set as a default route on the 6.2 box like it is on the 4.2 box. HTH, Steve Thanks for the response. Sorry about my long delayed response. I worked most of Saturday playing around with ppp and various options in rc.conf trying to narrow the problem down to some kind of route problem. In the process I did find some routing problems and fixed them. But there was no improvement in the failure to keep an rsh or ftp session going over a serial port connection with my isp. I am going to start another thread under the title ``sio problems?'' and try to figure out what's wrong with my serial port. I suspect while sio4 works enough to start a link with my isp, it somehow fails at some point. I think the problem is the serial port configuration. I suspect the swap during bootup sio0 - sio4 is the heart of the problem. With that in mind, I think you are right about a routing problem in the sense that the mapping of physical serial device (modem) to its virtual serial device (sio0 - sio4) is mixed up somehow and that in turn creats the effect of a routing problem. Even if a fixed serial port system doesn't help, at least it will be one more problem fixed. CG (this was also delayed by the list server as spam?) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Old 4.2 user, with 6.2 newbie questions
Thanks to Ted M and Mikhail G for the help on Fetchmail. I think I have narrowed the problem down to exclude any configuration mistakes in fetchmail or sendmail. I think I have a problem with my serial port sio0 (it has a 56k USR modem). In dmesg: dmesg | grep sio: sio0: configured irq 22 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: 3COM PCI FaxModem port 0x1000-0x1007 irq 22 at device 1.0 on pci7 sio0: moving to sio4 sio4: type 16550A fwohci0: OHCI version 1.10 (ROM=0) sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled *sio4: 297 more interrupt-level buffer overflows (total 297) The last line shows an added messages that the sio4 has overflows. Notice that the sio0 (with 56k modem) has been remapped to sio4. Also, my isp uses standand ip/tcp (IPv4, not IPv6). I have both enabled in inetd.conf. My problem is that using the modem to connect to my isp, I can not get fetchmail, rsh, rlogin, or ftp to work. They all start just fine and then hang. I have to kill the user1 to get the tty1 back. I set this new box (6.2) up with a network connection to my old box (4.2) as a gateway. When the 4.2 box connects to the isp, I can use rsh, rlogin, fetchmail from the new box using the old box as the connection. This implies there is something wrong with the new box serial connection to my isp. However, from the new box (6.2) after starting the dial up connection on the serial port, I can use telnet to get to the isp shell account. What is the difference between how rsh uses the various ip/tcp protocols and how telnet? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Old 4.2 user, with 6.2 newbie questions
Chuck Grimes wrote: [...] My first priority is getting fetchmail running. Here is the fetchmailrc dot file: defaults proto pop3 user mailname poll my.isp.com pass x set daemon 840 As user, I can run fetchmail at the command line, without an error message, but it also doesn't get and deliver any mail. I can send email to myself, but I am sure it never leaves the machine. The [EMAIL PROTECTED] is correct---so sendmail masquerade is working. For example, sendmail does not write: [EMAIL PROTECTED], as it would without masquerade. Fetchmail (new one that is) now can be ran in daemon mode so the following has to be added into /etc/rc.conf: fetchmail_enable=YES fetchmail_polling_interval=300 The fetchmailrc file has to be owned by fetchmail: # ls -al /usr/local/etc/fetchmailrc -rw--- 1 fetchmail fetchmail 6614 Feb 27 11:57 fetchmailrc This is the syntax I use in fetchmailrc: poll pop3.domain.tld proto pop3 no dns user USERNAME1, with password PASSWORD1, is USERNAME1 here; user USERNAME2, with password PASSWORD2, is USERNAME2 here; user USERNAME3, with password PASSWORD3, is USERNAME3 here; Some users aren't located on the same server. So I redirect their correspondence with the help of /etc/mail/aliases: USERNAME3:[EMAIL PROTECTED] I changed the permissions on sendmail back to: $ ll -r-sr-xr-x 1 root wheel 583680 Jan 11 23:42 sendmail from 6.2 default: $ ll -rwsr-xr-x 1 root wheel 583680 Jan 11 23:42 sendmail I've tried it both ways and niether seems to make any difference. For all of that, I didn't have to touch sendmail (apart from aliases). Hopefully this will help you somehow. Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Old 4.2 user, with 6.2 newbie questions
sendmail is much newer on 6.2, I would ask on the fetchmail mailing list if I were you. I've never used fetchmail myself, but I had to make a number of changes in various scripts and such that communicated with sendmail when I updated a server from 4x to 6x as they changed/broke things in the newer sendmail. (for security reasons no doubt) Ted -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Chuck Grimes Sent: Thursday, May 10, 2007 9:55 PM To: freebsd-questions@freebsd.org Subject: Old 4.2 user, with 6.2 newbie questions I am in the process of moving from 4.2-RELEASE on an old box to 6.2-RELEASE on a new box (Core 2 Duo, DG965WH mobo, GeForce 7600gs, 1G RAM, 400G sata drive). I need to figure out a couple of userland changes to the default 6.2 installation which took about an hour and went great. I have a shell account on my isp which runs 4.10-STABLE. In my old 4.2 box I have fetchmail set to log in, get mail and hand it over to local sendmail to put it in my local /var/mail/user directory on my old machine. I also use rsh (I know, don't) to log in to my shell account. I use my own sendmail to send mail out to various lists on the old box. I masquerade as my isp in sendmail, which puts the appropriate user name on my headers. Ok. In 6.2 box I've turned off local only mail (no submit.cf) and have sendmail maquerade working. I can send email out as a user, but I can't retrieve mail on my isp via fetchmail. I think ppp is configured correctly because I can telnet just fine to my shell account, but I can't rsh. It hangs after the password has been sent (yes you are not supposed to need a password with rlogin, but my isp uses one anyway for minium security). If I am root and switch during rsh/rlogin login to my username, I can get a little further along. I get the first few system announcements on the shell server, and then the terminal hangs. I have to kill the rlogin PID to get back the ttyN terminal. There also seems to be buffer overflows or conflicts between the mouse (on a usb port, usm0), 56k modem (PCI, sio0 remapped to sio4?), and printer (lpt0). In ppp, I use /dev/cuad4, despite the fact the modem is reported in dmesg as on sio0. Whatever is going on at some lower layer, all these devices work with random messages about stray irq's---so I am ignoring them at the moment. In other words, I can use dial-up, the mouse works, and the printer prints (via lp). Seems good enough for the moment. There have obviously been changes to the 6.2 base install that I don't know about that probably account for some of these problems. Unfortunately, most of these issues are no covered in the manuals that came with the CDs, or the coverage was out of date Suggestions on where to look, things to check and change would be greatly appreciated. At the moment I am more interested in getting correct behavior, than I am concerned with security. My first priority is getting fetchmail running. Here is the fetchmailrc dot file: defaults proto pop3 user mailname poll my.isp.com pass x set daemon 840 As user, I can run fetchmail at the command line, without an error message, but it also doesn't get and deliver any mail. I can send email to myself, but I am sure it never leaves the machine. The [EMAIL PROTECTED] is correct---so sendmail masquerade is working. For example, sendmail does not write: [EMAIL PROTECTED], as it would without masquerade. I changed the permissions on sendmail back to: $ ll -r-sr-xr-x 1 root wheel 583680 Jan 11 23:42 sendmail from 6.2 default: $ ll -rwsr-xr-x 1 root wheel 583680 Jan 11 23:42 sendmail I've tried it both ways and niether seems to make any difference. My general impression is that 6.2 has set up restrictions or modified rsh and fetcmail---or perhaps these are fine, but don't interact well with older verisons, i.e 4.10. Although I can ftp to my shell and down load files. Also I updated the ports via ftp as root, and everything took forever, but seems to work fine. For example I use Magicfilter which was not in the cd's, so from ports/printer, I downloaded Magicfilter, compiled and installed it and it works fine as a postscript filter for lpr. I know these are quite a few questions, but any suggestions on any of them would be much appreciated. CG ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Old 4.2 user, with 6.2 newbie questions
I am in the process of moving from 4.2-RELEASE on an old box to 6.2-RELEASE on a new box (Core 2 Duo, DG965WH mobo, GeForce 7600gs, 1G RAM, 400G sata drive). I need to figure out a couple of userland changes to the default 6.2 installation which took about an hour and went great. I have a shell account on my isp which runs 4.10-STABLE. In my old 4.2 box I have fetchmail set to log in, get mail and hand it over to local sendmail to put it in my local /var/mail/user directory on my old machine. I also use rsh (I know, don't) to log in to my shell account. I use my own sendmail to send mail out to various lists on the old box. I masquerade as my isp in sendmail, which puts the appropriate user name on my headers. Ok. In 6.2 box I've turned off local only mail (no submit.cf) and have sendmail maquerade working. I can send email out as a user, but I can't retrieve mail on my isp via fetchmail. I think ppp is configured correctly because I can telnet just fine to my shell account, but I can't rsh. It hangs after the password has been sent (yes you are not supposed to need a password with rlogin, but my isp uses one anyway for minium security). If I am root and switch during rsh/rlogin login to my username, I can get a little further along. I get the first few system announcements on the shell server, and then the terminal hangs. I have to kill the rlogin PID to get back the ttyN terminal. There also seems to be buffer overflows or conflicts between the mouse (on a usb port, usm0), 56k modem (PCI, sio0 remapped to sio4?), and printer (lpt0). In ppp, I use /dev/cuad4, despite the fact the modem is reported in dmesg as on sio0. Whatever is going on at some lower layer, all these devices work with random messages about stray irq's---so I am ignoring them at the moment. In other words, I can use dial-up, the mouse works, and the printer prints (via lp). Seems good enough for the moment. There have obviously been changes to the 6.2 base install that I don't know about that probably account for some of these problems. Unfortunately, most of these issues are no covered in the manuals that came with the CDs, or the coverage was out of date Suggestions on where to look, things to check and change would be greatly appreciated. At the moment I am more interested in getting correct behavior, than I am concerned with security. My first priority is getting fetchmail running. Here is the fetchmailrc dot file: defaults proto pop3 user mailname poll my.isp.com pass x set daemon 840 As user, I can run fetchmail at the command line, without an error message, but it also doesn't get and deliver any mail. I can send email to myself, but I am sure it never leaves the machine. The [EMAIL PROTECTED] is correct---so sendmail masquerade is working. For example, sendmail does not write: [EMAIL PROTECTED], as it would without masquerade. I changed the permissions on sendmail back to: $ ll -r-sr-xr-x 1 root wheel 583680 Jan 11 23:42 sendmail from 6.2 default: $ ll -rwsr-xr-x 1 root wheel 583680 Jan 11 23:42 sendmail I've tried it both ways and niether seems to make any difference. My general impression is that 6.2 has set up restrictions or modified rsh and fetcmail---or perhaps these are fine, but don't interact well with older verisons, i.e 4.10. Although I can ftp to my shell and down load files. Also I updated the ports via ftp as root, and everything took forever, but seems to work fine. For example I use Magicfilter which was not in the cd's, so from ports/printer, I downloaded Magicfilter, compiled and installed it and it works fine as a postscript filter for lpr. I know these are quite a few questions, but any suggestions on any of them would be much appreciated. CG ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Sunday's newbie questions
(Please CC me directly on the response, as I don't normally subscribe to the list and try to find answers via searching the archives.) Two quick questions I should know the answer to, but don't. * When installing the PHP5 port, will it automatically disable and/or uninstall the PHP4 that's already installed, or should I uninstall the latter manually beforehand? * My server runs portaudit (a helpful addition from the last guy who did some work on it), but a simple make install on the PHP5 port spits back a security error. What's the flag to make install around that? Many thanks, and apologies for the vey basic questions, Greg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sunday's newbie questions
[EMAIL PROTECTED] wrote: Two quick questions I should know the answer to, but don't. * When installing the PHP5 port, will it automatically disable and/or uninstall the PHP4 that's already installed, or should I uninstall the latter manually beforehand? Manually uninstall php4 first. * My server runs portaudit (a helpful addition from the last guy who did some work on it), but a simple make install on the PHP5 port spits back a security error. What's the flag to make install around that? setenv DISABLE_VULNERABILITIES=yes (in bourne shells) Then be sure to select the suhosin patch from the menu, as it plugs the current exploit. -- Bill Moran The presence of stale files in this directory can cause the dreaded unpredictable results, and therefore it is highly recommended that you delete them. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Newbie questions
On Wednesday 23 August 2006 12:37 am, E. Gad wrote: Hello First I was directed to post the here because I posted to the stable mailing list before re-reading what it's purpose is- I apologise-. I am playing with freebsd 6 on a testing box. I Upgraded l from 6.0 to 6.1 because it looked like popular opinion is that it's got a number of improvements After a few false starts and finally figuring what I did wrong it went basicly ok. I went to use sysinstall to install a few usefull looking items however I got a error message: Release 6.1-p3 not found on server What is puzling is if I do essentially the samething: run pkg_add -f from the command line I seem to get some of the packages I wanted-to install. Is this normal? or did I do something wrong? I am not entirely sure how fix this and any assistance is apreciated. (The free-bsd etiquite note statements says I should mention what I have done so far) I have started by using google to see if anyone else has this problem. I haven't found the problem on bulitin boards or the like (not yet anyway-i'll look again in the morning) -thanks - Do you Yahoo!? Get on board. You're invited to try the new Yahoo! Mail. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Go to the the Options menu in sysinstall and change the entry for 6.1-RELEASE-P3 to 6.1-RELEASE FreeBSD tries to exactly match what you have as a system and the p3 means patch level #3, You will have to do this each time you try to use sysinstall to add binaries. You can also use the ports system which is more up to date typically than the binaries. However, installing via the ports means compiling from source which works but takes time. One port that you may want to install is: /usr/ports/sysutils/desktopbsd-tools go to it and type make clean make make install make clean This is a system to help you find programs and install them from source or binaries. It allows you to have the most up to date programs available. Checkout www.desktopbsd.net for their version of BSD or if you want a distribution that is very user friendly try www.PCBSD.org. Both are excellent. DesktopBSD is based on FreeBSD 5.5 while PCBSD is based on FreeBSD 6.1. If you want to stick with FreeBSD, you might want to buy FreeBSD 6 Unleashed by Brian Tiemann and Michael Urban the 2006 edition ISBN 0-672-32875-5 It is the most complete book out there. Have fun Ralph Ellis ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
More newbie questions
Svein Halvor Halvorsen [EMAIL PROTECTED] wrote: Subhro wrote: yourself. However remember to cvsup your ports tree before you start using it to get the required software. Refer to the handbook for understanding how ports work. For most people portsnap would be a better way of updating one's ports tree. Firstly, it's in the base system and thus doesn't require any third party software. Secondly, most newbies find it easier to use. Svein Halvor Hmm porstnap seemed to have worked ok. I installed the portupgrade suite through pkg_add. Somethings still not happy. Because when took a stab at installing: nvidia-driver nvidia-glx xorg and compat 5 as a dependency for nvidia-driver/nvidia-glx nvidia can't find something and I don't know what because the first part of the message scrolls of the screen- (remember I'm not in xorg yet) -What the newbie here has done so far to help itself- Just as a guess-reinstalled linux_base because I remembered reading on a Just Some Guys 'Blog abut the same problem thinking it couldn't hurt anything since I hadn't installed hardly much of anything- cd /usr/ports/emulators/linux_base. make deinstall make clean make install Ran that for 15 minuts-it ran into some sort of error 1! (repeated 5 times) Undaunted-re- did make etc. Somethng about rpm something not found (cd'd into linux_bas-fc4) ran make install clean-but it says it can't find the ftp servers- Any guesses what I'm doing wrong? - Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: More newbie questions
--- E. Gad [EMAIL PROTECTED] wrote: Svein Halvor Halvorsen [EMAIL PROTECTED] wrote: Subhro wrote: yourself. However remember to cvsup your ports tree before you start using it to get the required software. Refer to the handbook for understanding how ports work. For most people portsnap would be a better way of updating one's ports tree. Firstly, it's in the base system and thus doesn't require any third party software. Secondly, most newbies find it easier to use. as long as your remember to install it as a port during the install or add it with sysinstall or pkg_add. cvsup-nogui then doing a: make update in /usr/src or /usr/ports will automagically use the default examples and update things. As long as your going from a 6.x base it will continue on Rel_6.x. If you started with 5.x it will continue to update 5.x. Ports will always update to the latest and greatest as it uses a different tag. I find this very easy, I'm also afraid of change. Though portsnap is more secure because it uses encryption and I've heard signs the updates. To each their own though one way of the other updating your SRC and PORTS is an important thing to learn how to do. Svein Halvor Hmm porstnap seemed to have worked ok. I installed the portupgrade suite through pkg_add. Somethings still not happy. Because when took a stab at installing: nvidia-driver nvidia-glx xorg and compat 5 as a dependency for nvidia-driver/nvidia-glx nvidia can't find something and I don't know what because the first part of the message scrolls of the screen- (remember I'm not in xorg yet) if you don't have X yet then I don't think the nvidia drivers will install because they are quite dependant on X. no X required here... hit scroll lock and then PgUp and PgDn this will let you view the scroll back buffer and see what you cannot see. the up and down arrows will work too. -What the newbie here has done so far to help itself- Just as a guess-reinstalled linux_base because I remembered reading on a Just Some Guys 'Blog abut the same problem thinking it couldn't hurt anything since I hadn't installed hardly much of anything- cd /usr/ports/emulators/linux_base. make deinstall make clean make install Ran that for 15 minuts-it ran into some sort of error 1! (repeated 5 times) Undaunted-re- did make etc. Somethng about rpm something not found (cd'd into linux_bas-fc4) ran make install clean-but it says it can't find the ftp servers- Any guesses what I'm doing wrong? install archivers/rpm should fix that but it should know to do it itself. Unless your stuck using that particular dist of linux I would try to gentoo stage3 base. a chroot to the /compat/linux and you can use their portage system to install and update linux apps fairly easy. The reason I got away from linux in the first place was the nightmare of updating it, but at least Gentoo uses a ports system that makes it less of a nightmare. Of course I am biased because I do run Gentoo on my laptop and would want the emulation base to be compatible if I package up native Gentoo apps to my FreeBSD system. -brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: More newbie questions
backyard [EMAIL PROTECTED] wrote: --- E. Gad wrote: Svein Halvor Halvorsen wrote: Subhro wrote: yourself. However remember to cvsup your ports tree before you start using it to get the required software. Refer to the handbook for understanding how ports work. For most people portsnap would be a better way of updating one's ports tree. Firstly, it's in the base system and thus doesn't require any third party software. Secondly, most newbies find it easier to use. as long as your remember to install it as a port during the install or add it with sysinstall or pkg_add. cvsup-nogui then doing a: make update in /usr/src or /usr/ports will automagically use the default examples and update things. As long as your going from a 6.x base it will continue on Rel_6.x. If you started with 5.x it will continue to update 5.x. Ports will always update to the latest and greatest as it uses a different tag. I find this very easy, I'm also afraid of change. Though portsnap is more secure because it uses encryption and I've heard signs the updates. To each their own though one way of the other updating your SRC and PORTS is an important thing to learn how to do. Svein Halvor Hmm porstnap seemed to have worked ok. I installed the portupgrade suite through pkg_add. Somethings still not happy. Because when took a stab at installing: nvidia-driver nvidia-glx xorg and compat 5 as a dependency for nvidia-driver/nvidia-glx nvidia can't find something and I don't know what because the first part of the message scrolls of the screen- (remember I'm not in xorg yet) if you don't have X yet then I don't think the nvidia drivers will install because they are quite dependant on X. no X required here... hit scroll lock and then PgUp and PgDn this will let you view the scroll back buffer and see what you cannot see. the up and down arrows will work too. -What the newbie here has done so far to help itself- Just as a guess-reinstalled linux_base because I remembered reading on a Just Some Guys 'Blog abut the same problem thinking it couldn't hurt anything since I hadn't installed hardly much of anything- cd /usr/ports/emulators/linux_base. make deinstall make clean make install Ran that for 15 minuts-it ran into some sort of error 1! (repeated 5 times) Undaunted-re- did make etc. Somethng about rpm something not found (cd'd into linux_bas-fc4) ran make install clean-but it says it can't find the ftp servers- Any guesses what I'm doing wrong? install archivers/rpm should fix that but it should know to do it itself. Unless your stuck using that particular dist of linux I would try to gentoo stage3 base. a chroot to the /compat/linux and you can use their portage system to install and update linux apps fairly easy. The reason I got away from linux in the first place was the nightmare of updating it, but at least Gentoo uses a ports system that makes it less of a nightmare. Of course I am biased because I do run Gentoo on my laptop and would want the emulation base to be compatible if I package up native Gentoo apps to my FreeBSD system. -brian Actually funy you say that I'd think using linux_base-gentoo-stage-3 would be simpler in someways for the Powers That be to make Linux Emulation seemless. -linux_base-gentoo-stage-3 install went smooth as silk- -the pkg_add xorg also seems to have gone ok (not sure why it had problems initially...strange) I'll re-run portinstalls of the nvidia stuff. You might like Arch if you've been turned off by the way other distributions do things.- caveats: It has a bit of learning curve, it uses fairly bleeding edge software, and quite a bit of work is more community developed than average (more so than say Fedora). On the other hand It use a ports like system(qpckge and aurbuild) and a pkg_add like system (packman) -Thanks - Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: More newbie questions-again?
backyard [EMAIL PROTECTED] wrote: --- E. Gad wrote: Svein Halvor Halvorsen wrote: Subhro wrote: yourself. However remember to cvsup your ports tree before you start using it to get the required software. Refer to the handbook for understanding how ports work. For most people portsnap would be a better way of updating one's ports tree. Firstly, it's in the base system and thus doesn't require any third party software. Secondly, most newbies find it easier to use. as long as your remember to install it as a port during the install or add it with sysinstall or pkg_add. cvsup-nogui then doing a: make update in /usr/src or /usr/ports will automagically use the default examples and update things. As long as your going from a 6.x base it will continue on Rel_6.x. If you started with 5.x it will continue to update 5.x. Ports will always update to the latest and greatest as it uses a different tag. I find this very easy, I'm also afraid of change. Though portsnap is more secure because it uses encryption and I've heard signs the updates. To each their own though one way of the other updating your SRC and PORTS is an important thing to learn how to do. Svein Halvor Hmm porstnap seemed to have worked ok. I installed the portupgrade suite through pkg_add. Somethings still not happy. Because when took a stab at installing: nvidia-driver nvidia-glx xorg and compat 5 as a dependency for nvidia-driver/nvidia-glx nvidia can't find something and I don't know what because the first part of the message scrolls of the screen- (remember I'm not in xorg yet) if you don't have X yet then I don't think the nvidia drivers will install because they are quite dependant on X. no X required here... hit scroll lock and then PgUp and PgDn this will let you view the scroll back buffer and see what you cannot see. the up and down arrows will work too. -What the newbie here has done so far to help itself- Just as a guess-reinstalled linux_base because I remembered reading on a Just Some Guys 'Blog abut the same problem thinking it couldn't hurt anything since I hadn't installed hardly much of anything- cd /usr/ports/emulators/linux_base. make deinstall make clean make install Ran that for 15 minuts-it ran into some sort of error 1! (repeated 5 times) Undaunted-re- did make etc. Somethng about rpm something not found (cd'd into linux_bas-fc4) ran make install clean-but it says it can't find the ftp servers- Any guesses what I'm doing wrong? install archivers/rpm should fix that but it should know to do it itself. Unless your stuck using that particular dist of linux I would try to gentoo stage3 base. a chroot to the /compat/linux and you can use their portage system to install and update linux apps fairly easy. The reason I got away from linux in the first place was the nightmare of updating it, but at least Gentoo uses a ports system that makes it less of a nightmare. Of course I am biased because I do run Gentoo on my laptop and would want the emulation base to be compatible if I package up native Gentoo apps to my FreeBSD system. -brian About that nvidia-thing here's the messages: libtool cannot find the library /usr/local/lib/libintl.la or undhandled argument in /usr/local/libintl.la gmake[2]:***[dump] Error 1 gmak[2]:leaving director /usr/ports/archivers/rpm/work/rpm-3.0.6/tools gmake[2]:[all-recursive]-Error 1 gmake[1]leaving director /usr/ports/archivers/work/rpm-3.0.6 gmake *** [all-recursive-am- Error 2 Error code 2 Stop in /usr/ports/archivers/rpm Errror code 1 Stop in /usr/ports/archivers/rpm Error code 1 ---snip stop in /usr/ports/emulators/linux_base-fc4 /* Why is it having issues with this? */ Stop in /usr/ports/x11/nvidia-driver. command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall542.0 make reinstall **Fix the installation problem and try again ***Listing failed packages(*skiped/ !FAILED) !xll/driver(install error) packages processed: 0 - Stay in the know. Pulse on the new Yahoo.com. Check it out. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: More newbie questions-again?
--- E. Gad [EMAIL PROTECTED] wrote: backyard [EMAIL PROTECTED] wrote: --- E. Gad wrote: Svein Halvor Halvorsen wrote: Subhro wrote: yourself. However remember to cvsup your ports tree before you start using it to get the required software. Refer to the handbook for understanding how ports work. For most people portsnap would be a better way of updating one's ports tree. Firstly, it's in the base system and thus doesn't require any third party software. Secondly, most newbies find it easier to use. as long as your remember to install it as a port during the install or add it with sysinstall or pkg_add. cvsup-nogui then doing a: make update in /usr/src or /usr/ports will automagically use the default examples and update things. As long as your going from a 6.x base it will continue on Rel_6.x. If you started with 5.x it will continue to update 5.x. Ports will always update to the latest and greatest as it uses a different tag. I find this very easy, I'm also afraid of change. Though portsnap is more secure because it uses encryption and I've heard signs the updates. To each their own though one way of the other updating your SRC and PORTS is an important thing to learn how to do. Svein Halvor Hmm porstnap seemed to have worked ok. I installed the portupgrade suite through pkg_add. Somethings still not happy. Because when took a stab at installing: nvidia-driver nvidia-glx xorg and compat 5 as a dependency for nvidia-driver/nvidia-glx nvidia can't find something and I don't know what because the first part of the message scrolls of the screen- (remember I'm not in xorg yet) if you don't have X yet then I don't think the nvidia drivers will install because they are quite dependant on X. no X required here... hit scroll lock and then PgUp and PgDn this will let you view the scroll back buffer and see what you cannot see. the up and down arrows will work too. -What the newbie here has done so far to help itself- Just as a guess-reinstalled linux_base because I remembered reading on a Just Some Guys 'Blog abut the same problem thinking it couldn't hurt anything since I hadn't installed hardly much of anything- cd /usr/ports/emulators/linux_base. make deinstall make clean make install Ran that for 15 minuts-it ran into some sort of error 1! (repeated 5 times) Undaunted-re- did make etc. Somethng about rpm something not found (cd'd into linux_bas-fc4) ran make install clean-but it says it can't find the ftp servers- Any guesses what I'm doing wrong? install archivers/rpm should fix that but it should know to do it itself. Unless your stuck using that particular dist of linux I would try to gentoo stage3 base. a chroot to the /compat/linux and you can use their portage system to install and update linux apps fairly easy. The reason I got away from linux in the first place was the nightmare of updating it, but at least Gentoo uses a ports system that makes it less of a nightmare. Of course I am biased because I do run Gentoo on my laptop and would want the emulation base to be compatible if I package up native Gentoo apps to my FreeBSD system. -brian About that nvidia-thing here's the messages: libtool cannot find the library /usr/local/lib/libintl.la or undhandled argument in /usr/local/libintl.la gmake[2]:***[dump] Error 1 gmak[2]:leaving director /usr/ports/archivers/rpm/work/rpm-3.0.6/tools gmake[2]:[all-recursive]-Error 1 gmake[1]leaving director /usr/ports/archivers/work/rpm-3.0.6 gmake *** [all-recursive-am- Error 2 Error code 2 Stop in /usr/ports/archivers/rpm Errror code 1 Stop in /usr/ports/archivers/rpm Error code 1 ---snip stop in /usr/ports/emulators/linux_base-fc4 /* Why is it having issues with this? */ Stop in /usr/ports/x11/nvidia-driver. command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall542.0 make reinstall **Fix the installation problem and try again ***Listing failed packages(*skiped/ !FAILED) !xll/driver(install error) packages processed: 0 well it looks like gettext is messed up or rpm can't find the proper library to link to. Try (re)installing gettext. The rest happens because rpm is missing and I think nividia's drivers are packaged as an rpm. I don't know why fedora-core is popping up. perhaps you need to set LINUX_BASE=gentoo in make.conf. I think that is the correct syntax but man make.conf should have the right syntax. I think for whatever reason rpm has something to do with the fedora-core base source. I'm not positive but building it in the past I seem to recall something going on with fedora-core. that or i seem to recall nvidia used a self running and extracting rpm which is linked to fedora core because redhat obviously created the redhat
Re: More newbie questions-again?
backyard [EMAIL PROTECTED] wrote: --- E. Gad wrote: backyard wrote: --- E. Gad wrote: Svein Halvor Halvorsen wrote: Subhro wrote: yourself. However remember to cvsup your ports tree before you start using it to get the required software. Refer to the handbook for understanding how ports work. For most people portsnap would be a better way of updating one's ports tree. Firstly, it's in the base system and thus doesn't require any third party software. Secondly, most newbies find it easier to use. as long as your remember to install it as a port during the install or add it with sysinstall or pkg_add. cvsup-nogui then doing a: make update in /usr/src or /usr/ports will automagically use the default examples and update things. As long as your going from a 6.x base it will continue on Rel_6.x. If you started with 5.x it will continue to update 5.x. Ports will always update to the latest and greatest as it uses a different tag. I find this very easy, I'm also afraid of change. Though portsnap is more secure because it uses encryption and I've heard signs the updates. To each their own though one way of the other updating your SRC and PORTS is an important thing to learn how to do. Svein Halvor Hmm porstnap seemed to have worked ok. I installed the portupgrade suite through pkg_add. Somethings still not happy. Because when took a stab at installing: nvidia-driver nvidia-glx xorg and compat 5 as a dependency for nvidia-driver/nvidia-glx nvidia can't find something and I don't know what because the first part of the message scrolls of the screen- (remember I'm not in xorg yet) if you don't have X yet then I don't think the nvidia drivers will install because they are quite dependant on X. no X required here... hit scroll lock and then PgUp and PgDn this will let you view the scroll back buffer and see what you cannot see. the up and down arrows will work too. -What the newbie here has done so far to help itself- Just as a guess-reinstalled linux_base because I remembered reading on a Just Some Guys 'Blog abut the same problem thinking it couldn't hurt anything since I hadn't installed hardly much of anything- cd /usr/ports/emulators/linux_base. make deinstall make clean make install Ran that for 15 minuts-it ran into some sort of error 1! (repeated 5 times) Undaunted-re- did make etc. Somethng about rpm something not found (cd'd into linux_bas-fc4) ran make install clean-but it says it can't find the ftp servers- Any guesses what I'm doing wrong? install archivers/rpm should fix that but it should know to do it itself. Unless your stuck using that particular dist of linux I would try to gentoo stage3 base. a chroot to the /compat/linux and you can use their portage system to install and update linux apps fairly easy. The reason I got away from linux in the first place was the nightmare of updating it, but at least Gentoo uses a ports system that makes it less of a nightmare. Of course I am biased because I do run Gentoo on my laptop and would want the emulation base to be compatible if I package up native Gentoo apps to my FreeBSD system. -brian About that nvidia-thing here's the messages: libtool cannot find the library /usr/local/lib/libintl.la or undhandled argument in /usr/local/libintl.la gmake[2]:***[dump] Error 1 gmak[2]:leaving director /usr/ports/archivers/rpm/work/rpm-3.0.6/tools gmake[2]:[all-recursive]-Error 1 gmake[1]leaving director /usr/ports/archivers/work/rpm-3.0.6 gmake *** [all-recursive-am- Error 2 Error code 2 Stop in /usr/ports/archivers/rpm Errror code 1 Stop in /usr/ports/archivers/rpm Error code 1 ---snip stop in /usr/ports/emulators/linux_base-fc4 /* Why is it having issues with this? */ Stop in /usr/ports/x11/nvidia-driver. command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall542.0 make reinstall **Fix the installation problem and try again ***Listing failed packages(*skiped/ !FAILED) !xll/driver(install error) packages processed: 0 well it looks like gettext is messed up or rpm can't find the proper library to link to. Try (re)installing gettext. The rest happens because rpm is missing and I think nividia's drivers are packaged as an rpm. I don't know why fedora-core is popping up. perhaps you need to set LINUX_BASE=gentoo in make.conf. I think that is the correct syntax but man make.conf should have the right syntax. I think for whatever reason rpm has something to do with the fedora-core base source. I'm not positive but building it in the past I seem to recall something going on with fedora-core. that or i seem to recall nvidia used a self running and extracting rpm which is linked to fedora core because redhat obviously created the redhat package
Newbie questions
Hello First I was directed to post the here because I posted to the stable mailing list before re-reading what it's purpose is- I apologise-. I am playing with freebsd 6 on a testing box. I Upgraded l from 6.0 to 6.1 because it looked like popular opinion is that it's got a number of improvements After a few false starts and finally figuring what I did wrong it went basicly ok. I went to use sysinstall to install a few usefull looking items however I got a error message: Release 6.1-p3 not found on server What is puzling is if I do essentially the samething: run pkg_add -f from the command line I seem to get some of the packages I wanted-to install. Is this normal? or did I do something wrong? I am not entirely sure how fix this and any assistance is apreciated. (The free-bsd etiquite note statements says I should mention what I have done so far) I have started by using google to see if anyone else has this problem. I haven't found the problem on bulitin boards or the like (not yet anyway-i'll look again in the morning) -thanks - Do you Yahoo!? Get on board. You're invited to try the new Yahoo! Mail. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Newbie questions
Hello, Welcome to the world of FreeBSD. First of all, why are you trying to install binaries? I would say it is wiser to use the port system yourself. However remember to cvsup your ports tree before you start using it to get the required software. Refer to the handbook for understanding how ports work. Thanks and Best Regards Subhro On 8/23/06, E. Gad [EMAIL PROTECTED] wrote: Hello First I was directed to post the here because I posted to the stable mailing list before re-reading what it's purpose is- I apologise-. I am playing with freebsd 6 on a testing box. I Upgraded l from 6.0 to 6.1 because it looked like popular opinion is that it's got a number of improvements After a few false starts and finally figuring what I did wrong it went basicly ok. I went to use sysinstall to install a few usefull looking items however I got a error message: Release 6.1-p3 not found on server What is puzling is if I do essentially the samething: run pkg_add -f from the command line I seem to get some of the packages I wanted-to install. Is this normal? or did I do something wrong? I am not entirely sure how fix this and any assistance is apreciated. (The free-bsd etiquite note statements says I should mention what I have done so far) I have started by using google to see if anyone else has this problem. I haven't found the problem on bulitin boards or the like (not yet anyway-i'll look again in the morning) -thanks - Do you Yahoo!? Get on board. You're invited to try the new Yahoo! Mail. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Subhro Kar Security Engineer iViZ Techno Solutions Pvt. Ltd. Dhanshree Bldg, 1st Floor Plot XI-16, Sector V Salt Lake City 700091 India ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Newbie questions
Subhro wrote: yourself. However remember to cvsup your ports tree before you start using it to get the required software. Refer to the handbook for understanding how ports work. For most people portsnap would be a better way of updating one's ports tree. Firstly, it's in the base system and thus doesn't require any third party software. Secondly, most newbies find it easier to use. Svein Halvor signature.asc Description: OpenPGP digital signature
Newbie questions: 2 of a few.
I've been trying to get FreeBSD 5.4 going on a friend's Celeron and have been doing okay ... until now. Question 1: How do I get automounting of cdroms working? Is it possible in KDE or GNOME, when you put in a cd that the icon just appears on the desktop (like it does in another OS I could name)? Question 2: How do I get FreeBSD to automount a USB drive? I have a Kingston DataTraveller 128MB usb drive. Thanks in advance. Regards, Bruce. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Newbie questions: 2 of a few.
On 3/8/06, Bruce M. Axtens [EMAIL PROTECTED] wrote: I've been trying to get FreeBSD 5.4 going on a friend's Celeron and have been doing okay ... until now. Question 1: How do I get automounting of cdroms working? Is it possible in KDE or GNOME, when you put in a cd that the icon just appears on the desktop (like it does in another OS I could name)? Question 2: How do I get FreeBSD to automount a USB drive? I have a Kingston DataTraveller 128MB usb drive. The Auto Mounter Daemon will do the job.. Start here: http://www.freebsd.org/cgi/man.cgi?query=amd Then go on here: http://www.nber.org/amd.html Thanks in advance. Hope this helps. Regards, Bruce. -- Pietro Cerutti [EMAIL PROTECTED] Non lasciar calpestare i TUOI diritti! Don't let 'em take YOUR rights! NO al Trusted Computing! Say NO to Trusted Computing! www.no1984.org www.againsttcpa.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Newbie Questions
On Fri, 2005-10-07 at 20:00 -0500, Kevin Kinsey wrote: makisupa wrote: Been using Linux awhile...recently migrated a laptop to FreeBSD. Its a bit old and BSD runs nicely on the deprecated hardware. I am using 6.0-BETA 5 despite warning to the contrary because my atheros based wifi card works well -- i had all kinds of trouble in 5.4. Running gnome 2.12. My newbie questions: 1. I am pretty sure that FAM is not running. The newest version of the package is installed. I followed the directions from the gnome FAQ and the pkg_message. 'killall -HUP inetd' gives me 'no matching processes were found.' What does `ps -aux | grep inetd` tell you? Inetd doesn't run unless enabled in /etc/rc.conf... and IIRC (I've switched to xfce4 from Gnome2), fam runs from inetd, so that could be a root (no pun intended) cause of these issues, perhaps? IANAE OK...after a reading up a bit more i did a 'make deinstall' and 'make reinstall' of the /devel/fam port. Before this the output of 'ps -aux | grep inetd' as user was: makisupa 3330 0.0 0.1 512 392 p0 R+8:45PM 0:00.00 grep inetd There was no output as root. Now there is no output as user and as root the output is: root 1895 0.0 0.0 348 228 p0 L+1:04PM 0:00.00 grep inetd Still getting FAM errors and same weirdness...starting to drive me nuts! Thanks everyone for your help... mak ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Newbie Questions
Been using Linux awhile...recently migrated a laptop to FreeBSD. Its a bit old and BSD runs nicely on the deprecated hardware. I am using 6.0-BETA 5 despite warning to the contrary because my atheros based wifi card works well -- i had all kinds of trouble in 5.4. Running gnome 2.12. My newbie questions: 1. I am pretty sure that FAM is not running. The newest version of the package is installed. I followed the directions from the gnome FAQ and the pkg_message. 'killall -HUP inetd' gives me 'no matching processes were found.' When i launch something like gnome-menu-editor i get a 'failed to connect to the FAM server' message in the terminal. Similiarly, whenever i gedit a file su'd as root i get a 'gnomeUI-WARNING **: While connecting to the session manage: authentication rejected, reason: None of the authentication protocols specified are supported and host based authentication failed.' Please help...its very annoying as the gnome does not update worth a damn as you move, add, and delete files. I realize the instructions were for gnome 2.10 and i probably missed something obvious. 2. Is there a way to turn DMA on for a certain device or devices and not every ATAPI drive? I got permissions and whatnot straight to allow a users to mount CD/DVD drives -- my CD drive does not work correctly in DMA mode. BUT, i will need DMA in order to play DVDs correctly (see below). I passed the hw.ata.atapi_dma=1 option in my /boot/loader.conf file. is there a option i can pass that only enables DMA on my acd1 (dvd) and ad0 (hd) but NOT acd0 (CD)? 3. DVD playback. Just trying to use the totem default in my gnome install. I get a 'failed to retrieve capabilities of device /dev/acd1: inappropriate ioctl for device'. I've googled the hell out of this and came up with little helpful info. Any ideas? Thanks for your help. I think i'm doing fairly well for only running BSD for a couple of days...but if i could get these minor things straightened out i'd be set (and have a rockin' little laptop). FreeBSD definately seems more intuitive than most of the linux distros i've used... Thanks, Mak. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Newbie Questions
makisupa wrote: Been using Linux awhile...recently migrated a laptop to FreeBSD. Its a bit old and BSD runs nicely on the deprecated hardware. I am using 6.0-BETA 5 despite warning to the contrary because my atheros based wifi card works well -- i had all kinds of trouble in 5.4. Running gnome 2.12. My newbie questions: 1. I am pretty sure that FAM is not running. The newest version of the package is installed. I followed the directions from the gnome FAQ and the pkg_message. 'killall -HUP inetd' gives me 'no matching processes were found.' What does `ps -aux | grep inetd` tell you? Inetd doesn't run unless enabled in /etc/rc.conf... and IIRC (I've switched to xfce4 from Gnome2), fam runs from inetd, so that could be a root (no pun intended) cause of these issues, perhaps? IANAE When i launch something like gnome-menu-editor i get a 'failed to connect to the FAM server' message in the terminal. Similiarly, whenever i gedit a file su'd as root i get a 'gnomeUI-WARNING **: While connecting to the session manage: authentication rejected, reason: None of the authentication protocols specified are supported and host based authentication failed.' Please help...its very annoying as the gnome does not update worth a damn as you move, add, and delete files. I realize the instructions were for gnome 2.10 and i probably missed something obvious. 2. Is there a way to turn DMA on for a certain device or devices and not every ATAPI drive? I got permissions and whatnot straight to allow a users to mount CD/DVD drives -- my CD drive does not work correctly in DMA mode. BUT, i will need DMA in order to play DVDs correctly (see below). I passed the hw.ata.atapi_dma=1 option in my /boot/loader.conf file. is there a option i can pass that only enables DMA on my acd1 (dvd) and ad0 (hd) but NOT acd0 (CD)? Hrm, I'm not much good from here out. I note that there are two sysctl's hw.ata.ata.dma and hw.ata.atapi.dma, dunno if that'd help. Maybe see ata(4) for a little more detail. Being as the DVD and CD are on the same bus, I'd say it's not too likely, but, again, IANAE 3. DVD playback. Just trying to use the totem default in my gnome install. I get a 'failed to retrieve capabilities of device /dev/acd1: inappropriate ioctl for device'. I've googled the hell out of this and came up with little helpful info. Any ideas? Thanks for your help. I think i'm doing fairly well for only running BSD for a couple of days...but if i could get these minor things straightened out i'd be set (and have a rockin' little laptop). FreeBSD definately seems more intuitive than most of the linux distros i've used... Thanks, Mak. Best o' luck, Kevin Kinsey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Newbie Questions
Added inetd_enable=YES to rc.conf and made sure the rest of the steps from the pkg-message where followed. 'killall -HUP inetd' does not give an error. the output of 'ps -aux | grep inetd' (as user, no output as root): makisupa 3330 0.0 0.1 512 392 p0 R+8:45PM 0:00.00 grep inetd So i missed something real obvious, inetd not running, but its still not working...same behavior as before (after a reboot). Thanks for your help (it is truly appreciated), Mak On Fri, 2005-10-07 at 20:00 -0500, Kevin Kinsey wrote: makisupa wrote: Been using Linux awhile...recently migrated a laptop to FreeBSD. Its a bit old and BSD runs nicely on the deprecated hardware. I am using 6.0-BETA 5 despite warning to the contrary because my atheros based wifi card works well -- i had all kinds of trouble in 5.4. Running gnome 2.12. My newbie questions: 1. I am pretty sure that FAM is not running. The newest version of the package is installed. I followed the directions from the gnome FAQ and the pkg_message. 'killall -HUP inetd' gives me 'no matching processes were found.' What does `ps -aux | grep inetd` tell you? Inetd doesn't run unless enabled in /etc/rc.conf... and IIRC (I've switched to xfce4 from Gnome2), fam runs from inetd, so that could be a root (no pun intended) cause of these issues, perhaps? IANAE When i launch something like gnome-menu-editor i get a 'failed to connect to the FAM server' message in the terminal. Similiarly, whenever i gedit a file su'd as root i get a 'gnomeUI-WARNING **: While connecting to the session manage: authentication rejected, reason: None of the authentication protocols specified are supported and host based authentication failed.' Please help...its very annoying as the gnome does not update worth a damn as you move, add, and delete files. I realize the instructions were for gnome 2.10 and i probably missed something obvious. 2. Is there a way to turn DMA on for a certain device or devices and not every ATAPI drive? I got permissions and whatnot straight to allow a users to mount CD/DVD drives -- my CD drive does not work correctly in DMA mode. BUT, i will need DMA in order to play DVDs correctly (see below). I passed the hw.ata.atapi_dma=1 option in my /boot/loader.conf file. is there a option i can pass that only enables DMA on my acd1 (dvd) and ad0 (hd) but NOT acd0 (CD)? Hrm, I'm not much good from here out. I note that there are two sysctl's hw.ata.ata.dma and hw.ata.atapi.dma, dunno if that'd help. Maybe see ata(4) for a little more detail. Being as the DVD and CD are on the same bus, I'd say it's not too likely, but, again, IANAE 3. DVD playback. Just trying to use the totem default in my gnome install. I get a 'failed to retrieve capabilities of device /dev/acd1: inappropriate ioctl for device'. I've googled the hell out of this and came up with little helpful info. Any ideas? Thanks for your help. I think i'm doing fairly well for only running BSD for a couple of days...but if i could get these minor things straightened out i'd be set (and have a rockin' little laptop). FreeBSD definately seems more intuitive than most of the linux distros i've used... Thanks, Mak. Best o' luck, Kevin Kinsey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Newbie Questions
Hi, I've got a couple of questions I was hoping someone could help me with: - I've got an (extremely old) HP Scanjet 4c Scanner hooked up via an Adaptec SCSI card to my system. Freebsd seems to recognize this scanner at boot: May 17 20:48:36 cronus kernel: pass0 at ahc0 bus 0 target 2 lun 0 May 17 20:48:36 cronus kernel: pass0: HP C2520A 3503 Fixed Processor SCSI-2 device May 17 20:48:36 cronus kernel: pass0: 3.300MB/s transfers Would you know of any software (preferably under gnome/X that I can use to operate this scanner)? - Secondly, I've also got a NEC IDE DVD-RW drive hooked up which the system recognizes fine. What software can I use to burn DVDs? All I'm looking for is some software (preferably also under X/gnome) that would allow me to make backup DVD's of files I have on the drive (i.e. Data DVDs). - Finally, I've just installed gnome and when it starts up, I get the following error: No volume control elements and/or devices found. The A8V Motherboard on which the system is installed has an inbuilt 8.0 sound card. Is there any way I can test this is working under Freebsd. Provided this is the case, how can I eliminate the error in gnome? Thanks for all your help. Joe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Newbie Questions
Joseph Borg wrote: Hi, I've got a couple of questions I was hoping someone could help me with: [snip] - Finally, I've just installed gnome and when it starts up, I get the following error: No volume control elements and/or devices found. The A8V Motherboard on which the system is installed has an inbuilt 8.0 sound card. Is there any way I can test this is working under Freebsd. Provided this is the case, how can I eliminate the error in gnome? Can't answer your first couple of questions, but I know from solving this for myself over the weekend that this one should just require getting the correct kernel module loaded for your sound card. See http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html For me, it was as simple as running the sound driver meta loader kldload snd_driver to see if my card would fly at all, and then looking at dmesg to see that the meta loader was finding device pcm0 and from there figuring out which sound module I needed to load from /boot/loader.conf with my_modname_load=YES (can't remember the actual module name I used) Then boot, and Gnome starts up happy (just like me every time I boot FreeBSD ;-). -- Greg Barniskis, Computer Systems Integrator South Central Library System (SCLS) Library Interchange Network (LINK) gregb at scls.lib.wi.us, (608) 266-6348 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Newbie Questions
On Tue, May 17, 2005 at 09:58:51PM +0200, Joseph Borg wrote: Hi, I've got a couple of questions I was hoping someone could help me with: - I've got an (extremely old) HP Scanjet 4c Scanner hooked up via an Adaptec SCSI card to my system. Freebsd seems to recognize this scanner at boot: May 17 20:48:36 cronus kernel: pass0 at ahc0 bus 0 target 2 lun 0 May 17 20:48:36 cronus kernel: pass0: HP C2520A 3503 Fixed Processor SCSI-2 device May 17 20:48:36 cronus kernel: pass0: 3.300MB/s transfers Would you know of any software (preferably under gnome/X that I can use to operate this scanner)? The 'xsane' port works fine. Also needs the 'sane-backends' port. - Secondly, I've also got a NEC IDE DVD-RW drive hooked up which the system recognizes fine. What software can I use to burn DVDs? All I'm looking for is some software (preferably also under X/gnome) that would allow me to make backup DVD's of files I have on the drive (i.e. Data DVDs). For dvds: 'growisofs' (port), for CD's burncd (part of the distribution) or 'cdrecord' (port). These are command-line programs. cdrecord requires the use of following devices in the kernel: 'atapicam', 'scbus' 'cd' and 'pass'. More info on my FreeBSD page: http://www.xs4all.nl/~rsmith/freebsd/ There are several GUIs for cdrecord, e.g. k3b (KDE) and gcombust (GTK). Nautilus can also burn CDs with the nautilus-cd-burner port. Try searching freshmeat.net. - Finally, I've just installed gnome and when it starts up, I get the following error: No volume control elements and/or devices found. The A8V Motherboard on which the system is installed has an inbuilt 8.0 sound card. Is there any way I can test this is working under Freebsd. Provided this is the case, how can I eliminate the error in gnome? If you issue the 'mixer' command in a terminal, what kind of output do you get? It should look something like: $ mixer Mixer vol is currently set to 75:75 Mixer pcm is currently set to 58:58 Mixer speaker is currently set to 75:75 Mixer line is currently set to 75:75 Mixer mic is currently set to 0:0 Mixer cd is currently set to 75:75 Mixer rec is currently set to 0:0 Mixer ogainis currently set to 50:50 Mixer line1is currently set to 75:75 Mixer phin is currently set to 0:0 Mixer phoutis currently set to 0:0 Recording source: mic If not, there are several things that could be wrong, and it depends on the error you get. Check that you have sufficient permissions on /dev/mixer (should be crw-rw-rw-) HTH, Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpdNdVfJuSCt.pgp Description: PGP signature
RE: scanner software, dvd software, Gnome sound problem (was: Newbie Questions)
Hi Bob, Thanks for the info :) I've never used it, but the standard answer seems to be SANE: /usr/ports/graphics/xsane /usr/ports/graphics/sane-frontends - I've installed it; now I'll try and figure out how to use it. Shouldn't be a problem I guess. - Secondly, I've also got a NEC IDE DVD-RW drive hooked up which the system recognizes fine. What software can I use to burn DVDs? All I'm looking for is some software (preferably also under X/gnome) that would allow me to make backup DVD's of files I have on the drive (i.e. Data DVDs). I use dvd+rw-tools (which is not limited to dvd+rw devices, that's just how it started life): /usr/ports/sysutils/dvd+rw-tools - I've installed this tool. Which binary in particular should I use (e.g. to copy a directory to a dvd). The following binaries were installed: dvd+rw-booktype dvd+rw-mediainfo dvdbackup dvd+rw-format dvd-ram-control dvdnav-config The summary is, edit /boot/loader.conf to add the line kldload snd_driver, then reboot. That loads most of the sound card drivers, so it will probably get it working, although not in the most efficient manner. I'm assuming you are using FreeBSD 5.x, under 4.x the answer may be different. - Yep, this seems to have done the trick. At least a VIA driver is loading, now I'll test out gnome. It's best to post one question per message, with a descriptive subject line. Someone who knows the answer is more likely to notice it that way. - Will keep in mind. Thanks again. Joe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Newbie Questions
Hi Ron, Thanks for your tips. The sound card and mixer look ok now. I've also installed xsane and I'm now figuring out how to use it. As for the DVD, I've search my ports for growisofs however, I cannot find it. Can I download it off anywhere? Thanks, Joe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Newbie Questions
On Wed, May 18, 2005 at 12:01:23AM +0200, Joseph Borg wrote: As for the DVD, I've search my ports for growisofs however, I cannot find it. Can I download it off anywhere? The program is called growisofs, but it's packaged as dvd+rw-tools (in /usr/ports/sysutils). Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgp57tNHMbWET.pgp Description: PGP signature
Re: (cvsup newbie questions)
On Sat, 18 Dec 2004 21:09:00 -0600, Nikolas Britton [EMAIL PROTECTED] wrote: Joshua Tinnin wrote: Well, if you build a port with make options once, then it will remember your make options. Otherwise, you can enter make arguments in /etc/pkgtools.conf, although this only helps if you know what arguments the ports you're installing might need. What do you mean it remembers what make options I used... if I do a portupgrade it without setting MAKE_ARGS in pkgtools.conf it will remember my make options from the last time I built it? Also how to I make it unremember make options I don't want anymore? I don't know about that. If I want portupgrade to use custom make flags, I specify them in /usr/local/etc/pkgtools.conf. To remove options from a previous build, you can do: # rm /var/db/ports/portname/options Also, semi related, whats this Generating INDEX-5 - please wait.. thing and why does it take an hour for it to generate? The machine is building the ports collection INDEX-5 file from the make describe output of all of the ports. You can simplify this process by doing 'make fetchindex' after you cvsup each time. -- Joshua Lokken Open Source Advocate ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: (cvsup newbie questions)
On Monday 20 December 2004 06:08 am, Joshua Lokken [EMAIL PROTECTED] wrote: On Sat, 18 Dec 2004 21:09:00 -0600, Nikolas Britton [EMAIL PROTECTED] wrote: Joshua Tinnin wrote: Well, if you build a port with make options once, then it will remember your make options. Otherwise, you can enter make arguments in /etc/pkgtools.conf, although this only helps if you know what arguments the ports you're installing might need. What do you mean it remembers what make options I used... if I do a portupgrade it without setting MAKE_ARGS in pkgtools.conf it will remember my make options from the last time I built it? Also how to I make it unremember make options I don't want anymore? I don't know about that. If I want portupgrade to use custom make flags, I specify them in /usr/local/etc/pkgtools.conf. To remove options from a previous build, you can do: # rm /var/db/ports/portname/options IIRC, pkgtools.conf only works with the pkgtools apps, like portupgrade. I don't think it works with making the port from the tree itself (like if you cd to the folder and make install clean), but options you use in building it from the ports tree will be stored in /var/db/ports/portname/options, as mentioned above. This is what I meant by remembered. Also, semi related, whats this Generating INDEX-5 - please wait.. thing and why does it take an hour for it to generate? The machine is building the ports collection INDEX-5 file from the make describe output of all of the ports. You can simplify this process by doing 'make fetchindex' after you cvsup each time. Yes, although you should cd /usr/ports before you do that. I guess the way people are doing this now is cvsup ports, cd /usr/ports make fetchindex portsdb -u (this last step will be done automatically when it needs to be done, but you can do it anyway after a ports tree update). You can also use /usr/ports/sysutils/p5-FreeBSD-Portindex , which speeds up the process of making a new INDEX locally. - jt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: (cvsup newbie questions)
On Mon, 20 Dec 2004 08:13:05 -0800, Joshua Tinnin [EMAIL PROTECTED] IIRC, pkgtools.conf only works with the pkgtools apps, like portupgrade. I don't think it works with making the port from the tree itself (like if you cd to the folder and make install clean), but options you use in building it from the ports tree will be stored in /var/db/ports/portname/options, as mentioned above. This is what I meant by remembered. Yes, correct. Also, semi related, whats this Generating INDEX-5 - please wait.. thing and why does it take an hour for it to generate? The machine is building the ports collection INDEX-5 file from the make describe output of all of the ports. You can simplify this process by doing 'make fetchindex' after you cvsup each time. Yes, although you should cd /usr/ports before you do that. I guess the way people are doing this now is cvsup ports, cd /usr/ports make fetchindex portsdb -u (this last step will be done automatically when it needs to be done, but you can do it anyway after a ports tree update). You can also use /usr/ports/sysutils/p5-FreeBSD-Portindex , which speeds up the process of making a new INDEX locally. Ah, yes, it does help to be in /usr/ports when one runs 'make fetchindex'. -- Joshua Lokken Open Source Advocate ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup newbie questions
Kevin Smith wrote: 1) is there a test utility that I can run that will tell me which cvsup mirror server will be fastest ? I did this the manual way by pinging a few and looking at the ave times coming back. There's a port out there called fastest_cvsup which is supposed to do exactly that. Personally I've never used it so I can't give any further comments. 2) If I do update (src-all) using 5.3-RELENG tag is my version still called 5.3-RELEASE ? - or is it now some new release of that (ie like 5.3.1 ?)...I guess my question is: Are all updates of 5.3-RELEASE source still called 5.3-RELEASE. If you use RELENG_5_3 tag, you'll get 5.3-RELEASE-pN where N is a number which increases with every security update. Right now you would get 5.3-RELEASE-p2. If you use RELENG_5, you'll get 5.N-STABLE, where N is a number which increases after every release from the RELENG_5 branch. Right now you would get 5.3-STABLE. 3) After my cvsup of the ports collection completes updating, is there any easy way to check which ports were updated ? Using portupgrade you can check which of the ports you have installed were updated. But again, since I personally don't use portupgrade, I can't give you any furhter details on that. There should be more than you want to know about it in the list archives. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup newbie questions
On Saturday 18 December 2004 01:20 am, Toomas Aas [EMAIL PROTECTED] wrote: Kevin Smith wrote: 1) is there a test utility that I can run that will tell me which cvsup mirror server will be fastest ? I did this the manual way by pinging a few and looking at the ave times coming back. There's a port out there called fastest_cvsup which is supposed to do exactly that. Personally I've never used it so I can't give any further comments. /usr/ports/sysutils/fastest_cvsup/ - It works well; it's very simple. One way to use it is like this in a script (if you live in the US - if not, change the country code flag for fastest_cvsup): #!/bin/sh # find fastest server SERVER=`/usr/local/bin/fastest_cvsup -q -c us` if [ ${SERVER} != ]; then # update ports tree /usr/local/bin/cvsup -h $SERVER /path/to/ports-supfile fi 2) If I do update (src-all) using 5.3-RELENG tag is my version still called 5.3-RELEASE ? - or is it now some new release of that (ie like 5.3.1 ?)...I guess my question is: Are all updates of 5.3-RELEASE source still called 5.3-RELEASE. If you use RELENG_5_3 tag, you'll get 5.3-RELEASE-pN where N is a number which increases with every security update. Right now you would get 5.3-RELEASE-p2. If you use RELENG_5, you'll get 5.N-STABLE, where N is a number which increases after every release from the RELENG_5 branch. Right now you would get 5.3-STABLE. 3) After my cvsup of the ports collection completes updating, is there any easy way to check which ports were updated ? Using portupgrade you can check which of the ports you have installed were updated. But again, since I personally don't use portupgrade, I can't give you any furhter details on that. There should be more than you want to know about it in the list archives. /usr/ports/sysutils/portupgrade/ Portupgrade also works well, especially in updating recursive dependencies. Most of the time, a port can easily be updated without incident along with its dependencies by checking for out-of-date ports: # portversion -v | grep needs And then upgrading: # portupgrade -rR name-of-port I use it all the time, as do quite a lot of other people. Here's an excellent tutorial by Dru Lavigne: http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html?page=1 Check out the rest of her FreeBSD articles here: http://www.onlamp.com/pub/ct/15 - jt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup newbie questions
On Dec 18, 2004, at 12:43 AM, Kevin Smith wrote: Thanks for the tips. For the moment, I'm leaving the OS sources alone and I'm updating the ports collection because my goal is to update gnome to version 2.8. The OS seems to be fine - although I'm sure there are additional bug fixes I can benefit from - but I'm a little scared to go through the build kernel/world thing right now - especially since everything is running nicely. (I have not had the OS crash in the 2 months since I've installed it - it has run continously -yet my linux 2.6 installation crashed regularly). I do have a few additional questions... 1) is there a test utility that I can run that will tell me which cvsup mirror server will be fastest ? I did this the manual way by pinging a few and looking at the ave times coming back. 2) If I do update (src-all) using 5.3-RELENG tag is my version still called 5.3-RELEASE ? - or is it now some new release of that (ie like 5.3.1 ?)...I guess my question is: Are all updates of 5.3-RELEASE source still called 5.3-RELEASE. 3) After my cvsup of the ports collection completes updating, is there any easy way to check which ports were updated ? In answer to your second question, the tag you're probably looking for is RELENG_5_3_RELEASE. This tag will maintain your 5.3 version number, but you'll get any bug fixes for that branch and security fixes. I would strongly recommend you use the RELENG_5_3 tag as this will allow you to do minor upgrades (from 5.3 to 5.3.1, for example). This will give you the best option, as you remain in the 5.3 branch, but you benefit from all the available improvements and bug fixes. HTH ___ Eric F Crist I am so smart, S.M.R.T! Secure Computing Networks -Homer J Simpson PGP.sig Description: This is a digitally signed message part
Re: cvsup newbie questions
On Friday 17 December 2004 21:11, Kevin Smith wrote: I'm interested in upgrading to gnome 2.8 (and possibly the newer releases of other applications) Gnome is one of the most troublesome metaports to upgrade. See http://www.freebsd.org/gnome/ for advice on upgrading. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: (cvsup newbie questions)
Joshua Tinnin wrote: Well, if you build a port with make options once, then it will remember your make options. Otherwise, you can enter make arguments in /etc/pkgtools.conf, although this only helps if you know what arguments the ports you're installing might need. What do you mean it remembers what make options I used... if I do a portupgrade it without setting MAKE_ARGS in pkgtools.conf it will remember my make options from the last time I built it? Also how to I make it unremember make options I don't want anymore? Also, semi related, whats this Generating INDEX-5 - please wait.. thing and why does it take an hour for it to generate? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cvsup newbie questions
I'm interested in upgrading to gnome 2.8 (and possibly the newer releases of other applications)...I'm running the following version of freebsd: 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 In starting to learn cvsup, I'm trying to figure out what I need. The src-all collection seems like it is more than I want to update. Freebsd seems to be working fine on my system and I don't think that I want to upgrade any kernel or OS-related programs unless any applications that I would want depend on it. So, if I am just interested in the latest fixes/version for applications running on 5.3-Release, should I just upgrade the ports collection ? There is an example supfile in /usr/share/examples/cvsup/ports-supfile. Would this be the best configuration to use ? Also, when I do upgrade the ports tree, I'm assuming it will just upgrade the skeleton tree, correct ? Even if I do upgrade src-all, its not going to down load the .tar files for all the source code ? Thanks -K ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup newbie questions
On Fri, 17 Dec 2004 13:11:18 -0800, Kevin Smith [EMAIL PROTECTED] wrote: I'm interested in upgrading to gnome 2.8 (and possibly the newer releases of other applications)...I'm running the following version of freebsd: 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 In starting to learn cvsup, I'm trying to figure out what I need. The src-all collection seems like it is more than I want to update. Freebsd seems to be working fine on my system and I don't think that I want to upgrade any kernel or OS-related programs unless any applications that I would want depend on it. So, if I am just interested in the latest fixes/version for applications running on 5.3-Release, should I just upgrade the ports collection ? There is an example supfile in /usr/share/examples/cvsup/ports-supfile. Would this be the best configuration to use ? Also, when I do upgrade the ports tree, I'm assuming it will just upgrade the skeleton tree, correct ? Even if I do upgrade src-all, its not going to down load the .tar files for all the source code ? The src tree, which gets updated if you cvsup src-all is the source code to rebuild the operating system. The ports tree is, you're correct, the skeletons for building third party software, which includes gnome. If you want to install the latest version of gnome, you should cvsup the ports tree (ports-all), then cd into the directory for the gnome meta-port (it builds gnome and alot of associated apps) and build it, like so: # cd /usr/ports/x11/gnome2 # make install clean Go away on a vacation for the holidays, and when you get back, you _should_ have gnome built and installed, along with alot of goodies. As you're running 5.3-RELEASE, I don't believe most applications will require a system update, however, if you want to track security and critical patches to the OS, then you will want to cvsup the src tree (src-all) and use the RELENG_5_3 tag in your src-supfile. You should read: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html HTH, -- Joshua Lokken Open Source Advocate ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: cvsup newbie questions
[snip] If you want to install the latest version of gnome, you should cvsup the ports tree (ports-all), then cd into the directory for the gnome meta-port (it builds gnome and alot of associated apps) and build it, like so: # cd /usr/ports/x11/gnome2 # make install clean Go away on a vacation for the holidays, and when you get back, you _should_ have gnome built and installed, along with alot of goodies. [snip] Make sure you set BATCH=yes or when you get home you will have a very annoying configuration menu on your screen asking you what you want to install. Good luck, Tom ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup newbie questions
Tom Connolly wrote: [snip] If you want to install the latest version of gnome, you should cvsup the ports tree (ports-all), then cd into the directory for the gnome meta-port (it builds gnome and alot of associated apps) and build it, like so: # cd /usr/ports/x11/gnome2 # make install clean there is also gnome2-lite, gnome2-fifth-toe, gnome2-office, and gnome2-power-tools Make sure you set BATCH=yes or when you get home you will have a very annoying configuration menu on your screen asking you what you want to install. set BATCH=yes where and what does it do with the optional make options, esp for meta ports? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: cvsup newbie questions
Do a make BATCH=yes install clean Then it is set for all meta ports as well. I had to find this out the hard way. It took 3 days to install Gnome. I kept coming back to a menu configuration screen. Tom -Original Message- From: Nikolas Britton [mailto:[EMAIL PROTECTED] Sent: Friday, December 17, 2004 3:17 PM To: Tom Connolly Cc: 'Joshua Lokken'; 'Kevin Smith'; [EMAIL PROTECTED] Subject: Re: cvsup newbie questions Tom Connolly wrote: [snip] If you want to install the latest version of gnome, you should cvsup the ports tree (ports-all), then cd into the directory for the gnome meta-port (it builds gnome and alot of associated apps) and build it, like so: # cd /usr/ports/x11/gnome2 # make install clean there is also gnome2-lite, gnome2-fifth-toe, gnome2-office, and gnome2-power-tools Make sure you set BATCH=yes or when you get home you will have a very annoying configuration menu on your screen asking you what you want to install. set BATCH=yes where and what does it do with the optional make options, esp for meta ports? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup newbie questions
On Friday 17 December 2004 01:11 pm, Kevin Smith [EMAIL PROTECTED] wrote: I'm interested in upgrading to gnome 2.8 (and possibly the newer releases of other applications)...I'm running the following version of freebsd: 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 In starting to learn cvsup, I'm trying to figure out what I need. The src-all collection seems like it is more than I want to update. Freebsd seems to be working fine on my system and I don't think that I want to upgrade any kernel or OS-related programs unless any applications that I would want depend on it. Most of your questions have already been answered, but I thought it might be worth emphasizing a couple of things. First, unless you know exactly why you want to update only part of your sources, and you know exactly what those sources contain, then it's probably best to update all your sources. This is because a buildworld or build kernel could fail if you only update part of your sources and there are old versions of other files hanging around, or it could cause other issues even if it builds and installs. So, if I am just interested in the latest fixes/version for applications running on 5.3-Release, should I just upgrade the ports collection ? No, the ports collection is the collection of 3rd-party apps' Makefiles and patches - it just simplifies installing applications. To accomplish what you want, you should cvsup src-all with RELENG_5_3: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html , which, after a complete build, installworld and kernel: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html , should bring you up to patchlevel 2. This would be a good idea in general, as vulnerabilities in fetch and procfs have been fixed (you can subscribe to security alerts here: http://lists.freebsd.org/mailman/listinfo/freebsd-security-notifications ). You can also customize your kernel config file before you do this: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html There is an example supfile in /usr/share/examples/cvsup/ports-supfile. Would this be the best configuration to use ? You should use that for updating your ports tree, which you can or should do before upgrading and/or installing apps. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html?page=1 http://www.onlamp.com/pub/a/bsd/2003/08/07/FreeBSD_Basics.html You can also install apps the traditional way, but the ports system is fairly reliable, although it has its quirks (which is to be expected with 12,000+ port entries). Also, when I do upgrade the ports tree, I'm assuming it will just upgrade the skeleton tree, correct ? Right, and the Makefiles and patches, but not the sources. Those can be fetched by themselves with various installation switches, and that's also done automatically when compiling and installing apps through ports. Even if I do upgrade src-all, its not going to down load the .tar files for all the source code ? It will download all the source code for FreeBSD, which you should do if you're going to rebuild for an update. You can keep it there afterwards for future upgrades or refinements (in /usr/src) unless space is a serious consideration. - jt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup newbie questions
Whoops ... I misunderstood you ... On Friday 17 December 2004 02:58 pm, Joshua Tinnin [EMAIL PROTECTED] wrote: On Friday 17 December 2004 01:11 pm, Kevin Smith [EMAIL PROTECTED] wrote: snip So, if I am just interested in the latest fixes/version for applications running on 5.3-Release, should I just upgrade the ports collection ? No, the ports collection is the collection of 3rd-party apps' Makefiles and patches - it just simplifies installing applications. So, yes, if you're just interested in fixes for apps, then update the ports collection. Still, I recommend updating to the latest sources for any RELEASE, as most of the time the fixes are truly important for most users, and they won't disrupt your system other than the actual building and installing (well, if it can possibly be avoided, but in this case you won't notice any difference). Also, once you have the source, then updating with src-all with your RELEASE tag will only update critical fixes, not all the sources over again. It's also possible to patch your system manually by fine-tuning the sources you want with cvsup and then just rebuilding that part, or without using cvsup at all (using patch(1)), but if you're not familiar with that, then start with updating the complete system through these steps (briefly): cvsup your source, mergemaster -p, buildworld, build kernel, install kernel, reboot into single user, installworld and mergemaster. It's a bit of a trick the first time if you're not familiar with it, but the handbook walks you through it, and it's not as scary as it might sound. Just do it exactly the way they say, and *don't skip anything*, and you should be fine. If not, you can always ask here. BTW, I personally recommend not using the -j switch when doing buildworld. The handbook warns that it's not supported, although plenty of people use it anyway and later come here with related problems, so it might save headaches if you don't mess with it until and unless you want to try it for testing. - jt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup newbie questions
Tom Connolly wrote: Do a make BATCH=yes install clean Then it is set for all meta ports as well. I had to find this out the hard way. It took 3 days to install Gnome. I kept coming back to a menu configuration screen. Tom Yes I kinda guess that it was a make option (the small yes gave it away) but how does it know what make options I what compiled in? and the same for meta-ports, when there's crap loads of programs installed (gnome)? For example, how would it know that I wanted to build firefox with -O2 and newicons options? I'm guessing when installing a single port it would be easy to look at the make file and set the make options you want (like make FOOBAR=yes BATCH=yes install clean) but there's not much sense in doing that for a single port install, I don't understand how I would set the make options for a meta-port let alone even find them all with all the ports that get installed when doing meta ports, heck, on my computer alone theres 332 ports installed, I'm still trying to figure them all out so I can set them in portupgrades config file, how do I manage all this crap?? and on top of that I don't even know what 4/5th's of those ports are even for. and why can't we have statically linked (or what ever its called) so we don't have to install all these f'ing build and run time dependencies and have every thing linked to everything else, hard drive space is not an issue now a days? -Original Message- From: Nikolas Britton [mailto:[EMAIL PROTECTED] Sent: Friday, December 17, 2004 3:17 PM To: Tom Connolly Cc: 'Joshua Lokken'; 'Kevin Smith'; [EMAIL PROTECTED] Subject: Re: cvsup newbie questions Tom Connolly wrote: [snip] If you want to install the latest version of gnome, you should cvsup the ports tree (ports-all), then cd into the directory for the gnome meta-port (it builds gnome and alot of associated apps) and build it, like so: # cd /usr/ports/x11/gnome2 # make install clean there is also gnome2-lite, gnome2-fifth-toe, gnome2-office, and gnome2-power-tools Make sure you set BATCH=yes or when you get home you will have a very annoying configuration menu on your screen asking you what you want to install. set BATCH=yes where and what does it do with the optional make options, esp for meta ports? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup newbie questions
On Friday 17 December 2004 03:44 pm, Nikolas Britton [EMAIL PROTECTED] wrote: Tom Connolly wrote: Do a make BATCH=yes install clean Then it is set for all meta ports as well. I had to find this out the hard way. It took 3 days to install Gnome. I kept coming back to a menu configuration screen. Tom Yes I kinda guess that it was a make option (the small yes gave it away) but how does it know what make options I what compiled in? and the same for meta-ports, when there's crap loads of programs installed (gnome)? For example, how would it know that I wanted to build firefox with -O2 and newicons options? Well, if you build a port with make options once, then it will remember your make options. Otherwise, you can enter make arguments in /etc/pkgtools.conf, although this only helps if you know what arguments the ports you're installing might need. I'm guessing when installing a single port it would be easy to look at the make file and set the make options you want (like make FOOBAR=yes BATCH=yes install clean) but there's not much sense in doing that for a single port install, I don't understand how I would set the make options for a meta-port let alone even find them all with all the ports that get installed when doing meta ports, heck, on my computer alone theres 332 ports installed, I'm still trying to figure them all out so I can set them in portupgrades config file, how do I manage all this crap?? Well, I do understand, as there's a lot of stuff that gets installed with many meta-ports for dependency reasons that you probably don't need all that much, but some of it you do need. Some of it is just libraries, and others are applications that don't have any other purpose but to do something really simple, but many programs need it, while others are programming languages that some programs are written in. and on top of that I don't even know what 4/5th's of those ports are even for. and why can't we have statically linked (or what ever its called) so we don't have to install all these f'ing build and run time dependencies and have every thing linked to everything else, hard drive space is not an issue now a days? Well, that's an issue with the developers of those various ports and sometimes the committers, and I grant that the ports system isn't perfect, but, honestly, it's a good idea to at least be familiar with the purpose of what's installed on your system, even if you don't have it all memorized. Like you can do a pkg_info -a and read up on what you don't understand. Yes, there's a lot there (you don't have to read it all at once), but FreeBSD is also not necessarily meant to be used carelessly. What I mean is that, while it's frustrating sometimes to scrutinize all the ports in a meta-port, or even all the installed ports on your system, it's a good idea to know what's going on with your system, particularly before you make changes to it by installing software. - jt -Original Message- From: Nikolas Britton [mailto:[EMAIL PROTECTED] Sent: Friday, December 17, 2004 3:17 PM To: Tom Connolly Cc: 'Joshua Lokken'; 'Kevin Smith'; [EMAIL PROTECTED] Subject: Re: cvsup newbie questions Tom Connolly wrote: [snip] If you want to install the latest version of gnome, you should cvsup the ports tree (ports-all), then cd into the directory for the gnome meta-port (it builds gnome and alot of associated apps) and build it, like so: # cd /usr/ports/x11/gnome2 # make install clean there is also gnome2-lite, gnome2-fifth-toe, gnome2-office, and gnome2-power-tools Make sure you set BATCH=yes or when you get home you will have a very annoying configuration menu on your screen asking you what you want to install. set BATCH=yes where and what does it do with the optional make options, esp for meta ports? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup newbie questions
Thanks for the tips. For the moment, I'm leaving the OS sources alone and I'm updating the ports collection because my goal is to update gnome to version 2.8. The OS seems to be fine - although I'm sure there are additional bug fixes I can benefit from - but I'm a little scared to go through the build kernel/world thing right now - especially since everything is running nicely. (I have not had the OS crash in the 2 months since I've installed it - it has run continously -yet my linux 2.6 installation crashed regularly). I do have a few additional questions... 1) is there a test utility that I can run that will tell me which cvsup mirror server will be fastest ? I did this the manual way by pinging a few and looking at the ave times coming back. 2) If I do update (src-all) using 5.3-RELENG tag is my version still called 5.3-RELEASE ? - or is it now some new release of that (ie like 5.3.1 ?)...I guess my question is: Are all updates of 5.3-RELEASE source still called 5.3-RELEASE. 3) After my cvsup of the ports collection completes updating, is there any easy way to check which ports were updated ? Joshua Tinnin wrote: Whoops ... I misunderstood you ... On Friday 17 December 2004 02:58 pm, Joshua Tinnin [EMAIL PROTECTED] wrote: On Friday 17 December 2004 01:11 pm, Kevin Smith [EMAIL PROTECTED] wrote: snip So, if I am just interested in the latest fixes/version for applications running on 5.3-Release, should I just upgrade the ports collection ? No, the ports collection is the collection of 3rd-party apps' Makefiles and patches - it just simplifies installing applications. So, yes, if you're just interested in fixes for apps, then update the ports collection. Still, I recommend updating to the latest sources for any RELEASE, as most of the time the fixes are truly important for most users, and they won't disrupt your system other than the actual building and installing (well, if it can possibly be avoided, but in this case you won't notice any difference). Also, once you have the source, then updating with src-all with your RELEASE tag will only update critical fixes, not all the sources over again. It's also possible to patch your system manually by fine-tuning the sources you want with cvsup and then just rebuilding that part, or without using cvsup at all (using patch(1)), but if you're not familiar with that, then start with updating the complete system through these steps (briefly): cvsup your source, mergemaster -p, buildworld, build kernel, install kernel, reboot into single user, installworld and mergemaster. It's a bit of a trick the first time if you're not familiar with it, but the handbook walks you through it, and it's not as scary as it might sound. Just do it exactly the way they say, and *don't skip anything*, and you should be fine. If not, you can always ask here. BTW, I personally recommend not using the -j switch when doing buildworld. The handbook warns that it's not supported, although plenty of people use it anyway and later come here with related problems, so it might save headaches if you don't mess with it until and unless you want to try it for testing. - jt ___ [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: Sorry for the newbie questions :(
On Thu, Dec 09, 2004 at 12:30:27AM -0600, Eric Schuele wrote: Kris Kennaway wrote: I read a lot about cvsup and other stuff, but it seems very confusing to me. I cannot understand the whole picture. My question is: how can i import a *single* port ? You cannot do this safely, because how do you know which other single ports must also be updated along with it in order for it to be buildable? I'm relatively new so please bear with me I have installed 5.3-RELEASE ... and did a 'make install clean' for all ports of interest. Then firefox and thunderbird (for example) came out with v1.0. So I did a 'make deinstall clean' for each. Downloaded the newest version of the contents of those directories from freebsd.org (using browser b4 I deinstalled and placed in temp dir) and copied it in there myself. The did a 'make install clean' for each. But... given your comments above... am I headed for disaster down the road if I continue to 'upgrade' ports in this fasion? Sooner or later you'll run into problems unless you're very careful. e.g. the next firefox version might depend on a new version of the libfoo port, so you'd better download the new version of that port before you try and rebuild firefox. This quickly becomes unmananageable to do by hand. It's also very hard to keep up with patches for bugs and security vulnerabilities if you have to remember to download dozens of ports again just in case they've changed. Kris pgpQqEl2tAXa5.pgp Description: PGP signature
Re: Sorry for the newbie questions :(
Kris Kennaway wrote: I read a lot about cvsup and other stuff, but it seems very confusing to me. I cannot understand the whole picture. My question is: how can i import a *single* port ? You cannot do this safely, because how do you know which other single ports must also be updated along with it in order for it to be buildable? I'm relatively new so please bear with me I have installed 5.3-RELEASE ... and did a 'make install clean' for all ports of interest. Then firefox and thunderbird (for example) came out with v1.0. So I did a 'make deinstall clean' for each. Downloaded the newest version of the contents of those directories from freebsd.org (using browser b4 I deinstalled and placed in temp dir) and copied it in there myself. The did a 'make install clean' for each. But... given your comments above... am I headed for disaster down the road if I continue to 'upgrade' ports in this fasion? Thanks, -- Regards, Eric ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Sorry for the newbie questions :(
Hi, I swear i did my home work before addressing to you, but i didn't understood well what i want. 1. I've instaled FreeBSD 5.3 and compiled portaudit as the first port. Portaudit didn't allow me to install apache13-modssl because there is a security problem with the port that comes in the CD. How can i then install apache13-modssl ? 2. I want to install PostgreSQL 8. The port version that is on the CD is 8 beta2, but i see in www.freebsd.org that there is already a port for 8 beta4. How can i import this new port ? I read a lot about cvsup and other stuff, but it seems very confusing to me. I cannot understand the whole picture. My question is: how can i import a *single* port ? 3. Where can i find information about supported hardware ? Namely SATA controlers ? Does FreeBSD suport the Intel ones ? Sorry, for my newbiness :( Any help would be apreciated. -- Mário Gamito Administração de sistemas e desenvolvimento Netual - Multimédia e Telecomunicações, Lda. Rua João Afonso, Nº1 3800-198 Aveiro - Portugal Tel. +351 234 371 431 / Fax. +351 234 371 438 E-mail: [EMAIL PROTECTED] www.netual.pt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sorry for the newbie questions :(
begin quotation of Mário Gamito on 2004-12-07 23:59:33 +: 1. I've instaled FreeBSD 5.3 and compiled portaudit as the first port. Portaudit didn't allow me to install apache13-modssl because there is a security problem with the port that comes in the CD. How can i then install apache13-modssl ? cvsup your ports tree. 2. I want to install PostgreSQL 8. The port version that is on the CD is 8 beta2, but i see in www.freebsd.org that there is already a port for 8 beta4. How can i import this new port ? cvsup your ports tree. I read a lot about cvsup and other stuff, but it seems very confusing to me. I cannot understand the whole picture. My question is: how can i import a *single* port ? Common practice is to cvsup most of the ports tree. The example cvsup documents how to exclude subdirectories of ports you're not going to use (for example, all ports of a different language). If you just want to import a single port, you could either refine your cvsup file so as to only grab that port, or you could browse the CVS repository via the web and grab the appropriate files to place in your ports tree. You should, however, probably just cvsup your ports tree. The example cvsup file is your friend, as is the Handbook section on CVSup. 3. Where can i find information about supported hardware ? Namely SATA controlers ? Does FreeBSD suport the Intel ones ? Look in the Handbook. pgpZ5USd4gLoK.pgp Description: PGP signature
Re: Sorry for the newbie questions :(
On Tue, Dec 07, 2004 at 11:59:33PM +, M?rio Gamito wrote: Hi, I swear i did my home work before addressing to you, but i didn't understood well what i want. 1. I've instaled FreeBSD 5.3 and compiled portaudit as the first port. Portaudit didn't allow me to install apache13-modssl because there is a security problem with the port that comes in the CD. How can i then install apache13-modssl ? Uninstall portaudit, or (per the manpage), set DISABLE_VULNERABILITIES 2. I want to install PostgreSQL 8. The port version that is on the CD is 8 beta2, but i see in www.freebsd.org that there is already a port for 8 beta4. How can i import this new port ? I read a lot about cvsup and other stuff, but it seems very confusing to me. I cannot understand the whole picture. My question is: how can i import a *single* port ? You cannot do this safely, because how do you know which other single ports must also be updated along with it in order for it to be buildable? 3. Where can i find information about supported hardware ? Namely SATA controlers ? Does FreeBSD suport the Intel ones ? Start with the release notes for your target version. Kris pgpsaCUvIJzW4.pgp Description: PGP signature
Re: Sorry for the newbie questions :(
Hi, I swear i did my home work before addressing to you, but i didn't understood well what i want. 2. I want to install PostgreSQL 8. The port version that is on the CD is 8 beta2, but i see in www.freebsd.org that there is already a port for 8 beta4. How can i import this new port ? I read a lot about cvsup and other stuff, but it seems very confusing to me. I cannot understand the whole picture. My question is: how can i import a *single* port ? Maybe what you are missing is that when you install the whole ports tree, what you are installing are not the ports, but the framework and instructions for downloading and installing the ports. You must install (and possibly update) your ports tree in its entirety. Then you cd in to the appropriate ports directory such as in /usr/ports/databases/postgresql72/ for example and then do a 'make' and a 'make install' It will then download what you need for that port and install it and also install all the other ports that it depends on as well. You may have to study a bit to figure out which exact port version you want to cd in to, for example, I have never installed postgresql so probably /postgresql72/ is not actually the port you want. Also, I was looking through a somewhat older version of the ports on this machine and it doesn't have postgresql V-8 yet. I need to update it. This is just an example. It will probably be something more like: /usr/ports/databases/postgresql8/ Anyway, by doing this you are installing just the 'single' port you want. But you really really really want to install the entire /usr/ports tree or you will be missing some of the framework and dependancies that you will need. 3. Where can i find information about supported hardware ? Namely SATA controlers ? Does FreeBSD suport the Intel ones ? On the main FreeBSD page (http://www.freebsd.org/) over on the right it lists the versions that are now considered the latest releases available. Under each there is a hardware item. Click on it and follow links to find what you want. If you are using an Intel PC type machine, then select i386 for hardware type when you get to that list. Sorry, for my newbiness :( Newbies are just beginning experts. jerry Any help would be apreciated. -- Mário Gamito Administração de sistemas e desenvolvimento Netual - Multimédia e Telecomunicações, Lda. Rua João Afonso, Nº1 3800-198 Aveiro - Portugal Tel. +351 234 371 431 / Fax. +351 234 371 438 E-mail: [EMAIL PROTECTED] www.netual.pt ___ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Wireless (newbie questions)
Hello everyone, I'm very new to this whole wireless thing (I know, I'm late to the game) and I was just looking at buying my first PCMCIA 802.11g card. I want something that can use an external antenna so I've been looking at a Proxim Orinoco card (http://www.proxim.com/products/wifi/client/11bgpccard/index.html). It appears as though this card will work with FreeBSD but I just wanted to verify this. I've also got a friend who's done some wireless things before and he uses Linux and therefore Kismet. I see that FreeBSD has a port for bsd-airtools but I'm not sure if that's all that I'd need. I'd like to be able to sniff for traffic without sending any data out (he does this with Kismet) in order to not be detected. He has said that netstumbler sends out can't do this and bsd-airtools likens itself to netstumbler so I was wondering if bsd-airtools has these limitations as well. Anyone have any comments about the card I'm looking at or the functionality of bsd-airtools?? Thanks, Ben ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
newbie questions
I hope this is the right place to post this.Sorry if it isn't Just some stupid newbie questions: 1) I have an alias made in my .profile alias vi='/usr/local/bin/vim' but the alias is not made when i log in X. If a log in console or using ssh from a remote host the alias is made but when i log in x it is not. Anybody know why? As shell i use bash. 2)In /etc/syslogd.conf i have comented the line #*.err;kern.debug;auth.notice;mail.crit /dev/console so that i wouldn't get any logs on my first console. But there are some logs that get printed on the first console. They're printed in bright white :) and they appear for example when someone tries to scan for opened ports on my computer. My question is who makes these logs? 3)Why does pine say: [Folder vulnerable - directory /var/mail must have 1777 protection] these are the rights on /var/mail/taipan where taipan is my user: [EMAIL PROTECTED] mail]# ls -l /var/mail/taipan -rw--- 1 taipan wheel 11089 Apr 9 11:08 /var/mail/taipan and alsoe the rights on /var/mail: drwxrwxr-x 2 rootmail 512 Apr 9 11:07 mail That's about it for now. Happy Easter to everybody! Radu Molnar Babes-Bolyai Comunication Center ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: newbie questions
On Fri, 9 Apr 2004 11:18:34 +0300 (EEST) Radu MOLNAR [EMAIL PROTECTED] wrote: I hope this is the right place to post this.Sorry if it isn't Just some stupid newbie questions: 1) I have an alias made in my .profile alias vi='/usr/local/bin/vim' but the alias is not made when i log in X. If a log in console or using ssh from a remote host the alias is made but when i log in x it is not. Anybody know why? As shell i use bash. Its definitely the right place to ask questions. I can only comment on the first question. Its more of a question of how your shell is being invoked in your window manager. It sounds as if the window manager is invoking the shell as a non-login shell. You can test this by using xterm -ls and see if your alias settings are being read. This causes the xterm to act as a login shell and bash will act accordingly. Take a look at man page for bash in the section INVOCATION for a complete description of how bash behaves depending on whether or not its a login or non-login shell. There are several different ways to address it. You could simply duplicate your alias settings in a ~/.bashrc file which bash will read when invoked in a non-login shell. I personally don't like having more than one place for any configuration. It would probably be easier to change the way your window manager invokes a shell. I use xterms and blackbox so it was easy to change the menu configuration from xterm to xterm -ls. If you are using a different type of terminal window in XFree86, then look in its documentation for a way to make it behave as a login. If you're using some other terminal type, check its documentation for similar things and change your window manager menus accordingly. HTH, Randy -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Newbie Questions Regarding SU Command Running Periodic Updating
February 15, 2004 I am presently running FreeBSD version 5.2. Question # 1: When I type 'su' and subsequently type in my password, I am taken to the root. However, certain programs; i.e., 'portupgrade' will not run. If I then subsequently type 'su' I a, presented with a new prompt although no password is requested. I can now run programs like 'portupgrade' without incident. I am unable to find any documentation that states I should be running the 'su' command twice. Can someone explain to me what is happening here? Is this normal. Exactly how many levels are there? I thought that there were only two: the log in level and root level. Is there a third level or is this some sort of fluke. Question # 2: Second, while typing in search terms in Google, I came across this web site - http://andrsn.stanford.edu/FreeBSD/newuser.html You will notice the entry about updating the database for the 'whereis' and 'locate' commands. I have read the manual on 'locate' and tried running the files mentioned manually, but alias all I receive is an error message that the command does not exist. Again, I have no idea what I am doing incorrectly. Any assistance would be appreciated. Thanks in advance! Gerard E. Seibert [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Newbie Questions Regarding SU Command Running Periodic Updating
On Sun, Feb 15, 2004 at 10:20:12AM -0500, [EMAIL PROTECTED] wrote: Question # 1: When I type 'su' and subsequently type in my password, I am taken to the root. However, certain programs; i.e., 'portupgrade' will not run. If I then subsequently type 'su' I a, presented with a new prompt although no password is requested. I can now run programs like 'portupgrade' without incident. I am unable to find any documentation that states I should be running the 'su' command twice. Can someone explain to me what is happening here? Is this normal. Exactly how many levels are there? I thought that there were only two: the log in level and root level. Is there a third level or is this some sort of fluke. Yes. You're right that there are only the two privilege levels -- root vs ordinary users. What you're seeing is due to a different effect. The first time you su(1) you become root, but your shell environment is not set up the way you expect. Specifically you don't have /usr/local/sbin on your $PATH, so when you type 'portupgrade' at the prompt, the shell can't find the executable. You should be able to type '/usr/local/sbin/portupgrade' and have things work as expected. The second time you type su(1), it takes effect without asking for a password, since the super user can become any other user without giving one. However, changing from root to root normally isn't usually very productive. Usually when you su(1), the shell environment is left the same except for the USER, HOME and SHELL environment variables, which are reset appropriately for the new userid. However, settings in the target login's .cshrc or .profile or .bashrc or whatever will take effect exactly as for starting up any new shell. There are some flags to su(1) to modify that behaviour: '-l' (or just '-') says simulate a full login by the target user, and '-m' does the opposite -- leaving the original environment unmodified. My guess is that the behaviour you are seeing is because either the su(1) command is aliased to add in some other options, or that you have something in root's shell initialization files which is causing the effect. On general principles, I'd recommend you to install and use sudo(8) instead of su(1) -- it has much finer grained access controls, you don't need to give out the root password in order to let people run commands with root privilege and it logs everything done with it. Question # 2: Second, while typing in search terms in Google, I came across this web site - http://andrsn.stanford.edu/FreeBSD/newuser.html You will notice the entry about updating the database for the 'whereis' and 'locate' commands. I have read the manual on 'locate' and tried running the files mentioned manually, but alias all I receive is an error message that the command does not exist. Again, I have no idea what I am doing incorrectly. Any assistance would be appreciated. The database update will happen automatically, overnight, in the wee small hours of Saturday morning. So long as you leave you machine running, that is. You can manually update the 'locate' database by running (as root): # /etc/periodic/weekly/310.locate and similarly for whereis: # /etc/periodic/weekly/320.whatis Those should run without errors -- if you still have problems, please feel free to e-mail here again, including the exact output of running those commands. 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 pgp0.pgp Description: PGP signature
Sendmail newbie questions
Hello folks, I would like to have a mail server running on my oh-so-humble 866MHz PIII FreeBSD 4.5 machine. I want to use sendmail (it is available as a package). I have a few questions to ask. 1. This is a standalone machine at home, I don't have any network cards. Do I need one? I can connect to the net using user PPP. 2. Being totally ignorant of networking, I disabled as much of networking as possible. ( I did a standard install). Do I need to have such thigs as DNS configured. 3. What about giving my computer a name - do I have to do that + do I have to give myself an IP address. 4. Any other networking detail? I am reading FreeBSD Unleashed which is quite detailed and helpful. I tried to look at the handbook, but what it says I need to read the networking chapter first, which makes no sense to me. Please help me out. Thanks in advance... keshav Want to chat instantly with your online friends? Get the FREE Yahoo! Messenger http://mail.messenger.yahoo.co.uk ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
newbie questions (2) 5.1
hello again, first, i can't seem to get my modem to do anything, i think it's an irq conflict, but don't really want to mess around with the config files too much if i don't have to. in 5.1 sysinstall(8) there seems to be no option to change or confirm the info probed and sysinstall skips the kernel, not sure if that is the right expression, and sysinstall starts with the automatic defaults. i have attached the dmesg file. help, i am new to FreeBSD so i may need to be walked through the steps. second, i am having trouble starting my X manager from my user account, the root account starts fine with startx command, but when i try startx from the user account it takes me to x, not the prefered windows manager. Copyright (c) 1992-2003 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.1-RELEASE #0: Thu Jun 5 02:55:42 GMT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC Preloaded elf kernel /boot/kernel/kernel at 0xc06d4000. Preloaded elf module /boot/kernel/acpi.ko at 0xc06d41f4. Timecounter i8254 frequency 1193182 Hz Timecounter TSC frequency 348487919 Hz CPU: Pentium II/Pentium II Xeon/Celeron (348.49-MHz 686-class CPU) Origin = GenuineIntel Id = 0x651 Stepping = 1 Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR real memory = 67100672 (63 MB) avail memory = 57843712 (55 MB) Pentium Pro MTRR support enabled npx0: math processor on motherboard npx0: INT 16 interface acpi0: PTLTDRSDT on motherboard pcibios: BIOS version 2.10 Using $PIR table, 10 entries at 0xc00fdf20 acpi0: power button is handled as a fixed feature programming model. Timecounter ACPI-safe frequency 3579545 Hz acpi_timer0: 24-bit timer at 3.579545MHz port 0x8008-0x800b on acpi0 acpi_cpu0: CPU on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 agp0: Intel 82443BX (440 BX) host to PCI bridge mem 0xf800-0xfbff at device 0.0 on pci0 pcib1: PCIBIOS PCI-PCI bridge at device 1.0 on pci0 pci1: PCI bus on pcib1 pci1: display, VGA at device 0.0 (no driver attached) isab0: PCI-ISA bridge at device 7.0 on pci0 isa0: ISA bus on isab0 atapci0: Intel PIIX4 UDMA33 controller port 0x1040-0x104f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: Intel 82371AB/EB (PIIX4) USB controller port 0x1000-0x101f irq 9 at device 7.2 on pci0 usb0: Intel 82371AB/EB (PIIX4) USB controller on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pci0: bridge, PCI-unknown at device 7.3 (no driver attached) lnc0: PCNet/PCI Ethernet adapter port 0x1020-0x103f mem 0xf400-0xf41f irq 11 at device 14.0 on pci0 lnc0: Attaching PCNet/PCI Ethernet adapter lnc0: PCnet-PCI address 00:00:f4:ac:ab:71 atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0 atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: PS/2 Mouse irq 12 on atkbdc0 psm0: model IntelliMouse, device ID 3 fdc0: Enhanced floppy controller (i82077, NE72065 or clone) port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: 1440-KB 3.5 drive on fdc0 drive 0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A ppc0 port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode ppbus0: Parallel port bus on ppc0 plip0: PLIP network interface on ppbus0 lpt0: Printer on ppbus0 lpt0: Interrupt-driven port ppi0: Parallel I/O on ppbus0 sio1: configured irq 0 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1: configured irq 0 not in bitmap of probed irqs 0 sio1: port may not be enabled orm0: Option ROMs at iomem 0xe4000-0xe,0xe-0xe3fff,0xc-0xc7fff on isa0 pmtimer0 on isa0 sc0: System console at flags 0x100 on isa0 sc0: VGA 16 virtual consoles, flags=0x300 sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0 sio4: U.S. Robotics Sportster 33600 FAX/Voice Int at port 0x2f8-0x2ff irq 3 on isa0 sio4: type 16550A Timecounters tick every 10.000 msec ad0: 3079MB QUANTUM FIREBALL EX3.2A [6256/16/63] at ata0-master UDMA33 acd0: CDROM TOSHIBA CD-ROM XM-5602B at ata1-master PIO3 Mounting root from ufs:/dev/ad0s1a ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: newbie questions (2) 5.1
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 20 August 2003 10:39 am, [EMAIL PROTECTED] wrote: hello again, first, i can't seem to get my modem to do anything, i think it's an irq conflict, but don't really want to mess around with the config files too much if i don't have to. in 5.1 sysinstall(8) there seems to be no option to change or confirm the info probed and sysinstall skips the kernel, not sure if that is the right expression, and sysinstall starts with the automatic defaults. i have attached the dmesg file. help, i am new to FreeBSD so i may need to be walked through the steps. The modem is recognized: [From dmesg.txt] sio4: U.S. Robotics Sportster 33600 FAX/Voice Int at port 0x2f8-0x2ff irq 3 on isa0 sio4: type 16550A What is it you are trying to do with the modem and how? - -Mark -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/Q7nVF/yyV91po54RAjDmAKDDycxz9A4VadkbUl2vxkt2hjcblQCgqqL+ ag2VtlDkpN37bnlcn/+Z3Qw=/zal -END PGP SIGNATURE- i saw that, but what does the sio1 message port not recognized mean, and what is sio1? i'm trying to use modem for dial-up, and haven't heard a peep from it. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: newbie questions (2) 5.1
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 20 August 2003 11:22 am, [EMAIL PROTECTED] wrote: On Wednesday 20 August 2003 10:39 am, [EMAIL PROTECTED] wrote: hello again, first, i can't seem to get my modem to do anything, i think it's an irq conflict, but don't really want to mess around with the config files too much if i don't have to. in 5.1 sysinstall(8) there seems to be no option to change or confirm the info probed and sysinstall skips the kernel, not sure if that is the right expression, and sysinstall starts with the automatic defaults. i have attached the dmesg file. help, i am new to FreeBSD so i may need to be walked through the steps. The modem is recognized: [From dmesg.txt] sio4: U.S. Robotics Sportster 33600 FAX/Voice Int at port 0x2f8-0x2ff irq 3 on isa0 sio4: type 16550A What is it you are trying to do with the modem and how? - -Mark i saw that, but what does the sio1 message port not recognized mean, and what is sio1? i'm trying to use modem for dial-up, and haven't heard a peep from it. Those messages mean that the kernel thinks it is detecting a serial port (com port), but that the irq isn't what it's expecting. You can usually safely ignore those. The important bit for you is that it detects your modem at sio4, so you'll want use sio4 (or cuaa4) in whatever document you are using to get dial-up working. How are trying to get dial-up working? ppp? You'll probably want to have a look at the handbook (if you aren't already). http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/userppp.html - -Mark -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/Q8bXF/yyV91po54RApFLAJ4+wxGTVjm63oB2Bg+OT4GXYbx61gCZAZMB 1xPb4Bai8BzyY2rQ9d212lI= =ZCHr -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
solved : Re: newbie questions about pppoe and netgraph
2 problems 1 cable modem needed 10baset connection. changed rc.conf= ifconfig_dc0=inet xxx.xxx.xxx.xxx mask 255.255.255.0 media 10baseT/UTP fixed that problem 2 didn't need pppoe after all! after changing media, was able to ping external router btw, this is charter pipeline (vermont) service (768) using 3com 3cr29223 home connect external usb/ether (NOT adsl dual connect). tech support was friendly but basically clueless (i don't know anything about free-bee-ess-dee ppp over ethernet? what's that?). anyway, thanks for all of your helpi learned more about pppoe than i ever wanted. all you guys are terrific! stephen On Sat, 11 Jan 2003, Stephen D. Kingrea wrote: this is the latest, unchanged from this am. i should say that using different parameters from the several different tutorial sources has resulted in pretty much the same result: flaking out at lpc (if that is what is really happening) additionally, the set ifaddr line seems superfluous, since i have an assigned ip address and established route default: set device PPPoE:fxp0 set speed mru 1492 set speed mtu 1492 set ctsrts off enable lqr set lqrperiod 5 set cd 5 set log All set log local phase chat lcp ccp tun command add default HISADDR enable dns set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255 0.0.0.0 set authname * set authkey * set login set dial set timeout 0 open stephen On Sat, 11 Jan 2003, Matthew Emmerton wrote: What does your ppp.conf look like? For PPPoE, it you should have a line like this: [ dang email client ] set device PPPoE:ed1 where ed1 is the network card that is hooked up to your DSL modem. -- Matt www# /usr/sbin/ppp Working in interactive mode Using interface: tun0 tun0: Command: default: add default HISADDR tun0: Command: default: enable DNS tun0: Command: default: set ifaddr 10.0.0.1/0 10.0.0.0/2 255.255.255 0.0.0.0 tun0: Command: default: set authname ** tun0: Command: default: set authkey ** tun0: Command: default: set login tun0: Command: default: set dial tun0: Command: default: set timeout 0 tun0: Command: default: open tun0: Phase: bundle: Establish tun0: Phase: closed - opening tun0: Phase: PPP started (interactive) tun0: Phase: deflink: Connected! tun0: Phase: deflink: opening - dial tun0: Chat: deflink: Dial attempt 1 of 1 tun0: Phase: deflink: dial - carrier ppp ON www tun0: Phase: deflink: Disconnected! tun0: Phase: deflink: carrier - hangup tun0: Phase: deflink: Connect time: 5 secs: 0 octets in, 0 octets out tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Sat Jan 11 tun0: Phase: deflink hangup - closed tun0: Phase: bundle: Dead i imagine that some of this is unnecessary, but it appears that i am not even getting to authentication before disconnecting. thank you stephen On Sat, 11 Jan 2003, Matthew Emmerton wrote: attempting to run pppoe on freebsd 4.7 over cable/dsl connection. manual says kernel recompilation unnecessary for this release in order to run pppoe. however, netgraph does not seem to be loading at boot time. additionally, pppoe seems unable to get past lcp when connecting. how can i tell if netgraph is active after boot? if not, can netgraph modules be loaded at boot by adding necessary lines into loader.conf? or is recompiling kernel a preferred method? If netgraph and pppoe support are not present in your kernel (or not loaded from modules automatically), the ppp program will complain loudly. Can you post part of your ppp log file so that we can determine if the lack of pppoe is your problem or if it's something else? -- Matt Emmerton To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
newbie questions about pppoe and netgraph
attempting to run pppoe on freebsd 4.7 over cable/dsl connection. manual says kernel recompilation unnecessary for this release in order to run pppoe. however, netgraph does not seem to be loading at boot time. additionally, pppoe seems unable to get past lcp when connecting. how can i tell if netgraph is active after boot? if not, can netgraph modules be loaded at boot by adding necessary lines into loader.conf? or is recompiling kernel a preferred method? stephen To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: newbie questions about pppoe and netgraph
ok here is what i get www# /usr/sbin/ppp Working in interactive mode Using interface: tun0 tun0: Command: default: add default HISADDR tun0: Command: default: enable DNS tun0: Command: default: set ifaddr 10.0.0.1/0 10.0.0.0/2 255.255.255 0.0.0.0 tun0: Command: default: set authname ** tun0: Command: default: set authkey ** tun0: Command: default: set login tun0: Command: default: set dial tun0: Command: default: set timeout 0 tun0: Command: default: open tun0: Phase: bundle: Establish tun0: Phase: closed - opening tun0: Phase: PPP started (interactive) tun0: Phase: deflink: Connected! tun0: Phase: deflink: opening - dial tun0: Chat: deflink: Dial attempt 1 of 1 tun0: Phase: deflink: dial - carrier ppp ON www tun0: Phase: deflink: Disconnected! tun0: Phase: deflink: carrier - hangup tun0: Phase: deflink: Connect time: 5 secs: 0 octets in, 0 octets out tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Sat Jan 11 tun0: Phase: deflink hangup - closed tun0: Phase: bundle: Dead i imagine that some of this is unnecessary, but it appears that i am not even getting to authentication before disconnecting. thank you stephen On Sat, 11 Jan 2003, Matthew Emmerton wrote: attempting to run pppoe on freebsd 4.7 over cable/dsl connection. manual says kernel recompilation unnecessary for this release in order to run pppoe. however, netgraph does not seem to be loading at boot time. additionally, pppoe seems unable to get past lcp when connecting. how can i tell if netgraph is active after boot? if not, can netgraph modules be loaded at boot by adding necessary lines into loader.conf? or is recompiling kernel a preferred method? If netgraph and pppoe support are not present in your kernel (or not loaded from modules automatically), the ppp program will complain loudly. Can you post part of your ppp log file so that we can determine if the lack of pppoe is your problem or if it's something else? -- Matt Emmerton To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: newbie questions about pppoe and netgraph
attempting to run pppoe on freebsd 4.7 over cable/dsl connection. manual says kernel recompilation unnecessary for this release in order to run pppoe. however, netgraph does not seem to be loading at boot time. additionally, pppoe seems unable to get past lcp when connecting. how can i tell if netgraph is active after boot? if not, can netgraph modules be loaded at boot by adding necessary lines into loader.conf? or is recompiling kernel a preferred method? If netgraph and pppoe support are not present in your kernel (or not loaded from modules automatically), the ppp program will complain loudly. Can you post part of your ppp log file so that we can determine if the lack of pppoe is your problem or if it's something else? -- Matt Emmerton To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: newbie questions about pppoe and netgraph
What does your ppp.conf look like? For PPPoE, it you should have a line like this: [ dang email client ] set device PPPoE:ed1 where ed1 is the network card that is hooked up to your DSL modem. -- Matt www# /usr/sbin/ppp Working in interactive mode Using interface: tun0 tun0: Command: default: add default HISADDR tun0: Command: default: enable DNS tun0: Command: default: set ifaddr 10.0.0.1/0 10.0.0.0/2 255.255.255 0.0.0.0 tun0: Command: default: set authname ** tun0: Command: default: set authkey ** tun0: Command: default: set login tun0: Command: default: set dial tun0: Command: default: set timeout 0 tun0: Command: default: open tun0: Phase: bundle: Establish tun0: Phase: closed - opening tun0: Phase: PPP started (interactive) tun0: Phase: deflink: Connected! tun0: Phase: deflink: opening - dial tun0: Chat: deflink: Dial attempt 1 of 1 tun0: Phase: deflink: dial - carrier ppp ON www tun0: Phase: deflink: Disconnected! tun0: Phase: deflink: carrier - hangup tun0: Phase: deflink: Connect time: 5 secs: 0 octets in, 0 octets out tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Sat Jan 11 tun0: Phase: deflink hangup - closed tun0: Phase: bundle: Dead i imagine that some of this is unnecessary, but it appears that i am not even getting to authentication before disconnecting. thank you stephen On Sat, 11 Jan 2003, Matthew Emmerton wrote: attempting to run pppoe on freebsd 4.7 over cable/dsl connection. manual says kernel recompilation unnecessary for this release in order to run pppoe. however, netgraph does not seem to be loading at boot time. additionally, pppoe seems unable to get past lcp when connecting. how can i tell if netgraph is active after boot? if not, can netgraph modules be loaded at boot by adding necessary lines into loader.conf? or is recompiling kernel a preferred method? If netgraph and pppoe support are not present in your kernel (or not loaded from modules automatically), the ppp program will complain loudly. Can you post part of your ppp log file so that we can determine if the lack of pppoe is your problem or if it's something else? -- Matt Emmerton To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message