dhclient overwrites reslov.conf
I'm in a LAN with a relatively short lease time. That wouldn't be a problem if I wouldn't run a vpnc connection through this LAN. The vpnc connection sets /etc/resolv.conf as required, but dhclient overwrites it every couple of minutes, causing DNS not to work any more. Is there a way to make dhclient set up resolv.conf only when the IP of the interface is changed? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HP Embedded SATA RAID controller (FreeBSD 6.2)
- Original Message - From: George Vanev [EMAIL PROTECTED] To: Ted Mittelstaedt [EMAIL PROTECTED] Cc: FreeBSD Questions freebsd-questions@freebsd.org Sent: Thursday, January 25, 2007 1:33 AM Subject: Re: HP Embedded SATA RAID controller (FreeBSD 6.2) - Original Message - From: Ted Mittelstaedt [EMAIL PROTECTED] To: George Vanev [EMAIL PROTECTED]; FreeBSD Questions freebsd-questions@freebsd.org Sent: Thursday, January 25, 2007 10:57 AM Subject: Re: HP Embedded SATA RAID controller (FreeBSD 6.2) Hi George! Common problem. The issue isn't that the FreeBSD driver cannot talk to the SATA controller. It can do that just fine. The problem is that HP is using a modified metadata format on the disk drives. What you need to do is go into the Proliant BIOS and DISABLE the SATA raid. This of course means any raid arrays, mirrored or otherwise, that you have created, cannot be used from BIOS. Just leave the BIOS settings so that the SATA controller is enabled, but the RAID on the SATA controller isn't. Then boot FreeBSD 6.2. It will see 2 disk drives. (or more or however many you got) Now, if you want a raid mirror here is what you do. Load a scratch install of FreeBSD 6.2 on the first disk. Run atacontrol to create a mirror on both disks. This writes out a metadata format that FreeBSD's disk driver understands. This will trash your freebsd install of course. No problem. Reboot from the installation CD and now you will see the 2 disks, plus ar0 (the mirror) Install to that and your all set. Basically the only difference between doing it HP's way by creating the RAID from HP BIOS and doing it the FreeBSD way is that the HP BIOS is unaware of the FreeBSD metadata format so you cannot see or rebuild an array from BIOS that was created in FreeBSD, and FreeBSD is unaware of HP's metadata format so you cannot see or rebuild an array from FreeBSD that was created in BIOS As far as how the actual raid mirror works, it's exactly the same. In fact, better, since you can rebuild a FreeBSD array from FreeBSD and it's about 10 times faster than rebuilding it from HP's BIOS. Ted - Original Message - From: George Vanev [EMAIL PROTECTED] To: FreeBSD Questions freebsd-questions@freebsd.org Sent: Wednesday, January 24, 2007 4:35 AM Subject: HP Embedded SATA RAID controller (FreeBSD 6.2) I have HP ProLiantML 110 G3 server. I am trying to install FreeBSD 6.2. But it doesn't seem to recognise the RAID controller. I don't know what exactly is the controller. In the hp site I didn't find anything usefull, except that this is HP embedded SATA RAID controller Not much, uh?! Any one could help?! Regards -- George Vanev ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Just great!!! Thanks a lot!!! But still it will use the hardware RAID controller, right?! It is not a software RAID, I hope. I hate to disappoint you but the embedded SATA controller chip is a software raid chip, whether you set it up with BIOS or with FreeBSD's drivers. Not that this matters, however. Mirroring does not do parity calculation and so there is no need for a hardware controller. All the SATA chip does when the driver sees a mirror is it sets a flag in the SATA chip that tells the chip to duplicate any writes to both disks. Reads always happen from the primary disk. For true SATA hardware raid you need a card like a 3ware or highpoint card, these can do raid 5, etc. Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BBC debate Battle of the operating systems
Robin Becker wrote: The BBC is to host a debate on multiple OSes. http://news.bbc.co.uk/2/hi/technology/6288119.stm They want one individual to represent each OS. Apparently they only want Vista, OS X and Linux, but I don't see why we can't press for FreeBSD. I have complained. Last week I had to listen to a clueless *%$£ proclaim on Radio 4 that Linux was the first open source operating system, so I complained about that too! Might not make a difference, but with the BBC at least there's a chance. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: man sysinstall
On Thu, Jan 25, 2007 at 07:28:39PM -0500, Tom Rhodes wrote: On Thu, 25 Jan 2007 14:54:47 + Ceri Davies [EMAIL PROTECTED] wrote: On Wed, Jan 24, 2007 at 11:05:13PM -0800, BSD Certification Team wrote: Hello all, The man page for sysinstall is pretty out of date. I am trying to PXE boot to an unattended install. I figured out that I needed to add dists=base kernels GENERIC even though kernels and GENERIC are not in the list in the man page. Is there anyone in charge of updating this information? I have never submitted an update. I guess that's me. Could you please raise a PR and send me the number? I tried with almost every version of 5.X to get an unattended install working. Never worked. It seems as if sysinstall was looking only for a USB floppy drive. Originally I started looking over the code to send in a PR and perhaps a patch, but became busy with other things. I can't speak for 5.x because I didn't really run it, but this worked for 6.x a year ago: http://typo.submonkey.net/articles/2006/02/12/ The OP's note about adding the kernels line is definitely needed and I'll fix that (though I would really love a PR for it), but for anything else, you have to send hardware (a laptop or Soekris, I'm not fussy!) :) Ceri -- That must be wonderful! I don't understand it at all. -- Moliere pgpB5NvrkjjFp.pgp Description: PGP signature
Re: man sysinstall
On Thu, Jan 25, 2007 at 02:54:47PM +, Ceri Davies wrote: On Wed, Jan 24, 2007 at 11:05:13PM -0800, BSD Certification Team wrote: Hello all, The man page for sysinstall is pretty out of date. I am trying to PXE boot to an unattended install. I figured out that I needed to add dists=base kernels GENERIC even though kernels and GENERIC are not in the list in the man page. Is there anyone in charge of updating this information? I have never submitted an update. I guess that's me. Could you please raise a PR and send me the number? Actually, could you also (or just) send me your working install.cfg; I'm not in a position to text PXE at the moment and it will help me doublecheck that I'm doing it right. Thanks, Ceri -- That must be wonderful! I don't understand it at all. -- Moliere pgpwPJituPwrx.pgp Description: PGP signature
Re: FreeBSD challenged by Internet
The 2 systems, Windows or FreeBSD, cost the same. That is, assuming that time=money. Which everyone does, except for those who have so much money they don't have to work for a living, or those who have nothing and are perectly content to live with - nothing. But I am not comparing Windoze with FreeBSD. I am comparing FreeBSD on a pre-owned box with FreeBSD on a brand-new box. The software install costs about the same; probably a bit less on average for an older box since it is less likely to have some new- fangled net or RAID chip that wastes time finding out that FreeBSD doesn't have a driver for it yet -- or that the driver only works on CURRENT. Then, add in the difference in the cost of the hardware, which in the brand-new case has the cost of the pre-loaded OS bundled in -- even though that OS is worth nothing to me since I plan to run a different one. Bottom line: a FreeBSD box built on older hardware is cheaper than a FreeBSD box built on brand new hardware. One tradeoff: the CPU in the older box most likely isn't as fast as the one in a new box; that's critical for some uses but not for mine. Another tradeoff: unless I get *really* lucky, and happen upon an outfit that has just swapped out a bunch of identical boxes, no two of my pre-owned boxes are going to be alike. That doesn't matter to me, but it would be a very big deal if I were building a server farm. It is like owning property. One person can have a plot he bought 40 years ago for $5000 Right next to it another person can have the same size plot that's similar features he bought for $100K a week ago. The tax man is not going to say to the first person that your plot is only worth $5K The plot has equity in it that makes it just as expensive as the $100K plot. Granted the current property taxes are the same, but the situation changes when they sell their respective properties. The old-timer is going to get socked for capital gains on $95K (unless it qualifies for the personal-residence exemption, or he does a 1031 exchange, or some such). big snip If a guy buys a DSL account from DSL Only for $30 a month and 2 months later DSL Only decides they are going to lower their price in leu of advertising to get more customers, what do you think said guy is going to do if one day he sees the price on DSL Only website to be lower? I'll tell you, he and all DSL Only other customers are going to call in and demand the special deal, and all the sudden the DSL plan to get more customers has just blown up in their face. And the same can't happen by word of mouth/email/etc? I don't believe there's an ISP in Portland that has current pricing on their site. I found several just now, including DSL Only; most quoting the ISP and telco charges separately but a couple providing a single combined quote. One linked off to a separate page for the telco charges. Surely you don't mean that the charges they are quoting are *not* their current rates? I have also got the notes from my previous research somewhere, but it would take a while to figure out where. I do remember that there were plenty who *appeared* to have then-current pricing -- including both their own charge and the line charge -- and that only one was anywhere near cost-competitive with Verizon; and I presume that the costs shown on such sites were the lowest available at the time. (It seems pretty obvious that advertising a price that is not your lowest then available, and that is clearly not competitive, is not a terribly effective way to attract business.) It may be a little less obvious that failing to advertise costs at all -- or advertising only the ISP charge and leaving the reader to guess at the line charge -- is not an effective way to generate calls from those who are comparison-shopping and for whom cost is a consideration. I for one won't *bother* with calling someone who doesn't disclose costs up front. I figure, if they were truly competitive, they would make a point of letting the public know about it. ... Qwest does not stick it in pricing to the independent ISPs the way that Verizon does ... It is very much a chicken and egg problem. No ISP is going to spend the money to interconnect with Verizon, sign a wholesale agreement, and all of that, until they have sufficient Verizon customers to have a business justification to do it. But, in order to get that sufficient Verizon customer base, they have to have a wholesale agreement!!! This is precisely the kind of thing I am referring to when I accuse Verizon of violating the INTENT of the antitrust laws, even if they manage to stay within the letter or convince the authorities to look the other way. It is one reason why I don't want to pay them any more than necessary, and that includes paying their surcharge to use a different ISP. It would be a point in favor of an ISP with a wholesale account. And last but not least is the ATM vs Frame thing. Verizon initally deployed
Re: BBC debate Battle of the operating systems
They finally got around to posting linux usage but are apparently biased or too STOOPIT! to acknowlege *BSD...which seem really odd as a netcraft query returns: Solaris 9/10 Apache/2.0.54 (Unix) 16-Jan-2007 212.58.224.116 BBC Internet Services, Docklands. This says nothing either way about the cluefulness of BBC's broadcast division, but in any event Solaris != FreeBSD. Solaris is a descendant of SVR4, complete with STREAMS (and likely other assorted silliness -- in both the kernel and the userland). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: The BBC survey....
On Fri, Jan 26, 2007 at 04:07:57AM -0200, Sergio Lenzi wrote: Hello alll Even FreeBSD, or even any BSD (ok, OSX is BSD...) is mention in the BBC survey, I notice that: OSX is _NOT_ FreeBSD. It has a different kernel (based on Mach 3) and only uses userland tools from FreeBSD, most of which are probably modified by the OSX team. It also adds a lot of stuff (GUI for example) 1) They claim that 90% of the persons use windows, but in the publish list, is just the contrary... only 2 ones use windows, and like it, and one of them just for games It's probably more than 90%, the last study I saw (~2 years ago) said that 98% of the users used windows. Remember, a lot of users are completely unaware that there is a such a thing as an operating system. The people who reacted to the BBC article are computer nerds, and are not representative for the average computer user. Also, there is a _BIG_ difference in the desktop OS market and the server OS market 2) The person that likes windows vista, likes it because he can make a good backup to save things when he lost them, this shows a common thing that happens when you use windows... (you will lost something)... so you need backups, winzips, winrars, avg, norton... and zilions of useless things that make your computer work better.. when in reality, all you need is a good gnome 2.16 or a kde 3.5.4... This can happen on FreeBSD to, the most common reason for loss of data is hard disk failure, which has nothing to do with windows. 3) 90% of the persons use the computer to write documents, access internet, and use email. so the number or persons using Mac and Linux is rasing 4) To use the vista, probably you will need an upgrade... (a good graphics for directx10, 64bit cpu, and 2 gb of memory...) here will cost 1000 dollars.. 5) more than half of the persons were windows users and switched to OSX or Linux Not a shocking fact, since DOS/Windows has has a monopoly on the desktop OS market for more than 15 years... Here in my country (Brazil) I am selling notebooks with FreeBSD and gnome 2.16 to high executives. and is doing well.. so it shows that the success of the computer is in the easy of use and not in the features it has The more important the person in the company, the easy to use and less features must have the computer. so for me, gnome is the best choice. Sergio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
6.2 STABLE?
I just finished making and installing world and a new kernel yesterday. I had cvsup'ed the latest src/ports with releng 6_2. I thought 6.2 STABLE was out, but a uname-a shows 6.2 RELEASE on my system. Am I missing something? :-) Best regards, Andreas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 6.2 STABLE?
Andreas Widerøe Andersen wrote: I just finished making and installing world and a new kernel yesterday. I had cvsup'ed the latest src/ports with releng 6_2. I thought 6.2 STABLE was out, but a uname-a shows 6.2 RELEASE on my system. Am I missing something? :-) Best regards, Andreas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] From http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html : RELENG_6 The line of development for FreeBSD-6.X, also known as FreeBSD 6-STABLE RELENG_6_2 The release branch for FreeBSD-6.2, used only for security advisories and other critical fixes. in short: use RELENG_6 if you want 6-STABLE -- -Frank Staals ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 6.2 STABLE?
Andreas Widerøe Andersen wrote: I just finished making and installing world and a new kernel yesterday. I had cvsup'ed the latest src/ports with releng 6_2. I thought 6.2 STABLE was out, but a uname-a shows 6.2 RELEASE on my system. Am I missing something? :-) Kind of :) its just the naming conventions of FreeBSD. RELEASE means the stable production release. STABLE means the cvs development branch that will become the next RELEASE, thus 6.2 is the latest stable release. If you really want to follow STABLE you need to do it via cvs/cvsup and recompiling your entire system from time to time. However its name can (occasionally) be a misnomer as it isnt always as stable as a release. Hope that helps, Vince Best regards, Andreas ___ 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: BBC debate Battle of the operating systems
On Fri, Jan 26, 2007 at 08:54:44PM +1300, Juha Saarinen wrote: On 1/26/07, Grzegorz Pluta [EMAIL PROTECTED] wrote: People from the media doesnt know that FreeBSD Unix exists. Rubbish. I have known about the existence of FreeBSD (and other BSD variants) for a great many years now. I agree, when I started looking into alternatives to windows (~3 years ago) I found more than enough information about *BSD, most of which was pretty good to, since FreeBSD was the first alternative I tried. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dhclient overwrites reslov.conf
On 1/26/07, [LoN]Kamikaze [EMAIL PROTECTED] wrote: I'm in a LAN with a relatively short lease time. That wouldn't be a problem if I wouldn't run a vpnc connection through this LAN. The vpnc connection sets /etc/resolv.conf as required, but dhclient overwrites it every couple of minutes, causing DNS not to work any more. Is there a way to make dhclient set up resolv.conf only when the IP of the interface is changed? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] take a look at the /etc/dhclient.conf man page. You can add a line to set dns servers. example: # $FreeBSD: src/etc/dhclient.conf,v 1.3 2001/10/27 03:14:37 rwatson Exp $ # # This file is required by the ISC DHCP client. # See ``man 5 dhclient.conf'' for details. # # In most cases an empty file is sufficient for most people as the # defaults are usually fine. # prepend domain-name-server 130.253.166.41; just change 130.253.166.41 with the correct value jeremy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BBC debate Battle of the operating systems
Juha Saarinen writes: People from the media doesnt know that FreeBSD Unix exists. Rubbish. I have known about the existence of FreeBSD (and other BSD variants) for a great many years now. Indeed. Not long after Linux appeared on the radar of the general public, the tech reporter for my local paper (which, being the /Boston Globe/ is not quite as tech-challenged as most publications, but even so) did a very nice and very accurate called something like The most important OS you've never heard about. 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: PCBSD 6.2 -- How to Install Second CD?
On Monday 22 January 2007 03:31, Benjamin Sher wrote: Dear friends: Just installed the first CD of PCBSD 6.2. I also downloaded the second CD. How do I install it, please? You don't install the 2nd cd... It contains : Description: CD #2 - Multi-Language support for KDE Essential PBI Pack. You mount the cd and use pkg_add or their own pbi-system to add programs or install an addional language. More info is in the PC-BSD Knowledge Base. Hope this helps, Beni. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Messy ports, how to clean them up?
On 1/26/07, Philip Hallstrom [EMAIL PROTECTED] wrote: Well, I use portsnap and portupgrade on a regular basis and therefore I could watch very often the rebuild of ports - a nice and neat thing of FreeBSD. Bit sometimes I or someone else installs ports an they install dependencies and then he/she or I decide to kill/delete a specific port, but very often dependencies remains on the system and doing this deletion a couple of times will end in some 'zombie' remains of ports. Is there a way cleaning up automatically a messy ports collection? Like portupgrade does, only the opposite way, not rebuilding/reinstalling a rebuilt/upgraded port, looking for stale ports never used anymore by another port? Thanks a lot in advance, Oliver P.S. I'm not very familiar with the complexicity of the pkgtoolset and ports collection, sorry. I prefer portmanager -slid. I've always used pkg_rmleaves... pops up a nice little dialog listing all the ports that aren't required by any other ports... check the ones you want to get rid of... on my non-serious boxes I tend to check anything I don't recognize and/or things I know I want gone. Then it repeats the process with any new ports that are no longer required due to anything you just removed. Seems to work pretty well for me... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- -- I'm nerdy in the extreme and whiter than sour cream ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Renaming files in one shot
Under a directory I have many pdf files named according to M$ Windows rules, that is: Marylin Monroe.pdf James Stewart.pdf Alice in Wonderland.pdf Ludwig Van Beethoven.pdf . . Now I'd like to rename them ** IN ONE SHOT ** (some more steps would be acceptable anyway!) deleting all the blanks, that is MarylinMonroe.pdf JamesStewart.pdf AliceinWonderland.pdf LudwigVanBeethoven.pdf How can I do that? Ciao Vittorio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [Opinions Wanted] Dell PowerEdge 2950 Servers ...
In response to Marc G. Fournier [EMAIL PROTECTED]: Have a friend that swears by them, but ... he's in the Linux camp, so tends to have a quasi-inside track ... What are ppls opinions on them as far as FreeBSD is concerned? Also, interested in what sort of specs ppl are running ... I'm interested in going with an 8xSAS drive system, dual-dual-core, figuring 10 or 16G of RAM ... redundant power and the Dell Remote Access Card ... We have 4 1950s and 3 2950s in use around here. Only one is actually in production so far, the rest are still being configured, etc. We're mostly happy with them. The following is a list of caveats: *) The version 5 DRAC is nicer than the version 4, _except_ that you have to use a Windows client to connect to it. May not be an issue for you, but all our admins here use FreeBSD on their workstations :( *) There's an issue where the systems will hang on reboot about 50% of the time. I tried to track this down but found that if I added any debugging code, the problem disappeared :( It's not a big deal for three reasons -- we don't reboot servers very often, the hang occurs after the disks are synced so it doesn't trigger an fsck, and we have DRAC cards in all of them :) *) The new PERC controllers use the mfi driver, which works well as far as we can tell ... unfortunately, there's no equivalent to megarc (which we use with 1850 and 2950 systems) so we have been unable to come up with a way to monitor the health of the RAID arrays from within the OS. *) Make sure you use a recent version of FreeBSD (6.2). The NIC cards on these use the bge driver, which was buggy as hell prior to 6.2. The biggest benefit we noticed when moving from the x850 to the x950 systems is that the IPMI and DRAC cards perform much better. It's a shame that Dell decided to use ActiveX for the v5 DRAC :( -- Bill Moran Collaborative Fusion Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Renaming files in one shot
El día Friday, January 26, 2007 a las 02:36:03PM +0100, Vittorio escribió: Under a directory I have many pdf files named according to M$ Windows rules, that is: Marylin Monroe.pdf James Stewart.pdf Alice in Wonderland.pdf Ludwig Van Beethoven.pdf . . Now I'd like to rename them ** IN ONE SHOT ** (some more steps would be acceptable anyway!) deleting all the blanks, that is MarylinMonroe.pdf JamesStewart.pdf AliceinWonderland.pdf LudwigVanBeethoven.pdf How can I do that? with something like: $ for i in *.pdf ; do mv $i `echo $i | sed 's/ //g'` ; done (make a backup before :-)) matthias -- Matthias Apitz Manager Technical Support - OCLC PICA GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e [EMAIL PROTECTED] - w http://www.oclcpica.org/ http://guru.UnixLand.de/ b http://gurucubano.blogspot.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [Opinions Wanted] Dell PowerEdge 2950 Servers ...
Have a friend that swears by them, but ... he's in the Linux camp, so tends to have a quasi-inside track ... What are ppls opinions on them as far as FreeBSD is concerned? Also, interested in what sort of specs ppl are running ... I'm interested in going with an 8xSAS drive system, dual-dual-core, figuring 10 or 16G of RAM ... redundant power and the Dell Remote Access Card ... My personal experience with Dell is that it's ok until you hit a problem. Then it's hell. So bad, in fact, that we don't purchase them anymore and have gone with IBM and HP systems for our FreeBSD, RedHat and Windows machines. IMHO, the problem with Dell is not their hardware, but their support (or lack of it). If you plan on running your Business on Dell, be prepared for Incredibly bad and horrible support. Be it consumer product support or Enterprise 24/7/365 type support. Dell support is a total waste of money and time, but a superb source of frustration. (so if you're looking to get frustrated, there's your chance :) I even had to way two complete days (!) to resolve a 24/7/365 type support call ! Pathetic, really. Not to say that the hardware is good, far from that. Place equivalent IBM, Dell, HP and Sun machines next to one another and you quickly see that Dell uses sub-quality parts. There is less precise documentation printed directly on the machine (a technique IBM and Sun have mastered). You often need two or three different screwdrivers to take the various pieces apart. While with the other Tier-1 vendors, most pieces don't even require any tool at all. Finally, the Documentation that is shipped with the Dell machines is of dubious quality compared with the other top vendors. So, to sum up, I strongly recommend going with either IBM or HP for FreeBSD systems. With them, you get quality hardware and real support. Of course it might be a bit more expensive. But it's worth it. Well, you get what you pay for don't you? YMMV of course. Cheers, David -- David Robillard UNIX systems administrator Oracle DBA CISSP, RHCE Sun Certified Security Administrator Montreal: +1 514 966 0122 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [OT] Does ~ always point to $HOME?
Bill Campbell wrote: On Fri, Jan 26, 2007, Dak Ghatikachalam wrote: I write shells script extensively , I have noticed ~ - gets a subsitution for $HOME ~userid - gets you the $HOME for that user meaning if you have have logged in as root and if you want to run some script on oracle home even though you logged in as root you can simplly ~oracle/runme.sh -- will run the runme.sh in Oracle home directory While that's true for most shells, bash, csh, tcsh, etc., it doesn't work on true Bourne /bin/sh shells (e.g. SCO OpenServer 5.0.6a and earlier and probably others with Bell Labs ancestors). Not sure what I'm missing, is FreeBSD's /bin/sh shell not true Bourne Shell? Was it extended in some way from traditional one? % [EMAIL PROTECTED] uname -spr % FreeBSD 6.2-STABLE i386 % [EMAIL PROTECTED] printenv SHELL % /bin/sh % [EMAIL PROTECTED] cd test % [EMAIL PROTECTED] pwd % /home/karol/test % [EMAIL PROTECTED] cd ~ % [EMAIL PROTECTED] pwd % /home/karol % [EMAIL PROTECTED] cd ~kadu % [EMAIL PROTECTED] pwd % /home/kadu It's a Good Idea(tm) when writing scripts that may be used on many systems to program defensively, for the lowest common denominator to avoid pitfalls like this. Bill Agreed. Karol -- Karol Kwiatkowski karol.kwiat at gmail dot com OpenPGP 0x06E09309 signature.asc Description: OpenPGP digital signature
Re: [Opinions Wanted] Dell PowerEdge 2950 Servers ...
On Fri, Jan 26, 2007 at 09:41:19AM -0500, David Robillard wrote: My personal experience with Dell is that it's ok until you hit a problem. Then it's hell. So bad, in fact, that we don't purchase them anymore and have gone with IBM and HP systems for our FreeBSD, RedHat and Windows machines. Can you say PERC? IMHO, the problem with Dell is not their hardware, but their support (or lack of it). Ditto -- We had a (duh) PERC 3/di go south on a PE2550 and getting Dell to fix it was like pulling teeth. Once I finally leaned on them enough to get them to agree to an RMA, I had to wait until the next day for the part to be courried to my datacenter (which was a slight gaff, since they don't usually do SR), and another couple of hours for the guy to show up. If you plan on running your Business on Dell, be prepared for Incredibly bad and horrible support. Be it consumer product support or Enterprise 24/7/365 type support. Agreed.. and since FreeBSD 6.2-RELEASE runs on Sun X86-64 servers (X2100, X4100, X4200), I don't see any reason to have to bother with it. However, I do have a handful of PE2950s in deployment, just upgraded them all to 6.2-RELEASE, no problems yet (unlike those crappy SuperMicro Pentium D boards). Cheers, ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [OT] Does ~ always point to $HOME?
On Fri, 26 Jan 2007 15:21:14 +0100 Karol Kwiatkowski [EMAIL PROTECTED] wrote: While that's true for most shells, bash, csh, tcsh, etc., it doesn't work on true Bourne /bin/sh shells (e.g. SCO OpenServer 5.0.6a and earlier and probably others with Bell Labs ancestors). Not sure what I'm missing, is FreeBSD's /bin/sh shell not true Bourne Shell? Was it extended in some way from traditional one? FreeBSD /bin/sh is actually an ash, which roughly translates into a POSIX shell with a few additions that do not break compatibility. At least that is how I understood it. Joerg -- | /\ ASCII ribbon | GnuPG Key ID | e86d b753 3deb e749 6c3a | | \ / campaign against |0xbbcaad24 | 5706 1f7d 6cfd bbca ad24 | | XHTML in email |.the next sentence is true. | | / \ and news | .the previous sentence was a lie.| -- | /\ ASCII ribbon | GnuPG Key ID | e86d b753 3deb e749 6c3a | | \ / campaign against |0xbbcaad24 | 5706 1f7d 6cfd bbca ad24 | | XHTML in email |.the next sentence is true. | | / \ and news | .the previous sentence was a lie.| ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [Opinions Wanted] Dell PowerEdge 2950 Servers ...
In the last episode (Jan 26), chris neill said: On Fri, Jan 26, 2007 at 09:41:19AM -0500, David Robillard wrote: IMHO, the problem with Dell is not their hardware, but their support (or lack of it). Ditto -- We had a (duh) PERC 3/di go south on a PE2550 and getting Dell to fix it was like pulling teeth. Once I finally leaned on them enough to get them to agree to an RMA, I had to wait until the next day for the part to be courried to my datacenter (which was a slight gaff, since they don't usually do SR), and another couple of hours for the guy to show up. Maybe it depends on you you end up talking to. We recently had a PERC 4e/Di go bad in one of our PE2800s. Dell sent us a new motherboard same day and we replaced it ourselves in 2 hours (took so long only because we had never done it before). It did ship with an out-of-date BIOS, though, so it took a while to flash everything up. -- Dan Nelson [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: Renaming files in one shot
# more ~/bin/renomme NUM=$1 shift NOUVEAU=`echo $* | sed 's/ /_/g' ` find . -inum $NUM -exec ln {} $NOUVEAU \; 2007/1/26, Vittorio [EMAIL PROTECTED]: Under a directory I have many pdf files named according to M$ Windows rules, that is: Marylin Monroe.pdf James Stewart.pdf Alice in Wonderland.pdf Ludwig Van Beethoven.pdf . . Now I'd like to rename them ** IN ONE SHOT ** (some more steps would be acceptable anyway!) deleting all the blanks, that is MarylinMonroe.pdf JamesStewart.pdf AliceinWonderland.pdf LudwigVanBeethoven.pdf How can I do that? Ciao Vittorio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- jjd ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
BIND tool for setting up secondary records?
I am not a member of a BIND list, so I thought I'd ask here first if anyone knows of a script tool that will query a primary name server and setup secondary records on another BIND server? Or any other solution for doing mass entries of domains to a BIND server to setup secondary records with the same primary master? -- Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BIND tool for setting up secondary records?
On Friday 26 January 2007 10:50, Robert Fitzpatrick wrote: I am not a member of a BIND list, so I thought I'd ask here first if anyone knows of a script tool that will query a primary name server and setup secondary records on another BIND server? Or any other solution for doing mass entries of domains to a BIND server to setup secondary records with the same primary master? If you set up a slave domain it will automatically query and stay in sync with the master nameserver. I use scripts on both ends for most new domains. Here's the files from the slave side: === begin addconf.sh === #!/bin/sh DATADIR=/etc/namedb/conf TEMPLATE=/etc/namedb/templates/default.bind usage() { echo Usage: $0 \domain.name\ [templatefile] exit 1; } if [ $2 ] ; then if [ -r $2 ] ; then TEMPLATE=$2 else usage fi fi if [ $1 ] ; then DOMAIN=$1 else usage fi echo -n Configuring ${DOMAIN} using ${TEMPLATE}.. cat ${TEMPLATE} | sed -e s/%%DOMAIN%%/${DOMAIN}/g ${DATADIR}/${DOMAIN}.bind echo done. === end addconf.sh === === begin default.bind === zone %%DOMAIN%% { type slave; file slave/%%DOMAIN%%.bak; masters { my.master.server.ip; }; allow-query { 0.0.0.0/0; }; }; === end default.bind === === begin make-conf.sh === #!/bin/sh inputfile=/etc/namedb/templates/named.conf.in outputfile=/etc/namedb/named.conf backupfile=/etc/namedb/backups/named.conf.old confdir=/etc/namedb/conf if [ -r ${outputfile} ] ; then echo Backing up current file to ${backupfile}.. mv -f ${outputfile} ${backupfile} fi echo -n Generating ${outputfile}.. cp -f ${inputfile} ${outputfile} for conffile in ${confdir}/*.bind; do echo include \${conffile}\; $outputfile done echo done. === end make-conf.sh === For named.conf.in you just want your normal named.conf file that doesn't include any of the domains defined in ${confdir}. Figuring out the rest of it I leave as an exercise for the reader, but I'm happy to answer specific questions. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [Opinions Wanted] Dell PowerEdge 2950 Servers ...
On Thu, Jan 25, 2007 at 11:46:02PM -0400, Marc G. Fournier wrote: Have a friend that swears by them, but ... he's in the Linux camp, so tends to have a quasi-inside track ... What are ppls opinions on them as far as FreeBSD is concerned? Also, interested in what sort of specs ppl are running ... I'm interested in going with an 8xSAS drive system, dual-dual-core, figuring 10 or 16G of RAM ... redundant power and the Dell Remote Access Card ... We have had no problems with them, though I don't think we have had any decked out quite that heavy. jerry Thanks ... - Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . [EMAIL PROTECTED] MSN . [EMAIL PROTECTED] Yahoo . yscrappy Skype: hub.orgICQ . 7615664 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (FreeBSD) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BBC debate Battle of the operating systems
On 1/26/07, Robert Huff [EMAIL PROTECTED] wrote: Juha Saarinen writes: People from the media doesnt know that FreeBSD Unix exists. Rubbish. I have known about the existence of FreeBSD (and other BSD variants) for a great many years now. Indeed. Not long after Linux appeared on the radar of the general public, the tech reporter for my local paper (which, being the /Boston Globe/ is not quite as tech-challenged as most publications, but even so) did a very nice and very accurate called something like The most important OS you've never heard about. Robert Huff I think PCBSD 1.3 and DesktopBSD 1.6 will change this soon, since they are making FreeBSD desktop ready for workstations, pcs, and laptops Check http://www.bsdstats.org/ and see PCBSD rank now ;) The only thing is needed to boost FreeBSD image as a desktop ready OS is missing Flash native player. I have filled feature request in adobe to port Flash player to FreeBSD as well. -- Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
how to access /stand after the package installed
How can I access /stand directory in FreeBSD 6.2 using postinstall script of the customerized package? I can do that in Freebsd 5.3. Thanks. Douglas Song ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: The BBC survey....
On 2007/01/26 0:42, Martin Tournoij seems to have typed: It's probably more than 90%, the last study I saw (~2 years ago) said that 98% of the users used windows. That survey is clearly wrong. With Apple pulling 4-5% of the (new) market, and the average time between replacements being higher with MacOS over Windows, the absolute largest percentage that use Windows would be 96%. Any number higher than that is clearly wrong. That assumes everybody who doesn't buy a Mac runs Windows. So that would be 0.0% market share for every variant of Linux and every variant of BSD. Assume a higher than 0.0% market share for the open source OS's and the maximum value for windows further declines. My gut feeling is that the 90% number is about right, but I would believe anything from 85%-94%. Any higher than 94% can't be right. There are obviously more than zero BSD and Linux users. :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how to access /stand after the package installed
On Fri, Jan 26, 2007 at 11:12:37AM -0500, Douglas Song wrote: How can I access /stand directory in FreeBSD 6.2 using postinstall script of the customerized package? I can do that in Freebsd 5.3. It moved: [EMAIL PROTECTED] [8:49am](2):72:/root# which sysinstall /usr/sbin/sysinstall [EMAIL PROTECTED] [8:49am](2):73:/root# whatis sysinstall sysinstall(8)- system installation and configuration tool [EMAIL PROTECTED] [8:49am](2):74:/root# uname -a FreeBSD detroit.prod.biz360.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 08:32:24 UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC amd64 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 6.2 STABLE?
On Fri, Jan 26, 2007 at 10:35:32AM +0100, Andreas Wider?e Andersen wrote: I just finished making and installing world and a new kernel yesterday. I had cvsup'ed the latest src/ports with releng 6_2. I thought 6.2 STABLE was out, but a uname-a shows 6.2 RELEASE on my system. Am I missing something? :-) No. You have what you want, I think. RELEASE is the tested and vetted final product. STABLE is just a snapshot of work in progress. Of course, RELEASE is also a snapshot, but it is frosen, tested, ports brought up to snuff, etc and then released. STABLE is just CURRENT in kind of reliable condition. Install RELEASE and then CVSUP to *default tag=RELENG_6_2 or possibly *default tag=RELENG_6 to keep up to date with security patches. jerry Best regards, Andreas ___ 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]
How to get best results from FreeBSD-questions
How to get the best results from FreeBSD questions. === Last update $Date: 2005/08/10 02:21:44 $ This is a regular posting to the FreeBSD questions mailing list. If you got it in answer to a message you sent, it means that the sender thinks that at least one of the following things was wrong with your message: - You left out a subject line, or the subject line was not appropriate. - You formatted it in such a way that it was difficult to read. - You asked more than one unrelated question in one message. - You sent out a message with an incorrect date, time or time zone. - You sent out the same message more than once. - You sent an 'unsubscribe' message to FreeBSD-questions. If you have done any of these things, there is a good chance that you will get more than one copy of this message from different people. Read on, and your next message will be more successful. This document is also available on the web at http://www.lemis.com/questions.html. = Contents: I:Introduction II: How to unsubscribe from FreeBSD-questions III: Should I ask -questions or -hackers? IV: How to submit a question to FreeBSD-questions V:How to answer a question to FreeBSD-questions I: Introduction === This is a regular posting aimed to help both those seeking advice from FreeBSD-questions (the newcomers), and also those who answer the questions (the hackers). Note that the term hacker has nothing to do with breaking into other people's computers. The correct term for the latter activity is cracker, but the popular press hasn't found out yet. The FreeBSD hackers disapprove strongly of cracking security, and have nothing to do with it. In the past, there has been some friction which stems from the different viewpoints of the two groups. The newcomers accused the hackers of being arrogant, stuck-up, and unhelpful, while the hackers accused the newcomers of being stupid, unable to read plain English, and expecting everything to be handed to them on a silver platter. Of course, there's an element of truth in both these claims, but for the most part these viewpoints come from a sense of frustration. In this document, I'd like to do something to relieve this frustration and help everybody get better results from FreeBSD-questions. In the following section, I recommend how to submit a question; after that, we'll look at how to answer one. II: How to unsubscribe from FreeBSD-questions == When you subscribed to FreeBSD-questions, you got a welcome message from [EMAIL PROTECTED] In this message, amongst other things, it told you how to unsubscribe. Here's a typical message: Welcome to the freebsd-questions@freebsd.org mailing list! If you ever want to unsubscribe or change your options (eg, switch to or from digest mode, change your password, etc.), visit your subscription page at: http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED] (obviously, substitute your mail address for [EMAIL PROTECTED]). You can also make such adjustments via email by sending a message to: [EMAIL PROTECTED] with the word 'help' in the subject or body (don't include the quotes), and you will get back a message with instructions. You must know your password to change your options (including changing the password, itself) or to unsubscribe. Normally, Mailman will remind you of your freebsd.org mailing list passwords once every month, although you can disable this if you prefer. This reminder will also include instructions on how to unsubscribe or change your account options. There is also a button on your options page that will email your current password to you. Here's the general information for the list you've subscribed to, in case you don't already have it: FREEBSD-QUESTIONS User questions This is the mailing list for questions about FreeBSD. You should not send how to questions to the technical lists unless you consider the question to be pretty technical. Normally, unsubscribing is even simpler than the message suggests: you don't need to specify your mail ID unless it is different from the one which you specified when you subscribed. If Majordomo replies and tells you (incorrectly) that you're not on the list, this may mean one of two things: 1. You have changed your mail ID since you subscribed. That's where keeping the original message from majordomo comes in handy. For example, the sample message above shows my mail ID as [EMAIL PROTECTED] Since then, I have changed it to [EMAIL PROTECTED] If I were to try to remove [EMAIL PROTECTED] from the list, it would fail: I would have to specify the name with which I joined. 2. You're subscribed to a mailing list which is subscribed to
The Complete FreeBSD: errata and addenda
The trouble with books is that you can't update them the way you can a web page or any other online documentation. The result is that most leading edge computer books are out of date almost before they are printed. Unfortunately, The Complete FreeBSD, published by O'Reilly, is no exception. Inevitably, a number of bugs and changes have surfaced. The Complete FreeBSD has been through a total of five editions, including its predecessor Installing and Running FreeBSD. Two of these have been reprinted with corrections. I maintain a series of errata pages. Start at http://www.lemis.com/errata-4.html to find out how to get the errata information. Note also that the book has now been released for free download in PDF form. Instead of downloading the changed pages, you may prefer to download the entire book. See http://www.lemis.com/grog/Documentation/CFBSD/ for more information. Have you found a problem with the book, or maybe something confusing? Please let me know: I'm no longer constantly updating it, but I may be able to help Greg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mknod, devfs and FreeBSD
Hello, I have a web server still running FreeBSD 4.7 which I want to update to FreeBSD 6.2. There are quite a few sites on this machine, and each of them has a chroot containing their own /dev. In their /dev are things like null, zero, random and so on. I don't really want to set up or mount numerous devfs file systems. I tried creating the the relevent files using mknod but they don't work. What is the best way to proceed? Thanks, Frem. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Postgresql 8.1: plperl code works with LATIN1, fails with UTF8
Hi, I've got plperl code that works just fine when the database is encoded using LATIN1, but fails as soon as I switch to UTF8. I've been testing PG 8.1.4 under Linux, and PG 8.1.6 under FreeBSD, both behave exactly the save. I'm sorry I'm not able to strip down the code, and show you a small test, but if anyone need the full script, feel free to ask me per email. The code is made up of plperl routines, all structured in the same way, but only one of them fails in UTF8. It is: # CREATE OR REPLACE FUNCTION public.volets_fiche_fab_1 ( IN id_commande int4, OUT pos int4, OUT quant int4, OUT nbre_vtxint4, OUT nbre_vtx_total int4, OUT larg_maconnerie int4, OUT haut_maconnerie int4, OUT larg_vtxvarchar(20), OUT haut_vtxint4, OUT ouv int4, OUT couvre_joints text, OUT coupe_verticale text, OUT vide_interieur varchar(20), OUT typ varchar(20) ) RETURNS SETOF record AS $$ BEGIN { strict-import(); } # #-- Lexical variables # my @i; my @io; my @o; my $i; my $io; my $o; my %input; my %output; my $fab; my $fab_nrows; my $lignes_query; my $lignes; my $lignes_nrows; my $lignes_rn; my $c; my $j; my $key; my $value; my $ordre; my $vtxg; my $vtxd; # #-- Helper functions # my $init = sub { $c = 0; foreach $i (@i) {$input{$i} = @_[$c++]}; foreach $io (@io) {$input{$io} = @_[$c]; $output{$io} = @_[$c++]}; foreach $o (@o) {$output{$o} = @_[$c++]}; }; my $start_sub = sub { $init(@_); }; my $end_sub = sub { return undef; }; my $ret = sub { while (($key, $value) = each %output) {if (!defined($value)) {elog(ERROR, 'Valeur indéfinie pour ' . $key)}}; return_next \%output; $init(@_); }; # #-- Configuration des paramètres de la fonction # @i = ( 'id_commande' ); @io = (); @o = ( 'pos', 'quant', 'nbre_vtx', 'nbre_vtx_total', 'larg_maconnerie', 'haut_maconnerie', 'larg_vtx', 'haut_vtx', 'ouv', 'couvre_joints', 'coupe_verticale', 'vide_interieur', 'typ' ); # #-- Préparation des paramètres de la fonction # $start_sub(@_); # #-- Création de la fiche de fabrication # $lignes_query = 'SELECT * FROM lignes WHERE id_commande = ' . $input{'id_commande'} . ' ORDER BY pos;'; $lignes = spi_exec_query($lignes_query); $lignes_nrows = $lignes-{processed}; foreach $lignes_rn (0 .. $lignes_nrows - 1) { # Fabrication de la ligne $fab = spi_exec_query('SELECT * FROM volets_fab(' . $lignes-{rows}[$lignes_rn]-{'id'} . ');'); $fab_nrows = $fab-{processed}; # Recherches des éventuels vantaux de gauche et droite for ($j = 0; ($fab-{rows}[$j]-{'article'} ne 'Largeur de vantail gauche') and ($j $fab_nrows); $j = $j + 1) {}; if ($j $fab_nrows) { $vtxg = $fab-{rows}[$j]-{'larg'}; } for ($j = 0; ($fab-{rows}[$j]-{'article'} ne 'Largeur de vantail droite') and ($j $fab_nrows); $j = $j + 1) {}; if ($j $fab_nrows) { $vtxd = $fab-{rows}[$j]-{'larg'}; } # Position $output{'pos'} = $lignes-{rows}[$lignes_rn]-{'pos'}; # Quantité $output{'quant'} = $lignes-{rows}[$lignes_rn]-{'quant'}; # Nombre de vantaux $output{'nbre_vtx'} = $lignes-{rows}[$lignes_rn]-{'nbre_vtx'}; # Nombre de vantaux total $output{'nbre_vtx_total'} = $lignes-{rows}[$lignes_rn]-{'nbre_vtx'} * $lignes-{rows}[$lignes_rn]-{'quant'}; # Largeur de maçonnerie for ($j = 0; ($fab-{rows}[$j]-{'article'} ne 'Largeur de maçonnerie') and ($j $fab_nrows); $j = $j + 1) {}; if ($j $fab_nrows)
Re: [OT] Does ~ always point to $HOME?
On Fri, Jan 26, 2007, Joerg Pernfuss wrote: On Fri, 26 Jan 2007 15:21:14 +0100 Karol Kwiatkowski [EMAIL PROTECTED] wrote: While that's true for most shells, bash, csh, tcsh, etc., it doesn't work on true Bourne /bin/sh shells (e.g. SCO OpenServer 5.0.6a and earlier and probably others with Bell Labs ancestors). Not sure what I'm missing, is FreeBSD's /bin/sh shell not true Bourne Shell? Was it extended in some way from traditional one? FreeBSD /bin/sh is actually an ash, which roughly translates into a POSIX shell with a few additions that do not break compatibility. At least that is how I understood it. My point isn't whether the FreeBSD /bin/sh expands it, but that not all systems are FreeBSD, and that one can have problems on other *NIX systems. Knowing where there may be differences, and avoiding the assumptions that a program behaves the same on all systems, can help writing code that's portable without surprises. One of the major reasons I have been using GNU utilities on Unix systems for twenty-plus years, built with the ``g'' prefix, is to have a common set of programs which behave the same regardless of platform. Stallman would probably say I ran GNU/Xenix, GNU/SunOS, GNU/OpenServer, etc. Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way FAX:(206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 ``Most people, sometime in their lives, stumble across truth. Most jump up, brush themselves off, and hurry on about their business as if nothing had happened.'' - Sir Winston Churchill ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
OT: Function not recognized while calling a function from awk
Dear Freebsd I have something strange problem happening any input would be great for some reason the Korn shell is not detecting the function that I am calling from awk Actual code excerpt is function dogdied { echo Why the hell did you die in $1 } export dogdied RESTORE_LOCATION=/u03/oradata,/u01/app/oracle/oradata/,/u02/oradata echo $RESTORE_LOCATION | awk -F, '{ for (i=1; i=NF ;i++) { system (dogdied $i) print $i } } ' Output looks like below - [EMAIL PROTECTED]/u01/app/oraclefunction dogdied { echo Why the hell did you die in $1 } [EMAIL PROTECTED]/u01/app/oracle [EMAIL PROTECTED]/u01/app/oracleexport dogdied [EMAIL PROTECTED]/u01/app/oracle [EMAIL PROTECTED]/u01/app/oracle/oradata/,/u02/oradata [EMAIL PROTECTED]/u01/app/oracle [EMAIL PROTECTED]/u01/app/oracleecho $RESTORE_LOCATION | awk -F, '{ for (i=1; i=NF ;i++) { system (dogdied $i) print $i } } ' sh: line 1: dogdied: command not found /u03/oradata sh: line 1: dogdied: command not found /u01/app/oracle/oradata/ sh: line 1: dogdied: command not found /u02/oradata [EMAIL PROTECTED]/u01/app/oracle Any idea Thanks Dak ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [Opinions Wanted] Dell PowerEdge 2950 Servers ...
On Fri, Jan 26, 2007 at 08:59:43AM -0500, Bill Moran wrote: In response to Marc G. Fournier [EMAIL PROTECTED]: ... Some excised We have 4 1950s and 3 2950s in use around here. Only one is actually in production so far, the rest are still being configured, etc. We're mostly happy with them. The following is a list of caveats: *) The version 5 DRAC is nicer than the version 4, _except_ that you have to use a Windows client to connect to it. May not be an issue for you, but all our admins here use FreeBSD on their workstations :( Have you tried 'rdesktop' in the portst at /usr/ports/net/rdesktop or /usr/ports/net/xrdesktop? I don't know if it would apply to this, but it works for me in some other situations or similar MS annoyance. jerry ... much excised -- Bill Moran Collaborative Fusion Inc. ___ 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]
Best Blog Ap in the Ports?
What is the best blog ap in the ports tree? I was thinking of starting a blog on my server for my Chemistry Students. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [Opinions Wanted] Dell PowerEdge 2950 Servers ...
In response to Jerry McAllister [EMAIL PROTECTED]: On Fri, Jan 26, 2007 at 08:59:43AM -0500, Bill Moran wrote: In response to Marc G. Fournier [EMAIL PROTECTED]: ... Some excised We have 4 1950s and 3 2950s in use around here. Only one is actually in production so far, the rest are still being configured, etc. We're mostly happy with them. The following is a list of caveats: *) The version 5 DRAC is nicer than the version 4, _except_ that you have to use a Windows client to connect to it. May not be an issue for you, but all our admins here use FreeBSD on their workstations :( Have you tried 'rdesktop' in the portst at /usr/ports/net/rdesktop or /usr/ports/net/xrdesktop? I don't know if it would apply to this, but it works for me in some other situations or similar MS annoyance. The Dell DRAC is not based on the RDP protocol. It uses some kind of Dell-specific communication that seems to mimic VNC -- but standard VNC clients don't work with it. Version 4 DRAC provided a java client that worked fine on just about any OS we use, but the DRAC 5 requires some ActiveX component and doesn't run on non-MS systems. Luckily, there's qemu, but it's still not a perfect match. Qemu tends to be s l ow. -- Bill Moran Collaborative Fusion Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mknod, devfs and FreeBSD
On Fri, Jan 26, 2007 at 04:40:24PM +, Freminlins wrote: Hello, I have a web server still running FreeBSD 4.7 which I want to update to FreeBSD 6.2. There are quite a few sites on this machine, and each of them has a chroot containing their own /dev. In their /dev are things like null, zero, random and so on. I don't really want to set up or mount numerous devfs file systems. I tried creating the the relevent files using mknod but they don't work. What is the best way to proceed? Set up and mount numerous devfs file systems ;) Really it's not hard, you just specify the devices you want with a simple devfs(8) ruleset. Kris pgpkI4ApWH4oZ.pgp Description: PGP signature
Re: Best Blog Ap in the Ports?
On 1/26/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: What is the best blog ap in the ports tree? I was thinking of starting a blog on my server for my Chemistry Students. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I would say wordpress :) -- Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Best Blog Ap in the Ports?
On 26 Jan 2007, at 17:41, [EMAIL PROTECTED] wrote: What is the best blog ap in the ports tree? I was thinking of starting a blog on my server for my Chemistry Students. There is wordpress: /usr/ports/www/wordpress/ homepage: http://wordpress.org/ dont use it but its a nice app. Regards Eoghan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ISL intervlan routing
Hello all, For information, i'm french and my english is very bad. ISL encapsulation is it compatible with FreeBSD for intervlan routing??? Thanks - Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[SOLVED] Re: laptop screen always shutdown if no keyboard interaction for several minutes
在 2007-01-23二的 16:47 +0800,Zhang Weiwu写道: Hello. I tried various ways to stop the laptop screen from being shutting down, as I use this screen to watch debug message of an application I am working on, I need monitor always on, no screensaver, no blank, no dpms etc. I cannot do it. I have tried: 1. set blanktime to NO in /etc/rc.conf 2. set saver to NO in /etc/rc.conf 3. start X server and run a terminal in it, run xset -dpms 4. check laptop BIOS setting (there is no setting for automatic blank time I have not tried: I. remove 'apm' from kernel (I didn't compile ACPI into kernel because this is an old notebook I am not sure if ACPI works, but I have compiled apm in kernel, which is not shown in dmesg and doesn't seem to work, e.g. 'shutdown -p' do not turn off the power) II. install Windows on the same computer to see if Windows can keep the monitor on. III. boot the system to FreeDOS and see if monitor keep turned up (to decide if LCD is turned off by hardware or software) I have solved my problem. I cannot / didn't make APM work on my FreeBSD so basicaly turning of LCD/DFP is done by BIOS on its own. So my problem is actually not related to OS (FreeBSD). The solution: 1) get an IBM BIOS upgrade diskette (do a search on IBM website can find this diskette very easily; 2) use this diskette upgrade BISO from my current version (some version released in 1998) to the latest one (released in 1999). The new bios default setting is chagned a lot, including a change that by default BIOS lcd turn-off timer is not activated. If someone got the same problem as I got and don't wish to upgrade BIOS (as stated in an very early post I found by googling around, the latest BISO breaks apm feature on FreeBSD, not confirmed and don't know if this is a problem already solved) you can still get a Configuration utility for DOS - ThinkPad General (UTTPFDOS.EXE) from IBM (now Lenovo) website. Use it to configure BIOS to turn of timer. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [Opinions Wanted] Dell PowerEdge 2950 Servers ...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - --On Friday, January 26, 2007 08:59:43 -0500 Bill Moran [EMAIL PROTECTED] wrote: We have 4 1950s and 3 2950s in use around here. Only one is actually in production so far, the rest are still being configured, etc. We're mostly happy with them. The following is a list of caveats: *) The version 5 DRAC is nicer than the version 4, _except_ that you have to use a Windows client to connect to it. May not be an issue for you, but all our admins here use FreeBSD on their workstations :( I use FreeBSD for my 'get real work done' desktop, and Windows for games and the books ... so, having to run the DRAC client on it won't be an issue ... I do it now for the HPs since it gives me two screens to work with ... *) There's an issue where the systems will hang on reboot about 50% of the time. I tried to track this down but found that if I added any debugging code, the problem disappeared :( It's not a big deal for three reasons -- we don't reboot servers very often, the hang occurs after the disks are synced so it doesn't trigger an fsck, and we have DRAC cards in all of them :) 'k, so the hang is as its coming down, not coming up, right? If so, then that I can live with so same reasons as you ... will definitely have the DRAC cards ... *) The new PERC controllers use the mfi driver, which works well as far as we can tell ... unfortunately, there's no equivalent to megarc (which we use with 1850 and 2950 systems) so we have been unable to come up with a way to monitor the health of the RAID arrays from within the OS. With the HP server, 'camcontrol devlist' shows: COMPAQ RAID 1 VOLUME OK Nothing similar with the mfi driver? Also, are you using SAS or SATA on your 2950? *) Make sure you use a recent version of FreeBSD (6.2). The NIC cards on these use the bge driver, which was buggy as hell prior to 6.2. So I've heard, but I have bge on 3 of my HP servers, and never had a problem with them under 6.1 ... I'm sooo unlike everywhere else, guess I had to have some luck somewhere :) The biggest benefit we noticed when moving from the x850 to the x950 systems is that the IPMI and DRAC cards perform much better. It's a shame that Dell decided to use ActiveX for the v5 DRAC :( If its a solid machine, how often do you have to access the DRAC though? :) Can you post your 2950 configuration? Thanks ... - Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . [EMAIL PROTECTED] MSN . [EMAIL PROTECTED] Yahoo . yscrappy Skype: hub.orgICQ . 7615664 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFukw54QvfyHIvDvMRAuAQAKDMQnZw/EZJhvxrgpQN+rt72F+bSwCg5mc5 WzGkEic/0BztCIFRFgz4HdE= =HfYS -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
thwarting repeated login attempts
I have installed denyhosts from the ports to stop ssh attacks, but I have discovered a vulnerability, that is new to me. Denyhosts does not seem to notice FTP login attempts, so the cracker can attempt to login via FTP, 1000's of times until he finds a login/password combination. Once he has a login/password combo, he can simple login via ssh, (provided that user has a shell account). Is there anyway to block multiple FTP login attempts? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: thwarting repeated login attempts
David Banning wrote: I have installed denyhosts from the ports to stop ssh attacks, but I have discovered a vulnerability, that is new to me. Denyhosts does not seem to notice FTP login attempts, so the cracker can attempt to login via FTP, 1000's of times until he finds a login/password combination. Pardon the stupid question, but I'm assuming it's necessary that you run ftpd? We block ftpd at the firewall to any machines outside the LAN. Anyone who needs FTP access uses a client that's capable of using sftp instead, and logs in with their SSH credentials. Once he has a login/password combo, he can simple login via ssh, (provided that user has a shell account). Is there anyway to block multiple FTP login attempts? Kevin Kinsey -- Make it myself? But I'm a physical organic chemist! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [Opinions Wanted] Dell PowerEdge 2950 Servers ...
--On Friday, January 26, 2007 09:35:06 -0600 Dan Nelson [EMAIL PROTECTED] wrote: In the last episode (Jan 26), chris neill said: On Fri, Jan 26, 2007 at 09:41:19AM -0500, David Robillard wrote: IMHO, the problem with Dell is not their hardware, but their support (or lack of it). Ditto -- We had a (duh) PERC 3/di go south on a PE2550 and getting Dell to fix it was like pulling teeth. Once I finally leaned on them enough to get them to agree to an RMA, I had to wait until the next day for the part to be courried to my datacenter (which was a slight gaff, since they don't usually do SR), and another couple of hours for the guy to show up. Maybe it depends on you you end up talking to. We recently had a PERC 4e/Di go bad in one of our PE2800s. Dell sent us a new motherboard same day and we replaced it ourselves in 2 hours (took so long only because we had never done it before). It did ship with an out-of-date BIOS, though, so it took a while to flash everything up. It surely must. We have hundreds of Dell servers of every size, shape and description and have never had any trouble at all with support. We call, them the part that's bad, and they express it to us right then. We've even had parts hand-delivered from Austin by our rep. I think the key is to bypass 1st tier, which you can easily do by asking your rep for the 2nd tier #. We've found the Dell's to be extremely reliable (we just retired a six-year-old server because we were concerned that the drives might start failing), and we often sign up for additional support after the initial three-year warranty period has expired. I personally maintain a Dell (PowerEdge 500!) that is about five or six years old (don't recall exactly), and the only failure I've had a single drive. (I took the opportunity to upgrade to 5.4 at the time.) Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/
Re: thwarting repeated login attempts
I have discovered a vulnerability, that is new to me. Denyhosts does not seem to notice FTP login attempts, so the cracker can attempt to login via FTP, 1000's of times until he finds a login/password combination. Pardon the stupid question, but I'm assuming it's necessary that you run ftpd? We block ftpd at the firewall to any machines outside the LAN. Anyone who needs FTP access uses a client that's capable of using sftp instead, and logs in with their SSH credentials. Hmm - interesting - I just -may- be able to disable using ftpd. But I still pose the same question - what do ftp servers do on this? Maybe -not- have ssh login? -or- maybe not have ssh login using the same login/password? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: thwarting repeated login attempts
In response to David Banning [EMAIL PROTECTED]: I have installed denyhosts from the ports to stop ssh attacks, but I have discovered a vulnerability, that is new to me. Denyhosts does not seem to notice FTP login attempts, so the cracker can attempt to login via FTP, 1000's of times until he finds a login/password combination. We refuse to run ftp because it's nearly impossible to secure. Once he has a login/password combo, he can simple login via ssh, (provided that user has a shell account). Yeah, that's really bad. You can end up with the same problem if you run smtp auth without tls. Is there anyway to block multiple FTP login attempts? I'm sure there is, but why bother? It would actually be _easier_ for most crooks to simply sniff the passwords right off the wire. If you really think it's worthwhile, you can probably tweak denyhosts to properly regex the ftp logs. A better solution (assuming you can't ditch ftp, which would be the _best_ choice) would be to set up your ftpd so it has different passwords than ssh/scp. There are a number of ftp servers out there capable of this. -- Bill Moran Collaborative Fusion Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [Opinions Wanted] Dell PowerEdge 2950 Servers ...
In response to Marc G. Fournier [EMAIL PROTECTED]: [snip] *) There's an issue where the systems will hang on reboot about 50% of the time. I tried to track this down but found that if I added any debugging code, the problem disappeared :( It's not a big deal for three reasons -- we don't reboot servers very often, the hang occurs after the disks are synced so it doesn't trigger an fsck, and we have DRAC cards in all of them :) 'k, so the hang is as it's coming down, not coming up, right? Correct. *) The new PERC controllers use the mfi driver, which works well as far as we can tell ... unfortunately, there's no equivalent to megarc (which we use with 1850 and 2950 systems) so we have been unable to come up with a way to monitor the health of the RAID arrays from within the OS. With the HP server, 'camcontrol devlist' shows: COMPAQ RAID 1 VOLUME OK Nothing similar with the mfi driver? Heh ...: [EMAIL PROTECTED] ~]# camcontrol devlist -v scbus-1 on xpt0 bus 0: at scbus-1 target -1 lun -1 (xpt0) Figure that one out. Also, are you using SAS or SATA on your 2950? SAS. *) Make sure you use a recent version of FreeBSD (6.2). The NIC cards on these use the bge driver, which was buggy as hell prior to 6.2. So I've heard, but I have bge on 3 of my HP servers, and never had a problem with them under 6.1 ... I'm sooo unlike everywhere else, guess I had to have some luck somewhere :) The problem occurs with heavy use of UDP, so it's possible not to notice it if you're not doing NFS or doing NFS over tcp. When I tripped over it, I realized that the NFS was configured wrong :), but I wanted to get it fixed before we deployed anyway, just in case we started using heavy UDP. When the problem occurs, the adapter is unusable until a reboot, so it's pretty severe. The biggest benefit we noticed when moving from the x850 to the x950 systems is that the IPMI and DRAC cards perform much better. It's a shame that Dell decided to use ActiveX for the v5 DRAC :( If its a solid machine, how often do you have to access the DRAC though? :) Just often enough to be annoyed by it. Keep in mind that we're still deploying them, which means we're installing kernels and testing things and moving them around -- a lot of rebooting that is occurring less and less as they near actual deployment, but is pretty annoying at the time. Can you post your 2950 configuration? Kernel config? -- Bill Moran Collaborative Fusion Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to upgrade an exist freebsd to freebsd6.2 ?
I have a machine 6.0-RELEASE. How do I upgrade it to Freebsd6.2 without any problem? Could you advise a useful site about that ? After upgrade, May a problem like cannot login the system be ? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to upgrade an exist freebsd to freebsd6.2 ?
Halid Faith wrote: I have a machine 6.0-RELEASE. How do I upgrade it to Freebsd6.2 without any problem? Could you advise a useful site about that ? After upgrade, May a problem like cannot login the system be ? people seem to like my instruction set: http://mikestammer.com/dokuwiki/bsd:updateos no issues reported yet! =) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to upgrade an exist freebsd to freebsd6.2 ?
On 1/26/07, Eric [EMAIL PROTECTED] wrote: Halid Faith wrote: I have a machine 6.0-RELEASE. How do I upgrade it to Freebsd6.2 without any problem? Could you advise a useful site about that ? After upgrade, May a problem like cannot login the system be ? people seem to like my instruction set: http://mikestammer.com/dokuwiki/bsd:updateos no issues reported yet! =) I could not access ? Permission Denied Sorry, you don't have enough rights to continue. Perhaps you forgot to login? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD 6.1 6.2 hanging and/or spontaneous rebooting
I need Help with a FBSD spontaneous rebooting and freezing issue. Here's a quick description of my computer system: I have a Compaq Presario 5184 desktop about 7 or 8 years old AMD K6-2 processor @ 380MHz 320Mb RAM, 8Mb dedicated to video via BIOS Quantum Bigfoot TS-6.4A Hard Drive (~6Gb capacity) SiS 530 integrated graphics Zoom 56k DUALMODE external modem connected to the serial port CTX VL700 monitor (30-70/50-120 refresh rates) I'm new to FreeBSD, but I've some experience with Linux, so FreeBSD isn't totally unfamiliar to me. I zero-filled my HDD on which I'd been running Slackware 11.0 without issue and started from scratch with a clean install of FreeBSD 6.1-release. FreeBSD 6.1 was then the only OS on the system, no multi-boot environment. Everything worked fine under FBSD until I dial up the internet and start browsing, emailing or whatever. Then, when the computer is busy transferring packets, it suddenly reboots without warning. Sometimes, Konqueror will freeze, the mouse pointer will freeze for a few seconds before the reboot. It doesn't take very long on the internet before the lockup/reboot happens, only minutes. It happens over and over and over. I can't stay on the internet long enough to even use it. Now, I've been using Slackware Linux without issue for a long time, same with Ubuntu Kubuntu Windows prior to that. This isn't a hardware failure, because it doesn't occur with these other OSs at all. Linux was what I was using before I wiped the drive and installed FreeBSD. I've tested the RAM and HDD and they are OK. I repeat, there are no problems like this with the other OS's, only when FreeBSD is put on the system. I've only tried FBSD 6.1-release FBSD 6.2-release, nothing prior to that. Since I wasn't even able to use the internet because of the freeze/reboot, I reinstalled Slackware and, as always, it is running without a hitch. But, I want to use FreeBSD, so I got a copy of FreeBSD 6.2 CDs, thinking maybe it was a fixed in the new release. FreeBSD 6.2 gives me the same behavior. After a few minutes of browsing, the system just froze up and required a hard restart. I REALLY like FreeBSD, the features and ease of use. If I could get it working on this computer as smoothly as Slackware does, I'd use it exclusively. This is the only computer I have, so in order to even send this message, I had to put Slackware back on the computer. That's what I'm using now. If anyone can help me figure out what the problem is here, I'd really appreciate it. Remember, the spontaneous reboots and hangs only happen when I dial up the internet and start browsing or sending email or such, basically start sending/receiving packets. It doesn't happen when no packets are moving over the modem, only when its busy. It isn't the modem failing either, obviously, since the modem works flawlessly under Linux and windows. Keep in mind that this is my only computer. I will have to wipe the HDD and reinstall FBSD in order to try any suggestions, so please give as much info as possible, since when I'm back to FBSD, I may not be able to get back on the net for further communication if I can't fix the problem first. At least, not until I go through the process of reinstalling Slackware. I'm hoping that someone has run into this problem before and knows a way to fix it. One more thing that may or may not be important. I remember seeing a message at boot up about IRQ 3 not in the list of probed ports or something to that effect. But, KPPP recognized my external modem without a problem. Its on /dev/ttyS0 in KPPP. My computer came with an internal winmodem piece of @#!$, but I removed that when I plugged in the Zoom external. The internal modem is no longer present. The external is plugged in to the serial port. Could this be an IRQ conflict or something like that? I'm assuming that the message was about the absent internal modem. Interrupts in KInfoCenter reports that serial is using interrupt 4. Please help. I don't mind going through the reinstall if I can get FreeBSD working. One last question. How do I get FBSD to completely power off my computer when I shut down, both from KDE and from console? When I shutdown, it just gets to the system halted, press any key to reboot prompt and doesn't completely power off. In slackware, all I have to do is uncomment the modprobe apm line in rc.modules. Sorry for such a long email, but I wanted to be as thourough as possible with the little I have to go on. Joe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to upgrade an exist freebsd to freebsd6.2 ?
Dak Ghatikachalam wrote: On 1/26/07, *Eric* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Halid Faith wrote: I have a machine 6.0-RELEASE. How do I upgrade it to Freebsd6.2 without any problem? Could you advise a useful site about that ? After upgrade, May a problem like cannot login the system be ? people seem to like my instruction set: http://mikestammer.com/dokuwiki/bsd:updateos no issues reported yet! =) I could not access ? Permission Denied Sorry, you don't have enough rights to continue. Perhaps you forgot to login? sorry about that, give it a whirl now ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: thwarting repeated login attempts
David Banning wrote: I have discovered a vulnerability, that is new to me. Denyhosts does not seem to notice FTP login attempts, so the cracker can attempt to login via FTP, 1000's of times until he finds a login/password combination. Pardon the stupid question, but I'm assuming it's necessary that you run ftpd? We block ftpd at the firewall to any machines outside the LAN. Anyone who needs FTP access uses a client that's capable of using sftp instead, and logs in with their SSH credentials. Hmm - interesting - I just -may- be able to disable using ftpd. But I still pose the same question - what do ftp servers do on this? Maybe -not- have ssh login? -or- maybe not have ssh login using the same login/password? I'm also interested; my version of the question is probably more like, is anyone in their right mind running ftpd over the WAN for anything but an anonymous user? [1] Note that I'm _not_ trying to be critical. However, in the current state of things [2], I don't see anything involving unencrypted authentication as valid for WAN(Internet) operations. Kevin Kinsey [1] Granted, other strategies might work; firewalling and/or tcpwrappers might work. [2] An interesting read - The Internet Sucks - http://www.macleans.ca/topstories/life/article.jsp?content=20061030_135406_135406 -- Computers will not be perfected until they can compute how much more than the estimate the job will cost. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to upgrade an exist freebsd to freebsd6.2 ?
On Fri, Jan 26, 2007 at 10:26:51PM +0200, Halid Faith wrote: I have a machine 6.0-RELEASE. How do I upgrade it to Freebsd6.2 without any problem? Could you advise a useful site about that ? After upgrade, May a problem like cannot login the system be ? The first thing to do is read the handbook section on upgrading. Once you have absorbed that as well as possible, you can then ask more specific and useful questions that apply to your situation. The general how to that you ask has already been written up quite well and getting other general responses will just confuse you rather than help. So, study some first and then come back to the list. The handbook is online at the FreeBSD web site as you probably already know. jerry Thanks ___ 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: FreeBSD 6.1 6.2 hanging and/or spontaneous rebooting
Sounds like an IRQ conflict as your serial port is not on IRQ 3. I would look into the BIOS settings, and set the port explicitly for IRQ 3, and not automatic if this is possible. -Derek At 02:15 PM 1/26/2007, Joe Vender wrote: I need Help with a FBSD spontaneous rebooting and freezing issue. Here's a quick description of my computer system: I have a Compaq Presario 5184 desktop about 7 or 8 years old AMD K6-2 processor @ 380MHz 320Mb RAM, 8Mb dedicated to video via BIOS Quantum Bigfoot TS-6.4A Hard Drive (~6Gb capacity) SiS 530 integrated graphics Zoom 56k DUALMODE external modem connected to the serial port CTX VL700 monitor (30-70/50-120 refresh rates) I'm new to FreeBSD, but I've some experience with Linux, so FreeBSD isn't totally unfamiliar to me. I zero-filled my HDD on which I'd been running Slackware 11.0 without issue and started from scratch with a clean install of FreeBSD 6.1-release. FreeBSD 6.1 was then the only OS on the system, no multi-boot environment. Everything worked fine under FBSD until I dial up the internet and start browsing, emailing or whatever. Then, when the computer is busy transferring packets, it suddenly reboots without warning. Sometimes, Konqueror will freeze, the mouse pointer will freeze for a few seconds before the reboot. It doesn't take very long on the internet before the lockup/reboot happens, only minutes. It happens over and over and over. I can't stay on the internet long enough to even use it. Now, I've been using Slackware Linux without issue for a long time, same with Ubuntu Kubuntu Windows prior to that. This isn't a hardware failure, because it doesn't occur with these other OSs at all. Linux was what I was using before I wiped the drive and installed FreeBSD. I've tested the RAM and HDD and they are OK. I repeat, there are no problems like this with the other OS's, only when FreeBSD is put on the system. I've only tried FBSD 6.1-release FBSD 6.2-release, nothing prior to that. Since I wasn't even able to use the internet because of the freeze/reboot, I reinstalled Slackware and, as always, it is running without a hitch. But, I want to use FreeBSD, so I got a copy of FreeBSD 6.2 CDs, thinking maybe it was a fixed in the new release. FreeBSD 6.2 gives me the same behavior. After a few minutes of browsing, the system just froze up and required a hard restart. I REALLY like FreeBSD, the features and ease of use. If I could get it working on this computer as smoothly as Slackware does, I'd use it exclusively. This is the only computer I have, so in order to even send this message, I had to put Slackware back on the computer. That's what I'm using now. If anyone can help me figure out what the problem is here, I'd really appreciate it. Remember, the spontaneous reboots and hangs only happen when I dial up the internet and start browsing or sending email or such, basically start sending/receiving packets. It doesn't happen when no packets are moving over the modem, only when its busy. It isn't the modem failing either, obviously, since the modem works flawlessly under Linux and windows. Keep in mind that this is my only computer. I will have to wipe the HDD and reinstall FBSD in order to try any suggestions, so please give as much info as possible, since when I'm back to FBSD, I may not be able to get back on the net for further communication if I can't fix the problem first. At least, not until I go through the process of reinstalling Slackware. I'm hoping that someone has run into this problem before and knows a way to fix it. One more thing that may or may not be important. I remember seeing a message at boot up about IRQ 3 not in the list of probed ports or something to that effect. But, KPPP recognized my external modem without a problem. Its on /dev/ttyS0 in KPPP. My computer came with an internal winmodem piece of @#!$, but I removed that when I plugged in the Zoom external. The internal modem is no longer present. The external is plugged in to the serial port. Could this be an IRQ conflict or something like that? I'm assuming that the message was about the absent internal modem. Interrupts in KInfoCenter reports that serial is using interrupt 4. Please help. I don't mind going through the reinstall if I can get FreeBSD working. One last question. How do I get FBSD to completely power off my computer when I shut down, both from KDE and from console? When I shutdown, it just gets to the system halted, press any key to reboot prompt and doesn't completely power off. In slackware, all I have to do is uncomment the modprobe apm line in rc.modules. Sorry for such a long email, but I wanted to be as thourough as possible with the little I have to go on. Joe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by
Sorta OT - Backup solutions Mac to FreeBSD
Hello all, I have been poking around the 'Net a bit looking for an easy to use backup solution for our Mac's (1 mini, 1 powerbook, more in the future). Basically there is a server, offsite (FBSD 6.2) with 2 RAID 5 arrays. I would like to be able to set the 2 (for now) clients to automatically, incrementally backup certain directories, nightly. Something encrypted would be nice aswell. This one looks interesting to me: http://sourceforge.net/projects/areca/ If anyone has used an open source solution for this , I would genuinely appreciate hearing about it. Thanks in advance - Gable Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Postgresql 8.1: plperl code works with LATIN1, fails with UTF8
[EMAIL PROTECTED] wrote: Hi, I've got plperl code that works just fine when the database is encoded using LATIN1, but fails as soon as I switch to UTF8. I've been testing PG 8.1.4 under Linux, and PG 8.1.6 under FreeBSD, both behave exactly the save. ... Oups, sorry, wrong mailing-list! Cheers, Philippe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Remote Desktop Connection
On 1/24/07, Garrett Cooper [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 FreeBSD WickerBill wrote: On 1/24/07, Grzegorz Pluta [EMAIL PROTECTED] wrote: Thanks for all the replies guys! It was really helpful Cheers, Greg Kevin Kinsey wrote: Grzegorz Pluta wrote: Hi. Id like to asj you guys if you used any remote desktops with freebsd? Which client/server would you recommend, and why? Witch wich desktop env have you been using it? I use Xorg XFCE4 on my FreeBSD desktop(s). For remote desktop connections: FreeBSD - FreeBSD: ssh with X11 forwarding (-X or -Y options, see manpage). FreeBSD - Windows: rdesktop (/usr/ports/net/rdesktop). Works beautifully for work. Can't recall which, but some games don't seem to like it. Windows - FreeBSD: freeXer and PuTTY with X11 forwarding enabled. Kind of interesting to have my FreeBSD desktop apps on my wife's lappy at the breakfast table ;-). With this setup, Windows actually is the window manager --- kinda disconcerting at first glance :-D Kevin Kinsey Overall, as many have suggest on the list there are a number of caveats to using different means of connecting. Here's a short rundown with all of my comments: rdesktop and krdc (KDE rdesktop) work for connecting to Windows NT 5.0+ servers. Don't have a Windows server that meets that spec? Probably won't need rdesktop/krdc then.. Don't install krdc unless you also want to install KDE. X11 forwarding through ssh is great when you're connections between you and the remote machine are relatively fast (fast up on the server, fast down on the client). Compression with ssh (-C flag--not available on all ssh or ssh2 implementations) is a good idea when using this to connect remotely because there's a lot of data that gets piped through an X11 connection. VNC is better for keeping remote sessions active after disconnecting from the machine. There are many VNC servers software titles, but you will either probably look into tightvnc (creates a new X session per instance), or x11vnc (connects to an existing X session on your machine). Quality, speed and latency are an issue here as VNC is sort of bad at caching tiles on the desktop. Using a lightweight wm or desktop is a wise idea though without a desktop picture and sticking to X11 only widgets (xclock, xterm, etc) is a good idea as the redraw is better than gtk or qt apps or other programs (firefox, thunderbird). Try to wrap the connection using portforwarding via SSH if you're logged in from a large LAN or over a WAN because everything sent with tightvnc is cleartext, so passwords, credit card numbers, etc can be sniffed by a knowledgeable individual. I'm still amazed that nomachinex hasn't been ported to FreeBSD, but it's a complete binary release of a 'hacked' X11 system, so the devs at the nomachine group probably haven't gotten around to porting it yet. Cheers, - -Garrett - It's in the ports. portless nxserver This is a port of NoMachine's NX server, which is a way to use X connections over slow links without noticeable lag. WWW: http://www.nomachine.com I use it daily from a windows client to home computer running PC-BSD (KDE) It runs much faster than I could ever get VNC to run. I use rdesktop going from FreeBSD to Windows and it works fine too. WickerBill, Ah, excellent. Didn't know that.. ports_glob doesn't always turn up the right answers; a tool should be made in conjunction with portell to search package descriptions, similar to Gentoo's esearch I think.. Greg, Give nxserver a shot. It's by far a lot better than VNC and it ties directly into working X sessions IIRC and is equivalent in speed to remote desktop on Windows NT (in fact possibly faster from what I've heard on slower connections). Plus it's secure (built in ssh tie-ins). They (the devs) have a few test servers up so you can give it a shot and see how it works. Cheers, - -Garrett I use psearch, found in /urs/ports/sysutils/psearch An utility for searching the FreeBSD Ports Collection It returns one liners and then I use portless to read those I want more info on...I'll have to try portell ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: thwarting repeated login attempts
Le Vendredi 26 Janvier 2007 15:50, Kevin Kinsey a écrit : David Banning wrote: I have discovered a vulnerability, that is new to me. Denyhosts does not seem to notice FTP login attempts, so the cracker can attempt to login via FTP, 1000's of times until he finds a login/password combination. Pardon the stupid question, but I'm assuming it's necessary that you run ftpd? We block ftpd at the firewall to any machines outside the LAN. Anyone who needs FTP access uses a client that's capable of using sftp instead, and logs in with their SSH credentials. Hmm - interesting - I just -may- be able to disable using ftpd. But I still pose the same question - what do ftp servers do on this? Maybe -not- have ssh login? -or- maybe not have ssh login using the same login/password? I'm also interested; my version of the question is probably more like, is anyone in their right mind running ftpd over the WAN for anything but an anonymous user? [1] You can run OpenBSD's pf in combination with authpf. This mechanism will alter firewall rules based on successful SSH logins. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sorta OT - Backup solutions Mac to FreeBSD
Hello all, I have been poking around the 'Net a bit looking for an easy to use backup solution for our Mac's (1 mini, 1 powerbook, more in the future). Basically there is a server, offsite (FBSD 6.2) with 2 RAID 5 arrays. I would like to be able to set the 2 (for now) clients to automatically, incrementally backup certain directories, nightly. Something encrypted would be nice aswell. This one looks interesting to me: http://sourceforge.net/projects/areca/ If anyone has used an open source solution for this , I would genuinely appreciate hearing about it. I don't, but you could use rsync over ssh if you just want a mirrored copy... and if you set up rsync to archive changed files you can keep a history as well. I do that for about 20 servers now and it works great. No reason a mac wouldn't work. Let me know if you're interested in the scripts... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sorta OT - Backup solutions Mac to FreeBSD
On 1/26/07, Doug Hardie [EMAIL PROTECTED] wrote: RsyncX for Mac will sync to a FreeBSD filesystem. Thank you. I will try these out. Gable ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
run a command on startup
i have a box that my nic's eeprom got zapped last night. WOL is a must for me, and as a last ditch, i finally have the card talking again if i set a mac address manually. upon shutdown, apparently it remember the address i set, and answers to a WOL packet. also, it appears to immediately forget the mac that was set when the computer starts, because when i get back to the login, the ifconfig shows the mac to be 00:00:00:00:00:00 again, and i have to 'ifconfig fxp0 ether [mad address]' after each boot. where can i stick that command so its run during boot up, maybe preferable before the network configuration is loaded? strangely enough, even when the mac address is 00's, i can still ping around my lan (i didnt think this was possible without a mac address) thanks, jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: run a command on startup
On 1/26/07, Jonathan Horne [EMAIL PROTECTED] wrote: i have a box that my nic's eeprom got zapped last night. WOL is a must for me, and as a last ditch, i finally have the card talking again if i set a mac address manually. upon shutdown, apparently it remember the address i set, and answers to a WOL packet. also, it appears to immediately forget the mac that was set when the computer starts, because when i get back to the login, the ifconfig shows the mac to be 00:00:00:00:00:00 again, and i have to 'ifconfig fxp0 ether [mad address]' after each boot. where can i stick that command so its run during boot up, maybe preferable before the network configuration is loaded? strangely enough, even when the mac address is 00's, i can still ping around my lan (i didnt think this was possible without a mac address) thanks, jonathan you can put ether [mac address] in fxp0's ifconfig line in /etc/rc.conf ifconfig_fxp0=ether [mac address] -- The biggest problem with communication is the illusion that it has occurred. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [OT] Does ~ always point to $HOME?
On Fri, 26 Jan 2007, Joerg Pernfuss wrote: On Fri, 26 Jan 2007 15:21:14 +0100 Karol Kwiatkowski [EMAIL PROTECTED] wrote: While that's true for most shells, bash, csh, tcsh, etc., it doesn't work on true Bourne /bin/sh shells (e.g. SCO OpenServer 5.0.6a and earlier and probably others with Bell Labs ancestors). Not sure what I'm missing, is FreeBSD's /bin/sh shell not true Bourne Shell? Was it extended in some way from traditional one? FreeBSD /bin/sh is actually an ash, which roughly translates into a POSIX shell with a few additions that do not break compatibility. At least that is how I understood it. Joerg -- | /\ ASCII ribbon | GnuPG Key ID | e86d b753 3deb e749 6c3a | | \ / campaign against |0xbbcaad24 | 5706 1f7d 6cfd bbca ad24 | | XHTML in email |.the next sentence is true. | | / \ and news | .the previous sentence was a lie.| -- | /\ ASCII ribbon | GnuPG Key ID | e86d b753 3deb e749 6c3a | | \ / campaign against |0xbbcaad24 | 5706 1f7d 6cfd bbca ad24 | | XHTML in email |.the next sentence is true. | | / \ and news | .the previous sentence was a lie.| Unfortunately the target system (now) for the documentation is suse Linux, and I don't have any control over what the company chooses for its Unix OS in the future. So to reduce rewriting the documentation in the future I thought it'd be better to seek out the common denominator in Unix shells. Besides, if people are smart enough (and most people are here), they can translate $HOME to ~ :). -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: thwarting repeated login attempts
I have installed denyhosts from the ports to stop ssh attacks, but I have discovered a vulnerability, that is new to me. Denyhosts does not seem to notice FTP login attempts, so the cracker can attempt to login via FTP, 1000's of times until he finds a login/password combination. We refuse to run ftp because it's nearly impossible to secure. so that's what I have decided - and went with sftp exclusively. thanks - ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [OT] Does ~ always point to $HOME?
Message: 24 Date: Fri, 26 Jan 2007 09:22:44 -0800 From: Bill Campbell [EMAIL PROTECTED] Subject: Re: [OT] Does ~ always point to $HOME? To: freebsd-questions@freebsd.org, Bill Campbell [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii My point isn't whether the FreeBSD /bin/sh expands it, but that not all systems are FreeBSD, and that one can have problems on other *NIX systems. Knowing where there may be differences, and avoiding the assumptions that a program behaves the same on all systems, can help writing code that's portable without surprises. This begs the rookie question: What is the portable way to determine an aribtrary user's home directory then, if ~username is not portable across shells? Does one just have to grep and awk /etc/passwd? Is the format of /etc/passwd portable, such that one standard grep/awk sequence will portably return the home directory for user username? Regards, Jim P.S. Does this count as the portable way to do this? :) ... USERNAME_HOME=`bash -c echo ~username` cd $USERNAME_HOME ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mknod, devfs and FreeBSD
Kris, On 26/01/07, Kris Kennaway [EMAIL PROTECTED] wrote: Set up and mount numerous devfs file systems ;) That is exactly what I am trying to avoid. One of the servers has 1400 sites on it, and I really don't want 1400 devfs mounts. If the only way to do this now is by having so many devfs mounts I am better off not upgrading, and it is very arugable that FreeBSD has lost some functionality by forcing such a scheme. Really it's not hard, you just specify the devices you want with a simple devfs(8) ruleset. It's not how hard it is, it's how untidy it is. Kris Frem. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [OT] Does ~ always point to $HOME?
On Fri, Jan 26, 2007, James Long wrote: Message: 24 Date: Fri, 26 Jan 2007 09:22:44 -0800 From: Bill Campbell [EMAIL PROTECTED] Subject: Re: [OT] Does ~ always point to $HOME? To: freebsd-questions@freebsd.org, Bill Campbell [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii My point isn't whether the FreeBSD /bin/sh expands it, but that not all systems are FreeBSD, and that one can have problems on other *NIX systems. Knowing where there may be differences, and avoiding the assumptions that a program behaves the same on all systems, can help writing code that's portable without surprises. This begs the rookie question: What is the portable way to determine an aribtrary user's home directory then, if ~username is not portable across shells? Does one just have to grep and awk /etc/passwd? Is the format of /etc/passwd portable, such that one standard grep/awk sequence will portably return the home directory for user username? Probably the most portable way to do this would be to use awk. A simple script, homedir, might look like this: #!/bin/sh # getting the backwhacks correct is sometimes ``interesting'' homedir=`awk -F: /^$1:/{print \\$6} /etc/passwd` [ -z $homedir ] { echo 'empty home for ' $1 21 exit 1 } echo $homedir exit 0 Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software, LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way FAX:(206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 ``Fix reason firmly in her seat and call to her tribunal every fact, every opinion. Question with boldness even the existence of a God; because, if there is one, he must more approve of the homage of reason, than that of blindfolded fear.'' --Thomas Jefferson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.1 6.2 hanging and/or spontaneous rebooting
On Friday 26 January 2007 15:04, Derek Ragona wrote: Sounds like an IRQ conflict as your serial port is not on IRQ 3. I would look into the BIOS settings, and set the port explicitly for IRQ 3, and not automatic if this is possible. The configurable settings in my BIOS setup don't include the ability to set the serial port IRQ. How is FreeBSD able to communicate with the modem if the irq is not set correctly? Joe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.1 6.2 hanging and/or spontaneous rebooting
Joe Vender wrote: One last question. How do I get FBSD to completely power off my computer when I shut down, both from KDE and from console? When I shutdown, it just gets to the system halted, press any key to reboot prompt and doesn't completely power off. In slackware, all I have to do is uncomment the modprobe apm line in rc.modules. You issue the command shutdown -p now. This should work with any BIOS that has apm or acpi, as far as I know. As Derek says, you have an IRQ conflict that needs to be resolved. Afraid I don't remember much about that. When I first installed FreeBSD (seven years ago), I had to settle several such conflicts, but I seem to recall that it was fairly easy. -- Tore ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mknod, devfs and FreeBSD
On Fri, Jan 26, 2007 at 11:05:37PM +, Freminlins wrote: Kris, On 26/01/07, Kris Kennaway [EMAIL PROTECTED] wrote: Set up and mount numerous devfs file systems ;) That is exactly what I am trying to avoid. One of the servers has 1400 sites on it, and I really don't want 1400 devfs mounts. If the only way to do this now is by having so many devfs mounts I am better off not upgrading, and it is very arugable that FreeBSD has lost some functionality by forcing such a scheme. Really it's not hard, you just specify the devices you want with a simple devfs(8) ruleset. It's not how hard it is, it's how untidy it is. Sorry, it's the only way. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.1 6.2 hanging and/or spontaneous rebooting
On Friday 26 January 2007 17:41, Tore Lund wrote: You issue the command shutdown -p now. This should work with any BIOS that has apm or acpi, as far as I know. I've tried that, but it didn't power off, just got to the halted step. What about issuing the Shutdown computer from KDE logout? Shouldn't it power off the computer? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Best Blog Ap in the Ports?
On 1/26/07, eoghan [EMAIL PROTECTED] wrote: On 26 Jan 2007, at 17:41, [EMAIL PROTECTED] wrote: What is the best blog ap in the ports tree? I was thinking of starting a blog on my server for my Chemistry Students. You can check jaws, but it's not in the ports tree. http://www.jaws-project.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.1 6.2 hanging and/or spontaneous rebooting
On Jan 26, 2007, at 4:04 PM, Joe Vender wrote: On Friday 26 January 2007 17:41, Tore Lund wrote: You issue the command shutdown -p now. This should work with any BIOS that has apm or acpi, as far as I know. I've tried that, but it didn't power off, just got to the halted step. What about issuing the Shutdown computer from KDE logout? Shouldn't it power off the computer? The GUI commands within KDE are going to invoke the command-line shutdown command with the appropriate arguments. What may be going on is that your old hardware only supports the older form of power management/shutdown mechanism, called APM, rather than the newer APCI. You might find that reading man 4 apm and man acpi will give you some hints on debugging the issue. It might help to try updating your machines BIOS, or to recompile a kernel with ACPI disabled but the older APM enabled, and see whether that gets you somewhere. The fact that you can shutdown within Linux suggests that your hardware does have the capability, so it's just a matter of figuring out what's different. Note that you might find that trying to run FreeBSD 4.11 to be informative, as the defaults for that older version might correspond with your hardware better, although, 4.11 is at the end of it's supported lifespan... -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.1 6.2 hanging and/or spontaneous rebooting
On Friday 26 January 2007 18:18, Chuck Swiger wrote: The GUI commands within KDE are going to invoke the command-line shutdown command with the appropriate arguments. What may be going on is that your old hardware only supports the older form of power management/shutdown mechanism, called APM, rather than the newer APCI. You might find that reading man 4 apm and man acpi will give you some hints on debugging the issue. It might help to try updating your machines BIOS, or to recompile a kernel with ACPI disabled but the older APM enabled, and see whether that gets you somewhere. There is no update to my machine BIOS as far as I know. What I have now is the last software that was released for it, and that was years ago. I have actually wondered if I should disable ACPI and enable APM in a new kernel build. I'll give it a try if I can get the real issue, which is the spontaneous reboots freezes, solved. The fact that you can shutdown within Linux suggests that your hardware does have the capability, so it's just a matter of figuring out what's different. Note that you might find that trying to run FreeBSD 4.11 to be informative, as the defaults for that older version might correspond with your hardware better, although, 4.11 is at the end of it's supported lifespan... I've been seriously thinking about getting a copy of the legacy FBSD 5.5 that's on the website. Maybe there isn't a difference between it and the 6.2 as far as this powerdown issue is concerned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.1 6.2 hanging and/or spontaneous rebooting
On Jan 26, 2007, at 4:36 PM, Joe Vender wrote: The fact that you can shutdown within Linux suggests that your hardware does have the capability, so it's just a matter of figuring out what's different. Note that you might find that trying to run FreeBSD 4.11 to be informative, as the defaults for that older version might correspond with your hardware better, although, 4.11 is at the end of it's supported lifespan... I've been seriously thinking about getting a copy of the legacy FBSD 5.5 that's on the website. Maybe there isn't a difference between it and the 6.2 as far as this powerdown issue is concerned. You're likely to have better luck with 4.11 than 5.2; if you want to try a 5.x release, go with 5.5, as the early 5.x releases were only so-so in terms of stability before 5.3... -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Can not compile kernel.
Hi, although have used various forms of unix for quite a while, I still consider myself a rather novice user. I have reciently reconfigured my machine to dual boot FreeBSD 6.2 and Windows (damn gaming addiction). I have installed a basic system (only base, games, man and src distros) and modified my /etc/make.conf to look like the following... CPUTYPE=athlon64 CFLAGS= -O3 -pipe -funroll-loops -ffast-math COPTFLAGS= -O2 -pipe -funroll-loops -ffast-math I have build from ports Open Office (so much easier with the diablo java system), X, nvidia graphics drivers, Enlightenment, and after a few days Gnome2. I even have all three of my screens setup properly. I am currently having issues attempting to build a kernel. Running the command make clean cleandepend depend buildkernel KERNCONF=GENERIC in /usr/src as root will eventually stop with the following output. Not even being able to build the generic makes me nervice about building a custom one. Also, when I attempt to run a linux binary game (such as UT 2004 Demo or Quake 4 Comercial, both installed from ports) I have quite a few graphics glitches. Mostly missing or unshaded(black) surfaces and low frame rates on my Nvidia 6600 PCI-x 256MB card. Any ideas about either issue will be greatly welcomed. Thanks, Grant === aic (all) cc -O3 -pipe -funroll-loops -ffast-math -march=athlon-mp -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common -g -I/usr/obj/usr/src/sys/GENERIC -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -c /usr/src/sys/modules/aic/../../dev/aic/aic.c /usr/src/sys/modules/aic/../../dev/aic/aic.c: In function `aic_reset': ./machine/bus.h:515: warning: inlining failed in call to 'bus_space_write_1': --param inline-unit-growth limit reached /usr/src/sys/modules/aic/../../dev/aic/aic.c:1345: warning: called from here ./machine/bus.h:515: warning: inlining failed in call to 'bus_space_write_1': --param inline-unit-growth limit reached /usr/src/sys/modules/aic/../../dev/aic/aic.c:1347: warning: called from here ./machine/bus.h:515: warning: inlining failed in call to 'bus_space_write_1': --param inline-unit-growth limit reached /usr/src/sys/modules/aic/../../dev/aic/aic.c:1306: warning: called from here ./machine/bus.h:515: warning: inlining failed in call to 'bus_space_write_1': --param inline-unit-growth limit reached /usr/src/sys/modules/aic/../../dev/aic/aic.c:1307: warning: called from here ./machine/bus.h:515: warning: inlining failed in call to 'bus_space_write_1': --param inline-unit-growth limit reached /usr/src/sys/modules/aic/../../dev/aic/aic.c:1310: warning: called from here ./machine/bus.h:515: warning: inlining failed in call to 'bus_space_write_1': --param inline-unit-growth limit reached /usr/src/sys/modules/aic/../../dev/aic/aic.c:1313: warning: called from here ./machine/bus.h:515: warning: inlining failed in call to 'bus_space_write_1': --param inline-unit-growth limit reached /usr/src/sys/modules/aic/../../dev/aic/aic.c:1314: warning: called from here ./machine/bus.h:515: warning: inlining failed in call to 'bus_space_write_1': --param inline-unit-growth limit reached /usr/src/sys/modules/aic/../../dev/aic/aic.c:1317: warning: called from here ./machine/bus.h:515: warning: inlining failed in call to 'bus_space_write_1': --param inline-unit-growth limit reached /usr/src/sys/modules/aic/../../dev/aic/aic.c:1318: warning: called from here ./machine/bus.h:515: warning: inlining failed in call to 'bus_space_write_1': --param inline-unit-growth limit reached /usr/src/sys/modules/aic/../../dev/aic/aic.c:1321: warning: called from here ./machine/bus.h:515: warning: inlining failed in call to 'bus_space_write_1': --param inline-unit-growth limit reached /usr/src/sys/modules/aic/../../dev/aic/aic.c:1322: warning: called from here ./machine/bus.h:515: warning: inlining failed in call to 'bus_space_write_1': --param inline-unit-growth limit reached /usr/src/sys/modules/aic/../../dev/aic/aic.c:1325: warning: called from here ./machine/bus.h:515: warning: inlining failed in call to 'bus_space_write_1': --param inline-unit-growth limit reached /usr/src/sys/modules/aic/../../dev/aic/aic.c:1326: warning: called from here ./machine/bus.h:515: warning: inlining failed in call to 'bus_space_write_1': --param inline-unit-growth limit reached /usr/src/sys/modules/aic/../../dev/aic/aic.c:1329: warning: called from here ./machine/bus.h:515: warning: inlining failed in call to 'bus_space_write_1': --param inline-unit-growth limit reached /usr/src/sys/modules/aic/../../dev/aic/aic.c:1332: warning: called from here ./machine/bus.h:515: warning:
Re: [freebsd-questions] Sorta OT - Backup solutions Mac to FreeBSD
Gable Barber wrote: Hello all, I have been poking around the 'Net a bit looking for an easy to use backup solution for our Mac's (1 mini, 1 powerbook, more in the future). Basically there is a server, offsite (FBSD 6.2) with 2 RAID 5 arrays. I would like to be able to set the 2 (for now) clients to automatically, incrementally backup certain directories, nightly. Something encrypted would be nice aswell. You might like to try duplicity or rdiff-backup. Both are python-based incremental backup solutions, that can work over encrypted connections. duplicity can also encrypt the backed-up data for untrusted central sites, while rdiff-backup has the advantage that the backup is a normal mirror of the backed-up machine (plus reverse increments), so you can pick though it. duplicity is initiated from the client over FTP/SCP/DAV/S3, while rdiff-backup is initiated by the server normally using SSH. I've been using rdiff-backup on a few dozen FreeBSD servers for a year or so now. I've not tried them on my macs yet but I don't see a reason why it *wouldn't* work - python tends to be pretty portable. I'll try it on the macs this weekend, in fact. Howie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: firefox performance on Freebsd
Dak Ghatikachalam wrote: Hi All I am noticing singnificant performance degradation in firefox in Freebsd , I would say right from the beginning, I have other partition where I run XP. for comparison purpose I notice the same page when I load on Freebsd partition it is slow on Windows XP it loads real quick. Is this link http://forums.mozillazine.org/viewtopic.php?t=53650 Good place to start the tuning of firefox. Is there something more than this I could do to speed up the performace of firefox in Freebsd ? Thanks Dak ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] On 1/17/07, nicky [EMAIL PROTECTED] wrote: Have you disabled the IPv6? in about:config set 'network.dns.disableIPv6' to true. Greetz. I have the output of ifconfig -a Does it say that I am running ipv4 or ipv6 and my current network.dns.disableIPv6 is false $ ifconfig -a fwe0: flags=108802BROADCAST,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500 options=8VLAN_MTU ether 06:e4:0a:19:50:37 ch 1 dma -1 rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=8VLAN_MTU inet6 fe80::20a:e4ff:fed7:bb00%rl0 prefixlen 64 scopeid 0x2 inet 192.168.1.105 netmask 0xff00 broadcast 192.168.1.255 ether 00:0a:e4:d7:bb:00 media: Ethernet autoselect (100baseTX full-duplex) status: active lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff00 tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1412 inet6 fe80::20a:e4ff:fed7:bb00%tun0 prefixlen 64 scopeid 0x4 inet 10.40.1.100 -- 10.40.1.100 netmask 0x Opened by PID 784 $ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can not compile kernel.
On Fri, Jan 26, 2007 at 04:40:13PM -0800, Grant Wagner wrote: Hi, although have used various forms of unix for quite a while, I still consider myself a rather novice user. I have reciently reconfigured my machine to dual boot FreeBSD 6.2 and Windows (damn gaming addiction). I have installed a basic system (only base, games, man and src distros) and modified my /etc/make.conf to look like the following... CFLAGS= -O3 -pipe -funroll-loops -ffast-math COPTFLAGS= -O2 -pipe -funroll-loops -ffast-math Step 0) Note the warning about changing these settings in /usr/share/examples/etc/make.conf and in the make.conf manpage. Step 1) Revert those silly optimizations back to the default Step 2) Rebuild everything to undo the damage Kris pgpJr49xFYpZX.pgp Description: PGP signature
Re: run a command on startup
On Friday 26 January 2007 16:45, Kevin Downey wrote: On 1/26/07, Jonathan Horne [EMAIL PROTECTED] wrote: i have a box that my nic's eeprom got zapped last night. WOL is a must for me, and as a last ditch, i finally have the card talking again if i set a mac address manually. upon shutdown, apparently it remember the address i set, and answers to a WOL packet. also, it appears to immediately forget the mac that was set when the computer starts, because when i get back to the login, the ifconfig shows the mac to be 00:00:00:00:00:00 again, and i have to 'ifconfig fxp0 ether [mad address]' after each boot. where can i stick that command so its run during boot up, maybe preferable before the network configuration is loaded? strangely enough, even when the mac address is 00's, i can still ping around my lan (i didnt think this was possible without a mac address) thanks, jonathan you can put ether [mac address] in fxp0's ifconfig line in /etc/rc.conf ifconfig_fxp0=ether [mac address] well, unfortunately, that didnt work. # -- sysinstall generated deltas -- # Mon Jan 22 15:32:44 2007 # Created: Mon Jan 22 15:32:44 2007 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. defaultrouter=192.168.125.1 hostname=pollux.dfwlp.com ifconfig_fxp0=ether 00:09:6b:b6:3e:d9 ifconfig_fxp0=inet 192.168.125.71 netmask 255.255.255.128 inetd_enable=YES sshd_enable=YES usbd_enable=YES pollux# ifconfig fxp0 fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=8VLAN_MTU inet 192.168.125.71 netmask 0xff80 broadcast 192.168.125.127 ether 00:00:00:00:00:00 media: Ethernet autoselect (100baseTX full-duplex) status: active is there another way to skin this cat? thanks, jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to upgrade an exist freebsd to freebsd6.2 ?
On 1/26/07, Eric [EMAIL PROTECTED] wrote: Dak Ghatikachalam wrote: On 1/26/07, *Eric* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Halid Faith wrote: I have a machine 6.0-RELEASE. How do I upgrade it to Freebsd6.2 without any problem? Could you advise a useful site about that ? After upgrade, May a problem like cannot login the system be ? people seem to like my instruction set: http://mikestammer.com/dokuwiki/bsd:updateos no issues reported yet! =) I could not access ? Permission Denied Sorry, you don't have enough rights to continue. Perhaps you forgot to login? sorry about that, give it a whirl now Hi I browsed the page understood most part , I happened to read theupgrade chapter in release notes, but I remember someone on this list also mentioned to read from handbook, could not find that BTW: Does this upgrade procedure apply and can it be used to go from 6.1to 6.2 freeBSD too ? Thanks DAk ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Disk Space Requirements
I've got a VPS running FreeBSD 6.1 p5. I'd like to upgrade it to 6.2 if possible, or at least 6.1 p11. I've got four gigs of disk allocated to the box. Is this enough space to rebuild the OS from source within? Regards, -- Jay Chandler Network Administrator, Chapman University 714.628.7249 / [EMAIL PROTECTED] Today's Excuse: Just pick up the phone and give modem connect sounds. Well you said we should get more lines so we don't have voice lines. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
su: Sorry - 5.2.1 -
Hi there , I think it is better to write somethinf people can understand and avoid generalizing things . One case can work for somebody and not for someone else . Be carefull when giving advice when you are not sure for 100%. This is regarding the su: Sorry problem . With Best Regards Guy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: run a command on startup
Jonathan Horne said the following on 1/26/2007 8:45 PM: well, unfortunately, that didnt work. # -- sysinstall generated deltas -- # Mon Jan 22 15:32:44 2007 # Created: Mon Jan 22 15:32:44 2007 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. defaultrouter=192.168.125.1 hostname=pollux.dfwlp.com ifconfig_fxp0=ether 00:09:6b:b6:3e:d9 ifconfig_fxp0=inet 192.168.125.71 netmask 255.255.255.128 Try this: ifconfig_fxp0=ether 00:09:6b:b6:3e:d9 inet 192.168.125.71 netmask 255.255.255.128 Hope that helps.. Best, --Glenn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: run a command on startup
On Friday 26 January 2007 20:21, Glenn Sieb wrote: Try this: ifconfig_fxp0=ether 00:09:6b:b6:3e:d9 inet 192.168.125.71 netmask 255.255.255.128 Hope that helps.. Best, --Glenn unfortunately, that didnt work either. however, i just figured out something REALLY strange. the computer will still wake up, if i give the command: wakeonlan -i 192.168.125.127 00:00:00:00:00:00 *shrug* this is one of the strangest incidents ive had to troubleshoot in a long time! i guess there is no reason that 00:[...] cant be a valid mac address, and it doesnt seem to be having any trouble pkg_add -r'ing from the net so, i guess i can put this one to bed. cheers, jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can not compile kernel.
Kris Kennaway [EMAIL PROTECTED] wrote: On Fri, Jan 26, 2007 at 04:40:13PM -0800, Grant Wagner wrote: Hi, although have used various forms of unix for quite a while, I still consider myself a rather novice user. I have reciently reconfigured my machine to dual boot FreeBSD 6.2 and Windows (damn gaming addiction). I have installed a basic system (only base, games, man and src distros) and modified my /etc/make.conf to look like the following... CFLAGS= -O3 -pipe -funroll-loops -ffast-math COPTFLAGS= -O2 -pipe -funroll-loops -ffast-math Step 0) Note the warning about changing these settings in /usr/share/examples/etc/make.conf and in the make.conf manpage. Step 1) Revert those silly optimizations back to the default Step 2) Rebuild everything to undo the damage Kris Well, in short, that worked. I have now build the kernel. I'm a little confused though and could use a bit of an explination. I thought only the COPTFLAGS options where used during kernel compilation and I had attempted to build with those commented out completely before. I can only guess that the CFLAGS are still in effect too. Now I have a custom kernel which is failing to build. I've attached the config file for it, and it fails trying to build with references about ieee80211. The odd thing is I have no wireless in my box and have commented out all the wireless references. What else is dependant on them and should be commented out as well? The last bit of output is below. Thanks again, Grant MAKE=make sh /usr/src/sys/conf/newvers.sh STRIPPED cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/dev/ath -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror vers.c linking kernel if_ural.o(.text+0x66): In function `ural_free_tx_list': : undefined reference to `ieee80211_free_node' if_ural.o(.text+0x2d3): In function `ural_rxeof': : undefined reference to `ieee80211_find_rxnode' if_ural.o(.text+0x2eb): In function `ural_rxeof': : undefined reference to `ieee80211_input' if_ural.o(.text+0x2f1): In function `ural_rxeof': : undefined reference to `ieee80211_free_node' if_ural.o(.text+0x893): In function `ural_start': : undefined reference to `ieee80211_find_txnode' if_ural.o(.text+0x8b9): In function `ural_start': : undefined reference to `ieee80211_encap' if_ural.o(.text+0xa0a): In function `ural_start': : undefined reference to `ieee80211_free_node' if_ural.o(.text+0xa3f): In function `ural_start': : undefined reference to `ieee80211_encap' if_ural.o(.text+0xa53): In function `ural_start': : undefined reference to `ieee80211_free_node' if_ural.o(.text+0xa65): In function `ural_start': : undefined reference to `ieee80211_crypto_encap' if_ural.o(.text+0xe47): In function `ural_txeof': : undefined reference to `ieee80211_free_node' if_ural.o(.text+0xeee): In function `ural_watchdog': : undefined reference to `ieee80211_watchdog' if_ural.o(.text+0x1188): In function `ural_detach': : undefined reference to `ieee80211_ifdetach' if_ural.o(.text+0x16f3): In function `ural_attach': : undefined reference to `ieee80211_ieee2mhz' if_ural.o(.text+0x1719): In function `ural_attach': : undefined reference to `ieee80211_ifattach' if_ural.o(.text+0x1754): In function `ural_attach': : undefined reference to `ieee80211_media_status' if_ural.o(.text+0x175f): In function `ural_attach': : undefined reference to `ieee80211_media_init' if_ural.o(.text+0x182b): In function `ural_attach': : undefined reference to `ieee80211_ieee2mhz' if_ural.o(.text+0x185f): In function `ural_attach': : undefined reference to `ieee80211_ieee2mhz' if_ural.o(.text+0x1894): In function `ural_attach': : undefined reference to `ieee80211_ieee2mhz' if_ural.o(.text+0x18e6): In function `ural_attach': : undefined reference to `ieee80211_announce' if_ural.o(.text+0x1b8e): In function `ural_set_chan': : undefined reference to `ieee80211_chan2ieee' if_ural.o(.text+0x21c3): In function `ural_task': : undefined reference to `ieee80211_beacon_alloc' if_ural.o(.text+0x2be0): In function `ural_media_change': : undefined reference to `ieee80211_media_change' if_ural.o(.text+0x2c3e): In function `ural_media_change': : undefined reference to `ieee80211_media_change' if_ural.o(.text+0x2cf7): In function `ural_ioctl': : undefined reference to `ieee80211_ioctl' if_ural.o(.text+0xe5): In function `ural_next_scan': : undefined reference to `ieee80211_next_scan' *** Error
Re: ISL intervlan routing
On Fri, 26 Jan 2007 18:58:54 +0100 (CET), in sentex.lists.freebsd.questions you wrote: Hello all, For information, i'm french and my english is very bad. ISL encapsulation is it compatible with FreeBSD for intervlan routing??? Hi. It is not, but 802.1q vlan trunking is and works very well. ---Mike Thanks - Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Mike Tancsa, Sentex communications http://www.sentex.net Providing Internet Access since 1994 [EMAIL PROTECTED], (http://www.tancsa.com) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can not compile kernel.
On Fri, Jan 26, 2007 at 07:33:44PM -0800, Grant Wagner wrote: Kris Kennaway [EMAIL PROTECTED] wrote: On Fri, Jan 26, 2007 at 04:40:13PM -0800, Grant Wagner wrote: Hi, although have used various forms of unix for quite a while, I still consider myself a rather novice user. I have reciently reconfigured my machine to dual boot FreeBSD 6.2 and Windows (damn gaming addiction). I have installed a basic system (only base, games, man and src distros) and modified my /etc/make.conf to look like the following... CFLAGS= -O3 -pipe -funroll-loops -ffast-math COPTFLAGS= -O2 -pipe -funroll-loops -ffast-math Step 0) Note the warning about changing these settings in /usr/share/examples/etc/make.conf and in the make.conf manpage. Step 1) Revert those silly optimizations back to the default Step 2) Rebuild everything to undo the damage Kris Well, in short, that worked. I have now build the kernel. I'm a little confused though and could use a bit of an explination. I thought only the COPTFLAGS options where used during kernel compilation and I had attempted to build with those commented out completely before. I can only guess that the CFLAGS are still in effect too. CFLAGS are used for module builds. Now I have a custom kernel which is failing to build. I've attached the config file for it, and it fails trying to build with references about ieee80211. The odd thing is I have no wireless in my box and have commented out all the wireless references. What else is dependant on them and should be commented out as well? The last bit of output is below. Go back to GENERIC (you stripped out too much) or check the comments more carefully...or note the error message and check whether you have anything related still in your kernel. if_ural.o(.text+0x66): In function `ural_free_tx_list': : undefined reference to `ieee80211_free_node' if_ural.o(.text+0x2d3): In function `ural_rxeof': : undefined reference to `ieee80211_find_rxnode' Kris P.S. Please wrap your lines at 70 characters so that your emails may be easily read. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Disk Space Requirements
In the last episode (Jan 26), Jay Chandler said: I've got a VPS running FreeBSD 6.1 p5. I'd like to upgrade it to 6.2 if possible, or at least 6.1 p11. I've got four gigs of disk allocated to the box. Is this enough space to rebuild the OS from source within? You need less than 500MB of space for /usr/obj. I recently upgraded a system with almost-full drives by mounting a 1GB flash drive on /usr/obj, and it didn't get over half full. If you don't already have a checked-out /usr/src tree, that'll require another 500MB. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Spam and Viruses, Vandalism-l, the Mailing List from Hell.
Has anyone gotten the port /usr/ports/mail/antivirus-milter to work? The system in question runs FreeBSD5.4 with sendmail and bogofilter. Bogofilter is excellent at helping sort messages in to spam or other folders if you generate a large wordlist. One category of junkmail, however, is not true spam. It is more a form of hacking in that it tries to implant viruses like Johny Appleseed only this guy is Johny weedseed. I got antivirus-milter to make and install but it immediately failed when started: antivirus[53446]: externalcommand() failed to execve() /system/av/decullotage/uvscan I basically said, huh? After that, it hung and began telling all remote hosts to try again later. The url http://www.nmt.edu/~wcolburn/antivirus/ is no good any more and there was very little documentation in the package so I reset everything back to before the installation. This would have been a good counterpart to bogofilter since the virus bombs usually get past bogofilter. The ripmime utility extracts the payload and antivirus-milter is supposed to reject the message before delivery. The other milter I found is milter-bogom. It is probably fine, but it duplicates bogofilter's function on a system-wide basis. Any ideas are much appreciated. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Network Operations Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Best Blog Ap in the Ports?
Tuareg wrote: On 1/26/07, eoghan [EMAIL PROTECTED] wrote: On 26 Jan 2007, at 17:41, [EMAIL PROTECTED] wrote: What is the best blog ap in the ports tree? I was thinking of starting a blog on my server for my Chemistry Students. Since blogs and wikis are typically written in high-level such as PHP and Perl, a port to a specific UNIX type OS should not be necessary. Do you know about LAMP? Linux, Apache, MySQL, and ( Perl | PHP). Scratch out Linux and you will find that AMP runs anywhere. Call it BSD-AMP if you like. I expect it will support your blogs and wikis very well. There is a certain amount of hype about LAMP probably started by some Linux advocate not realizing that the valuable abstraction is being obscured. -BobMc- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Spam and Viruses, Vandalism-l, the Mailing List from Hell.
--On January 26, 2007 10:16:57 PM -0600 Martin McCormick [EMAIL PROTECTED] wrote: Has anyone gotten the port /usr/ports/mail/antivirus-milter to work? The system in question runs FreeBSD5.4 with sendmail and bogofilter. Bogofilter is excellent at helping sort messages in to spam or other folders if you generate a large wordlist. One category of junkmail, however, is not true spam. It is more a form of hacking in that it tries to implant viruses like Johny Appleseed only this guy is Johny weedseed. I got antivirus-milter to make and install but it immediately failed when started: antivirus[53446]: externalcommand() failed to execve() /system/av/decullotage/uvscan Uvscan is McAfee's antivirus product. Did you install it? There's a conf file in the files directory of that port. It defines AVSCANNER as /usr/local/bin/uvscan. That would require that you have McAfee Antivirus for FreeBSD installed. If this machine handles lots of mail, I wouldn't suggest you use that. Uvscan launches a shell for each time it's called, and it will suck a lot of cpu and memory (based on our extensive comparison testing.) I would recommend that you install either clamav (security/clamav) or your school's commercial product *if* it has a daemon for FreeBSD. If it's a shell program like McAfee, I would *not* recommend it. Once you have the av product installed, edit the conf file appropriately and you should be up and running. You'll find the conf file in /usr/local/etc. Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/