Re: what to do when FreeBSD cannot do something?
On 07.07.2010, at 23:24, Henrik Hudson wrote: One caveat is that ESX / ESXi are very picky about their hardware and pretty much won't run on anything but server class devices (mobo, NICs and CPU are the big ones). Yes, I'm aware of that. We have entry level, but ESXi compatible, HP and IBM servers. VMware still has their VMware Server (software) solution, but it's slowly being phased out. Also, it's against the EULA to use ESXi for commercial / reseller purposes and ESX isn't cheap. Oh, wasn't aware about the ESXi EULA... will check, thank you. Iv___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: what to do when FreeBSD cannot do something?
On 08.07.2010, at 03:04, Olivier Nicole wrote: That's the idea: bare metal and free, proxmox has something based on... I don't remember. I opted for vmware becuase it seems to be more wide spread. Yes, that's what I think, too. You will have to make your fingers dirty, because once you are installing any OS on a virtual machine, it is as dirty as installing on a bare hardware: you need to learn how to install, tune and secure that new OS... Good luck, Right. It's rather the comfort that I can have the right for every case (i. e. Oracle, Interbase) without asking for budget for a physical machine and having to take care of one more physical machine. Thank you for your thoughts, Iv___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
what to do when FreeBSD cannot do something?
Hello everyone, I have been using FreeBSD since 4.x for web related applications (php, Apache, PostgreSQL, Postfix, Cyrus IMAP, etc.), and while I am not an expert, I feel quite comfortable. Lately I find myself in situations where I have I have to take care of legacy Oracle (10g on Windows) and Interbase (6 on Linux) databases and sometimes legacy OS which need to be run for some time in a virtual machine, and I have difficulties to accomplish this with FreeBSD - no Oracle port, no Interbase port and only VirtualBox support, which is a bit unclear to me. What is the recommended parallel way for a person, who feels comfortable with FreeBSD, when FreeBSD cannot do the job? - i. e. is it a good idea to go towards Solaris, instead of Linux? Or rather go towards some sort of Linux? Thank you, Iv___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: what to do when FreeBSD cannot do something?
What virtulization system to use? Personnally I use ESXi from vmware This was a great tip, thank you. I wasn't aware that ESXi is a bare metal and free. What OS to use instead of FreeBSD? It depends on what is recommended for your application, what resources you have available around you, etc. For a similar problem I choosed Ubuntu because Ubuntu was well supported by the application and some colleagues had a decent knwoledge of ubuntu. I am not fanatic about FreeBSD, but I feel very comfortable with it and I resist change. However your ESXi tip would allow me to run ESXi on bare metal and virtualize simple installations of the unpleasant legacy OSes without making my fingers too dirty. Thank you very much, Iv___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: best firewall for a web server
Thank you all for your help. Two for PF and one for IPFILTER - I'll have to do some math now :) All best, Iv ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
best firewall for a web server
We will be running a web server - - FreeBSD 8.x - Apache 2.x - php 5.x - PostgreSQL 8.x - Postfix 2.x - The server will run nearly 98% of the time below 25% load (no high performance firewall is needed). - Access to the server will be done only via ssh w/ key (there will be no public ftp, etc.). I read several threads on FreeBSD Questions and checked the Handbook, and my conclusion is that PF seems the most straightforward for such classic situation. Am I right? Thanks, Iv___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Opteron 1212 w/ 4 GB RAM
We are getting a new web server - Singe Dual Core Opteron 1212 w/ 4 GB RAM It will have - 2 x 250 GB SATA gmirror RAID 1 We will run - - Apache 2.x - PHP 5.x - PostgreSQL 8.x - Postfix 2.x We have a couple of questions- If we are more interested in stability than in features and performance - a) Is FreeBSD 8.0 the right for us, or shall we rather go for FreeBSD 7.x? b) Is i386 or amd64 the right way? Thanks! Iv ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Opteron 1212 w/ 4 GB RAM
Thank you all for the consistent advice. Iv ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
bind configuration issues
Hello, I am adding a redundant Internet connection to my current hosting setup and I need to figure out how to set up the DNS to make this work. Current setup: freebsd 7.0 machine, one local IP address, runs web, mail, and name server. static ip address in router. I have two DNS servers registered, but they both point to the same ip address an the same machine. (Yes, I should have my fingers slapped.) Desired setup same machine, one local IP address, runs web, mail, and name server. different router (Linksys RV082) with 2 static ip address. How do I set up bind so that 1) bandwidth is shared between the two connections, and 2) if one goes down, the other keeps working. I had a few ideas, but they all seem to have flaws. feel free to answer with links or search keywords. Thanks Ray ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
bind configuration issues
Hello, I am adding a redundant Internet connection to my current hosting setup and I need to figure out how to set up the DNS to make this work. Current setup: freebsd 7.0 machine, one local IP address, runs web, mail, and name server. static ip address in router. I have two DNS servers registered, but they both point to the same ip address an the same machine. (Yes, I should have my fingers slapped.) Desired setup same machine, one local IP address, runs web, mail, and name server. different router (Linksys RV082) with 2 static ip address. How do I set up bind so that 1) bandwidth is shared between the two connections, and 2) if one goes down, the other keeps working. I had a few ideas, but they all seem to have flaws. feel free to answer with links or search keywords. Thanks Ray ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
bind configuration issues
Hello, I am adding a redundant Internet connection to my current hosting setup and I need to figure out how to set up the DNS to make this work. Current setup: freebsd 7.0 machine, one local IP address, runs web, mail, and name server. static ip address in router. I have two DNS servers registered, but they both point to the same ip address an the same machine. (Yes, I should have my fingers slapped.) Desired setup same machine, one local IP address, runs web, mail, and name server. different router (Linksys RV082) with 2 static ip address. How do I set up bind so that 1) bandwidth is shared between the two connections, and 2) if one goes down, the other keeps working. I had a few ideas, but they all seem to have flaws. feel free to answer with links or search keywords. Also, as this question isn't exactly a FreeBSD question, is there a better list for this? Thanks Ray ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: bind configuration issues
On Mon, Oct 26, 2009 at 11:55 AM, Gary Gatten ggat...@waddell.com wrote: You certainly don't need BGP for this, the DNS thing will work, but will be a bit kludgy and certainly not as ... responsive to failures - a la query caching, TTL's and what not. - Original Message - From: owner-freebsd-questi...@freebsd.org owner-freebsd-questi...@freebsd.org To: Ray Still rstil...@gmail.com Cc: freebsd-questions@freebsd.org freebsd-questions@freebsd.org Sent: Mon Oct 26 12:50:56 2009 Subject: Re: bind configuration issues On Oct 26, 2009, at 10:03 AM, Ray Still wrote: Hello, I am adding a redundant Internet connection to my current hosting setup and I need to figure out how to set up the DNS to make this work. The two issues normally aren't related. If both connections are from the same provider, talk to them about multilink PPP; if they are from different providers, you need to look into multihoming and getting your own AS #. two different providers. Current setup: freebsd 7.0 machine, one local IP address, runs web, mail, and name server. static ip address in router. I have two DNS servers registered, but they both point to the same ip address an the same machine. (Yes, I should have my fingers slapped.) Desired setup same machine, one local IP address, runs web, mail, and name server. different router (Linksys RV082) with 2 static ip address. In order to have redundancy, you need to have two real, separate machines, each of which is running BIND, each of which is on a separate routable IP. This is an orthogonal issue to setting up multiple Internet connections. Yes, In an ideal world I would do this. The two machines would also be in separate buildings/cities/provinces/countries/planets (pick your level of paranoia) ;) However, reducing single points of failure is an improvement, even if I can't eliminate them. How do I set up bind so that 1) bandwidth is shared between the two connections, and 2) if one goes down, the other keeps working. I had a few ideas, but they all seem to have flaws. You can't set up BIND to control multilink aggregation and failover; that's not what it does. Regards, -- freebsd-questions@freebsd.org -Chuck Thanks for the replies. Chuck, thanks for the keywords to search. Some of what I'm finding looks like a solution for companies a lot bigger than me, but I'll keep looking. Gary, can you give me any clues about how to do it with just DNS? Yes, I do realize that this leaves single points of failure, but at least they would be points that I could do something about if necessary. Thanks again, Ray ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: bind configuration issues
Ok, tell me just how nuts this idea is. To recap, two pipes, one destination. I set up second DNS server. ns1.example.com at 70.65. (provider 1) ns2.example.com at 206.75(provider 2) A records for example.org on ns1 will give 70.65. on ns2 206.75 if provider one goes down, ns1 is gone, ns2 is still available, and so is the route to the sites. It's not the best solution, but it's better than what I have. Am I missing something that's going to come back and bite me in the butt? Thanks, Ray On Mon, Oct 26, 2009 at 2:14 PM, Gary Gatten ggat...@waddell.com wrote: I googled dns round robin failover and there are many hits. One interesting one is: http://forums.devshed.com/dns-36/ha-using-round-robinworking-368800.html It suggests well written apps / resolvers will try to use all ip's returned by the query starting with the preferred one, not JUST the preferred one. Which means, just by enabling round robin with multiple A records, you MAY get some level of HA/Failover by default. Cool, BUT, I wouldn't bet my life on it. I'd still have something that could tweak your DNS records based on packet loss, latency, etc. What if your circuit is up, but is degraded by loss, latency (load induced or otherwise), etc. As you mentioned, something is better than nothing - so start simple and go from there! HTH! G -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Gary Gatten Sent: Monday, October 26, 2009 2:07 PM To: Ray Still; freebsd-questions@freebsd.org Subject: RE: bind configuration issues I'm not intimate with bind, or anything/one actually - but that's another story... Anyway, the gist is you need to ping some public hosts from your dns server (or another system I guess, but easier if on the dns server). One destination host would be reachable through one connection, and the other of course would only be reachable through the alternate connection. Maybe use the primary DNS servers each upstream ISP provides to you? Anyway, if both pings are OK, then your DNS server does round-robin for the host(s) in question. If one ping fails, then you stop handing out that IP. You can for the route taken within ping itself, or use static host(/32) routes, etc. Sounds simple huh? It kinda is, and LONG ago I had a shell script to do just this, but it's gone - and maybe bind 9+ has some sort of this functionality available to you embedded in the bind code? Don't know. Even if you have to write your own script to update your dns records based on your monitoring process it's not that hard even for a scripting novice such as myself! G -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Ray Still Sent: Monday, October 26, 2009 1:56 PM To: freebsd-questions@freebsd.org Subject: Re: bind configuration issues On Mon, Oct 26, 2009 at 11:55 AM, Gary Gatten ggat...@waddell.com wrote: You certainly don't need BGP for this, the DNS thing will work, but will be a bit kludgy and certainly not as ... responsive to failures - a la query caching, TTL's and what not. - Original Message - From: owner-freebsd-questi...@freebsd.org owner-freebsd-questi...@freebsd.org To: Ray Still rstil...@gmail.com Cc: freebsd-questions@freebsd.org freebsd-questions@freebsd.org Sent: Mon Oct 26 12:50:56 2009 Subject: Re: bind configuration issues On Oct 26, 2009, at 10:03 AM, Ray Still wrote: Hello, I am adding a redundant Internet connection to my current hosting setup and I need to figure out how to set up the DNS to make this work. The two issues normally aren't related. If both connections are from the same provider, talk to them about multilink PPP; if they are from different providers, you need to look into multihoming and getting your own AS #. two different providers. Current setup: freebsd 7.0 machine, one local IP address, runs web, mail, and name server. static ip address in router. I have two DNS servers registered, but they both point to the same ip address an the same machine. (Yes, I should have my fingers slapped.) Desired setup same machine, one local IP address, runs web, mail, and name server. different router (Linksys RV082) with 2 static ip address. In order to have redundancy, you need to have two real, separate machines, each of which is running BIND, each of which is on a separate routable IP. This is an orthogonal issue to setting up multiple Internet connections. Yes, In an ideal world I would do this. The two machines would also be in separate buildings/cities/provinces/countries/planets (pick your level of paranoia) ;) However, reducing single points of failure is an improvement, even if I can't eliminate them. How do I set up bind so that 1) bandwidth is shared between the two connections, and 2
Re: bind configuration issues
On Mon, Oct 26, 2009 at 6:42 PM, Steve Bertrand st...@ibctech.ca wrote: Ray Still wrote: Ok, tell me just how nuts this idea is. imho, your thought-process is not nuts. I can see what you are trying to do, so kudos given for trying to work it out with what you have. To recap, two pipes, one destination. I set up second DNS server. ns1.example.com at 70.65. (provider 1) ns2.example.com at 206.75(provider 2) A records for example.org on ns1 will give 70.65. on ns2 206.75 if provider one goes down, ns1 is gone, ns2 is still available, and so is the route to the sites. Note: I haven't followed the entire thread... Remember that no matter where your name servers are located, they both will hold the same information (if they don't, then shame on you, as you just broke scalability). This means that other caching servers all over the 'net may have either entry. Some ISP's name servers will cache records even longer than what your TTL is set to without trying to re-check (shame on them). Hence, you can never count on using DNS naming as a tactic for redundancy. It's not the best solution, but it's better than what I have. If I understand your conundrum properly (one server with an internal IP, with NAT in front of it, port-forwarded back aliased from two separate ISP public IPs), then, at minimum, here's how you can essentially 'halve' the damage: - set up your DNS servers in a proper master/slave configuration - configure your 'A' records in a round-robin setup. I'll assume your zone is ibctech.ca, and that your $TTL is 360: www IN A 208.70.104.210 www IN A 208.70.104.211 (yes, I know 360 puts pressure on everyone else, but this is for example purposes). If I know I will need to make DNS changes in advance for a domain, I'll set the TTL to 360 (secs) long before the changes need to be made. Then, I can make the changes, and if caching resolvers are Doing The Right Thing, they will pick up these changes after five minutes. If you have a domain that is high-traffic, don't do this. I'd like to emphasize that a low ttl puts pressure on every DNS caching server on the Internet that must look up information on your domain. With that said, with a 5 min ttl, in the event of an outage, you can hop onto your authoritative DNS server, switch BOTH A records to point to the working IP, and the rest of the 'net 'should' be able to see those changes within five minutes (again, if they obey your ttl). Steve OK, after reading and re-reading and experimenting I think I get it. Thanks for your comments and patience. I will probably end up using something based on Gary's round robin suggestion. It may not provide 100% reliable failover, but it will help, and worst case, it will provide some bandwidth sharing. Thanks, Ray ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
activate apache mod_rewrite
Hello, I'm running FreeBSD 7.0-RELEASE-p3, amd64 I have never used mod rewrite before, but I am about to be hosting a php website that does use it and I can't figure out how to turn it on. The website was working properly under other hosting. The server has been working properly for over a year with other php websites. I installed apache 2.2 along with php 5.2 from ports. google says that the following lines should appear in httpd.conf LoadModule rewrite_module libexec/apache/mod_rewrite.so AddModule mod_rewrite.c first line does appear, slightly modified LoadModule rewrite_module libexec/apache22/mod_rewrite.so when I try to add the second line, apache won't start. mod_rewrite.so is in the location specified. at the moment I'm guessing I am missing something in httpd-vhosts.conf, but I haven't found a guide for this yet. Any suggestions, manual sections, links appreciated. Ray ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: activate apache mod_rewrite
On July 12, 2009 05:58:07 pm Gregory T Helton wrote: On Sun, 12 Jul 2009 17:09:24 -0600 Ray r...@stilltech.net wrote: Hello, I'm running FreeBSD 7.0-RELEASE-p3, amd64 I have never used mod rewrite before, but I am about to be hosting a php website that does use it and I can't figure out how to turn it on. The website was working properly under other hosting. The server has been working properly for over a year with other php websites. I installed apache 2.2 along with php 5.2 from ports. google says that the following lines should appear in httpd.conf LoadModule rewrite_module libexec/apache/mod_rewrite.so AddModule mod_rewrite.c first line does appear, slightly modified LoadModule rewrite_module libexec/apache22/mod_rewrite.so when I try to add the second line, apache won't start. mod_rewrite.so is in the location specified. at the moment I'm guessing I am missing something in httpd-vhosts.conf, but I haven't found a guide for this yet. Any suggestions, manual sections, links appreciated. Ray ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Try with just the LoadModule line. This is the only line I have for mod_rewrite in my httpd.conf, and it is working properly. iirc, the AddModule linux is apache 1.x specific. That makes sense, because all the websites that I could find were 4 to 6 years old. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Thanks for the response. The loadmodule line is already there. Is there anything in the httpd-vhosts.conf or anywhere else needed to activate rewrites? thanks, Ray ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: activate apache mod_rewrite (solved)
On July 12, 2009 07:47:51 pm Michael Powell wrote: snip http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html Various ways of utilizing it as it is very flexible, depending on your particular requirements. It usually involves at least a RewriteEngine On directive somewhere. Some can use it in an .htaccess but those who are running multiple vhosts may need something like this for each vhost: RewriteEngine On RewriteOptions Inherit looks like the second line (RewriteOptions Inherit) was missing seems I didn't read this section of of the docs close enough. :( thanks for your help. Ray See the section in the docs. Usually there are two other directives used to configure functionality after activating it. You will usually have one, or more, RewriteCond conditions which when evaluated run through a RewriteRule of some kind. Brush up on your Apache regex handling! There are cheat sheets around the web, easily Googled up. mod_rewrite is not easy and can have you pulling your hair out. If you are using a software that requires it the docs should have a cut and paste config that can get you started. Trying to figure it out from scratch without knowing what is needed will be next to impossible. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
FreeBSD in a cloud
Does anyone know a place to host FreeBSD in a cloud? Rackspace offer quite interesting cloud servers via www.mosso.com - but they claim they run only Linux. We have had FreeBSD with Rackspace for over 5 years (though they refuse to officially support it) and I cannot understand if they cannot or do not want to run it in the cloud. Iv ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Cannot mount smbfs share without requiring manual password
On May 4, 2009 09:31:09 am Ryan van Eerdewijk wrote: Hi, I have a strange issue. If I type: mount_smbfs //theu...@theserver/myshare$ /mnt/here ... I will be prompted for theuser's password, I type it, and the share will mount fine. But I want this share to mount automatically at bootup. I haven't been able to get it to work through /etc/fstab or through an sh script. In fact typing: mount_smbfs -N //theu...@theserver/myshare$ /mnt/here gives me the following error: mount_smbfs: unable to open connection: syserr = Authentication error I have the following in my /etc/nsmb.conf file: [theserver] workgroup=MYWORKGROUP addr=10.10.10.10 [theserver:theuser] password=$$1571crypto'dpassword I get the feeling that when mounting the smbfs share, it isn't even checking the nsmb.conf file. I've also tried a plain text password, and also including the same information in a /root/.nsmbrc file. I'm running out of ideas. Any help is appreciated. Thanks Ryan V. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Hi Ryan, What You have is very similar to what I use, except I don't use the -N Flag on mount_smbfs. Ray ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: [PHP] putting variables in a variable
On Tuesday 14 April 2009 16:33:33 Ray wrote: Sorry, I replied to OP, not list and then forwarded it to the wrong list to. Sorry for the spam. :( Ray ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: questions about Fatal Trap 12
On Saturday 11 April 2009 19:34:29 Paul Hamilton wrote: -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Ray Sent: Saturday, 4 April 2009 01:45 To: freebsd general questions Subject: questions about Fatal Trap 12 Hello, I have received a kernel Trap 12 error several times now and am trying to figure it out. the error occurred today, and the previous time was about two weeks ago. last time I had to run fsck manually if that proves anything. snip Any help or suggestions would be greatly appreciated. Ray ___ snip Hi Ray, I have had a few of the Trap 12 errors over the last 10 years of using FreeBSD. From memory, mine where due to faulty motherboard/CPU. I just moved the hard drive to another PC, and all was ok. The last time I received the error, was when I tried recompiling world. I put it down to CPU heat, as it was running a LOT harder than normal day to day use. This was on a server that had been in place for two years running with out problem! Cheers, PaulH I Just had the power supply die on this machine. Could a failing power supply cause this type of issues? Ray ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Fwd: Re: [PHP] putting variables in a variable
Sorry, I replied to OP, not list Ray -- Forwarded Message -- Subject: Re: [PHP] putting variables in a variable Date: Tuesday 14 April 2009 From: Ray r...@stilltech.net To: Hulf r...@blue-fly.co.uk On Monday 28 March 2011 05:06:14 Hulf wrote: Hi, I am making and HTML email. I have 3 images to put in. Currently I have $body .= table tr tdimg src=\image1.jpg\/td /tr tr td/td /tr /table ; ideally I would like to have $myimage1 = image1.jpg; $myimage2 = image2.jpg; $myimage3 = image3.jpg; and put them into the HTML body variable. I have tried escaping them in every way i can think of, dots and slashes and the rest. Any ideas? Ross Hi Ross, The example you are showing will only put the image name into the email. The email client will then look on the receivers machine for the image. There are two ways to do what you are trying to do. One is to send just a link to the images. For example: use $myimage1= www.example.com/images/image1.jpg this of course assumes that you have the images hosted somewhere that the mail client can find them. The other option involves including the images as attachments. The easiest way imo to do this is with the PHP Mime Mail class. http://www.phpguru.org/static/htmlMimeMail5.html PHP 4 version is also available if that's what you need. Ray --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: questions about Fatal Trap 12
Thanks Paul and Chris, So what It comes down to is that this error is most likely a hardware problem, and I'll just have to bring the machine down for hardware replacement and/or testing? Thanks, Ray ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: questions about Fatal Trap 12
On Friday 03 April 2009 11:44:31 Ray wrote: Hello, I have received a kernel Trap 12 error several times now and am trying to figure it out. the error occurred today, and the previous time was about two weeks ago. last time I had to run fsck manually if that proves anything. uname -a gives the following: FreeBSD wserver..com 7.0-RELEASE-p3 FreeBSD 7.0-RELEASE-p3 #0: Wed Sep 17 13:30:46 MDT 2008 r...@wserver.*.com:/usr/obj/usr/src/sys/MOD amd64 Google returns results mostly for versions 4.x and 5.x, but it suggest 2 main things: test ram, and kernel panic troubleshooting. (http://www.freebsd.org/doc/en/books/faq/advanced.html#KERNEL-PANIC- TROUBLESHOOTING) Is there a way to test the ram without removing it from the machine and leave the machine functioning. I've used memtest 86 before, but obviously the machine has to be offline for this test. However, I'm a little unsure of the instructions in the handbook on troubleshooting. namely, it talks about using the nm command, but I can't figure out the data file to give it as an argument, and second I'm unsure about using a debugging Kernel on a production server. I have heard that It will significantly slow down a machine. Any help or suggestions would be greatly appreciated. Ray Can anybody make any suggestions, or is there a better list to take this question to? Ray ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
questions about Fatal Trap 12
Hello, I have received a kernel Trap 12 error several times now and am trying to figure it out. the error occurred today, and the previous time was about two weeks ago. last time I had to run fsck manually if that proves anything. uname -a gives the following: FreeBSD wserver..com 7.0-RELEASE-p3 FreeBSD 7.0-RELEASE-p3 #0: Wed Sep 17 13:30:46 MDT 2008 r...@wserver.*.com:/usr/obj/usr/src/sys/MOD amd64 Google returns results mostly for versions 4.x and 5.x, but it suggest 2 main things: test ram, and kernel panic troubleshooting. (http://www.freebsd.org/doc/en/books/faq/advanced.html#KERNEL-PANIC- TROUBLESHOOTING) Is there a way to test the ram without removing it from the machine and leave the machine functioning. I've used memtest 86 before, but obviously the machine has to be offline for this test. However, I'm a little unsure of the instructions in the handbook on troubleshooting. namely, it talks about using the nm command, put I can't figure out the data file to give it as an argument, and second I'm unsure about using a debugging Kernel on a production server. I have heard that It will significantly slow down a machine. Any help or suggestions would be greatly appreciated. Ray ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
gmirror 6.2 - 7.1
Hello everyone, Do you think the following way to upgrade gmirror 6.2 - 7.1 is safe for the average person? (The server is in a remote data center without physical console access.) 1. Backup 2. Remove one of the two SCSI HDDs from the gmirror 3. Install 7.1 on the removed HDD 4. Instruct the boot loader to boot from the 7.1 HDD 5. Reboot 6. Copy data 7. Clean the 6.2 HDD 8. Apply gmirror on 7.1 and add the former 6.2 HDD Thank you, Iv ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
problems getting server on line
Greetings; I have an existing server running FreeBsd 6.3. It's running as a name/web/mail server. I have built a new server to replace it running FreeBsd 7.0. I have both servers attached to the same router, with the production server sitting in the DMZ. I have tried to switch them over by simply changing which server the DMZ points to. When I did this, the new server didn't work. I could connect to the webserver (telnet to port 80) using either localhost or the private IP address (192.168...), but not using the domain name. I could connect to the default website properly from another computer on the same router using the private ip address. My first guess was that it was the firewall on the server configured incorrectly, so I disabled PF which didn't help. Any suggestions would be very much appreciated. Ray ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dual (zaphod) head on Intel i810 does not work for FreeBSD V7.0 Release
I've now spent a month trying to make this work. Sure it sort of works until we try to do consistent graphics work with wish under kde; then we CANNOT get consistent results with and without the second screen. IS THERE ANY WAY TO START THIS MESS LOOKING LIKE ONE SCREEN. IT JUST DOESN'T WORK. Ray Newman On 29/08/2008, at 10:48 PM, John Hein wrote: Ray Newman wrote at 17:56 +1000 on Aug 29, 2008: Under FreeBSD V6.2 Release (X 6.9.0 and i810 1.4.1) with this xorg.conf, this log file is produced and the dual screen config works. . . Under FreeBSD V7.0 Release (X 1.4.0 and i810 1.6.5) with this xorg.conf which is nearly identical with the previous one, this log file is produced and the dual screen doesn't work. It seems to get the primary and secondary screens totally confused. What if you try x11-drivers/xf86-video-intel instead of x11-drivers/xf86-video-i810? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Installation Question
I am trying to move a couple of machines from Suse Linux to FreeBSD and I am having an installation issue on the first machine. I have a 1.8GHZ Pentium on an ASUS mainboard. DUring installation I give the geometry of the drive on the machine, a Western Digital WD8000JB, the drive geometry that I find on their website 16383/16/63 in FDisk. The disk was used for the Suse installation so the partitions are correct. So I press Q on the keyboard. I go through the installation until I get to DiskLabel and the drive doesn't show up on the top of the screen. The screen is blank except for the options section. Does anyone know what could be going wrong here. Thanks in advance ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dual (zaphod) head on Intel i810 does not work for FreeBSD V7.0 Release
Hi, Using the intel driver, I can *ALMOST* get there. What I want to do is run KDE and general apps on the first screen - LVDS ( :0.0 ) and run one single X app on the second screen - CRT ( :0.1 ). Using the intel drivers, I can't get KDE to leave the second screen alone. In fact, it keeps moving the panel to it. The docs with the intel driver say it just doesn't support dual (zaphod) head mode. Are the i810 drivers still in use? They also *ALMOST* get there in zaphod mode - they just stuff the screen modes at the last moment. Ray Newman On 29/08/2008, at 11:44 PM, Tom Evans wrote: On Fri, 2008-08-29 at 17:56 +1000, Ray Newman wrote: Hi, Under FreeBSD V6.2 Release (X 6.9.0 and i810 1.4.1) with this xorg.conf, this log file is produced and the dual screen config works. Under FreeBSD V7.0 Release (X 1.4.0 and i810 1.6.5) with this xorg.conf which is nearly identical with the previous one, this log file is produced and the dual screen doesn't work. It seems to get the primary and secondary screens totally confused. Ray Newman 29 Aug 2008 With X 1.4, use driver intel ( x11-drivers/xf86-video-intel ) and xrandr to achieve the same effect. This has the benefit of dynamically enabling or disabling additional heads. The configuration is slightly different, here is a pertinent snippet from mine for comparison. There is only one device, screen and monitor specified in the conf. Section Device Identifier Card0 Driver intel VendorName Intel Corporation Option DRI true BoardName Mobile Integrated Graphics Controller BusID PCI:0:2:0 Screen 0 EndSection Section Screen Identifier Screen0 Device Card0 Monitor Monitor0 SubSection Display Viewport0 0 Depth 32 Modes 1400x1050 Virtual 26801050 EndSubSection EndSection My laptop has an internal 1400x1050 screen, and also a 1280x1024 external screen to its left. It's enabled from my .xinitrc with a command like 'xrandr --output VGA --mode 1280x1024 --left-of LVDS'. Apparently due to hardware limitations, if your 'Virtual' is more than 2048x2048 in any dimension, then DRI won't work. Cheers Tom ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: csup freezes on updating src to upgrade 6.2 to 6.3 or 7.0 SOLVED
Iv Ray wrote: Hello all, I have the following configuration - FreeBSD 6.2 (minimal install) Running in VMware 6.x Windows VISTA BUSINESS 64-bit guest (core duo 3 GHz, 4 GB RAM) supfile-stable is edited just with the domain (cvs.at) and the version (6_3 or 7_0). csup with this supfile runs for some time, then the virtual machine freezes and the host shows 100% CPU use. After restarting the 6.2 host 2-3 times and csup again, eventually csup completes. Could somebody advice me what might be going wrong? Thank you, Iv -- The virtual machine had 2 CPUs. After switching it to one CPU all works OK. Iv ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: csup freezes on updating src to upgrade 6.2 to 6.3 or 7.0
Just did some tests and found out the same - csup freezes when the Free memory ends (the virtual machine has 512 MB RAM). Is this a known issue, and is there a workaround? Thank you, Iv ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
csup freezes on updating src to upgrade 6.2 to 6.3 or 7.0
Hello all, I have the following configuration - FreeBSD 6.2 (minimal install) Running in VMware 6.x Windows VISTA BUSINESS 64-bit guest (core duo 3 GHz, 4 GB RAM) supfile-stable is edited just with the domain (cvs.at) and the version (6_3 or 7_0). csup with this supfile runs for some time, then the virtual machine freezes and the host shows 100% CPU use. After restarting the 6.2 host 2-3 times and csup again, eventually csup completes. Could somebody advice me what might be going wrong? Thank you, Iv -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: csup freezes on updating src to upgrade 6.2 to 6.3 or 7.0
Iv Ray wrote: After restarting the 6.2 host guest ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: csup freezes on updating src to upgrade 6.2 to 6.3 or 7.0
Iv Ray wrote: Windows VISTA BUSINESS 64-bit guest (core duo 3 GHz, 4 GB RAM) ^ host ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
is it possible to install FreeBSD 6.2
Hello everybody, I am trying to build a VMware twin of an existing production server running FreeBSD 6.2. I have a 6.2 boot only ISO. The installation from FTP works well, but I have some strange issues - (i. e. csup when pulling the 6.3 sources freezes the OS and completes after two restarts, make buildworld crashes, etc.). I normally I move with the RELEASE versions and I have never had such problems the last 2-4 years. Could it be that I am doing something wrong, or simply versions outside of RELEASE are to be treated differently? Thank you, Iv ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD way of installing old version from ports tree
Simon Jolle wrote: What is the FreeBSD way to install this old version integrated in the rest of the system? If 1.6.12 was already installed, I would use portdowngrade. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installing freeBSD
Huu Daud wrote: Hello, Greetings, Iam new to this forum and to the Unix.My interest is to install and configure freeBSD on my desktop computer.I have downloaded the iso for i386. and burn on the CD and DVD.My problem is when I boot from the CD or DVD ,it didnt send me to the screen for selection options as it is shown on the web.Instead, it sends me to the A drive prompt(DOS).Is it possible to install from the DOS?.How then. Thank you for your help huu Did you burn the ISO on the CD/DVD as a file, or did you instruct the burning program to use it as a disk image? Iv ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD 7.0 and DummyNet
It's been a long time since I have tried to get dummynet working. I have a FreeBSD 7.0 box ready to go. Do I still need to recompile the kernel and all that stuff or is there any easier way to do this now? -- Ray Seals - Office: 314-594-0150 (St. Louis Area) 866-875-8863 (toll free) Fax: 253-681-9982 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: accessing iostat -x %b with a scripting language
Johan Dowdy wrote: What do you mean by access? I mean read, sorry for the unclear question. A simple way to get the output would be(presuming the 8th column has the data you want): iostat -x | awk '{ print $8 }' This could be redirected to a file or processed ins a shell script etc. What is it that you want to do' with the output? I want to add performance monitoring functionality to a web applications. I look for bottlenecks on each request. For this I want to read several OS status indicators such as %b of iostat -x. What I was not sure about, was - what is the correct way to read the output of iostat -x (and of other similar commands, such as top, etc.). But from the posts, so far, it seems that the correct way is indeed to parse the output, which the command would normally send to the terminal, and to find my values in this output, relying that the command will always output the values in the given order/format. This - iostat -x | awk '{ print $8 }' returns multi-row answer. This (suggested in another post) - iostat -x | grep ad0 | tr -s ' ' | cut -d ' ' -f 8 grep to pick the drive in question tr to cleanup the line cut to extract the value returns exactly the value of the %b. Thank you all, Iv ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
accessing iostat -x %b with a scripting language
Is there a standard way to access, with a scripting language (php, perl, etc.) the output of - iostat -x I am particularly interested in the %b column (HDD utilization). I am not sure if reading the output and regex-ing the Nth column is the right approach, or there is a more intelligent one. Iv ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Where to rent the best dedicated servers?
I recommend MediaTemple (http://www.mediatemple.net). Great customer service and they communicate any problems or issues via the blog so you can have it in an RSS feed which is nice. They also have grid computing and containers for Ruby on Rails and MySQL instances so once you out grow your current setup you can have it spread across several machines. On Mon, Mar 24, 2008 at 5:24 PM, Kyrre Nygård [EMAIL PROTECTED] wrote: Excellent choice... But so far it looks like I'll be going for http://www.m5hosting.com. Small is the new big, might wanna Google that. Besides, they look so simple! Kyrre - Original Message - From: Bill Moran [EMAIL PROTECTED] Date: Tuesday, March 25, 2008 4:28 am Subject: Re: Where to rent the best dedicated servers? To: Kyrre Nygård [EMAIL PROTECTED] Cc: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] In response to Kyrre Nygård [EMAIL PROTECTED]: Sorry, I really don't know where else to ask. I've been using Staminus for a while now and I've had it with the downtime. Basically I want a place to host my Ruby on Rails / Git projects, an IRC server as well as an internet radio channel. Simple website / control panel design is ofcourse a plus. None of that cpanel bullshit though, I prefer to meddle around with simple text files the way it's meant to be done. So, layeredtech.com? rackspace.com? pair.com ? -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Ray Seals - Office: 314-594-0150 (St. Louis Area) 866-875-8863 (toll free) Fax: 253-681-9982 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
problem installing port (amavisd-new) under 6.3 release
Hello all, I'm installing 6.3 fresh, and I'm running into some problems installing some ports. everything goes fine until I get here: any suggestions? Thanks in advance, Ray === Returning to build of p5-Encode-Detect-1.00 === p5-Encode-Detect-1.00 depends on file: /usr/local/bin/perl5.8.8 - found === Configuring for p5-Encode-Detect-1.00 Checking whether your kit is complete... Looks good Warning: this distribution contains XS files, but Module::Build is not configured with C_support. Please install ExtUtils::CBuilder to enable C_support. Checking prerequisites... - ERROR: ExtUtils::CBuilder is not installed ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions of the modules indicated above before proceeding with this installation Creating new 'Build' script for 'Encode-Detect' version '1.00' === Building for p5-Encode-Detect-1.00 Module::Build is not configured with C_support at /usr/local/lib/perl5/site_perl/5.8.8/Module/Build/Base.pm line 3887. *** Error code 2 Stop in /usr/ports/converters/p5-Encode-Detect. *** Error code 1 Stop in /usr/ports/mail/p5-Mail-SpamAssassin. *** Error code 1 Stop in /usr/ports/security/amavisd-new. *** Error code 1 Stop in /usr/ports/security/amavisd-new. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
problem installing port (amavisd-new) under 6.3 release
Hello all, I'm installing 6.3 fresh, and I'm running into some problems installing some ports. everything goes fine until I get here: any suggestions? Thanks in advance, Ray === Returning to build of p5-Encode-Detect-1.00 === p5-Encode-Detect-1.00 depends on file: /usr/local/bin/perl5.8.8 - found === Configuring for p5-Encode-Detect-1.00 Checking whether your kit is complete... Looks good Warning: this distribution contains XS files, but Module::Build is not configured with C_support. Please install ExtUtils::CBuilder to enable C_support. Checking prerequisites... - ERROR: ExtUtils::CBuilder is not installed ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions of the modules indicated above before proceeding with this installation Creating new 'Build' script for 'Encode-Detect' version '1.00' === Building for p5-Encode-Detect-1.00 Module::Build is not configured with C_support at /usr/local/lib/perl5/site_perl/5.8.8/Module/Build/Base.pm line 3887. *** Error code 2 Stop in /usr/ports/converters/p5-Encode-Detect. *** Error code 1 Stop in /usr/ports/mail/p5-Mail-SpamAssassin. *** Error code 1 Stop in /usr/ports/security/amavisd-new. *** Error code 1 Stop in /usr/ports/security/amavisd-new. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
My new kernel could not be compiled
I have followed the FreeBSD Handbook, and I just want to add the usb2.0 and sound devices to my kernel. Maybe I canceled too much modules, though the make error shows the same msg saying ng_prase_int32 type** My kernel configure file: -- Ray Stinger, nickname lichray The best way to predict the future is to invent it. -- let focus = 'computing' in here: http://let-in.blogspot.com (let (me Program!)): http://lichray.blogspot.com # # GENERIC -- Generic kernel configuration file for FreeBSD/i386 # # For more information on this file, please read the handbook section on # Kernel Configuration Files: # # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html # # The handbook is also available locally in /usr/share/doc/handbook # if you've installed the doc distribution, otherwise always see the # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the # latest information. # # An exhaustive list of options and more detailed explanations of the # device lines is also present in the ../../conf/NOTES and NOTES files. # If you are in doubt as to the purpose or necessity of a line, check first # in NOTES. # # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.413.2.13 2005/04/02 16:37:58 scottl Exp $ machine i386 cpu I486_CPU cpu I586_CPU cpu I686_CPU ident YUETIME # To statically compile in device wiring instead of /boot/device.hints #hints GENERIC.hints # Default places to look for devices. options SCHED_4BSD # 4BSD scheduler options INET# InterNETworking #optionsINET6 # IPv6 communications protocols options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options MD_ROOT # MD is a potential root device options NFSCLIENT # Network Filesystem Client options NFSSERVER # Network Filesystem Server options NFS_ROOT# NFS usable as /, requires NFSCLIENT #optionsMSDOSFS # MSDOS Filesystem #optionsCD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS# Pseudo-filesystem framework options GEOM_GPT# GUID Partition Tables. options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI options KTRACE # ktrace(1) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options KBD_INSTALL_CDEV# install a CDEV entry in /dev options AHC_REG_PRETTY_PRINT# Print register bitfields in debug # output. Adds ~128k to driver. options AHD_REG_PRETTY_PRINT# Print register bitfields in debug # output. Adds ~215k to driver. options ADAPTIVE_GIANT # Giant mutex is adaptive. device apic# I/O APIC # Bus support. Do not remove isa, even if you have no isa slots device isa device eisa device pci # Floppy drives device fdc # ATA and ATAPI devices device ata device atadisk # ATA disk drives # deviceataraid # ATA RAID drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives # deviceatapist # ATAPI tape drives options ATA_STATIC_ID # Static device numbering # SCSI Controllers #device ahb # EISA AHA1742 family #device ahc # AHA2940 and onboard AIC7xxx devices #device ahd # AHA39320/29320 and onboard AIC79xx devices #device amd # AMD 53C974 (Tekram DC-390(T)) #device isp # Qlogic family #device mpt # LSI-Logic MPT-Fusion #device ncr # NCR/Symbios Logic #device sym # NCR/Symbios Logic (newer chipsets + those of `ncr') #device trm # Tekram DC395U/UW/F DC315U adapters #device adv # Advansys SCSI adapters #device adw # Advansys wide SCSI adapters #device aha
Re: slow data transfer from smba share, where to start
On Tuesday 06 November 2007 1:10:11 pm Ray wrote: Hello, I am having a problem with slow data transfer. Source is a samba share mounted as a local drive. destination is the local hard-drive. Can anybody give me some hints on where to start looking? Thanks, Ray any info that seems relevant to me is included, but I can provide any other data that is needed (domain info is sanitized) $ uname -a FreeBSD server.example.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Wed May 2 03:41:55 UTC 2007 root@:/usr/obj/usr/src/sys/GENERIC amd64 # less fstab # DeviceMountpoint FStype Options Dump Pass# snip //[EMAIL PROTECTED]/technical /mnt/technical smbfs rw,-N 0 0 # time mv /mnt/technical/test /www/test/pub 0.008u 0.402s 7:42.28 0.0% 17+262k 7+27io 4121pf+0w test is a directory containing approximately 15 MB of data, windows machine is running windows XP pro. No known hardware or software problems on either machine. Hardware is decent but not super high end. the two machines are connected through a mid range consumer router and about 100 - 150 feet of cat5 cable. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I have a little more information now. (Thanks to the current thread on this list 'Best way to measure disk bandwidth usage') I started a large copy from the samba share to the local drive and then checked ps and top. ps lists the status as D+ (short term, uninterruptible wait, in foreground?) top, after I push 'm' lists the state as 90wrq (samba waiting?) so it seems to me that either something is wrong with samba, or something is wrong with windows or I don't have enough experience to find the real answer. Just because the second option is obviously true, doesn't mean options 1 and 3 aren't. so, how do I go about checking samba (I can't find a /var/log/samba, or anything close to that.) and can anybody suggest anything else to try? Thanks, Ray ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
slow data transfer from smba share, where to start
Hello, I am having a problem with slow data transfer. Source is a samba share mounted as a local drive. destination is the local hard-drive. Can anybody give me some hints on where to start looking? Thanks, Ray any info that seems relevant to me is included, but I can provide any other data that is needed (domain info is sanitized) $ uname -a FreeBSD server.example.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Wed May 2 03:41:55 UTC 2007 root@:/usr/obj/usr/src/sys/GENERIC amd64 # less fstab # DeviceMountpoint FStype Options DumpPass# snip //[EMAIL PROTECTED]/technical /mnt/technical smbfs rw,-N 0 0 # time mv /mnt/technical/test /www/test/pub 0.008u 0.402s 7:42.28 0.0% 17+262k 7+27io 4121pf+0w test is a directory containing approximately 15 MB of data, windows machine is running windows XP pro. No known hardware or software problems on either machine. Hardware is decent but not super high end. the two machines are connected through a mid range consumer router and about 100 - 150 feet of cat5 cable. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ipod software
On Sunday 14 October 2007 6:40:33 pm Pollywog wrote: On Monday 15 October 2007 00:05:08 Rem P Roberti wrote: Thanks for the suggestions. I am trying out gtkpod now, and it seems to work fine, although I wish that there was a non/gui type program. BTW, is it possible to convert mp3 files that were purchased originally from the Apple store via iTunes so that they could be used on non/iTunes players? iTunes files have DRM protection, so the short answer is that it can't be done. although a number of European lawyers are going to get rich trying to change that answer :) ___ 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: what kind of UPS will work best?
On Monday 08 October 2007 8:36:39 pm Erich Dollansky wrote: Hi, Rob wrote: think. Most the draw in a residence is the HVAC. what is this? HVAC? Heating Ventilation Air Conditioning Erich ___ 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: Adding CR/LF
On Sunday 30 September 2007 9:04:40 am Giorgos Keramidas wrote: On 2007-09-28 18:34, [EMAIL PROTECTED] wrote: I know this should be easy, but I cannot get it to work right. Basically, I have a list of items, and I need to place each one on a separate line. Here is the script I am using. #!/bin/sh FILENAMES=test1 test2 test3 FILELIST= for filename in ${FILENAMES} do FILELIST=${FILELIST}${filename}$'\n\r' echo ${FILELIST} done And, here is the output I am getting. test1$\n\r test1$\n\rtest2$\n\r test1$\n\rtest2$\n\rtest3$\n\r The output I would like to see is: test1 test2 test3 I haven't seen anybody mention this yet, but once you get the line break figured out, you may want to move the echo, lprint, whatever line to be below the do loop. That's why you get the first two lines of output. Ray How about skipping the trick with '\n\r' altogether? This should work better: #!/bin/sh FILENAMES=test1 test2 test3 for fname in ${FILENAMES} do echo ${fname} done ___ 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]
one server with two ip address
Hello all, I have a production server with two network interfaces. The primary interface is up and running. (DHCP from the local Telco) The second interface is installed, but not yet active. It will run on a local network only. Can I do something as simple as ifconfig nfe1 192.168.0.100 to give myself access to the internal network? As this is a production server, I don't want to just play with it too much. Thanks, Ray ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: disk too big to mount
On Sunday 20 May 2007 7:04 pm, Yanko Sanchez wrote: Hello, I have a 400GB seagate IDE hdd with backed up data that I need to load onto a machine running freebsd 6.2 The drive is formated for fat32 and when I run the command: mount -t msdos /dev/ad2s2 /mnt/audio/ I get the following error: mountmsdosfs(): disk too big, sorry Is there a solution to this? Thanks. I'm certainly not an expert, but Google your error message, and you will find that you need to work some magic with your kernal to access a fat32 partition bigger than 128GB. Ray ___ 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: disaster recovery - did I do the right thing?
On Monday 07 May 2007 11:16 pm, Ian Smith wrote: snip Ray, I've been watching this thread, and you've had some good advice about backups etc, but if you really did 'rm -f *' in /usr/local (NOT 'rm -rf *') then it's very likely that you deleted no files at all. snip sorry, should have said rm -rf * The only file 'rm -f *' in /usr/local would remove here is a comment I made for myself with 'touch moved_portsnap_from_var_db'; 'rm *' (with or without -f) does not remove directories (unless you also use -r). I can't say what was in _your_ /usr/local, but I've just checked on 4.8, 4.10, 5.5-STABLE and 6.1-RELEASE systems, and none of them install plain files in /usr/local at all, just directories. So you may be lucky .. This was a postmortem question, by the time I'd posted, I'd already reinstalled from scratch. The machine wasn't in production yet and I had made good notes on paper, so It wasn't the end of the world. Ray Cheers, Ian ___ 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: How to make Apache (2.2.4) less greedy, or Sendmail less polite? [semi-solved]
On Tuesday 08 May 2007 1:57 pm, Gary Palmer wrote: On Tue, May 08, 2007 at 02:51:45PM +0200, Olaf Greve wrote: The questions: -Can anyone recommend me proper anti spam authorities to whom I can report the IP addresses that caused the issues on my machine? 99.99% of the hits will be from zombie PCs which have one or more virus infections. Reporting them might get the ISP to get their customer to clean up their PC, but I doubt it. You can try. -At present, in Apache I have added: Location ~ store_comments_script.php Order deny,allow Deny from all /Location Can anyone tell me of a good way to only ever allow calls to this script coming from the proper previous script, or should this be handled from PHP itself? Perhaps this question isn't very clear, but what I'm looking for is a way to block any and all direct calls to this script, that originate from anywhere but from the photography site itself. Can anyone help me perhaps with those two thingies? You cannot assume the referrer header is truthful. The only way to try to do this is to have a hidden form field on the photography site with a randomly generate number in it. The number should also be stored in the session. If the number in the session does not match the number in the hidden form field, refuse the post. If you want to be really nasty, randomise the hidden field name also. and if you're ultra paranoid, encrypt the number in the session. Ray But basically you need to start researching PHP security - none of these issues are new and are addressed in a variety of books and online documents. ___ 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]
disaster recovery - did I do the right thing?
Hello all, I did something stupid the other day (sleep deprivation combined with a clever hack were the main reasons), and I'm just curious if I did the right thing afterwards. The mistake: /usr/local/# rm -f * note that root was running bash as a shell at the time, found in /usr/local/bin or something. What I did was to start over, reinstall from scratch. my question, was there an easier way? thanks, Ray ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: disaster recovery - did I do the right thing?
On Saturday 05 May 2007 9:23 pm, Martin Tournoij wrote: On Sat 05 May 2007 18:05, Garrett Cooper wrote: Martin Tournoij wrote: On Sat 05 May 2007 17:05, Ray wrote: Hello all, I did something stupid the other day (sleep deprivation combined with a clever hack were the main reasons), and I'm just curious if I did the right thing afterwards. The mistake: /usr/local/# rm -f * note that root was running bash as a shell at the time, found in /usr/local/bin or something. What I did was to start over, reinstall from scratch. my question, was there an easier way? thanks, Ray You can use pkg_info -ga to check for missing files in your packages. For (t)csh: alias rm rm -i For (ba)sh: alias rm=rm -i Now that you've learned :). Martin's suggestion is good though -- would have done that considering that all that lived in /usr/local were ports. -Garrett Thanks, I'll keep that in mind, but there had better not be a next time. (anybody have a source for one of those nice white jackets with the really long sleeves, just in case? ;) ) The problem with this is that it will ask confirmation for every file it deleted. Which is gets pretty annoying after a while, also, if you delete a directory containing a 100 files, you will have to press 'y' a 100 times. This will probably lead to the habit of using 'rm -f', and/or simply pressing y all the time without actually looking at the confirmation message. In any case, it's not likely to prevent any such accidents. A better solution would be to write a script that would move files instead of deleting them. You should name this script to something else than rm, when you're working with a new or foreign system, you will expect rm to move files, instead of deleting them ... and we can all see another disaster coming there... Another hint would be the 'rmstar' option in tcsh, when set, tcsh will ask confirmation before executing 'rm *'. Note that aliasing 'cp' and 'mv' to 'cp -i' and 'mv -i' is an *extremely* wise idea, in the past I have often accidentally overwritten files that should not have been overwritten, leading to various problems. good ideas, and I may use some of them, but wouldn't have helped in this case. I _wanted_ to erase all the files in this directory (I thought). Due to a softlink and name confusion (a clever hack) I wasn't in the directory I thought I was. You live, you learn. Ray -- Regards, Martin Tournoij ___ 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]
allow ftp access, not shell access
Hello, I want to allow ftp access to other users, without giving them shell access. how do I configure the adduser command to accomplish this, or is this there some other way? I have tried some things from google / man pages, but I'm not getting it. user ftp home directory will be adjusted in the ftpchroot file. Ray ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: allow ftp access, not shell access
On Sunday 29 April 2007 6:57 pm, you wrote: On 2007-04-29 20:52, Chris Slothouber wrote: On 2007-04-29 13:04, Ray wrote: Hello, I want to allow ftp access to other users, without giving them shell access. how do I configure the adduser command to accomplish this, or is this there some other way? I have tried some things from google / man pages, but I'm not getting it. user ftp home directory will be adjusted in the ftpchroot file. You can set the user's shell to /sbin/nologin. Also make sure this is listed in /etc/shells if you're using FreeBSD's ftpd or lukemftpd. Also see `man ftpchroot` for info on securing this. Thanks, I had caught that one but is there anything else I should do for the sake of security? Ray ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ftp chroot directory structure
Hello, I am setting up a new web server that must host data from an existing webserver. We've never had an organized folder structure for private data, (passwords, secure data, etc) and I'm trying to change that. there are currently a number of virtual sites all handled through apache virtualhosts. all (or at least most) users must have ftp access. my original thought was this: apache/priv_data/domain1 apache/pub_data/domain1 where apache/priv_data/domain1 contains a soft link to apache/pub_data/domain1 and the ftpchroot is apache/pri_data/domain1 this doesn't work like I wanted it to. I can't follow the link with an ftp client. obviously the best solution would be apache/priv_data/domain1 which contains apache/data/domain1/pub_data with domain1 as the ftp root and pub_data as the http root, but I'm not the developer of all the sites, and I don't want to have to trouble shoot other peoples possibly incorrectly written sites (hard coded path structures) What can you suggest as my best solution? Thanks Ray ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ftp chroot directory structure
On Thursday 26 April 2007 9:12 pm, Ray wrote: Hello, I am setting up a new web server that must host data from an existing webserver. We've never had an organized folder structure for private data, (passwords, secure data, etc) and I'm trying to change that. there are currently a number of virtual sites all handled through apache virtualhosts. all (or at least most) users must have ftp access. my original thought was this: apache/priv_data/domain1 apache/pub_data/domain1 where apache/priv_data/domain1 contains a soft link to apache/pub_data/domain1 and the ftpchroot is apache/pri_data/domain1 this doesn't work like I wanted it to. I can't follow the link with an ftp client. after posting, I decided I'm going to do it this way, and hope the other developers didn't cheat too bad. I think this is the right way. Ray obviously the best solution would be apache/priv_data/domain1 which contains apache/data/domain1/pub_data with domain1 as the ftp root and pub_data as the http root, but I'm not the developer of all the sites, and I don't want to have to trouble shoot other peoples possibly incorrectly written sites (hard coded path structures) What can you suggest as my best solution? Thanks Ray ___ 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: completly remove (or modify) a port
On Wednesday 18 April 2007 12:21 pm, N.J. Mann wrote: On Wednesday, 18 April, 2007 at 12:16:28 -0600, Ray wrote: Hello all, I have been trying to work with postfix from the ports collection. I need to rebuild it to include mysql support. I tried #make deinstall but a subsequent #make install doesn't give me the options screen. make rmconfig See man ports(7) Cheers, Nick. thank you all for your quick answers (all 9 responses) but I guess I should have said what are the _ways_ to I also appreciate the responses that told me what part of the documentation to look at for future reference. Thanks Ray ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
completly remove (or modify) a port
Hello all, I have been trying to work with postfix from the ports collection. I need to rebuild it to include mysql support. I tried #make deinstall but a subsequent #make install doesn't give me the options screen. what is the way to either remove the stored configuration file, or to manually pass the parameters to make. A look at the Makefile and the other files in /usr/ports/mail/postfix didn't turn up any hints. Thanks, Ray ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: order of enet interface drivers
On Saturday 24 March 2007 8:38 pm, jekillen wrote: Hello; I have two identical intel interface cards installed in a ASUS N2M32 pro motherboard. The os version is 6.2 GENERIC running on AMD64, socket AM2. The motherboard has dual interfaces that use Marvell drivers. I cannot use these with this version of FreeBSD I'm working on a similar board. have you looked at: http://www.se.hiroshima-u.ac.jp/~shigeaki/software/freebsd-nfe.html I'm having success with this approach. Ray as yet. So I got two Intel interface cards that work in PCIe slots. Because of the hardware component situation on this motherboard I cannot use the interfaces in PCIe lane one slots as on of these slots is blocked, physically, and the card will not fit. So I am using the two PCIe lane 16 slots. I modified rc.conf (see PS at bottom) to bring up the interfaces at boot. They both come up and running with network addressess assigned, as em0 an em1. The problem: I can ping em0 from local host and connect to ftp and ssh from the inside network, all is well I cannot ping em1. ifconfig shows it up and running, with no carrier, I.E. no network cable attached but I should be able to ping it from local host, yes? no? Yes. Here is the obvious question the order of interfaces listed by ifconfig is em0 fwe0 em1 the question is: Is it possible that fwe is blocking em1? I have fwe0 down and took it out of rc.conf so it does not come up on boot but still shows up in this order with ifconfig. If this is possible, how do I tell the system to load fwe0 after em1 or not at all to see if I can ping it successfully? copied from ifconfig output: em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=bRXCSUM,TXCSUM,VLAN_MTU inet 192.168.1.16 netmask 0xff00 broadcast 192.168.1.255 ether 00:15:17:19:2c:89 media: Ethernet autoselect (100baseTX full-duplex) status: active fwe0: flags=108802BROADCAST,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500 options=8VLAN_MTU ether 02:11:d8:bf:40:d4 ch 1 dma -1 em1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=bRXCSUM,TXCSUM,VLAN_MTU inet 192.168.1.17 netmask 0xff00 broadcast 192.168.1.255 ether 00:15:17:19:2a:b7 media: Ethernet autoselect status: no carrier ping results: am2# ping -c 1 em1 ping: cannot resolve em1: Host name lookup failure am2# ping -c 1 192.168.1.17 PING 192.168.1.17 (192.168.1.17): 56 data bytes --- 192.168.1.17 ping statistics --- 1 packets transmitted, 0 packets received, 100% packet loss am2# Any clues? Jeff K (being necessarily philosophical at this point) PS I say I edited rc.conf to make network changes because I got the syntax correct for doing this. It does work, not with commands, just variable/value assignments JK ___ 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: Downloads
On Wednesday 21 March 2007 5:57 pm, Jim Priovolos wrote: Hi, I've downloaded the 6.2 files. When I burned a CD with the boot file it didn't make my laptop boot off it after powering up with it in the CD drive. The *disk1 file burnt to a CD gave the same results. I tried the *disk1 file using ftp through a browser and also command line ftp set to binary. I checked the boot order and CD is first. If I put a Windows boot CD in there it will boot off of it. Any ideas? I've got a Compaq Presario 2500 laptop with XP on it now. Hi Jim, the first question is how did you burn the *disk1 file? You have to burn it as a disk image, not just a data cd. when you put the *disk one into your machine when windows is running, do you see just one file on it, or many? If you are using windows to burn the cd, (windows is good for something ;)) you'll probably have to use a separate burning program like nero and choose disk image. (I'm just getting started here myself, so if your burning under something besides windows, ask here again for a how to) Ray Thanks for the help in advance, Jim P. ___ _ Need Mail bonding? Go to the Yahoo! Mail QA for great tips from Yahoo! Answers users. http://answers.yahoo.com/dir/?link=listsid=396546091 ___ 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: new server setup questions
On Saturday 17 March 2007 9:24 pm, you wrote: On Sat, 17 Mar 2007 18:21:48 -0600 Ray [EMAIL PROTECTED] wrote: Hello, I'm trying to setup a new server, and I'm having some problems mostly with the network card. (machine specs follow) I can't get a driver to work for the integrated network card. I've spent a number of hours on google / the complete freeBSD / the freeBSD handbook. the handbook (section 11.8 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/config-network- setup.html) outlines using ndis (project evil) drivers. I tried using this. I went through ndisgen, and everything seemed to work. I then tried to use kldload and got the error message: kldload: can't load file.ko :operation not permitted of course I did all of this as root. I am using the amd64 version of freeBSD (is this my first mistake?) and the 64 bit version of the drivers. as a side note, the supplied driver disk includes a source version of the linux driver. is there any way to use this? Any help or suggestions greatly appreciated. Ray machine specs ASUS M2N-SLI DELUXE mobo 2GB ram AMD 5200 x2 processor (sorry, the box isn't in front of me) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] a friend of mine installed a 6.2-RELEASE system with an nforce network card in it a few weeks ago. upon intial install, the nve adapter would not fire up. he put in another card that was supported (a linksys), did his cvsup and buildworld, and the nve driver worked after that. however, the nve thru our freebsd router has had trouble several times, locking the system up over frames with larger than 1500 mtu (or something to that effect). my friend had to dump the nve and just settle for the linksys, in the name of system system stability. cheers, jonathan I didn't get anywhere with 7-current, (it's shortcomings or my lack of knowledge, I don't know.) but I think my good friend Google came through again. I found a site (http://www.se.hiroshima-u.ac.jp/~shigeaki/software/freebsd-nfe.html) that provided a patch for phy1000 stuff (side note: can anybody point me to info on what this is all about?) and a new nforce driver source. This site includes a fairly detailed walk through. (oh yeah, don't try to use the 6.2 stable patch on a 6.2 release system, it doesn't work :)) the only slight concern that I have is when I run sysinstall -configure - Networking - interfaces the network ports show up as nfe0 unknown network interface type nfe1 unknown network interface type is this anything to worry about? I now have 2 new questions: kldload still gave me the same error as mentioned earlier in this thread does kldload not work, even for root when securelevel is set to secure, or does it fail when /boot/loader.conf is empty or ...? the reason I ask is that manually editing loader.conf works, kldload doesn't. How is the best way to test for stability? Just because it boots every time and pings google doesn't mean it's ready for production, especially in light of Jonathan's comment above. Thanks, Ray ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: new server setup questions
On Saturday 17 March 2007 9:24 pm, you wrote: On Sat, 17 Mar 2007 18:21:48 -0600 Ray [EMAIL PROTECTED] wrote: Hello, I'm trying to setup a new server, and I'm having some problems mostly with the network card. (machine specs follow) I can't get a driver to work for the integrated network card. I've spent a number of hours on google / the complete freeBSD / the freeBSD handbook. the handbook (section 11.8 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/config-network- setup.html) outlines using ndis (project evil) drivers. I tried using this. I went through ndisgen, and everything seemed to work. I then tried to use kldload and got the error message: kldload: can't load file.ko :operation not permitted of course I did all of this as root. I am using the amd64 version of freeBSD (is this my first mistake?) and the 64 bit version of the drivers. as a side note, the supplied driver disk includes a source version of the linux driver. is there any way to use this? Any help or suggestions greatly appreciated. Ray machine specs ASUS M2N-SLI DELUXE mobo 2GB ram AMD 5200 x2 processor (sorry, the box isn't in front of me) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] a friend of mine installed a 6.2-RELEASE system with an nforce network card in it a few weeks ago. upon intial install, the nve adapter would not fire up. he put in another card that was supported (a linksys), did his cvsup and buildworld, and the nve driver worked after that. however, the nve thru our freebsd router has had trouble several times, locking the system up over frames with larger than 1500 mtu (or something to that effect). my friend had to dump the nve and just settle for the linksys, in the name of system system stability. cheers, jonathan (see adition below) I didn't get anywhere with 7-current, (it's shortcomings or my lack of knowledge, I don't know.) but I think my good friend Google came through again. I found a site (http://www.se.hiroshima-u.ac.jp/~shigeaki/software/freebsd-nfe.html) that provided a patch for phy1000 stuff (side note: can anybody point me to info on what this is all about?) and a new nforce driver source. This site includes a fairly detailed walk through. (oh yeah, don't try to use the 6.2 stable patch on a 6.2 release system, it doesn't work :)) the only slight concern that I have is when I run sysinstall -configure - Networking - interfaces the network ports show up as nfe0 unknown network interface type nfe1 unknown network interface type is this anything to worry about? I now have 2 new questions: kldload still gave me the same error as mentioned earlier in this thread does kldload not work, even for root when securelevel is set to secure, or does it fail when /boot/loader.conf is empty or ...? the reason I ask is that manually editing loader.conf works, kldload doesn't. How is the best way to test for stability? Just because it boots every time and pings google doesn't mean it's ready for production, especially in light of Jonathan's comment above. Thanks, Ray sorry, didn't fully acknowledge all sources see also http://www.nvnews.net/vbulletin/showthread.php?t=87698, followup for a second possible answer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Corrupted OS
On Saturday 17 March 2007 4:14 pm, Drew Jenkins wrote: I go to run /usr/sbin/sysinstall. It brings up a little GUI and asks me to select. I selected post-installation configuration, and it sent me back to a prompt! So I tried again, selecting the recommended configuration to start over again, and it again sent me back to a prompt! Besides, this is kinda dangerous. Got another, perhaps more complex but *safer* way to determine if it's ufs1 or 2? 2Also, what are softupdates and why do I need them? Soft updates Soft updates change the way the file system performs I/O. They enable metadata to be written less frequently. This can give rise to dramatic performance improvements under certain circumstances, such as file deletion. Specify soft updates with the -U option when creating the file system. (pg 191 The complete FreeBSD) TIA, Drew Garrett Cooper [EMAIL PROTECTED] wrote: Drew Jenkins wrote: /etc/fstab says ufs. Is there a better way to check if its ufs2? Drew2 Garrett Cooper wrote: On Mar 16, 2007, at 7:34 PM, Drew Jenkins wrote: How large is large? Why filesystem are you using with what options?The MySQL database was just under a gigabyte, and the Zope Data.fs file/database was somewhere under 2 gigabytes. Options? No options. I had symlinks from where these dbases were supposed to live on the SCSI drives to the 500 GB drive. Then suddenly, poof! They were gone. Drew Well, I was curious because I thought it could be something to deal with the 2GB file limit. You still haven't answered my question about the filesystem though: are you using UFS2 or something else? Thanks, -Garrett The easiest way to figure out if you're running UFS2 is to go to the disk label feature within sysinstall, and define a mount point for the slice. Make sure _not_ to make any changes though as you'll be thrusting yourself in the middle of a system upgrade (CTRL-C is your friend). If it's ufs1, it should definitely be converted to ufs2. There were some serious limitations in ufs1, in particular dealing with file size (2GB limit I believe) and features. Someone else on the list might be able to advise you or point you in the right direction if you want more details.. Also, you should be running softupdates. If not you're playing a risky game of russian roulette with your data, where if corrupted things can disappear between reboots if you didn't power down the machine properly (power down via ATX dead man power switch, power loss, etc). If all else fails and you're not running ufs1 on the disk, try upgrade your bios or firmware controller that the disk is operating on, and get back to us with more details. Cheers, -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] - Expecting? Get great news right away with email Auto-Check. Try the Yahoo! Mail Beta. ___ 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]
new server setup questions
Hello, I'm trying to setup a new server, and I'm having some problems mostly with the network card. (machine specs follow) I can't get a driver to work for the integrated network card. I've spent a number of hours on google / the complete freeBSD / the freeBSD handbook. the handbook (section 11.8 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/config-network-setup.html) outlines using ndis (project evil) drivers. I tried using this. I went through ndisgen, and everything seemed to work. I then tried to use kldload and got the error message: kldload: can't load file.ko :operation not permitted of course I did all of this as root. I am using the amd64 version of freeBSD (is this my first mistake?) and the 64 bit version of the drivers. as a side note, the supplied driver disk includes a source version of the linux driver. is there any way to use this? Any help or suggestions greatly appreciated. Ray machine specs ASUS M2N-SLI DELUXE mobo 2GB ram AMD 5200 x2 processor (sorry, the box isn't in front of me) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: new server setup questions
On Saturday 17 March 2007 6:27 pm, Garrett Cooper wrote: Ray wrote: Hello, I'm trying to setup a new server, and I'm having some problems mostly with the network card. (machine specs follow) I can't get a driver to work for the integrated network card. I've spent a number of hours on google / the complete freeBSD / the freeBSD handbook. the handbook (section 11.8 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/config-network- setup.html) outlines using ndis (project evil) drivers. I tried using this. I went through ndisgen, and everything seemed to work. I then tried to use kldload and got the error message: kldload: can't load file.ko :operation not permitted of course I did all of this as root. I am using the amd64 version of freeBSD (is this my first mistake?) and the 64 bit version of the drivers. as a side note, the supplied driver disk includes a source version of the linux driver. is there any way to use this? Any help or suggestions greatly appreciated. Ray machine specs ASUS M2N-SLI DELUXE mobo 2GB ram AMD 5200 x2 processor (sorry, the box isn't in front of me) Not sure if nForce drivers are supported on the 6.2 install CD. You might want to give one of the 7-CURRENT driver CDs a go. Grab a snapshot iso from ftp://ftp7.freebsd.org/pub/FreeBSD/snapshots/200703, or the directory above it in one of the other snapshot directories if that doesn't work for you. Thanks for the response. just 2 questions: 1) is 7-CURRENT ready for a production environment? 2) should I stick with amd64 or should I go back to i386? Thanks, Ray -Garrett ___ 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: new server setup questions
On Saturday 17 March 2007 6:49 pm, Garrett Cooper wrote: Ray wrote: On Saturday 17 March 2007 6:27 pm, Garrett Cooper wrote: Ray wrote: Hello, I'm trying to setup a new server, and I'm having some problems mostly with the network card. (machine specs follow) I can't get a driver to work for the integrated network card. I've spent a number of hours on google / the complete freeBSD / the freeBSD handbook. the handbook (section 11.8 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/config-networ k- setup.html) outlines using ndis (project evil) drivers. I tried using this. I went through ndisgen, and everything seemed to work. I then tried to use kldload and got the error message: kldload: can't load file.ko :operation not permitted of course I did all of this as root. I am using the amd64 version of freeBSD (is this my first mistake?) and the 64 bit version of the drivers. as a side note, the supplied driver disk includes a source version of the linux driver. is there any way to use this? Any help or suggestions greatly appreciated. Ray machine specs ASUS M2N-SLI DELUXE mobo 2GB ram AMD 5200 x2 processor (sorry, the box isn't in front of me) Not sure if nForce drivers are supported on the 6.2 install CD. You might want to give one of the 7-CURRENT driver CDs a go. Grab a snapshot iso from ftp://ftp7.freebsd.org/pub/FreeBSD/snapshots/200703, or the directory above it in one of the other snapshot directories if that doesn't work for you. Thanks for the response. just 2 questions: 1) is 7-CURRENT ready for a production environment? By no means yet. 2) should I stick with amd64 or should I go back to i386? I don't think that will solve the problem. I think it has to do with driver availability. If you can get the 7-CURRENT snapshot to install and upgrade the source tree with amd64, you might be able to update the sources for your system and get on track with 6.2-RELEASE. I'll see what 7 does, but I'm sure I'll be back for help on that second part. Thanks, Ray -Garrett ___ 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: new server setup questions
On Saturday 17 March 2007 6:56 pm, Ray wrote: On Saturday 17 March 2007 6:49 pm, Garrett Cooper wrote: Ray wrote: On Saturday 17 March 2007 6:27 pm, Garrett Cooper wrote: Ray wrote: Hello, I'm trying to setup a new server, and I'm having some problems mostly with the network card. (machine specs follow) I can't get a driver to work for the integrated network card. I've spent a number of hours on google / the complete freeBSD / the freeBSD handbook. the handbook (section 11.8 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/config-netw or k- setup.html) outlines using ndis (project evil) drivers. I tried using this. I went through ndisgen, and everything seemed to work. I then tried to use kldload and got the error message: kldload: can't load file.ko :operation not permitted of course I did all of this as root. I am using the amd64 version of freeBSD (is this my first mistake?) and the 64 bit version of the drivers. as a side note, the supplied driver disk includes a source version of the linux driver. is there any way to use this? Any help or suggestions greatly appreciated. Ray machine specs ASUS M2N-SLI DELUXE mobo 2GB ram AMD 5200 x2 processor (sorry, the box isn't in front of me) Not sure if nForce drivers are supported on the 6.2 install CD. You might want to give one of the 7-CURRENT driver CDs a go. Grab a snapshot iso from ftp://ftp7.freebsd.org/pub/FreeBSD/snapshots/200703, or the directory above it in one of the other snapshot directories if that doesn't work for you. Thanks for the response. just 2 questions: 1) is 7-CURRENT ready for a production environment? By no means yet. 2) should I stick with amd64 or should I go back to i386? I don't think that will solve the problem. I think it has to do with driver availability. If you can get the 7-CURRENT snapshot to install and upgrade the source tree with amd64, you might be able to update the sources for your system and get on track with 6.2-RELEASE. -Garrett I'll see what 7 does, but I'm sure I'll be back for help on that second part. Thanks, Ray well, for whatever it proves, 7-current, bootonly can't see my network card. I'm still waiting for the full disk 1 to download. Ray ___ 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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: The Best OS
On Sunday 11 March 2007 10:55 pm, [EMAIL PROTECTED] wrote: On 10/03/07, Susanth K [EMAIL PROTECTED] wrote: Dear Friends, Am a beginner to *BSD OS. Am interested in setting up intel / AMD based Free and Open Source Server ( No GUI required ) Prime area is Webserver With PHP/MySQL Support and Ruby On Rails. + PostgreSQL Which os Will be the BEST ? A) Debian Linux B) OpenBSD C) FreeBSD Which project has good Support and Active Development ? Please help me to choose None of them are missing any vital feature to do as you wish. As this is on the FreeBSD list, and most of us being most familiar with FreeBSD, I am certain the conclusions flow rather easily from there. The same would apply should you ask on an OpenBSD list or a Debian list. As there are no particularly horrible underlying flaws in any of the above operating systems, the easiest solution may be to merely shrug the shoulders and blindly pick one. If someone you know already uses one of these systems, that may be the path of least resistance. As a slightly experienced user, I've been watching this thread with interest. I must say that the answers, in light of the obvious bias, reflect well on the list members! Regards, Ray ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mail server recomendations (was: is the list the right place toask?)
-Original Message- From: Ted Mittelstaedt [EMAIL PROTECTED] To: John Nielsen [EMAIL PROTECTED], freebsd-questions@freebsd.org Cc: Ray [EMAIL PROTECTED] Date: Sat, 10 Feb 2007 20:04:11 -0800 Subject: Re: Mail server recomendations (was: is the list the right place toask?) - Original Message - From: John Nielsen [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Cc: Ray [EMAIL PROTECTED] Sent: Friday, February 09, 2007 10:57 PM Subject: Re: Mail server recomendations (was: is the list the right place toask?) On Saturday 10 February 2007 01:33, Ray wrote: I'm looking for a package (or set of packages) that would provide a mail server with the following capabilities minimally: pop and smtp access that could handle 20 to 100 domains and 200 to 2000 mail boxes.(allowing some room for future growth) SMTP: sendmail is part of the base system and is pretty powerful but has a steep learning curve. There are alternatives available in the ports, one of the more popular being postfix. Others such as qmail may also be worth researching. I would caution anyone against using the alternatives. There are a lot of people that use them successfully, but sendmail is far more popular in terms of total installs - this is no doubt because it is used in the larger mail servers on the Internet, and the alternatives are more used on home or small servers. The reason you want to use Sendmail is that once you learn how to use it, that is knowledge that you have a much higher chance of re-using in the future. Thanks for the pointer. Ray I use clamAV on my mailserver, works great and keeps itself up-to-date pretty well. Easy integration with sendmail via a milter. For spam you'll likely want a combination of techniques. SpamAssassin is a good starting point. Also look at the DNS black- or greylisting features of your SMTP program (I use a couple realtime DNS blacklists with sendmail). you can also use greylist-milter with sendmail, it works well. Ted ___ 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: Mail server recomendations
-Original Message- Thanks for all the suggestions. Looks like I have a lot of reading ahead :) Ray On Saturday 10 February 2007 01:33, Ray wrote: I'm looking for a package (or set of packages) that would provide a mail server with the following capabilities minimally: pop and smtp access that could handle 20 to 100 domains and 200 to 2000 mail boxes.(allowing some room for future growth) SMTP: sendmail is part of the base system and is pretty powerful but has a steep learning curve. There are alternatives available in the ports, one of the more popular being postfix. Others such as qmail may also be worth researching. POP, etc.: I highly recommend dovecot. It's efficient, pretty easy to configure, and can handle almost any setup you can imagine. You also get IMAP with this, which even if you don't want on its own you will want to use with your webmail package. ideally: also provide a web interface for individual users and also for administration on a per domain and whole server level. we have several customers that need to be able to administer their own domains, (Read this as I don't want ten calls a day saying I forgot my password) but we don't want them touching others accounts. Admin: webmin provides a reasonably secure web-based frontend to many different admin. tools and allows you to grant different levels of access to each tool to different users. Virtualmin might be an even better match for what you're after. Webmail: For features, go with Imp and any other parts of the Horde suite of applications that interest you. Horde's groupware package is starting to get pretty polished, and the individual components (mail, calendar, address book, tasks, etc) are all quite mature. Setup and config is a bit on the complex side, but there's work going on there and much of the initial config is now web-based. Other popular and simpler webmail packages include OpenWebMail and SquirrelMail. spam and virus scanning would be a definite plus, but from what I have read, these two parts are fairly straight forward. We have recently changed the web server from M$ to FreeBSD and now we're trying to change the mail server too. Thanks for any pointers or suggestions. I use clamAV on my mailserver, works great and keeps itself up-to-date pretty well. Easy integration with sendmail via a milter. For spam you'll likely want a combination of techniques. SpamAssassin is a good starting point. Also look at the DNS black- or greylisting features of your SMTP program (I use a couple realtime DNS blacklists with sendmail). Depending on the types of messages you're hoping to stop/detect, you might also want to look at MimeDefang. Everything above is in the ports. You have a lot of options so it's just a matter of nailing down what you want in terms of features and then selecting the best tool for the task. JN ___ 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]
is the list the right place to ask?
Hello, Just wondering if this list is the right place to ask for suggestions for what package to use for various purposes? Thanks, Ray ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Mail server recomendations (was: is the list the right place to ask?)
On 2/10/07, Ray [EMAIL PROTECTED] wrote: Hello, Just wondering if this list is the right place to ask for suggestions for what package to use for various purposes? Yep... what did you have in mind? I'm looking for a package (or set of packages) that would provide a mail server with the following capabilities minimally: pop and smtp access that could handle 20 to 100 domains and 200 to 2000 mail boxes.(allowing some room for future growth) ideally: also provide a web interface for individual users and also for administration on a per domain and whole server level. we have several customers that need to be able to administer their own domains, (Read this as I don't want ten calls a day saying I forgot my password) but we don't want them touching others accounts. spam and virus scanning would be a definite plus, but from what I have read, these two parts are fairly straight forward. We have recently changed the web server from M$ to FreeBSD and now we're trying to change the mail server too. Thanks for any pointers or suggestions. Ray -- Juha http://www.geekzone.co.nz/juha ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: is the list the right place to ask?
-Original Message- From: John Nielsen [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Cc: Ray [EMAIL PROTECTED] Date: Sat, 10 Feb 2007 01:18:35 -0500 Subject: Re: is the list the right place to ask? On Friday 09 February 2007 22:55, Ray wrote: Hello, Just wondering if this list is the right place to ask for suggestions for what package to use for various purposes? Yes it is. Just noticed this second response. Thanks to you both for the reply. Ray JN ___ 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]
FreeBSD fakeraid RAID10 @ Intel ICH7
Hello there, I am having troubles with FreeBSD (6.1) and supermicro server with ICH7R raid controller. I have created RAID10 array from 4 SATA wester digital raptors. After CD boot, I can see 5 HDD's: wd0-2d3 ar0. So, all seems to be fine. fdisk labeling is without any roubles. I tried fully dedicated and comaptiblke fdisk setups. Installation itselfs also without any problem, I can see that BSD is accessing RAID array (all 4 HDD's in use). Size of array etc. is correct on ar0 device. I also tried both possible boot managers avilable while installation. After reboot, BSD don't boot and I can see message Boot error. Nothing more. I have no clue, if this is BIOS or readed MBR/bootsector. ctrl+alt+delete works this time and I can reboot machine. So, there is some boot problem, which I was not abble to solve. When I setup just mirror RAID (2 HDD's) - all works fine. Thank you in advance for any help/link :) -- Best regards, Lada 'Ray' Lostak Unreal64 Develop group http://www.unreal64.net http://www.orcave.com -- In the 1960s you needed the power of two C64s to get a rocket to the moon. Now you need a machine which is a vast number of times more powerful just to run the most popular GUI. Imagination is more important than knowledge... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Fw: Re: problem with script execution
sorry, I hit reply, not reply all - Original Message - From: Christian Walther [EMAIL PROTECTED] To: Ray Still [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Friday, December 01, 2006 1:03 AM Subject: Re: problem with script execution Try adding #!/bin/sh as the first new line of your script. Roughly speaking: This makes the system use /bin/sh as the shell that executes the script. Specifying a PATH inside the script might help, too. Scripts have a very small environment set by default, so your PATH might be just something like /bin:/usr/bin. If sudo is in /usr/local/bin it won't work. thank you for your suggestions. I will try them and get bck to you. Just out of curiosity: What is the echo * | supposed to do? From my point of view the shell will expand * to the list of files and directories in PWD, so echo * acts like a simple ls in this context. This list is piped to sudo. But what does sudo do with these? sorry, I didn't want to show my passwords, so I replaced it with an astrix. the password of course is being read from the pipe by sudo because of the -S option. -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.15.2/559 - Release Date: 11/30/2006 5:07 AM ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fw: Re: problem with script execution
- Original Message - From: Alex Zbyslaw [EMAIL PROTECTED] To: Ray Still [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Friday, December 01, 2006 8:28 AM Subject: Re: Fw: Re: problem with script execution Ray Still wrote: Just out of curiosity: What is the echo * | supposed to do? From my point of view the shell will expand * to the list of files and directories in PWD, so echo * acts like a simple ls in this context. This list is piped to sudo. But what does sudo do with these? sorry, I didn't want to show my passwords, so I replaced it with an astrix. the password of course is being read from the pipe by sudo because of the -S option. Probably nothing to do with your original problem, but you do know that you can allow sudo to execute certain commands without a password? Passwords in shell scripts isn't exactly ideal... I am aware of the security issues, but in this case I think it's the best option because: 1) any one who can login to the machine also knows root passwords. 2) this script lives in a directory that is password protected by apache. 3) I don't like the thought of turning off passwords. so if you can see the script, you won't learn anything you don't already know. am I totally out to lunch? E.g. my sudoers has: Cmnd_Alias HEALTHD = /usr/local/sbin/healthd [...] %wheel ALL=(root) NOPASSWD: SMART_STATUS, HEALTHD, MBMON So anyone in group wheel (me :-)) can excecute any of the named commands without any password. You can also force the flags that will be passed - the sudoers man page has more details. --Alex -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.15.2/559 - Release Date: 11/30/2006 5:07 AM ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problem with script execution SOLVED!
On Friday 01 December 2006 1:03 am, Christian Walther wrote: Try adding #!/bin/sh as the first new line of your script. Roughly speaking: This makes the system use /bin/sh as the shell that executes the script. Specifying a PATH inside the script might help, too. Scripts have a very small environment set by default, so your PATH might be just something like /bin:/usr/bin. If sudo is in /usr/local/bin it won't work. Thank you! That was it. Ray ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
problem with script execution
Hello; I have a problem that I have put considerable time into, but I keep coming up empty. short form is that the script works from the command line, but doesn't work from a php script. (I've already stumped the php list.) details follow. I have a shell script , 'copy' consisting of 4 lines echo * | sudo -u admn -S rm /path/to/file1 echo * | sudo -u admn -S cp /some/path/to/source1 /path/to/file1 echo * | sudo -u admn -S rm /path/to/file2 echo * | sudo -u admn -S cp /some/path/to/source2 /path/to/file2 copy is owned by www:www and is mode 777 file1 and file2 are owned by admn:www and are mode 666 copy, file1 and file2 are in the same directory which is owned by www:www and is mode 777 I have enabled targetpw in the sudoers file as www doesn't really have a password. I also have a php script ?php echo exec ('whoami'); exec ('/path/to/copy'); ? (just for the sake of completeness, exec passes a command to the OS and echo prints what ever is passed to it.) my output is www which is the expected result of the whoami for the php/apache user. however no file changes happen. however, from root: sudo -u www /path/to/copy changes the files exactly as expected/desired. any suggestions/pointers/links would be appreciated. system: FreeBSD www.domain.tld 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Mon Feb 13 09:28:07 MST 2006 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/WWW i386 Apache/2.2.3 (FreeBSD) mod_ssl/2.2.3 OpenSSL/0.9.7e-p1 PHP/5.1.5 (potentially sensitve info removed) Ray ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
File dates on msdosfs devices
I live in Australia and hence my timezone is set to GMT+10 and currently run FreeBSD 6.1-RELEASE. When the CMOS clock is set to GMT: When I mount a msdosfs device (camera etc) and examine using ls -la The date time reported is the actual stored on the device plus 10 hours. When the CMOS clock is set to local time (and /etc/wall_cmos_clock exists) this problem does not occur. With the CMOS clock set to GMT, is there some way I can mount these devices so that this conversion is not done? Ray Newman 12 Oct 2006 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problem with latest gcc41
Trying to build latest gcc41 (20060804) gives: gmake[4]: Entering directory `/usr/ports/lang/gcc41/work/build/i386-portbld-freebsd6.1/libjava' /bin/sh ./libtool --tag=GCJ --mode=link /usr/ports/lang/gcc41/work/build/gcc/gcj -B/usr/ports/lang/gcc41/work/build/i386-portbld-freebsd6.1/libjava/ -B/usr/ports/lang/gcc41/work/build/gcc/ -L/usr/ports/lang/gcc41/work/build/i386-portbld-freebsd6.1/libjava -ffloat-store -fomit-frame-pointer -g -O2 -o jv-convert --main=gnu.gcj.convert.Convert -rpath /usr/local/lib/gcc-4.1.2 -shared-libgcc -pthread -L/usr/ports/lang/gcc41/work/build/i386-portbld-freebsd6.1/libjava/.libs libgcj.la /usr/ports/lang/gcc41/work/build/gcc/gcj -B/usr/ports/lang/gcc41/work/build/i386-portbld-freebsd6.1/libjava/ -B/usr/ports/lang/gcc41/work/build/gcc/ -ffloat-store -fomit-frame-pointer -g -O2 -o .libs/jv-convert --main=gnu.gcj.convert.Convert -shared-libgcc -pthread -L/usr/ports/lang/gcc41/work/build/i386-portbld-freebsd6.1/libjava -L/usr/ports/lang/gcc41/work/build/i386-portbld-freebsd6.1/libjava/.libs ./.libs/libgcj.so -L/usr/ports/lang/gcc41/work/build/i386-portbld-freebsd6.1/libstdc++-v3/src -L/usr/ports/lang/gcc41/work/build/i386-portbld-freebsd6.1/libstdc++-v3/src/.libs -lz -L/usr/ports/lang/gcc41/work/build/./gcc -lgcc_s -lgcc_s -Wl,--rpath -Wl,/usr/local/lib/gcc-4.1.2 /usr/bin/ld: .libs/jv-convert: hidden symbol `__eprintf' in /usr/ports/lang/gcc41/work/build/./gcc/libgcc.a(_eprintf.o) is referenced by DSO collect2: ld returned 1 exit status gmake[4]: *** [jv-convert] Error 1 gmake[4]: Leaving directory `/usr/ports/lang/gcc41/work/build/i386-portbld-freebsd6.1/libjava' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/usr/ports/lang/gcc41/work/build/i386-portbld-freebsd6.1/libjava' gmake[2]: *** [all-target-libjava] Error 2 gmake[2]: Leaving directory `/usr/ports/lang/gcc41/work/build' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/usr/ports/lang/gcc41/work/build' gmake: *** [bootstrap-lean] Error 2 *** Error code 2 Stop in /usr/ports/lang/gcc41. Any known fix? Ray Newman ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Accesing BSD disk under windows
On Mon, 6 Mar 2006 12:14:43 +0100 (CET), you wrote: Hello, I found an old disk (24 Mo!) and I know I installed BSD on it... years ago. How can I read this disk under windows XP pro? Thank you for your help. Best regards, Nicolas BOUTIER FFS File System Driver for Windows http://ffsdrv.sourceforge.net/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Is there a Freebsd equivalent to this Linux header file
On Wed, 2005-12-28 at 14:42 -0600, Dan Nelson wrote: That's probably a Linux-specific ioctl. Chances are that FreeBSD's ifconfig command will do what you want (so its sources are a good place to start looking); what do you mean by change it's operating mode? Here is a snippet from the specs PDF: Niagara 2261 is a dual Giga bit NIC card with programmable Close or Open while in the power off state. The Niagara 2261 is a universal low profile PCI-X board based on Intel 82546 Dual Gigabit Ethernet controller. Niagara 2261 is designed to operate either in 64-bit or 32-bit mode with the bus speeds up to 133 MHz. The physical form factor for Niagara 2261 meets the requirements of PCI Local Bus specifications Rev2.2 as well as Low profile PCI specifications. Feature Summary - Programmable Close or Open while in the power off state. - Intel s 82546EB controller - Two integrated PHYs for 10/100/1000 Mb/s full- and half-duplex operation - Bypass - during power off or software failures - PCI 2.2 compatible, 32/64-bit, 33/66/133MHz - IEEE 802.3ab, 802.3u, 802.3x compliant - Host offloading options - TCP/IP/UDP checksum, TCP segmentation and advanced packet filtering - Plug and Play - Software support for, Linux 2.2.x and 2.4.x, FreeBSD 4.x and Solaris 7 and 8 running x86-based platforms - Two RJ45 Connectors So, it can do a lot of cool things, but at this point I just wanted to set the box up as an in-line sniffer using this card for tcpdump only and the other built in nic (on the PC) as the management port. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Is there a Freebsd equivalent to this Linux header file
On Thu, 2005-12-29 at 09:09 -0600, Dan Nelson wrote: In the last episode (Dec 29), Ray Seals said: So plug it in and run tcpdump :) Well, that's what I did. When you connect the 2 ports they never show a connection but they pass traffic. This is because by default they are in Mode 0. Oh, I forgot to mention the modes: Mode 0: Niagara 2261 in this mode, powers up with Ethernet port 1 and Ethernet port 2 connected together and the Intel Giga bit controller off line. In order to set the two ports to send and receive data traffic from Intel Giga bit MAC and function as a dual giga bit NIC card, the on board local CPU expects to receive a heartbeat signal from the host at a pre-programmed interval. In the event that the local CPU does not receive the heartbeat it removed the Intel Giga bit MAC from the data path and connects the two Ethernet ports. For detail on local on board CPU please refer section 2.4 Mode 1: Niagara 2261 in mode 1, powers up with Ethernet port 1 and Ethernet port 2 not connected together but operate independently similar to dual giga bit cards. In order to bypass the Intel Giga bit controller and short the two ports together, the local CPU expects to receive a heartbeat from the host. For detail on local on board CPU please refer section 2.4 Mode 2: Niagara 2261 in mode 2 functions similar to dual giga bit NIC cards. Each port is independent of the other one. No heartbeat is required. So it looks like the key here is to setup a heartbeat function so they can go active. I also thought about setting the card to mode 2 just to play around with tcpdump on 2 different segments, but I could do that with 2 gig nics I have laying on my desk. I've contacted the manufacturer and actually have a contact person to talk to there (via e-mail). I'm going to ask if they are opposed to open source development or anything like that. There source for the utility programs doesn't have any copy right info, etc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Is there a Freebsd equivalent to this Linux header file
I'm not a programmer, but I trying to learn a few things. I have a Niagara 2261 pass through nic and I need to change it's operating mode. It came with the source code and header files for a command line utility which allows me to change operation modes on the card. Along with the documentation. The card is recognized under the 'em' network driver. I have all the errors down except for one. The error is 'SIOCDEVPRIVATE' undeclared (first use in this function). Doing some research I found that the linux header file sockios.h defines this. Is there a FreeBSD equivalent to this or am I so far out of my league with this question that I should probably just stop right now? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Need Help compiling Utilities for Niagara 2261 Nic
I need some help compiling the utility for the Niagara 2261 nic. I have the sources, make file and card specs. I just don't have the knowledge. Does anyone have any experience with this card? I'm trying to get this working on a FreeBSD 6.0 install. FreeBSD 6.0 sees the 2 interfaces on the card as em0 and em1. The card is in a failed open state and passes traffic (what they call mode 0). But ifconfig show that the interfaces have no carrier. I would like to run tcpdump on either the em0 or em1. Basically I want to sit a box between my router and switch and make it an in-line sniffer. Ray ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tcp services (ssh,ftp) does not work
At 02:07 AM 10/30/2005 -0800, kamal kc wrote: | dear all, | | i have put sshd_enable=YES | and inetd_enable=YES | in /etc/rc.conf. | | netstat -an also shows that the port numbers | 21 and 22 are in listen state | | ftp is uncommented in /etc/inetd.conf | | but still the ssh/ftp services does not work. | | when i ftp from another computer the netstat | shows connection established but the ftp client | does not show anything. | | using ftp/ssh on the same computer also does not show | anything --- just blank. | | | what could have gone wrong. | | Help !!! | | kamal telnet localhost 21 telnet localhost 22 see if you get connections do you have a firewall running? Such as ipf. If so, make sure you have rules to allow traffic on those ports from outside machines, etc. Ray ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Demon license?
the system running stably that I simply can't imagine not being taught and reminded of the system's operation. Now that I understand a little more, I've actually made some progress today, in learning how to configure these systems to do what I want them to do. Let's face it: the daemon is actually a friendly image. It's not an image of Ultimate Evil, like kittens or flaming brimstone, it's an image of service. It's an image of keeping the daemons under control and in check. It's an icon that keeps you folks thinking differently. It makes for conversation, which can be used to sell. Choosing something safer will ultimately detract from marketability. I mean, what would they say if you adopted something like a dove? They'd have nothing, really, to talk about. An old marketing adage goes something like: there is no such thing as bad press. When controversy surrounds a product, especially if it really has nothing to do with the product itself (as in the daemon logo), it makes people pay attention. They get curious. They ultimately (as I did) want to know what makes this thing tick. Then they screw around with it, and pretty soon they're writing scripts, and then coding. This seems to be the path that I'm on, although I swore up and down that I'd never, ever write code in a million years (this with 25 years of computer usage under my belt). Having something controversial, like a devil as your logo (note that I very intentionally veer away from the usage of daemon in this respect), you ultimately give people who are actually innovators the opportunity to explore your product by encouraging them to steer away from the conformity that seems to dominate the lives of most of the population. I (for one) hope that the logo never changes. I am certainly in favor of innovation, but perhaps it's time to adopt something innovative. By keeping the status quo in place, you encourage those who think outside the box to explore. Being unpopular doesn't mean that you need to conform. Having unpopular opinions (Ted, Groggy) means that you're actively innovating, and innovation is what leads to diversity. Diversity itself is how we keep our strengths and weaknesses in balance. It's good that you disagree. But please, for the sake of my own sanity, keep it above the belt and rational. The superior logic will ultimately prevail. Bringing emotional jabs and stabs into the picture only serves to drive people away. Man, I really am long-winded. My BSD employees are right. But you know, I really can't think of a better way to say what I've said. Simply making it to the point does not create a convincing argument. Thanks for your time, folks. I've actually had a grand time most of the day while learning. I'm grateful for the advice, tutelage, and education. It's made this entire process worthwhile over the past 24 hours. I've begun having fun with BSD, which hasn't happened before, because I'm starting to get an idea of the mindset involved. This doesn't mean I'm right. It's just my opinion. Thanks again, Ray Jenson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Daemon, Devil... woops!
-whiz factor a lot, and BSD seems to be all of the functionality without any of the glitz or glamour. Which I kinda like. Kinda. I'm still, as I said, not sold yet. It's growing on me, I'll say that much. Maybe the doctor has some cream for that... or maybe I should just get an exorcism. Anyway, to try to close this long and rambling post, I'm stuck with just two questions, only one of which has really been addressed. The one about the art has been addressed, and I'm just going to wait for Kirk's response. The other question that I had was one of finding BSD CD's or DVD's at wholesale. I like the packaging. A lot. Really! I want to have official media available, because... well, I just don't feel /right/ about charging five bucks for burned CD with no panache. I'd much rather charge the same prices that other places charge and offer something really professional-looking to the router geeks who have been drooling over the hardware configurations that I've come up with. Our cases are red. And no, they don't come in traditional beige or even black. And the guts are... not fully supported. I've had to lower my standards just a little. The 3DLabs Wildcat Realizm 800 video card is a little high-end, I think, approaching vertical. If an engineer wants that video rendering card in a BSD box, he can bloody well write the driver himself. It didn't like BSD all that much, but the Windows driver support was fine. The Linux side... well, I think that's the main drawback: open source isn't really taken seriously by the rest of the hardware industry at large, so they're kinda unwilling to release enough specs to the public so that the drivers can be developed with any degree of functionality. I will say that the default drivers worked, but didn't allow any of the cooler features of the card. And I don't program, so I don't know what to do, and I have to return the $2,000 video card in a week... that's when my friend's vacation is over, and he needs to get back to his molecular collision dynamics or whatever it is that he does with his machine. As you can see... it's been a long ordeal, and so when someone corrects me, I'm likely to go on and on about nothing at all in order to prove the point that I'm pretty well fed up with political correctness, and I don't really care if it's a devil or a daemon or whatever. It's a short red guy with horns and a pitchfork. Or a hammer. Or lotsa papers. Or whatever else. It looks like a devil but if you all prefer daemon then I'll gladly conform, surrendering my will to the political masses in order to appease the fears and worries that appear to be their own daemons in the making. Okay, okay, I'm going... -Ray ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Demon license?
Greetings! My name is Ray Jenson, and I'm the CEO of a new start-up company in Utah, called Red Heron Corporation. Our company has recently decided that we'd like to start shipping CD's as a service to our customers. We would prominently display a link to the FreeBSD web site, as well as notifying our clients of the ability to download the software free. Here's where Brian Tao comes in: we'd like permission to use the demon on our web site when directly linked to BSD, as well as a composite graphic (sample is attached) that would show the devil alongside other logos, such as Tux, the Red Hat logo, and Microsoft's Windows logo. We're in the process of testing our hardware configurations before offering BSD-powered machines to our clients, which should knock a significant amount off the price. These logos are not currently displayed, but I can send you a mock-up if you need it. Also, I am wondering whom I contact with regard to getting authorization to actually ship the software. We wouldn't necessarily want ad space anywhere, until we're sure that we can provide timely shipments (our processes are still being developed). We are an OEM. We plan to start doing business on August 1st 2005. We will have an e-commerce storefront and will plan to offer BSD along with other products if we can find someplace to supply the optical media so that we can ship it. Thanks, Ray Jenson, CEO Red Heron Corporation ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Personal Wiki without a webserver/database
Are you sure? I believe that some are pure cgi which will work with lynx (with lynxcgi enabled) without a server. Since this is for my laptop and I'm running Gnome (Mozilla and FireFox). I decided to try Instiki from the ports. Uses Ruby and opens up it's own web server on port 2500. The markup language is a little different, but I'm finding that each type of wiki has it's own spin on the markup. So far I've been pretty happy (1 day so far). Ray ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Personal Wiki without a webserver/database
I would like to have a desktop wiki that doesn't need a big database server or web server. I have been using wikidPad for windows but since my main machine is a BSD laptop. I looked through the ports but basically everything wants a web server installed. Any suggestions? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Personal Wiki without a webserver/database
On Mon, 2005-06-06 at 11:43 -0500, Ray Seals wrote: I would like to have a desktop wiki that doesn't need a big database server or web server. I have been using wikidPad for windows but since my main machine is a BSD laptop. I looked through the ports but basically everything wants a web server installed. Any suggestions? I have one for myself. Read. Just found dokuwiki in the ports. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Sony Ericsson GC75 GPRS MODEM
Any idea why the Sony Ericsson GC75 GPRS MODEM fails under 5.4-RELEASE with pccard0: Card has no functions! but works as a sio under 4.11 RELEASE? Ray Newman ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problem burning DVD using growisofs under 5.4-RELEASE.
%uname -a FreeBSD fred.local 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Mon May 16 18:48:24 EST 2005 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/GENERIC i386 %dmesg (part) ad0: 38166MB ST340014A/8.54 [77545/16/63] at ata0-master UDMA100 acd0: DVDR HL-DT-ST DVDRAM GSA-4163B/A103 at ata0-slave UDMA33 cd0 at ata0 bus 0 target 1 lun 0 cd0: HL-DT-ST DVDRAM GSA-4163B A103 Removable CD-ROM SCSI-0 device cd0: 33.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present %growisofs -Z /dev/cd0 -speed=2 -r -J music Executing 'mkisofs -r -J music | builtin_dd of=/dev/pass0 obs=32k seek=0' Using FRANK000 for /Frankie_Valli__The_Four_Seasons (Frankie_Miller) ... Using THEME001.MP3;1 for music/Various/Theme_From_Bilitis.mp3 (Theme_From_Antarctica.mp3) /dev/pass0: Current Write Speed is 2.5x1385KBps. 0.28% done, estimate finish Wed May 18 14:47:37 2005 ... 99.77% done, estimate finish Wed May 18 10:13:42 2005 Total translation table size: 0 Total rockridge attributes bytes: 152518 Total directory bytes: 487424 Path table size(bytes): 3072 Max brk space used 181624 1799127 extents written (3513 MB) builtin_dd: 1799136*2KB out @ average 2.3x1385KBps /dev/pass0: flushing cache :-[ SYNCHRONOUS FLUSH CACHE failed with SK=6h/ASC=29h/ACQ=00h]: Input/output error fred# sysctl hw.ata. hw.ata.ata_dma: 1 hw.ata.wc: 1 hw.ata.atapi_dma: 1 This has been tried with the DVDRAM as slave (above) and as master on the other bus - same result. burncd was tried with the following result: fred# burncd -s 4 -e -f /dev/acd0 data MUSIC.iso fixate next writeable LBA 0 writing from file MUSIC.iso size 3598254 KB written this track 3598254 KB (100%) total 3598254 KB burncd: ioctl(CDRIOCFLUSH): Input/output error The same behaviour occured under 5.3-RELEASE Any help greatly appreciated (I've used 14 blank DVDs out of a box of 15 so far). Ray Newman ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
APSFilter/LPD printing slow
I'm running 5.3 on a Dell Precision 470 Pentium Xeon with a Gig of memory and SATA hard drives. I'm printing to a networked LaserJet 5 printer. It takes about 40 seconds between pages when printing a multi-page document. Does anyone know how to speed this up? I doubt it's an APSFilter issue since the drive stops churning once the printer starts (I think it's finished formatting the file). The printer is in the next cube from me and we are all in the same vlan on a Cisco 6500 series switch. Thanks, Ray ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mysql 4.1 on freebsd 4.8
I have been trying to install mysql 4.1.10a on freebsd 4.8 but I get the following error: SuffFindDeps (pre-fetch) No known suffix on pre-fetch. Using .NULL suffix not adding suffix rules pre-fetch:@ = pre-fetch pre-fetch:* = pre-fetch Examining pre-fetch...non-existent...non-existent and no sources...out-of-date. pre-fetch:? = pre-fetch: = echo /bin/echo: 1: Syntax error: ( unexpected *** Error code 2 How to repeat: make distclean make Any ideas how to fix? thanks, -Ray Watts ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]