Re: modem not responding to mgetty
Timothy Luoma said: This remains all that dmesg shows: # dmesg |grep ^sio 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 I'm starting to think that my modem (US Robotics that I salvaged from an old HP I had) isn't detected by FreeBSD on boot. This is true. FreeBSD will recognize a hardware modem as if it were just a serial port and from the looks of it, it's only detecting a single serial port: the external one. (The 9-pin port that you couldn't identify.) You could try disabling the external serial port in the BIOS, but I doubt that would really make a difference. It's possible that you have a software modem (sometimes called a winmodems) which requires special windows-only drivers. One way to find out for sure: google for the model number of the modem plus the word linux or freebsd. You should be able to discover whether it is a hardware or software modem. If so, would I be better off getting a new modem that might be recognized? It's a 56k fax modem, IIRC what WinXP was telling me. (I tried to save $20 by not buying a modem installed by Dell, and I knew I was going to regret it...) No, you would have still regretted it. Most PC manufacturers started shipping software modems with their machines in the early 90's and these days the only way to get a hardware modem is to buy one yourself. If you go out to buy an internal modem, make extra certain that it's a hardware modem. I know U.S. Robotics sells them, but you'll probably have to scrutinize the box pretty carefully in order to tell. You may even have to jot down the model numbers and research them at home before making the purchase. Even better, buy an external modem that connects to your serial port. (That's 9-pin serial, not USB.) These are always hardware modems, are a lot easier to debug than the PCI variety, and work with pretty much every operating system that your computer is capable of running. -- Charles Ulrich Ideal Solution, LLC - http://www.idealso.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Decent partition editor
Olivier Gautherot said: Hi folks! I was reorganizing my hard-disks these days to suppress all Linux and ext2fs stuff - I finally decided I wanted to keep just FreeBSD on my desktop at home. The 2 disks were scattered in 8 partitions in total and I decided to group some of them. That's where the headaches started... I tried to use fdisk but the syntax is complex - I'm sure it is a powerful tool but changing partitions is not a game where you just take a chance: when your data are gone... they *ARE* gone. I tried also sysinstall but, for some reason, the partition table was not updated (I just mean to extend the /home partition, not install a new system). If you take Windows, Linux or BeOS, they all come with a decent editor. In the end, I spent more time on the FreeBSD man pages than { shutting down FreeBSD, booting Zeta (the new BeOS), opening the partition editor, 3 mouse clicks (to unlock the partitions, select the partition type and commit the changes), moving a slider to the appropriate size, shutting down Zeta and booting FreeBSD }. It worked like a charm. Does anyone know if there is such an editor in the ports? I have not seen any but it would be damn good... Thanks in advance Olivier P.S. please copy me on follow ups as I not subscribed to this list. One of the downfalls to BSD's partitioning system is that it requires its own special tools. Whenever I need to create or modify FreeBSD partitions and labels, I just boot an installation CD and use the fdisk and label utilities. -- Charles Ulrich Ideal Solution, LLC - http://www.idealso.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Safe to just rebuild kernel after cvsuping src?
Kevin D. Kinsey, DaleCo, S.P. said: It's really a question for the programmers, and it's likely that whatever they say will include a lot of disclaimers and warnings. I once got kernel and world a lil' out of sync, and had things running apparently normally. However, top(1) broken; when I asked the list what was up, someone else with experience was able to determine the problem immediately. In short, it's probably not a good idea unless one can determine that relatively nothing has changed in the source since the other part (kernel or world) was built. Looking at CVS, you don't see much completely idle time. And, unless you are aware of every bit of code that might have changed, it's impossible (for me, Joe Average) to know what might break I'll keep that in mind, then. Thanks! -- Charles Ulrich Ideal Solution, LLC - http://www.idealso.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Safe to just rebuild kernel after cvsuping src?
Robert Huff said: Nikolas Britton writes: Is it generally safe to just rebuild the kernel, and not make world, when your only tracking a release and not -STABLE, i.g. setting cvsup to track RELENG_5_3? As a general rule, this is _never_ safe. Unless you're prepared to locate and understand all the changes - just bite the bullet and make world. (This is not to say you can't do it and have it work - been there, done that - but you're definitely increasing the odds of a problem.) I've been doing the opposite on some of my machines which run stable releases of FreeBSD. Is it relatively safe to build and install a slightly newer world without rebuilding the kernel? -- Charles Ulrich Ideal Solution, LLC - http://www.idealso.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: blacklisting failed ssh attempts
Josh Paetzel said: This may or may not help you, but I generally firewall ssh so that only known addresses can get in. (whitelisting as opposed to blacklisting) Thanks for the tip. We actually do this on some of our servers, but this is a web server that we need to get to quickly should it stop working. It's looking like I might just put ssh on a non-standard port and think about an IDS if there these kind of attacks continue. -- Charles Ulrich Ideal Solution, LLC - http://www.idealso.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Answers: Keeping FreeBSD Up-To-Date
Richard Bejtlich said: Here's (hopefully) some answers for once, rather than more questions! I am happy to announce the publication at TaoSecurity.com of 'Keeping FreeBSD Up-To-Date': http://www.taosecurity.com/keeping_freebsd_up-to-date.html This looks like an excellent guide, and would be especially useful for those new to FreeBSD. I'll keep it bookmarked for sure. One possible addition could be a section on keeping the ports tree current. -- Charles Ulrich Ideal Solution, LLC - http://www.idealso.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
blacklisting failed ssh attempts
This morning I noticed that an attacker spent over a full hour trying to brute-force accounts and passwords via ssh on one of our machines. These kinds of attacks are becoming more frequent. I was wondering: does anyone know of a way to blacklist a certain IP (ideally, just for a certain time period) after a certain number of failed login attempts via ssh? I could change the port that sshd listens on, but I'd rather find a better solution, one that isn't just another layer of obscurity. Thanks! -- Charles Ulrich Ideal Solution, LLC - http://www.idealso.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: simple router ?
Frank Bonnet said: Hi I'm planning to build a simple router with FreeBSD the machine will not support firewalling, it will be a straight router that route between the two interfaces :-) it will be dedicated to this service. What would be the best version of FreeBSD to perform such operation 4.10 or 5.3 ? If your needs are simple, don't use any full-featured FreeBSD release for a firewall. It's too much time to set up, lock down, and you could probably spend days just tweaking firewall rules if you haven't done it before. Instead, check out m0n0wall, a FreeBSD-based firewall that's been stripped down and rebuilt for the singular purpose of routing packets. http://m0n0.ch/wall/ There's also IPCop, if you're willing to try a Linux-based solution. http://www.ipcop.org -- Charles Ulrich Ideal Solution, LLC - http://www.idealso.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FW: FreeBSD donation (sponsorship)
Loren M. Lang said: Hello, I speak only for myself, not the FBSD project or community. I think this is a lovely spam^H^H^H^Hoffer. One question though, would you be hosting freebsd.org on a Linux or Windows server? Judging by your site it could be either. http://www.netnation.com/products/managedhosting.php Who decides? $ telnet www.netnation.com http Trying 204.174.223.48... Connected to www.netnation.com. Escape character is '^]'. HEAD / HTTP/1.0 HTTP/1.1 301 Moved Permanently Date: Thu, 18 Nov 2004 09:30:10 GMT Server: Apache/1.3.26 (Unix) Debian GNU/Linux PHP/4.1.2 mod_ssl/2.8.9 OpenSSL/0.9.6c mod_jk/1.1.0 Location: http://www.netnation.com/ Connection: close Content-Type: text/html; charset=iso-8859-1 At least it's not Micro$oft IIS 4.0 What kind of silliness is this? A genuine offer of support comes literally out of thin air he two of the three responses that the FreeBSD community sends back are borderline hostile. One accuses the originator of being a spammer and the other engages in a tasteless display of OS bashing. What evidence have you that their intentions were not sincere? I'd assume that the current FreeBSD web hosting situation is pretty stable. But they were vague enough in their message to imply that they might be interested in helping out some other way, whether hosting a mirror, improving documentation, offering donations, funding subprojects, or paying someone to work full time on FreeBSD. Don't ridicule companies who want to help our community. -- Charles Ulrich Ideal Solution, LLC - http://www.idealso.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: looks like script kiddie tried to get me
Steel City Phantom said: bsd 4.9, apache 1.3 my postnuke started emailing me with hack attempts. i look at my log and find about a half a meg of where it looks like a script kiddie tried to poke in the dark at this site. the hits are WAY too close together to be manual, here is a snip from the log [snip] anyone have any ideas what tool they would have used to do this. none of my other logs show any access so he/she just tried to hit the web app. we are probably going to end up calling the police when my boss wakes up, but i want to get your opinions too. If you have a public web server, you're going to get attacks like these just as sure as you'll get spam sent to a public email address. Calling the police is likely just going to waste both their time and yours as 1) most police departments do not have the tools or experience to investigate network intrusion attempts, 2) script kiddies, while lacking in the brain cell department, are usually smart enough not to launch attacks from their own system, and 3) the attack didn't succeed and as far as you know, no damage was done. The best thing to do is just keep your server patched and remain diligent. Another person recommended contacting the abuse department of the ISP. That couldn't hurt if you consider it worth your time. -- Charles Ulrich Ideal Solution, LLC - http://www.idealso.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OSS sound driver doesnt work
Spiral Eyed Girl said: In KDE, I am using the aRts sound driver, if that helps. And I hope I have made sense, I am not good at requesting help. If you're interested, here is a great paper on how to become better. http://www.catb.org/~esr/faqs/smart-questions.html Regarding xmms, I've had heaps of trouble with it for the past couple of years on various versions of FreeBSD and a variety of Linux distributions. It just doesn't seem to be maintained very well. There are alternatives available in ports/audio and ports/multimedia, many with better features and interfaces than xmms. -- Charles Ulrich System Administrator Ideal Solution, LLC - http://www.idealso.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Daily reboots...
Steve Bertrand said: Hello all, I don't know why, but my system keeps restarting at about 14:00 or 14:30 every day. Really starting to p!ss me off. Any ideas what could be causing this, or how I could find it? As someone else suggested, I had a box like this late last year, and found that when more than a normal amount of email came into the box, clamav and SA would burn up the CPU, and it would just reboot. Solution: I put the drive(s) into another box, and voila, problem was solved. Steve I had a similar problem on 4.10 awhile back. After checking and rechecking the hardware and swapping out power supplies, I noticed that the reboots rougly coincided with heavy outgoing Samba traffic. I upgraded to 5.2.1 and haven't had a problem since. -- Charles Ulrich System Administrator Ideal Solution, LLC - http://www.idealso.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Floppy drive is going nuts
Daniela said: Recently, my floppy drive isn't working properly. The kernel often panics on unmount of a UFS floppy, and sometimes also while reading or writing an ordinary DOS-formatted floppy. Very often, the data is corrupted, but when formatting the floppy, it shows no errors. And once I tried to write a file (which is just a little bit over 1440k in size) to a 1720k formatted floppy (worked properly in the past), and the result was a complete system lockup. I had to do a hard reset to bring it back. This is reproducable. I'm running 4.10-STABLE. How can I tell whether this is a software bug or flaky hardware? Try the following, in this order: - Reseat the floppy drive cable - Replace the floppy drive cable - Replace the floppy drive - Try a couple of newer/older FreeBSD versions (just the live CD should work fine) or even a different OS such as Knoppix or (heaven forbid) DOS. If you still have problems after all this, the most likely explanation is that some portion of your motherboard went bad. -- Charles Ulrich System Administrator Ideal Solution, LLC - http://www.idealso.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Using fetch in http server that requires authentication
Adam Smith said: fetch http://renem:mhall\[\;[EMAIL PROTECTED]/file.txt I also noticed the password contains special characters, but I don't know if they'll have to be escaped. Perhaps you do. Any idea? thanks. They will. I have escaped them by prefixing a \ symbol before them. I suggest after this post you change the password. Even though you haven't provided us with much more detail, posting a username and password and saying These are the credentials for our SNAP server is a big security risk, as someone evil might know you by name :) This may depend on your shell, but you could also escape the whole thing at once with quotes on each end: fetch 'http://renem:mhall[;[EMAIL PROTECTED]/file.txt' This is often easier and less to type if there are more than 2 characters to be escaped. -- Charles Ulrich System Administrator Ideal Solution, LLC - http://www.idealso.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: X.org performance?
Benjamin Walkenhorst said: Especially using AcroRead burns cycles without end. This has always been the case for me with the Unix version of Acrobat Reader, regardless of what X server it's running on or even the OS. -- Charles Ulrich System Administrator Ideal Solution - http://www.idealso.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hard drive encryption
[EMAIL PROTECTED] said: Hello, I am writing to inquire about a hard drive encryption software that is compatible with FreeBSD. We have been using PointSEC with windows and am looking for a similar solution for FreeBSD. I see you have GEOM Based Disk Encryption (gbde) Which I have read about on your web site, but the folks here are resistant to using it and are asking for a 3rd party solution that is separate from the OS. I don't know what third-party disk encryption services there are available for FreeBSD nor do I know what the status of gbde is currently, but there is no inherent reason that a third-party encryption service would be any more stable or robust than one that's built into the OS. In fact, I'd argue just the opposite, as the people who wrote gbde also work on related parts of the FreeBSD kernel and nearly all of the core FreeBSD developers are well-known for their ability to design and write quality, stable code. They would also be the first ones to notice a change to the kernel that would adversely effect gbde and probably also the first ones to fix such a problem. Do you have anything in mind? I understand that gbde requests a password before the partition can be mounted anyway so this simulates the same functionality of PointSEC, but since it is part of the OS, it seems that if someone has access to the OS, they could still get in. Is that right? No, otherwise there would be no point in encrypting the data on the disk. Encryption means that even if someone were to get their hands on the physical disk (which is always considered the worst-case scenario, from a security standpoint) and read all of the data off it, they could never use it to gain any information since the data would appear scambled unless they decrypted it with the appropriate key (the password, in this case). In other words, it's not the operating system that allows/disallows access to an ecrypted disk, it's the mathematical encryption algorithms. Similarly, disk encryption has nothing to do with allowing/disallowing access to the system, only its data. -- Charles Ulrich System Administrator Ideal Solution - http://www.idealso.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Vim on SMB share
Daren Russell said: Hi, I know this is slightly OT, but it is still using FBSD! I have a SMB share mounted, and can generally write to it. I can copy files to it, delete them, use 'ee' to edit and save them. However, when using Vim, I can load and edit without warning, but if I try to save it I get E212: Can't open file for writing I can however create a new file on the share using Vim without problems, try to edit it and get the same problem. Whilst using Gentoo Linux, I did not have an issue with this (but that box has destroyed itself, hence the move to a FBSD box) Is this a known thing with Vim/SMB/FBSD? Any ideas on something stupid I have overlooked? Thanks Daren Hi, I recall running into this and other problems when I was using Samba 3.x on a 4.10 FreeBSD server and smbfs on a 5.2.1 FreeBSD client. In frustration, I updated the server to 5.2.1 and downgraded Samba to 2.x and haven't had problems since. I'd have a hard time believing that going to 5.2.1 on the server side fixed the problem. Rather, I suspect that FreeBSD's smbfs has had little attention lately and doesn't like the changes that have been made to Samba since 2.x. Alternatively, some of the recent patches to 5.2.1 may have had some positive effect on the client's smbfs. Wish I could be more specific on all of this. Charles Ulrich -- Charles Ulrich System Administrator Ideal Solution - http://www.idealso.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: slightly OT - journal or project tracking app query
Louis LeBlanc said: Failing the existence of such an application, I'll have to devise my own organizational method and just go with vim until I can work something useful out. What does the FreeBSD community use? vim's always worked great for me. But these days I use a wiki hosted on internal network for all of my documentation. Extremely easy to use and you can organize it much better than a flat text file or even a journal. There are quite a few wikis in ports. I use MoinMoin, but I want to switch to something more lightweight but with similar syntax. -- Charles Ulrich System Administrator Ideal Solution - http://www.idealso.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Postfix thinks there isn't enough disk space in a jail
Andy Smith said: Hmm, I run postfix in two jails (both hosted on -STABLE), and have never had this problem unless I've really been out of disk.. Interesting. Maybe it's been fixed as of late and we didn't notice. I'll take another look at it when I get the time but I can say with 100% certainty that this issue prevented a jailed Postfix from accepting any incoming messages at all and was a showstopper for many people. Just Google for postfix jail and you should find information on it. -- Charles Ulrich System Administrator Ideal Solution - http://www.idealso.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: editing the rc.conf
Except that the man page for ifconfig will tell you nothing about the correctness of your entries in rc.conf. For that you have to reboot. Most of us here can glance at them and say yea or nay, but most new users can't. And the ifconfig man page is not really newbie material either. Charles Ulrich Subhro said: Read the manual pages for ifconfig. Regards S. On Fri, 27 Aug 2004 08:48:19 -0400, Bill Moran [EMAIL PROTECTED] wrote: Soo-Hyun Choi [EMAIL PROTECTED] wrote: Hi, When I need to change the IP settings, I usually go over the rc.conf directly (as root) to change the IP settings. The question is that once I change the settings I need to re-boot the system in order to the change be working. Is there any way that I can apply the changes without re-booting the system? man ifconfig -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Subhro Sankha Kar School of Information Technology Block AQ-13/1 Sector V ZIP 700091 India ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- System Administrator Ideal Solution - http://www.idealso.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Postfix thinks there isn't enough disk space in a jail
adp said: This problem seems to be affecting Postfix in a FreeBSD jail, and I haven't seen this problem outside of a jail, so I'm trying questions@ first. I am running postfix-2.0.18,1 (from ports) in a FreeBSD 4.10 system in a jail. Everything was fine until recently I moved NFS services over to this same server. (This may be a red herring.) Now, every few mails I get an email to Postmaster like this: In normal operation, Postfix makes a system call to check to see if it can create a file of a certain size. Inside a jail, this call will not succeed as per the very design of jails. Thus, you must use the following one-line patch to make postfix work. You can use the `patch` command, but it's probably just easiest to insert the line manually. Remember that a 'make clean' from within the port directory will wipe this change out, patch or no. --- ./src/util/file_limit.c.origTue Aug 22 14:44:44 2000 +++ ./src/util/file_limit.c Mon Apr 8 12:43:55 2002 @@ -85,6 +85,7 @@ #else struct rlimit rlim; +limit = RLIM_INFINITY; rlim.rlim_cur = rlim.rlim_max = limit; if (setrlimit(RLIMIT_FSIZE, rlim) 0) msg_fatal(setrlimit: %m); This patch probably hasn't made it into the port because it completely bypasses a moderately important check. As long as you keep a close eye on disk space, you should be okay. -- Charles Ulrich System Administrator Ideal Solution - http://www.idealso.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: crontab question involving cvsup
Paul Schmehl said: Just out of curiosity, why would you use cron rather than /etc/periodic/daily? If you want something to run at a different time of day than the daily scripts. You could modify /etc/crontab and move the time around, but the rest of the scripts still follow and most of us have been trained to never monkey with files in /etc except a few. Also, typing 'crontab -e' is extremely simple when all you have to do is run a single command. -- Charles Ulrich System Administrator Ideal Solution - http://www.idealso.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Reinstalling, then upgrading (Was Re: Salvageable? (Was Re:makeinstallworld error))
epilogue said: Just out of curiosity, is it incorrect to simply say that ports build packages? Yes. Well, now I've received one explicit yes answer and one explicit no answer to this question, leading me to believe that there might not be a clear consensus even among experienced FreeBSD users. (I count myself as one also.) It's possible that we're splitting hairs with all of this, but splitting hairs is what explanation is all about. For any given application, the FreeBSD package for that application is a single file which you must download. The package contains pre-compiled copies of all the commands for the application, as well as any configuration files or documentation. A downloaded package file can be manipulated with FreeBSD package management commands, such as pkg_add(1), pkg_delete(1), pkg_info(1), and so on. Installing a new application can be carried out with a single command. FreeBSD port for an application is a collection of files designed to automate the process of compiling an application from source code . What this leaves out is the state of the software after it has already been installed. Lowell Gilbert confirmed my assumption that whether you install a piece of software via a port or via package, they are indistinguisable from each other on the system AFTER they've been installed. That is to say, you can install a port and then operate on it with the pkg_* commands, even though it was not installed as a package. Hence the assertion that ports build packages, even though it looks like it may be technically incorrect to refer to post-installed software as packages since one has no way of telling how the software was installed after the fact. the fbsd handbook is one of the very best in *nixland. please pay it the attention it deserves. Believe me, I do. Indeed, I could hardly do my job without it. Thanks for your time. -- Charles Ulrich System Administrator Ideal Solution - http://www.idealso.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Reinstalling, then upgrading (Was Re: Salvageable? (Was Re:make installworld error))
Lowell Gilbert said: If you think you see specific places to improve the documentation, please write it up and submit it in a Problem Report. FreeBSD is, after all, a volunteer project...;2~ That would probably be a better use of my time than grousing about it on a mailing list, so I think I shall. Thanks for the clarifications. -- Charles Ulrich System Administrator Ideal Solution - http://www.idealso.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Reinstalling, then upgrading (Was Re: Salvageable? (Was Re:make installworld error))
Lowell Gilbert said: In FreeBSD, a port is a third-party application ported to be built from source on your system. A package is a pre-compiled binary of that port. Once installed, they are both tracked (and removable) by the same database, usually referred to as the package database. See the FreeBSD Handbook section on Installing Applications: Packages and Ports for a full explanation. Just out of curiosity, is it incorrect to simply say that ports build packages? That is, once a piece of software is installed with 'make install', is it treated the same as any package that was installed from the installation CD? (If not, or if the relationship is really a whole lot more complex than that, then my rant below doesn't apply.) A lot of new users can't readily tell the difference between a port and package and frequently use the two terms interchangably. The handbook gives an overview of both ports and package but stops short of clearly spelling out this important distinction. But at the same time, it also implies that ports and packages are two completely separate ways of installing software when in reality they are actually two parts of the same system. The phrase ports build packages is a neat and efficient way of rectifying the misunderstandings that can occur when trying to give a proper explanation of FreeBSD package management. -- Charles Ulrich System Administrator Ideal Solution - http://www.idealso.com -- Charles Ulrich System Administrator Ideal Solution - http://www.idealso.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hard Mail Question
Odhiambo Washington said: * Sean Murphy [EMAIL PROTECTED] [20040824 02:12]: wrote: Without using leave mail on server or leave mail on server for x days is it possible after I have downloaded my email to my computer using pop3 to put it back so I can access it from a different computer. Possibly ftp it back to the server and copy it to my mail directory to redownload it? or mabey install imap and place it in my inbox folder on my local drive... would that throw it back on the server? FreeBSD 4.10 and Sendmail Hi Sean, The easy answer is NO. The other easy answer is YES. Just open up your mail client and send the messages back to yourself. It's always worked for me. -- Charles Ulrich System Administrator Ideal Solution - http://www.idealso.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Humble questions for web developers in freebsd.
Mark Jayson Alvarez said: 4. Do you happen know any good link where I can learn how to write shell scripts so that I may be able to start an application at boot time by putting it in /usr/local/etc/rc.d (ex: httpd) Here's one that I reference quite frequently: http://steve-parker.org/sh/sh.shtml See also the man page for sh. (FreeBSD man pages are really quite good. You would do well to become familiar with them.) You have to be careful when you look around for documentation on the Bourne Shell (sh), however, because the vast majority of the shell scripting docs on the web are written for the Bourne *Again* Shell (bash). bash contains numerous features that not present in sh. You can use bash to write your own scripts, but all of FreeBSD's shell scripts are written for sh. I'm just a fresh graduate and I'm still learning many things by myself in preparation for future career in IT. it's a sad fact, but I may have to admit that my professors in college have just thought us the basics in our field. Any help coming from you would be very much appreciated... That's typically how it goes in college. They give you the theory but the implementation is up to you. By learning FreeBSD, you've already got a leg up on your peers. Just having FreeBSD and Linux on my resume got me a couple of interviews from prospective employers running pure Windows shops because they believed that experienced Unix people typically have a better understanding of how computers and networks actually work than your average Windows person. And they're absolutely right. -- Charles Ulrich System Administrator Ideal Solution - http://www.idealso.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: disk2.iso: rescue disk
Hanspeter Roth said: Hello, is the disk2.iso mainly a rescue disk? Or does it contain further stuff for installation? It is mainly a rescue disk. It contains nothing that you'll actually need for a FreeBSD install. It would be nice if it were mentioned somewhere in the handbook or FTP site what the differences are between the ISOs that are available on the mirrors. -- Charles Ulrich System Administrator Ideal Solution - http://www.idealso.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Scheduled system backups program
adam said: I don't know much about backups, but i'd say look into rsync (someone else answer w/something better please). We use rdiff-backup (port: sysutils/rdiff-backup) where I'm at. Does local and remote incremental backups using librsync. It's not a complete solution on its own, but takes a lot of the work out of it so you don't spend weeks hacking up your own solution out of rsync. Read all about it at http://rdiff-backup.stanford.edu/. -- Charles Ulrich System Administrator Ideal Solution - http://www.idealso.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
partition recovery
Hello, I have a hard disk that had a complete FreeBSD system on it. Earlier today, I accidently deleted and created a new slice on top of the one that was there. Now, the OS thinks there are no FreeBSD partitions there, only empty space. I did *not* do newfs, so there's a really good chance that those partitions and all their data are still there if only I could find some way to tell that to the disk. I tried the sysutils/gpart port, but it appears to only recognize and operate on slices (PC-style partitions), not FreeBSD partitions. I have a blank disk just like the one I'd like to recover and I have the numbers I need to re-slice and re-label it identically to the other one, down to the exact bit. So I'm more than happy to experiment with that one prior to performing suggested operations on the real thing. I have the feeling this may involve the fdisk or disklabel programs. If so, know that I'm none to handy with them but would appreciate pointers to some decent documentation on them aside from the man pages. Thanks in advance for your time and help. P.S. Won't be able to reply until Monday. -- Charles Ulrich System Administrator Ideal Solution - http://www.idealso.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
portindex and INDEX.db
Is there any downside to generating INDEX.db with the sysutils/portindex program rather than portsdb -Uu? -- Charles Ulrich System Administrator Ideal Solution - http://www.idealso.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.x /usr Partitioning advice
Vince Hoffman said: Other than what you have already mentioned then no not realy. By the way I (and i think it suggests in the handbook to) keep my kernel config in a subdirectory of my home directory and just symlink it to /usr/src/i386/conf as i have been know to blow away the entire /usr/src directory occasionaly. That is a great idea, of course, until you accidently blow away your home directory like I did recently. :P There are two files now that I always keep squirreled away somewhere safe: XF86Config the the kernel config. I'm thinking of putting my configuration files (and perhaps home directory) into subversion at some point in the distant future for additional protection and safe-keeping. -- Charles Ulrich System Administrator Ideal Solution - http://www.idealso.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Vinum in -CURRENT (was: Vinum panic on boot)
Greg 'groggy' Lehey said: The current status of Vinum in -CURRENT is that it is being rewritten. The introduction of the GEOM layer has badly broken Vinum, and it has been decided better to rewrite it than to fix it. It'll be a while before it's smooth again. This would be a good note to put somewhere obvious such as the 5.x-RELEASE errata. I too had been trying to get Vinum to work in -CURRENT. Vinum is an important part of FreeBSD for some people and there's likely going to be a lot of people trying to test it out as 5.x approaches STABLE. -- Charles Ulrich System Administrator Ideal Solution - http://www.idealso.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
firewire pseudo-hotplug
Hello, Is there any way to make a shell script execute immediately after a firewire device is plugged in? The man pages and mailing list archives didn't even get me close to a hint of whether this is possible or not. Failing that, is there a (good) way to tell from the command line whether a particular device (say, a hard disk) happens to be plugged in or not? Thanks in advance for your time. -- Charles Ulrich System Administrator Ideal Solution - http://www.idealso.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
bsdlabel errors and weirdity
Greetings, On a whim, I decided to try out vinum this afternoon, but found myself stuck early on. One of the first steps is to locate the partition you want to use vinum and change it's type from 4.2BSD to vinum. This is where I get stuck, because when I run bsdlabel on the 10GB disk, I get: [apex:~]# bsdlabel ad0s1 # /dev/ad0s1: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 524288 634.2BSD0 0 0 b: 1536000 524351 swap c: 20044017 63unused0 0 # raw part, don't edit e: 524288 20603514.2BSD0 0 0 f: 524288 25846394.2BSD0 0 0 g: 16935153 31089274.2BSD0 0 0 partition c: partition extends past end of unit bsdlabel: partition c doesn't start at 0! bsdlabel: An incorrect partition c may cause problems for standard system utilities partition g: partition extends past end of unit These errors prevent me changing the fstype to vinum because bsdlabel apparently takes exception to the sizes and offsets of the partitions and refuses to apply them. This system has been running various releases in the 5.x branch for the last 2 years with no problems whatsoever and is currently on 5.2.1-p3. What looks the funniest is that the 'a' and 'c' partitions don't start at 0. Every other example of bsdlabel output that I've seen today had those two starting at 0, and the error message specifically confirms that this isn't correct. I've tried relabeling the disk with the sysinstall utility on both 4.10 and 5.1 CDs, and on both IDE and SCSI drives to no avail. They all want to start the partitions at offset 63. I'm quite at a loss here, and I'm not sure exactly how to proceed. Any help at all would be appreciated. -- Charles Ulrich System Administrator Ideal Solution - http://www.idealso.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]